Vcross(): Difference between revisions
Jump to navigation
Jump to search
Ihavenomouth (talk | contribs) New page: Category:Functions {{Function|vcross(<vector>,<vector>[,<delim>][,<output delim>])}} Returns the cross product of two vectors. The cross product of two vectors is a vector. ... |
(No difference)
|
Latest revision as of 17:32, 25 November 2010
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