SpM Handbook 1.2.4
|
Go to the source code of this file.
Functions | |
int | p_spmConvertCSC2CSR (spmatrix_t *spm) |
Conversion routines. | |
int | p_spmConvertCSC2IJV (spmatrix_t *spm) |
Convert a matrix in CSC format to a matrix in IJV format. | |
int | p_spmConvertCSR2CSC (spmatrix_t *spm) |
convert a matrix in CSR format to a matrix in CSC format. | |
int | p_spmConvertCSR2IJV (spmatrix_t *spm) |
convert a matrix in CSR format to a matrix in IJV format. | |
int | p_spmConvertIJV2CSC (spmatrix_t *spm) |
convert a matrix in IJV format to a matrix in CSC format. | |
int | p_spmConvertIJV2CSR (spmatrix_t *spm) |
convert a matrix in IJV format to a matrix in CSR format. | |
void | p_spmSort (spmatrix_t *spm) |
This routine sorts the spm matrix. | |
spm_int_t | p_spmMergeDuplicate (spmatrix_t *spm) |
This routine merge the multiple entries in a sparse matrix by summing their values together. | |
void | p_spmPrint (FILE *f, const spmatrix_t *spm) |
Write a spm matrix in a file. | |
void | p_spmPrintRHS (FILE *f, const spmatrix_t *spm, int nrhs, const void *x, spm_int_t ldx) |
Write into a file the vectors associated to a spm. | |
void | p_spmExpand (const spmatrix_t *spm_in, spmatrix_t *spm_out) |
Expand a single dof sparse matrix to a multi-dofs sparse matrix. | |
SParse Matrix package precision dependent header.
Definition in file p_spm.h.