1 #ifndef STAN_MATH_PRIM_MAT_FUN_COL_HPP 2 #define STAN_MATH_PRIM_MAT_FUN_COL_HPP 24 Eigen::Matrix<T, Eigen::Dynamic, 1>
25 col(
const Eigen::Matrix<T, Eigen::Dynamic, Eigen::Dynamic>& m,
void check_column_index(const char *function, const char *name, const Eigen::Matrix< T_y, R, C > &y, size_t i)
Check if the specified index is a valid column of the matrix.
Eigen::Matrix< T, Eigen::Dynamic, 1 > col(const Eigen::Matrix< T, Eigen::Dynamic, Eigen::Dynamic > &m, size_t j)
Return the specified column of the specified matrix using start-at-1 indexing.