|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Variable | |
|---|---|
| edu.cmu.relativelayout.equation | |
| edu.cmu.relativelayout.matrix | |
| Uses of Variable in edu.cmu.relativelayout.equation |
|---|
| Methods in edu.cmu.relativelayout.equation that return Variable | |
|---|---|
static Variable |
Variable.get(String name)
Returns a Variable initialized with the given name, creating it if it does not already exist. |
| Methods in edu.cmu.relativelayout.equation that return types with arguments of type Variable | |
|---|---|
List<Variable> |
Equation.getVariables()
Returns a list of all the variables used in this equation. |
| Methods in edu.cmu.relativelayout.equation with parameters of type Variable | |
|---|---|
double |
Equation.getCoefficient(Variable v)
Gets the coefficient of the variable specified in the parameter. |
| Uses of Variable in edu.cmu.relativelayout.matrix |
|---|
| Methods in edu.cmu.relativelayout.matrix that return types with arguments of type Variable | |
|---|---|
Map<Variable,Double> |
RelativeMatrix.solve()
Solves this matrix and returns a map containing keys for every variable that has been added to the matrix whose values are the solutions for those variables. |
| Methods in edu.cmu.relativelayout.matrix with parameters of type Variable | |
|---|---|
void |
RelativeMatrix.addEquation(Variable variable,
Equation equation)
Adds the given Equation to the matrix with the given Variable as its primary variable. |
void |
RelativeMatrix.removeEquation(Variable variable)
Removes the Equation whose primary Variable is the given variable from the matrix. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||