Class EigenProperty
- java.lang.Object
-
- dev.nm.algebra.linear.matrix.doubles.factorization.eigen.EigenProperty
-
public class EigenProperty extends Object
EigenPropertyis a read-only structure that contains the information about a particular eigenvalue, such as its multiplicity and eigenvectors.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intalgebraicMultiplicity()Get the multiplicity of the eigenvalue (a root) of the characteristic polynomial.List<Vector>eigenbasis()Get the eigenvectors.Numbereigenvalue()Get the eigenvalue.VectoreigenVector()Get an eigenvector.intgeometricMultiplicity()Get the dimension of the vector space spanned by the eigenvectors.
-
-
-
Method Detail
-
eigenvalue
public Number eigenvalue()
Get the eigenvalue.- Returns:
- the eigenvalue
-
algebraicMultiplicity
public int algebraicMultiplicity()
Get the multiplicity of the eigenvalue (a root) of the characteristic polynomial.- Returns:
- the algebraic multiplicity
-
geometricMultiplicity
public int geometricMultiplicity()
Get the dimension of the vector space spanned by the eigenvectors.- Returns:
- the geometric multiplicity
-
eigenVector
public Vector eigenVector()
Get an eigenvector. Note that eigenvector is not unique. This implementation always returns the first vector in the basis. To get a complete set of the basis of the eigenvector space, useeigenbasis().- Returns:
- an eigenvector
-
-