Catalano.Math.Decompositions
Class EigenvalueDecomposition
- java.lang.Object
-
- Catalano.Math.Decompositions.EigenvalueDecomposition
-
- All Implemented Interfaces:
- java.io.Serializable
public class EigenvalueDecomposition extends java.lang.Object implements java.io.Serializable- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description EigenvalueDecomposition(double[][] matrix)Initializes a new instance of the EigenvalueDecomposition class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description double[][]getD()Return the block diagonal eigenvalue matrixdouble[]getImagEigenvalues()Return the imaginary parts of the eigenvaluesdouble[]getRealEigenvalues()Return the real parts of the eigenvaluesdouble[][]getV()Return the eigenvector matrix
-
-
-
Constructor Detail
-
EigenvalueDecomposition
public EigenvalueDecomposition(double[][] matrix)
Initializes a new instance of the EigenvalueDecomposition class. Check for symmetry, then construct the eigenvalue decomposition- Parameters:
matrix- Square matrix.
-
-
Method Detail
-
getV
public double[][] getV()
Return the eigenvector matrix- Returns:
- V
-
getRealEigenvalues
public double[] getRealEigenvalues()
Return the real parts of the eigenvalues- Returns:
- real(diag(D))
-
getImagEigenvalues
public double[] getImagEigenvalues()
Return the imaginary parts of the eigenvalues- Returns:
- imag(diag(D))
-
getD
public double[][] getD()
Return the block diagonal eigenvalue matrix- Returns:
- D
-
-
DataMelt 3.0 © DataMelt by jWork.ORG