Module le :: Class EquationSet
[frames] | no frames]

Class EquationSet

Represent a set of linear equations

Instance Methods
 
__init__(self)
 
addEquation(self, eqn)
 
addEquations(self, eqns)
 
solve(self)
Returns: an instance of Solution
 
__str__(self)
 
__repr__(self)
Instance Variables
  equations
List of instances of Equation.
Method Details

addEquation(self, eqn)

 
Parameters:
  • eqn - instance of Equation Adds it to the set

addEquations(self, eqns)

 
Parameters:
  • eqns - list of instances of Equation Adds them to the set

solve(self)

 
Returns:
an instance of Solution