sparsediff: R Interface to the 'SparseDiffEngine' Sparse Differentiation
Backend
Bindings for the 'SparseDiffEngine' C library, the sparse
Jacobian and Hessian differentiation backend used by 'CVXPY' for its
Disciplined Nonlinear Programming (DNLP) extension. Provides low-level
routines for building nonlinear expression graphs and evaluating sparse
derivatives, intended as a backend for higher-level modeling layers such
as 'CVXR'. This is the R analog of the 'sparsediffpy' Python
package and wraps the same C library.
| Version: |
0.6.1 |
| LinkingTo: |
cpp11 |
| Suggests: |
cpp11, knitr, rmarkdown, testthat (≥ 3.0.0) |
| Published: |
2026-10-06 |
| DOI: |
10.32614/CRAN.package.sparsediff |
| Author: |
Balasubramanian Narasimhan [aut, cre],
Daniel Cederberg [aut, cph] (Author of the bundled SparseDiffEngine C
library),
William Zijie Zhang [aut, cph] (Author of the bundled SparseDiffEngine
C library) |
| Maintainer: |
Balasubramanian Narasimhan <naras at stanford.edu> |
| BugReports: |
https://github.com/bnaras/sparsediff/issues |
| License: |
Apache License (== 2.0) |
| Copyright: |
file inst/COPYRIGHTS sparsediff copyright details |
| URL: |
https://bnaras.github.io/sparsediff/,
https://github.com/bnaras/sparsediff |
| NeedsCompilation: |
yes |
| SystemRequirements: |
GNU make |
| Materials: |
README, NEWS |
| CRAN checks: |
sparsediff results |
Documentation:
Downloads:
Reverse dependencies:
Linking:
Please use the canonical form
https://CRAN.R-project.org/package=sparsediff
to link to this page.