Expand description
Useful sparse matrix primitives.
Functionsยง
- adjoint
- Computes the adjoint of the matrix
A
and returns a view over it. - adjoint_
symbolic - Computes the adjoint of the symbolic matrix
A
and returns a view over it. - permute_
hermitian - Computes the self-adjoint permutation $P A P^\top$ of the matrix
A
and returns a view over it. - permute_
hermitian_ req - Computes the size and alignment of the workspace required to compute a two-sided permutation of a self-adjoint matrix.
- sort_
dedup_ indices - Sorts and deduplicates
row_indices
andvalues
simultaneously so thatrow_indices
is nonincreasing and contains no duplicate indices. - sort_
indices - Sorts
row_indices
andvalues
simultaneously so thatrow_indices
is nonincreasing. - transpose
- Computes the transpose of the matrix
A
and returns a view over it.