public class Eigen extends java.lang.Object
Eigenvalue and Eigenvector related functions.
Methods exist for working with symmetric matrices or general eigenvalues. The symmetric versions are usually much faster on symmetric matrices.
Constructor and Description |
---|
Eigen() |
Modifier and Type | Method and Description |
---|---|
static ComplexDoubleMatrix |
eigenvalues(DoubleMatrix A)
Computes the eigenvalues of a general matrix.
|
static ComplexFloatMatrix |
eigenvalues(FloatMatrix A)
Computes the eigenvalues of a general matrix.
|
static ComplexDoubleMatrix[] |
eigenvectors(DoubleMatrix A)
Computes the eigenvalues and eigenvectors of a general matrix.
|
static ComplexFloatMatrix[] |
eigenvectors(FloatMatrix A)
Computes the eigenvalues and eigenvectors of a general matrix.
|
static DoubleMatrix |
symmetricEigenvalues(DoubleMatrix A)
Compute the eigenvalues for a symmetric matrix.
|
static FloatMatrix |
symmetricEigenvalues(FloatMatrix A)
Compute the eigenvalues for a symmetric matrix.
|
static DoubleMatrix[] |
symmetricEigenvectors(DoubleMatrix A)
Computes the eigenvalues and eigenvectors for a symmetric matrix.
|
static FloatMatrix[] |
symmetricEigenvectors(FloatMatrix A)
Computes the eigenvalues and eigenvectors for a symmetric matrix.
|
static DoubleMatrix |
symmetricGeneralizedEigenvalues(DoubleMatrix A,
DoubleMatrix B)
Compute generalized eigenvalues of the problem A x = L B x.
|
static FloatMatrix |
symmetricGeneralizedEigenvalues(FloatMatrix A,
FloatMatrix B)
Compute generalized eigenvalues of the problem A x = L B x.
|
static DoubleMatrix[] |
symmetricGeneralizedEigenvectors(DoubleMatrix A,
DoubleMatrix B)
Solve a general problem A x = L B x.
|
static FloatMatrix[] |
symmetricGeneralizedEigenvectors(FloatMatrix A,
FloatMatrix B)
Solve a general problem A x = L B x.
|
public Eigen()
public static DoubleMatrix symmetricEigenvalues(DoubleMatrix A)
public static DoubleMatrix[] symmetricEigenvectors(DoubleMatrix A)
public static ComplexDoubleMatrix eigenvalues(DoubleMatrix A)
public static ComplexDoubleMatrix[] eigenvectors(DoubleMatrix A)
public static DoubleMatrix symmetricGeneralizedEigenvalues(DoubleMatrix A, DoubleMatrix B)
A
- symmetric Matrix A. Only the upper triangle will be considered.B
- symmetric Matrix B. Only the upper triangle will be considered.public static DoubleMatrix[] symmetricGeneralizedEigenvectors(DoubleMatrix A, DoubleMatrix B)
A
- symmetric matrix AB
- symmetric matrix Bpublic static FloatMatrix symmetricEigenvalues(FloatMatrix A)
public static FloatMatrix[] symmetricEigenvectors(FloatMatrix A)
public static ComplexFloatMatrix eigenvalues(FloatMatrix A)
public static ComplexFloatMatrix[] eigenvectors(FloatMatrix A)
public static FloatMatrix symmetricGeneralizedEigenvalues(FloatMatrix A, FloatMatrix B)
A
- symmetric Matrix A. Only the upper triangle will be considered.B
- symmetric Matrix B. Only the upper triangle will be considered.public static FloatMatrix[] symmetricGeneralizedEigenvectors(FloatMatrix A, FloatMatrix B)
A
- symmetric matrix AB
- symmetric matrix B© 2008-2010 by Mikio L. Braun and contributors