staircase.Stairs.max#

Stairs.max() float#

The maximum of the step function.

Returns
float

The maximum of the step function

Examples

>>> s1.plot(arrows=True)
>>> s1.max()
1
../../_images/staircase-Stairs-max-1.png
>>> s3.clip(2,4).plot(arrows=True)
>>> s3.clip(2,4).max()
1.0
../../_images/staircase-Stairs-max-2.png