


Class:TVector, TIntVector
Declaration:function Resize (NE: longint): boolean;

The method Resize changes the number of elements of an existing vector. It returns TRUE if the resizing has been completed successfully. The new dimension of the vector is specified by the parameter NE. Data of the existing vector are not destroyed (as far as they can be contained in the new vector). Additional vector elements are filled with zero values.

Hint: In the Light Edition the number of vector elements is restricted to 2000.

Example: This method is used in the following example program (see for downloading the code): cluster, multilinreg

Last Update: 2013-May-30