'CppAD' C++ Header Files for Automatic Differentiation

Provides the 'CppAD' C++ header library for automatic differentiation, for use by R packages via LinkingTo. Headers are vendored with CRAN-safe defaults and R-safe error handling that does not call std::cerr or std::exit. The two final components of the version number are the 'CppAD' release number.


RCppAD

Headers-only R package shipping CppAD for use via LinkingTo: RCppAD.

Use from another package

In DESCRIPTION:

Imports: RCppAD
LinkingTo: RCppAD

In C++:

#include <cppad/cppad.hpp>

R adds inst/include from LinkingTo packages to the include path, so #include <cppad/cppad.hpp> resolves to this package.

Refreshing CppAD

Maintainers (not install-time):

./tools/update-cppad.sh 20260000.0
# or: ./tools/update-cppad.sh /path/to/cppad-include-parent

This copies upstream include/cppad/, installs the frozen tools/configure.hpp.in, and reapplies R-safe patches.

License

This package is licensed under GPL (>= 2). Upstream CppAD is dual-licensed EPL-2.0 OR GPL-2.0-or-later; this package redistributes it under the GPL secondary license. See also upstream SPDX headers in inst/include/cppad/. For the EPL option, use CppAD from upstream.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("RCppAD")

1.20260000.0-1 by Patrick Brown, a month ago


https://github.com/eborgnine/adlaplace/


Browse source code at https://github.com/cran/RCppAD


Authors: Patrick Brown [aut, cre, cph] , Bradley M. Bell [aut, cph] (CppAD author) , COIN-OR Foundation [cph] (CppAD)


Documentation:   PDF Manual  


GPL (>= 2) license



See at CRAN