Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ fill() [2/4]

template<typename T , typename S , require_t< std::is_assignable< std::decay_t< T > &, std::decay_t< S > > > * = nullptr>
void stan::math::fill ( T &  x,
S &&  y 
)
inline

Fill the specified container with the specified value.

This base case simply assigns the value to the container.

Template Parameters
TType of reference container.
SType of value.
Parameters
xContainer.
yValue.

Definition at line 41 of file fill.hpp.