|
JavaView® v2.00.008 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--jvx.numeric.PnMatrix
Numerical routines for bigger matrix linear algebra problems. Methods are taken from Numerical Recipes and adapted such that all array indices start with 0 rather than the standard fortran 1.
PdMatrix| Constructor Summary | |
PnMatrix()
|
|
| Method Summary | |
static double |
determinant(double[][] aIn,
int n)
Compute determinant of a given NxN matrix A. |
static boolean |
invert(double[][] y,
double[][] aIn,
int n)
Invert a given NxN matrix A and return its invers. |
static void |
lubksb(double[][] a,
int n,
int[] indx,
double[] b)
Solves the set of N linear equations AX=B. |
static double |
ludcmp(double[][] a,
int n,
int[] indx)
Given an NxN matrix A this routine replaces it by the LU decomposition of a rowwise permutation of itself. |
static void |
main(java.lang.String[] args)
Test routine for matrix inversion. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PnMatrix()
| Method Detail |
public static void main(java.lang.String[] args)
public static boolean invert(double[][] y,
double[][] aIn,
int n)
ludcmp(double[][], int, int[]),
lubksb(double[][], int, int[], double[])
public static double determinant(double[][] aIn,
int n)
ludcmp(double[][], int, int[]),
lubksb(double[][], int, int[], double[])
public static double ludcmp(double[][] a,
int n,
int[] indx)
throws java.lang.ArithmeticException
This version is taken from Numerical Recipes and adapted such that all array indices start with 0 rather than the standard fortran 1.
java.lang.ArithmeticException - if A was singular.lubksb(double[][], int, int[], double[])
public static void lubksb(double[][] a,
int n,
int[] indx,
double[] b)
This version is taken from Numerical Recipes and adapted such that all array indices start with 0 rather than the standard fortran 1.
ludcmp(double[][], int, int[])
|
JavaView® v2.00.008 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||