|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....|
|Home MathPack Vector Properties IsEmpty|
|See also: Clear|
The property IsEmpty is a flag which indicates whether the vector is empty (ununsed) or not. Please mind the subtle difference between an empty vector (as indicated by IsEmpty) and a vector which is filled with zeros (which is not an empty vector).
The property IsEmpty is TRUE after creating the vector. It is reset to a FALSE value by assigning a value to any of the vector elements (either directly via the Elem property, or indirectly by loading a vector from a file, or by copying contents from another vector). IsEmpty is set to a TRUE value by the method Clear.
Setting the property IsEmpty does not affect the vector and leaves all properties unchanged (it is simply a flag which server to detect empty conditions).