Loading [MathJax]/extensions/TeX/AMSsymbols.js
Automatic Differentiation
 
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Loading...
Searching...
No Matches

◆ value_of_rec() [8/10]

template<typename T , require_not_st_same< T, double > * = nullptr, require_eigen_t< T > * = nullptr>
auto stan::math::value_of_rec ( T &&  M)
inline

Convert a matrix of type T to a matrix of doubles.

T must implement value_of_rec. See test/unit/math/fwd/fun/value_of_test.cpp for fvar and var usage.

Template Parameters
TType of matrix
Parameters
[in]MMatrix to be converted
Returns
Matrix of values

Definition at line 96 of file value_of_rec.hpp.