cross

Mathematical cross product

R[]
cross
(
R
)
(
R[] v
,
R[] w
)
out (result) { R[] resultDup = result.dup; assert (approxEqual(dot(resultDup, v), 0.0) && approxEqual(dot(resultDup, w), 0.0), "Cross product was not orthogonal to it's operands"); }

Meta