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, eqn
CSJ_Order, CSJ_Tol
factored
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
|
buildAMatrix
solveEqn
factorization, setMatrixDirty
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
factorization, setMatrixDirty
protected 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
IpssNumericException
public double[] solveEqn(double[] b) throws IpssNumericException
solveEqn
in interface ISparseEqnSolver
solveEqn
in class BaseSparseEqnSolver
b
- the b vectorIpssNumericException
public boolean factorization() throws IpssNumericException
factorization
in interface ISparseEqnSolver
factorization
in class BaseSparseEqnSolver
tolerance
- the tolerance for matrix singular detection, not used for this
implementationIpssNumericException