My Project
|
#include <cf_map.h>
Public Member Functions | |
CFMap () | |
CFMap (const CanonicalForm &s) | |
CFMap (const Variable &v) | |
CFMap (const Variable &v, const CanonicalForm &s) | |
~CFMap () | |
CFMap (const CFList &L) | |
CFMap::CFMap ( const CFList & L ) More... | |
CFMap (const CFMap &m) | |
CFMap & | operator= (const CFMap &m) |
CFMap & CFMap::operator = ( const CFMap & m ) More... | |
void | newpair (const Variable &v, const CanonicalForm &s) |
void CFMap::newpair ( const Variable & v, const CanonicalForm & s ) More... | |
CanonicalForm | operator() (const CanonicalForm &f) const |
CanonicalForm CFMap::operator () ( const CanonicalForm & f ) const. More... | |
Private Attributes | |
MPList | P |
class CFMap
class CFMap - class to map canonical forms.
Use an object of class CFMap to insert 'values' into canonical form. Such a mapping is defined by a list of MapPairs (V -> S) describing which canonical form S to insert for variable V. Hereby, the substituted canonical forms are not subject to further substitutions.
P: list of MapPairs, sorted by level in descending order
|
inline |
|
inline |
CFMap::CFMap ( const CFList & L )
CFMap::CFMap() - construct a CFMap from a CFList.
Variable[i] will be mapped to CFList[i] under the resulting map.
void CFMap::newpair | ( | const Variable & | v, |
const CanonicalForm & | s | ||
) |
void CFMap::newpair ( const Variable & v, const CanonicalForm & s )
CFMap::newpair() - insert a MapPair into a CFMap.
Definition at line 120 of file cf_map.cc.
CanonicalForm CFMap::operator() | ( | const CanonicalForm & | f | ) | const |
CanonicalForm CFMap::operator () ( const CanonicalForm & f ) const.
CFMap::operator () - apply CO to f.
See subsrec() for more detailed information.
Definition at line 178 of file cf_map.cc.
CFMap & CFMap::operator = ( const CFMap & m )
CFMap::operator = - assignment operator.