|
JavaView© v3.95.000 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjvx.numeric.PnJacobi
Compute eigenvectors and eigenvalues of a given matrix and store in result vectors.
| Field Summary | |
static int |
FAILURE
Return value of computation method if failure. |
static int |
INTERRUPTED
Return value of computation method if interrupted from outside. |
| Constructor Summary | |
PnJacobi()
|
|
| Method Summary | |
static int |
computeEigenvectors(PdMatrix mat,
int dim,
PdVector eValue,
PdVector[] eVector)
Compute eigenvectors and eigenvalues of a given matrix and store in result vectors. |
static int |
fcomputeEigenvectors(PdMatrix mat,
int dim,
PdVector eValue,
PdVector[] eVector)
Compute eigenvectors and eigenvalues of a given matrix and store in result vectors. |
static boolean |
isInterrupted()
Get flag if the previous computation was interrupted from outside. |
static void |
printEigenvalues(int dim,
PdVector eValue)
|
static void |
printEigenvectors(int dim,
PdVector eValue,
PdVector[] eVector)
|
static void |
setInterrupted(boolean flag)
Flag set from outside to interrupt the current computation. |
static boolean |
test(PdMatrix mat,
int dim,
PdVector eValue,
PdVector[] eVector)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int FAILURE
public static final int INTERRUPTED
| Constructor Detail |
public PnJacobi()
| Method Detail |
public static void setInterrupted(boolean flag)
public static boolean isInterrupted()
public static int computeEigenvectors(PdMatrix mat,
int dim,
PdVector eValue,
PdVector[] eVector)
This method uses double-precision.
See fcomputeEigenvectors
which uses float-precision.
mat - Matrix whose eigenvalues and -vectors should be computed.dim - Size of square matrix, length of vectorseValue - Vector to store the computed eigenvalueseVector - Array of vectors to store the computed eigenvectors
public static int fcomputeEigenvectors(PdMatrix mat,
int dim,
PdVector eValue,
PdVector[] eVector)
This method uses float-precision. See computeEigenvectors
which uses double-precision.
mat - Matrix whose eigenvalues and -vectors should be computed.dim - Size of square matrix, length of vectorseValue - Vector to store the computed eigenvalueseVector - Array of vectors to store the computed eigenvectors
public static void printEigenvectors(int dim,
PdVector eValue,
PdVector[] eVector)
public static void printEigenvalues(int dim,
PdVector eValue)
public static boolean test(PdMatrix mat,
int dim,
PdVector eValue,
PdVector[] eVector)
|
JavaView© v3.95.000 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||