Skip to content

colperm

sparse · scripts/sparse/colperm.m

p = colperm (S)  --  row permutation vector that orders the columns of S
by non-decreasing nonzero count (ties keep their original order).