 /VECTOR_OPERATIONS

Simple arithmetic operations between vectors. In all the operations only the minimum vector length is considered, i.e. an
operation between a vector A of dimension 10 and a vector B of dimension 5 will involve the first 5 elements in both vectors.
If the destination vector does not exist, it is created with the same length as the source vector.

/VECTOR/OPERATIONS/VBIAS vnam1 bias vnam2

VNAM1
C
Source vector name
BIAS
R
Bias value
VNAM2
C
Destination vector name

VNAM2(I) = BIAS + VNAM1(I)

/VECTOR/OPERATIONS/VSCALE vnam1 scale vnam2

VNAM1
C
Source vector name
SCALE
R
Scale factor
VNAM2
C
Destination vector name

VNAM2(I) = SCALE * VNAM1(I)

/VECTOR/OPERATIONS/VADD vnam1 vnam2 vnam3

VNAM1
C
First source vector name
VNAM2
C
Second source vector name
VNAM3
C
Destination vector name

VNAM3(I) = VNAM1(I) + VNAM2(I)

/VECTOR/OPERATIONS/VMULTIPLY vnam1 vnam2 vnam3

VNAM1
C
First source vector name
VNAM2
C
Second source vector name
VNAM3
C
Destination vector name

VNAM3(I) = VNAM1(I) * VNAM2(I)

/VECTOR/OPERATIONS/VSUBTRACT vnam1 vnam2 vnam3

VNAM1
C
First source vector name
VNAM2
C
Second source vector name
VNAM3
C
Destination vector name

VNAM3(I) = VNAM1(I) - VNAM2(I)

/VECTOR/OPERATIONS/VDIVIDE vnam1 vnam2 vnam3

VNAM1
C
First source vector name
VNAM2
C
Second source vector name
VNAM3
C
Destination vector name

VNAM3(I) = VNAM1(I) / VNAM2(I) ( or 0 if VNAM2(I)=0 )