cross
cross(a, b)
Input: a, b · Output: no output
What it is
Cross product of two 3-element vectors, returned as a Vec: cross([1, 0, 0], [0, 1, 0]) is [0, 0, 1]. Any other length is an error ("needs two 3-element vectors").
Overloads
One call shape — this function is not overloaded.
| Code | Input | Output | Description |
cross(a, b) | a vector or VecCross product of two 3-element vectors, returned as a Vec: cross([1, 0, 0], [0, 1, 0]) is [0, 0, 1].b —not documented yet | not documented yet | Any other length is an error ("needs two 3-element vectors"). |
Examples
No documentation example calls this form yet. The Core maths chapter is where one belongs.