commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From celes...@apache.org
Subject svn commit: r1358359 - /commons/proper/math/trunk/src/test/java/org/apache/commons/math3/linear/RealVectorAbstractTest.java
Date Fri, 06 Jul 2012 19:12:52 GMT
Author: celestin
Date: Fri Jul  6 19:12:52 2012
New Revision: 1358359

URL: http://svn.apache.org/viewvc?rev=1358359&view=rev
Log:
In RealVectorAbstractTest.RealVectorTestImpl, removed
  - RealVector mapToSelf(UnivariateFunction),
  - double[] toArray(),
which override default implementations.

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

Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math3/linear/RealVectorAbstractTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math3/linear/RealVectorAbstractTest.java?rev=1358359&r1=1358358&r2=1358359&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math3/linear/RealVectorAbstractTest.java
(original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math3/linear/RealVectorAbstractTest.java
Fri Jul  6 19:12:52 2012
@@ -1914,14 +1914,6 @@ public abstract class RealVectorAbstract
         }
 
         @Override
-        public RealVector mapToSelf(UnivariateFunction function) {
-            for (int i = 0; i < data.length; i++) {
-                data[i] = function.value(data[i]);
-            }
-            return this;
-        }
-
-        @Override
         public RealVector copy() {
             return new RealVectorTestImpl(data);
         }
@@ -1974,11 +1966,6 @@ public abstract class RealVectorAbstract
         }
 
         @Override
-        public double[] toArray() {
-            return data.clone();
-        }
-
-        @Override
         public boolean isNaN() {
             throw unsupported();
         }



Mime
View raw message