commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pste...@apache.org
Subject svn commit: r949555 - in /commons/proper/math/trunk/src/main/java/org/apache/commons/math: analysis/interpolation/ linear/ optimization/general/
Date Sun, 30 May 2010 18:34:34 GMT
Author: psteitz
Date: Sun May 30 18:34:34 2010
New Revision: 949555

URL: http://svn.apache.org/viewvc?rev=949555&view=rev
Log:
Eliminated trailing spaces.

Modified:
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/analysis/interpolation/BicubicSplineInterpolatingFunction.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/analysis/interpolation/TricubicSplineInterpolatingFunction.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/analysis/interpolation/TricubicSplineInterpolator.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/OpenMapRealVector.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/general/LevenbergMarquardtOptimizer.java

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/analysis/interpolation/BicubicSplineInterpolatingFunction.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/analysis/interpolation/BicubicSplineInterpolatingFunction.java?rev=949555&r1=949554&r2=949555&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/analysis/interpolation/BicubicSplineInterpolatingFunction.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/analysis/interpolation/BicubicSplineInterpolatingFunction.java
Sun May 30 18:34:34 2010
@@ -487,7 +487,7 @@ class BicubicSplineFunction
                 public double value(double x, double y)  {
                     final double x2 = x * x;
                     final double[] pX = {0, 1, x, x2};
-                    
+
                     final double y2 = y * y;
                     final double y3 = y2 * y;
                     final double[] pY = {1, y, y2, y3};
@@ -500,7 +500,7 @@ class BicubicSplineFunction
                     final double x2 = x * x;
                     final double x3 = x2 * x;
                     final double[] pX = {1, x, x2, x3};
-                    
+
                     final double y2 = y * y;
                     final double[] pY = {0, 1, y, y2};
 
@@ -510,7 +510,7 @@ class BicubicSplineFunction
         partialDerivativeXX = new BivariateRealFunction() {
                 public double value(double x, double y)  {
                     final double[] pX = {0, 0, 1, x};
-                    
+
                     final double y2 = y * y;
                     final double y3 = y2 * y;
                     final double[] pY = {1, y, y2, y3};
@@ -523,7 +523,7 @@ class BicubicSplineFunction
                     final double x2 = x * x;
                     final double x3 = x2 * x;
                     final double[] pX = {1, x, x2, x3};
-                    
+
                     final double[] pY = {0, 0, 1, y};
 
                     return apply(pX, pY, aYY);
@@ -533,7 +533,7 @@ class BicubicSplineFunction
                 public double value(double x, double y)  {
                     final double x2 = x * x;
                     final double[] pX = {0, 1, x, x2};
-                    
+
                     final double y2 = y * y;
                     final double[] pY = {0, 1, y, y2};
 

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/analysis/interpolation/TricubicSplineInterpolatingFunction.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/analysis/interpolation/TricubicSplineInterpolatingFunction.java?rev=949555&r1=949554&r2=949555&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/analysis/interpolation/TricubicSplineInterpolatingFunction.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/analysis/interpolation/TricubicSplineInterpolatingFunction.java
Sun May 30 18:34:34 2010
@@ -273,7 +273,7 @@ public class TricubicSplineInterpolating
                         dFdZ[i][jp1][k], dFdZ[ip1][jp1][k],
                         dFdZ[i][j][kp1], dFdZ[ip1][j][kp1],
                         dFdZ[i][jp1][kp1], dFdZ[ip1][jp1][kp1],
-                        
+
                         d2FdXdY[i][j][k], d2FdXdY[ip1][j][k],
                         d2FdXdY[i][jp1][k], d2FdXdY[ip1][jp1][k],
                         d2FdXdY[i][j][kp1], d2FdXdY[ip1][j][kp1],
@@ -484,4 +484,4 @@ class TricubicSplineFunction
 
         return result;
     }
-}
\ No newline at end of file
+}

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/analysis/interpolation/TricubicSplineInterpolator.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/analysis/interpolation/TricubicSplineInterpolator.java?rev=949555&r1=949554&r2=949555&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/analysis/interpolation/TricubicSplineInterpolator.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/analysis/interpolation/TricubicSplineInterpolator.java
Sun May 30 18:34:34 2010
@@ -66,7 +66,7 @@ public class TricubicSplineInterpolator
                 if (fval[i][j].length != zLen) {
                     throw new DimensionMismatchException(fval[i][j].length, zLen);
                 }
-                
+
                 for (int k = 0; k < zLen; k++) {
                     final double v = fval[i][j][k];
                     fvalXY[k][i][j] = v;
@@ -154,7 +154,7 @@ public class TricubicSplineInterpolator
                 for (int k = 0; k < zLen; k++) {
                     final int nK = nextIndex(k, zLen);
                     final int pK = previousIndex(k);
-                    
+
                     // XXX Not sure about this formula
                     d3FdXdYdZ[i][j][k] = (fval[nI][nJ][nK] - fval[nI][pJ][nK] -
                                           fval[pI][nJ][nK] + fval[pI][pJ][nK] -

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/OpenMapRealVector.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/OpenMapRealVector.java?rev=949555&r1=949554&r2=949555&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/OpenMapRealVector.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/OpenMapRealVector.java
Sun May 30 18:34:34 2010
@@ -821,7 +821,7 @@ public class OpenMapRealVector extends A
     public double getSparcity() {
         return getSparsity();
     }
-    
+
     /**
     *
     * @return the percentage of none zero elements as a decimal percent.

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/general/LevenbergMarquardtOptimizer.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/general/LevenbergMarquardtOptimizer.java?rev=949555&r1=949554&r2=949555&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/general/LevenbergMarquardtOptimizer.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/general/LevenbergMarquardtOptimizer.java
Sun May 30 18:34:34 2010
@@ -417,7 +417,7 @@ public class LevenbergMarquardtOptimizer
                 if (checker != null) {
                     // we use the vectorial convergence checker
                     if (checker.converged(getIterations(), previous, current)) {
-                        return current;                        
+                        return current;
                     }
                 } else {
                     // we use the Levenberg-Marquardt specific convergence parameters



Mime
View raw message