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, waitsolveEqnpublic void setMatrixDirty()
ISparseEqnSolversetMatrixDirty in interface ISparseEqnSolverpublic double[] solveEqn(double[] b)
throws IpssNumericException
ISparseEqnSolversolveEqn in interface ISparseEqnSolverb - the B vectorIpssNumericExceptionpublic boolean factorization()
throws IpssNumericException
ISparseEqnSolverfactorization in interface ISparseEqnSolverIpssNumericExceptionpublic boolean factorization(double tolerance)
throws IpssNumericException
ISparseEqnSolverfactorization in interface ISparseEqnSolvertolerance - the tolerance for matrix singular detectionIpssNumericException