Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ expm1() [4/6]

template<typename T , require_all_not_nonscalar_prim_or_rev_kernel_expression_t< T > * = nullptr, require_not_var_matrix_t< T > * = nullptr>
auto stan::math::expm1 ( const T &  x)
inline

Return the elementwise expm1() of the specified argument, which may be a scalar or any Stan container of numeric scalars.

The return type is the same as the argument type.

Template Parameters
Ttype of container
Parameters
xcontainer
Returns
Natural exponential of each value in x minus one.

Definition at line 39 of file expm1.hpp.