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

◆ log_cosh() [1/5]

template<typename T >
fvar< T > stan::math::log_cosh ( const fvar< T > &  x)
inline

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

Template Parameters
Tinner type of the forward-mode autodiff variable
Parameters
xargument
Returns
log(cosh(x)), with derivative tanh(x)

Definition at line 21 of file log_cosh.hpp.