scipp.add

scipp.add(a, b)

Element-wise addition.

Equivalent to

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

  • b (VariableLike) – Second summand.

Returns

Sum of a and b.

Return type

VariableLike

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