Skip to content

amd

builtin · libnexusinterp/corefcn/amd-proprietary.cc

: p = amd (S)
: p = amd (S, opts)

Return the approximate minimum degree permutation vector of the square matrix S.

The ordering is computed from the nonzero pattern of S + S'. Using S(p,p) in a Cholesky or LU factorization usually causes much less fill-in than S itself.

The optional structure opts may contain the fields dense (rows and columns with more than dense * sqrt (n) entries are ordered last; default 10) and aggressive (nonzero enables aggressive absorption; default 1).