Vector Arithmetic
These instructions perform element-wise arithmetic on vectors (arrays).
| Opcode | Arguments | Operands (stack) | Description |
|---|---|---|---|
addv / subv | type | arr1, arr2 | Element-wise Addition or Subtraction of two vectors |
mulv / divv | type | arr1, arr2 | Element-wise Multiplication or Division of two vectors |
modv | type | arr1, arr2 | Element-wise Modulo (Remainder) of two vectors |
negv | type | arr | Element-wise Negation of a vector |