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