Stan Math Library  2.15.0
reverse mode automatic differentiation
atanh.hpp
Go to the documentation of this file.
1 #ifndef STAN_MATH_PRIM_SCAL_FUN_ATANH_HPP
2 #define STAN_MATH_PRIM_SCAL_FUN_ATANH_HPP
3 
5 #include <boost/math/special_functions/atanh.hpp>
6 
7 namespace stan {
8  namespace math {
9 
19  inline double atanh(double x) {
21  }
22 
30  inline double atanh(int x) {
31  return atanh(static_cast<double>(x));
32  }
33 
34  }
35 }
36 #endif
fvar< T > atanh(const fvar< T > &x)
Return inverse hyperbolic tangent of specified value.
Definition: atanh.hpp:21
var atanh(const var &a)
The inverse hyperbolic tangent function for variables (C99).
Definition: atanh.hpp:62
boost::math::policies::policy< boost::math::policies::overflow_error< boost::math::policies::errno_on_error >, boost::math::policies::pole_error< boost::math::policies::errno_on_error > > boost_policy_t
Boost policy that overrides the defaults to match the built-in C++ standard library functions...

     [ Stan Home Page ] © 2011–2016, Stan Development Team.