Python bindings for SparseDiffEngine, an algorithmic differentiation library that computes sparse Jacobians and Hessians efficiently using graph coloring methods. Current version 0.4.0, requires Python >=3.11. Active development with monthly releases.
pip install sparsediffpyNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Compute sparse Jacobian of a 2D function at a point
Use `from sparsediff import Jacobian, Hessian`
Call `compute(sparse=False)` for old behavior or adjust code accordingly.
Ensure Python 3.11 or newer is used.
Use the new `coloring` parameter instead of `seed_matrix`.
No resource links recorded.