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

◆ value_of_rec() [7/8]

template<typename T , typename = require_not_st_same<T, double>, typename = require_eigen_t<T>>
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 107 of file value_of_rec.hpp.