setLength

Set length of the vector, resizing it but preserving its direction.

void
setLength
@safe pure nothrow @nogc
(
T
size_t dim
)
(
ref Vector!(T, dim) vector
,
)

Meta