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

Class Solution

Solution to a set of linear equations

Instance Methods
 
__init__(self, n2i, values)
 
translate(self, name)
Returns: the value of variable name in the solution
 
__str__(self)
 
__repr__(self)
Instance Variables
  n2i
Mapping from variable names to indices, an instance of the NameToIndex class
  values
List of values of the variables, in order of their indices
Method Details

translate(self, name)

 
Returns:
the value of variable name in the solution