|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfhm.edu.fem.calc.objects.matrix.Jacobi
public class Jacobi
Class Description: This class offers methods to calculate Eigenvalues and Eigenvectors via the Jacobi Algorithm. The algorithms used in this class are Copyright by Ewe Leonties taken from the C-Classes he wrote as diploma thesis. The conversion to Java and the percentage displays have been done by the authors mentioned below.
Field Summary | |
---|---|
protected Vector |
eigenvalueVector
|
protected static Logger |
localLogger
|
protected double[][] |
V
|
Constructor Summary | |
---|---|
Jacobi()
Constructor |
Method Summary | |
---|---|
boolean |
compute(int n,
double gen,
double[][] A,
int ord)
Calculates the Eigenvalues and Eigenvectors of the symmetric Matrix A After completing this calculation you can also grab all calculated Eigenvalues via the associated Getter-Method in this class |
Vector |
getEigenvalueVector()
Grab the vector holding the calculated eigenvalues (you need to call compute()) first |
double[][] |
getEigenvectorArray()
Grab the double array holding the calculated eigenvectors (you need to call compute()) first |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Vector eigenvalueVector
protected static Logger localLogger
protected double[][] V
Constructor Detail |
---|
public Jacobi()
Method Detail |
---|
public boolean compute(int n, double gen, double[][] A, int ord)
n,
- size of Matrix Agen,
- machine precisionA,
- double[][] array of Matrix Aord,
- if >0 the eigenvalues and associated eigenvectors are sorted from upwards, else downwards
public Vector getEigenvalueVector()
public double[][] getEigenvectorArray()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |