Stairs.
var
(lower=-inf, upper=inf)¶Calculates the variance of the step function.
Parameters: |
|
---|---|
Returns: | The variance of the step function |
Return type: | float |
See also
Examples
>>> s1.plot()
>>> s1.var()
0.6875
>>> s1.var(lower=0, upper=6)
0.4722222222222224