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, wait
applicableTo, solve
protected Matrix a
protected int unknowns
protected int equations
protected AbstractSolver(Matrix a)
public Matrix self()
LinearSystemSolver
self
in interface LinearSystemSolver
public int unknowns()
LinearSystemSolver
unknowns
in interface LinearSystemSolver
public int equations()
LinearSystemSolver
equations
in interface LinearSystemSolver
protected void ensureRHSIsCorrect(Vector vector)
protected void fail(String message)
Copyright © 2015. All rights reserved.