ergo
|
Simple sparse matrix implementation. More...
Functions | |
static int | compare_i_j_val_structs (const void *p1, const void *p2) |
int | spmat_sort_elements (i_j_val_struct *A, int nnzA) |
int | spmat_multiply_matrices (const i_j_val_struct *A, int nnzA, const i_j_val_struct *B, int nnzB, i_j_val_struct *C, int M, int N) |
Simple sparse matrix implementation.
|
static |
References i_j_val_struct::i, and i_j_val_struct::j.
Referenced by spmat_sort_elements().
int spmat_multiply_matrices | ( | const i_j_val_struct * | A, |
int | nnzA, | ||
const i_j_val_struct * | B, | ||
int | nnzB, | ||
i_j_val_struct * | C, | ||
int | M, | ||
int | N | ||
) |
References A, B, i_j_val_struct::i, i_j_val_struct::j, i_j_val_struct::same_i_count, and i_j_val_struct::value.
Referenced by get_conversion_matrix_for_group().
int spmat_sort_elements | ( | i_j_val_struct * | A, |
int | nnzA | ||
) |
References A, and compare_i_j_val_structs().
Referenced by organize_distributions().