Stairs.
max
(lower=-inf, upper=inf)¶Calculates the maximum value of the step function.
If an interval which to calculate over is specified it is interpreted as a closed interval
Parameters: |
|
---|---|
Returns: | The maximum value of the step function |
Return type: | float |
See also
Examples
>>> s1.plot()
>>> s1.max()
1.0
>>> s1.max(2,3)
1.0