diff --git a/src/main/java/org/apache/commons/math4/analysis/integration/gauss/GaussIntegratorFactory.java b/src/main/java/org/apache/commons/math4/analysis/integration/gauss/GaussIntegratorFactory.java index 14a73eff5..25046921b 100644 --- a/src/main/java/org/apache/commons/math4/analysis/integration/gauss/GaussIntegratorFactory.java +++ b/src/main/java/org/apache/commons/math4/analysis/integration/gauss/GaussIntegratorFactory.java @@ -43,7 +43,7 @@ public class GaussIntegratorFactory { * The call to the * {@link GaussIntegrator#integrate(org.apache.commons.math4.analysis.UnivariateFunction) * integrate} method will perform an integration on the interval - * \([0, +\infinity)\): the computed value is the improper integral of + * \([0, +\infty)\): the computed value is the improper integral of * \(e^{-x} f(x)\) * where \(f(x)\) is the function passed to the * {@link SymmetricGaussIntegrator#integrate(org.apache.commons.math4.analysis.UnivariateFunction) @@ -131,7 +131,7 @@ public class GaussIntegratorFactory { * The call to the * {@link SymmetricGaussIntegrator#integrate(org.apache.commons.math4.analysis.UnivariateFunction) * integrate} method will perform a weighted integration on the interval - * \([-\infinity, +\infinity]\): the computed value is the improper integral of + * \([-\infty, +\infty]\): the computed value is the improper integral of * \(e^{-x^2}f(x)\) * where \(f(x)\) is the function passed to the * {@link SymmetricGaussIntegrator#integrate(org.apache.commons.math4.analysis.UnivariateFunction) diff --git a/src/main/java/org/apache/commons/math4/stat/descriptive/moment/Kurtosis.java b/src/main/java/org/apache/commons/math4/stat/descriptive/moment/Kurtosis.java index 304667974..7218d750e 100644 --- a/src/main/java/org/apache/commons/math4/stat/descriptive/moment/Kurtosis.java +++ b/src/main/java/org/apache/commons/math4/stat/descriptive/moment/Kurtosis.java @@ -143,7 +143,7 @@ public class Kurtosis extends AbstractStorelessUnivariateStatistic implements S return moment.getN(); } - /* UinvariateStatistic Approach */ + /* UnivariateStatistic Approach */ /** * Returns the kurtosis of the entries in the specified portion of the diff --git a/src/main/java/org/apache/commons/math4/stat/descriptive/moment/SemiVariance.java b/src/main/java/org/apache/commons/math4/stat/descriptive/moment/SemiVariance.java index 8d9ae1d3e..e490fb49d 100644 --- a/src/main/java/org/apache/commons/math4/stat/descriptive/moment/SemiVariance.java +++ b/src/main/java/org/apache/commons/math4/stat/descriptive/moment/SemiVariance.java @@ -92,7 +92,7 @@ public class SemiVariance extends AbstractUnivariateStatistic implements Seriali * property and default (Downside) varianceDirection property. * * @param biasCorrected setting for bias correction - true means - * bias will be corrected and is equivalent to using the non-argument + * bias will be corrected and is equivalent to using the "no arg" * constructor */ public SemiVariance(final boolean biasCorrected) { @@ -115,7 +115,7 @@ public class SemiVariance extends AbstractUnivariateStatistic implements Seriali * property and the specified Direction property. * * @param corrected setting for bias correction - true means - * bias will be corrected and is equivalent to using the non-argument + * bias will be corrected and is equivalent to using the "no arg" * constructor * * @param direction setting for the direction of the SemiVariance 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 250cc0f12..fcfb79836 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 @@ -118,7 +118,7 @@ public class Variance extends AbstractStorelessUnivariateStatistic implements Se * property. * * @param isBiasCorrected setting for bias correction - true means - * bias will be corrected and is equivalent to using the non-argument + * bias will be corrected and is equivalent to using the "no arg" * constructor */ public Variance(boolean isBiasCorrected) { diff --git a/src/main/java/org/apache/commons/math4/stat/inference/KolmogorovSmirnovTest.java b/src/main/java/org/apache/commons/math4/stat/inference/KolmogorovSmirnovTest.java index d7a284de6..52e28abba 100644 --- a/src/main/java/org/apache/commons/math4/stat/inference/KolmogorovSmirnovTest.java +++ b/src/main/java/org/apache/commons/math4/stat/inference/KolmogorovSmirnovTest.java @@ -862,7 +862,7 @@ public class KolmogorovSmirnovTest { } /** - * Computes \( 1 + 2 \sum_{i=1}^\infinity (-1)^i e^{-2 i^2 t^2} \) stopping when successive partial + * Computes \( 1 + 2 \sum_{i=1}^\infty (-1)^i e^{-2 i^2 t^2} \) stopping when successive partial * sums are within {@code tolerance} of one another, or when {@code maxIterations} partial sums * have been computed. If the sum does not converge before {@code maxIterations} iterations a * {@link TooManyIterationsException} is thrown. @@ -951,7 +951,7 @@ public class KolmogorovSmirnovTest { * {@link #kolmogorovSmirnovStatistic(double[], double[])} for the definition of \(D_{n,m}\). *

* Specifically, what is returned is \(1 - k(d \sqrt{mn / (m + n)})\) where \(k(t) = 1 + 2 - * \sum_{i=1}^\infinity (-1)^i e^{-2 i^2 t^2}\). See {@link #ksSum(double, double, int)} for + * \sum_{i=1}^\infty (-1)^i e^{-2 i^2 t^2}\). See {@link #ksSum(double, double, int)} for * details on how convergence of the sum is determined. *

*