#include "Const.h"
Go to the source code of this file.
#define IS_ZERO | ( | X | ) | ((X < POS_ZERO_TOLERANCE) && ( X > NEG_ZERO_TOLERANCE )) |
Definition at line 37 of file sparse-matrix.h.
#define NEG_ZERO_TOLERANCE -0.0000000001 |
Definition at line 35 of file sparse-matrix.h.
#define POS_ZERO_TOLERANCE 0.0000000001 |
Definition at line 34 of file sparse-matrix.h.
typedef struct I_Matrix_Struct* I_Matrix |
Definition at line 63 of file sparse-matrix.h.
typedef struct I_Matrix_Row_Node_Struct* I_Matrix_Row_Node |
Definition at line 46 of file sparse-matrix.h.
typedef struct Matrix_Struct* Matrix |
Definition at line 75 of file sparse-matrix.h.
int accumulateEntryInIMatrix | ( | I_Matrix | i_matrix, |
int | row, | ||
int | col, | ||
REAL_VALUE | value | ||
) |
Definition at line 254 of file sparse-matrix.c.
int addEntryToIMatrix | ( | I_Matrix | i_matrix, |
int | row, | ||
int | col, | ||
REAL_VALUE | value | ||
) |
Definition at line 242 of file sparse-matrix.c.
I_Matrix_Row_Node addEntryToRow | ( | I_Matrix_Row_Node | row, |
int | col, | ||
REAL_VALUE | value, | ||
int * | count, | ||
int | accumulate | ||
) |
Definition at line 110 of file sparse-matrix.c.
void destroyIMatrix | ( | I_Matrix | i_matrix | ) |
Definition at line 229 of file sparse-matrix.c.
void destroyMatrix | ( | Matrix | matrix | ) |
Definition at line 330 of file sparse-matrix.c.
void destroyRow | ( | I_Matrix_Row_Node | row | ) |
Definition at line 56 of file sparse-matrix.c.
void displayMatrix | ( | Matrix | matrix | ) |
Definition at line 400 of file sparse-matrix.c.
void displayRow | ( | I_Matrix_Row_Node | row | ) |
Definition at line 197 of file sparse-matrix.c.
REAL_VALUE getEntryMatrix | ( | Matrix | matrix, |
int | row, | ||
int | col | ||
) |
Definition at line 422 of file sparse-matrix.c.
I_Matrix newIMatrix | ( | int | num_rows | ) |
Definition at line 213 of file sparse-matrix.c.
Definition at line 309 of file sparse-matrix.c.
REAL_VALUE sumIMatrixRowValues | ( | I_Matrix | i_matrix, |
int | row | ||
) |
Definition at line 281 of file sparse-matrix.c.
REAL_VALUE sumRowValues | ( | Matrix | matrix, |
int | row | ||
) |
Definition at line 388 of file sparse-matrix.c.
Matrix transformIMatrix | ( | I_Matrix | i_matrix | ) |
Definition at line 350 of file sparse-matrix.c.