mtl5.sparse.supernodal_lu#
- mtl5.sparse.supernodal_lu(A, ordering: str = 'colamd', threshold: float = 1.0, max_super: int = 64, scale: bool = False, pivot_perturb: float = 0.0, accumulator: str | None = None)#
Supernodal LU: columns grouped into supernodes, applied as dense blocks.
The same factorization as
spluorganised to spend its time in dense block updates instead of scalar sparse ones..nsuperreports how many supernodes were formed.scale=Truerow-equilibrates first, which matters most when the factor precision is narrow.orderingmust be “amd”, “colamd”, “rcm” or “nd” — the supernodal analysis has no natural-ordering path upstream.The returned object exposes
.solve(b)and.refactor(A2).accumulator=types the dense numeric workspace — seesplu.