permute_self_adjoint_to_unsorted

Function permute_self_adjoint_to_unsorted 

Source
pub fn permute_self_adjoint_to_unsorted<'out, N: Shape, I: Index, T: ComplexField, C: Conjugate<Canonical = T>>(
    new_val: &'out mut [T],
    new_col_ptr: &'out mut [I],
    new_row_idx: &'out mut [I],
    A: SparseColMatRef<'_, I, C, N, N>,
    perm: PermRef<'_, I, N>,
    in_side: Side,
    out_side: Side,
    stack: &mut MemStack,
) -> SparseColMatMut<'out, I, T, N, N>
Expand description

computes the self-adjoint permutation $P A P^\top$ of the matrix $A$ without sorting the row indices, and returns a view over it

the result is stored in new_col_ptrs, new_row_indices

ยงnote

allows unsorted matrices, producing an sorted output