mathmaker  0.6(alpha)
Public Member Functions | Properties
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 get_elements
 Returns the elements of the Equality.
def get_equal_signs
 Returns the equal signs series of the Equality.
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.

Properties

 elements = property(get_elements, doc = "Elements of the object")
 equal_signs = property(get_equal_signs, doc = "Equal signs of the object")

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.calculus.Equality._elements, core.calculus.Equality._equal_signs, and core.base.Clonable.clone().

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 370 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: