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

◆ log_cosh() [4/5]

template<typename T , require_arithmetic_t< T > * = nullptr>
var stan::math::log_cosh ( const var_value< T > &  x)
inline

Return the natural logarithm of the hyperbolic cosine of the argument.

Template Parameters
Tarithmetic type
Parameters
xvar_value with inner arithmetic type
Returns
log(cosh(x)), with derivative tanh(x)

Definition at line 22 of file log_cosh.hpp.