staircase.Stairs.get_integral_and_mean
staircase.Stairs.describe
Staircase is built upon Grant Jenks' Python Sorted Containers. Please consider financial support for that project:
Give to Python Sorted Containers
Stairs.
integrate
Calculates the integral of the step function.
The area
float
See also
Stairs.get_integral_and_mean()
Examples
>>> s1.plot() >>> s1.integrate(3, 4.5) 0.5