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

◆ log1p() [6/7]

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

Return the elementwise application of log1p() to specified argument container.

The return type promotes the underlying scalar argument type to double if it is an integer, and otherwise is the argument type.

Template Parameters
Ttype of container
Parameters
xcontainer
Returns
Elementwise log1p of members of container.

Definition at line 82 of file log1p.hpp.