Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ stored_gradient_vari()

stan::math::stored_gradient_vari::stored_gradient_vari ( double  value,
size_t  size,
vari **  dtrs,
double *  partials 
)
inline

Construct a stored gradient vari with the specified value, size, daughter varis, and partial derivatives.

Parameters
[in]valueValue of vari
[in]sizeNumber of daughters
[in]dtrsArray of pointers to daughters
[in]partialsPartial derivatives of value with respect to daughters.

Definition at line 34 of file stored_gradient_vari.hpp.