1 #ifndef STAN_MATH_REV_SCAL_FUN_FMA_HPP 2 #define STAN_MATH_REV_SCAL_FUN_FMA_HPP 20 avi_->
adj_ = std::numeric_limits<double>::quiet_NaN();
21 bvi_->
adj_ = std::numeric_limits<double>::quiet_NaN();
22 cvi_->
adj_ = std::numeric_limits<double>::quiet_NaN();
37 avi_->
adj_ = std::numeric_limits<double>::quiet_NaN();
38 bvi_->
adj_ = std::numeric_limits<double>::quiet_NaN();
52 avi_->
adj_ = std::numeric_limits<double>::quiet_NaN();
53 cvi_->
adj_ = std::numeric_limits<double>::quiet_NaN();
67 avi_->
adj_ = std::numeric_limits<double>::quiet_NaN();
79 cvi_->
adj_ = std::numeric_limits<double>::quiet_NaN();
fma_vvv_vari(vari *avi, vari *bvi, vari *cvi)
void chain()
Apply the chain rule to this variable based on the variables on which it depends. ...
void chain()
Apply the chain rule to this variable based on the variables on which it depends. ...
fma_ddv_vari(double a, double b, vari *cvi)
The variable implementation base class.
fma_vvd_vari(vari *avi, vari *bvi, double c)
bool is_any_nan(const T &x)
Returns true if the input is NaN and false otherwise.
Independent (input) and dependent (output) variables for gradients.
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. ...
void chain()
Apply the chain rule to this variable based on the variables on which it depends. ...
fma_vdv_vari(vari *avi, double b, vari *cvi)
fvar< typename stan::return_type< T1, T2, T3 >::type > fma(const fvar< T1 > &x1, const fvar< T2 > &x2, const fvar< T3 > &x3)
The fused multiply-add operation (C99).
vari * vi_
Pointer to the implementation of this variable.
fma_vdd_vari(vari *avi, double b, double c)
void chain()
Apply the chain rule to this variable based on the variables on which it depends. ...
double adj_
The adjoint of this variable, which is the partial derivative of this variable with respect to the ro...