1#ifndef STAN_MATH_OPENCL_PRIM_COLS_HPP
2#define STAN_MATH_OPENCL_PRIM_COLS_HPP
19template <
typename T_x,
20 require_nonscalar_prim_or_rev_kernel_expression_t<T_x>* =
nullptr>
21inline int64_t
cols(
const T_x& x) {
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 ...