mathmaker  0.4(alpha)
Public Member Functions | Properties
core.calculus.Expression Class Reference

These are object of the kind : Name = Exponented. More...

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

List of all members.

Public Member Functions

def __init__
 Constructor.
def get_right_hand_side
 Returns the right hand side of the Expression e.g.
def set_right_hand_side
 Sets the right hand side of the Expression.
def into_str
 Creates a string of the given object in the given ML.
def auto_expansion_and_reduction
 Create a string of the expression's exp.

Properties

 right_hand_side

Detailed Description

These are object of the kind : Name = Exponented.

Definition at line 126 of file calculus.py.


Constructor & Destructor Documentation

def core.calculus.Expression.__init__ (   self,
  integer_or_letter,
  objct 
)

Constructor.

Warning:
Might raise an UncompatibleType exception.
Parameters:
integer_or_letterA string or an integer
objctThe Exponented that will be at the right hand side
Returns:
One instance of Expression

Definition at line 139 of file calculus.py.

References core.base_geometry.Point._name, core.base.NamedObject._name, core.calculus.Expression._name, core.base_geometry.Ray._name, core.base_geometry.Angle._name, core.base_calculus.Function._name, and core.calculus.Expression._right_hand_side.

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


Member Function Documentation

Create a string of the expression's exp.

& red. in the given ML

Parameters:
optionsAny options
Returns:
The formated string of the expression's resolution

Definition at line 231 of file calculus.py.

References core.calculus.Expression.into_str(), core.base.NamedObject.name, core.base_geometry.Point.name, core.base_geometry.Segment.name, core.base_geometry.Angle.name, and core.calculus.Expression.right_hand_side.

Returns the right hand side of the Expression e.g.

the Expression in itself

Definition at line 161 of file calculus.py.

References core.calculus.Expression._right_hand_side.

def core.calculus.Expression.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 193 of file calculus.py.

References core.base.NamedObject.name, core.base_geometry.Point.name, core.base_geometry.Segment.name, and core.base_geometry.Angle.name.

Referenced by core.calculus.Expression.auto_expansion_and_reduction().


Property Documentation

core::calculus.Expression::right_hand_side [static]

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