![]() |
Stan Math Library
5.1.0
Automatic Differentiation
|
|
inline |
Return the value of the specified variable.
This function is used internally by autodiff functions along with value_of(T x) to extract the double value of either a scalar or an autodiff variable. This function will be called when the argument is a var even if the function is not referred to by namespace because of argument-dependent lookup.
| v | Variable. |
Definition at line 24 of file value_of.hpp.