Skip to content

Vector Products ​

These instructions compute dot and cross products from numeric arrays.

OpcodeArgumentsOperands (stack)Description
dottypeleft, rightReplaces two equal-length numeric arrays with one scalar: the sum of left[i] * right[i] in the selected type.
crosstypeleft, rightReplaces two numeric arrays of exactly three elements each with their three-element cross-product array, preserving operand order.