scipp.add#

scipp.add(a, b)#

Element-wise addition.

Equivalent to:

a + b
Parameters:
  • a (VariableLike) – First summand.

  • b (VariableLike) – Second summand.

Returns:

VariableLike – Sum of a and b.

Note

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