|
__init__(self,
args=None,
pads=None,
autostep=None,
copy_rangeset=True)
RangeSetND initializer |
source code
|
|
|
copy(*args,
**kwargs)
Return a new, mutable shallow copy of a RangeSetND. |
source code
|
|
|
|
|
__eq__(self,
other)
RangeSetND equality comparison. |
source code
|
|
|
|
|
__len__(self)
Count unique elements in N-dimensional rangeset. |
source code
|
|
|
|
|
|
|
_iter(self)
Iterate through individual items as tuples. |
source code
|
|
|
|
|
|
|
_set_veclist(self,
val)
Set veclist and set dirty flag for deferred folding. |
source code
|
|
|
vectors(self)
Get underlying :class:`RangeSet` vectors |
source code
|
|
|
dim(self)
Get the current number of dimensions of this RangeSetND object. |
source code
|
|
|
pads(self)
Get a tuple of padding length info for each dimension. |
source code
|
|
|
get_autostep(self)
Get autostep value (property) |
source code
|
|
|
set_autostep(self,
val)
Set autostep value (property) |
source code
|
|
|
|
|
|
|
|
|
issubset(self,
other)
Report whether another set contains this RangeSetND. |
source code
|
|
|
|
|
__le__(self,
other)
Report whether another set contains this RangeSetND. |
source code
|
|
|
__ge__(*args,
**kwargs)
Report whether this RangeSetND contains another RangeSetND. |
source code
|
|
|
|
|
|
|
_binary_sanity_check(self,
other)
Check that the other argument to a binary operation is also a
RangeSetND, raising a TypeError otherwise. |
source code
|
|
|
|
|
|
|
_fold(self)
In-place N-dimensional folding. |
source code
|
|
|
|
|
_fold_multivariate(self)
Multivariate nD folding |
source code
|
|
|
_fold_multivariate_expand(self)
Multivariate nD folding: expand [phase 1] |
source code
|
|
|
_fold_multivariate_merge(self)
Multivariate nD folding: merge [phase 2] |
source code
|
|
|
__or__(self,
other)
Return the union of two RangeSetNDs as a new RangeSetND. |
source code
|
|
|
union(self,
other)
Return the union of two RangeSetNDs as a new RangeSetND. |
source code
|
|
|
update(self,
other)
Add all RangeSetND elements to this RangeSetND. |
source code
|
|
|
union_update(self,
other)
Add all RangeSetND elements to this RangeSetND. |
source code
|
|
|
__ior__(self,
other)
Update a RangeSetND with the union of itself and another. |
source code
|
|
|
__isub__(self,
other)
Remove all elements of another set from this RangeSetND. |
source code
|
|
|
|
|
__sub__(self,
other)
Return the difference of two RangeSetNDs as a new RangeSetND. |
source code
|
|
|
difference(self,
other)
``s.difference(t)`` returns a new object with elements in s but not
in t. |
source code
|
|
|
intersection(self,
other)
``s.intersection(t)`` returns a new object with elements common to s
and t. |
source code
|
|
|
|
|
intersection_update(self,
other)
``s.intersection_update(t)`` returns nodeset s keeping only elements
also found in t. |
source code
|
|
|
|
|
|
|
|
|
symmetric_difference_update(self,
other)
``s.symmetric_difference_update(t)`` returns RangeSetND s keeping all
nodes that are in exactly one of the objects. |
source code
|
|
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__subclasshook__
|