1 #ifndef STAN_MATH_PRIM_MAT_FUN_VALUE_OF_REC_HPP
2 #define STAN_MATH_PRIM_MAT_FUN_VALUE_OF_REC_HPP
22 template <
typename T,
int R,
int C>
23 inline Eigen::Matrix<double, R, C>
26 Eigen::Matrix<double, R, C> Md(M.rows(), M.cols());
27 for (
int j = 0; j < M.cols(); j++)
28 for (
int i = 0; i < M.rows(); i++)
double value_of_rec(const fvar< T > &v)
Return the value of the specified variable.