1 #ifndef STAN_MATH_PRIM_MAT_FUN_ROW_HPP
2 #define STAN_MATH_PRIM_MAT_FUN_ROW_HPP
25 Eigen::Matrix<T, 1, Eigen::Dynamic>
26 row(
const Eigen::Matrix<T, Eigen::Dynamic, Eigen::Dynamic>& m,
bool check_row_index(const char *function, const char *name, const Eigen::Matrix< T_y, R, C > &y, size_t i)
Return true if the specified index is a valid row of the matrix.
Eigen::Matrix< T, 1, Eigen::Dynamic > row(const Eigen::Matrix< T, Eigen::Dynamic, Eigen::Dynamic > &m, size_t i)
Return the specified row of the specified matrix, using start-at-1 indexing.