Skip to content

etree

builtin · libnexusinterp/corefcn/colamd-proprietary.cc

: p = etree (S)
: p = etree (S, typ)
: [p, q] = etree (…)

Elimination tree of a sparse matrix.

p(j) is the parent of node j (zero for a root). With the default "sym" type S must be square and the tree describes the Cholesky factor of the symmetric matrix defined by the upper triangle of S; with "col" it is the column elimination tree, the tree of S' * S.

A second output returns a postordering of the tree.