1#ifndef STAN_MATH_PRIM_FUN_ONES_INT_ARRAY_HPP
2#define STAN_MATH_PRIM_FUN_ONES_INT_ARRAY_HPP
19 return std::vector<int>(K, 1);
std::vector< int > ones_int_array(int K)
Return an integer array of ones.
void check_nonnegative(const char *function, const char *name, const T_y &y)
Check if y is non-negative.
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...