vcross - luxembourg/muxcode-clm GitHub Wiki
VCROSS()
FUNCTION: vcross(<vector>,<vector>[,<delim>][,<output delim>])
Returns the cross product of two vectors. The cross product of two vectors is a vector. | a b c | (a,b,c) X (d,e,f) = det | d e f | = i(bf-ce) + j(cd-af) + k(ae-bd) | i j k |
where i, j, and k are taken as unit vectors in Cartesian space.
Example: > @pemit me=vcross(1 2 3,2 3 4) -1 2 -1