1 #ifndef STAN_MATH_REV_SCAL_FUN_ATANH_HPP 2 #define STAN_MATH_REV_SCAL_FUN_ATANH_HPP
fvar< T > atanh(const fvar< T > &x)
Return inverse hyperbolic tangent of specified value.
The variable implementation base class.
Independent (input) and dependent (output) variables for gradients.
const double val_
The value of this variable.
vari * vi_
Pointer to the implementation of this variable.
atanh_vari(double val, vari *avi)
double adj_
The adjoint of this variable, which is the partial derivative of this variable with respect to the ro...
void chain()
Apply the chain rule to this variable based on the variables on which it depends. ...
double val() const
Return the value of this variable.