1 # ifndef CPPAD_EXAMPLE_CPPAD_EIGEN_HPP
2 # define CPPAD_EXAMPLE_CPPAD_EIGEN_HPP
72 # define EIGEN_MATRIXBASE_PLUGIN <cppad/example/eigen_plugin.hpp>
73 # include <Eigen/Core>
81 template <
class Base>
struct NumTraits< CppAD::AD<Base> >
99 RequireInitialization = 1 ,
includes the entire CppAD package in the necessary order.
CppAD::AD< Base > Literal
AD< Base > imag(const AD< Base > &x)
CppAD::AD< Base > NonInteger
static CppAD::AD< Base > dummy_precision(void)
static CppAD::AD< Base > highest(void)
All tthese defaults correspond to errors.
AD< Base > abs2(const AD< Base > &x)
static CppAD::AD< Base > lowest(void)
const AD< Base > & conj(const AD< Base > &x)
static CppAD::AD< Base > epsilon(void)
const AD< Base > & real(const AD< Base > &x)
static int digits10(void)