Repository: commons-math Updated Branches: refs/heads/master 00a0c6cb8 -> eb57d6d45
The the patrol. Project: http://git-wip-us.apache.org/repos/asf/commons-math/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-math/commit/eb57d6d4 Tree: http://git-wip-us.apache.org/repos/asf/commons-math/tree/eb57d6d4 Diff: http://git-wip-us.apache.org/repos/asf/commons-math/diff/eb57d6d4 Branch: refs/heads/master Commit: eb57d6d457002a0bb5336d789a3381a24599affe Parents: 00a0c6c Author: Gary Gregory <garydgreg...@gmail.com> Authored: Sat Jun 16 15:48:50 2018 -0600 Committer: Gary Gregory <garydgreg...@gmail.com> Committed: Sat Jun 16 15:48:50 2018 -0600 ---------------------------------------------------------------------- .../math4/fitting/leastsquares/GaussNewtonOptimizer.java | 2 +- .../apache/commons/math4/geometry/spherical/oned/ArcsSet.java | 2 +- .../apache/commons/math4/geometry/spherical/twod/Circle.java | 2 +- src/main/java/org/apache/commons/math4/linear/MatrixUtils.java | 4 ++-- .../math4/optim/nonlinear/scalar/noderiv/BOBYQAOptimizer.java | 2 +- .../apache/commons/math4/stat/descriptive/moment/Variance.java | 2 +- .../org/apache/commons/math4/stat/descriptive/summary/Sum.java | 2 +- .../org/apache/commons/math4/stat/inference/ChiSquareTest.java | 6 +++--- .../java/org/apache/commons/math4/stat/inference/GTest.java | 6 +++--- src/main/java/org/apache/commons/math4/util/FastMath.java | 2 +- 10 files changed, 15 insertions(+), 15 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/commons-math/blob/eb57d6d4/src/main/java/org/apache/commons/math4/fitting/leastsquares/GaussNewtonOptimizer.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/math4/fitting/leastsquares/GaussNewtonOptimizer.java b/src/main/java/org/apache/commons/math4/fitting/leastsquares/GaussNewtonOptimizer.java index 24589ab..8ef5c89 100644 --- a/src/main/java/org/apache/commons/math4/fitting/leastsquares/GaussNewtonOptimizer.java +++ b/src/main/java/org/apache/commons/math4/fitting/leastsquares/GaussNewtonOptimizer.java @@ -279,7 +279,7 @@ public class GaussNewtonOptimizer implements LeastSquaresOptimizer { residuals.getEntry(i) * jacobian.getEntry(i, j)); } - // add the the contribution to the normal matrix for measurement i + // add the contribution to the normal matrix for measurement i for (int k = 0; k < nC; ++k) { //only compute the upper triangular part for (int l = k; l < nC; ++l) { http://git-wip-us.apache.org/repos/asf/commons-math/blob/eb57d6d4/src/main/java/org/apache/commons/math4/geometry/spherical/oned/ArcsSet.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/math4/geometry/spherical/oned/ArcsSet.java b/src/main/java/org/apache/commons/math4/geometry/spherical/oned/ArcsSet.java index 3db15a3..2955090 100644 --- a/src/main/java/org/apache/commons/math4/geometry/spherical/oned/ArcsSet.java +++ b/src/main/java/org/apache/commons/math4/geometry/spherical/oned/ArcsSet.java @@ -838,7 +838,7 @@ public class ArcsSet extends AbstractRegion<Sphere1D, Sphere1D> implements Itera limits.remove(i); i = i - 1; } else { - // special case, i the the last entry and j is the first entry + // special case, i the last entry and j is the first entry // we have wrapped around list end final double lEnd = limits.remove(limits.size() - 1); final double lStart = limits.remove(0); http://git-wip-us.apache.org/repos/asf/commons-math/blob/eb57d6d4/src/main/java/org/apache/commons/math4/geometry/spherical/twod/Circle.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/math4/geometry/spherical/twod/Circle.java b/src/main/java/org/apache/commons/math4/geometry/spherical/twod/Circle.java index 3805967..07b8c5f 100644 --- a/src/main/java/org/apache/commons/math4/geometry/spherical/twod/Circle.java +++ b/src/main/java/org/apache/commons/math4/geometry/spherical/twod/Circle.java @@ -32,7 +32,7 @@ import org.apache.commons.math4.util.FastMath; /** This class represents an oriented great circle on the 2-sphere. * <p>An oriented circle can be defined by a center point. The circle - * is the the set of points that are in the normal plan the center.</p> + * is the set of points that are in the normal plan the center.</p> * <p>Since it is oriented the two spherical caps at its two sides are * unambiguously identified as a left cap and a right cap. This can be http://git-wip-us.apache.org/repos/asf/commons-math/blob/eb57d6d4/src/main/java/org/apache/commons/math4/linear/MatrixUtils.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/math4/linear/MatrixUtils.java b/src/main/java/org/apache/commons/math4/linear/MatrixUtils.java index 1f97a5e..04daf94 100644 --- a/src/main/java/org/apache/commons/math4/linear/MatrixUtils.java +++ b/src/main/java/org/apache/commons/math4/linear/MatrixUtils.java @@ -105,7 +105,7 @@ public class MatrixUtils { } /** - * Returns a {@link RealMatrix} whose entries are the the values in the + * Returns a {@link RealMatrix} whose entries are the values in the * the input array. * <p>The type of matrix returned depends on the dimension. Below * 2<sup>12</sup> elements (i.e. 4096 elements or 64×64 for a @@ -136,7 +136,7 @@ public class MatrixUtils { } /** - * Returns a {@link FieldMatrix} whose entries are the the values in the + * Returns a {@link FieldMatrix} whose entries are the values in the * the input array. * <p>The type of matrix returned depends on the dimension. Below * 2<sup>12</sup> elements (i.e. 4096 elements or 64×64 for a http://git-wip-us.apache.org/repos/asf/commons-math/blob/eb57d6d4/src/main/java/org/apache/commons/math4/optim/nonlinear/scalar/noderiv/BOBYQAOptimizer.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/math4/optim/nonlinear/scalar/noderiv/BOBYQAOptimizer.java b/src/main/java/org/apache/commons/math4/optim/nonlinear/scalar/noderiv/BOBYQAOptimizer.java index 4366b15..26f6be1 100644 --- a/src/main/java/org/apache/commons/math4/optim/nonlinear/scalar/noderiv/BOBYQAOptimizer.java +++ b/src/main/java/org/apache/commons/math4/optim/nonlinear/scalar/noderiv/BOBYQAOptimizer.java @@ -1913,7 +1913,7 @@ public class BOBYQAOptimizer // Multiply the search direction by the second derivative matrix of Q and // calculate some scalars for the choice of steplength. Then set BLEN to - // the length of the the step to the trust region boundary and STPLEN to + // the length of the step to the trust region boundary and STPLEN to // the steplength, ignoring the simple bounds. state = 210; break; http://git-wip-us.apache.org/repos/asf/commons-math/blob/eb57d6d4/src/main/java/org/apache/commons/math4/stat/descriptive/moment/Variance.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/math4/stat/descriptive/moment/Variance.java b/src/main/java/org/apache/commons/math4/stat/descriptive/moment/Variance.java index ebed82f..7dfab7d 100644 --- a/src/main/java/org/apache/commons/math4/stat/descriptive/moment/Variance.java +++ b/src/main/java/org/apache/commons/math4/stat/descriptive/moment/Variance.java @@ -333,7 +333,7 @@ public class Variance extends AbstractStorelessUnivariateStatistic implements Se /** * <p> - * Returns the weighted variance of the entries in the the input array.</p> + * Returns the weighted variance of the entries in the input array.</p> * <p> * Uses the formula <div style="white-space:pre"><code> * Σ(weights[i]*(values[i] - weightedMean)<sup>2</sup>)/(Σ(weights[i]) - 1) http://git-wip-us.apache.org/repos/asf/commons-math/blob/eb57d6d4/src/main/java/org/apache/commons/math4/stat/descriptive/summary/Sum.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/math4/stat/descriptive/summary/Sum.java b/src/main/java/org/apache/commons/math4/stat/descriptive/summary/Sum.java index e112b5e..19e859c 100644 --- a/src/main/java/org/apache/commons/math4/stat/descriptive/summary/Sum.java +++ b/src/main/java/org/apache/commons/math4/stat/descriptive/summary/Sum.java @@ -170,7 +170,7 @@ public class Sum extends AbstractStorelessUnivariateStatistic implements Seriali } /** - * The weighted sum of the entries in the the input array. + * The weighted sum of the entries in the input array. * <p> * Throws <code>MathIllegalArgumentException</code> if any of the following are true: * <ul><li>the values array is null</li> http://git-wip-us.apache.org/repos/asf/commons-math/blob/eb57d6d4/src/main/java/org/apache/commons/math4/stat/inference/ChiSquareTest.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/math4/stat/inference/ChiSquareTest.java b/src/main/java/org/apache/commons/math4/stat/inference/ChiSquareTest.java index d8649d1..bdcac66 100644 --- a/src/main/java/org/apache/commons/math4/stat/inference/ChiSquareTest.java +++ b/src/main/java/org/apache/commons/math4/stat/inference/ChiSquareTest.java @@ -399,7 +399,7 @@ public class ChiSquareTest { * @param observed1 array of observed frequency counts of the first data set * @param observed2 array of observed frequency counts of the second data set * @return chiSquare test statistic - * @throws DimensionMismatchException the the length of the arrays does not match + * @throws DimensionMismatchException the length of the arrays does not match * @throws NotPositiveException if any entries in <code>observed1</code> or * <code>observed2</code> are negative * @throws ZeroException if either all counts of <code>observed1</code> or @@ -495,7 +495,7 @@ public class ChiSquareTest { * @param observed1 array of observed frequency counts of the first data set * @param observed2 array of observed frequency counts of the second data set * @return p-value - * @throws DimensionMismatchException the the length of the arrays does not match + * @throws DimensionMismatchException the length of the arrays does not match * @throws NotPositiveException if any entries in <code>observed1</code> or * <code>observed2</code> are negative * @throws ZeroException if either all counts of <code>observed1</code> or @@ -548,7 +548,7 @@ public class ChiSquareTest { * @param alpha significance level of the test * @return true iff null hypothesis can be rejected with confidence * 1 - alpha - * @throws DimensionMismatchException the the length of the arrays does not match + * @throws DimensionMismatchException the length of the arrays does not match * @throws NotPositiveException if any entries in <code>observed1</code> or * <code>observed2</code> are negative * @throws ZeroException if either all counts of <code>observed1</code> or http://git-wip-us.apache.org/repos/asf/commons-math/blob/eb57d6d4/src/main/java/org/apache/commons/math4/stat/inference/GTest.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/math4/stat/inference/GTest.java b/src/main/java/org/apache/commons/math4/stat/inference/GTest.java index 57d5595..28d42ce 100644 --- a/src/main/java/org/apache/commons/math4/stat/inference/GTest.java +++ b/src/main/java/org/apache/commons/math4/stat/inference/GTest.java @@ -336,7 +336,7 @@ public class GTest { * @param observed2 array of observed frequency counts of the second data * set * @return G-Test statistic - * @throws DimensionMismatchException the the lengths of the arrays do not + * @throws DimensionMismatchException the lengths of the arrays do not * match or their common length is less than 2 * @throws NotPositiveException if any entry in {@code observed1} or * {@code observed2} is negative @@ -458,7 +458,7 @@ public class GTest { * @param observed2 array of observed frequency counts of the second data * set * @return p-value - * @throws DimensionMismatchException the the length of the arrays does not + * @throws DimensionMismatchException the length of the arrays does not * match or their common length is less than 2 * @throws NotPositiveException if any of the entries in {@code observed1} or * {@code observed2} are negative @@ -511,7 +511,7 @@ public class GTest { * @param alpha significance level of the test * @return true iff null hypothesis can be rejected with confidence 1 - * alpha - * @throws DimensionMismatchException the the length of the arrays does not + * @throws DimensionMismatchException the length of the arrays does not * match * @throws NotPositiveException if any of the entries in {@code observed1} or * {@code observed2} are negative http://git-wip-us.apache.org/repos/asf/commons-math/blob/eb57d6d4/src/main/java/org/apache/commons/math4/util/FastMath.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/math4/util/FastMath.java b/src/main/java/org/apache/commons/math4/util/FastMath.java index aaa69be..4d0568a 100644 --- a/src/main/java/org/apache/commons/math4/util/FastMath.java +++ b/src/main/java/org/apache/commons/math4/util/FastMath.java @@ -41,7 +41,7 @@ import org.apache.commons.math4.exception.util.LocalizedFormats; * <p> * Note that FastMath is * extensively used inside Apache Commons Math, so by calling some algorithms, - * the overhead when the the tables need to be initialized will occur + * the overhead when the tables need to be initialized will occur * regardless of the end-user calling FastMath methods directly or not. * Performance figures for a specific JVM and hardware can be evaluated by * running the FastMathTestPerformance tests in the test directory of the source