cross ( vec1 vec2 -- vec3 )


Vocabulary
math.vectors

Inputs
vec1an object
vec2an object


Outputs
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