Simple sparse matrix implementation. More...
#include "simple_sparse_mat.h"#include <cmath>#include <stdexcept>#include <cstdlib>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 int compare_i_j_val_structs | ( | const void * | p1, | |
| const void * | p2 | |||
| ) | [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 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 compare_i_j_val_structs(), and i_j_val_struct::same_i_count.
Referenced by organize_distributions().
1.6.1