ergo
|
Simple sparse matrix implementation. More...
#include "realtype.h"
Go to the source code of this file.
Classes | |
struct | i_j_val_struct |
Functions | |
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) |
int | spmat_sort_elements (i_j_val_struct *A, int nnzA) |
Simple sparse matrix implementation.
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().