Functions |
adtl::adouble | abs (const adtl::adouble &x) |
adtl::adouble | abs2 (const adtl::adouble &x) |
const adtl::adouble & | conj (const adtl::adouble &x) |
adtl::adouble | imag (const adtl::adouble &) |
const adtl::adouble & | real (const adtl::adouble &x) |
Detailed Description
This module provides support for adolc's adouble type in forward mode. ADOL-C is a C++ automatic differentiation library, see https://projects.coin-or.org/ADOL-C for more information. It mainly consists in:
- a struct Eigen::NumTraits<adtl::adouble> specialization
- overloads of internal::* math function for adtl::adouble type.
Note that the maximal number of directions is controlled by the preprocessor token NUMBER_DIRECTIONS. The default is 2.
#include <unsupported/Eigen/AdolcSupport>