Function sort_indices
pub fn sort_indices<I, E>(
col_ptrs: &[I],
nnz_per_col: Option<&[I]>,
row_indices: &mut [I],
values: <<E as Entity>::Group as ForType>::FaerOf<&mut [<E as Entity>::Unit]>,
)
Expand description
Sorts row_indices
and values
simultaneously so that row_indices
is nonincreasing.