scipp.dot#

scipp.dot(x, y)#

Element-wise dot 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 dot product of the input vectors.