a - b
Component-wise subtraction of two n-dimensional vectors. Target is used to store the results.
Left operand
Right operand
Target for storing the results (Default: a)
Resulting vector
sub([4, 3], [2, 1], new Array(2)); // Returns: [2, 2] Copy
sub([4, 3], [2, 1], new Array(2)); // Returns: [2, 2]
Generated using TypeDoc
a - b
Component-wise subtraction of two n-dimensional vectors. Target is used to store the results.