Stairs.
min
(lower=-inf, upper=inf, lower_how='right', upper_how='left')¶Calculates the minimum value of the step function
If an interval which to calculate over is specified it is interpreted as a closed interval, with lower_how and upper_how indicating how the step function should be evaluated at the at the endpoints of the interval.
Parameters: |
|
---|---|
Returns: | The minimum value of the step function |
Return type: | float |
See also
Examples
>>> s2.plot()
>>> s2.min(0, 3)
0
>>> s2.min(0, 3, upper_how='right')
-1
>>> s2.min(0, 2)
0.5
>>> s2.min(0, 2, lower_how='left')
0.0