mathmaker  0.6(alpha)
Public Member Functions | Properties
core.calculus.SubstitutableEquality Class Reference

Like an Equality with literals and the numeric values to replace them. More...

Inheritance diagram for core.calculus.SubstitutableEquality:
core.calculus.Equality core.calculus.ComposedCalculable core.base.Printable core.base.NamedObject core.base.Clonable

List of all members.

Public Member Functions

def __init__
 Constructor.
def get_subst_dict
 Getter for the substitution dictionnary.
def substitute
 Executes the substitution of the literal Values by the numeric.

Properties

 subst_dict

Detailed Description

Like an Equality with literals and the numeric values to replace them.

Definition at line 1792 of file calculus.py.


Constructor & Destructor Documentation

def core.calculus.SubstitutableEquality.__init__ (   self,
  objcts,
  subst_dict,
  options 
)

Constructor.

Warning:
Might raise an UncompatibleType exception.
Parameters:
objctsis a [Exponented] of 2 elements at least
subst_dictis a {literal Value: numeric Value} equal_signs Contains a list of equal/not equal signs. Must be as long as len(objcts) - 1. The signs are "=" or "neq"
Returns:
One instance of SubstitutableEquality

Definition at line 1807 of file calculus.py.

References core.calculus.SubstitutableEquality._subst_dict.

Referenced by core.root_calculus.Value.substitute().


Property Documentation

core::calculus.SubstitutableEquality::subst_dict [static]
Initial value:
property(get_subst_dict,
                doc = "Substitution dictionnary of the SubstitutableEquality")

Definition at line 1842 of file calculus.py.

Referenced by core.calculus.SubstitutableEquality.substitute().


The documentation for this class was generated from the following file: