VCalculate

Invokes the interpreter of arithmetic expressions of vectors:
Format:
SPECTRA> vcalc$*$ulate result = vector_expr

Description:
result
A vector_id that describes where the result of the calculation is stored. See section 8 for an explanation of the term vector_id. If the resultant SCAN does not exist, it is created. If the vector_id refers to an empty slot (like y(10)), a SCAN named scan_i (scan_10) is created.
vector_expr
An arithmetic expression that contains vector_id's and also scalar arithmetic. The expressions are explained in sections 9ff and functions in sections 14ff.

The verb vcalc requieres that the operands have the same length. They are interpreted as vectors. In contrast to calc operations there is no interpolation. The calculations are performed for each element of the vectors.

e.g.:
SPECTRA> vcalc x(bpu1) = x(bpu1) + y(bpu1)