|
ScaMaC
0.8.2
A Scalable Matrix Collection
|
Sparse matrix creation and manipulation. More...
Go to the source code of this file.
Functions | |
| ScamacErrorCode | scamac_sparsemat_alloc (ScamacInt nr, ScamacInt nc, ScamacInt ne, ScamacValType valtype, ScamacMatrix **sm) |
| Allocate sparse matrix. | |
| ScamacErrorCode | scamac_sparsemat_free (ScamacMatrix *sm) |
| Free allocated sparse matrix. | |
| ScamacErrorCode | scamac_sparsemat_from_generator (const ScamacGenerator *gen, ScamacMatrix **sm) |
| Obtain sparse matrix from ScaMaC generator. | |
| bool | scamac_sparsemat_check (const ScamacMatrix *sm) |
| basic sanity check for sparse matrix More... | |
| ScamacErrorCode | scamac_sparsemat_to_dense (const ScamacMatrix *sm, void **dm) |
| convert sparse matrix to dense matrix More... | |
Sparse matrix creation and manipulation.
| bool scamac_sparsemat_check | ( | const ScamacMatrix * | sm | ) |
basic sanity check for sparse matrix
| ScamacErrorCode scamac_sparsemat_to_dense | ( | const ScamacMatrix * | sm, |
| void ** | dm | ||
| ) |
convert sparse matrix to dense matrix
1.8.13