nerdamer.cross(a: ParserEntity, b: ParserEntity): Expression | Vector
Computes a three-dimensional cross product or preserves symbolic operands.
throwsUnexpectedDataType For incompatible parser operand types.
throwsDimensionError Unless both Vectors have exactly three elements.
Parameters
| Name | Type | Description |
|---|
a | ParserEntity | First Vector, or a symbolic Expression operand. |
b | ParserEntity | Second Vector, or a symbolic Expression operand. |
Returns
Expression | Vector — The Vector cross product, or an unevaluated `cross(a, b)` Expression when both operands are Expressions.