![]() |
#include <tgbgauss.h>
Public Member Functions | |
tgb_matrix (int i, int j) | |
~tgb_matrix () | |
int | get_rows () |
int | get_columns () |
void | print () |
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 | |
number ** | n |
int | columns |
int | rows |
BOOLEAN | free_numbers |
Definition at line 17 of file tgbgauss.h.
tgb_matrix::tgb_matrix | ( | int | i, |
int | j | ||
) |
Definition at line 462 of file tgbgauss.cc.
tgb_matrix::~tgb_matrix | ( | ) |
Definition at line 480 of file tgbgauss.cc.
void tgb_matrix::add_lambda_times_row | ( | int | add_to, |
int | summand, | ||
number | factor | ||
) |
Definition at line 606 of file tgbgauss.cc.
Definition at line 638 of file tgbgauss.cc.
number tgb_matrix::get | ( | int | i, |
int | j | ||
) |
Definition at line 540 of file tgbgauss.cc.
int tgb_matrix::get_columns | ( | ) |
Definition at line 535 of file tgbgauss.cc.
int tgb_matrix::get_rows | ( | ) |
Definition at line 530 of file tgbgauss.cc.
BOOLEAN tgb_matrix::is_zero_entry | ( | int | i, |
int | j | ||
) |
Definition at line 547 of file tgbgauss.cc.
int tgb_matrix::min_col_not_zero_in_row | ( | int | row | ) |
Definition at line 560 of file tgbgauss.cc.
void tgb_matrix::mult_row | ( | int | row, |
number | factor | ||
) |
Definition at line 622 of file tgbgauss.cc.
int tgb_matrix::next_col_not_zero | ( | int | row, |
int | pre | ||
) |
Definition at line 571 of file tgbgauss.cc.
int tgb_matrix::non_zero_entries | ( | int | row | ) |
Definition at line 593 of file tgbgauss.cc.
void tgb_matrix::perm_rows | ( | int | i, |
int | j | ||
) |
Definition at line 552 of file tgbgauss.cc.
void tgb_matrix::print | ( | ) |
Definition at line 501 of file tgbgauss.cc.
void tgb_matrix::set | ( | int | i, |
int | j, | ||
number | n | ||
) |
Definition at line 523 of file tgbgauss.cc.
BOOLEAN tgb_matrix::zero_row | ( | int | row | ) |
Definition at line 582 of file tgbgauss.cc.
|
private |
Definition at line 20 of file tgbgauss.h.
|
private |
Definition at line 22 of file tgbgauss.h.
|
private |
Definition at line 19 of file tgbgauss.h.
|
private |
Definition at line 21 of file tgbgauss.h.