|
psparsematrix | new_raw_sparsematrix (uint rows, uint cols, uint nz) |
| Create a sparsematrix object without initializing its arrays. More...
|
|
psparsematrix | new_identity_sparsematrix (uint rows, uint cols) |
| Creates a new sparsematrix object and initializes it to the idenity matrix . More...
|
|
psparsematrix | new_zero_sparsematrix (psparsepattern sp) |
| Create a sparsematrix based on a sparsepattern. More...
|
|
void | del_sparsematrix (psparsematrix a) |
| Delete a sparsematrix object. More...
|
|
field | addentry_sparsematrix (psparsematrix a, uint row, uint col, field x) |
| Add to a matrix entry, . More...
|
|
void | setentry_sparsematrix (psparsematrix a, uint row, uint col, field x) |
| Set a matrix entry, . More...
|
|
size_t | getsize_sparsematrix (pcsparsematrix a) |
| Get size of a given sparsematrix object. More...
|
|
void | sort_sparsematrix (psparsematrix a) |
| Sort non-zero entries to ensure that diagonal entries come first. More...
|
|
void | clear_sparsematrix (psparsematrix a) |
| Set a matrix to zero. More...
|
|
void | print_sparsematrix (pcsparsematrix a) |
| Print a sparse matrix. More...
|
|
void | print_eps_sparsematrix (pcsparsematrix a, const char *filename, uint offset) |
| Print matrix to a Postscript file. More...
|
|
void | addeval_sparsematrix_avector (field alpha, pcsparsematrix a, pcavector x, pavector y) |
| Multiply a matrix by a vector , . More...
|
|
void | addevaltrans_sparsematrix_avector (field alpha, pcsparsematrix a, pcavector x, pavector y) |
| Multiply the adjoint of a matrix by a vector , . More...
|
|
void | mvm_sparsematrix_avector (field alpha, bool trans, pcsparsematrix a, pcavector x, pavector y) |
| Multiply a matrix or its adjoint by a vector, or . More...
|
|
real | norm2_sparsematrix (pcsparsematrix S) |
| Approximate the spectral norm of a matrix . More...
|
|
real | norm2diff_sparsematrix (pcsparsematrix a, pcsparsematrix b) |
| Approximate the spectral norm of the difference of two matrices and . More...
|
|
void | add_sparsematrix_amatrix (field alpha, bool atrans, pcsparsematrix a, pamatrix b) |
| Add a sparsematrix to an amatrix, or . More...
|
|