mtl5.sparse.SparseCholesky_f64#
- class mtl5.sparse.SparseCholesky_f64(*args, **kwargs)#
- property L#
Lower triangular Cholesky factor, as a copy. A[perm][:, perm] == L @ L.T.
- property dtype#
(self) -> str
- property n#
(self) -> int
- property nnz#
Nonzeros in the lower factor L
- property ordering#
(self) -> str
- property perm#
Symmetric fill-reducing permutation, p[new] = old
- refactor()#
Recompute L for a matrix with the SAME sparsity pattern, reusing the ordering and symbolic analysis (Cholesky does not pivot, so that is the entire analysis)
Signatures:
refactor(self, A: mtl5._core.SparseMatrix_f64) -> None
- property shape#
(self) -> tuple[int, int]
- solve()#
Solve A x = b via the Cholesky factor
Signatures:
solve(self, b: ndarray[dtype=float64, shape=(*), order='C', device='cpu', writable=False]) -> mtl5._core.DenseVector_f64