public class Eigen
extends java.lang.Object
Constructor and Description |
---|
Eigen() |
Modifier and Type | Method and Description |
---|---|
static void |
solveSymmetric22(double[][] a,
double[][] v,
double[] d)
Computes eigenvalues and eigenvectors for a symmetric 2x2 matrix A.
|
static void |
solveSymmetric22(float[][] a,
float[][] v,
float[] d)
Computes eigenvalues and eigenvectors for a symmetric 2x2 matrix A.
|
static void |
solveSymmetric33(double[][] a,
double[][] v,
double[] d)
Computes eigenvalues and eigenvectors for a symmetric 3x3 matrix A.
|
static void |
solveSymmetric33Fast(double[][] a,
double[][] v,
double[] d)
Computes eigenvalues and eigenvectors for a symmetric 3x3 matrix A.
|
public static void solveSymmetric22(float[][] a, float[][] v, float[] d)
a
- the symmetric matrix A.v
- the array of eigenvectors v[0] and v[1].d
- the array of eigenvalues d[0] and d[1].public static void solveSymmetric22(double[][] a, double[][] v, double[] d)
a
- the symmetric matrix A.v
- the array of eigenvectors v[0] and v[1].d
- the array of eigenvalues d[0] and d[1].public static void solveSymmetric33(double[][] a, double[][] v, double[] d)
a
- the symmetric matrix A.v
- the array of eigenvectors v[0], v[1], and v[2].d
- the array of eigenvalues d[0], d[1], and d[2].public static void solveSymmetric33Fast(double[][] a, double[][] v, double[] d)
This method is typically faster but not as accurate when eigenvalues differ by more than a few orders of magnitude.
a
- the symmetric matrix A.v
- the array of eigenvectors v[0], v[1], and v[2].d
- the array of eigenvalues d[0], d[1], and d[2].