1 #ifndef STAN_MATH_REV_SCAL_FUN_ATAN2_HPP 2 #define STAN_MATH_REV_SCAL_FUN_ATAN2_HPP atan2_vd_vari(vari *avi, double b)
fvar< T > atan2(const fvar< T > &x1, const fvar< T > &x2)
The variable implementation base class.
Independent (input) and dependent (output) variables for gradients.
void chain()
Apply the chain rule to this variable based on the variables on which it depends. ...
const double val_
The value of this variable.
void chain()
Apply the chain rule to this variable based on the variables on which it depends. ...
vari * vi_
Pointer to the implementation of this variable.
atan2_dv_vari(double a, vari *bvi)
atan2_vv_vari(vari *avi, vari *bvi)
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. ...