1#ifndef STAN_MATH_PRIM_FUN_INITIALIZE_FILL_HPP
2#define STAN_MATH_PRIM_FUN_INITIALIZE_FILL_HPP
22template <
typename EigMat,
typename S, require_eigen_t<EigMat>* =
nullptr,
23 require_stan_scalar_t<S>* =
nullptr>
39 typename T,
typename S,
42 x = std::forward<S>(y);
56template <
typename Vec,
typename S, require_std_vector_t<Vec>* =
nullptr>
58 for (
auto& x_val : x) {
void initialize_fill(EigMat &x, const S &y)
Fill the specified container with the specified value.
std::enable_if_t< Check::value > require_t
If condition is true, template is enabled.
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...