Algosim documentation: CrossProduct

CrossProduct

The vector cross product.

Syntax

Description

If u and v are three-dimensional (real or complex) vectors, then u × v is the vector cross product of u and v. The product is complex iff at least one of the operands is complex.

Examples

a ≔ ❨4, 1, 2❩; b ≔ ❨1, 0, 2❩;
CrossProduct(a, b)
 ⎛2 ⎞
e⎜−6⎟
 ⎝−1⎠

Notes

The × operator can also be used for the vector cross product.

See also