| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
Interval
Numeric Interval class.
Numeric Interval implementation for integer and float types.
If the interval is not specified fully on initialisation then operations
on the object are limited to set().
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
str(x)
|
str(x)
|
val, bdcode -> Bool Determines whether val is at the endpoint specified by bdcode, to the precision of the interval's _abseps tolerance. bdcode can be one of 'lo', 'low', 0, 'hi', 'high', 1 |
Sample the interval, returning a list.
Arguments:
dt : sample step
strict : (Boolean) This option forces dt to be used throughout the interval,
with a final step of < dt if not commensurate. Default of False
is used for auto-selection of sample rate to fit interval
(choice based on dt argument).
avoidendpoints : (Boolean, default False). When True, ensures that the first and
last independent variable ("t") values are not included, offset by
an amount given by self._abseps (the endpoint tolerance).
|
Sample the interval, returning a list.
Arguments:
dt : sample step
strict : (Boolean) This option forces dt to be used throughout the interval,
with a final step of < dt if not commensurate. Default of False
is used for auto-selection of sample rate to fit interval
(choice based on dt argument).
avoidendpoints : (Boolean, default False). When True, ensures that the first and
last independent variable ("t") values are not included, offset by
an amount given by self._abseps (the endpoint tolerance).
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Sun Dec 2 23:44:20 2012 | http://epydoc.sourceforge.net |