1#ifndef STAN_MATH_PRIM_FUN_COL_HPP
2#define STAN_MATH_PRIM_FUN_COL_HPP
23template <
typename T, require_matrix_t<T>* =
nullptr>
24inline auto col(
const T& m,
size_t j) {
auto col(T_x &&x, size_t j)
Return the specified column of the specified kernel generator expression using start-at-1 indexing.
void check_column_index(const char *function, const char *name, const T_y &y, size_t i)
Check if the specified index is a valid column of the matrix.
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...