mathmaker
0.4(alpha)
|
One degree one variable. More...
Public Member Functions | |
def | __init__ |
Constructor. | |
def | set_hand_side |
Setter for hand sides. | |
def | dbg_str |
Raw display of the Equation (debugging method) | |
def | solve_next_step |
Creates the next Equation object in the resolution. | |
def | into_str |
Creates a string of the given object in the given ML. | |
def | auto_resolution |
Creates a string of the equation's resolution in the given ML. | |
Public Attributes | |
number | |
left_hand_side | |
right_hand_side | |
variable_letter |
One degree one variable.
Sum=Sum. Name, number, left/right hand side.
Definition at line 409 of file calculus.py.
def core.calculus.Equation.__init__ | ( | self, | |
arg, | |||
options | |||
) |
Constructor.
arg | Equation|(Exponented, Exponented)|(RANDOMLY, ...) |SubstitutableEquality |
Definition at line 422 of file calculus.py.
References core.base.NamedObject.__init__(), core.base_geometry.Point.__init__(), core.base_calculus.Item.__init__(), core.calculus.ComposedCalculable.__init__(), core.calculus.Expression.__init__(), core.calculus.Equality.__init__(), core.base_geometry.Segment.__init__(), core.calculus.Equation.__init__(), core.base_geometry.Ray.__init__(), core.base_geometry.Angle.__init__(), core.base_calculus.Function.__init__(), core.base_calculus.SquareRoot.__init__(), core.base_calculus.Operation.__init__(), core.base_calculus.Quotient.__init__(), core.base_calculus.Fraction.__init__(), core.base_calculus.CommutativeOperation.__init__(), core.base_calculus.Product.__init__(), core.base_calculus.Sum.__init__(), core.base_calculus.Monomial.__init__(), core.base_calculus.Polynomial.__init__(), core.base_calculus.Expandable.__init__(), core.base_calculus.BinomialIdentity.__init__(), core.base_geometry.Point._name, core.base.NamedObject._name, core.calculus.Expression._name, core.calculus.Equation._name, core.base_geometry.Ray._name, core.base_geometry.Angle._name, core.base_calculus.Function._name, core.calculus.Equation.dbg_str(), core.calculus.Equation.left_hand_side, core.calculus.Equation.number, core.calculus.Expression.right_hand_side, core.calculus.Equation.right_hand_side, and core.calculus.Equation.variable_letter.
Referenced by core.calculus.Equation.__init__(), and core.root_calculus.Value.substitute().
def core.calculus.Equation.auto_resolution | ( | self, | |
options | |||
) |
Creates a string of the equation's resolution in the given ML.
options | Any options |
Definition at line 1516 of file calculus.py.
References core.base.NamedObject.name, core.base_geometry.Point.name, core.base_geometry.Segment.name, core.base_geometry.Angle.name, and core.calculus.Equation.number.
def core.calculus.Equation.dbg_str | ( | self | ) |
Raw display of the Equation (debugging method)
Definition at line 986 of file calculus.py.
References core.base.NamedObject.name, core.base_geometry.Point.name, core.base_geometry.Segment.name, core.base_geometry.Angle.name, core.calculus.Equation.number, and core.calculus.Equation.variable_letter.
Referenced by core.calculus.Equation.__init__(), core.base_calculus.Product.expand_and_reduce_next_step(), core.base_calculus.Sum.expand_and_reduce_next_step(), core.base_calculus.Product.get_factors_list(), core.base_calculus.Product.get_factors_list_except(), core.base_calculus.Product.into_str(), core.base_calculus.Product.reduce_(), core.base_calculus.Sum.reduce_(), core.root_calculus.Signed.set_opposite_sign(), core.root_calculus.Value.set_opposite_sign(), and core.calculus.Equation.solve_next_step().
def core.calculus.Equation.into_str | ( | self, | |
options | |||
) |
Creates a string of the given object in the given ML.
options | Any options |
Reimplemented from core.base.Printable.
Definition at line 1469 of file calculus.py.
References core.base.NamedObject.name, core.base_geometry.Point.name, core.base_geometry.Segment.name, core.base_geometry.Angle.name, and core.calculus.Equation.number.
def core.calculus.Equation.set_hand_side | ( | self, | |
left_or_right, | |||
arg | |||
) |
Setter for hand sides.
Definition at line 953 of file calculus.py.
References core.calculus.Equation.left_hand_side, core.calculus.Expression.right_hand_side, and core.calculus.Equation.right_hand_side.
def core.calculus.Equation.solve_next_step | ( | self, | |
options | |||
) |
Creates the next Equation object in the resolution.
Expandables (which have to get checked first, btw) !
check the case -x = -7 where the - belongs to the Item's value
Reimplemented in core.calculus.CrossProductEquation.
Definition at line 1003 of file calculus.py.
References core.base_calculus.Item.dbg_str(), core.calculus.Equation.dbg_str(), core.base_calculus.SquareRoot.dbg_str(), core.base_calculus.Quotient.dbg_str(), core.base_calculus.Fraction.dbg_str(), core.base_calculus.CommutativeOperation.dbg_str(), core.base_calculus.Monomial.dbg_str(), and core.base_calculus.Polynomial.dbg_str().