You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by er...@apache.org on 2021/06/01 15:37:57 UTC

[commons-math] branch master updated (787d42e -> 1da0c57)

This is an automated email from the ASF dual-hosted git repository.

erans pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/commons-math.git.


    from 787d42e  MATH-1595: Interface is not used anymore.
     new 02d14e6  Utility class moved to module "commons-math-legacy-core".
     new ba2a1c2  Utility class moved to module "commons-math-legacy-core".
     new 1da0c57  Dependency not needed.

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../java/org/apache/commons/math4/legacy/core}/IntegerSequence.java | 2 +-
 .../src/main/java/org/apache/commons/math4/legacy/core}/Pair.java   | 2 +-
 .../org/apache/commons/math4/legacy/core}/IntegerSequenceTest.java  | 2 +-
 .../test/java/org/apache/commons/math4/legacy/core}/PairTest.java   | 2 +-
 commons-math-legacy/pom.xml                                         | 6 ------
 .../analysis/integration/BaseAbstractUnivariateIntegrator.java      | 2 +-
 .../math4/legacy/analysis/integration/gauss/BaseRuleFactory.java    | 2 +-
 .../math4/legacy/analysis/integration/gauss/GaussIntegrator.java    | 2 +-
 .../legacy/analysis/integration/gauss/GaussIntegratorFactory.java   | 2 +-
 .../math4/legacy/analysis/integration/gauss/HermiteRuleFactory.java | 2 +-
 .../legacy/analysis/integration/gauss/LaguerreRuleFactory.java      | 2 +-
 .../integration/gauss/LegendreHighPrecisionRuleFactory.java         | 2 +-
 .../legacy/analysis/integration/gauss/LegendreRuleFactory.java      | 2 +-
 .../legacy/analysis/integration/gauss/SymmetricGaussIntegrator.java | 2 +-
 .../math4/legacy/analysis/solvers/BaseAbstractUnivariateSolver.java | 2 +-
 .../legacy/analysis/solvers/FieldBracketingNthOrderBrentSolver.java | 2 +-
 .../commons/math4/legacy/distribution/EnumeratedDistribution.java   | 2 +-
 .../math4/legacy/distribution/EnumeratedIntegerDistribution.java    | 2 +-
 .../math4/legacy/distribution/EnumeratedRealDistribution.java       | 2 +-
 .../legacy/distribution/MixtureMultivariateNormalDistribution.java  | 2 +-
 .../legacy/distribution/MixtureMultivariateRealDistribution.java    | 2 +-
 .../fitting/MultivariateNormalMixtureExpectationMaximization.java   | 2 +-
 .../DifferentiatorVectorMultivariateJacobianFunction.java           | 2 +-
 .../math4/legacy/fitting/leastsquares/GaussNewtonOptimizer.java     | 4 ++--
 .../math4/legacy/fitting/leastsquares/LeastSquaresAdapter.java      | 2 +-
 .../math4/legacy/fitting/leastsquares/LeastSquaresFactory.java      | 4 ++--
 .../legacy/fitting/leastsquares/LevenbergMarquardtOptimizer.java    | 2 +-
 .../legacy/fitting/leastsquares/MultivariateJacobianFunction.java   | 2 +-
 .../org/apache/commons/math4/legacy/linear/IterationManager.java    | 2 +-
 .../apache/commons/math4/legacy/linear/IterativeLinearSolver.java   | 2 +-
 .../math4/legacy/linear/PreconditionedIterativeLinearSolver.java    | 2 +-
 .../main/java/org/apache/commons/math4/legacy/linear/SymmLQ.java    | 2 +-
 .../math4/legacy/ml/clustering/MiniBatchKMeansClusterer.java        | 2 +-
 .../apache/commons/math4/legacy/ode/AbstractFieldIntegrator.java    | 2 +-
 .../org/apache/commons/math4/legacy/ode/AbstractIntegrator.java     | 2 +-
 .../commons/math4/legacy/optim/AbstractOptimizationProblem.java     | 2 +-
 .../java/org/apache/commons/math4/legacy/optim/BaseOptimizer.java   | 2 +-
 .../org/apache/commons/math4/legacy/optim/OptimizationProblem.java  | 2 +-
 .../java/org/apache/commons/math4/legacy/optim/PointValuePair.java  | 2 +-
 .../org/apache/commons/math4/legacy/optim/PointVectorValuePair.java | 2 +-
 .../org/apache/commons/math4/legacy/optim/SimplePointChecker.java   | 2 +-
 .../apache/commons/math4/legacy/optim/univariate/BracketFinder.java | 2 +-
 .../commons/math4/legacy/stat/correlation/KendallsCorrelation.java  | 2 +-
 .../legacy/analysis/integration/gauss/BaseRuleFactoryTest.java      | 2 +-
 .../legacy/analysis/integration/gauss/GaussIntegratorTest.java      | 2 +-
 .../math4/legacy/distribution/EnumeratedRealDistributionTest.java   | 2 +-
 .../distribution/MixtureMultivariateNormalDistributionTest.java     | 2 +-
 .../MultivariateNormalMixtureExpectationMaximizationTest.java       | 2 +-
 .../commons/math4/legacy/field/linalg/FP64FieldDenseMatrixTest.java | 6 +++---
 .../leastsquares/AbstractLeastSquaresOptimizerAbstractTest.java     | 2 +-
 .../commons/math4/legacy/fitting/leastsquares/EvaluationTest.java   | 2 +-
 51 files changed, 54 insertions(+), 60 deletions(-)
 rename {commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/util => commons-math-legacy-core/src/main/java/org/apache/commons/math4/legacy/core}/IntegerSequence.java (99%)
 rename {commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/util => commons-math-legacy-core/src/main/java/org/apache/commons/math4/legacy/core}/Pair.java (98%)
 rename {commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/util => commons-math-legacy-core/src/test/java/org/apache/commons/math4/legacy/core}/IntegerSequenceTest.java (99%)
 rename {commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/util => commons-math-legacy-core/src/test/java/org/apache/commons/math4/legacy/core}/PairTest.java (98%)

[commons-math] 02/03: Utility class moved to module "commons-math-legacy-core".

Posted by er...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

erans pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-math.git

commit ba2a1c2434add14499adb16a8c46c3063835d85e
Author: Gilles Sadowski <gi...@gmail.com>
AuthorDate: Tue Jun 1 17:31:40 2021 +0200

    Utility class moved to module "commons-math-legacy-core".
---
 .../src/main/java/org/apache/commons/math4/legacy/core}/Pair.java   | 2 +-
 .../test/java/org/apache/commons/math4/legacy/core}/PairTest.java   | 2 +-
 .../math4/legacy/analysis/integration/gauss/BaseRuleFactory.java    | 2 +-
 .../math4/legacy/analysis/integration/gauss/GaussIntegrator.java    | 2 +-
 .../legacy/analysis/integration/gauss/GaussIntegratorFactory.java   | 2 +-
 .../math4/legacy/analysis/integration/gauss/HermiteRuleFactory.java | 2 +-
 .../legacy/analysis/integration/gauss/LaguerreRuleFactory.java      | 2 +-
 .../integration/gauss/LegendreHighPrecisionRuleFactory.java         | 2 +-
 .../legacy/analysis/integration/gauss/LegendreRuleFactory.java      | 2 +-
 .../legacy/analysis/integration/gauss/SymmetricGaussIntegrator.java | 2 +-
 .../commons/math4/legacy/distribution/EnumeratedDistribution.java   | 2 +-
 .../math4/legacy/distribution/EnumeratedIntegerDistribution.java    | 2 +-
 .../math4/legacy/distribution/EnumeratedRealDistribution.java       | 2 +-
 .../legacy/distribution/MixtureMultivariateNormalDistribution.java  | 2 +-
 .../legacy/distribution/MixtureMultivariateRealDistribution.java    | 2 +-
 .../fitting/MultivariateNormalMixtureExpectationMaximization.java   | 2 +-
 .../DifferentiatorVectorMultivariateJacobianFunction.java           | 2 +-
 .../math4/legacy/fitting/leastsquares/GaussNewtonOptimizer.java     | 2 +-
 .../math4/legacy/fitting/leastsquares/LeastSquaresFactory.java      | 2 +-
 .../legacy/fitting/leastsquares/MultivariateJacobianFunction.java   | 2 +-
 .../math4/legacy/ml/clustering/MiniBatchKMeansClusterer.java        | 2 +-
 .../java/org/apache/commons/math4/legacy/optim/PointValuePair.java  | 2 +-
 .../org/apache/commons/math4/legacy/optim/PointVectorValuePair.java | 2 +-
 .../org/apache/commons/math4/legacy/optim/SimplePointChecker.java   | 2 +-
 .../commons/math4/legacy/stat/correlation/KendallsCorrelation.java  | 2 +-
 .../legacy/analysis/integration/gauss/BaseRuleFactoryTest.java      | 2 +-
 .../legacy/analysis/integration/gauss/GaussIntegratorTest.java      | 2 +-
 .../math4/legacy/distribution/EnumeratedRealDistributionTest.java   | 2 +-
 .../distribution/MixtureMultivariateNormalDistributionTest.java     | 2 +-
 .../MultivariateNormalMixtureExpectationMaximizationTest.java       | 2 +-
 .../commons/math4/legacy/field/linalg/FP64FieldDenseMatrixTest.java | 6 +++---
 .../leastsquares/AbstractLeastSquaresOptimizerAbstractTest.java     | 2 +-
 .../commons/math4/legacy/fitting/leastsquares/EvaluationTest.java   | 2 +-
 33 files changed, 35 insertions(+), 35 deletions(-)

diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/util/Pair.java b/commons-math-legacy-core/src/main/java/org/apache/commons/math4/legacy/core/Pair.java
similarity index 98%
rename from commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/util/Pair.java
rename to commons-math-legacy-core/src/main/java/org/apache/commons/math4/legacy/core/Pair.java
index ea6a138..8e5620d 100644
--- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/util/Pair.java
+++ b/commons-math-legacy-core/src/main/java/org/apache/commons/math4/legacy/core/Pair.java
@@ -14,7 +14,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package org.apache.commons.math4.legacy.util;
+package org.apache.commons.math4.legacy.core;
 
 /**
  * Generic pair.
diff --git a/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/util/PairTest.java b/commons-math-legacy-core/src/test/java/org/apache/commons/math4/legacy/core/PairTest.java
similarity index 98%
rename from commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/util/PairTest.java
rename to commons-math-legacy-core/src/test/java/org/apache/commons/math4/legacy/core/PairTest.java
index 347a008..316227f 100644
--- a/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/util/PairTest.java
+++ b/commons-math-legacy-core/src/test/java/org/apache/commons/math4/legacy/core/PairTest.java
@@ -11,7 +11,7 @@
  * KIND, either express or implied. See the License for the specific language
  * governing permissions and limitations under the License.
  */
-package org.apache.commons.math4.legacy.util;
+package org.apache.commons.math4.legacy.core;
 
 import org.junit.Assert;
 import org.junit.Test;
diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/integration/gauss/BaseRuleFactory.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/integration/gauss/BaseRuleFactory.java
index 4c479bc..f36fdbd 100644
--- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/integration/gauss/BaseRuleFactory.java
+++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/integration/gauss/BaseRuleFactory.java
@@ -22,7 +22,7 @@ import java.util.TreeMap;
 import org.apache.commons.math4.legacy.exception.DimensionMismatchException;
 import org.apache.commons.math4.legacy.exception.NotStrictlyPositiveException;
 import org.apache.commons.math4.legacy.exception.util.LocalizedFormats;
-import org.apache.commons.math4.legacy.util.Pair;
+import org.apache.commons.math4.legacy.core.Pair;
 
 /**
  * Base class for rules that determines the integration nodes and their
diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/integration/gauss/GaussIntegrator.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/integration/gauss/GaussIntegrator.java
index 616b48b..8494a87 100644
--- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/integration/gauss/GaussIntegrator.java
+++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/integration/gauss/GaussIntegrator.java
@@ -19,7 +19,7 @@ package org.apache.commons.math4.legacy.analysis.integration.gauss;
 import org.apache.commons.math4.legacy.analysis.UnivariateFunction;
 import org.apache.commons.math4.legacy.exception.DimensionMismatchException;
 import org.apache.commons.math4.legacy.core.MathArrays;
-import org.apache.commons.math4.legacy.util.Pair;
+import org.apache.commons.math4.legacy.core.Pair;
 
 /**
  * Class that implements the Gaussian rule for
diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/integration/gauss/GaussIntegratorFactory.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/integration/gauss/GaussIntegratorFactory.java
index 21e8783..0d65941 100644
--- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/integration/gauss/GaussIntegratorFactory.java
+++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/integration/gauss/GaussIntegratorFactory.java
@@ -16,7 +16,7 @@
  */
 package org.apache.commons.math4.legacy.analysis.integration.gauss;
 
-import org.apache.commons.math4.legacy.util.Pair;
+import org.apache.commons.math4.legacy.core.Pair;
 import java.math.BigDecimal;
 
 /**
diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/integration/gauss/HermiteRuleFactory.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/integration/gauss/HermiteRuleFactory.java
index edc5a94..fddf695 100644
--- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/integration/gauss/HermiteRuleFactory.java
+++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/integration/gauss/HermiteRuleFactory.java
@@ -17,7 +17,7 @@
 package org.apache.commons.math4.legacy.analysis.integration.gauss;
 
 import org.apache.commons.math4.legacy.core.jdkmath.AccurateMath;
-import org.apache.commons.math4.legacy.util.Pair;
+import org.apache.commons.math4.legacy.core.Pair;
 
 /**
  * Factory that creates a
diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/integration/gauss/LaguerreRuleFactory.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/integration/gauss/LaguerreRuleFactory.java
index 9b28a31..76fd2c3 100644
--- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/integration/gauss/LaguerreRuleFactory.java
+++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/integration/gauss/LaguerreRuleFactory.java
@@ -23,7 +23,7 @@ import org.apache.commons.math4.legacy.analysis.polynomials.PolynomialsUtils;
 import org.apache.commons.math4.legacy.linear.EigenDecomposition;
 import org.apache.commons.math4.legacy.linear.MatrixUtils;
 import org.apache.commons.math4.legacy.linear.RealMatrix;
-import org.apache.commons.math4.legacy.util.Pair;
+import org.apache.commons.math4.legacy.core.Pair;
 
 /**
  * Factory that creates Gauss-type quadrature rule using Laguerre polynomials.
diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/integration/gauss/LegendreHighPrecisionRuleFactory.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/integration/gauss/LegendreHighPrecisionRuleFactory.java
index db99600..7ce9734 100644
--- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/integration/gauss/LegendreHighPrecisionRuleFactory.java
+++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/integration/gauss/LegendreHighPrecisionRuleFactory.java
@@ -19,7 +19,7 @@ package org.apache.commons.math4.legacy.analysis.integration.gauss;
 import java.math.BigDecimal;
 import java.math.MathContext;
 
-import org.apache.commons.math4.legacy.util.Pair;
+import org.apache.commons.math4.legacy.core.Pair;
 
 /**
  * Factory that creates Gauss-type quadrature rule using Legendre polynomials.
diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/integration/gauss/LegendreRuleFactory.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/integration/gauss/LegendreRuleFactory.java
index a1548bd..b4aecba 100644
--- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/integration/gauss/LegendreRuleFactory.java
+++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/integration/gauss/LegendreRuleFactory.java
@@ -16,7 +16,7 @@
  */
 package org.apache.commons.math4.legacy.analysis.integration.gauss;
 
-import org.apache.commons.math4.legacy.util.Pair;
+import org.apache.commons.math4.legacy.core.Pair;
 
 /**
  * Factory that creates Gauss-type quadrature rule using Legendre polynomials.
diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/integration/gauss/SymmetricGaussIntegrator.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/integration/gauss/SymmetricGaussIntegrator.java
index a441e0c..b12177b 100644
--- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/integration/gauss/SymmetricGaussIntegrator.java
+++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/integration/gauss/SymmetricGaussIntegrator.java
@@ -17,7 +17,7 @@
 package org.apache.commons.math4.legacy.analysis.integration.gauss;
 
 import org.apache.commons.math4.legacy.analysis.UnivariateFunction;
-import org.apache.commons.math4.legacy.util.Pair;
+import org.apache.commons.math4.legacy.core.Pair;
 
 /**
  * This class's implements {@link #integrate(UnivariateFunction) integrate}
diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/distribution/EnumeratedDistribution.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/distribution/EnumeratedDistribution.java
index a7d4d93..d7dc9d8 100644
--- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/distribution/EnumeratedDistribution.java
+++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/distribution/EnumeratedDistribution.java
@@ -31,7 +31,7 @@ import org.apache.commons.math4.legacy.exception.util.LocalizedFormats;
 import org.apache.commons.rng.UniformRandomProvider;
 import org.apache.commons.rng.sampling.DiscreteProbabilityCollectionSampler;
 import org.apache.commons.math4.legacy.core.MathArrays;
-import org.apache.commons.math4.legacy.util.Pair;
+import org.apache.commons.math4.legacy.core.Pair;
 
 /**
  * <p>A generic implementation of a
diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/distribution/EnumeratedIntegerDistribution.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/distribution/EnumeratedIntegerDistribution.java
index c6447d8..52e0534 100644
--- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/distribution/EnumeratedIntegerDistribution.java
+++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/distribution/EnumeratedIntegerDistribution.java
@@ -29,7 +29,7 @@ import org.apache.commons.math4.legacy.exception.NotANumberException;
 import org.apache.commons.math4.legacy.exception.NotFiniteNumberException;
 import org.apache.commons.math4.legacy.exception.NotPositiveException;
 import org.apache.commons.rng.UniformRandomProvider;
-import org.apache.commons.math4.legacy.util.Pair;
+import org.apache.commons.math4.legacy.core.Pair;
 
 /**
  * <p>Implementation of an integer-valued {@link EnumeratedDistribution}.</p>
diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/distribution/EnumeratedRealDistribution.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/distribution/EnumeratedRealDistribution.java
index 4ec81a8..bf71261 100644
--- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/distribution/EnumeratedRealDistribution.java
+++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/distribution/EnumeratedRealDistribution.java
@@ -31,7 +31,7 @@ import org.apache.commons.math4.legacy.exception.NotFiniteNumberException;
 import org.apache.commons.math4.legacy.exception.NotPositiveException;
 import org.apache.commons.math4.legacy.exception.OutOfRangeException;
 import org.apache.commons.rng.UniformRandomProvider;
-import org.apache.commons.math4.legacy.util.Pair;
+import org.apache.commons.math4.legacy.core.Pair;
 
 /**
  * <p>Implementation of a real-valued {@link EnumeratedDistribution}.
diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/distribution/MixtureMultivariateNormalDistribution.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/distribution/MixtureMultivariateNormalDistribution.java
index 487a5a4..b93fdc3 100644
--- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/distribution/MixtureMultivariateNormalDistribution.java
+++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/distribution/MixtureMultivariateNormalDistribution.java
@@ -21,7 +21,7 @@ import java.util.List;
 
 import org.apache.commons.math4.legacy.exception.DimensionMismatchException;
 import org.apache.commons.math4.legacy.exception.NotPositiveException;
-import org.apache.commons.math4.legacy.util.Pair;
+import org.apache.commons.math4.legacy.core.Pair;
 
 /**
  * Multivariate normal mixture distribution.
diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/distribution/MixtureMultivariateRealDistribution.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/distribution/MixtureMultivariateRealDistribution.java
index e05cc40..086df0a 100644
--- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/distribution/MixtureMultivariateRealDistribution.java
+++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/distribution/MixtureMultivariateRealDistribution.java
@@ -24,7 +24,7 @@ import org.apache.commons.math4.legacy.exception.MathArithmeticException;
 import org.apache.commons.math4.legacy.exception.NotPositiveException;
 import org.apache.commons.math4.legacy.exception.util.LocalizedFormats;
 import org.apache.commons.rng.UniformRandomProvider;
-import org.apache.commons.math4.legacy.util.Pair;
+import org.apache.commons.math4.legacy.core.Pair;
 
 /**
  * Class for representing <a href="http://en.wikipedia.org/wiki/Mixture_model">
diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/distribution/fitting/MultivariateNormalMixtureExpectationMaximization.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/distribution/fitting/MultivariateNormalMixtureExpectationMaximization.java
index c5b2c3a..450a1ba 100644
--- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/distribution/fitting/MultivariateNormalMixtureExpectationMaximization.java
+++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/distribution/fitting/MultivariateNormalMixtureExpectationMaximization.java
@@ -34,7 +34,7 @@ import org.apache.commons.math4.legacy.linear.SingularMatrixException;
 import org.apache.commons.math4.legacy.stat.correlation.Covariance;
 import org.apache.commons.math4.legacy.core.jdkmath.AccurateMath;
 import org.apache.commons.math4.legacy.core.MathArrays;
-import org.apache.commons.math4.legacy.util.Pair;
+import org.apache.commons.math4.legacy.core.Pair;
 
 /**
  * Expectation-Maximization algorithm for fitting the parameters of
diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/fitting/leastsquares/DifferentiatorVectorMultivariateJacobianFunction.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/fitting/leastsquares/DifferentiatorVectorMultivariateJacobianFunction.java
index ad9de46..34ce3bb 100644
--- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/fitting/leastsquares/DifferentiatorVectorMultivariateJacobianFunction.java
+++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/fitting/leastsquares/DifferentiatorVectorMultivariateJacobianFunction.java
@@ -24,7 +24,7 @@ import org.apache.commons.math4.legacy.linear.Array2DRowRealMatrix;
 import org.apache.commons.math4.legacy.linear.ArrayRealVector;
 import org.apache.commons.math4.legacy.linear.RealMatrix;
 import org.apache.commons.math4.legacy.linear.RealVector;
-import org.apache.commons.math4.legacy.util.Pair;
+import org.apache.commons.math4.legacy.core.Pair;
 
 import java.util.Arrays;
 
diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/fitting/leastsquares/GaussNewtonOptimizer.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/fitting/leastsquares/GaussNewtonOptimizer.java
index f052a4b..a4d38db 100644
--- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/fitting/leastsquares/GaussNewtonOptimizer.java
+++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/fitting/leastsquares/GaussNewtonOptimizer.java
@@ -32,7 +32,7 @@ import org.apache.commons.math4.legacy.linear.SingularMatrixException;
 import org.apache.commons.math4.legacy.linear.SingularValueDecomposition;
 import org.apache.commons.math4.legacy.optim.ConvergenceChecker;
 import org.apache.commons.math4.legacy.core.IntegerSequence;
-import org.apache.commons.math4.legacy.util.Pair;
+import org.apache.commons.math4.legacy.core.Pair;
 
 /**
  * Gauss-Newton least-squares solver.
diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/fitting/leastsquares/LeastSquaresFactory.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/fitting/leastsquares/LeastSquaresFactory.java
index 9283bae..9400e8b 100644
--- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/fitting/leastsquares/LeastSquaresFactory.java
+++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/fitting/leastsquares/LeastSquaresFactory.java
@@ -32,7 +32,7 @@ import org.apache.commons.math4.legacy.optim.ConvergenceChecker;
 import org.apache.commons.math4.legacy.optim.PointVectorValuePair;
 import org.apache.commons.math4.legacy.core.jdkmath.AccurateMath;
 import org.apache.commons.math4.legacy.core.IntegerSequence;
-import org.apache.commons.math4.legacy.util.Pair;
+import org.apache.commons.math4.legacy.core.Pair;
 
 /**
  * A Factory for creating {@link LeastSquaresProblem}s.
diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/fitting/leastsquares/MultivariateJacobianFunction.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/fitting/leastsquares/MultivariateJacobianFunction.java
index 7a8cbe1..9926893 100644
--- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/fitting/leastsquares/MultivariateJacobianFunction.java
+++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/fitting/leastsquares/MultivariateJacobianFunction.java
@@ -18,7 +18,7 @@ package org.apache.commons.math4.legacy.fitting.leastsquares;
 
 import org.apache.commons.math4.legacy.linear.RealMatrix;
 import org.apache.commons.math4.legacy.linear.RealVector;
-import org.apache.commons.math4.legacy.util.Pair;
+import org.apache.commons.math4.legacy.core.Pair;
 
 /**
  * A interface for functions that compute a vector of values and can compute their
diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ml/clustering/MiniBatchKMeansClusterer.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ml/clustering/MiniBatchKMeansClusterer.java
index a18b892..73ae3db 100644
--- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ml/clustering/MiniBatchKMeansClusterer.java
+++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ml/clustering/MiniBatchKMeansClusterer.java
@@ -20,7 +20,7 @@ package org.apache.commons.math4.legacy.ml.clustering;
 import org.apache.commons.math4.legacy.exception.NullArgumentException;
 import org.apache.commons.math4.legacy.exception.NumberIsTooSmallException;
 import org.apache.commons.math4.legacy.ml.distance.DistanceMeasure;
-import org.apache.commons.math4.legacy.util.Pair;
+import org.apache.commons.math4.legacy.core.Pair;
 import org.apache.commons.rng.UniformRandomProvider;
 import org.apache.commons.rng.sampling.ListSampler;
 
diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/optim/PointValuePair.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/optim/PointValuePair.java
index 112604c..6019e46 100644
--- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/optim/PointValuePair.java
+++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/optim/PointValuePair.java
@@ -18,7 +18,7 @@ package org.apache.commons.math4.legacy.optim;
 
 import java.io.Serializable;
 
-import org.apache.commons.math4.legacy.util.Pair;
+import org.apache.commons.math4.legacy.core.Pair;
 
 /**
  * This class holds a point and the value of an objective function at
diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/optim/PointVectorValuePair.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/optim/PointVectorValuePair.java
index 1519421..f77532d 100644
--- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/optim/PointVectorValuePair.java
+++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/optim/PointVectorValuePair.java
@@ -18,7 +18,7 @@ package org.apache.commons.math4.legacy.optim;
 
 import java.io.Serializable;
 
-import org.apache.commons.math4.legacy.util.Pair;
+import org.apache.commons.math4.legacy.core.Pair;
 
 /**
  * This class holds a point and the vectorial value of an objective function at
diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/optim/SimplePointChecker.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/optim/SimplePointChecker.java
index d6125d1..7906dda 100644
--- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/optim/SimplePointChecker.java
+++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/optim/SimplePointChecker.java
@@ -18,7 +18,7 @@ package org.apache.commons.math4.legacy.optim;
 
 import org.apache.commons.math4.legacy.exception.NotStrictlyPositiveException;
 import org.apache.commons.math4.legacy.core.jdkmath.AccurateMath;
-import org.apache.commons.math4.legacy.util.Pair;
+import org.apache.commons.math4.legacy.core.Pair;
 
 /**
  * Simple implementation of the {@link ConvergenceChecker} interface using
diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/correlation/KendallsCorrelation.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/correlation/KendallsCorrelation.java
index 7947423..ecc126d 100644
--- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/correlation/KendallsCorrelation.java
+++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/correlation/KendallsCorrelation.java
@@ -24,7 +24,7 @@ import org.apache.commons.math4.legacy.linear.BlockRealMatrix;
 import org.apache.commons.math4.legacy.linear.MatrixUtils;
 import org.apache.commons.math4.legacy.linear.RealMatrix;
 import org.apache.commons.math4.legacy.core.jdkmath.AccurateMath;
-import org.apache.commons.math4.legacy.util.Pair;
+import org.apache.commons.math4.legacy.core.Pair;
 
 /**
  * Implementation of Kendall's Tau-b rank correlation.
diff --git a/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/analysis/integration/gauss/BaseRuleFactoryTest.java b/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/analysis/integration/gauss/BaseRuleFactoryTest.java
index ff42f92..42948ea 100644
--- a/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/analysis/integration/gauss/BaseRuleFactoryTest.java
+++ b/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/analysis/integration/gauss/BaseRuleFactoryTest.java
@@ -26,7 +26,7 @@ import java.util.concurrent.Future;
 import java.util.concurrent.ExecutionException;
 import java.util.concurrent.atomic.AtomicInteger;
 
-import org.apache.commons.math4.legacy.util.Pair;
+import org.apache.commons.math4.legacy.core.Pair;
 import org.junit.Test;
 import org.junit.Assert;
 
diff --git a/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/analysis/integration/gauss/GaussIntegratorTest.java b/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/analysis/integration/gauss/GaussIntegratorTest.java
index a815ecd..c0779a8 100644
--- a/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/analysis/integration/gauss/GaussIntegratorTest.java
+++ b/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/analysis/integration/gauss/GaussIntegratorTest.java
@@ -18,7 +18,7 @@ package org.apache.commons.math4.legacy.analysis.integration.gauss;
 
 import org.apache.commons.math4.legacy.analysis.UnivariateFunction;
 import org.apache.commons.math4.legacy.analysis.function.Constant;
-import org.apache.commons.math4.legacy.util.Pair;
+import org.apache.commons.math4.legacy.core.Pair;
 import org.junit.Test;
 import org.junit.Assert;
 
diff --git a/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/distribution/EnumeratedRealDistributionTest.java b/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/distribution/EnumeratedRealDistributionTest.java
index 9c67830..96414d1 100644
--- a/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/distribution/EnumeratedRealDistributionTest.java
+++ b/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/distribution/EnumeratedRealDistributionTest.java
@@ -28,7 +28,7 @@ import org.apache.commons.math4.legacy.exception.NotANumberException;
 import org.apache.commons.math4.legacy.exception.NotFiniteNumberException;
 import org.apache.commons.math4.legacy.exception.NotPositiveException;
 import org.apache.commons.math4.legacy.core.jdkmath.AccurateMath;
-import org.apache.commons.math4.legacy.util.Pair;
+import org.apache.commons.math4.legacy.core.Pair;
 import org.apache.commons.rng.UniformRandomProvider;
 import org.apache.commons.rng.simple.RandomSource;
 import org.junit.Assert;
diff --git a/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/distribution/MixtureMultivariateNormalDistributionTest.java b/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/distribution/MixtureMultivariateNormalDistributionTest.java
index b64c37a..d50c159 100644
--- a/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/distribution/MixtureMultivariateNormalDistributionTest.java
+++ b/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/distribution/MixtureMultivariateNormalDistributionTest.java
@@ -21,7 +21,7 @@ import java.util.List;
 import org.apache.commons.math4.legacy.exception.MathArithmeticException;
 import org.apache.commons.math4.legacy.exception.NotPositiveException;
 import org.apache.commons.rng.simple.RandomSource;
-import org.apache.commons.math4.legacy.util.Pair;
+import org.apache.commons.math4.legacy.core.Pair;
 import org.junit.Assert;
 import org.junit.Test;
 import org.junit.Ignore;
diff --git a/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/distribution/fitting/MultivariateNormalMixtureExpectationMaximizationTest.java b/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/distribution/fitting/MultivariateNormalMixtureExpectationMaximizationTest.java
index 6fe5b56..d8e7291 100644
--- a/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/distribution/fitting/MultivariateNormalMixtureExpectationMaximizationTest.java
+++ b/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/distribution/fitting/MultivariateNormalMixtureExpectationMaximizationTest.java
@@ -28,7 +28,7 @@ import org.apache.commons.math4.legacy.exception.NotStrictlyPositiveException;
 import org.apache.commons.math4.legacy.exception.NumberIsTooSmallException;
 import org.apache.commons.math4.legacy.linear.Array2DRowRealMatrix;
 import org.apache.commons.math4.legacy.linear.RealMatrix;
-import org.apache.commons.math4.legacy.util.Pair;
+import org.apache.commons.math4.legacy.core.Pair;
 import org.junit.Assert;
 import org.junit.Test;
 
diff --git a/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/field/linalg/FP64FieldDenseMatrixTest.java b/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/field/linalg/FP64FieldDenseMatrixTest.java
index 9b99518..4df3fa4 100644
--- a/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/field/linalg/FP64FieldDenseMatrixTest.java
+++ b/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/field/linalg/FP64FieldDenseMatrixTest.java
@@ -20,9 +20,9 @@ import org.junit.Assert;
 import org.junit.Test;
 import org.apache.commons.numbers.field.FP64;
 import org.apache.commons.numbers.field.FP64Field;
-import org.apache.commons.math3.linear.RealMatrix;
-import org.apache.commons.math3.linear.Array2DRowRealMatrix;
-import org.apache.commons.math3.util.Pair;
+import org.apache.commons.math4.legacy.core.Pair;
+import org.apache.commons.math4.legacy.linear.RealMatrix;
+import org.apache.commons.math4.legacy.linear.Array2DRowRealMatrix;
 
 /**
  * Tests for {@link FieldDenseMatrix} (using {@link FP64} as field elements).
diff --git a/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/fitting/leastsquares/AbstractLeastSquaresOptimizerAbstractTest.java b/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/fitting/leastsquares/AbstractLeastSquaresOptimizerAbstractTest.java
index a5a8580..bd0aed4 100644
--- a/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/fitting/leastsquares/AbstractLeastSquaresOptimizerAbstractTest.java
+++ b/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/fitting/leastsquares/AbstractLeastSquaresOptimizerAbstractTest.java
@@ -32,7 +32,7 @@ import org.apache.commons.math4.legacy.linear.RealVector;
 import org.apache.commons.math4.legacy.optim.ConvergenceChecker;
 import org.apache.commons.math4.legacy.optim.SimpleVectorValueChecker;
 import org.apache.commons.math4.legacy.core.jdkmath.AccurateMath;
-import org.apache.commons.math4.legacy.util.Pair;
+import org.apache.commons.math4.legacy.core.Pair;
 import org.junit.Assert;
 import org.junit.Test;
 
diff --git a/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/fitting/leastsquares/EvaluationTest.java b/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/fitting/leastsquares/EvaluationTest.java
index 7ba0218..e319785 100644
--- a/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/fitting/leastsquares/EvaluationTest.java
+++ b/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/fitting/leastsquares/EvaluationTest.java
@@ -25,7 +25,7 @@ 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.core.jdkmath.AccurateMath;
-import org.apache.commons.math4.legacy.util.Pair;
+import org.apache.commons.math4.legacy.core.Pair;
 import org.apache.commons.numbers.core.Precision;
 import org.junit.Assert;
 import org.junit.Test;

[commons-math] 01/03: Utility class moved to module "commons-math-legacy-core".

Posted by er...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

erans pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-math.git

commit 02d14e67916d740304885a67a4e8e0cebc5e42f6
Author: Gilles Sadowski <gi...@gmail.com>
AuthorDate: Tue Jun 1 17:17:51 2021 +0200

    Utility class moved to module "commons-math-legacy-core".
---
 .../java/org/apache/commons/math4/legacy/core}/IntegerSequence.java     | 2 +-
 .../java/org/apache/commons/math4/legacy/core}/IntegerSequenceTest.java | 2 +-
 .../legacy/analysis/integration/BaseAbstractUnivariateIntegrator.java   | 2 +-
 .../math4/legacy/analysis/solvers/BaseAbstractUnivariateSolver.java     | 2 +-
 .../legacy/analysis/solvers/FieldBracketingNthOrderBrentSolver.java     | 2 +-
 .../commons/math4/legacy/fitting/leastsquares/GaussNewtonOptimizer.java | 2 +-
 .../commons/math4/legacy/fitting/leastsquares/LeastSquaresAdapter.java  | 2 +-
 .../commons/math4/legacy/fitting/leastsquares/LeastSquaresFactory.java  | 2 +-
 .../math4/legacy/fitting/leastsquares/LevenbergMarquardtOptimizer.java  | 2 +-
 .../java/org/apache/commons/math4/legacy/linear/IterationManager.java   | 2 +-
 .../org/apache/commons/math4/legacy/linear/IterativeLinearSolver.java   | 2 +-
 .../math4/legacy/linear/PreconditionedIterativeLinearSolver.java        | 2 +-
 .../src/main/java/org/apache/commons/math4/legacy/linear/SymmLQ.java    | 2 +-
 .../org/apache/commons/math4/legacy/ode/AbstractFieldIntegrator.java    | 2 +-
 .../java/org/apache/commons/math4/legacy/ode/AbstractIntegrator.java    | 2 +-
 .../apache/commons/math4/legacy/optim/AbstractOptimizationProblem.java  | 2 +-
 .../main/java/org/apache/commons/math4/legacy/optim/BaseOptimizer.java  | 2 +-
 .../java/org/apache/commons/math4/legacy/optim/OptimizationProblem.java | 2 +-
 .../org/apache/commons/math4/legacy/optim/univariate/BracketFinder.java | 2 +-
 19 files changed, 19 insertions(+), 19 deletions(-)

diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/util/IntegerSequence.java b/commons-math-legacy-core/src/main/java/org/apache/commons/math4/legacy/core/IntegerSequence.java
similarity index 99%
rename from commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/util/IntegerSequence.java
rename to commons-math-legacy-core/src/main/java/org/apache/commons/math4/legacy/core/IntegerSequence.java
index c41ff6a..1e2d88a 100644
--- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/util/IntegerSequence.java
+++ b/commons-math-legacy-core/src/main/java/org/apache/commons/math4/legacy/core/IntegerSequence.java
@@ -14,7 +14,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package org.apache.commons.math4.legacy.util;
+package org.apache.commons.math4.legacy.core;
 
 import java.util.Iterator;
 import java.util.NoSuchElementException;
diff --git a/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/util/IntegerSequenceTest.java b/commons-math-legacy-core/src/test/java/org/apache/commons/math4/legacy/core/IntegerSequenceTest.java
similarity index 99%
rename from commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/util/IntegerSequenceTest.java
rename to commons-math-legacy-core/src/test/java/org/apache/commons/math4/legacy/core/IntegerSequenceTest.java
index b862b1d..11e84e8 100644
--- a/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/util/IntegerSequenceTest.java
+++ b/commons-math-legacy-core/src/test/java/org/apache/commons/math4/legacy/core/IntegerSequenceTest.java
@@ -11,7 +11,7 @@
  * KIND, either express or implied. See the License for the specific language
  * governing permissions and limitations under the License.
  */
-package org.apache.commons.math4.legacy.util;
+package org.apache.commons.math4.legacy.core;
 
 import java.util.List;
 import java.util.ArrayList;
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 8c9e750..b4f4345 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
@@ -23,7 +23,7 @@ import org.apache.commons.math4.legacy.exception.MaxCountExceededException;
 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.core.IntegerSequence;
 
 /**
  * Provide a default implementation for several generic functions.
diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/solvers/BaseAbstractUnivariateSolver.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/solvers/BaseAbstractUnivariateSolver.java
index 5585beb..d8e5629 100644
--- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/solvers/BaseAbstractUnivariateSolver.java
+++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/solvers/BaseAbstractUnivariateSolver.java
@@ -21,7 +21,7 @@ import org.apache.commons.math4.legacy.analysis.UnivariateFunction;
 import org.apache.commons.math4.legacy.exception.NullArgumentException;
 import org.apache.commons.math4.legacy.exception.MaxCountExceededException;
 import org.apache.commons.math4.legacy.exception.TooManyEvaluationsException;
-import org.apache.commons.math4.legacy.util.IntegerSequence;
+import org.apache.commons.math4.legacy.core.IntegerSequence;
 
 /**
  * Provide a default implementation for several functions useful to generic
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 05d0ef0..de9176a 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
@@ -24,7 +24,7 @@ import org.apache.commons.math4.legacy.exception.MathInternalError;
 import org.apache.commons.math4.legacy.exception.NoBracketingException;
 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.core.IntegerSequence;
 import org.apache.commons.math4.legacy.core.MathArrays;
 import org.apache.commons.numbers.core.Precision;
 
diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/fitting/leastsquares/GaussNewtonOptimizer.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/fitting/leastsquares/GaussNewtonOptimizer.java
index 27c546a..f052a4b 100644
--- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/fitting/leastsquares/GaussNewtonOptimizer.java
+++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/fitting/leastsquares/GaussNewtonOptimizer.java
@@ -31,7 +31,7 @@ import org.apache.commons.math4.legacy.linear.RealVector;
 import org.apache.commons.math4.legacy.linear.SingularMatrixException;
 import org.apache.commons.math4.legacy.linear.SingularValueDecomposition;
 import org.apache.commons.math4.legacy.optim.ConvergenceChecker;
-import org.apache.commons.math4.legacy.util.IntegerSequence;
+import org.apache.commons.math4.legacy.core.IntegerSequence;
 import org.apache.commons.math4.legacy.util.Pair;
 
 /**
diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/fitting/leastsquares/LeastSquaresAdapter.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/fitting/leastsquares/LeastSquaresAdapter.java
index 9061043..74228a0 100644
--- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/fitting/leastsquares/LeastSquaresAdapter.java
+++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/fitting/leastsquares/LeastSquaresAdapter.java
@@ -18,7 +18,7 @@ package org.apache.commons.math4.legacy.fitting.leastsquares;
 
 import org.apache.commons.math4.legacy.linear.RealVector;
 import org.apache.commons.math4.legacy.optim.ConvergenceChecker;
-import org.apache.commons.math4.legacy.util.IntegerSequence;
+import org.apache.commons.math4.legacy.core.IntegerSequence;
 
 /**
  * An adapter that delegates to another implementation of {@link LeastSquaresProblem}.
diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/fitting/leastsquares/LeastSquaresFactory.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/fitting/leastsquares/LeastSquaresFactory.java
index 07af542..9283bae 100644
--- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/fitting/leastsquares/LeastSquaresFactory.java
+++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/fitting/leastsquares/LeastSquaresFactory.java
@@ -31,7 +31,7 @@ import org.apache.commons.math4.legacy.optim.AbstractOptimizationProblem;
 import org.apache.commons.math4.legacy.optim.ConvergenceChecker;
 import org.apache.commons.math4.legacy.optim.PointVectorValuePair;
 import org.apache.commons.math4.legacy.core.jdkmath.AccurateMath;
-import org.apache.commons.math4.legacy.util.IntegerSequence;
+import org.apache.commons.math4.legacy.core.IntegerSequence;
 import org.apache.commons.math4.legacy.util.Pair;
 
 /**
diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/fitting/leastsquares/LevenbergMarquardtOptimizer.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/fitting/leastsquares/LevenbergMarquardtOptimizer.java
index a44caad..2ca7e2c 100644
--- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/fitting/leastsquares/LevenbergMarquardtOptimizer.java
+++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/fitting/leastsquares/LevenbergMarquardtOptimizer.java
@@ -25,7 +25,7 @@ import org.apache.commons.math4.legacy.linear.ArrayRealVector;
 import org.apache.commons.math4.legacy.linear.RealMatrix;
 import org.apache.commons.math4.legacy.optim.ConvergenceChecker;
 import org.apache.commons.math4.legacy.core.jdkmath.AccurateMath;
-import org.apache.commons.math4.legacy.util.IntegerSequence;
+import org.apache.commons.math4.legacy.core.IntegerSequence;
 import org.apache.commons.numbers.core.Precision;
 
 
diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/IterationManager.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/IterationManager.java
index 38844e7..fb56695 100644
--- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/IterationManager.java
+++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/IterationManager.java
@@ -16,7 +16,7 @@
  */
 package org.apache.commons.math4.legacy.linear;
 
-import org.apache.commons.math4.legacy.util.IntegerSequence;
+import org.apache.commons.math4.legacy.core.IntegerSequence;
 
 import java.util.Collection;
 import java.util.concurrent.CopyOnWriteArrayList;
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 caf6a3a..fd07c33 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
@@ -19,7 +19,7 @@ package org.apache.commons.math4.legacy.linear;
 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.IntegerSequence;
+import org.apache.commons.math4.legacy.core.IntegerSequence;
 
 /**
  * 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/PreconditionedIterativeLinearSolver.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/PreconditionedIterativeLinearSolver.java
index d8aad64..0c5502c 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
@@ -19,7 +19,7 @@ package org.apache.commons.math4.legacy.linear;
 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.IntegerSequence;
+import org.apache.commons.math4.legacy.core.IntegerSequence;
 
 /**
  * <p>
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 ce31ce3..adea2e2 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
@@ -21,7 +21,7 @@ import org.apache.commons.math4.legacy.exception.MaxCountExceededException;
 import org.apache.commons.math4.legacy.exception.NullArgumentException;
 import org.apache.commons.math4.legacy.exception.util.ExceptionContext;
 import org.apache.commons.math4.legacy.core.jdkmath.AccurateMath;
-import org.apache.commons.math4.legacy.util.IntegerSequence;
+import org.apache.commons.math4.legacy.core.IntegerSequence;
 
 /**
  * <p>
diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ode/AbstractFieldIntegrator.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ode/AbstractFieldIntegrator.java
index 0781387..8b7ba29 100644
--- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ode/AbstractFieldIntegrator.java
+++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ode/AbstractFieldIntegrator.java
@@ -40,7 +40,7 @@ import org.apache.commons.math4.legacy.ode.events.FieldEventState;
 import org.apache.commons.math4.legacy.ode.sampling.AbstractFieldStepInterpolator;
 import org.apache.commons.math4.legacy.ode.sampling.FieldStepHandler;
 import org.apache.commons.math4.legacy.core.jdkmath.AccurateMath;
-import org.apache.commons.math4.legacy.util.IntegerSequence;
+import org.apache.commons.math4.legacy.core.IntegerSequence;
 
 /**
  * Base class managing common boilerplate for all integrators.
diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ode/AbstractIntegrator.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ode/AbstractIntegrator.java
index af2e3a3..25f1c16 100644
--- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ode/AbstractIntegrator.java
+++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ode/AbstractIntegrator.java
@@ -38,7 +38,7 @@ import org.apache.commons.math4.legacy.ode.events.EventState;
 import org.apache.commons.math4.legacy.ode.sampling.AbstractStepInterpolator;
 import org.apache.commons.math4.legacy.ode.sampling.StepHandler;
 import org.apache.commons.math4.legacy.core.jdkmath.AccurateMath;
-import org.apache.commons.math4.legacy.util.IntegerSequence;
+import org.apache.commons.math4.legacy.core.IntegerSequence;
 import org.apache.commons.numbers.core.Precision;
 
 /**
diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/optim/AbstractOptimizationProblem.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/optim/AbstractOptimizationProblem.java
index 4e736b8..aeb2540 100644
--- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/optim/AbstractOptimizationProblem.java
+++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/optim/AbstractOptimizationProblem.java
@@ -18,7 +18,7 @@ package org.apache.commons.math4.legacy.optim;
 
 import org.apache.commons.math4.legacy.exception.TooManyEvaluationsException;
 import org.apache.commons.math4.legacy.exception.TooManyIterationsException;
-import org.apache.commons.math4.legacy.util.IntegerSequence;
+import org.apache.commons.math4.legacy.core.IntegerSequence;
 
 /**
  * Base class for implementing optimization problems. It contains the boiler-plate code
diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/optim/BaseOptimizer.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/optim/BaseOptimizer.java
index 19a4e2c..70e816a 100644
--- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/optim/BaseOptimizer.java
+++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/optim/BaseOptimizer.java
@@ -18,7 +18,7 @@ package org.apache.commons.math4.legacy.optim;
 
 import org.apache.commons.math4.legacy.exception.TooManyEvaluationsException;
 import org.apache.commons.math4.legacy.exception.TooManyIterationsException;
-import org.apache.commons.math4.legacy.util.IntegerSequence;
+import org.apache.commons.math4.legacy.core.IntegerSequence;
 
 /**
  * Base class for implementing optimizers.
diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/optim/OptimizationProblem.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/optim/OptimizationProblem.java
index df71d08..ebadb5c 100644
--- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/optim/OptimizationProblem.java
+++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/optim/OptimizationProblem.java
@@ -16,7 +16,7 @@
  */
 package org.apache.commons.math4.legacy.optim;
 
-import org.apache.commons.math4.legacy.util.IntegerSequence;
+import org.apache.commons.math4.legacy.core.IntegerSequence;
 
 /**
  * Common settings for all optimization problems. Includes divergence and convergence
diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/optim/univariate/BracketFinder.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/optim/univariate/BracketFinder.java
index 4aff72e..7dd4c2e 100644
--- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/optim/univariate/BracketFinder.java
+++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/optim/univariate/BracketFinder.java
@@ -22,7 +22,7 @@ import org.apache.commons.math4.legacy.exception.NotStrictlyPositiveException;
 import org.apache.commons.math4.legacy.exception.TooManyEvaluationsException;
 import org.apache.commons.math4.legacy.optim.nonlinear.scalar.GoalType;
 import org.apache.commons.math4.legacy.core.jdkmath.AccurateMath;
-import org.apache.commons.math4.legacy.util.IntegerSequence.Incrementor;
+import org.apache.commons.math4.legacy.core.IntegerSequence.Incrementor;
 
 /**
  * Provide an interval that brackets a local optimum of a function.

[commons-math] 03/03: Dependency not needed.

Posted by er...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

erans pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-math.git

commit 1da0c5705322a8f0a740d7214b92fcff811a0e7c
Author: Gilles Sadowski <gi...@gmail.com>
AuthorDate: Tue Jun 1 17:36:08 2021 +0200

    Dependency not needed.
---
 commons-math-legacy/pom.xml | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/commons-math-legacy/pom.xml b/commons-math-legacy/pom.xml
index 3350422..fb0e2ae 100644
--- a/commons-math-legacy/pom.xml
+++ b/commons-math-legacy/pom.xml
@@ -130,12 +130,6 @@
       <scope>test</scope>
     </dependency>
 
-    <dependency>
-      <groupId>org.apache.commons</groupId>
-      <artifactId>commons-math3</artifactId>
-      <scope>test</scope>
-    </dependency>
-
   </dependencies>
 
   <build>