public class CSJLeastSquareDoubleSolver extends BaseCSJEqnDoubleSolver
| Modifier and Type | Field and Description |
|---|---|
protected edu.emory.mathcs.csparsej.tdouble.Dcs_common.Dcsn |
numericTable |
protected int |
order |
protected edu.emory.mathcs.csparsej.tdouble.Dcs_common.Dcss |
symbolTable |
protected boolean |
weightedLS |
aMatrix, eqnCSJ_Order, CSJ_Tolfactored| Constructor and Description |
|---|
CSJLeastSquareDoubleSolver(ISparseEqnDouble eqn,
int order) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
factorization()
QR factorization of the [A] matrix.
|
void |
solveEqn()
Solve the [A]X = B problem
|
double[] |
solveEqn(double[] b)
Solve the [A]X = B problem, assume that [A] is factorized
|
buildAMatrixsolveEqnfactorization, setMatrixDirtyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfactorization, setMatrixDirtyprotected boolean weightedLS
protected int order
protected edu.emory.mathcs.csparsej.tdouble.Dcs_common.Dcss symbolTable
protected edu.emory.mathcs.csparsej.tdouble.Dcs_common.Dcsn numericTable
public CSJLeastSquareDoubleSolver(ISparseEqnDouble eqn, int order)
public void solveEqn()
throws IpssNumericException
IpssNumericExceptionpublic double[] solveEqn(double[] b)
throws IpssNumericException
solveEqn in interface ISparseEqnSolversolveEqn in class BaseSparseEqnSolverb - the b vectorIpssNumericExceptionpublic boolean factorization()
throws IpssNumericException
factorization in interface ISparseEqnSolverfactorization in class BaseSparseEqnSolvertolerance - the tolerance for matrix singular detection, not used for this
implementationIpssNumericException