public class ComplexEigenDecomposition extends Object
Constructor and Description |
---|
ComplexEigenDecomposition(RealMatrix matrix)
Constructor for decomposition.
|
Modifier and Type | Method and Description |
---|---|
protected void |
checkDefinition(RealMatrix matrix)
Check definition of the decomposition in runtime.
|
protected void |
findEigenValues(RealMatrix matrix)
Compute eigen values using the Schur transform.
|
protected void |
findEigenVectors(FieldMatrix<Complex> matrix)
Compute the eigen vectors using the inverse power method.
|
FieldMatrix<Complex> |
getD()
Getter D.
|
double |
getDeterminant()
Computes the determinant.
|
Complex[] |
getEigenvalues()
Getter of the eigen values.
|
FieldVector<Complex> |
getEigenvector(int i)
Getter of the eigen vectors.
|
FieldMatrix<Complex> |
getV()
Getter V.
|
FieldMatrix<Complex> |
getVT()
Getter VT.
|
boolean |
hasComplexEigenvalues()
Confirm if there are complex eigen values.
|
public ComplexEigenDecomposition(RealMatrix matrix)
matrix
- real matrix.public Complex[] getEigenvalues()
public FieldVector<Complex> getEigenvector(int i)
i
- which eigen vector.public boolean hasComplexEigenvalues()
public double getDeterminant()
public FieldMatrix<Complex> getV()
public FieldMatrix<Complex> getD()
public FieldMatrix<Complex> getVT()
protected void findEigenValues(RealMatrix matrix)
matrix
- real matrix to compute eigen values.protected void findEigenVectors(FieldMatrix<Complex> matrix)
matrix
- real matrix to compute eigen vectors.protected void checkDefinition(RealMatrix matrix)
matrix
- matrix to be decomposed.Copyright © 2016–2020 Hipparchus.org. All rights reserved.