public class Eigen3f
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
Eigen3f()
Instantiate an empty calculator.
|
Eigen3f(Matrix3f data)
Calculate the eigenvalues and eigenvectors of the specified matrix.
|
Modifier and Type | Method and Description |
---|---|
void |
calculateEigen(Matrix3f data)
Calculate the eigenvalues and eigenvectors of the specified matrix.
|
float |
getEigenValue(int i)
Read the indexed eigenvalue.
|
float[] |
getEigenValues()
Access the array of eigenvalues.
|
Vector3f |
getEigenVector(int i)
Access the indexed eigenvector.
|
Vector3f[] |
getEigenVectors()
Access the array of eigenvectors.
|
static void |
main(java.lang.String[] args)
Test the Eigen3f class.
|
public Eigen3f()
public Eigen3f(Matrix3f data)
data
- the input Matrix3fpublic void calculateEigen(Matrix3f data)
data
- the input Matrix3fpublic static void main(java.lang.String[] args)
args
- ignoredpublic float getEigenValue(int i)
i
- which value to read (0, 1, or 2)public Vector3f getEigenVector(int i)
i
- which vector to read (0, 1, or 2)public float[] getEigenValues()
public Vector3f[] getEigenVectors()