Stan Math Library  2.20.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 <cmath>
6 
7 namespace stan {
8 namespace math {
9 
18 inline double expm1(double x) { return std::expm1(x); }
19 
26 inline double expm1(int x) { return std::expm1(x); }
27 
28 } // namespace math
29 } // namespace stan
30 #endif
fvar< T > expm1(const fvar< T > &x)
Definition: expm1.hpp:13
var expm1(const var &a)
The exponentiation of the specified variable minus 1 (C99).
Definition: expm1.hpp:46

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