30 #ifndef FAD_EXPR_FUNCS_HPP
31 #define FAD_EXPR_FUNCS_HPP
44 #ifdef PACKAGE_BUGREPORT
45 #undef PACKAGE_BUGREPORT
50 #ifdef PACKAGE_TARNAME
51 #undef PACKAGE_TARNAME
53 #ifdef PACKAGE_VERSION
54 #undef PACKAGE_VERSION
60 #define NUMBER_DIRECTIONS 100
61 #include "adolc/adouble.h"
62 #include "adolc/drivers/drivers.h"
63 #include "adolc/interfaces.h"
73 template <
typename T,
int N>
struct mult {};
74 template <
typename T,
int N>
struct mult_base {
static const int n =
N+1; };
76 template <
typename T,
int N>
struct add {};
77 template <
typename T,
int N>
struct add_base {
static const int n =
N+1; };
79 template <
typename T,
int N>
struct nest {};
80 template <
typename T,
int N>
struct nest_base {
static const int n = 1; };
84 void operator()(
const T x[],
T& y)
const; };
86 void operator()(
const T x[],
T& y)
const; };
88 void operator()(
const T x[],
T& y)
const; };
90 void operator()(
const T x[],
T& y)
const; };
92 void operator()(
const T x[],
T& y)
const; };
94 void operator()(
const T x[],
T& y)
const; };
96 void operator()(
const T x[],
T& y)
const; };
98 void operator()(
const T x[],
T& y)
const; };
101 void operator()(
const T x[],
T& y)
const; };
103 void operator()(
const T x[],
T& y)
const; };
105 void operator()(
const T x[],
T& y)
const; };
107 void operator()(
const T x[],
T& y)
const; };
109 void operator()(
const T x[],
T& y)
const; };
111 void operator()(
const T x[],
T& y)
const; };
113 void operator()(
const T x[],
T& y)
const; };
115 void operator()(
const T x[],
T& y)
const; };
119 void operator()(
const T x[],
T& y)
const; };
121 void operator()(
const T x[],
T& y)
const; };
123 void operator()(
const T x[],
T& y)
const; };
125 void operator()(
const T x[],
T& y)
const; };
127 void operator()(
const T x[],
T& y)
const; };
129 void operator()(
const T x[],
T& y)
const; };
131 void operator()(
const T x[],
T& y)
const; };
133 void operator()(
const T x[],
T& y)
const; };
static const char * mult_names[nfunc]
static const char * add_names[nfunc]
static const char * nest_names[nfunc]