Class Eigen
- java.lang.Object
-
- mikera.matrixx.decompose.Eigen
-
public class Eigen extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor and Description Eigen()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static IEigenResultdecompose(AMatrix A)Computes the eigenvalues and eigenvectors of a matrix.static IEigenResultdecompose(AMatrix A, boolean computeVectors)Computes the eigenvalues and eigenvectors of a matrix.static IEigenResultdecomposeSymmetric(AMatrix A)Computes the eigenvalues and eigenvectors of a real symmetric matrix.static IEigenResultdecomposeSymmetric(AMatrix A, boolean computeVectors)Computes the eigenvalues and eigenvectors of a real symmetric matrix.
-
-
-
Method Detail
-
decompose
public static IEigenResult decompose(AMatrix A, boolean computeVectors)
Computes the eigenvalues and eigenvectors of a matrix. Returns an object that represents the solution of the decomposition. Returns null if the decomposition fails.
- Parameters:
A- The input matrix. It must be a square symmetric matrix.computeVectors- Should it compute the eigenvectors or just eigenvalues.- Returns:
- an IEigenResult object that represents the solution to the decomposition.
-
decompose
public static IEigenResult decompose(AMatrix A)
Computes the eigenvalues and eigenvectors of a matrix. Returns an object that represents the solution of the decomposition. Returns null if the decomposition fails.
- Parameters:
A- The input matrix. It must be a square symmetric matrix.- Returns:
- an IEigenResult object that represents the solution to the decomposition.
-
decomposeSymmetric
public static IEigenResult decomposeSymmetric(AMatrix A, boolean computeVectors)
Computes the eigenvalues and eigenvectors of a real symmetric matrix. Returns an object that represents the solution of the decomposition. Returns null if the decomposition fails.
- Parameters:
A- The input matrix. It must be a square symmetric matrix.computeVectors- Should it compute the eigenvectors or just eigenvalues.- Returns:
- an IEigenResult object that represents the solution to the decomposition.
-
decomposeSymmetric
public static IEigenResult decomposeSymmetric(AMatrix A)
Computes the eigenvalues and eigenvectors of a real symmetric matrix. Returns an object that represents the solution of the decomposition. Returns null if the decomposition fails.
- Parameters:
A- The input matrix. It must be a square symmetric matrix.- Returns:
- an IEigenResult object that represents the solution to the decomposition.
-
-
DMelt 3.0 © DataMelt by jWork.ORG