|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--drasys.or.linear.algebra.QRIteration
A singular value decomposition implementation using QR iteration.
References:
Linear Algebra and Its Applications
Gilbert Strang / Hardcover / Published 1988
Matrix Computations (Johns Hopkins Studies in the Mathematical Sciences)
Gene H. Golub, Charles F. Van Loan (Contributor) / Paperback / Published 1996
Numerical Recipes in C : The Art of Scientific Computing
William H. Press, et al / Hardcover / Published 1993
Parallel Algorithms for Matrix Computations
K.A. Gallivan / Paperback / Published 1990
Constructor Summary | |
QRIteration()
|
|
QRIteration(MatrixI matrix)
|
Method Summary | |
double |
computeConditionNumber()
Computes the condition number of the matrix. |
DenseMatrix |
computeInverse()
Computes the inverse of the decomposed matrix from the components. |
MatrixI |
computeInverse(MatrixI results)
Computes the inverse of the decomposed matrix from the components. |
void |
decompose(int rows,
int columns,
double[][] u,
double[] w,
double[][] v,
double epsilon)
Decompose matrix A into U, W and V matrices. |
void |
decompose(MatrixI matrix)
Decompose matrix A into U, W and V matrices. |
DenseMatrix |
getU()
Get the U matrix. |
MatrixI |
getU(MatrixI results)
Get the U matrix. |
DenseMatrix |
getV()
Get the V matrix. |
MatrixI |
getV(MatrixI results)
Get the V matrix. |
SparseMatrix |
getW()
Get the W matrix. |
MatrixI |
getW(MatrixI results)
Get the W matrix. |
boolean |
isIllConditioned()
Returns true if the decomposed matrix is ill-conditioned. |
boolean |
isSingular()
Returns true if the decomposed matrix is singular. |
DenseVector |
solveEquations(VectorI rightHandSides)
Use backsubstitution to solve the simultaneous equations. |
VectorI |
solveEquations(VectorI rightHandSides,
VectorI results)
Use backsubstitution to solve the simultaneous equations. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public QRIteration()
public QRIteration(MatrixI matrix) throws AlgebraException
Method Detail |
public DenseMatrix getU()
public DenseMatrix getV()
public SparseMatrix getW()
public MatrixI getU(MatrixI results)
public MatrixI getV(MatrixI results)
public MatrixI getW(MatrixI results)
public void decompose(MatrixI matrix) throws AlgebraException
public void decompose(int rows, int columns, double[][] u, double[] w, double[][] v, double epsilon) throws AlgebraException
public DenseVector solveEquations(VectorI rightHandSides) throws AlgebraException
public VectorI solveEquations(VectorI rightHandSides, VectorI results) throws AlgebraException
public double computeConditionNumber()
public boolean isIllConditioned()
public boolean isSingular()
public DenseMatrix computeInverse() throws AlgebraException
public MatrixI computeInverse(MatrixI results) throws AlgebraException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |