ichol
sparse · scripts/sparse/ichol.m
L = ichol (A)
L = ichol (A, opts)
Incomplete Cholesky factorization of the sparse Hermitian positive
definite matrix A, so that L*L' ~ A (shape "lower", the default) or
L'*L ~ A (shape "upper"). Only the referenced triangle of A is used.
The struct opts may contain
type "nofill" (default; L has the pattern of the referenced
triangle) or "ict" (threshold factorization with fill)
droptol drop tolerance of "ict" (default 0): entry (i,j) of the
column being eliminated is dropped when its magnitude is
below droptol * norm (A(j:end,j), 1)
michol "off" (default) or "on": compensate dropped entries on the
diagonal so that L*L'*e = A*e (lower) / L'*L*e = A*e (upper)
diagcomp the matrix A + diagcomp * diag (diag (A)) is factored
shape "lower" (default) or "upper"