All Packages Class Hierarchy This Package Previous Next Index
Class linear_algebra.QRTest_j
java.lang.Object
|
+----linear_algebra.QRTest_j
- public class QRTest_j
- extends Object
This class tests the (LINPACK) QR classes.
It
- Randomly fills an n by n matrix, X.
- Randomly generates a vector b0.
- Calculates the vector y = X(b0).
- Performs a QR decomposition of X.
- Solves the system Xb = y in an effort to recover b0.
- Handles the regression equation y = a0 + a1*x + a2*x^2 + e
where a0 = a1 = a2 = 1. Its estimates of the parameters
should be close to 1. Its estimate of the standard deviation
should be close to the input value.
-
QRTest_j()
-
-
isort(int[], int[], int[], int)
-
-
main(String[])
-
-
normi(double)
-
This is a normal cdf inverse routine.
QRTest_j
public QRTest_j()
main
public static void main(String args[])
normi
public static double normi(double u)
-
This is a normal cdf inverse routine.
Created by Steve Verrill, March 1997.
- Parameters:
- u - The value (between 0 and 1) to invert.
isort
public static void isort(int x[],
int xsort[],
int origord[],
int n)
All Packages Class Hierarchy This Package Previous Next Index