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

◆ log1p_exp()

double stan::math::opencl_kernels::log1p_exp ( double  a)

Calculates the log of 1 plus the exponential of the specified value without overflow.

log1p_exp(x) = log(1+exp(x))

Parameters
[in]aArgument.
Returns
natural logarithm of one plus the exponential of the argument.

Definition at line 28 of file log1p_exp.hpp.