The the patrol.

This commit is contained in:
Gary Gregory 2018-06-16 15:48:50 -06:00
parent 00a0c6cb86
commit eb57d6d457
10 changed files with 15 additions and 15 deletions

View File

@ -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) {

View File

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

View File

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

View File

@ -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&times;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&times;64 for a

View File

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

View File

@ -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>
* &Sigma;(weights[i]*(values[i] - weightedMean)<sup>2</sup>)/(&Sigma;(weights[i]) - 1)

View File

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

View File

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

View File

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

View File

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