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

◆ log1m_exp()

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

Calculates the natural logarithm of one minus the exponential of the specified value without overflow,.

log1m_exp(x) = log(1-exp(x))

This function is only defined for x < 0

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

Definition at line 31 of file log1m_exp.hpp.