jvx.numeric
Class PnJacobi
java.lang.Object
|
+--jvx.numeric.PnJacobi
- public class PnJacobi
- extends java.lang.Object
Compute eigenvectors and eigenvalues of a given matrix and store in result vectors.
- Version:
- 08.11.00, 2.20 revised (kp) Replace formatting with PuString rather than Fmt.
08.09.99, 2.10 revised (kp) Moved to project jv.numeric from jv.geom.
07.09.99, 2.00 revised (kp) ComputeEigenvectors() converted to static method.
00.00.98, 1.00 created (kp)
- Author:
- Konrad Polthier
|
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 void |
main(java.lang.String[] args)
|
static void |
printEigenvalues(int dim,
PdVector eValue)
|
static void |
printEigenvectors(int dim,
PdVector eValue,
PdVector[] eVector)
|
static boolean |
test(PdMatrix mat,
int dim,
PdVector eValue,
PdVector[] eVector)
|
static boolean |
testWayneExample(double a,
double b,
double c)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PnJacobi
public PnJacobi()
computeEigenvectors
public static int computeEigenvectors(PdMatrix mat,
int dim,
PdVector eValue,
PdVector[] eVector)
- Compute eigenvectors and eigenvalues of a given matrix and store in result vectors.
Method modifies the original matrix for internal use.
- Parameters:
mat - Matrix whose eigenvalues and -vectors should be computed.dim - Size of square matrix, length of vectorseValue - Vector to store the computed eigenvalueseValue - Array of vectors to store the computed eigenvectors- Returns:
- Number of used iterations.
printEigenvectors
public static void printEigenvectors(int dim,
PdVector eValue,
PdVector[] eVector)
printEigenvalues
public static void printEigenvalues(int dim,
PdVector eValue)
test
public static boolean test(PdMatrix mat,
int dim,
PdVector eValue,
PdVector[] eVector)
testWayneExample
public static boolean testWayneExample(double a,
double b,
double c)
main
public static void main(java.lang.String[] args)
The software JavaView® is copyright protected. All Rights Reserved.