Provides an interface from R to the 'autodiff' library <https://autodiff.github.io/>, a modern header-only C++ library for automatic differentiation. Unlike numerical differentiation, automatic differentiation computes derivatives of functions to machine precision without truncation error, using either forward or reverse mode. The 'autodiff' header files are shipped with this package so that other R packages can use them by including 'Rcppautodiff' in the 'LinkingTo' field of their 'DESCRIPTION' file. Example programs demonstrate computing derivatives of single-variable and multi-variable functions, gradient vectors, Jacobian matrices and derivatives with respect to parameters, using 'Rcpp' and 'RcppEigen'.
| Version: | 0.1.0 |
| Imports: | Rcpp (≥ 1.0.8.3), RcppEigen |
| LinkingTo: | Rcpp, RcppEigen |
| Suggests: | knitr, rmarkdown, tinytest |
| Published: | 2026-07-19 |
| DOI: | 10.32614/CRAN.package.Rcppautodiff |
| Author: | Satyaprakash Nayak
|
| Maintainer: | Satyaprakash Nayak <satyaprakash.nayak at gmail.com> |
| BugReports: | https://github.com/sn248/Rcppautodiff/issues |
| License: | GPL-2 | GPL-3 [expanded from: GPL (≥ 2)] |
| URL: | https://github.com/sn248/Rcppautodiff, https://sn248.github.io/Rcppautodiff/ |
| NeedsCompilation: | yes |
| Materials: | README |
| CRAN checks: | Rcppautodiff results |
| Reference manual: | Rcppautodiff.html , Rcppautodiff.pdf |
| Vignettes: |
Introduction to 'Rcppautodiff' (source, R code) |
| Package source: | Rcppautodiff_0.1.0.tar.gz |
| Windows binaries: | r-devel: Rcppautodiff_0.1.0.zip, r-release: Rcppautodiff_0.1.0.zip, r-oldrel: Rcppautodiff_0.1.0.zip |
| macOS binaries: | r-release (arm64): Rcppautodiff_0.1.0.tgz, r-oldrel (arm64): Rcppautodiff_0.1.0.tgz, r-release (x86_64): Rcppautodiff_0.1.0.tgz, r-oldrel (x86_64): Rcppautodiff_0.1.0.tgz |
Please use the canonical form https://CRAN.R-project.org/package=Rcppautodiff to link to this page.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.