scipp.cross#

scipp.cross(x, y)#

Element-wise cross product.

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

  • y (VariableLike) – Right hand side operand.

Raises:

scipp.DTypeError – If the dtype of the input is not vector3.

Returns:

VariableLike – The cross product of the input vectors.