cross ( vec1 vec2 -- vec3 )


Vocabulary
math.matrices

Inputs and outputs
vec1an object
vec2an object
vec3an object


Definition


: cross ( vec1 vec2 -- vec3 )
[ [ { 1 2 0 } vshuffle ] [ { 2 0 1 } vshuffle ] bi* v* ]
[ [ { 2 0 1 } vshuffle ] [ { 1 2 0 } vshuffle ] bi* v* ] 2bi
v- ; inline