Package PyDSTool :: Module parseUtils :: Class symbolMapClass
[hide private]
[frames] | no frames]

Class symbolMapClass

source code

object --+
         |
        symbolMapClass

Abstract class for hassle-free symbol re-mappings.

Instance Methods [hide private]
 
__init__(self, symbolMap=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
__call__(self, arg) source code
 
__eq__(self, other) source code
 
__neq__(self, other) source code
 
__copy__(self) source code
 
__setitem__(self, symbol, mappedsymbol) source code
 
__getitem__(self, symbol) source code
 
__delitem__(self, symbol) source code
 
__contains__(self, symbol) source code
 
keys(self) source code
 
values(self) source code
 
items(self) source code
 
iterkeys(self) source code
 
itervalues(self) source code
 
iteritems(self) source code
 
inverse(self) source code
 
update(self, amap) source code
 
reorder(self)
Return numpy array of indices that can be used to re-order a list of values that have been sorted by this symbol map object, so that the list becomes ordered according to the alphabetical order of the map's keys.
source code
 
__len__(self) source code
 
copy(self) source code
 
__repr__(self)
str(x)
source code
 
__str__(self)
str(x)
source code
 
has_key(self, k) source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, symbolMap=None)
(Constructor)

source code 

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

Overrides: object.__init__
(inherited documentation)

__repr__(self)
(Representation operator)

source code 

str(x)

Overrides: object.__repr__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)