Package rdkit :: Package DataStructs :: Module BitVect :: Class SparseBitVect

[hide private]
[frames] | no frames]

# Class SparseBitVect

source code

    BitVect --+
              |
             SparseBitVect

Instance Methods | [hide private]

__init__(self, nBits) | source code

NumOnBits(self) | source code

GetOnBits(self, sort=1, reverse=0) | source code

__getitem__(self, which) | source code

__setitem__(self, which, val) | source code

__len__(self) | source code

Inherited from `BitVect`: `EuclideanDistance`, `TanimotoSimilarity`, `__and__`, `__invert__`, `__or__`, `__xor__`

Method Details | [hide private]

### __init__(self, nBits)
(Constructor)

source code

Overrides: BitVect.__init__

### NumOnBits(self)

source code

Overrides: BitVect.NumOnBits

### GetOnBits(self, sort=1, reverse=0)

source code

Overrides: BitVect.GetOnBits

### __getitem__(self, which)
(Indexing operator)

source code

Overrides: BitVect.__getitem__

### __setitem__(self, which, val)
(Index assignment operator)

source code

Overrides: BitVect.__setitem__

### __len__(self)
(Length operator)

source code

Overrides: BitVect.__len__