1 #ifndef STAN_MATH_PRIM_MAT_FUN_EXPM1_HPP
2 #define STAN_MATH_PRIM_MAT_FUN_EXPM1_HPP
5 #include <boost/math/special_functions/expm1.hpp>
18 static inline T
fun(
const T& x) {
31 inline typename apply_scalar_unary<expm1_fun, T>::return_t
Structure to wrap expm1() so that it can be vectorized.
var expm1(const stan::math::var &a)
The exponentiation of the specified variable minus 1 (C99).
fvar< T > expm1(const fvar< T > &x)
static return_t apply(const T &x)
Return the result of applying the function defined by the template parameter F to the specified matri...