Merge pull request #158 from mureinik/imports

Code cleanup: Remove unused imports

This removes from test classes imports that are in the same package.
This commit is contained in:
Alex Herbert 2020-10-01 12:37:13 +01:00 committed by GitHub
commit 84ca159267
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
307 changed files with 0 additions and 822 deletions

View File

@ -19,7 +19,6 @@ package org.apache.commons.math4;
import org.apache.commons.numbers.arrays.LinearCombination;
import org.apache.commons.rng.UniformRandomProvider;
import org.apache.commons.rng.simple.RandomSource;
import org.apache.commons.math4.RealFieldElement;
import org.apache.commons.math4.util.FastMath;
import org.apache.commons.math4.util.MathArrays;
import org.junit.Assert;

View File

@ -26,7 +26,6 @@ import java.text.DecimalFormat;
import org.apache.commons.numbers.complex.Complex;
import org.apache.commons.numbers.core.Precision;
import org.apache.commons.statistics.distribution.ContinuousDistribution;
import org.apache.commons.math4.FieldElement;
import org.apache.commons.math4.complex.ComplexFormat;
import org.apache.commons.math4.linear.FieldMatrix;
import org.apache.commons.math4.linear.RealMatrix;

View File

@ -21,7 +21,6 @@ import java.lang.reflect.Field;
import java.util.HashMap;
import java.util.Map;
import org.apache.commons.math4.analysis.differentiation.DSCompiler;
import org.apache.commons.math4.exception.DimensionMismatchException;
import org.apache.commons.numbers.combinatorics.BinomialCoefficient;
import org.junit.Assert;

View File

@ -22,7 +22,6 @@ import java.util.List;
import org.apache.commons.math4.ExtendedFieldElementAbstractTest;
import org.apache.commons.math4.TestUtils;
import org.apache.commons.math4.analysis.differentiation.DerivativeStructure;
import org.apache.commons.math4.analysis.polynomials.PolynomialFunction;
import org.apache.commons.math4.exception.DimensionMismatchException;
import org.apache.commons.math4.exception.NumberIsTooLargeException;

View File

@ -20,7 +20,6 @@ package org.apache.commons.math4.analysis.function;
import org.apache.commons.math4.analysis.UnivariateFunction;
import org.apache.commons.math4.analysis.differentiation.DerivativeStructure;
import org.apache.commons.math4.analysis.differentiation.UnivariateDifferentiableFunction;
import org.apache.commons.math4.analysis.function.Gaussian;
import org.apache.commons.math4.exception.DimensionMismatchException;
import org.apache.commons.math4.exception.NotStrictlyPositiveException;
import org.apache.commons.math4.exception.NullArgumentException;

View File

@ -19,7 +19,6 @@ package org.apache.commons.math4.analysis.function;
import org.apache.commons.math4.analysis.UnivariateFunction;
import org.apache.commons.math4.analysis.differentiation.DerivativeStructure;
import org.apache.commons.math4.analysis.function.HarmonicOscillator;
import org.apache.commons.math4.exception.DimensionMismatchException;
import org.apache.commons.math4.exception.NullArgumentException;
import org.apache.commons.math4.util.FastMath;

View File

@ -19,8 +19,6 @@ package org.apache.commons.math4.analysis.function;
import org.apache.commons.math4.analysis.UnivariateFunction;
import org.apache.commons.math4.analysis.differentiation.DerivativeStructure;
import org.apache.commons.math4.analysis.function.Logistic;
import org.apache.commons.math4.analysis.function.Sigmoid;
import org.apache.commons.math4.exception.DimensionMismatchException;
import org.apache.commons.math4.exception.NotStrictlyPositiveException;
import org.apache.commons.math4.exception.NullArgumentException;

View File

@ -21,8 +21,6 @@ import org.apache.commons.math4.analysis.FunctionUtils;
import org.apache.commons.math4.analysis.UnivariateFunction;
import org.apache.commons.math4.analysis.differentiation.DerivativeStructure;
import org.apache.commons.math4.analysis.differentiation.UnivariateDifferentiableFunction;
import org.apache.commons.math4.analysis.function.Logit;
import org.apache.commons.math4.analysis.function.Sigmoid;
import org.apache.commons.math4.exception.DimensionMismatchException;
import org.apache.commons.math4.exception.NullArgumentException;
import org.apache.commons.math4.exception.OutOfRangeException;

View File

@ -19,7 +19,6 @@ package org.apache.commons.math4.analysis.function;
import org.apache.commons.math4.analysis.UnivariateFunction;
import org.apache.commons.math4.analysis.differentiation.DerivativeStructure;
import org.apache.commons.math4.analysis.function.Sigmoid;
import org.apache.commons.math4.exception.DimensionMismatchException;
import org.apache.commons.math4.exception.NullArgumentException;
import org.junit.Assert;

View File

@ -18,7 +18,6 @@
package org.apache.commons.math4.analysis.function;
import org.apache.commons.math4.analysis.UnivariateFunction;
import org.apache.commons.math4.analysis.function.StepFunction;
import org.apache.commons.math4.exception.DimensionMismatchException;
import org.apache.commons.math4.exception.NoDataException;
import org.apache.commons.math4.exception.NonMonotonicSequenceException;

View File

@ -19,8 +19,6 @@ package org.apache.commons.math4.analysis.integration;
import org.apache.commons.math4.analysis.QuinticFunction;
import org.apache.commons.math4.analysis.UnivariateFunction;
import org.apache.commons.math4.analysis.function.Sin;
import org.apache.commons.math4.analysis.integration.MidPointIntegrator;
import org.apache.commons.math4.analysis.integration.UnivariateIntegrator;
import org.apache.commons.math4.exception.NumberIsTooLargeException;
import org.apache.commons.math4.exception.NumberIsTooSmallException;
import org.apache.commons.math4.util.FastMath;

View File

@ -19,8 +19,6 @@ package org.apache.commons.math4.analysis.integration;
import org.apache.commons.math4.analysis.QuinticFunction;
import org.apache.commons.math4.analysis.UnivariateFunction;
import org.apache.commons.math4.analysis.function.Sin;
import org.apache.commons.math4.analysis.integration.RombergIntegrator;
import org.apache.commons.math4.analysis.integration.UnivariateIntegrator;
import org.apache.commons.math4.exception.NumberIsTooLargeException;
import org.apache.commons.math4.exception.NumberIsTooSmallException;
import org.apache.commons.math4.util.FastMath;

View File

@ -21,8 +21,6 @@ import org.apache.commons.math4.analysis.UnivariateFunction;
import org.apache.commons.math4.analysis.function.Identity;
import org.apache.commons.math4.analysis.function.Inverse;
import org.apache.commons.math4.analysis.function.Sin;
import org.apache.commons.math4.analysis.integration.SimpsonIntegrator;
import org.apache.commons.math4.analysis.integration.UnivariateIntegrator;
import org.apache.commons.math4.exception.NumberIsTooLargeException;
import org.apache.commons.math4.exception.NumberIsTooSmallException;
import org.apache.commons.math4.util.FastMath;

View File

@ -19,8 +19,6 @@ package org.apache.commons.math4.analysis.integration;
import org.apache.commons.math4.analysis.QuinticFunction;
import org.apache.commons.math4.analysis.UnivariateFunction;
import org.apache.commons.math4.analysis.function.Sin;
import org.apache.commons.math4.analysis.integration.TrapezoidIntegrator;
import org.apache.commons.math4.analysis.integration.UnivariateIntegrator;
import org.apache.commons.math4.exception.NumberIsTooLargeException;
import org.apache.commons.math4.exception.NumberIsTooSmallException;
import org.apache.commons.math4.util.FastMath;

View File

@ -26,7 +26,6 @@ import java.util.concurrent.Future;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.atomic.AtomicInteger;
import org.apache.commons.math4.analysis.integration.gauss.BaseRuleFactory;
import org.apache.commons.math4.util.Pair;
import org.junit.Test;
import org.junit.Assert;

View File

@ -18,7 +18,6 @@ package org.apache.commons.math4.analysis.integration.gauss;
import org.apache.commons.math4.analysis.UnivariateFunction;
import org.apache.commons.math4.analysis.function.Constant;
import org.apache.commons.math4.analysis.integration.gauss.GaussIntegrator;
import org.apache.commons.math4.util.Pair;
import org.junit.Test;
import org.junit.Assert;

View File

@ -17,7 +17,6 @@
package org.apache.commons.math4.analysis.integration.gauss;
import org.apache.commons.math4.analysis.function.Power;
import org.apache.commons.math4.analysis.integration.gauss.GaussIntegrator;
import org.apache.commons.math4.util.FastMath;
import org.junit.Test;
import org.junit.Assert;

View File

@ -22,8 +22,6 @@ import java.util.Collection;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;
import org.junit.runners.Parameterized.Parameters;
import org.apache.commons.math4.analysis.integration.gauss.GaussIntegratorFactory;
import org.apache.commons.math4.analysis.integration.gauss.HermiteRuleFactory;
import org.apache.commons.math4.util.FastMath;
/**

View File

@ -17,9 +17,6 @@
package org.apache.commons.math4.analysis.integration.gauss;
import org.apache.commons.math4.analysis.UnivariateFunction;
import org.apache.commons.math4.analysis.integration.gauss.GaussIntegrator;
import org.apache.commons.math4.analysis.integration.gauss.GaussIntegratorFactory;
import org.apache.commons.math4.analysis.integration.gauss.HermiteRuleFactory;
import org.apache.commons.math4.util.FastMath;
import org.junit.Test;
import org.junit.Assert;

View File

@ -19,8 +19,6 @@ package org.apache.commons.math4.analysis.integration.gauss;
import java.util.ArrayList;
import java.util.Collection;
import org.apache.commons.math4.analysis.integration.gauss.GaussIntegratorFactory;
import org.apache.commons.math4.analysis.integration.gauss.LegendreHighPrecisionRuleFactory;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;
import org.junit.runners.Parameterized.Parameters;

View File

@ -20,9 +20,6 @@ import org.apache.commons.math4.analysis.UnivariateFunction;
import org.apache.commons.math4.analysis.function.Cos;
import org.apache.commons.math4.analysis.function.Inverse;
import org.apache.commons.math4.analysis.function.Log;
import org.apache.commons.math4.analysis.integration.gauss.GaussIntegrator;
import org.apache.commons.math4.analysis.integration.gauss.GaussIntegratorFactory;
import org.apache.commons.math4.analysis.integration.gauss.LegendreHighPrecisionRuleFactory;
import org.junit.Test;
import org.junit.Assert;

View File

@ -19,8 +19,6 @@ package org.apache.commons.math4.analysis.integration.gauss;
import java.util.ArrayList;
import java.util.Collection;
import org.apache.commons.math4.analysis.integration.gauss.GaussIntegratorFactory;
import org.apache.commons.math4.analysis.integration.gauss.LegendreRuleFactory;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;
import org.junit.runners.Parameterized.Parameters;

View File

@ -20,9 +20,6 @@ import org.apache.commons.math4.analysis.UnivariateFunction;
import org.apache.commons.math4.analysis.function.Cos;
import org.apache.commons.math4.analysis.function.Inverse;
import org.apache.commons.math4.analysis.function.Log;
import org.apache.commons.math4.analysis.integration.gauss.GaussIntegrator;
import org.apache.commons.math4.analysis.integration.gauss.GaussIntegratorFactory;
import org.apache.commons.math4.analysis.integration.gauss.LegendreRuleFactory;
import org.junit.Test;
import org.junit.Assert;

View File

@ -19,8 +19,6 @@ package org.apache.commons.math4.analysis.interpolation;
import org.apache.commons.math4.analysis.UnivariateFunction;
import org.apache.commons.math4.analysis.function.Expm1;
import org.apache.commons.math4.analysis.function.Sin;
import org.apache.commons.math4.analysis.interpolation.DividedDifferenceInterpolator;
import org.apache.commons.math4.analysis.interpolation.UnivariateInterpolator;
import org.apache.commons.math4.exception.NonMonotonicSequenceException;
import org.apache.commons.math4.util.FastMath;
import org.junit.Assert;

View File

@ -18,7 +18,6 @@ package org.apache.commons.math4.analysis.interpolation;
import java.util.Random;
import org.apache.commons.math4.analysis.interpolation.FieldHermiteInterpolator;
import org.apache.commons.math4.analysis.polynomials.PolynomialFunction;
import org.apache.commons.math4.dfp.Dfp;
import org.apache.commons.math4.dfp.DfpField;

View File

@ -19,7 +19,6 @@ package org.apache.commons.math4.analysis.interpolation;
import java.util.Random;
import org.apache.commons.math4.analysis.differentiation.DerivativeStructure;
import org.apache.commons.math4.analysis.interpolation.HermiteInterpolator;
import org.apache.commons.math4.analysis.polynomials.PolynomialFunction;
import org.apache.commons.math4.exception.MathIllegalArgumentException;
import org.apache.commons.math4.exception.NoDataException;

View File

@ -18,8 +18,6 @@ package org.apache.commons.math4.analysis.interpolation;
import org.apache.commons.math4.TestUtils;
import org.apache.commons.math4.analysis.UnivariateFunction;
import org.apache.commons.math4.analysis.interpolation.LinearInterpolator;
import org.apache.commons.math4.analysis.interpolation.UnivariateInterpolator;
import org.apache.commons.math4.analysis.polynomials.PolynomialFunction;
import org.apache.commons.math4.analysis.polynomials.PolynomialSplineFunction;
import org.apache.commons.math4.exception.DimensionMismatchException;

View File

@ -16,7 +16,6 @@
*/
package org.apache.commons.math4.analysis.interpolation;
import org.apache.commons.math4.analysis.interpolation.LoessInterpolator;
import org.apache.commons.math4.exception.DimensionMismatchException;
import org.apache.commons.math4.exception.NoDataException;
import org.apache.commons.math4.exception.NonMonotonicSequenceException;

View File

@ -19,8 +19,6 @@ package org.apache.commons.math4.analysis.interpolation;
import org.apache.commons.math4.analysis.UnivariateFunction;
import org.apache.commons.math4.analysis.function.Expm1;
import org.apache.commons.math4.analysis.function.Sin;
import org.apache.commons.math4.analysis.interpolation.NevilleInterpolator;
import org.apache.commons.math4.analysis.interpolation.UnivariateInterpolator;
import org.apache.commons.math4.exception.NonMonotonicSequenceException;
import org.apache.commons.math4.util.FastMath;
import org.junit.Assert;

View File

@ -19,9 +19,6 @@ package org.apache.commons.math4.analysis.interpolation;
import java.util.Random;
import org.apache.commons.math4.analysis.UnivariateFunction;
import org.apache.commons.math4.analysis.interpolation.LinearInterpolator;
import org.apache.commons.math4.analysis.interpolation.UnivariateInterpolator;
import org.apache.commons.math4.analysis.interpolation.UnivariatePeriodicInterpolator;
import org.apache.commons.math4.exception.NonMonotonicSequenceException;
import org.apache.commons.math4.exception.NumberIsTooSmallException;
import org.apache.commons.math4.util.FastMath;

View File

@ -16,7 +16,6 @@
*/
package org.apache.commons.math4.analysis.polynomials;
import org.apache.commons.math4.analysis.polynomials.PolynomialFunctionLagrangeForm;
import org.apache.commons.math4.exception.MathIllegalArgumentException;
import org.junit.Assert;
import org.junit.Test;

View File

@ -17,7 +17,6 @@
package org.apache.commons.math4.analysis.polynomials;
import org.apache.commons.math4.analysis.differentiation.DerivativeStructure;
import org.apache.commons.math4.analysis.polynomials.PolynomialFunctionNewtonForm;
import org.apache.commons.math4.exception.MathIllegalArgumentException;
import org.junit.Assert;
import org.junit.Test;

View File

@ -20,12 +20,6 @@ import org.apache.commons.math4.analysis.QuinticFunction;
import org.apache.commons.math4.analysis.UnivariateFunction;
import org.apache.commons.math4.analysis.XMinus5Function;
import org.apache.commons.math4.analysis.function.Sin;
import org.apache.commons.math4.analysis.solvers.AllowedSolution;
import org.apache.commons.math4.analysis.solvers.BaseSecantSolver;
import org.apache.commons.math4.analysis.solvers.BracketedUnivariateSolver;
import org.apache.commons.math4.analysis.solvers.PegasusSolver;
import org.apache.commons.math4.analysis.solvers.UnivariateSolver;
import org.apache.commons.math4.analysis.solvers.UnivariateSolverUtils;
import org.apache.commons.math4.exception.NoBracketingException;
import org.apache.commons.math4.exception.NumberIsTooLargeException;
import org.apache.commons.math4.util.FastMath;

View File

@ -19,7 +19,6 @@ package org.apache.commons.math4.analysis.solvers;
import org.apache.commons.math4.analysis.QuinticFunction;
import org.apache.commons.math4.analysis.UnivariateFunction;
import org.apache.commons.math4.analysis.function.Sin;
import org.apache.commons.math4.analysis.solvers.BisectionSolver;
import org.apache.commons.math4.util.FastMath;
import org.junit.Assert;
import org.junit.Test;

View File

@ -21,10 +21,6 @@ import org.apache.commons.math4.analysis.QuinticFunction;
import org.apache.commons.math4.analysis.UnivariateFunction;
import org.apache.commons.math4.analysis.differentiation.DerivativeStructure;
import org.apache.commons.math4.analysis.differentiation.UnivariateDifferentiableFunction;
import org.apache.commons.math4.analysis.solvers.AllowedSolution;
import org.apache.commons.math4.analysis.solvers.BracketingNthOrderBrentSolver;
import org.apache.commons.math4.analysis.solvers.NewtonRaphsonSolver;
import org.apache.commons.math4.analysis.solvers.UnivariateSolver;
import org.apache.commons.math4.exception.NumberIsTooSmallException;
import org.apache.commons.math4.exception.TooManyEvaluationsException;
import org.junit.Assert;

View File

@ -26,8 +26,6 @@ import org.apache.commons.math4.analysis.function.Constant;
import org.apache.commons.math4.analysis.function.Inverse;
import org.apache.commons.math4.analysis.function.Sin;
import org.apache.commons.math4.analysis.function.Sqrt;
import org.apache.commons.math4.analysis.solvers.BrentSolver;
import org.apache.commons.math4.analysis.solvers.UnivariateSolver;
import org.apache.commons.math4.exception.NoBracketingException;
import org.apache.commons.math4.exception.NumberIsTooLargeException;
import org.apache.commons.math4.exception.TooManyEvaluationsException;

View File

@ -18,7 +18,6 @@
package org.apache.commons.math4.analysis.solvers;
import org.apache.commons.math4.analysis.RealFieldUnivariateFunction;
import org.apache.commons.math4.analysis.solvers.AllowedSolution;
import org.apache.commons.math4.dfp.Dfp;
import org.apache.commons.math4.dfp.DfpField;
import org.apache.commons.math4.dfp.DfpMath;

View File

@ -17,9 +17,6 @@
package org.apache.commons.math4.analysis.solvers;
import org.apache.commons.math4.analysis.solvers.IllinoisSolver;
import org.apache.commons.math4.analysis.solvers.UnivariateSolver;
/**
* Test case for {@link IllinoisSolver Illinois} solver.
*

View File

@ -18,7 +18,6 @@ package org.apache.commons.math4.analysis.solvers;
import org.apache.commons.numbers.complex.Complex;
import org.apache.commons.math4.analysis.polynomials.PolynomialFunction;
import org.apache.commons.math4.analysis.solvers.LaguerreSolver;
import org.apache.commons.math4.exception.NoBracketingException;
import org.apache.commons.math4.exception.NumberIsTooLargeException;
import org.apache.commons.math4.util.FastMath;

View File

@ -20,8 +20,6 @@ import org.apache.commons.math4.analysis.QuinticFunction;
import org.apache.commons.math4.analysis.UnivariateFunction;
import org.apache.commons.math4.analysis.function.Expm1;
import org.apache.commons.math4.analysis.function.Sin;
import org.apache.commons.math4.analysis.solvers.MullerSolver2;
import org.apache.commons.math4.analysis.solvers.UnivariateSolver;
import org.apache.commons.math4.exception.NoBracketingException;
import org.apache.commons.math4.exception.NumberIsTooLargeException;
import org.apache.commons.math4.util.FastMath;

View File

@ -20,8 +20,6 @@ import org.apache.commons.math4.analysis.QuinticFunction;
import org.apache.commons.math4.analysis.UnivariateFunction;
import org.apache.commons.math4.analysis.function.Expm1;
import org.apache.commons.math4.analysis.function.Sin;
import org.apache.commons.math4.analysis.solvers.MullerSolver;
import org.apache.commons.math4.analysis.solvers.UnivariateSolver;
import org.apache.commons.math4.exception.NoBracketingException;
import org.apache.commons.math4.exception.NumberIsTooLargeException;
import org.apache.commons.math4.util.FastMath;

View File

@ -19,7 +19,6 @@ package org.apache.commons.math4.analysis.solvers;
import org.apache.commons.math4.analysis.QuinticFunction;
import org.apache.commons.math4.analysis.differentiation.UnivariateDifferentiableFunction;
import org.apache.commons.math4.analysis.function.Sin;
import org.apache.commons.math4.analysis.solvers.NewtonRaphsonSolver;
import org.apache.commons.math4.util.FastMath;
import org.junit.Assert;
import org.junit.Test;

View File

@ -17,9 +17,6 @@
package org.apache.commons.math4.analysis.solvers;
import org.apache.commons.math4.analysis.solvers.PegasusSolver;
import org.apache.commons.math4.analysis.solvers.UnivariateSolver;
/**
* Test case for {@link PegasusSolver Pegasus} solver.
*

View File

@ -18,8 +18,6 @@
package org.apache.commons.math4.analysis.solvers;
import org.apache.commons.math4.analysis.UnivariateFunction;
import org.apache.commons.math4.analysis.solvers.RegulaFalsiSolver;
import org.apache.commons.math4.analysis.solvers.UnivariateSolver;
import org.apache.commons.math4.exception.ConvergenceException;
import org.apache.commons.math4.util.FastMath;
import org.junit.Test;

View File

@ -20,8 +20,6 @@ import org.apache.commons.math4.analysis.QuinticFunction;
import org.apache.commons.math4.analysis.UnivariateFunction;
import org.apache.commons.math4.analysis.function.Expm1;
import org.apache.commons.math4.analysis.function.Sin;
import org.apache.commons.math4.analysis.solvers.RiddersSolver;
import org.apache.commons.math4.analysis.solvers.UnivariateSolver;
import org.apache.commons.math4.exception.NoBracketingException;
import org.apache.commons.math4.exception.NumberIsTooLargeException;
import org.apache.commons.math4.util.FastMath;

View File

@ -17,9 +17,6 @@
package org.apache.commons.math4.analysis.solvers;
import org.apache.commons.math4.analysis.solvers.SecantSolver;
import org.apache.commons.math4.analysis.solvers.UnivariateSolver;
/**
* Test case for {@link SecantSolver Secant} solver.
*

View File

@ -20,7 +20,6 @@ package org.apache.commons.math4.analysis.solvers;
import org.apache.commons.math4.analysis.QuinticFunction;
import org.apache.commons.math4.analysis.UnivariateFunction;
import org.apache.commons.math4.analysis.function.Sin;
import org.apache.commons.math4.analysis.solvers.UnivariateSolverUtils;
import org.apache.commons.math4.exception.MathIllegalArgumentException;
import org.apache.commons.math4.exception.NoBracketingException;
import org.apache.commons.math4.exception.NullArgumentException;

View File

@ -17,10 +17,6 @@
package org.apache.commons.math4.dfp;
import org.apache.commons.math4.dfp.Dfp;
import org.apache.commons.math4.dfp.DfpDec;
import org.apache.commons.math4.dfp.DfpField;
public class Decimal10 extends DfpDec {
Decimal10(final DfpField factory) {

View File

@ -17,9 +17,6 @@
package org.apache.commons.math4.dfp;
import org.apache.commons.math4.dfp.Dfp;
import org.apache.commons.math4.dfp.DfpDec;
import org.apache.commons.math4.dfp.DfpField;
import org.junit.After;
import org.junit.Assert;
import org.junit.Before;

View File

@ -17,9 +17,6 @@
package org.apache.commons.math4.dfp;
import org.apache.commons.math4.dfp.Dfp;
import org.apache.commons.math4.dfp.DfpField;
import org.apache.commons.math4.dfp.DfpMath;
import org.junit.After;
import org.junit.Assert;
import org.junit.Before;

View File

@ -16,7 +16,6 @@
*/
package org.apache.commons.math4.distribution;
import org.apache.commons.math4.distribution.AbstractIntegerDistribution;
import org.junit.Assert;
import org.junit.Test;

View File

@ -19,7 +19,6 @@ package org.apache.commons.math4.distribution;
import org.apache.commons.math4.analysis.UnivariateFunction;
import org.apache.commons.math4.analysis.integration.RombergIntegrator;
import org.apache.commons.math4.analysis.integration.UnivariateIntegrator;
import org.apache.commons.math4.distribution.AbstractRealDistribution;
import org.apache.commons.math4.exception.OutOfRangeException;
import org.junit.Assert;
import org.junit.Test;

View File

@ -18,7 +18,6 @@ package org.apache.commons.math4.distribution;
import java.util.Arrays;
import org.apache.commons.statistics.distribution.DiscreteDistribution;
import org.apache.commons.math4.distribution.EnumeratedIntegerDistribution;
import org.apache.commons.math4.exception.DimensionMismatchException;
import org.apache.commons.math4.exception.MathArithmeticException;
import org.apache.commons.math4.exception.NotANumberException;

View File

@ -22,8 +22,6 @@ import java.util.ArrayList;
import java.util.List;
import org.apache.commons.statistics.distribution.ContinuousDistribution;
import org.apache.commons.math4.distribution.EnumeratedDistribution;
import org.apache.commons.math4.distribution.EnumeratedRealDistribution;
import org.apache.commons.math4.exception.DimensionMismatchException;
import org.apache.commons.math4.exception.MathArithmeticException;
import org.apache.commons.math4.exception.NotANumberException;

View File

@ -18,7 +18,6 @@ package org.apache.commons.math4.distribution;
import org.apache.commons.statistics.distribution.DiscreteDistribution;
import org.apache.commons.math4.TestUtils;
import org.apache.commons.math4.distribution.AbstractIntegerDistribution;
import org.apache.commons.math4.exception.MathIllegalArgumentException;
import org.apache.commons.rng.simple.RandomSource;
import org.apache.commons.math4.util.FastMath;

View File

@ -18,7 +18,6 @@ package org.apache.commons.math4.distribution;
import java.util.List;
import org.apache.commons.math4.distribution.MultivariateNormalDistribution;
import org.apache.commons.math4.exception.MathArithmeticException;
import org.apache.commons.math4.exception.NotPositiveException;
import org.apache.commons.rng.simple.RandomSource;

View File

@ -17,7 +17,6 @@
package org.apache.commons.math4.distribution;
import org.apache.commons.math4.distribution.MultivariateNormalDistribution;
import org.apache.commons.statistics.distribution.NormalDistribution;
import org.apache.commons.math4.linear.RealMatrix;
import org.apache.commons.rng.simple.RandomSource;

View File

@ -22,7 +22,6 @@ import java.util.List;
import org.apache.commons.math4.distribution.MixtureMultivariateNormalDistribution;
import org.apache.commons.math4.distribution.MultivariateNormalDistribution;
import org.apache.commons.math4.distribution.fitting.MultivariateNormalMixtureExpectationMaximization;
import org.apache.commons.math4.exception.ConvergenceException;
import org.apache.commons.math4.exception.DimensionMismatchException;
import org.apache.commons.math4.exception.NotStrictlyPositiveException;

View File

@ -16,7 +16,6 @@
*/
package org.apache.commons.math4.exception;
import org.apache.commons.math4.exception.DimensionMismatchException;
import org.junit.Assert;
import org.junit.Test;

View File

@ -16,7 +16,6 @@
*/
package org.apache.commons.math4.exception;
import org.apache.commons.math4.exception.MaxCountExceededException;
import org.junit.Assert;
import org.junit.Test;

View File

@ -16,7 +16,6 @@
*/
package org.apache.commons.math4.exception;
import org.apache.commons.math4.exception.NonMonotonicSequenceException;
import org.apache.commons.math4.util.MathArrays;
import org.junit.Assert;
import org.junit.Test;

View File

@ -16,7 +16,6 @@
*/
package org.apache.commons.math4.exception;
import org.apache.commons.math4.exception.NotPositiveException;
import org.junit.Assert;
import org.junit.Test;

View File

@ -16,7 +16,6 @@
*/
package org.apache.commons.math4.exception;
import org.apache.commons.math4.exception.NotStrictlyPositiveException;
import org.junit.Assert;
import org.junit.Test;

View File

@ -16,7 +16,6 @@
*/
package org.apache.commons.math4.exception;
import org.apache.commons.math4.exception.NumberIsTooLargeException;
import org.junit.Assert;
import org.junit.Test;

View File

@ -16,7 +16,6 @@
*/
package org.apache.commons.math4.exception;
import org.apache.commons.math4.exception.NumberIsTooSmallException;
import org.junit.Assert;
import org.junit.Test;

View File

@ -16,7 +16,6 @@
*/
package org.apache.commons.math4.exception;
import org.apache.commons.math4.exception.OutOfRangeException;
import org.junit.Assert;
import org.junit.Test;

View File

@ -18,7 +18,6 @@ package org.apache.commons.math4.exception;
import java.text.MessageFormat;
import org.apache.commons.math4.exception.TooManyEvaluationsException;
import org.junit.Assert;
import org.junit.Test;

View File

@ -19,7 +19,6 @@ package org.apache.commons.math4.exception.util;
import java.util.List;
import java.util.ArrayList;
import org.apache.commons.math4.exception.util.ArgUtils;
import org.junit.Assert;
import org.junit.Test;

View File

@ -24,8 +24,6 @@ import java.io.ObjectInputStream;
import java.io.ByteArrayOutputStream;
import java.io.ByteArrayInputStream;
import org.apache.commons.math4.exception.util.ExceptionContext;
import org.apache.commons.math4.exception.util.LocalizedFormats;
import org.junit.Assert;
import org.junit.Test;

View File

@ -16,11 +16,6 @@ package org.apache.commons.math4.filter;
import org.apache.commons.statistics.distribution.ContinuousDistribution;
import org.apache.commons.statistics.distribution.NormalDistribution;
import org.apache.commons.math4.filter.DefaultMeasurementModel;
import org.apache.commons.math4.filter.DefaultProcessModel;
import org.apache.commons.math4.filter.KalmanFilter;
import org.apache.commons.math4.filter.MeasurementModel;
import org.apache.commons.math4.filter.ProcessModel;
import org.apache.commons.math4.linear.Array2DRowRealMatrix;
import org.apache.commons.math4.linear.ArrayRealVector;
import org.apache.commons.math4.linear.MatrixDimensionMismatchException;

View File

@ -18,8 +18,6 @@ package org.apache.commons.math4.fitting;
import org.apache.commons.math4.exception.MathIllegalArgumentException;
import org.apache.commons.math4.exception.TooManyIterationsException;
import org.apache.commons.math4.fitting.GaussianCurveFitter;
import org.apache.commons.math4.fitting.WeightedObservedPoints;
import org.junit.Assert;
import org.junit.Test;

View File

@ -24,9 +24,6 @@ import org.apache.commons.numbers.angle.PlaneAngleRadians;
import org.apache.commons.math4.analysis.function.HarmonicOscillator;
import org.apache.commons.math4.exception.MathIllegalStateException;
import org.apache.commons.math4.exception.NumberIsTooSmallException;
import org.apache.commons.math4.fitting.HarmonicCurveFitter;
import org.apache.commons.math4.fitting.WeightedObservedPoint;
import org.apache.commons.math4.fitting.WeightedObservedPoints;
import org.apache.commons.math4.util.FastMath;
import org.junit.Assert;
import org.junit.Test;

View File

@ -23,8 +23,6 @@ import org.apache.commons.math4.analysis.polynomials.PolynomialFunction;
import org.apache.commons.statistics.distribution.ContinuousDistribution;
import org.apache.commons.statistics.distribution.UniformContinuousDistribution;
import org.apache.commons.math4.exception.ConvergenceException;
import org.apache.commons.math4.fitting.PolynomialCurveFitter;
import org.apache.commons.math4.fitting.WeightedObservedPoints;
import org.apache.commons.math4.util.FastMath;
import org.apache.commons.rng.simple.RandomSource;
import org.junit.Assert;

View File

@ -23,8 +23,6 @@ import org.apache.commons.math4.analysis.ParametricUnivariateFunction;
import org.apache.commons.math4.analysis.polynomials.PolynomialFunction;
import org.apache.commons.statistics.distribution.ContinuousDistribution;
import org.apache.commons.statistics.distribution.UniformContinuousDistribution;
import org.apache.commons.math4.fitting.SimpleCurveFitter;
import org.apache.commons.math4.fitting.WeightedObservedPoints;
import org.apache.commons.rng.simple.RandomSource;
import org.junit.Test;

View File

@ -20,8 +20,6 @@ import java.util.List;
import org.junit.Assert;
import org.junit.Test;
import org.apache.commons.math4.fitting.WeightedObservedPoint;
import org.apache.commons.math4.fitting.WeightedObservedPoints;
import org.apache.commons.numbers.core.Precision;
/**

View File

@ -21,10 +21,6 @@ import org.apache.commons.math4.analysis.MultivariateMatrixFunction;
import org.apache.commons.math4.analysis.MultivariateVectorFunction;
import org.apache.commons.math4.exception.ConvergenceException;
import org.apache.commons.math4.exception.DimensionMismatchException;
import org.apache.commons.math4.fitting.leastsquares.LeastSquaresBuilder;
import org.apache.commons.math4.fitting.leastsquares.LeastSquaresOptimizer;
import org.apache.commons.math4.fitting.leastsquares.LeastSquaresProblem;
import org.apache.commons.math4.fitting.leastsquares.MultivariateJacobianFunction;
import org.apache.commons.math4.fitting.leastsquares.LeastSquaresOptimizer.Optimum;
import org.apache.commons.math4.fitting.leastsquares.LeastSquaresProblem.Evaluation;
import org.apache.commons.math4.linear.Array2DRowRealMatrix;

View File

@ -16,7 +16,6 @@
*/
package org.apache.commons.math4.fitting.leastsquares;
import org.apache.commons.math4.fitting.leastsquares.EvaluationRmsChecker;
import org.apache.commons.math4.fitting.leastsquares.LeastSquaresProblem.Evaluation;
import org.apache.commons.math4.linear.RealMatrix;
import org.apache.commons.math4.linear.RealVector;

View File

@ -17,11 +17,6 @@ import org.apache.commons.math4.TestUtils;
import org.apache.commons.math4.analysis.MultivariateMatrixFunction;
import org.apache.commons.math4.analysis.MultivariateVectorFunction;
import org.apache.commons.math4.exception.MathIllegalStateException;
import org.apache.commons.math4.fitting.leastsquares.LeastSquaresBuilder;
import org.apache.commons.math4.fitting.leastsquares.LeastSquaresFactory;
import org.apache.commons.math4.fitting.leastsquares.LeastSquaresProblem;
import org.apache.commons.math4.fitting.leastsquares.MultivariateJacobianFunction;
import org.apache.commons.math4.fitting.leastsquares.ValueAndJacobianFunction;
import org.apache.commons.math4.fitting.leastsquares.LeastSquaresProblem.Evaluation;
import org.apache.commons.math4.linear.ArrayRealVector;
import org.apache.commons.math4.linear.DiagonalMatrix;

View File

@ -13,8 +13,6 @@
*/
package org.apache.commons.math4.fitting.leastsquares;
import org.apache.commons.math4.fitting.leastsquares.LeastSquaresBuilder;
import org.apache.commons.math4.fitting.leastsquares.LeastSquaresProblem;
import org.apache.commons.math4.linear.ArrayRealVector;
import org.apache.commons.math4.linear.DiagonalMatrix;
import org.apache.commons.math4.linear.RealVector;

View File

@ -19,9 +19,6 @@ package org.apache.commons.math4.fitting.leastsquares;
import org.apache.commons.math4.exception.ConvergenceException;
import org.apache.commons.math4.exception.TooManyEvaluationsException;
import org.apache.commons.math4.fitting.leastsquares.GaussNewtonOptimizer;
import org.apache.commons.math4.fitting.leastsquares.LeastSquaresOptimizer;
import org.apache.commons.math4.fitting.leastsquares.LeastSquaresProblem;
import org.apache.commons.math4.fitting.leastsquares.GaussNewtonOptimizer.Decomposition;
import org.apache.commons.math4.optim.SimpleVectorValueChecker;
import org.junit.Test;

View File

@ -19,9 +19,6 @@ package org.apache.commons.math4.fitting.leastsquares;
import org.apache.commons.math4.exception.ConvergenceException;
import org.apache.commons.math4.exception.TooManyEvaluationsException;
import org.apache.commons.math4.fitting.leastsquares.GaussNewtonOptimizer;
import org.apache.commons.math4.fitting.leastsquares.LeastSquaresOptimizer;
import org.apache.commons.math4.fitting.leastsquares.LeastSquaresProblem;
import org.apache.commons.math4.fitting.leastsquares.GaussNewtonOptimizer.Decomposition;
import org.apache.commons.math4.optim.SimpleVectorValueChecker;
import org.junit.Test;

View File

@ -19,9 +19,6 @@ package org.apache.commons.math4.fitting.leastsquares;
import org.apache.commons.math4.exception.ConvergenceException;
import org.apache.commons.math4.exception.TooManyEvaluationsException;
import org.apache.commons.math4.fitting.leastsquares.GaussNewtonOptimizer;
import org.apache.commons.math4.fitting.leastsquares.LeastSquaresOptimizer;
import org.apache.commons.math4.fitting.leastsquares.LeastSquaresProblem;
import org.apache.commons.math4.fitting.leastsquares.GaussNewtonOptimizer.Decomposition;
import org.apache.commons.math4.optim.SimpleVectorValueChecker;
import org.junit.Test;

View File

@ -23,9 +23,6 @@ import org.apache.commons.geometry.euclidean.threed.Vector3D;
import org.apache.commons.geometry.core.precision.EpsilonDoublePrecisionContext;
import org.apache.commons.math4.exception.ConvergenceException;
import org.apache.commons.math4.exception.TooManyEvaluationsException;
import org.apache.commons.math4.fitting.leastsquares.GaussNewtonOptimizer;
import org.apache.commons.math4.fitting.leastsquares.LeastSquaresOptimizer;
import org.apache.commons.math4.fitting.leastsquares.LeastSquaresProblem;
import org.apache.commons.math4.fitting.leastsquares.GaussNewtonOptimizer.Decomposition;
import org.apache.commons.math4.fitting.leastsquares.LeastSquaresOptimizer.Optimum;
import org.apache.commons.math4.optim.SimpleVectorValueChecker;

View File

@ -22,9 +22,6 @@ import java.util.Arrays;
import org.apache.commons.math4.analysis.MultivariateMatrixFunction;
import org.apache.commons.math4.analysis.MultivariateVectorFunction;
import org.apache.commons.math4.exception.TooManyEvaluationsException;
import org.apache.commons.math4.fitting.leastsquares.LeastSquaresBuilder;
import org.apache.commons.math4.fitting.leastsquares.LeastSquaresProblem;
import org.apache.commons.math4.fitting.leastsquares.LevenbergMarquardtOptimizer;
import org.apache.commons.math4.fitting.leastsquares.LeastSquaresOptimizer.Optimum;
import org.apache.commons.math4.linear.DiagonalMatrix;
import org.apache.commons.math4.util.FastMath;

View File

@ -18,8 +18,6 @@ package org.apache.commons.math4.genetics;
import org.apache.commons.math4.exception.MathIllegalArgumentException;
import org.apache.commons.math4.genetics.BinaryChromosome;
import org.apache.commons.math4.genetics.Chromosome;
import org.junit.Assert;
import org.junit.Test;

View File

@ -17,8 +17,6 @@
package org.apache.commons.math4.genetics;
import org.apache.commons.math4.genetics.BinaryChromosome;
import org.apache.commons.math4.genetics.BinaryMutation;
import org.junit.Assert;
import org.junit.Test;

View File

@ -20,9 +20,6 @@ package org.apache.commons.math4.genetics;
import java.util.ArrayList;
import java.util.List;
import org.apache.commons.math4.genetics.Chromosome;
import org.apache.commons.math4.genetics.ListPopulation;
import org.apache.commons.math4.genetics.Population;
import org.junit.Assert;
import org.junit.Test;

View File

@ -18,11 +18,6 @@ package org.apache.commons.math4.genetics;
import org.apache.commons.math4.exception.DimensionMismatchException;
import org.apache.commons.math4.exception.MathIllegalArgumentException;
import org.apache.commons.math4.genetics.BinaryChromosome;
import org.apache.commons.math4.genetics.Chromosome;
import org.apache.commons.math4.genetics.ChromosomePair;
import org.apache.commons.math4.genetics.CrossoverPolicy;
import org.apache.commons.math4.genetics.CycleCrossover;
import org.junit.Assert;
import org.junit.Test;

View File

@ -18,9 +18,6 @@ package org.apache.commons.math4.genetics;
import java.util.List;
import org.apache.commons.math4.genetics.AbstractListChromosome;
import org.apache.commons.math4.genetics.BinaryChromosome;
/**
* Implementation of BinaryChromosome for testing purposes
*/

View File

@ -19,9 +19,6 @@ package org.apache.commons.math4.genetics;
import java.util.Arrays;
import java.util.List;
import org.apache.commons.math4.genetics.AbstractListChromosome;
import org.apache.commons.math4.genetics.InvalidRepresentationException;
/**
* Implementation of ListChromosome for testing purposes
*/

View File

@ -18,9 +18,6 @@ package org.apache.commons.math4.genetics;
import java.util.List;
import org.apache.commons.math4.genetics.AbstractListChromosome;
import org.apache.commons.math4.genetics.RandomKey;
/**
* Implementation of RandomKey for testing purposes
*/

View File

@ -21,9 +21,6 @@ import java.util.Collections;
import java.util.List;
import org.apache.commons.math4.exception.OutOfRangeException;
import org.apache.commons.math4.genetics.Chromosome;
import org.apache.commons.math4.genetics.ElitisticListPopulation;
import org.apache.commons.math4.genetics.Population;
import org.junit.Assert;
import org.junit.Test;

View File

@ -20,16 +20,6 @@ package org.apache.commons.math4.genetics;
import java.util.LinkedList;
import java.util.List;
import org.apache.commons.math4.genetics.BinaryChromosome;
import org.apache.commons.math4.genetics.BinaryMutation;
import org.apache.commons.math4.genetics.Chromosome;
import org.apache.commons.math4.genetics.ElitisticListPopulation;
import org.apache.commons.math4.genetics.FixedGenerationCount;
import org.apache.commons.math4.genetics.GeneticAlgorithm;
import org.apache.commons.math4.genetics.OnePointCrossover;
import org.apache.commons.math4.genetics.Population;
import org.apache.commons.math4.genetics.StoppingCondition;
import org.apache.commons.math4.genetics.TournamentSelection;
import org.junit.Assert;
import org.junit.Test;

View File

@ -19,9 +19,6 @@ package org.apache.commons.math4.genetics;
import java.util.Iterator;
import java.util.concurrent.TimeUnit;
import org.apache.commons.math4.genetics.Chromosome;
import org.apache.commons.math4.genetics.FixedElapsedTime;
import org.apache.commons.math4.genetics.Population;
import org.apache.commons.math4.util.FastMath;
import org.junit.Assert;
import org.junit.Test;

View File

@ -19,9 +19,6 @@ package org.apache.commons.math4.genetics;
import java.util.Iterator;
import org.apache.commons.math4.genetics.Chromosome;
import org.apache.commons.math4.genetics.FixedGenerationCount;
import org.apache.commons.math4.genetics.Population;
import org.junit.Assert;
import org.junit.Test;

View File

@ -20,17 +20,6 @@ package org.apache.commons.math4.genetics;
import java.util.LinkedList;
import java.util.List;
import org.apache.commons.math4.genetics.AbstractListChromosome;
import org.apache.commons.math4.genetics.BinaryChromosome;
import org.apache.commons.math4.genetics.BinaryMutation;
import org.apache.commons.math4.genetics.Chromosome;
import org.apache.commons.math4.genetics.ElitisticListPopulation;
import org.apache.commons.math4.genetics.FixedGenerationCount;
import org.apache.commons.math4.genetics.GeneticAlgorithm;
import org.apache.commons.math4.genetics.OnePointCrossover;
import org.apache.commons.math4.genetics.Population;
import org.apache.commons.math4.genetics.StoppingCondition;
import org.apache.commons.math4.genetics.TournamentSelection;
import org.junit.Assert;
import org.junit.Test;

View File

@ -20,17 +20,6 @@ package org.apache.commons.math4.genetics;
import java.util.ArrayList;
import java.util.List;
import org.apache.commons.math4.genetics.AbstractListChromosome;
import org.apache.commons.math4.genetics.Chromosome;
import org.apache.commons.math4.genetics.ElitisticListPopulation;
import org.apache.commons.math4.genetics.FixedGenerationCount;
import org.apache.commons.math4.genetics.GeneticAlgorithm;
import org.apache.commons.math4.genetics.OnePointCrossover;
import org.apache.commons.math4.genetics.Population;
import org.apache.commons.math4.genetics.RandomKey;
import org.apache.commons.math4.genetics.RandomKeyMutation;
import org.apache.commons.math4.genetics.StoppingCondition;
import org.apache.commons.math4.genetics.TournamentSelection;
import org.apache.commons.math4.util.FastMath;
import org.junit.Assert;
import org.junit.Test;

View File

@ -23,10 +23,6 @@ import java.util.Iterator;
import org.apache.commons.math4.exception.NotPositiveException;
import org.apache.commons.math4.exception.NumberIsTooLargeException;
import org.apache.commons.math4.exception.NumberIsTooSmallException;
import org.apache.commons.math4.genetics.BinaryChromosome;
import org.apache.commons.math4.genetics.Chromosome;
import org.apache.commons.math4.genetics.ListPopulation;
import org.apache.commons.math4.genetics.Population;
import org.junit.Assert;
import org.junit.Test;

View File

@ -21,11 +21,6 @@ import java.util.List;
import org.apache.commons.math4.exception.DimensionMismatchException;
import org.apache.commons.math4.exception.MathIllegalArgumentException;
import org.apache.commons.math4.exception.NumberIsTooLargeException;
import org.apache.commons.math4.genetics.BinaryChromosome;
import org.apache.commons.math4.genetics.Chromosome;
import org.apache.commons.math4.genetics.ChromosomePair;
import org.apache.commons.math4.genetics.CrossoverPolicy;
import org.apache.commons.math4.genetics.NPointCrossover;
import org.junit.Assert;
import org.junit.Test;

View File

@ -16,9 +16,6 @@
*/
package org.apache.commons.math4.genetics;
import org.apache.commons.math4.genetics.BinaryChromosome;
import org.apache.commons.math4.genetics.ChromosomePair;
import org.apache.commons.math4.genetics.OnePointCrossover;
import org.junit.Assert;
import org.junit.Test;

Some files were not shown because too many files have changed in this diff Show More