Eliminated trailing spaces.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@949555 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Phil Steitz 2010-05-30 18:34:34 +00:00
parent b8de0c4db9
commit 2e75b28336
5 changed files with 11 additions and 11 deletions

View File

@ -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};

View File

@ -273,7 +273,7 @@ public class TricubicSplineInterpolatingFunction
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;
}
}
}

View File

@ -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] -

View File

@ -821,7 +821,7 @@ public class OpenMapRealVector extends AbstractRealVector implements SparseRealV
public double getSparcity() {
return getSparsity();
}
/**
*
* @return the percentage of none zero elements as a decimal percent.

View File

@ -417,7 +417,7 @@ public class LevenbergMarquardtOptimizer extends AbstractLeastSquaresOptimizer {
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