1 #ifndef STAN_MATH_REV_SCAL_FUN_LOG_SUM_EXP_HPP 2 #define STAN_MATH_REV_SCAL_FUN_LOG_SUM_EXP_HPP
void chain()
Apply the chain rule to this variable based on the variables on which it depends. ...
log_sum_exp_vv_vari(vari *avi, vari *bvi)
log_sum_exp_dv_vari(double a, vari *bvi)
The variable implementation base class.
Independent (input) and dependent (output) variables for gradients.
fvar< T > log_sum_exp(const std::vector< fvar< T > > &v)
const double val_
The value of this variable.
vari * vi_
Pointer to the implementation 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. ...
double calculate_chain(double x, double val)
log_sum_exp_vd_vari(vari *avi, double b)
double adj_
The adjoint of this variable, which is the partial derivative of this variable with respect to the ro...