public abstract class AbstractSolver extends Object implements LinearSystemSolver
| Modifier and Type | Field and Description |
|---|---|
protected Matrix |
a |
protected int |
equations |
protected int |
unknowns |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractSolver(Matrix a) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
ensureRHSIsCorrect(Vector vector) |
int |
equations()
Returns the number of equations in this solver.
|
protected void |
fail(String message) |
Matrix |
self()
Returns the self matrix of the solver.
|
int |
unknowns()
Returns the number os unknowns in this solver.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapplicableTo, solveprotected Matrix a
protected int unknowns
protected int equations
protected AbstractSolver(Matrix a)
public Matrix self()
LinearSystemSolverself in interface LinearSystemSolverpublic int unknowns()
LinearSystemSolverunknowns in interface LinearSystemSolverpublic int equations()
LinearSystemSolverequations in interface LinearSystemSolverprotected void ensureRHSIsCorrect(Vector vector)
protected void fail(String message)
Copyright © 2015. All rights reserved.