mathmaker  0.4(alpha)
Public Member Functions | Public Attributes
core.calculus.Equality Class Reference

These are object of the kind : Exponented = Exponented [= ...]. More...

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

List of all members.

Public Member Functions

def __init__
 Constructor.
def into_str
 Creates a string of the given object in the given ML.
def __getitem__
 It is possible to index an Equality.
def __setitem__
def __len__
 Returns the number of elements of the Equality.

Public Attributes

 elements
 equal_signs

Detailed Description

These are object of the kind : Exponented = Exponented [= ...].

Definition at line 265 of file calculus.py.


Constructor & Destructor Documentation

def core.calculus.Equality.__init__ (   self,
  objcts,
  options 
)

Constructor.

Warning:
Might raise an UncompatibleType exception.
Parameters:
objctsis a [Exponented] of 2 elements at least 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 Equality

Definition at line 279 of file calculus.py.

References core.base.Clonable.clone(), core.calculus.Equality.elements, and core.calculus.Equality.equal_signs.

Referenced by core.calculus.Equation.__init__(), and core.root_calculus.Value.substitute().


Member Function Documentation

def core.calculus.Equality.into_str (   self,
  options 
)

Creates a string of the given object in the given ML.

Parameters:
optionsAny options
Returns:
The formated string

Reimplemented from core.base.Printable.

Definition at line 342 of file calculus.py.

References core.calculus.Equality.elements, and core.calculus.Equality.equal_signs.


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