Overview | Statement List | Example
VLENF(A)
Returns the length (magnitude) of a vector.
Using the function as shown below, where A is an array consisting of the three components of a vector,
D=VLENF(A)
is equivalent to the following expression:
D=SQRTF(A(1)*A(1)+A(2)*A(2)+A(3)*A(3))
Parameter |
Description |
A |
A three-position numerical array which represents the components of a vector. |