|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.commons.math.linear.EigenDecompositionImpl.Solver
private static class EigenDecompositionImpl.Solver
Specialized solver.
| Field Summary | |
|---|---|
private ArrayRealVector[] |
eigenvectors
Eigenvectors. |
private double[] |
imagEigenvalues
Imaginary part of the realEigenvalues. |
private double[] |
realEigenvalues
Real part of the realEigenvalues. |
| Constructor Summary | |
|---|---|
private |
EigenDecompositionImpl.Solver(double[] realEigenvalues,
double[] imagEigenvalues,
ArrayRealVector[] eigenvectors)
Build a solver from decomposed matrix. |
| Method Summary | |
|---|---|
RealMatrix |
getInverse()
Get the inverse of the decomposed matrix. |
boolean |
isNonSingular()
Check if the decomposed matrix is non-singular. |
double[] |
solve(double[] b)
Solve the linear equation A × X = B for symmetric matrices A. |
RealMatrix |
solve(RealMatrix b)
Solve the linear equation A × X = B for symmetric matrices A. |
RealVector |
solve(RealVector b)
Solve the linear equation A × X = B for symmetric matrices A. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private double[] realEigenvalues
private double[] imagEigenvalues
private final ArrayRealVector[] eigenvectors
| Constructor Detail |
|---|
private EigenDecompositionImpl.Solver(double[] realEigenvalues,
double[] imagEigenvalues,
ArrayRealVector[] eigenvectors)
realEigenvalues - real parts of the eigenvaluesimagEigenvalues - imaginary parts of the eigenvalueseigenvectors - eigenvectors| Method Detail |
|---|
public double[] solve(double[] b)
throws java.lang.IllegalArgumentException,
InvalidMatrixException
This method only find exact linear solutions, i.e. solutions for which ||A × X - B|| is exactly 0.
solve in interface DecompositionSolverb - right-hand side of the equation A × X = B
java.lang.IllegalArgumentException - if matrices dimensions don't match
InvalidMatrixException - if decomposed matrix is singular
public RealVector solve(RealVector b)
throws java.lang.IllegalArgumentException,
InvalidMatrixException
This method only find exact linear solutions, i.e. solutions for which ||A × X - B|| is exactly 0.
solve in interface DecompositionSolverb - right-hand side of the equation A × X = B
java.lang.IllegalArgumentException - if matrices dimensions don't match
InvalidMatrixException - if decomposed matrix is singular
public RealMatrix solve(RealMatrix b)
throws java.lang.IllegalArgumentException,
InvalidMatrixException
This method only find exact linear solutions, i.e. solutions for which ||A × X - B|| is exactly 0.
solve in interface DecompositionSolverb - right-hand side of the equation A × X = B
java.lang.IllegalArgumentException - if matrices dimensions don't match
InvalidMatrixException - if decomposed matrix is singularpublic boolean isNonSingular()
isNonSingular in interface DecompositionSolver
public RealMatrix getInverse()
throws InvalidMatrixException
getInverse in interface DecompositionSolverInvalidMatrixException - if decomposed matrix is singular
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||