Skip to content

symbfact

builtin · libnexusinterp/corefcn/symbfact-proprietary.cc

: count = symbfact (S)
: [count, h, parent, post, R] = symbfact (S, typ, mode)

Symbolic factorization analysis of a sparse matrix.

typ selects the matrix whose Cholesky factor is analysed: "sym" (default, symmetric S), "col" (S'*S), "row" (S*S') or "lo" (symmetric, lower triangle used). For "sym", mode is "upper" (default) or "lower"; with "lower" the fifth output is the factor pattern L = R'.

count holds the number of nonzeros in each row of the Cholesky factor, h the height of the elimination tree, parent the elimination tree, post a postordering of it and R the nonzero pattern of the upper triangular factor.