staircase.Stairs.add#

Stairs.add(other)#

A binary operator facilitating the addition of step functions (and floats).

Equivalent to self + other. See examples below.

Parameters
otherint, float, or Stairs
Returns
Stairs

new instance representing the result of self + other

Examples

../../_images/staircase-Stairs-add-1.png