Package gromacs :: Module formats :: Class IndexSet
[hide private]
[frames] | no frames]

Class IndexSet

source code

object --+    
         |    
       set --+
             |
            IndexSet

set which defines '+' as union (OR) and '-' as intersection (AND).
Instance Methods [hide private]
 
__add__(self, x) source code
 
__sub__(self, x)
x-y
source code

Inherited from set: __and__, __cmp__, __contains__, __eq__, __ge__, __getattribute__, __gt__, __hash__, __iand__, __init__, __ior__, __isub__, __iter__, __ixor__, __le__, __len__, __lt__, __ne__, __new__, __or__, __rand__, __reduce__, __repr__, __ror__, __rsub__, __rxor__, __xor__, add, clear, copy, difference, difference_update, discard, intersection, intersection_update, issubset, issuperset, pop, remove, symmetric_difference, symmetric_difference_update, union, update

Inherited from object: __delattr__, __reduce_ex__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__sub__(self, x)
(Subtraction operator)

source code 

x-y

Overrides: set.__sub__
(inherited documentation)