Skip to main content

Module sparse

Module sparse 

Source
Expand description

Sparse Jacobian assembly using symbolic sparsity patterns.

This module handles building the symbolic structure (sparsity pattern) once, then efficiently filling in numerical values during each optimization iteration. Uses SparseColMat from faer for the Jacobian representation.

Structs§

SymbolicStructure
Symbolic structure for sparse matrix operations.

Functions§

assemble_sparse
Assemble residuals and sparse Jacobian from the current variable values.
build_symbolic_structure
Build the symbolic sparsity structure for the Jacobian matrix.