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 Leng | |||||||||||
See also: SMult, AbsVal | |||||||||||
Leng |
|||||||||||
The property Leng is a read-only property in the class TIntVector returning the length of the vector. In the class TVector it can be used to both calculate the length of a vector and to set the length of a vector to a given value. Setting the length of a zero-length vector is ignored. Setting the length of a vector to 1.0 is equal to normalizing this vector.
|