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