scipp.cross

scipp.cross(x, y)

Element-wise cross product.

Parameters
  • x (VariableLike) – Left hand side operand.

  • y (VariableLike) – Right hand side operand.

Raises

If the dtype of the input is not vector_3_float64.

Returns

The cross product of the input vectors.

Return type

VariableLike