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