The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....


Class:TVector, TIntVector
Declaration:procedure Clear;

The method Clear sets all elements of a vector to a zero value. Please note that the method Clear sets the property IsEmpty to TRUE, while filling the vector with all zero values by using the method Fill does not.

Example: The statement Vec.Clear; sets all vector elements to zero values.

Last Update: 2015-May-11