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

Class Equation

Represent a single linear equation as a list of variable names, a list of coefficients, and a constant. Assume the coeff * var terms are on the left of the equality and the constant is on the right.

Instance Methods
 
__init__(self, coeffs, variableNames, constant)
 
__str__(self)
 
__repr__(self)
Instance Variables
  variableNames
List of variable names
  coeffs
List of coefficients in the same order as the variable names
  constant
Constant (right hand side)