fill.hpp
Go to the documentation of this file.
#ifndef STAN_MATH_PRIM_SCAL_FUN_FILL_HPP
#define STAN_MATH_PRIM_SCAL_FUN_FILL_HPP
namespace stan {
namespace math {
template <typename T, typename S>
void fill(T& x, const S& y) {
x = y;
}
}
}
#endif
stan
Definition: log_sum_exp.hpp:8
stan::math::fill
void fill(std::vector< T > &x, const S &y)
Fill the specified container with the specified value.
Definition: fill.hpp:22

[ Stan Home Page ] © 2011–2016, Stan Development Team.