staircase.Stairs.subtract#

Stairs.subtract(other)#

A binary operator facilitating the subtraction 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-subtract-1.png