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.4.0 |
| LinkingTo: | cpp11 |
| Suggests: | cpp11, knitr, rmarkdown |
| Published: | 2026-06-08 |
| DOI: | 10.32614/CRAN.package.sparsediff (may not be active yet) |
| 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 |
| CRAN checks: | sparsediff results |
| Reference manual: | sparsediff.html , sparsediff.pdf |
| Vignettes: |
Sparse derivatives with sparsediff (source, R code) |
| Package source: | sparsediff_0.4.0.tar.gz |
| Windows binaries: | r-devel: not available, r-release: not available, r-oldrel: not available |
| macOS binaries: | r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available |
Please use the canonical form https://CRAN.R-project.org/package=sparsediff to link to this page.