Next: , Previous: ccolamd, Up: Function Reference


22.6.0.3 colperm

— Function File: p = colperm (s)

Returns the column permutations such that the columns of s (:, p) are ordered in terms of increase number of non-zero elements. If s is symmetric, then p is chosen such that s (p, p) orders the rows and columns with increasing number of non zeros elements.