numal.lowprecision.test
Class TestQrisngvaldec
java.lang.Object
numal.lowprecision.test.TestQrisngvaldec
public class TestQrisngvaldec
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestQrisngvaldec
public TestQrisngvaldec()
main
public static void main(String[] args)
- Test the method
LinearAlgebra.qrisngvaldec(float[][], int, int, float[], float[][], float[])
.
The output of this method should be :
Number of singular values not found : 0
Infinity norm : 2.28333E0
Max neglected subdiagonal element : 2.11719E-5
Number of iterations : 3
Numerical rank : 5
Singular values :
1.59212E0
2.24496E-1
1.36102E-2
1.25733E-4
1.41703e-5
Matrix U, first 3 columns :
-7.54979E-1 6.10111E-1 -2.33268E-1
-4.39093E-1 -2.26021E-1 7.05899E-1
-3.17031E-1 -3.73070E-1 2.11269E-1
-2.49995E-1 -3.95578E-1 -1.47776E-1
-2.07050E-1 -3.84833E-1 -3.68054E-1
-1.76997E-1 -3.64582E-1 -4.95335E-1
Last 2 columns :
9.87458E-1 -2.57541E-1
-6.88740E-1 2.67620E-1
-3.89435E-1 -5.02005E-1
8.52031E-1 -1.34877E-1
-2.25331E-1 7.40444E-1
-2.67328E-1 -3.30543E-1