From 6478fb48c56ef6e7f09b6ea2efd51d021560e763 Mon Sep 17 00:00:00 2001 From: Phil Steitz Date: Thu, 25 Mar 2010 00:42:55 +0000 Subject: [PATCH] Dropped trailing spaces. git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@927246 13f79535-47bb-0310-9956-ffa450edef68 --- .../interpolation/BicubicSplineInterpolatingFunction.java | 8 ++++---- .../interpolation/SmoothingBicubicSplineInterpolator.java | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/java/org/apache/commons/math/analysis/interpolation/BicubicSplineInterpolatingFunction.java b/src/main/java/org/apache/commons/math/analysis/interpolation/BicubicSplineInterpolatingFunction.java index 9175b4a1f..7cfdae232 100644 --- a/src/main/java/org/apache/commons/math/analysis/interpolation/BicubicSplineInterpolatingFunction.java +++ b/src/main/java/org/apache/commons/math/analysis/interpolation/BicubicSplineInterpolatingFunction.java @@ -104,7 +104,7 @@ public class BicubicSplineInterpolatingFunction MathUtils.checkOrder(x, 1, true); MathUtils.checkOrder(y, 1, true); - + xval = x.clone(); yval = y.clone(); @@ -210,7 +210,7 @@ public class BicubicSplineInterpolatingFunction */ private double[] computeSplineCoefficients(double[] beta) { final double[] a = new double[16]; - + for (int i = 0; i < 16; i++) { double result = 0; final double[] row = aInv[i]; @@ -272,12 +272,12 @@ class BicubicSplineFunction throw MathRuntimeException.createIllegalArgumentException("{0} out of [{1}, {2}] range", y, 0, 1); } - + final double x2 = x * x; final double x3 = x2 * x; final double y2 = y * y; final double y3 = y2 * y; - + return a00 + a01 * y + a02 * y2 + a03 * y3 + a10 * x + a11 * x * y + a12 * x * y2 + a13 * x * y3 + a20 * x2 + a21 * x2 * y + a22 * x2 * y2 + a23 * x2 * y3 diff --git a/src/main/java/org/apache/commons/math/analysis/interpolation/SmoothingBicubicSplineInterpolator.java b/src/main/java/org/apache/commons/math/analysis/interpolation/SmoothingBicubicSplineInterpolator.java index dbd408079..c6f0a74fa 100644 --- a/src/main/java/org/apache/commons/math/analysis/interpolation/SmoothingBicubicSplineInterpolator.java +++ b/src/main/java/org/apache/commons/math/analysis/interpolation/SmoothingBicubicSplineInterpolator.java @@ -51,7 +51,7 @@ public class SmoothingBicubicSplineInterpolator MathUtils.checkOrder(xval, 1, true); MathUtils.checkOrder(yval, 1, true); - + final int xLen = xval.length; final int yLen = yval.length;