scipp.multiply

scipp.multiply(a, b)

Element-wise product.

Equivalent to

a * b

In cases where the order of the operands matters, e.g. with vectors or matrices, it is as shown above.

Parameters
  • a (VariableLike) – Left factor

  • b (VariableLike) – Right factor.

Returns

Product of a and b.

Return type

VariableLike

See the guide on computation for general concepts and broadcasting behavior.