Overview | Statement List | Example
SCALVF(scalar,vector)
Multiplies the components of a vector by a scalar.
Using the function as shown below, where A and B are arrays, each consisting of the three components of a vector,
NUMBER/A(3),B(3)
DATA/A,1,2,3
B=SCALVF(3,A)
is equivalent to the following expressions:
B(1)=A(1)*3
B(2)=A(2)*3
B(3)=A(3)*3
Parameter |
Description |
scalar |
Any valid Unigraphics real number which multiplies the vector components to produce a new vector. |
vector |
An existing numerical array which represents the components of a vector. |