1#ifndef STAN_MATH_PRIM_FUN_COLS_HPP
2#define STAN_MATH_PRIM_FUN_COLS_HPP
19template <
typename T, require_matrix_t<T>* =
nullptr>
20inline int64_t
cols(
const T& m) {
int64_t cols(const T_x &x)
Returns the number of columns in the specified kernel generator expression.
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...