count = symbfact(A)
count = symbfact(A,'f')
[count,h,parent,post,R] = symbfact(...)
count = symbfact(A)
returns the vector of row counts for the upper triangular Cholesky factor of a symmetric matrix whose upper triangle is that of A
, assuming no cancellation during the factorization. This function is much faster than chol(A)
.
count = symbfact(A,'f')
lets you specify an option, where f
can be
col
to analyze A'
*A
(without forming it explicitly). sym
to obtain the same result as symbfact(A)
. [count,h,parent,post,R] = symbfact(...)
also returns
h
parent
post
R
whose structure is that of chol(A)
chol
,etree
(c) Copyright 1994 by The MathWorks, Inc.