Module extendr_api::prelude::sparse::utils
source · Expand description
Useful sparse matrix primitives.
Functions§
- Computes the adjoint of the matrix
Aand returns a view over it. - Computes the adjoint of the symbolic matrix
Aand returns a view over it. - Computes the self-adjoint permutation $P A P^\top$ of the matrix
Aand returns a view over it. - Computes the size and alignment of the workspace required to compute a two-sided permutation of a self-adjoint matrix.
- Sorts and deduplicates
row_indicesandvaluessimultaneously so thatrow_indicesis nonincreasing and contains no duplicate indices. - Sorts
row_indicesandvaluessimultaneously so thatrow_indicesis nonincreasing. - Computes the transpose of the matrix
Aand returns a view over it.