Utility class moved to module "commons-math-legacy-core".

This commit is contained in:
Gilles Sadowski 2021-06-01 17:17:51 +02:00
parent 787d42ef07
commit 02d14e6791
19 changed files with 19 additions and 19 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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