mtl5.sparse.SupernodalLDLT_f64#

class mtl5.sparse.SupernodalLDLT_f64(*args, **kwargs)#
property L#

Unit lower triangular factor, as a copy, with its unit diagonal made explicit. A[perm][:, perm] == L @ diag(diagonal()) @ L.T.

property accumulator#

The accumulator policy this factor was built with

diagonal()#

The diagonal D. Its signs give the inertia: a negative entry means A is indefinite.

Signatures:

diagonal(self) -> numpy.ndarray[dtype=float64, shape=(*)]
property dtype#

(self) -> str

property n#

(self) -> int

property nnz#

Nonzeros in the unit lower factor L, excluding its implicit unit diagonal (so L.nnz == nnz + n)

property ordering#

(self) -> str

property perm#

Symmetric permutation, p[new] = old: the fill-reducing ordering followed by the elimination tree postorder

refactor()#

Recompute the numeric factor for a matrix with the SAME sparsity pattern, reusing the ordering and supernodal symbolic analysis

Signatures:

refactor(self, A: mtl5._core.SparseMatrix_f64) -> None
property shape#

(self) -> tuple[int, int]

solve()#

Solve A x = b via the supernodal LDL^T factor

Signatures:

solve(self, b: ndarray[dtype=float64, shape=(*), order='C', device='cpu', writable=False]) -> mtl5._core.DenseVector_f64