Stan Math Library
2.20.0
reverse mode automatic differentiation
stan
math
prim
scal
fun
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
4
#include <
stan/math/prim/meta.hpp
>
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
stan
Definition:
log_sum_exp.hpp:8
meta.hpp
stan::math::expm1
fvar< T > expm1(const fvar< T > &x)
Definition:
expm1.hpp:13
stan::math::expm1
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.