Stan Math Library  2.15.0
reverse mode automatic differentiation
expm1.hpp
Go to the documentation of this file.
1 #ifndef STAN_MATH_PRIM_SCAL_FUN_EXPM1_HPP
2 #define STAN_MATH_PRIM_SCAL_FUN_EXPM1_HPP
3 
5 #include <boost/math/special_functions/expm1.hpp>
6 
7 namespace stan {
8  namespace math {
9 
18  inline double expm1(double x) {
20  }
21 
28  inline double expm1(int x) {
29  return expm1(static_cast<double>(x));
30  }
31 
32  }
33 }
34 #endif
fvar< T > expm1(const fvar< T > &x)
Definition: expm1.hpp:12
var expm1(const var &a)
The exponentiation of the specified variable minus 1 (C99).
Definition: expm1.hpp:49
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.