public abstract class BaseSparseEqnSolver extends java.lang.Object implements ISparseEqnSolver
Modifier and Type | Field and Description |
---|---|
protected boolean |
factored |
Constructor and Description |
---|
BaseSparseEqnSolver() |
Modifier and Type | Method and Description |
---|---|
boolean |
factorization()
Matrix factorization, for example LU decomposition, of the matrix.
|
boolean |
factorization(double tolerance)
Matrix factorization, for example LU decomposition, of the matrix.
|
void |
setMatrixDirty()
set the A matrix dirty status to true, due to change of its
element
|
double[] |
solveEqn(double[] b)
Solve the [A]X = B problem, assume the [A] is LUed
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
solveEqn
public void setMatrixDirty()
ISparseEqnSolver
setMatrixDirty
in interface ISparseEqnSolver
public double[] solveEqn(double[] b) throws IpssNumericException
ISparseEqnSolver
solveEqn
in interface ISparseEqnSolver
b
- the B vectorIpssNumericException
public boolean factorization() throws IpssNumericException
ISparseEqnSolver
factorization
in interface ISparseEqnSolver
IpssNumericException
public boolean factorization(double tolerance) throws IpssNumericException
ISparseEqnSolver
factorization
in interface ISparseEqnSolver
tolerance
- the tolerance for matrix singular detectionIpssNumericException