1 # ifndef CPPAD_CORE_ACOSH_HPP
2 # define CPPAD_CORE_ACOSH_HPP
66 # include <cppad/configure.hpp>
67 # if ! CPPAD_USE_CPLUSPLUS_2011
73 Type acosh_template(
const Type &x)
77 inline float acosh(
const float &x)
78 {
return acosh_template(x); }
80 inline double acosh(
const double &x)
81 {
return acosh_template(x); }
84 inline AD<Base>
acosh(
const AD<Base> &x)
85 {
return acosh_template(x); }
88 inline AD<Base>
acosh(
const VecAD_reference<Base> &x)
89 {
return acosh_template( x.ADBase() ); }
94 # endif // CPPAD_USE_CPLUSPLUS_2011
95 # endif // CPPAD_ACOSH_INCLUDED
AD< Base > log(const AD< Base > &x)
std::complex< double > acosh(const std::complex< double > &x)
AD< Base > sqrt(const AD< Base > &x)