This is an automated email from the ASF dual-hosted git repository. erans pushed a commit to branch modularized_master in repository https://gitbox.apache.org/repos/asf/commons-math.git
commit 2650a4786cb13955c174ac6a7503171918b72a2f Author: Gilles Sadowski <gillese...@gmail.com> AuthorDate: Wed May 26 22:54:41 2021 +0200 Unused "import". --- .../math4/legacy/analysis/differentiation/DerivativeStructure.java | 1 - .../commons/math4/legacy/analysis/differentiation/SparseGradient.java | 1 - .../legacy/analysis/integration/BaseAbstractUnivariateIntegrator.java | 1 - .../math4/legacy/analysis/interpolation/FieldHermiteInterpolator.java | 1 - .../commons/math4/legacy/analysis/interpolation/LoessInterpolator.java | 1 - .../legacy/analysis/interpolation/UnivariatePeriodicInterpolator.java | 1 - .../commons/math4/legacy/analysis/polynomials/PolynomialFunction.java | 1 - .../math4/legacy/analysis/polynomials/PolynomialFunctionNewtonForm.java | 1 - .../legacy/analysis/solvers/FieldBracketingNthOrderBrentSolver.java | 1 - .../apache/commons/math4/legacy/distribution/EmpiricalDistribution.java | 1 - .../main/java/org/apache/commons/math4/legacy/filter/KalmanFilter.java | 1 - .../java/org/apache/commons/math4/legacy/linear/AbstractRealMatrix.java | 1 - .../org/apache/commons/math4/legacy/linear/Array2DRowFieldMatrix.java | 1 - .../org/apache/commons/math4/legacy/linear/Array2DRowRealMatrix.java | 1 - .../java/org/apache/commons/math4/legacy/linear/ArrayFieldVector.java | 1 - .../java/org/apache/commons/math4/legacy/linear/ArrayRealVector.java | 1 - .../java/org/apache/commons/math4/legacy/linear/BlockFieldMatrix.java | 1 - .../java/org/apache/commons/math4/legacy/linear/BlockRealMatrix.java | 1 - .../main/java/org/apache/commons/math4/legacy/linear/DiagonalMatrix.java | 1 - .../org/apache/commons/math4/legacy/linear/IterativeLinearSolver.java | 1 - .../main/java/org/apache/commons/math4/legacy/linear/MatrixUtils.java | 1 - .../commons/math4/legacy/linear/PreconditionedIterativeLinearSolver.java | 1 - .../java/org/apache/commons/math4/legacy/linear/SparseFieldVector.java | 1 - .../src/main/java/org/apache/commons/math4/legacy/linear/SymmLQ.java | 1 - .../org/apache/commons/math4/legacy/ode/MultistepFieldIntegrator.java | 1 - .../commons/math4/legacy/ode/nonstiff/AdamsMoultonFieldIntegrator.java | 1 - .../math4/legacy/ode/nonstiff/AdaptiveStepsizeFieldIntegrator.java | 1 - .../math4/legacy/ode/nonstiff/DormandPrince54FieldIntegrator.java | 1 - .../math4/legacy/ode/nonstiff/DormandPrince853FieldIntegrator.java | 1 - .../math4/legacy/ode/nonstiff/EmbeddedRungeKuttaFieldIntegrator.java | 1 - .../commons/math4/legacy/ode/nonstiff/HighamHall54FieldIntegrator.java | 1 - .../org/apache/commons/math4/legacy/random/HaltonSequenceGenerator.java | 1 - .../src/main/java/org/apache/commons/math4/legacy/stat/Frequency.java | 1 - .../legacy/stat/descriptive/AbstractStorelessUnivariateStatistic.java | 1 - .../commons/math4/legacy/stat/descriptive/DescriptiveStatistics.java | 1 - .../math4/legacy/stat/descriptive/MultivariateSummaryStatistics.java | 1 - .../commons/math4/legacy/stat/descriptive/StatisticalSummaryValues.java | 1 - .../apache/commons/math4/legacy/stat/descriptive/SummaryStatistics.java | 1 - .../math4/legacy/stat/descriptive/SynchronizedDescriptiveStatistics.java | 1 - .../math4/legacy/stat/descriptive/SynchronizedSummaryStatistics.java | 1 - .../apache/commons/math4/legacy/stat/descriptive/moment/FirstMoment.java | 1 - .../commons/math4/legacy/stat/descriptive/moment/FourthMoment.java | 1 - .../commons/math4/legacy/stat/descriptive/moment/GeometricMean.java | 1 - .../apache/commons/math4/legacy/stat/descriptive/moment/Kurtosis.java | 1 - .../org/apache/commons/math4/legacy/stat/descriptive/moment/Mean.java | 1 - .../commons/math4/legacy/stat/descriptive/moment/SecondMoment.java | 1 - .../commons/math4/legacy/stat/descriptive/moment/SemiVariance.java | 1 - .../apache/commons/math4/legacy/stat/descriptive/moment/Skewness.java | 1 - .../commons/math4/legacy/stat/descriptive/moment/StandardDeviation.java | 1 - .../apache/commons/math4/legacy/stat/descriptive/moment/ThirdMoment.java | 1 - .../apache/commons/math4/legacy/stat/descriptive/moment/Variance.java | 1 - .../java/org/apache/commons/math4/legacy/stat/descriptive/rank/Max.java | 1 - .../java/org/apache/commons/math4/legacy/stat/descriptive/rank/Min.java | 1 - .../apache/commons/math4/legacy/stat/descriptive/summary/Product.java | 1 - .../org/apache/commons/math4/legacy/stat/descriptive/summary/Sum.java | 1 - .../apache/commons/math4/legacy/stat/descriptive/summary/SumOfLogs.java | 1 - .../commons/math4/legacy/stat/descriptive/summary/SumOfSquares.java | 1 - .../commons/math4/legacy/stat/inference/KolmogorovSmirnovTest.java | 1 - .../java/org/apache/commons/math4/legacy/stat/inference/OneWayAnova.java | 1 - .../apache/commons/math4/legacy/ode/ContinuousOutputFieldModelTest.java | 1 - .../org/apache/commons/math4/legacy/ode/TestFieldProblemHandler.java | 1 - 61 files changed, 61 deletions(-) diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/differentiation/DerivativeStructure.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/differentiation/DerivativeStructure.java index 0d09042..db3d152 100644 --- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/differentiation/DerivativeStructure.java +++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/differentiation/DerivativeStructure.java @@ -28,7 +28,6 @@ import org.apache.commons.math4.legacy.exception.MathArithmeticException; import org.apache.commons.math4.legacy.exception.NumberIsTooLargeException; import org.apache.commons.math4.legacy.util.FastMath; import org.apache.commons.math4.legacy.util.MathArrays; -import org.apache.commons.math4.legacy.util.MathUtils; /** Class representing both the value and the differentials of a function. * <p>This class is the workhorse of the differentiation package.</p> diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/differentiation/SparseGradient.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/differentiation/SparseGradient.java index 68d05af..84a2320 100644 --- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/differentiation/SparseGradient.java +++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/differentiation/SparseGradient.java @@ -28,7 +28,6 @@ import org.apache.commons.math4.legacy.FieldElement; import org.apache.commons.math4.legacy.RealFieldElement; import org.apache.commons.math4.legacy.exception.DimensionMismatchException; import org.apache.commons.math4.legacy.util.FastMath; -import org.apache.commons.math4.legacy.util.MathUtils; /** * First derivative computation with large number of variables. diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/integration/BaseAbstractUnivariateIntegrator.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/integration/BaseAbstractUnivariateIntegrator.java index dc89073..8c9e750 100644 --- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/integration/BaseAbstractUnivariateIntegrator.java +++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/integration/BaseAbstractUnivariateIntegrator.java @@ -24,7 +24,6 @@ import org.apache.commons.math4.legacy.exception.NotStrictlyPositiveException; import org.apache.commons.math4.legacy.exception.NumberIsTooSmallException; import org.apache.commons.math4.legacy.exception.TooManyEvaluationsException; import org.apache.commons.math4.legacy.util.IntegerSequence; -import org.apache.commons.math4.legacy.util.MathUtils; /** * Provide a default implementation for several generic functions. diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/interpolation/FieldHermiteInterpolator.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/interpolation/FieldHermiteInterpolator.java index 55db19e..b5c3528 100644 --- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/interpolation/FieldHermiteInterpolator.java +++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/interpolation/FieldHermiteInterpolator.java @@ -27,7 +27,6 @@ import org.apache.commons.math4.legacy.exception.NullArgumentException; import org.apache.commons.math4.legacy.exception.ZeroException; import org.apache.commons.math4.legacy.exception.util.LocalizedFormats; import org.apache.commons.math4.legacy.util.MathArrays; -import org.apache.commons.math4.legacy.util.MathUtils; /** Polynomial interpolator using both sample values and sample derivatives. * <p> diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/interpolation/LoessInterpolator.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/interpolation/LoessInterpolator.java index 37c2bd9..c56955c 100644 --- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/interpolation/LoessInterpolator.java +++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/interpolation/LoessInterpolator.java @@ -30,7 +30,6 @@ import org.apache.commons.math4.legacy.exception.OutOfRangeException; import org.apache.commons.math4.legacy.exception.util.LocalizedFormats; import org.apache.commons.math4.legacy.util.FastMath; import org.apache.commons.math4.legacy.util.MathArrays; -import org.apache.commons.math4.legacy.util.MathUtils; /** * Implements the <a href="http://en.wikipedia.org/wiki/Local_regression"> diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/interpolation/UnivariatePeriodicInterpolator.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/interpolation/UnivariatePeriodicInterpolator.java index c89a5f0..3b6bdec 100644 --- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/interpolation/UnivariatePeriodicInterpolator.java +++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/interpolation/UnivariatePeriodicInterpolator.java @@ -23,7 +23,6 @@ import org.apache.commons.math4.legacy.exception.MathIllegalArgumentException; import org.apache.commons.math4.legacy.exception.NonMonotonicSequenceException; import org.apache.commons.math4.legacy.exception.NumberIsTooSmallException; import org.apache.commons.math4.legacy.util.MathArrays; -import org.apache.commons.math4.legacy.util.MathUtils; /** * Adapter for classes implementing the {@link UnivariateInterpolator} diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/polynomials/PolynomialFunction.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/polynomials/PolynomialFunction.java index f99c61e..9d8068f 100644 --- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/polynomials/PolynomialFunction.java +++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/polynomials/PolynomialFunction.java @@ -26,7 +26,6 @@ import org.apache.commons.math4.legacy.exception.NoDataException; import org.apache.commons.math4.legacy.exception.NullArgumentException; import org.apache.commons.math4.legacy.exception.util.LocalizedFormats; import org.apache.commons.math4.legacy.util.FastMath; -import org.apache.commons.math4.legacy.util.MathUtils; /** * Immutable representation of a real polynomial function with real coefficients. diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/polynomials/PolynomialFunctionNewtonForm.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/polynomials/PolynomialFunctionNewtonForm.java index e10bd42..9462b8c 100644 --- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/polynomials/PolynomialFunctionNewtonForm.java +++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/polynomials/PolynomialFunctionNewtonForm.java @@ -22,7 +22,6 @@ import org.apache.commons.math4.legacy.exception.DimensionMismatchException; import org.apache.commons.math4.legacy.exception.NoDataException; import org.apache.commons.math4.legacy.exception.NullArgumentException; import org.apache.commons.math4.legacy.exception.util.LocalizedFormats; -import org.apache.commons.math4.legacy.util.MathUtils; /** * Implements the representation of a real polynomial function in diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/solvers/FieldBracketingNthOrderBrentSolver.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/solvers/FieldBracketingNthOrderBrentSolver.java index a6cc1ba..9d5de5e 100644 --- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/solvers/FieldBracketingNthOrderBrentSolver.java +++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/solvers/FieldBracketingNthOrderBrentSolver.java @@ -26,7 +26,6 @@ import org.apache.commons.math4.legacy.exception.NullArgumentException; import org.apache.commons.math4.legacy.exception.NumberIsTooSmallException; import org.apache.commons.math4.legacy.util.IntegerSequence; import org.apache.commons.math4.legacy.util.MathArrays; -import org.apache.commons.math4.legacy.util.MathUtils; import org.apache.commons.numbers.core.Precision; /** diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/distribution/EmpiricalDistribution.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/distribution/EmpiricalDistribution.java index cc2881b..041f21f 100644 --- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/distribution/EmpiricalDistribution.java +++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/distribution/EmpiricalDistribution.java @@ -43,7 +43,6 @@ import org.apache.commons.math4.legacy.exception.util.LocalizedFormats; import org.apache.commons.math4.legacy.stat.descriptive.StatisticalSummary; import org.apache.commons.math4.legacy.stat.descriptive.SummaryStatistics; import org.apache.commons.math4.legacy.util.FastMath; -import org.apache.commons.math4.legacy.util.MathUtils; /** * <p>Represents an <a href="http://en.wikipedia.org/wiki/Empirical_distribution_function"> diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/filter/KalmanFilter.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/filter/KalmanFilter.java index b49f869..5e6f93e 100644 --- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/filter/KalmanFilter.java +++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/filter/KalmanFilter.java @@ -27,7 +27,6 @@ import org.apache.commons.math4.legacy.linear.NonSquareMatrixException; import org.apache.commons.math4.legacy.linear.RealMatrix; import org.apache.commons.math4.legacy.linear.RealVector; import org.apache.commons.math4.legacy.linear.SingularMatrixException; -import org.apache.commons.math4.legacy.util.MathUtils; /** * Implementation of a Kalman filter to estimate the state <i>x<sub>k</sub></i> diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/AbstractRealMatrix.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/AbstractRealMatrix.java index 5b3cef4..c1539b8 100644 --- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/AbstractRealMatrix.java +++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/AbstractRealMatrix.java @@ -29,7 +29,6 @@ import org.apache.commons.math4.legacy.exception.NumberIsTooSmallException; import org.apache.commons.math4.legacy.exception.OutOfRangeException; import org.apache.commons.math4.legacy.exception.util.LocalizedFormats; import org.apache.commons.math4.legacy.util.FastMath; -import org.apache.commons.math4.legacy.util.MathUtils; /** * Basic implementation of RealMatrix methods regardless of the underlying storage. diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/Array2DRowFieldMatrix.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/Array2DRowFieldMatrix.java index b8247db..474a6cb 100644 --- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/Array2DRowFieldMatrix.java +++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/Array2DRowFieldMatrix.java @@ -30,7 +30,6 @@ import org.apache.commons.math4.legacy.exception.NumberIsTooSmallException; import org.apache.commons.math4.legacy.exception.OutOfRangeException; import org.apache.commons.math4.legacy.exception.util.LocalizedFormats; import org.apache.commons.math4.legacy.util.MathArrays; -import org.apache.commons.math4.legacy.util.MathUtils; /** * Implementation of {@code FieldMatrix<T>} using a {@link FieldElement}[][] array to store entries. diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/Array2DRowRealMatrix.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/Array2DRowRealMatrix.java index d4d8cbd..f57ec2b 100644 --- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/Array2DRowRealMatrix.java +++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/Array2DRowRealMatrix.java @@ -27,7 +27,6 @@ import org.apache.commons.math4.legacy.exception.NullArgumentException; import org.apache.commons.math4.legacy.exception.NumberIsTooSmallException; import org.apache.commons.math4.legacy.exception.OutOfRangeException; import org.apache.commons.math4.legacy.exception.util.LocalizedFormats; -import org.apache.commons.math4.legacy.util.MathUtils; /** * Implementation of {@link RealMatrix} using a {@code double[][]} array to diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/ArrayFieldVector.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/ArrayFieldVector.java index b2ff81d..9d8944f 100644 --- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/ArrayFieldVector.java +++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/ArrayFieldVector.java @@ -31,7 +31,6 @@ import org.apache.commons.math4.legacy.exception.OutOfRangeException; import org.apache.commons.math4.legacy.exception.ZeroException; import org.apache.commons.math4.legacy.exception.util.LocalizedFormats; import org.apache.commons.math4.legacy.util.MathArrays; -import org.apache.commons.math4.legacy.util.MathUtils; /** * This class implements the {@link FieldVector} interface with a {@link FieldElement} array. diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/ArrayRealVector.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/ArrayRealVector.java index f4c8725..95b8f7b 100644 --- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/ArrayRealVector.java +++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/ArrayRealVector.java @@ -29,7 +29,6 @@ import org.apache.commons.math4.legacy.exception.NumberIsTooSmallException; import org.apache.commons.math4.legacy.exception.OutOfRangeException; import org.apache.commons.math4.legacy.exception.util.LocalizedFormats; import org.apache.commons.math4.legacy.util.FastMath; -import org.apache.commons.math4.legacy.util.MathUtils; /** * This class implements the {@link RealVector} interface with a double array. diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/BlockFieldMatrix.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/BlockFieldMatrix.java index 332731f..b255b9c 100644 --- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/BlockFieldMatrix.java +++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/BlockFieldMatrix.java @@ -30,7 +30,6 @@ import org.apache.commons.math4.legacy.exception.OutOfRangeException; import org.apache.commons.math4.legacy.exception.util.LocalizedFormats; import org.apache.commons.math4.legacy.util.FastMath; import org.apache.commons.math4.legacy.util.MathArrays; -import org.apache.commons.math4.legacy.util.MathUtils; /** * Cache-friendly implementation of FieldMatrix using a flat arrays to store diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/BlockRealMatrix.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/BlockRealMatrix.java index 0fa9a79..7dd1dd5 100644 --- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/BlockRealMatrix.java +++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/BlockRealMatrix.java @@ -28,7 +28,6 @@ import org.apache.commons.math4.legacy.exception.NumberIsTooSmallException; import org.apache.commons.math4.legacy.exception.OutOfRangeException; import org.apache.commons.math4.legacy.exception.util.LocalizedFormats; import org.apache.commons.math4.legacy.util.FastMath; -import org.apache.commons.math4.legacy.util.MathUtils; /** * Cache-friendly implementation of RealMatrix using a flat arrays to store diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/DiagonalMatrix.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/DiagonalMatrix.java index e2302d0..c0d766a 100644 --- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/DiagonalMatrix.java +++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/DiagonalMatrix.java @@ -24,7 +24,6 @@ import org.apache.commons.math4.legacy.exception.NullArgumentException; import org.apache.commons.math4.legacy.exception.NumberIsTooLargeException; import org.apache.commons.math4.legacy.exception.OutOfRangeException; import org.apache.commons.math4.legacy.util.FastMath; -import org.apache.commons.math4.legacy.util.MathUtils; import org.apache.commons.numbers.core.Precision; /** diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/IterativeLinearSolver.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/IterativeLinearSolver.java index 6d83cd2..6270954 100644 --- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/IterativeLinearSolver.java +++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/IterativeLinearSolver.java @@ -20,7 +20,6 @@ import org.apache.commons.math4.legacy.exception.DimensionMismatchException; import org.apache.commons.math4.legacy.exception.MaxCountExceededException; import org.apache.commons.math4.legacy.exception.NullArgumentException; import org.apache.commons.math4.legacy.util.IterationManager; -import org.apache.commons.math4.legacy.util.MathUtils; /** * This abstract class defines an iterative solver for the linear system A diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/MatrixUtils.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/MatrixUtils.java index d8eb3c5..8f074ae 100644 --- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/MatrixUtils.java +++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/MatrixUtils.java @@ -34,7 +34,6 @@ import org.apache.commons.math4.legacy.exception.ZeroException; import org.apache.commons.math4.legacy.exception.util.LocalizedFormats; import org.apache.commons.math4.legacy.util.FastMath; import org.apache.commons.math4.legacy.util.MathArrays; -import org.apache.commons.math4.legacy.util.MathUtils; import org.apache.commons.numbers.core.Precision; /** diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/PreconditionedIterativeLinearSolver.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/PreconditionedIterativeLinearSolver.java index 94d94de..4195c19 100644 --- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/PreconditionedIterativeLinearSolver.java +++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/PreconditionedIterativeLinearSolver.java @@ -20,7 +20,6 @@ import org.apache.commons.math4.legacy.exception.DimensionMismatchException; import org.apache.commons.math4.legacy.exception.MaxCountExceededException; import org.apache.commons.math4.legacy.exception.NullArgumentException; import org.apache.commons.math4.legacy.util.IterationManager; -import org.apache.commons.math4.legacy.util.MathUtils; /** * <p> diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/SparseFieldVector.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/SparseFieldVector.java index 0518538..0410e0e 100644 --- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/SparseFieldVector.java +++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/SparseFieldVector.java @@ -28,7 +28,6 @@ import org.apache.commons.math4.legacy.exception.NumberIsTooSmallException; import org.apache.commons.math4.legacy.exception.OutOfRangeException; import org.apache.commons.math4.legacy.exception.util.LocalizedFormats; import org.apache.commons.math4.legacy.util.MathArrays; -import org.apache.commons.math4.legacy.util.MathUtils; import org.apache.commons.math4.legacy.util.OpenIntToFieldHashMap; /** diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/SymmLQ.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/SymmLQ.java index 6e16c1d..8a4d7b1 100644 --- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/SymmLQ.java +++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/SymmLQ.java @@ -22,7 +22,6 @@ import org.apache.commons.math4.legacy.exception.NullArgumentException; import org.apache.commons.math4.legacy.exception.util.ExceptionContext; import org.apache.commons.math4.legacy.util.FastMath; import org.apache.commons.math4.legacy.util.IterationManager; -import org.apache.commons.math4.legacy.util.MathUtils; /** * <p> diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ode/MultistepFieldIntegrator.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ode/MultistepFieldIntegrator.java index 944fe01..c65b032 100644 --- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ode/MultistepFieldIntegrator.java +++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ode/MultistepFieldIntegrator.java @@ -32,7 +32,6 @@ import org.apache.commons.math4.legacy.ode.sampling.FieldStepHandler; import org.apache.commons.math4.legacy.ode.sampling.FieldStepInterpolator; import org.apache.commons.math4.legacy.util.FastMath; import org.apache.commons.math4.legacy.util.MathArrays; -import org.apache.commons.math4.legacy.util.MathUtils; /** * This class is the base class for multistep integrators for Ordinary diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ode/nonstiff/AdamsMoultonFieldIntegrator.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ode/nonstiff/AdamsMoultonFieldIntegrator.java index 4b02e52..1aee5f4 100644 --- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ode/nonstiff/AdamsMoultonFieldIntegrator.java +++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ode/nonstiff/AdamsMoultonFieldIntegrator.java @@ -31,7 +31,6 @@ import org.apache.commons.math4.legacy.ode.FieldExpandableODE; import org.apache.commons.math4.legacy.ode.FieldODEState; import org.apache.commons.math4.legacy.ode.FieldODEStateAndDerivative; import org.apache.commons.math4.legacy.util.MathArrays; -import org.apache.commons.math4.legacy.util.MathUtils; /** diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ode/nonstiff/AdaptiveStepsizeFieldIntegrator.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ode/nonstiff/AdaptiveStepsizeFieldIntegrator.java index 5377f50..94648d0 100644 --- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ode/nonstiff/AdaptiveStepsizeFieldIntegrator.java +++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ode/nonstiff/AdaptiveStepsizeFieldIntegrator.java @@ -29,7 +29,6 @@ import org.apache.commons.math4.legacy.ode.FieldODEState; import org.apache.commons.math4.legacy.ode.FieldODEStateAndDerivative; import org.apache.commons.math4.legacy.util.FastMath; import org.apache.commons.math4.legacy.util.MathArrays; -import org.apache.commons.math4.legacy.util.MathUtils; /** * This abstract class holds the common part of all adaptive diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ode/nonstiff/DormandPrince54FieldIntegrator.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ode/nonstiff/DormandPrince54FieldIntegrator.java index 64eaeb7..afa85d2 100644 --- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ode/nonstiff/DormandPrince54FieldIntegrator.java +++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ode/nonstiff/DormandPrince54FieldIntegrator.java @@ -22,7 +22,6 @@ import org.apache.commons.math4.legacy.RealFieldElement; import org.apache.commons.math4.legacy.ode.FieldEquationsMapper; import org.apache.commons.math4.legacy.ode.FieldODEStateAndDerivative; import org.apache.commons.math4.legacy.util.MathArrays; -import org.apache.commons.math4.legacy.util.MathUtils; /** diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ode/nonstiff/DormandPrince853FieldIntegrator.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ode/nonstiff/DormandPrince853FieldIntegrator.java index d89a80e..03b1567 100644 --- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ode/nonstiff/DormandPrince853FieldIntegrator.java +++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ode/nonstiff/DormandPrince853FieldIntegrator.java @@ -22,7 +22,6 @@ import org.apache.commons.math4.legacy.RealFieldElement; import org.apache.commons.math4.legacy.ode.FieldEquationsMapper; import org.apache.commons.math4.legacy.ode.FieldODEStateAndDerivative; import org.apache.commons.math4.legacy.util.MathArrays; -import org.apache.commons.math4.legacy.util.MathUtils; /** diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ode/nonstiff/EmbeddedRungeKuttaFieldIntegrator.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ode/nonstiff/EmbeddedRungeKuttaFieldIntegrator.java index 68765f7..f5ddea0 100644 --- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ode/nonstiff/EmbeddedRungeKuttaFieldIntegrator.java +++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ode/nonstiff/EmbeddedRungeKuttaFieldIntegrator.java @@ -28,7 +28,6 @@ import org.apache.commons.math4.legacy.ode.FieldExpandableODE; import org.apache.commons.math4.legacy.ode.FieldODEState; import org.apache.commons.math4.legacy.ode.FieldODEStateAndDerivative; import org.apache.commons.math4.legacy.util.MathArrays; -import org.apache.commons.math4.legacy.util.MathUtils; /** * This class implements the common part of all embedded Runge-Kutta diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ode/nonstiff/HighamHall54FieldIntegrator.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ode/nonstiff/HighamHall54FieldIntegrator.java index d3e7d9c..e48e10b 100644 --- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ode/nonstiff/HighamHall54FieldIntegrator.java +++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ode/nonstiff/HighamHall54FieldIntegrator.java @@ -22,7 +22,6 @@ import org.apache.commons.math4.legacy.RealFieldElement; import org.apache.commons.math4.legacy.ode.FieldEquationsMapper; import org.apache.commons.math4.legacy.ode.FieldODEStateAndDerivative; import org.apache.commons.math4.legacy.util.MathArrays; -import org.apache.commons.math4.legacy.util.MathUtils; /** diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/random/HaltonSequenceGenerator.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/random/HaltonSequenceGenerator.java index 3671b05..0fb7347 100644 --- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/random/HaltonSequenceGenerator.java +++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/random/HaltonSequenceGenerator.java @@ -20,7 +20,6 @@ import org.apache.commons.math4.legacy.exception.DimensionMismatchException; import org.apache.commons.math4.legacy.exception.NotPositiveException; import org.apache.commons.math4.legacy.exception.NullArgumentException; import org.apache.commons.math4.legacy.exception.OutOfRangeException; -import org.apache.commons.math4.legacy.util.MathUtils; /** * Implementation of a Halton sequence. diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/Frequency.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/Frequency.java index 2719d12..cfa9f7e 100644 --- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/Frequency.java +++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/Frequency.java @@ -30,7 +30,6 @@ import java.util.TreeMap; import org.apache.commons.math4.legacy.exception.NullArgumentException; import org.apache.commons.math4.legacy.exception.util.LocalizedFormats; -import org.apache.commons.math4.legacy.util.MathUtils; /** * Maintains a frequency distribution. diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/AbstractStorelessUnivariateStatistic.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/AbstractStorelessUnivariateStatistic.java index 6e3c21d..0da1b10 100644 --- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/AbstractStorelessUnivariateStatistic.java +++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/AbstractStorelessUnivariateStatistic.java @@ -20,7 +20,6 @@ import org.apache.commons.math4.legacy.exception.MathIllegalArgumentException; import org.apache.commons.math4.legacy.exception.NullArgumentException; import org.apache.commons.math4.legacy.exception.util.LocalizedFormats; import org.apache.commons.math4.legacy.util.MathArrays; -import org.apache.commons.math4.legacy.util.MathUtils; import org.apache.commons.numbers.core.Precision; /** diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/DescriptiveStatistics.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/DescriptiveStatistics.java index a1abfd4..0610073 100644 --- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/DescriptiveStatistics.java +++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/DescriptiveStatistics.java @@ -35,7 +35,6 @@ import org.apache.commons.math4.legacy.stat.descriptive.rank.Percentile; import org.apache.commons.math4.legacy.stat.descriptive.summary.Sum; import org.apache.commons.math4.legacy.stat.descriptive.summary.SumOfSquares; import org.apache.commons.math4.legacy.util.FastMath; -import org.apache.commons.math4.legacy.util.MathUtils; import org.apache.commons.math4.legacy.util.ResizableDoubleArray; diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/MultivariateSummaryStatistics.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/MultivariateSummaryStatistics.java index 9af80eb..ee2471f 100644 --- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/MultivariateSummaryStatistics.java +++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/MultivariateSummaryStatistics.java @@ -33,7 +33,6 @@ import org.apache.commons.math4.legacy.stat.descriptive.summary.SumOfLogs; import org.apache.commons.math4.legacy.stat.descriptive.summary.SumOfSquares; import org.apache.commons.math4.legacy.util.FastMath; import org.apache.commons.math4.legacy.util.MathArrays; -import org.apache.commons.math4.legacy.util.MathUtils; import org.apache.commons.numbers.core.Precision; /** diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/StatisticalSummaryValues.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/StatisticalSummaryValues.java index 2d98f9f..cfd8117 100644 --- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/StatisticalSummaryValues.java +++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/StatisticalSummaryValues.java @@ -19,7 +19,6 @@ package org.apache.commons.math4.legacy.stat.descriptive; import java.io.Serializable; import org.apache.commons.math4.legacy.util.FastMath; -import org.apache.commons.math4.legacy.util.MathUtils; import org.apache.commons.numbers.core.Precision; /** diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/SummaryStatistics.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/SummaryStatistics.java index dc53c1e..224492e 100644 --- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/SummaryStatistics.java +++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/SummaryStatistics.java @@ -31,7 +31,6 @@ import org.apache.commons.math4.legacy.stat.descriptive.summary.Sum; import org.apache.commons.math4.legacy.stat.descriptive.summary.SumOfLogs; import org.apache.commons.math4.legacy.stat.descriptive.summary.SumOfSquares; import org.apache.commons.math4.legacy.util.FastMath; -import org.apache.commons.math4.legacy.util.MathUtils; import org.apache.commons.numbers.core.Precision; /** diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/SynchronizedDescriptiveStatistics.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/SynchronizedDescriptiveStatistics.java index 8d31880..ef07e2b 100644 --- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/SynchronizedDescriptiveStatistics.java +++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/SynchronizedDescriptiveStatistics.java @@ -18,7 +18,6 @@ package org.apache.commons.math4.legacy.stat.descriptive; import org.apache.commons.math4.legacy.exception.MathIllegalArgumentException; import org.apache.commons.math4.legacy.exception.NullArgumentException; -import org.apache.commons.math4.legacy.util.MathUtils; /** * Implementation of diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/SynchronizedSummaryStatistics.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/SynchronizedSummaryStatistics.java index f421751..8d9f8b7 100644 --- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/SynchronizedSummaryStatistics.java +++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/SynchronizedSummaryStatistics.java @@ -18,7 +18,6 @@ package org.apache.commons.math4.legacy.stat.descriptive; import org.apache.commons.math4.legacy.exception.MathIllegalStateException; import org.apache.commons.math4.legacy.exception.NullArgumentException; -import org.apache.commons.math4.legacy.util.MathUtils; /** * Implementation of diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/moment/FirstMoment.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/moment/FirstMoment.java index 90fb0fa..d1da0e5 100644 --- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/moment/FirstMoment.java +++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/moment/FirstMoment.java @@ -20,7 +20,6 @@ import java.io.Serializable; import org.apache.commons.math4.legacy.exception.NullArgumentException; import org.apache.commons.math4.legacy.stat.descriptive.AbstractStorelessUnivariateStatistic; -import org.apache.commons.math4.legacy.util.MathUtils; /** * Computes the first moment (arithmetic mean). Uses the definitional formula: diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/moment/FourthMoment.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/moment/FourthMoment.java index d4ab86d..4392f9a 100644 --- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/moment/FourthMoment.java +++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/moment/FourthMoment.java @@ -19,7 +19,6 @@ package org.apache.commons.math4.legacy.stat.descriptive.moment; import java.io.Serializable; import org.apache.commons.math4.legacy.exception.NullArgumentException; -import org.apache.commons.math4.legacy.util.MathUtils; /** * Computes a statistic related to the Fourth Central Moment. Specifically, diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/moment/GeometricMean.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/moment/GeometricMean.java index 895b247..6a5507e 100644 --- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/moment/GeometricMean.java +++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/moment/GeometricMean.java @@ -26,7 +26,6 @@ import org.apache.commons.math4.legacy.stat.descriptive.AbstractStorelessUnivari import org.apache.commons.math4.legacy.stat.descriptive.StorelessUnivariateStatistic; import org.apache.commons.math4.legacy.stat.descriptive.summary.SumOfLogs; import org.apache.commons.math4.legacy.util.FastMath; -import org.apache.commons.math4.legacy.util.MathUtils; /** * Returns the <a href="http://www.xycoon.com/geometric_mean.htm"> diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/moment/Kurtosis.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/moment/Kurtosis.java index 4d53247..2791b9f 100644 --- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/moment/Kurtosis.java +++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/moment/Kurtosis.java @@ -23,7 +23,6 @@ import org.apache.commons.math4.legacy.exception.NullArgumentException; import org.apache.commons.math4.legacy.stat.descriptive.AbstractStorelessUnivariateStatistic; import org.apache.commons.math4.legacy.util.FastMath; import org.apache.commons.math4.legacy.util.MathArrays; -import org.apache.commons.math4.legacy.util.MathUtils; /** diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/moment/Mean.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/moment/Mean.java index c5fb2de..82b23d2 100644 --- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/moment/Mean.java +++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/moment/Mean.java @@ -24,7 +24,6 @@ import org.apache.commons.math4.legacy.stat.descriptive.AbstractStorelessUnivari import org.apache.commons.math4.legacy.stat.descriptive.WeightedEvaluation; import org.apache.commons.math4.legacy.stat.descriptive.summary.Sum; import org.apache.commons.math4.legacy.util.MathArrays; -import org.apache.commons.math4.legacy.util.MathUtils; /** * Computes the arithmetic mean of a set of values. Uses the definitional diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/moment/SecondMoment.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/moment/SecondMoment.java index 12ac493..943330e 100644 --- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/moment/SecondMoment.java +++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/moment/SecondMoment.java @@ -19,7 +19,6 @@ package org.apache.commons.math4.legacy.stat.descriptive.moment; import java.io.Serializable; import org.apache.commons.math4.legacy.exception.NullArgumentException; -import org.apache.commons.math4.legacy.util.MathUtils; /** * Computes a statistic related to the Second Central Moment. Specifically, diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/moment/SemiVariance.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/moment/SemiVariance.java index a47cb58..f590a84 100644 --- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/moment/SemiVariance.java +++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/moment/SemiVariance.java @@ -23,7 +23,6 @@ import org.apache.commons.math4.legacy.exception.MathIllegalArgumentException; import org.apache.commons.math4.legacy.exception.NullArgumentException; import org.apache.commons.math4.legacy.stat.descriptive.AbstractUnivariateStatistic; import org.apache.commons.math4.legacy.util.MathArrays; -import org.apache.commons.math4.legacy.util.MathUtils; /** * <p>Computes the semivariance of a set of values with respect to a given cutoff value. diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/moment/Skewness.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/moment/Skewness.java index 55d047c..2049245 100644 --- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/moment/Skewness.java +++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/moment/Skewness.java @@ -23,7 +23,6 @@ import org.apache.commons.math4.legacy.exception.NullArgumentException; import org.apache.commons.math4.legacy.stat.descriptive.AbstractStorelessUnivariateStatistic; import org.apache.commons.math4.legacy.util.FastMath; import org.apache.commons.math4.legacy.util.MathArrays; -import org.apache.commons.math4.legacy.util.MathUtils; /** * Computes the skewness of the available values. diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/moment/StandardDeviation.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/moment/StandardDeviation.java index e98c593..cae7c12 100644 --- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/moment/StandardDeviation.java +++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/moment/StandardDeviation.java @@ -22,7 +22,6 @@ import org.apache.commons.math4.legacy.exception.MathIllegalArgumentException; import org.apache.commons.math4.legacy.exception.NullArgumentException; import org.apache.commons.math4.legacy.stat.descriptive.AbstractStorelessUnivariateStatistic; import org.apache.commons.math4.legacy.util.FastMath; -import org.apache.commons.math4.legacy.util.MathUtils; /** * Computes the sample standard deviation. The standard deviation diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/moment/ThirdMoment.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/moment/ThirdMoment.java index 7f647b4..7eea1e2 100644 --- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/moment/ThirdMoment.java +++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/moment/ThirdMoment.java @@ -19,7 +19,6 @@ package org.apache.commons.math4.legacy.stat.descriptive.moment; import java.io.Serializable; import org.apache.commons.math4.legacy.exception.NullArgumentException; -import org.apache.commons.math4.legacy.util.MathUtils; /** diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/moment/Variance.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/moment/Variance.java index 0415f6d..a58810a 100644 --- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/moment/Variance.java +++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/moment/Variance.java @@ -24,7 +24,6 @@ import org.apache.commons.math4.legacy.exception.util.LocalizedFormats; import org.apache.commons.math4.legacy.stat.descriptive.AbstractStorelessUnivariateStatistic; import org.apache.commons.math4.legacy.stat.descriptive.WeightedEvaluation; import org.apache.commons.math4.legacy.util.MathArrays; -import org.apache.commons.math4.legacy.util.MathUtils; /** * Computes the variance of the available values. By default, the unbiased diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/rank/Max.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/rank/Max.java index cda6956..0e4f85e 100644 --- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/rank/Max.java +++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/rank/Max.java @@ -22,7 +22,6 @@ import org.apache.commons.math4.legacy.exception.MathIllegalArgumentException; import org.apache.commons.math4.legacy.exception.NullArgumentException; import org.apache.commons.math4.legacy.stat.descriptive.AbstractStorelessUnivariateStatistic; import org.apache.commons.math4.legacy.util.MathArrays; -import org.apache.commons.math4.legacy.util.MathUtils; /** * Returns the maximum of the available values. diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/rank/Min.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/rank/Min.java index 7f8f56e..0ce7b45 100644 --- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/rank/Min.java +++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/rank/Min.java @@ -22,7 +22,6 @@ import org.apache.commons.math4.legacy.exception.MathIllegalArgumentException; import org.apache.commons.math4.legacy.exception.NullArgumentException; import org.apache.commons.math4.legacy.stat.descriptive.AbstractStorelessUnivariateStatistic; import org.apache.commons.math4.legacy.util.MathArrays; -import org.apache.commons.math4.legacy.util.MathUtils; /** * Returns the minimum of the available values. diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/summary/Product.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/summary/Product.java index 833186c..2ac140a 100644 --- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/summary/Product.java +++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/summary/Product.java @@ -24,7 +24,6 @@ import org.apache.commons.math4.legacy.stat.descriptive.AbstractStorelessUnivari import org.apache.commons.math4.legacy.stat.descriptive.WeightedEvaluation; import org.apache.commons.math4.legacy.util.FastMath; import org.apache.commons.math4.legacy.util.MathArrays; -import org.apache.commons.math4.legacy.util.MathUtils; /** * Returns the product of the available values. diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/summary/Sum.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/summary/Sum.java index 7935892..fc8b723 100644 --- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/summary/Sum.java +++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/summary/Sum.java @@ -22,7 +22,6 @@ import org.apache.commons.math4.legacy.exception.MathIllegalArgumentException; import org.apache.commons.math4.legacy.exception.NullArgumentException; import org.apache.commons.math4.legacy.stat.descriptive.AbstractStorelessUnivariateStatistic; import org.apache.commons.math4.legacy.util.MathArrays; -import org.apache.commons.math4.legacy.util.MathUtils; /** diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/summary/SumOfLogs.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/summary/SumOfLogs.java index be1938d..dd709eb 100644 --- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/summary/SumOfLogs.java +++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/summary/SumOfLogs.java @@ -23,7 +23,6 @@ import org.apache.commons.math4.legacy.exception.NullArgumentException; import org.apache.commons.math4.legacy.stat.descriptive.AbstractStorelessUnivariateStatistic; import org.apache.commons.math4.legacy.util.FastMath; import org.apache.commons.math4.legacy.util.MathArrays; -import org.apache.commons.math4.legacy.util.MathUtils; /** * Returns the sum of the natural logs for this collection of values. diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/summary/SumOfSquares.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/summary/SumOfSquares.java index 54083f2..a0d3eeb 100644 --- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/summary/SumOfSquares.java +++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/summary/SumOfSquares.java @@ -22,7 +22,6 @@ import org.apache.commons.math4.legacy.exception.MathIllegalArgumentException; import org.apache.commons.math4.legacy.exception.NullArgumentException; import org.apache.commons.math4.legacy.stat.descriptive.AbstractStorelessUnivariateStatistic; import org.apache.commons.math4.legacy.util.MathArrays; -import org.apache.commons.math4.legacy.util.MathUtils; /** * Returns the sum of the squares of the available values. diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/inference/KolmogorovSmirnovTest.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/inference/KolmogorovSmirnovTest.java index e3512ee..fd6fec2 100644 --- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/inference/KolmogorovSmirnovTest.java +++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/inference/KolmogorovSmirnovTest.java @@ -41,7 +41,6 @@ import org.apache.commons.math4.legacy.linear.MatrixUtils; import org.apache.commons.math4.legacy.linear.RealMatrix; import org.apache.commons.math4.legacy.util.FastMath; import org.apache.commons.math4.legacy.util.MathArrays; -import org.apache.commons.math4.legacy.util.MathUtils; import org.apache.commons.math4.legacy.field.linalg.FieldDenseMatrix; /** diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/inference/OneWayAnova.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/inference/OneWayAnova.java index b4d41ea..192c13f 100644 --- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/inference/OneWayAnova.java +++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/inference/OneWayAnova.java @@ -27,7 +27,6 @@ import org.apache.commons.math4.legacy.exception.NullArgumentException; import org.apache.commons.math4.legacy.exception.OutOfRangeException; import org.apache.commons.math4.legacy.exception.util.LocalizedFormats; import org.apache.commons.math4.legacy.stat.descriptive.SummaryStatistics; -import org.apache.commons.math4.legacy.util.MathUtils; /** * Implements one-way ANOVA (analysis of variance) statistics. diff --git a/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/ode/ContinuousOutputFieldModelTest.java b/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/ode/ContinuousOutputFieldModelTest.java index 7027738..4d2aae6 100644 --- a/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/ode/ContinuousOutputFieldModelTest.java +++ b/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/ode/ContinuousOutputFieldModelTest.java @@ -30,7 +30,6 @@ import org.apache.commons.math4.legacy.ode.sampling.FieldStepInterpolator; import org.apache.commons.math4.legacy.util.Decimal64Field; import org.apache.commons.math4.legacy.util.FastMath; import org.apache.commons.math4.legacy.util.MathArrays; -import org.apache.commons.math4.legacy.util.MathUtils; import org.junit.Assert; import org.junit.Test; diff --git a/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/ode/TestFieldProblemHandler.java b/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/ode/TestFieldProblemHandler.java index 5e48495..dc192d9 100644 --- a/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/ode/TestFieldProblemHandler.java +++ b/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/ode/TestFieldProblemHandler.java @@ -21,7 +21,6 @@ import org.apache.commons.math4.legacy.RealFieldElement; import org.apache.commons.math4.legacy.exception.MaxCountExceededException; import org.apache.commons.math4.legacy.ode.sampling.FieldStepHandler; import org.apache.commons.math4.legacy.ode.sampling.FieldStepInterpolator; -import org.apache.commons.math4.legacy.util.MathUtils; /** * This class is used to handle steps for the test problems