commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From celes...@apache.org
Subject svn commit: r1173475 - /commons/proper/math/trunk/src/test/java/org/apache/commons/math/linear/CholeskyDecompositionImplTest.java
Date Wed, 21 Sep 2011 03:12:45 GMT
Author: celestin
Date: Wed Sep 21 03:12:45 2011
New Revision: 1173475

URL: http://svn.apache.org/viewvc?rev=1173475&view=rev
Log:
Replaced CholeskyDecomposition by CholeskyDecompositionImpl (preliminary cleaning for solving
MATH-662).

Modified:
    commons/proper/math/trunk/src/test/java/org/apache/commons/math/linear/CholeskyDecompositionImplTest.java

Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math/linear/CholeskyDecompositionImplTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/linear/CholeskyDecompositionImplTest.java?rev=1173475&r1=1173474&r2=1173475&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math/linear/CholeskyDecompositionImplTest.java
(original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math/linear/CholeskyDecompositionImplTest.java
Wed Sep 21 03:12:45 2011
@@ -33,7 +33,7 @@ public class CholeskyDecompositionImplTe
     /** test dimensions */
     @Test
     public void testDimensions() {
-        CholeskyDecomposition llt =
+        CholeskyDecompositionImpl llt =
             new CholeskyDecompositionImpl(MatrixUtils.createRealMatrix(testData));
         Assert.assertEquals(testData.length, llt.getL().getRowDimension());
         Assert.assertEquals(testData.length, llt.getL().getColumnDimension());
@@ -82,7 +82,7 @@ public class CholeskyDecompositionImplTe
     @Test
     public void testAEqualLLT() {
         RealMatrix matrix = MatrixUtils.createRealMatrix(testData);
-        CholeskyDecomposition llt = new CholeskyDecompositionImpl(matrix);
+        CholeskyDecompositionImpl llt = new CholeskyDecompositionImpl(matrix);
         RealMatrix l  = llt.getL();
         RealMatrix lt = llt.getLT();
         double norm = l.multiply(lt).subtract(matrix).getNorm();
@@ -105,7 +105,7 @@ public class CholeskyDecompositionImplTe
     @Test
     public void testLTTransposed() {
         RealMatrix matrix = MatrixUtils.createRealMatrix(testData);
-        CholeskyDecomposition llt = new CholeskyDecompositionImpl(matrix);
+        CholeskyDecompositionImpl llt = new CholeskyDecompositionImpl(matrix);
         RealMatrix l  = llt.getL();
         RealMatrix lt = llt.getLT();
         double norm = l.subtract(lt.transpose()).getNorm();
@@ -122,7 +122,7 @@ public class CholeskyDecompositionImplTe
                 {  7,  8,  9, 10,  0 },
                 { 11, 12, 13, 14, 15 }
         });
-       CholeskyDecomposition llt =
+       CholeskyDecompositionImpl llt =
             new CholeskyDecompositionImpl(MatrixUtils.createRealMatrix(testData));
 
         // check values against known references



Mime
View raw message