cpp/numeric/valarray/resize

Resizes the valarray to contain elements and assigns  to each element.

This functions invalidates all pointers and references to elements in the array.

Return value
(none)