|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsbrt.kernel.math.algebra.proc.LinearSolverProcess<V>
V
- the variable type.public class LinearSolverProcess<V>
This class is used to solve systems of linear equations.
Constructor Summary | |
---|---|
LinearSolverProcess()
|
Method Summary | |
---|---|
void |
run(ResultsManager<LinearSystemSolution<V>> resultsManager)
Solves the system of linear equations and adds the solution to the provided results manager. |
void |
setEquations(java.util.Map<LinearComb<V>,java.lang.Double> equations)
Sets the system of linear equations to be solver. |
void |
setSolver(LinearSystemSolver<V> solver)
Sets the linear system solver. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LinearSolverProcess()
Method Detail |
---|
public void setEquations(java.util.Map<LinearComb<V>,java.lang.Double> equations)
equations
- linear combinations mapped to a double. Each key-value
pair represents the left and right hand sides, respectively, of an equation.public void setSolver(LinearSystemSolver<V> solver)
solver
- the linear system solver.public void run(ResultsManager<LinearSystemSolution<V>> resultsManager)
run
in interface KernelProcess<LinearSystemSolution<V>>
resultsManager
- the results manager to which the solution is added.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |