Navigation

Operators and Keywords

Function List:

C++ API

: p = colperm (s)

Return the column permutations such that the columns of s (:, p) are ordered in terms of increasing number of nonzero elements.

If s is symmetric, then p is chosen such that s (p, p) orders the rows and columns with increasing number of nonzeros elements.

Package: octave