mikera.matrixx.decompose.impl.eigen
Class EigenResult
- java.lang.Object
-
- mikera.matrixx.decompose.impl.eigen.EigenResult
-
- All Implemented Interfaces:
- IEigenResult
public class EigenResult extends java.lang.Object implements IEigenResult
-
-
Constructor Summary
Constructors Constructor and Description EigenResult(Vector2[] eigenValues)EigenResult(Vector2[] eigenValues, AVector[] eigenVectors)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description Vector2[]getEigenvalues()Returns an array of eigenvalue as complex numbers.AVector[]getEigenVectors()Used to retrieve an array real valued eigenvectors.
-
-
-
Constructor Detail
-
EigenResult
public EigenResult(Vector2[] eigenValues)
-
-
Method Detail
-
getEigenvalues
public Vector2[] getEigenvalues()
Description copied from interface:IEigenResultReturns an array of eigenvalue as complex numbers. For symmetric matrices the returned eigenvalues will always be real numbers, which means the imaginary components will be equal to zero.
- Specified by:
getEigenvaluesin interfaceIEigenResult- Returns:
- An array of eigenvalues.
-
getEigenVectors
public AVector[] getEigenVectors()
Description copied from interface:IEigenResultUsed to retrieve an array real valued eigenvectors.
- Specified by:
getEigenVectorsin interfaceIEigenResult- Returns:
- If the associated eigenvalue is real then an eigenvector is returned, null otherwise.
-
-
DMelt 3.0 © DataMelt by jWork.ORG