Stan Math Library
4.9.0
Automatic Differentiation
|
|
inline |
Return the value of the specified scalar argument converted to a double value.
See the primitive_value
function to extract values without casting to double
.
This function is meant to cover the primitive types. For types requiring pass-by-reference, this template function should be specialized.
T | Type of scalar. |
x | Scalar to convert to double. |
Definition at line 29 of file value_of_rec.hpp.