mtl5.sparse.cholesky#
- mtl5.sparse.cholesky(A, ordering: str = 'amd')#
Cholesky factorization A = L L^T of a symmetric positive definite matrix.
Cheaper and sparser than
spluwhen it applies: it exploits symmetry and does no pivoting. Raises RuntimeError if A turns out not to be positive definite. For a symmetric matrix that may be indefinite, useldlt.The returned object exposes
.solve(b)and.refactor(A2).