1 # ifndef CPPAD_CORE_EXPM1_HPP
2 # define CPPAD_CORE_EXPM1_HPP
67 # include <cppad/configure.hpp>
68 # if ! CPPAD_USE_CPLUSPLUS_2011
74 Type expm1_template(
const Type &x)
78 inline float expm1(
const float &x)
79 {
return expm1_template(x); }
81 inline double expm1(
const double &x)
82 {
return expm1_template(x); }
85 inline AD<Base>
expm1(
const AD<Base> &x)
86 {
return expm1_template(x); }
89 inline AD<Base>
expm1(
const VecAD_reference<Base> &x)
90 {
return expm1_template( x.ADBase() ); }
95 # endif // CPPAD_USE_CPLUSPLUS_2011
96 # endif // CPPAD_EXPM1_INCLUDED
AD< Base > exp(const AD< Base > &x)
std::complex< double > expm1(const std::complex< double > &x)