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

◆ initialize_fill() [4/4]

template<typename VarMat , typename S , require_var_matrix_t< VarMat > * = nullptr, require_stan_scalar_t< S > * = nullptr>
void stan::math::initialize_fill ( VarMat &  x,
const S &  y 
)
inline

Fill the specified container with the specified value.

This function does not perform a callback to propogate the adjoints upward

The specified matrix is filled by element.

Template Parameters
VarMata var_value with inner type from EigenBase
SA var.
Parameters
xContainer.
yValue.

Definition at line 27 of file initialize_fill.hpp.