Overview | Statement List | Example


缩放向量

Synopsis

SCALVF(scalar,vector)

Description

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

Parameters

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.


Copyright ©2015 胡君NX二次开发官网(www.UGapi.com) QQ:85585969 All Rights Reserved.