Rcppautodiff
An Interface to the C++ Automatic Differentiation Library 'autodiff'
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'.
Versions across snapshots
| Version | Repository | File | Size |
|---|---|---|---|
0.1.0 |
rolling linux/jammy R-4.5 | Rcppautodiff_0.1.0.tar.gz |
103.3 KiB |
0.1.0 |
rolling linux/noble R-4.5 | Rcppautodiff_0.1.0.tar.gz |
104.1 KiB |
0.1.0 |
rolling source/ R- | Rcppautodiff_0.1.0.tar.gz |
81.9 KiB |
0.1.0 |
latest linux/jammy R-4.5 | Rcppautodiff_0.1.0.tar.gz |
103.3 KiB |
0.1.0 |
latest linux/noble R-4.5 | Rcppautodiff_0.1.0.tar.gz |
104.1 KiB |
0.1.0 |
latest source/ R- | Rcppautodiff_0.1.0.tar.gz |
81.9 KiB |
0.1.0 |
2026-04-23 source/ R- | Rcppautodiff_0.1.0.tar.gz |
0 B |