Skip to content

colamd

builtin · libnexusinterp/corefcn/colamd-proprietary.cc

: p = colamd (S)
: p = colamd (S, knobs)
: [p, stats] = colamd (…)

Column approximate minimum degree permutation.

p is a row vector permuting the columns of the sparse matrix S so that factorizations of S(:,p) produce little fill.

knobs is an optional two or three element vector holding the dense row and dense column thresholds (default 10 each) and a report level. stats is a 1-by-20 vector of statistics from the algorithm; its fourth element is zero on success.