valvector_binary_op

View page source

The valvector Numeric Binary Operators

Returns a valvector that is the element-by-element result of the numeric binary operators.

Syntax

x op y

op

The numeric binary operator op is + (addition) , - (subtraction), * (multiplication) , or / (division) .

x, y

Both x and y are const valvectors.

Example

The file valvector_binary_op.cpp is an example and test of the valvector binary operators.