Stan Math Library
4.9.0
Automatic Differentiation
|
|
inline |
Compute the gradient of this (dependent) variable with respect to all (independent) variables.
CheckContainer | Not set by user. The default value of value_type is used to require that grad is only available for scalar var_value types. The grad() function does not recover memory. |