ResizeVector

Declaration: ResizeVector(var Vec: TDoubleArray; Size: integer);
Resizes the vector (one-dimensional dynamic array) Vec to the size Size. Please note that dynamic arrays have 0-based indices.

Hint: The procedure ResizeVector is equivalent to the procedure SetLength.