![]() |
#include <tgbgauss.h>
Public Member Functions | |
void | sort_rows () |
tgb_sparse_matrix (int i, int j, ring rarg) | |
~tgb_sparse_matrix () | |
int | get_rows () |
int | get_columns () |
void | print () |
void | row_normalize (int row) |
void | row_content (int row) |
void | perm_rows (int i, int j) |
void | set (int i, int j, number n) |
number | get (int i, int j) |
BOOLEAN | is_zero_entry (int i, int j) |
void | free_row (int row, BOOLEAN free_non_zeros=TRUE) |
int | min_col_not_zero_in_row (int row) |
int | next_col_not_zero (int row, int pre) |
BOOLEAN | zero_row (int row) |
void | mult_row (int row, number factor) |
void | add_lambda_times_row (int add_to, int summand, number factor) |
int | non_zero_entries (int row) |
Private Attributes | |
ring | r |
mac_poly * | mp |
int | columns |
int | rows |
BOOLEAN | free_numbers |
Friends | |
poly | free_row_to_poly (tgb_sparse_matrix *mat, int row, poly *monoms, int monom_index) |
void | init_with_mac_poly (tgb_sparse_matrix *mat, int row, mac_poly m) |
Definition at line 60 of file tgbgauss.h.
tgb_sparse_matrix::tgb_sparse_matrix | ( | int | i, |
int | j, | ||
ring | rarg | ||
) |
Definition at line 645 of file tgbgauss.cc.
tgb_sparse_matrix::~tgb_sparse_matrix | ( | ) |
Definition at line 659 of file tgbgauss.cc.
void tgb_sparse_matrix::add_lambda_times_row | ( | int | add_to, |
int | summand, | ||
number | factor | ||
) |
Definition at line 909 of file tgbgauss.cc.
Definition at line 928 of file tgbgauss.cc.
number tgb_sparse_matrix::get | ( | int | i, |
int | j | ||
) |
Definition at line 766 of file tgbgauss.cc.
int tgb_sparse_matrix::get_columns | ( | ) |
Definition at line 761 of file tgbgauss.cc.
int tgb_sparse_matrix::get_rows | ( | ) |
Definition at line 756 of file tgbgauss.cc.
BOOLEAN tgb_sparse_matrix::is_zero_entry | ( | int | i, |
int | j | ||
) |
Definition at line 782 of file tgbgauss.cc.
int tgb_sparse_matrix::min_col_not_zero_in_row | ( | int | row | ) |
Definition at line 798 of file tgbgauss.cc.
void tgb_sparse_matrix::mult_row | ( | int | row, |
number | factor | ||
) |
Definition at line 914 of file tgbgauss.cc.
int tgb_sparse_matrix::next_col_not_zero | ( | int | row, |
int | pre | ||
) |
Definition at line 809 of file tgbgauss.cc.
int tgb_sparse_matrix::non_zero_entries | ( | int | row | ) |
Definition at line 903 of file tgbgauss.cc.
|
inline |
Definition at line 80 of file tgbgauss.h.
void tgb_sparse_matrix::print | ( | ) |
Definition at line 698 of file tgbgauss.cc.
void tgb_sparse_matrix::row_content | ( | int | row | ) |
Definition at line 847 of file tgbgauss.cc.
void tgb_sparse_matrix::row_normalize | ( | int | row | ) |
Definition at line 831 of file tgbgauss.cc.
void tgb_sparse_matrix::set | ( | int | i, |
int | j, | ||
number | n | ||
) |
Definition at line 721 of file tgbgauss.cc.
void tgb_sparse_matrix::sort_rows | ( | ) |
Definition at line 693 of file tgbgauss.cc.
BOOLEAN tgb_sparse_matrix::zero_row | ( | int | row | ) |
Definition at line 822 of file tgbgauss.cc.
|
friend |
Definition at line 3064 of file tgb.cc.
|
friend |
Definition at line 3049 of file tgb.cc.
|
private |
Definition at line 65 of file tgbgauss.h.
|
private |
Definition at line 67 of file tgbgauss.h.
|
private |
Definition at line 64 of file tgbgauss.h.
|
private |
Definition at line 63 of file tgbgauss.h.
|
private |
Definition at line 66 of file tgbgauss.h.