Documentation moved.
This entry is documented with its primary interface. Open the documentation →
Function
src/index.ts:1091nerdamer.cross
nerdamer.cross(a: Vector, b: Vector): Vectornerdamer.cross(a: Expression, b: Expression): Expressionnerdamer.cross(a: ParserEntity, b: ParserEntity): Expression | VectorComputes a three-dimensional cross product or preserves symbolic operands.
throws
core!UnexpectedDataType For incompatible parser operand types.
throws
core!DimensionError Unless both Vectors have exactly three elements.
Parameters
Returns
Vector — The Vector cross product, or an unevaluated cross(a, b) Expression
when both operands are Expressions.
