Version: dev

Sparsity and structure

The exact structural sparsity pattern, the structure classification, and the symbolic factorization plan.

OperationKindBindingsSummary
detect_structurefunctionJulia, Python, RustClassify the Jacobian’s structure from the band list:
jacobian_patternfunctionJulia, PythonThe structural (global, point-independent) sparsity pattern of the Jacobian as a SparseMatrixCSC{Bool}.
lu_fillfunctionJulia, Python, RustSymbolic (no-pivoting) LU of a structural pattern: the input pattern plus every fill-in entry Gaussian elimination creates, in natural order.
markowitz_orderingfunctionPython, RustGreedy Markowitz ordering (1-based), first minimal cost wins.
plan_factorizationfunctionJulia, Python, RustSymbolic factorization info for the detected structure class, or nothing when no plan is implemented for that class (the Jacobian itself is still fully usable — a plan is an…
block_diagonal_plantypeJulia, Python, RustPer-cell block factorization info for a :block_diagonal Jacobian (the chemistry shape: every coupling is within-cell, so the global matrix is one identical ns × ns-patterned…

All topics