Package org.hipparchus.linear
Class OrderedEigenDecomposition
- java.lang.Object
-
- org.hipparchus.linear.EigenDecomposition
-
- org.hipparchus.linear.OrderedEigenDecomposition
-
public class OrderedEigenDecomposition extends EigenDecomposition
Given a matrix A, it computes an eigen decomposition A = VDV^{T}. It also ensures that eigen values in the diagonal of D are in ascending order.
-
-
Constructor Summary
Constructors Constructor Description OrderedEigenDecomposition(RealMatrix matrix)
Constructor using the EigenDecomposition as starting point for ordering.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RealMatrix
getVT()
Gets the transpose of the matrix V of the decomposition.-
Methods inherited from class org.hipparchus.linear.EigenDecomposition
getD, getDeterminant, getEigenvector, getImagEigenvalue, getImagEigenvalues, getRealEigenvalue, getRealEigenvalues, getSolver, getSquareRoot, getV, hasComplexEigenvalues
-
-
-
-
Constructor Detail
-
OrderedEigenDecomposition
public OrderedEigenDecomposition(RealMatrix matrix)
Constructor using the EigenDecomposition as starting point for ordering.- Parameters:
matrix
- matrix to decompose
-
-
Method Detail
-
getVT
public RealMatrix getVT()
Gets the transpose of the matrix V of the decomposition. V is an orthogonal matrix, i.e. its transpose is also its inverse. The columns of V are the eigenvectors of the original matrix. No assumption is made about the orientation of the system axes formed by the columns of V (e.g. in a 3-dimension space, V can form a left- or right-handed system).- Overrides:
getVT
in classEigenDecomposition
- Returns:
- the transpose of the V matrix.
-
-