Package PyDSTool :: Module Interval' :: Class IntervalMembership
[hide private]
[frames] | no frames]

Class IntervalMembership

source code

object --+    
         |    
       int --+
             |
            IntervalMembership

Numeric Interval membership type.

Instance Methods [hide private]
 
__and__(self, v)
Interval `logical AND` for checking interval containment.
source code
 
__init__(self, *arg)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
__or__(self, v)
Interval `logical OR` for checking interval intersection.
source code
 
__rand__(self, v)
y&x
source code
 
__repr__(self)
str(x)
source code
 
__ror__(self, v)
y|x
source code
 
__str__(self)
str(x)
source code

Inherited from int: __abs__, __add__, __cmp__, __coerce__, __div__, __divmod__, __float__, __floordiv__, __getattribute__, __getnewargs__, __hash__, __hex__, __index__, __int__, __invert__, __long__, __lshift__, __mod__, __mul__, __neg__, __new__, __nonzero__, __oct__, __pos__, __pow__, __radd__, __rdiv__, __rdivmod__, __rfloordiv__, __rlshift__, __rmod__, __rmul__, __rpow__, __rrshift__, __rshift__, __rsub__, __rtruediv__, __rxor__, __sub__, __truediv__, __xor__

Inherited from object: __delattr__, __reduce__, __reduce_ex__, __setattr__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__and__(self, v)
(And operator)

source code 

Interval `logical AND` for checking interval containment. e.g. if both endpoints are contained then the whole interval is.

Overrides: int.__and__

__init__(self, *arg)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

__or__(self, v)
(Or operator)

source code 

Interval `logical OR` for checking interval intersection. e.g. if at least one endpoint is contained then there is intersection.

Overrides: int.__or__

__rand__(self, v)

source code 

y&x

Overrides: int.__rand__
(inherited documentation)

__repr__(self)
(Representation operator)

source code 

str(x)

Overrides: object.__repr__
(inherited documentation)

__ror__(self, v)

source code 

y|x

Overrides: int.__ror__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)