1#ifndef STAN_MATH_PRIM_FUN_ZEROS_VECTOR_HPP
2#define STAN_MATH_PRIM_FUN_ZEROS_VECTOR_HPP
19 return Eigen::VectorXd::Zero(K);
void check_nonnegative(const char *function, const char *name, const T_y &y)
Check if y is non-negative.
auto zeros_vector(int K)
Return a vector of zeros.
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...