http://git-wip-us.apache.org/repos/asf/commons-math/blob/e4e1ac23/src/test/java/org/apache/commons/math4/analysis/QuinticFunction.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/commons/math4/analysis/QuinticFunction.java b/src/test/java/org/apache/commons/math4/analysis/QuinticFunction.java index f6010e0..5339436 100644 --- a/src/test/java/org/apache/commons/math4/analysis/QuinticFunction.java +++ b/src/test/java/org/apache/commons/math4/analysis/QuinticFunction.java @@ -14,10 +14,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.commons.math3.analysis; +package org.apache.commons.math4.analysis; -import org.apache.commons.math3.analysis.differentiation.DerivativeStructure; -import org.apache.commons.math3.analysis.differentiation.UnivariateDifferentiableFunction; +import org.apache.commons.math4.analysis.differentiation.DerivativeStructure; +import org.apache.commons.math4.analysis.differentiation.UnivariateDifferentiableFunction; /** * Auxiliary class for testing solvers. @@ -26,7 +26,7 @@ import org.apache.commons.math3.analysis.differentiation.UnivariateDifferentiabl public class QuinticFunction implements UnivariateDifferentiableFunction { /* Evaluate quintic. - * @see org.apache.commons.math3.UnivariateFunction#value(double) + * @see org.apache.commons.math4.UnivariateFunction#value(double) */ public double value(double x) { return (x-1)*(x-0.5)*x*(x+0.5)*(x+1);
http://git-wip-us.apache.org/repos/asf/commons-math/blob/e4e1ac23/src/test/java/org/apache/commons/math4/analysis/SumSincFunction.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/commons/math4/analysis/SumSincFunction.java b/src/test/java/org/apache/commons/math4/analysis/SumSincFunction.java index d2af31a..cb44ab2 100644 --- a/src/test/java/org/apache/commons/math4/analysis/SumSincFunction.java +++ b/src/test/java/org/apache/commons/math4/analysis/SumSincFunction.java @@ -14,9 +14,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.commons.math3.analysis; +package org.apache.commons.math4.analysis; -import org.apache.commons.math3.analysis.function.Sinc; +import org.apache.commons.math4.analysis.MultivariateFunction; +import org.apache.commons.math4.analysis.UnivariateFunction; +import org.apache.commons.math4.analysis.function.Sinc; /** * Auxiliary class for testing optimizers. http://git-wip-us.apache.org/repos/asf/commons-math/blob/e4e1ac23/src/test/java/org/apache/commons/math4/analysis/XMinus5Function.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/commons/math4/analysis/XMinus5Function.java b/src/test/java/org/apache/commons/math4/analysis/XMinus5Function.java index a5ddc97..61fdc48 100644 --- a/src/test/java/org/apache/commons/math4/analysis/XMinus5Function.java +++ b/src/test/java/org/apache/commons/math4/analysis/XMinus5Function.java @@ -14,10 +14,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.commons.math3.analysis; +package org.apache.commons.math4.analysis; -import org.apache.commons.math3.analysis.differentiation.DerivativeStructure; -import org.apache.commons.math3.analysis.differentiation.UnivariateDifferentiableFunction; +import org.apache.commons.math4.analysis.differentiation.DerivativeStructure; +import org.apache.commons.math4.analysis.differentiation.UnivariateDifferentiableFunction; /** * Auxiliary class for testing solvers. @@ -26,7 +26,7 @@ import org.apache.commons.math3.analysis.differentiation.UnivariateDifferentiabl public class XMinus5Function implements UnivariateDifferentiableFunction { /* Evaluate x - 5 fuction. - * @see org.apache.commons.math3.UnivariateFunction#value(double) + * @see org.apache.commons.math4.UnivariateFunction#value(double) */ public double value(double x) { return x - 5; http://git-wip-us.apache.org/repos/asf/commons-math/blob/e4e1ac23/src/test/java/org/apache/commons/math4/analysis/differentiation/DSCompilerTest.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/commons/math4/analysis/differentiation/DSCompilerTest.java b/src/test/java/org/apache/commons/math4/analysis/differentiation/DSCompilerTest.java index 9d03c29..e54d7a3 100644 --- a/src/test/java/org/apache/commons/math4/analysis/differentiation/DSCompilerTest.java +++ b/src/test/java/org/apache/commons/math4/analysis/differentiation/DSCompilerTest.java @@ -15,14 +15,15 @@ * limitations under the License. */ -package org.apache.commons.math3.analysis.differentiation; +package org.apache.commons.math4.analysis.differentiation; import java.lang.reflect.Field; import java.util.HashMap; import java.util.Map; -import org.apache.commons.math3.exception.DimensionMismatchException; -import org.apache.commons.math3.util.CombinatoricsUtils; +import org.apache.commons.math4.analysis.differentiation.DSCompiler; +import org.apache.commons.math4.exception.DimensionMismatchException; +import org.apache.commons.math4.util.CombinatoricsUtils; import org.junit.Assert; import org.junit.Test; http://git-wip-us.apache.org/repos/asf/commons-math/blob/e4e1ac23/src/test/java/org/apache/commons/math4/analysis/differentiation/DerivativeStructureTest.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/commons/math4/analysis/differentiation/DerivativeStructureTest.java b/src/test/java/org/apache/commons/math4/analysis/differentiation/DerivativeStructureTest.java index 39b4d5f..dc251bb 100644 --- a/src/test/java/org/apache/commons/math4/analysis/differentiation/DerivativeStructureTest.java +++ b/src/test/java/org/apache/commons/math4/analysis/differentiation/DerivativeStructureTest.java @@ -15,20 +15,21 @@ * limitations under the License. */ -package org.apache.commons.math3.analysis.differentiation; +package org.apache.commons.math4.analysis.differentiation; import java.util.Arrays; import java.util.List; -import org.apache.commons.math3.ExtendedFieldElementAbstractTest; -import org.apache.commons.math3.TestUtils; -import org.apache.commons.math3.analysis.polynomials.PolynomialFunction; -import org.apache.commons.math3.exception.DimensionMismatchException; -import org.apache.commons.math3.exception.NumberIsTooLargeException; -import org.apache.commons.math3.random.Well1024a; -import org.apache.commons.math3.util.ArithmeticUtils; -import org.apache.commons.math3.util.CombinatoricsUtils; -import org.apache.commons.math3.util.FastMath; +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; +import org.apache.commons.math4.random.Well1024a; +import org.apache.commons.math4.util.ArithmeticUtils; +import org.apache.commons.math4.util.CombinatoricsUtils; +import org.apache.commons.math4.util.FastMath; import org.junit.Assert; import org.junit.Test; http://git-wip-us.apache.org/repos/asf/commons-math/blob/e4e1ac23/src/test/java/org/apache/commons/math4/analysis/differentiation/FiniteDifferencesDifferentiatorTest.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/commons/math4/analysis/differentiation/FiniteDifferencesDifferentiatorTest.java b/src/test/java/org/apache/commons/math4/analysis/differentiation/FiniteDifferencesDifferentiatorTest.java index 9702305..acea0d7 100644 --- a/src/test/java/org/apache/commons/math4/analysis/differentiation/FiniteDifferencesDifferentiatorTest.java +++ b/src/test/java/org/apache/commons/math4/analysis/differentiation/FiniteDifferencesDifferentiatorTest.java @@ -15,20 +15,26 @@ * limitations under the License. */ -package org.apache.commons.math3.analysis.differentiation; - -import org.apache.commons.math3.TestUtils; -import org.apache.commons.math3.analysis.QuinticFunction; -import org.apache.commons.math3.analysis.UnivariateFunction; -import org.apache.commons.math3.analysis.UnivariateMatrixFunction; -import org.apache.commons.math3.analysis.UnivariateVectorFunction; -import org.apache.commons.math3.analysis.function.Gaussian; -import org.apache.commons.math3.analysis.function.Sin; -import org.apache.commons.math3.exception.MathInternalError; -import org.apache.commons.math3.exception.NotPositiveException; -import org.apache.commons.math3.exception.NumberIsTooLargeException; -import org.apache.commons.math3.exception.NumberIsTooSmallException; -import org.apache.commons.math3.util.FastMath; +package org.apache.commons.math4.analysis.differentiation; + +import org.apache.commons.math4.TestUtils; +import org.apache.commons.math4.analysis.QuinticFunction; +import org.apache.commons.math4.analysis.UnivariateFunction; +import org.apache.commons.math4.analysis.UnivariateMatrixFunction; +import org.apache.commons.math4.analysis.UnivariateVectorFunction; +import org.apache.commons.math4.analysis.differentiation.DerivativeStructure; +import org.apache.commons.math4.analysis.differentiation.FiniteDifferencesDifferentiator; +import org.apache.commons.math4.analysis.differentiation.UnivariateDifferentiableFunction; +import org.apache.commons.math4.analysis.differentiation.UnivariateDifferentiableMatrixFunction; +import org.apache.commons.math4.analysis.differentiation.UnivariateDifferentiableVectorFunction; +import org.apache.commons.math4.analysis.differentiation.UnivariateFunctionDifferentiator; +import org.apache.commons.math4.analysis.function.Gaussian; +import org.apache.commons.math4.analysis.function.Sin; +import org.apache.commons.math4.exception.MathInternalError; +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.util.FastMath; import org.junit.Assert; import org.junit.Test; http://git-wip-us.apache.org/repos/asf/commons-math/blob/e4e1ac23/src/test/java/org/apache/commons/math4/analysis/differentiation/GradientFunctionTest.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/commons/math4/analysis/differentiation/GradientFunctionTest.java b/src/test/java/org/apache/commons/math4/analysis/differentiation/GradientFunctionTest.java index 7faf9b6..69372e4 100644 --- a/src/test/java/org/apache/commons/math4/analysis/differentiation/GradientFunctionTest.java +++ b/src/test/java/org/apache/commons/math4/analysis/differentiation/GradientFunctionTest.java @@ -15,12 +15,15 @@ * limitations under the License. */ -package org.apache.commons.math3.analysis.differentiation; +package org.apache.commons.math4.analysis.differentiation; -import org.apache.commons.math3.TestUtils; -import org.apache.commons.math3.exception.DimensionMismatchException; -import org.apache.commons.math3.exception.MathIllegalArgumentException; -import org.apache.commons.math3.util.FastMath; +import org.apache.commons.math4.TestUtils; +import org.apache.commons.math4.analysis.differentiation.DerivativeStructure; +import org.apache.commons.math4.analysis.differentiation.GradientFunction; +import org.apache.commons.math4.analysis.differentiation.MultivariateDifferentiableFunction; +import org.apache.commons.math4.exception.DimensionMismatchException; +import org.apache.commons.math4.exception.MathIllegalArgumentException; +import org.apache.commons.math4.util.FastMath; import org.junit.Test; http://git-wip-us.apache.org/repos/asf/commons-math/blob/e4e1ac23/src/test/java/org/apache/commons/math4/analysis/differentiation/JacobianFunctionTest.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/commons/math4/analysis/differentiation/JacobianFunctionTest.java b/src/test/java/org/apache/commons/math4/analysis/differentiation/JacobianFunctionTest.java index b7c00fe..d3359c5 100644 --- a/src/test/java/org/apache/commons/math4/analysis/differentiation/JacobianFunctionTest.java +++ b/src/test/java/org/apache/commons/math4/analysis/differentiation/JacobianFunctionTest.java @@ -15,12 +15,14 @@ * limitations under the License. */ -package org.apache.commons.math3.analysis.differentiation; +package org.apache.commons.math4.analysis.differentiation; import org.junit.Assert; - -import org.apache.commons.math3.TestUtils; -import org.apache.commons.math3.util.FastMath; +import org.apache.commons.math4.TestUtils; +import org.apache.commons.math4.analysis.differentiation.DerivativeStructure; +import org.apache.commons.math4.analysis.differentiation.JacobianFunction; +import org.apache.commons.math4.analysis.differentiation.MultivariateDifferentiableVectorFunction; +import org.apache.commons.math4.util.FastMath; import org.junit.Test; http://git-wip-us.apache.org/repos/asf/commons-math/blob/e4e1ac23/src/test/java/org/apache/commons/math4/analysis/differentiation/SparseGradientTest.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/commons/math4/analysis/differentiation/SparseGradientTest.java b/src/test/java/org/apache/commons/math4/analysis/differentiation/SparseGradientTest.java index 559da87..a82a163 100644 --- a/src/test/java/org/apache/commons/math4/analysis/differentiation/SparseGradientTest.java +++ b/src/test/java/org/apache/commons/math4/analysis/differentiation/SparseGradientTest.java @@ -14,16 +14,17 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.commons.math3.analysis.differentiation; +package org.apache.commons.math4.analysis.differentiation; import java.util.Arrays; import java.util.List; -import org.apache.commons.math3.ExtendedFieldElementAbstractTest; -import org.apache.commons.math3.TestUtils; -import org.apache.commons.math3.analysis.polynomials.PolynomialFunction; -import org.apache.commons.math3.random.Well1024a; -import org.apache.commons.math3.util.FastMath; +import org.apache.commons.math4.ExtendedFieldElementAbstractTest; +import org.apache.commons.math4.TestUtils; +import org.apache.commons.math4.analysis.differentiation.SparseGradient; +import org.apache.commons.math4.analysis.polynomials.PolynomialFunction; +import org.apache.commons.math4.random.Well1024a; +import org.apache.commons.math4.util.FastMath; import org.junit.Assert; import org.junit.Test; http://git-wip-us.apache.org/repos/asf/commons-math/blob/e4e1ac23/src/test/java/org/apache/commons/math4/analysis/function/GaussianTest.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/commons/math4/analysis/function/GaussianTest.java b/src/test/java/org/apache/commons/math4/analysis/function/GaussianTest.java index ef7536d..c3b8574 100644 --- a/src/test/java/org/apache/commons/math4/analysis/function/GaussianTest.java +++ b/src/test/java/org/apache/commons/math4/analysis/function/GaussianTest.java @@ -15,15 +15,16 @@ * limitations under the License. */ -package org.apache.commons.math3.analysis.function; - -import org.apache.commons.math3.analysis.UnivariateFunction; -import org.apache.commons.math3.analysis.differentiation.DerivativeStructure; -import org.apache.commons.math3.analysis.differentiation.UnivariateDifferentiableFunction; -import org.apache.commons.math3.exception.DimensionMismatchException; -import org.apache.commons.math3.exception.NotStrictlyPositiveException; -import org.apache.commons.math3.exception.NullArgumentException; -import org.apache.commons.math3.util.FastMath; +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; +import org.apache.commons.math4.util.FastMath; import org.junit.Assert; import org.junit.Test; http://git-wip-us.apache.org/repos/asf/commons-math/blob/e4e1ac23/src/test/java/org/apache/commons/math4/analysis/function/HarmonicOscillatorTest.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/commons/math4/analysis/function/HarmonicOscillatorTest.java b/src/test/java/org/apache/commons/math4/analysis/function/HarmonicOscillatorTest.java index 99d7137..c195d20 100644 --- a/src/test/java/org/apache/commons/math4/analysis/function/HarmonicOscillatorTest.java +++ b/src/test/java/org/apache/commons/math4/analysis/function/HarmonicOscillatorTest.java @@ -15,14 +15,15 @@ * limitations under the License. */ -package org.apache.commons.math3.analysis.function; +package org.apache.commons.math4.analysis.function; -import org.apache.commons.math3.analysis.UnivariateFunction; -import org.apache.commons.math3.analysis.differentiation.DerivativeStructure; -import org.apache.commons.math3.exception.DimensionMismatchException; -import org.apache.commons.math3.exception.NullArgumentException; -import org.apache.commons.math3.util.FastMath; -import org.apache.commons.math3.util.Precision; +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; +import org.apache.commons.math4.util.Precision; import org.junit.Assert; import org.junit.Test; http://git-wip-us.apache.org/repos/asf/commons-math/blob/e4e1ac23/src/test/java/org/apache/commons/math4/analysis/function/LogisticTest.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/commons/math4/analysis/function/LogisticTest.java b/src/test/java/org/apache/commons/math4/analysis/function/LogisticTest.java index f721719..61c1384 100644 --- a/src/test/java/org/apache/commons/math4/analysis/function/LogisticTest.java +++ b/src/test/java/org/apache/commons/math4/analysis/function/LogisticTest.java @@ -15,15 +15,16 @@ * limitations under the License. */ -package org.apache.commons.math3.analysis.function; - -import org.apache.commons.math3.analysis.UnivariateFunction; -import org.apache.commons.math3.analysis.differentiation.DerivativeStructure; -import org.apache.commons.math3.exception.NotStrictlyPositiveException; -import org.apache.commons.math3.exception.NullArgumentException; -import org.apache.commons.math3.exception.DimensionMismatchException; -import org.apache.commons.math3.util.FastMath; - +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; +import org.apache.commons.math4.util.FastMath; import org.junit.Assert; import org.junit.Test; http://git-wip-us.apache.org/repos/asf/commons-math/blob/e4e1ac23/src/test/java/org/apache/commons/math4/analysis/function/LogitTest.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/commons/math4/analysis/function/LogitTest.java b/src/test/java/org/apache/commons/math4/analysis/function/LogitTest.java index e38265d..9639fa8 100644 --- a/src/test/java/org/apache/commons/math4/analysis/function/LogitTest.java +++ b/src/test/java/org/apache/commons/math4/analysis/function/LogitTest.java @@ -15,19 +15,20 @@ * limitations under the License. */ -package org.apache.commons.math3.analysis.function; - -import org.apache.commons.math3.analysis.UnivariateFunction; -import org.apache.commons.math3.analysis.FunctionUtils; -import org.apache.commons.math3.analysis.differentiation.DerivativeStructure; -import org.apache.commons.math3.analysis.differentiation.UnivariateDifferentiableFunction; -import org.apache.commons.math3.exception.NullArgumentException; -import org.apache.commons.math3.exception.DimensionMismatchException; -import org.apache.commons.math3.exception.OutOfRangeException; -import org.apache.commons.math3.random.RandomGenerator; -import org.apache.commons.math3.random.Well1024a; -import org.apache.commons.math3.util.FastMath; - +package org.apache.commons.math4.analysis.function; + +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; +import org.apache.commons.math4.random.RandomGenerator; +import org.apache.commons.math4.random.Well1024a; +import org.apache.commons.math4.util.FastMath; import org.junit.Assert; import org.junit.Test; http://git-wip-us.apache.org/repos/asf/commons-math/blob/e4e1ac23/src/test/java/org/apache/commons/math4/analysis/function/SigmoidTest.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/commons/math4/analysis/function/SigmoidTest.java b/src/test/java/org/apache/commons/math4/analysis/function/SigmoidTest.java index 59f6312..b9f458b 100644 --- a/src/test/java/org/apache/commons/math4/analysis/function/SigmoidTest.java +++ b/src/test/java/org/apache/commons/math4/analysis/function/SigmoidTest.java @@ -15,13 +15,13 @@ * limitations under the License. */ -package org.apache.commons.math3.analysis.function; - -import org.apache.commons.math3.analysis.UnivariateFunction; -import org.apache.commons.math3.analysis.differentiation.DerivativeStructure; -import org.apache.commons.math3.exception.NullArgumentException; -import org.apache.commons.math3.exception.DimensionMismatchException; +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; import org.junit.Test; http://git-wip-us.apache.org/repos/asf/commons-math/blob/e4e1ac23/src/test/java/org/apache/commons/math4/analysis/function/SincTest.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/commons/math4/analysis/function/SincTest.java b/src/test/java/org/apache/commons/math4/analysis/function/SincTest.java index d5d37f8..864f76e 100644 --- a/src/test/java/org/apache/commons/math4/analysis/function/SincTest.java +++ b/src/test/java/org/apache/commons/math4/analysis/function/SincTest.java @@ -14,14 +14,15 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.commons.math3.analysis.function; +package org.apache.commons.math4.analysis.function; -import org.apache.commons.math3.analysis.UnivariateFunction; -import org.apache.commons.math3.analysis.differentiation.DerivativeStructure; -import org.apache.commons.math3.dfp.Dfp; -import org.apache.commons.math3.dfp.DfpField; -import org.apache.commons.math3.dfp.DfpMath; -import org.apache.commons.math3.util.FastMath; +import org.apache.commons.math4.analysis.UnivariateFunction; +import org.apache.commons.math4.analysis.differentiation.DerivativeStructure; +import org.apache.commons.math4.analysis.function.Sinc; +import org.apache.commons.math4.dfp.Dfp; +import org.apache.commons.math4.dfp.DfpField; +import org.apache.commons.math4.dfp.DfpMath; +import org.apache.commons.math4.util.FastMath; import org.junit.Assert; import org.junit.Test; http://git-wip-us.apache.org/repos/asf/commons-math/blob/e4e1ac23/src/test/java/org/apache/commons/math4/analysis/function/SqrtTest.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/commons/math4/analysis/function/SqrtTest.java b/src/test/java/org/apache/commons/math4/analysis/function/SqrtTest.java index a888977..04d0769 100644 --- a/src/test/java/org/apache/commons/math4/analysis/function/SqrtTest.java +++ b/src/test/java/org/apache/commons/math4/analysis/function/SqrtTest.java @@ -14,13 +14,13 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.commons.math3.analysis.function; - -import org.apache.commons.math3.analysis.UnivariateFunction; -import org.apache.commons.math3.analysis.differentiation.DerivativeStructure; -import org.apache.commons.math3.analysis.differentiation.UnivariateDifferentiableFunction; -import org.apache.commons.math3.util.FastMath; +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.Sqrt; +import org.apache.commons.math4.util.FastMath; import org.junit.Test; import org.junit.Assert; http://git-wip-us.apache.org/repos/asf/commons-math/blob/e4e1ac23/src/test/java/org/apache/commons/math4/analysis/function/StepFunctionTest.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/commons/math4/analysis/function/StepFunctionTest.java b/src/test/java/org/apache/commons/math4/analysis/function/StepFunctionTest.java index 247a0a9..e6e4bfc 100644 --- a/src/test/java/org/apache/commons/math4/analysis/function/StepFunctionTest.java +++ b/src/test/java/org/apache/commons/math4/analysis/function/StepFunctionTest.java @@ -15,14 +15,14 @@ * limitations under the License. */ -package org.apache.commons.math3.analysis.function; - -import org.apache.commons.math3.analysis.UnivariateFunction; -import org.apache.commons.math3.exception.DimensionMismatchException; -import org.apache.commons.math3.exception.NonMonotonicSequenceException; -import org.apache.commons.math3.exception.NullArgumentException; -import org.apache.commons.math3.exception.NoDataException; +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; +import org.apache.commons.math4.exception.NullArgumentException; import org.junit.Assert; import org.junit.Test; http://git-wip-us.apache.org/repos/asf/commons-math/blob/e4e1ac23/src/test/java/org/apache/commons/math4/analysis/integration/IterativeLegendreGaussIntegratorTest.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/commons/math4/analysis/integration/IterativeLegendreGaussIntegratorTest.java b/src/test/java/org/apache/commons/math4/analysis/integration/IterativeLegendreGaussIntegratorTest.java index 7a15a29..e59eb94 100644 --- a/src/test/java/org/apache/commons/math4/analysis/integration/IterativeLegendreGaussIntegratorTest.java +++ b/src/test/java/org/apache/commons/math4/analysis/integration/IterativeLegendreGaussIntegratorTest.java @@ -14,17 +14,20 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.commons.math3.analysis.integration; +package org.apache.commons.math4.analysis.integration; import java.util.Random; -import org.apache.commons.math3.analysis.QuinticFunction; -import org.apache.commons.math3.analysis.UnivariateFunction; -import org.apache.commons.math3.analysis.function.Sin; -import org.apache.commons.math3.analysis.function.Gaussian; -import org.apache.commons.math3.analysis.polynomials.PolynomialFunction; -import org.apache.commons.math3.exception.TooManyEvaluationsException; -import org.apache.commons.math3.util.FastMath; +import org.apache.commons.math4.analysis.QuinticFunction; +import org.apache.commons.math4.analysis.UnivariateFunction; +import org.apache.commons.math4.analysis.function.Gaussian; +import org.apache.commons.math4.analysis.function.Sin; +import org.apache.commons.math4.analysis.integration.BaseAbstractUnivariateIntegrator; +import org.apache.commons.math4.analysis.integration.IterativeLegendreGaussIntegrator; +import org.apache.commons.math4.analysis.integration.UnivariateIntegrator; +import org.apache.commons.math4.analysis.polynomials.PolynomialFunction; +import org.apache.commons.math4.exception.TooManyEvaluationsException; +import org.apache.commons.math4.util.FastMath; import org.junit.Assert; import org.junit.Test; http://git-wip-us.apache.org/repos/asf/commons-math/blob/e4e1ac23/src/test/java/org/apache/commons/math4/analysis/integration/LegendreGaussIntegratorTest.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/commons/math4/analysis/integration/LegendreGaussIntegratorTest.java b/src/test/java/org/apache/commons/math4/analysis/integration/LegendreGaussIntegratorTest.java index c7d48bb..f0b8af0 100644 --- a/src/test/java/org/apache/commons/math4/analysis/integration/LegendreGaussIntegratorTest.java +++ b/src/test/java/org/apache/commons/math4/analysis/integration/LegendreGaussIntegratorTest.java @@ -14,16 +14,19 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.commons.math3.analysis.integration; +package org.apache.commons.math4.analysis.integration; import java.util.Random; -import org.apache.commons.math3.analysis.QuinticFunction; -import org.apache.commons.math3.analysis.UnivariateFunction; -import org.apache.commons.math3.analysis.function.Sin; -import org.apache.commons.math3.analysis.polynomials.PolynomialFunction; -import org.apache.commons.math3.exception.TooManyEvaluationsException; -import org.apache.commons.math3.util.FastMath; +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.BaseAbstractUnivariateIntegrator; +import org.apache.commons.math4.analysis.integration.LegendreGaussIntegrator; +import org.apache.commons.math4.analysis.integration.UnivariateIntegrator; +import org.apache.commons.math4.analysis.polynomials.PolynomialFunction; +import org.apache.commons.math4.exception.TooManyEvaluationsException; +import org.apache.commons.math4.util.FastMath; import org.junit.Assert; import org.junit.Test; http://git-wip-us.apache.org/repos/asf/commons-math/blob/e4e1ac23/src/test/java/org/apache/commons/math4/analysis/integration/MidPointIntegratorTest.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/commons/math4/analysis/integration/MidPointIntegratorTest.java b/src/test/java/org/apache/commons/math4/analysis/integration/MidPointIntegratorTest.java index 36daa3e..afd590a 100644 --- a/src/test/java/org/apache/commons/math4/analysis/integration/MidPointIntegratorTest.java +++ b/src/test/java/org/apache/commons/math4/analysis/integration/MidPointIntegratorTest.java @@ -14,14 +14,16 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.commons.math3.analysis.integration; +package org.apache.commons.math4.analysis.integration; -import org.apache.commons.math3.analysis.QuinticFunction; -import org.apache.commons.math3.analysis.UnivariateFunction; -import org.apache.commons.math3.analysis.function.Sin; -import org.apache.commons.math3.exception.NumberIsTooLargeException; -import org.apache.commons.math3.exception.NumberIsTooSmallException; -import org.apache.commons.math3.util.FastMath; +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; import org.junit.Assert; import org.junit.Test; http://git-wip-us.apache.org/repos/asf/commons-math/blob/e4e1ac23/src/test/java/org/apache/commons/math4/analysis/integration/RombergIntegratorTest.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/commons/math4/analysis/integration/RombergIntegratorTest.java b/src/test/java/org/apache/commons/math4/analysis/integration/RombergIntegratorTest.java index f83f3e6..1e5200e 100644 --- a/src/test/java/org/apache/commons/math4/analysis/integration/RombergIntegratorTest.java +++ b/src/test/java/org/apache/commons/math4/analysis/integration/RombergIntegratorTest.java @@ -14,14 +14,16 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.commons.math3.analysis.integration; +package org.apache.commons.math4.analysis.integration; -import org.apache.commons.math3.analysis.QuinticFunction; -import org.apache.commons.math3.analysis.UnivariateFunction; -import org.apache.commons.math3.analysis.function.Sin; -import org.apache.commons.math3.exception.NumberIsTooLargeException; -import org.apache.commons.math3.exception.NumberIsTooSmallException; -import org.apache.commons.math3.util.FastMath; +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; import org.junit.Assert; import org.junit.Test; http://git-wip-us.apache.org/repos/asf/commons-math/blob/e4e1ac23/src/test/java/org/apache/commons/math4/analysis/integration/SimpsonIntegratorTest.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/commons/math4/analysis/integration/SimpsonIntegratorTest.java b/src/test/java/org/apache/commons/math4/analysis/integration/SimpsonIntegratorTest.java index b80e7e8..22947b3 100644 --- a/src/test/java/org/apache/commons/math4/analysis/integration/SimpsonIntegratorTest.java +++ b/src/test/java/org/apache/commons/math4/analysis/integration/SimpsonIntegratorTest.java @@ -14,14 +14,16 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.commons.math3.analysis.integration; +package org.apache.commons.math4.analysis.integration; -import org.apache.commons.math3.analysis.QuinticFunction; -import org.apache.commons.math3.analysis.UnivariateFunction; -import org.apache.commons.math3.analysis.function.Sin; -import org.apache.commons.math3.exception.NumberIsTooLargeException; -import org.apache.commons.math3.exception.NumberIsTooSmallException; -import org.apache.commons.math3.util.FastMath; +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.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; import org.junit.Assert; import org.junit.Test; http://git-wip-us.apache.org/repos/asf/commons-math/blob/e4e1ac23/src/test/java/org/apache/commons/math4/analysis/integration/TrapezoidIntegratorTest.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/commons/math4/analysis/integration/TrapezoidIntegratorTest.java b/src/test/java/org/apache/commons/math4/analysis/integration/TrapezoidIntegratorTest.java index b340104..bb21487 100644 --- a/src/test/java/org/apache/commons/math4/analysis/integration/TrapezoidIntegratorTest.java +++ b/src/test/java/org/apache/commons/math4/analysis/integration/TrapezoidIntegratorTest.java @@ -14,14 +14,16 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.commons.math3.analysis.integration; +package org.apache.commons.math4.analysis.integration; -import org.apache.commons.math3.analysis.QuinticFunction; -import org.apache.commons.math3.analysis.UnivariateFunction; -import org.apache.commons.math3.analysis.function.Sin; -import org.apache.commons.math3.exception.NumberIsTooLargeException; -import org.apache.commons.math3.exception.NumberIsTooSmallException; -import org.apache.commons.math3.util.FastMath; +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; import org.junit.Assert; import org.junit.Test; http://git-wip-us.apache.org/repos/asf/commons-math/blob/e4e1ac23/src/test/java/org/apache/commons/math4/analysis/integration/gauss/BaseRuleFactoryTest.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/commons/math4/analysis/integration/gauss/BaseRuleFactoryTest.java b/src/test/java/org/apache/commons/math4/analysis/integration/gauss/BaseRuleFactoryTest.java index 0511141..89c05de 100644 --- a/src/test/java/org/apache/commons/math4/analysis/integration/gauss/BaseRuleFactoryTest.java +++ b/src/test/java/org/apache/commons/math4/analysis/integration/gauss/BaseRuleFactoryTest.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.commons.math3.analysis.integration.gauss; +package org.apache.commons.math4.analysis.integration.gauss; import java.util.List; import java.util.ArrayList; @@ -25,7 +25,9 @@ import java.util.concurrent.Callable; import java.util.concurrent.Future; import java.util.concurrent.ExecutionException; import java.util.concurrent.atomic.AtomicInteger; -import org.apache.commons.math3.util.Pair; + +import org.apache.commons.math4.analysis.integration.gauss.BaseRuleFactory; +import org.apache.commons.math4.util.Pair; import org.junit.Test; import org.junit.Assert; http://git-wip-us.apache.org/repos/asf/commons-math/blob/e4e1ac23/src/test/java/org/apache/commons/math4/analysis/integration/gauss/GaussIntegratorTest.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/commons/math4/analysis/integration/gauss/GaussIntegratorTest.java b/src/test/java/org/apache/commons/math4/analysis/integration/gauss/GaussIntegratorTest.java index 459106c..8270d3b 100644 --- a/src/test/java/org/apache/commons/math4/analysis/integration/gauss/GaussIntegratorTest.java +++ b/src/test/java/org/apache/commons/math4/analysis/integration/gauss/GaussIntegratorTest.java @@ -14,11 +14,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.commons.math3.analysis.integration.gauss; +package org.apache.commons.math4.analysis.integration.gauss; -import org.apache.commons.math3.analysis.UnivariateFunction; -import org.apache.commons.math3.analysis.function.Constant; -import org.apache.commons.math3.util.Pair; +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; http://git-wip-us.apache.org/repos/asf/commons-math/blob/e4e1ac23/src/test/java/org/apache/commons/math4/analysis/integration/gauss/GaussianQuadratureAbstractTest.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/commons/math4/analysis/integration/gauss/GaussianQuadratureAbstractTest.java b/src/test/java/org/apache/commons/math4/analysis/integration/gauss/GaussianQuadratureAbstractTest.java index 9ff9076..10d9bc4 100644 --- a/src/test/java/org/apache/commons/math4/analysis/integration/gauss/GaussianQuadratureAbstractTest.java +++ b/src/test/java/org/apache/commons/math4/analysis/integration/gauss/GaussianQuadratureAbstractTest.java @@ -14,10 +14,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.commons.math3.analysis.integration.gauss; +package org.apache.commons.math4.analysis.integration.gauss; -import org.apache.commons.math3.analysis.function.Power; -import org.apache.commons.math3.util.FastMath; +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; http://git-wip-us.apache.org/repos/asf/commons-math/blob/e4e1ac23/src/test/java/org/apache/commons/math4/analysis/integration/gauss/HermiteParametricTest.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/commons/math4/analysis/integration/gauss/HermiteParametricTest.java b/src/test/java/org/apache/commons/math4/analysis/integration/gauss/HermiteParametricTest.java index e2b15c2..8eb304f 100644 --- a/src/test/java/org/apache/commons/math4/analysis/integration/gauss/HermiteParametricTest.java +++ b/src/test/java/org/apache/commons/math4/analysis/integration/gauss/HermiteParametricTest.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.commons.math3.analysis.integration.gauss; +package org.apache.commons.math4.analysis.integration.gauss; import java.util.ArrayList; import java.util.Collection; @@ -22,7 +22,9 @@ import java.util.Collection; import org.junit.runner.RunWith; import org.junit.runners.Parameterized; import org.junit.runners.Parameterized.Parameters; -import org.apache.commons.math3.util.FastMath; +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; /** * Test of the {@link HermiteRuleFactory}. http://git-wip-us.apache.org/repos/asf/commons-math/blob/e4e1ac23/src/test/java/org/apache/commons/math4/analysis/integration/gauss/HermiteTest.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/commons/math4/analysis/integration/gauss/HermiteTest.java b/src/test/java/org/apache/commons/math4/analysis/integration/gauss/HermiteTest.java index 659ac78..b140443 100644 --- a/src/test/java/org/apache/commons/math4/analysis/integration/gauss/HermiteTest.java +++ b/src/test/java/org/apache/commons/math4/analysis/integration/gauss/HermiteTest.java @@ -14,10 +14,13 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.commons.math3.analysis.integration.gauss; +package org.apache.commons.math4.analysis.integration.gauss; -import org.apache.commons.math3.analysis.UnivariateFunction; -import org.apache.commons.math3.util.FastMath; +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; http://git-wip-us.apache.org/repos/asf/commons-math/blob/e4e1ac23/src/test/java/org/apache/commons/math4/analysis/integration/gauss/LegendreHighPrecisionParametricTest.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/commons/math4/analysis/integration/gauss/LegendreHighPrecisionParametricTest.java b/src/test/java/org/apache/commons/math4/analysis/integration/gauss/LegendreHighPrecisionParametricTest.java index c545a5f..976488f 100644 --- a/src/test/java/org/apache/commons/math4/analysis/integration/gauss/LegendreHighPrecisionParametricTest.java +++ b/src/test/java/org/apache/commons/math4/analysis/integration/gauss/LegendreHighPrecisionParametricTest.java @@ -14,11 +14,13 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.commons.math3.analysis.integration.gauss; +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; http://git-wip-us.apache.org/repos/asf/commons-math/blob/e4e1ac23/src/test/java/org/apache/commons/math4/analysis/integration/gauss/LegendreHighPrecisionTest.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/commons/math4/analysis/integration/gauss/LegendreHighPrecisionTest.java b/src/test/java/org/apache/commons/math4/analysis/integration/gauss/LegendreHighPrecisionTest.java index 17a0c87..acdecdc 100644 --- a/src/test/java/org/apache/commons/math4/analysis/integration/gauss/LegendreHighPrecisionTest.java +++ b/src/test/java/org/apache/commons/math4/analysis/integration/gauss/LegendreHighPrecisionTest.java @@ -14,12 +14,15 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.commons.math3.analysis.integration.gauss; - -import org.apache.commons.math3.analysis.function.Cos; -import org.apache.commons.math3.analysis.function.Inverse; -import org.apache.commons.math3.analysis.function.Log; -import org.apache.commons.math3.analysis.UnivariateFunction; +package org.apache.commons.math4.analysis.integration.gauss; + +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; http://git-wip-us.apache.org/repos/asf/commons-math/blob/e4e1ac23/src/test/java/org/apache/commons/math4/analysis/integration/gauss/LegendreParametricTest.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/commons/math4/analysis/integration/gauss/LegendreParametricTest.java b/src/test/java/org/apache/commons/math4/analysis/integration/gauss/LegendreParametricTest.java index a01988c..3f0fc63 100644 --- a/src/test/java/org/apache/commons/math4/analysis/integration/gauss/LegendreParametricTest.java +++ b/src/test/java/org/apache/commons/math4/analysis/integration/gauss/LegendreParametricTest.java @@ -14,11 +14,13 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.commons.math3.analysis.integration.gauss; +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; http://git-wip-us.apache.org/repos/asf/commons-math/blob/e4e1ac23/src/test/java/org/apache/commons/math4/analysis/integration/gauss/LegendreTest.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/commons/math4/analysis/integration/gauss/LegendreTest.java b/src/test/java/org/apache/commons/math4/analysis/integration/gauss/LegendreTest.java index 2ade4e3..f21753b 100644 --- a/src/test/java/org/apache/commons/math4/analysis/integration/gauss/LegendreTest.java +++ b/src/test/java/org/apache/commons/math4/analysis/integration/gauss/LegendreTest.java @@ -14,12 +14,15 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.commons.math3.analysis.integration.gauss; - -import org.apache.commons.math3.analysis.function.Cos; -import org.apache.commons.math3.analysis.function.Inverse; -import org.apache.commons.math3.analysis.function.Log; -import org.apache.commons.math3.analysis.UnivariateFunction; +package org.apache.commons.math4.analysis.integration.gauss; + +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; http://git-wip-us.apache.org/repos/asf/commons-math/blob/e4e1ac23/src/test/java/org/apache/commons/math4/analysis/interpolation/AkimaSplineInterpolatorTest.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/commons/math4/analysis/interpolation/AkimaSplineInterpolatorTest.java b/src/test/java/org/apache/commons/math4/analysis/interpolation/AkimaSplineInterpolatorTest.java index adf39d6..87fd5b9 100644 --- a/src/test/java/org/apache/commons/math4/analysis/interpolation/AkimaSplineInterpolatorTest.java +++ b/src/test/java/org/apache/commons/math4/analysis/interpolation/AkimaSplineInterpolatorTest.java @@ -14,18 +14,20 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.commons.math3.analysis.interpolation; - -import org.apache.commons.math3.analysis.UnivariateFunction; -import org.apache.commons.math3.distribution.UniformRealDistribution; -import org.apache.commons.math3.exception.DimensionMismatchException; -import org.apache.commons.math3.exception.NonMonotonicSequenceException; -import org.apache.commons.math3.exception.NullArgumentException; -import org.apache.commons.math3.exception.NumberIsTooSmallException; -import org.apache.commons.math3.random.RandomGenerator; -import org.apache.commons.math3.random.Well19937c; -import org.apache.commons.math3.util.FastMath; -import org.apache.commons.math3.util.Precision; +package org.apache.commons.math4.analysis.interpolation; + +import org.apache.commons.math4.analysis.UnivariateFunction; +import org.apache.commons.math4.analysis.interpolation.AkimaSplineInterpolator; +import org.apache.commons.math4.analysis.interpolation.UnivariateInterpolator; +import org.apache.commons.math4.distribution.UniformRealDistribution; +import org.apache.commons.math4.exception.DimensionMismatchException; +import org.apache.commons.math4.exception.NonMonotonicSequenceException; +import org.apache.commons.math4.exception.NullArgumentException; +import org.apache.commons.math4.exception.NumberIsTooSmallException; +import org.apache.commons.math4.random.RandomGenerator; +import org.apache.commons.math4.random.Well19937c; +import org.apache.commons.math4.util.FastMath; +import org.apache.commons.math4.util.Precision; import org.junit.Assert; import org.junit.Test; http://git-wip-us.apache.org/repos/asf/commons-math/blob/e4e1ac23/src/test/java/org/apache/commons/math4/analysis/interpolation/BicubicInterpolatingFunctionTest.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/commons/math4/analysis/interpolation/BicubicInterpolatingFunctionTest.java b/src/test/java/org/apache/commons/math4/analysis/interpolation/BicubicInterpolatingFunctionTest.java index 6d56ed8..dd63a6c 100644 --- a/src/test/java/org/apache/commons/math4/analysis/interpolation/BicubicInterpolatingFunctionTest.java +++ b/src/test/java/org/apache/commons/math4/analysis/interpolation/BicubicInterpolatingFunctionTest.java @@ -14,17 +14,18 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.commons.math3.analysis.interpolation; - -import org.apache.commons.math3.exception.DimensionMismatchException; -import org.apache.commons.math3.exception.MathIllegalArgumentException; -import org.apache.commons.math3.exception.OutOfRangeException; -import org.apache.commons.math3.analysis.BivariateFunction; -import org.apache.commons.math3.distribution.UniformRealDistribution; -import org.apache.commons.math3.random.RandomGenerator; -import org.apache.commons.math3.random.Well19937c; -import org.apache.commons.math3.util.FastMath; -import org.apache.commons.math3.util.Precision; +package org.apache.commons.math4.analysis.interpolation; + +import org.apache.commons.math4.analysis.BivariateFunction; +import org.apache.commons.math4.analysis.interpolation.BicubicInterpolatingFunction; +import org.apache.commons.math4.distribution.UniformRealDistribution; +import org.apache.commons.math4.exception.DimensionMismatchException; +import org.apache.commons.math4.exception.MathIllegalArgumentException; +import org.apache.commons.math4.exception.OutOfRangeException; +import org.apache.commons.math4.random.RandomGenerator; +import org.apache.commons.math4.random.Well19937c; +import org.apache.commons.math4.util.FastMath; +import org.apache.commons.math4.util.Precision; import org.junit.Assert; import org.junit.Test; import org.junit.Ignore; http://git-wip-us.apache.org/repos/asf/commons-math/blob/e4e1ac23/src/test/java/org/apache/commons/math4/analysis/interpolation/BicubicInterpolatorTest.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/commons/math4/analysis/interpolation/BicubicInterpolatorTest.java b/src/test/java/org/apache/commons/math4/analysis/interpolation/BicubicInterpolatorTest.java index e2a3550..9d94b03 100644 --- a/src/test/java/org/apache/commons/math4/analysis/interpolation/BicubicInterpolatorTest.java +++ b/src/test/java/org/apache/commons/math4/analysis/interpolation/BicubicInterpolatorTest.java @@ -14,14 +14,17 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.commons.math3.analysis.interpolation; - -import org.apache.commons.math3.exception.DimensionMismatchException; -import org.apache.commons.math3.exception.MathIllegalArgumentException; -import org.apache.commons.math3.analysis.BivariateFunction; -import org.apache.commons.math3.distribution.UniformRealDistribution; -import org.apache.commons.math3.random.RandomGenerator; -import org.apache.commons.math3.random.Well19937c; +package org.apache.commons.math4.analysis.interpolation; + +import org.apache.commons.math4.analysis.BivariateFunction; +import org.apache.commons.math4.analysis.interpolation.BicubicInterpolatingFunction; +import org.apache.commons.math4.analysis.interpolation.BicubicInterpolator; +import org.apache.commons.math4.analysis.interpolation.BivariateGridInterpolator; +import org.apache.commons.math4.distribution.UniformRealDistribution; +import org.apache.commons.math4.exception.DimensionMismatchException; +import org.apache.commons.math4.exception.MathIllegalArgumentException; +import org.apache.commons.math4.random.RandomGenerator; +import org.apache.commons.math4.random.Well19937c; import org.junit.Assert; import org.junit.Test; http://git-wip-us.apache.org/repos/asf/commons-math/blob/e4e1ac23/src/test/java/org/apache/commons/math4/analysis/interpolation/BicubicSplineInterpolatingFunctionTest.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/commons/math4/analysis/interpolation/BicubicSplineInterpolatingFunctionTest.java b/src/test/java/org/apache/commons/math4/analysis/interpolation/BicubicSplineInterpolatingFunctionTest.java index 8c78aed..92bf82b 100644 --- a/src/test/java/org/apache/commons/math4/analysis/interpolation/BicubicSplineInterpolatingFunctionTest.java +++ b/src/test/java/org/apache/commons/math4/analysis/interpolation/BicubicSplineInterpolatingFunctionTest.java @@ -14,15 +14,17 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.commons.math3.analysis.interpolation; - -import org.apache.commons.math3.exception.DimensionMismatchException; -import org.apache.commons.math3.exception.MathIllegalArgumentException; -import org.apache.commons.math3.exception.OutOfRangeException; -import org.apache.commons.math3.analysis.BivariateFunction; -import org.apache.commons.math3.distribution.UniformRealDistribution; -import org.apache.commons.math3.random.RandomGenerator; -import org.apache.commons.math3.random.Well19937c; +package org.apache.commons.math4.analysis.interpolation; + +import org.apache.commons.math4.analysis.BivariateFunction; +import org.apache.commons.math4.analysis.interpolation.BicubicSplineFunction; +import org.apache.commons.math4.analysis.interpolation.BicubicSplineInterpolatingFunction; +import org.apache.commons.math4.distribution.UniformRealDistribution; +import org.apache.commons.math4.exception.DimensionMismatchException; +import org.apache.commons.math4.exception.MathIllegalArgumentException; +import org.apache.commons.math4.exception.OutOfRangeException; +import org.apache.commons.math4.random.RandomGenerator; +import org.apache.commons.math4.random.Well19937c; import org.junit.Assert; import org.junit.Test; import org.junit.Ignore; http://git-wip-us.apache.org/repos/asf/commons-math/blob/e4e1ac23/src/test/java/org/apache/commons/math4/analysis/interpolation/BicubicSplineInterpolatorTest.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/commons/math4/analysis/interpolation/BicubicSplineInterpolatorTest.java b/src/test/java/org/apache/commons/math4/analysis/interpolation/BicubicSplineInterpolatorTest.java index c4a56bb..91f1f66 100644 --- a/src/test/java/org/apache/commons/math4/analysis/interpolation/BicubicSplineInterpolatorTest.java +++ b/src/test/java/org/apache/commons/math4/analysis/interpolation/BicubicSplineInterpolatorTest.java @@ -14,14 +14,16 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.commons.math3.analysis.interpolation; +package org.apache.commons.math4.analysis.interpolation; -import org.apache.commons.math3.exception.DimensionMismatchException; -import org.apache.commons.math3.exception.MathIllegalArgumentException; -import org.apache.commons.math3.analysis.BivariateFunction; -import org.apache.commons.math3.distribution.UniformRealDistribution; -import org.apache.commons.math3.random.RandomGenerator; -import org.apache.commons.math3.random.Well19937c; +import org.apache.commons.math4.analysis.BivariateFunction; +import org.apache.commons.math4.analysis.interpolation.BicubicSplineInterpolator; +import org.apache.commons.math4.analysis.interpolation.BivariateGridInterpolator; +import org.apache.commons.math4.distribution.UniformRealDistribution; +import org.apache.commons.math4.exception.DimensionMismatchException; +import org.apache.commons.math4.exception.MathIllegalArgumentException; +import org.apache.commons.math4.random.RandomGenerator; +import org.apache.commons.math4.random.Well19937c; import org.junit.Assert; import org.junit.Test; http://git-wip-us.apache.org/repos/asf/commons-math/blob/e4e1ac23/src/test/java/org/apache/commons/math4/analysis/interpolation/DividedDifferenceInterpolatorTest.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/commons/math4/analysis/interpolation/DividedDifferenceInterpolatorTest.java b/src/test/java/org/apache/commons/math4/analysis/interpolation/DividedDifferenceInterpolatorTest.java index 9d53f46..7db781a 100644 --- a/src/test/java/org/apache/commons/math4/analysis/interpolation/DividedDifferenceInterpolatorTest.java +++ b/src/test/java/org/apache/commons/math4/analysis/interpolation/DividedDifferenceInterpolatorTest.java @@ -14,13 +14,15 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.commons.math3.analysis.interpolation; - -import org.apache.commons.math3.analysis.UnivariateFunction; -import org.apache.commons.math3.analysis.function.Expm1; -import org.apache.commons.math3.analysis.function.Sin; -import org.apache.commons.math3.exception.NonMonotonicSequenceException; -import org.apache.commons.math3.util.FastMath; +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; import org.junit.Test; http://git-wip-us.apache.org/repos/asf/commons-math/blob/e4e1ac23/src/test/java/org/apache/commons/math4/analysis/interpolation/FieldHermiteInterpolatorTest.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/commons/math4/analysis/interpolation/FieldHermiteInterpolatorTest.java b/src/test/java/org/apache/commons/math4/analysis/interpolation/FieldHermiteInterpolatorTest.java index 2671126..0c3b27b 100644 --- a/src/test/java/org/apache/commons/math4/analysis/interpolation/FieldHermiteInterpolatorTest.java +++ b/src/test/java/org/apache/commons/math4/analysis/interpolation/FieldHermiteInterpolatorTest.java @@ -14,16 +14,17 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.commons.math3.analysis.interpolation; +package org.apache.commons.math4.analysis.interpolation; import java.util.Random; -import org.apache.commons.math3.analysis.polynomials.PolynomialFunction; -import org.apache.commons.math3.dfp.Dfp; -import org.apache.commons.math3.dfp.DfpField; -import org.apache.commons.math3.exception.NoDataException; -import org.apache.commons.math3.fraction.BigFraction; -import org.apache.commons.math3.util.FastMath; +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; +import org.apache.commons.math4.exception.NoDataException; +import org.apache.commons.math4.fraction.BigFraction; +import org.apache.commons.math4.util.FastMath; import org.junit.Assert; import org.junit.Test; http://git-wip-us.apache.org/repos/asf/commons-math/blob/e4e1ac23/src/test/java/org/apache/commons/math4/analysis/interpolation/HermiteInterpolatorTest.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/commons/math4/analysis/interpolation/HermiteInterpolatorTest.java b/src/test/java/org/apache/commons/math4/analysis/interpolation/HermiteInterpolatorTest.java index 7cf5a44..8dbb6ac 100644 --- a/src/test/java/org/apache/commons/math4/analysis/interpolation/HermiteInterpolatorTest.java +++ b/src/test/java/org/apache/commons/math4/analysis/interpolation/HermiteInterpolatorTest.java @@ -14,14 +14,15 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.commons.math3.analysis.interpolation; +package org.apache.commons.math4.analysis.interpolation; import java.util.Random; -import org.apache.commons.math3.analysis.differentiation.DerivativeStructure; -import org.apache.commons.math3.analysis.polynomials.PolynomialFunction; -import org.apache.commons.math3.exception.NoDataException; -import org.apache.commons.math3.util.FastMath; +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.NoDataException; +import org.apache.commons.math4.util.FastMath; import org.junit.Assert; import org.junit.Test; http://git-wip-us.apache.org/repos/asf/commons-math/blob/e4e1ac23/src/test/java/org/apache/commons/math4/analysis/interpolation/LinearInterpolatorTest.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/commons/math4/analysis/interpolation/LinearInterpolatorTest.java b/src/test/java/org/apache/commons/math4/analysis/interpolation/LinearInterpolatorTest.java index 3dc3884..38b44aa 100644 --- a/src/test/java/org/apache/commons/math4/analysis/interpolation/LinearInterpolatorTest.java +++ b/src/test/java/org/apache/commons/math4/analysis/interpolation/LinearInterpolatorTest.java @@ -14,15 +14,17 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.commons.math3.analysis.interpolation; - -import org.apache.commons.math3.exception.NonMonotonicSequenceException; -import org.apache.commons.math3.exception.DimensionMismatchException; -import org.apache.commons.math3.exception.NumberIsTooSmallException; -import org.apache.commons.math3.TestUtils; -import org.apache.commons.math3.analysis.UnivariateFunction; -import org.apache.commons.math3.analysis.polynomials.PolynomialFunction; -import org.apache.commons.math3.analysis.polynomials.PolynomialSplineFunction; +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; +import org.apache.commons.math4.exception.NonMonotonicSequenceException; +import org.apache.commons.math4.exception.NumberIsTooSmallException; import org.junit.Assert; import org.junit.Test; http://git-wip-us.apache.org/repos/asf/commons-math/blob/e4e1ac23/src/test/java/org/apache/commons/math4/analysis/interpolation/LoessInterpolatorTest.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/commons/math4/analysis/interpolation/LoessInterpolatorTest.java b/src/test/java/org/apache/commons/math4/analysis/interpolation/LoessInterpolatorTest.java index 7cdea6e..6c3c40f 100644 --- a/src/test/java/org/apache/commons/math4/analysis/interpolation/LoessInterpolatorTest.java +++ b/src/test/java/org/apache/commons/math4/analysis/interpolation/LoessInterpolatorTest.java @@ -14,16 +14,16 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.commons.math3.analysis.interpolation; - -import org.apache.commons.math3.util.FastMath; -import org.apache.commons.math3.exception.OutOfRangeException; -import org.apache.commons.math3.exception.DimensionMismatchException; -import org.apache.commons.math3.exception.NoDataException; -import org.apache.commons.math3.exception.NonMonotonicSequenceException; -import org.apache.commons.math3.exception.NotFiniteNumberException; -import org.apache.commons.math3.exception.NumberIsTooSmallException; - +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; +import org.apache.commons.math4.exception.NotFiniteNumberException; +import org.apache.commons.math4.exception.NumberIsTooSmallException; +import org.apache.commons.math4.exception.OutOfRangeException; +import org.apache.commons.math4.util.FastMath; import org.junit.Assert; import org.junit.Test; http://git-wip-us.apache.org/repos/asf/commons-math/blob/e4e1ac23/src/test/java/org/apache/commons/math4/analysis/interpolation/MicrosphereInterpolatorTest.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/commons/math4/analysis/interpolation/MicrosphereInterpolatorTest.java b/src/test/java/org/apache/commons/math4/analysis/interpolation/MicrosphereInterpolatorTest.java index d894d14..2626869 100644 --- a/src/test/java/org/apache/commons/math4/analysis/interpolation/MicrosphereInterpolatorTest.java +++ b/src/test/java/org/apache/commons/math4/analysis/interpolation/MicrosphereInterpolatorTest.java @@ -14,10 +14,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.commons.math3.analysis.interpolation; +package org.apache.commons.math4.analysis.interpolation; -import org.apache.commons.math3.analysis.MultivariateFunction; -import org.apache.commons.math3.util.FastMath; +import org.apache.commons.math4.analysis.MultivariateFunction; +import org.apache.commons.math4.analysis.interpolation.MicrosphereInterpolator; +import org.apache.commons.math4.analysis.interpolation.MultivariateInterpolator; +import org.apache.commons.math4.util.FastMath; import org.junit.Assert; import org.junit.Test; http://git-wip-us.apache.org/repos/asf/commons-math/blob/e4e1ac23/src/test/java/org/apache/commons/math4/analysis/interpolation/NevilleInterpolatorTest.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/commons/math4/analysis/interpolation/NevilleInterpolatorTest.java b/src/test/java/org/apache/commons/math4/analysis/interpolation/NevilleInterpolatorTest.java index 3054009..764da07 100644 --- a/src/test/java/org/apache/commons/math4/analysis/interpolation/NevilleInterpolatorTest.java +++ b/src/test/java/org/apache/commons/math4/analysis/interpolation/NevilleInterpolatorTest.java @@ -14,13 +14,15 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.commons.math3.analysis.interpolation; - -import org.apache.commons.math3.analysis.UnivariateFunction; -import org.apache.commons.math3.analysis.function.Expm1; -import org.apache.commons.math3.analysis.function.Sin; -import org.apache.commons.math3.exception.NonMonotonicSequenceException; -import org.apache.commons.math3.util.FastMath; +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; import org.junit.Test; http://git-wip-us.apache.org/repos/asf/commons-math/blob/e4e1ac23/src/test/java/org/apache/commons/math4/analysis/interpolation/PiecewiseBicubicSplineInterpolatingFunctionTest.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/commons/math4/analysis/interpolation/PiecewiseBicubicSplineInterpolatingFunctionTest.java b/src/test/java/org/apache/commons/math4/analysis/interpolation/PiecewiseBicubicSplineInterpolatingFunctionTest.java index 35cb18e..c39e644 100644 --- a/src/test/java/org/apache/commons/math4/analysis/interpolation/PiecewiseBicubicSplineInterpolatingFunctionTest.java +++ b/src/test/java/org/apache/commons/math4/analysis/interpolation/PiecewiseBicubicSplineInterpolatingFunctionTest.java @@ -14,18 +14,19 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.commons.math3.analysis.interpolation; +package org.apache.commons.math4.analysis.interpolation; -import org.apache.commons.math3.exception.DimensionMismatchException; -import org.apache.commons.math3.exception.InsufficientDataException; -import org.apache.commons.math3.exception.NonMonotonicSequenceException; -import org.apache.commons.math3.exception.NullArgumentException; -import org.apache.commons.math3.analysis.BivariateFunction; -import org.apache.commons.math3.distribution.UniformRealDistribution; -import org.apache.commons.math3.random.RandomGenerator; -import org.apache.commons.math3.random.Well19937c; -import org.apache.commons.math3.util.FastMath; -import org.apache.commons.math3.util.Precision; +import org.apache.commons.math4.analysis.BivariateFunction; +import org.apache.commons.math4.analysis.interpolation.PiecewiseBicubicSplineInterpolatingFunction; +import org.apache.commons.math4.distribution.UniformRealDistribution; +import org.apache.commons.math4.exception.DimensionMismatchException; +import org.apache.commons.math4.exception.InsufficientDataException; +import org.apache.commons.math4.exception.NonMonotonicSequenceException; +import org.apache.commons.math4.exception.NullArgumentException; +import org.apache.commons.math4.random.RandomGenerator; +import org.apache.commons.math4.random.Well19937c; +import org.apache.commons.math4.util.FastMath; +import org.apache.commons.math4.util.Precision; import org.junit.Assert; import org.junit.Test; http://git-wip-us.apache.org/repos/asf/commons-math/blob/e4e1ac23/src/test/java/org/apache/commons/math4/analysis/interpolation/PiecewiseBicubicSplineInterpolatorTest.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/commons/math4/analysis/interpolation/PiecewiseBicubicSplineInterpolatorTest.java b/src/test/java/org/apache/commons/math4/analysis/interpolation/PiecewiseBicubicSplineInterpolatorTest.java index 367971b..eee82f9 100644 --- a/src/test/java/org/apache/commons/math4/analysis/interpolation/PiecewiseBicubicSplineInterpolatorTest.java +++ b/src/test/java/org/apache/commons/math4/analysis/interpolation/PiecewiseBicubicSplineInterpolatorTest.java @@ -14,17 +14,19 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.commons.math3.analysis.interpolation; - -import org.apache.commons.math3.exception.DimensionMismatchException; -import org.apache.commons.math3.exception.InsufficientDataException; -import org.apache.commons.math3.exception.MathIllegalArgumentException; -import org.apache.commons.math3.exception.NonMonotonicSequenceException; -import org.apache.commons.math3.exception.NullArgumentException; -import org.apache.commons.math3.analysis.BivariateFunction; -import org.apache.commons.math3.distribution.UniformRealDistribution; -import org.apache.commons.math3.random.RandomGenerator; -import org.apache.commons.math3.random.Well19937c; +package org.apache.commons.math4.analysis.interpolation; + +import org.apache.commons.math4.analysis.BivariateFunction; +import org.apache.commons.math4.analysis.interpolation.BivariateGridInterpolator; +import org.apache.commons.math4.analysis.interpolation.PiecewiseBicubicSplineInterpolator; +import org.apache.commons.math4.distribution.UniformRealDistribution; +import org.apache.commons.math4.exception.DimensionMismatchException; +import org.apache.commons.math4.exception.InsufficientDataException; +import org.apache.commons.math4.exception.MathIllegalArgumentException; +import org.apache.commons.math4.exception.NonMonotonicSequenceException; +import org.apache.commons.math4.exception.NullArgumentException; +import org.apache.commons.math4.random.RandomGenerator; +import org.apache.commons.math4.random.Well19937c; import org.junit.Assert; import org.junit.Test; http://git-wip-us.apache.org/repos/asf/commons-math/blob/e4e1ac23/src/test/java/org/apache/commons/math4/analysis/interpolation/SmoothingPolynomialBicubicSplineInterpolatorTest.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/commons/math4/analysis/interpolation/SmoothingPolynomialBicubicSplineInterpolatorTest.java b/src/test/java/org/apache/commons/math4/analysis/interpolation/SmoothingPolynomialBicubicSplineInterpolatorTest.java index 51c9760..9cdd888 100644 --- a/src/test/java/org/apache/commons/math4/analysis/interpolation/SmoothingPolynomialBicubicSplineInterpolatorTest.java +++ b/src/test/java/org/apache/commons/math4/analysis/interpolation/SmoothingPolynomialBicubicSplineInterpolatorTest.java @@ -14,12 +14,14 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.commons.math3.analysis.interpolation; - -import org.apache.commons.math3.exception.DimensionMismatchException; -import org.apache.commons.math3.exception.MathIllegalArgumentException; -import org.apache.commons.math3.util.FastMath; -import org.apache.commons.math3.analysis.BivariateFunction; +package org.apache.commons.math4.analysis.interpolation; + +import org.apache.commons.math4.analysis.BivariateFunction; +import org.apache.commons.math4.analysis.interpolation.BivariateGridInterpolator; +import org.apache.commons.math4.analysis.interpolation.SmoothingPolynomialBicubicSplineInterpolator; +import org.apache.commons.math4.exception.DimensionMismatchException; +import org.apache.commons.math4.exception.MathIllegalArgumentException; +import org.apache.commons.math4.util.FastMath; import org.junit.Assert; import org.junit.Test; http://git-wip-us.apache.org/repos/asf/commons-math/blob/e4e1ac23/src/test/java/org/apache/commons/math4/analysis/interpolation/SplineInterpolatorTest.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/commons/math4/analysis/interpolation/SplineInterpolatorTest.java b/src/test/java/org/apache/commons/math4/analysis/interpolation/SplineInterpolatorTest.java index f9b2e3e..46d3455 100644 --- a/src/test/java/org/apache/commons/math4/analysis/interpolation/SplineInterpolatorTest.java +++ b/src/test/java/org/apache/commons/math4/analysis/interpolation/SplineInterpolatorTest.java @@ -14,16 +14,18 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.commons.math3.analysis.interpolation; - -import org.apache.commons.math3.exception.NonMonotonicSequenceException; -import org.apache.commons.math3.exception.DimensionMismatchException; -import org.apache.commons.math3.exception.NumberIsTooSmallException; -import org.apache.commons.math3.util.FastMath; -import org.apache.commons.math3.TestUtils; -import org.apache.commons.math3.analysis.UnivariateFunction; -import org.apache.commons.math3.analysis.polynomials.PolynomialFunction; -import org.apache.commons.math3.analysis.polynomials.PolynomialSplineFunction; +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.SplineInterpolator; +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; +import org.apache.commons.math4.exception.NonMonotonicSequenceException; +import org.apache.commons.math4.exception.NumberIsTooSmallException; +import org.apache.commons.math4.util.FastMath; import org.junit.Assert; import org.junit.Test; http://git-wip-us.apache.org/repos/asf/commons-math/blob/e4e1ac23/src/test/java/org/apache/commons/math4/analysis/interpolation/TricubicInterpolatingFunctionTest.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/commons/math4/analysis/interpolation/TricubicInterpolatingFunctionTest.java b/src/test/java/org/apache/commons/math4/analysis/interpolation/TricubicInterpolatingFunctionTest.java index 9760555..bf3da2a 100644 --- a/src/test/java/org/apache/commons/math4/analysis/interpolation/TricubicInterpolatingFunctionTest.java +++ b/src/test/java/org/apache/commons/math4/analysis/interpolation/TricubicInterpolatingFunctionTest.java @@ -14,16 +14,17 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.commons.math3.analysis.interpolation; - -import org.apache.commons.math3.exception.DimensionMismatchException; -import org.apache.commons.math3.exception.MathIllegalArgumentException; -import org.apache.commons.math3.analysis.TrivariateFunction; -import org.apache.commons.math3.distribution.UniformRealDistribution; -import org.apache.commons.math3.random.RandomGenerator; -import org.apache.commons.math3.random.Well19937c; -import org.apache.commons.math3.util.FastMath; -import org.apache.commons.math3.util.Precision; +package org.apache.commons.math4.analysis.interpolation; + +import org.apache.commons.math4.analysis.TrivariateFunction; +import org.apache.commons.math4.analysis.interpolation.TricubicInterpolatingFunction; +import org.apache.commons.math4.distribution.UniformRealDistribution; +import org.apache.commons.math4.exception.DimensionMismatchException; +import org.apache.commons.math4.exception.MathIllegalArgumentException; +import org.apache.commons.math4.random.RandomGenerator; +import org.apache.commons.math4.random.Well19937c; +import org.apache.commons.math4.util.FastMath; +import org.apache.commons.math4.util.Precision; import org.junit.Assert; import org.junit.Test; http://git-wip-us.apache.org/repos/asf/commons-math/blob/e4e1ac23/src/test/java/org/apache/commons/math4/analysis/interpolation/TricubicInterpolatorTest.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/commons/math4/analysis/interpolation/TricubicInterpolatorTest.java b/src/test/java/org/apache/commons/math4/analysis/interpolation/TricubicInterpolatorTest.java index d66e2d6..d975c18 100644 --- a/src/test/java/org/apache/commons/math4/analysis/interpolation/TricubicInterpolatorTest.java +++ b/src/test/java/org/apache/commons/math4/analysis/interpolation/TricubicInterpolatorTest.java @@ -14,12 +14,14 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.commons.math3.analysis.interpolation; - -import org.apache.commons.math3.exception.DimensionMismatchException; -import org.apache.commons.math3.exception.MathIllegalArgumentException; -import org.apache.commons.math3.util.FastMath; -import org.apache.commons.math3.analysis.TrivariateFunction; +package org.apache.commons.math4.analysis.interpolation; + +import org.apache.commons.math4.analysis.TrivariateFunction; +import org.apache.commons.math4.analysis.interpolation.TricubicInterpolatingFunction; +import org.apache.commons.math4.analysis.interpolation.TricubicInterpolator; +import org.apache.commons.math4.exception.DimensionMismatchException; +import org.apache.commons.math4.exception.MathIllegalArgumentException; +import org.apache.commons.math4.util.FastMath; import org.junit.Assert; import org.junit.Test; http://git-wip-us.apache.org/repos/asf/commons-math/blob/e4e1ac23/src/test/java/org/apache/commons/math4/analysis/interpolation/TricubicSplineInterpolatingFunctionTest.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/commons/math4/analysis/interpolation/TricubicSplineInterpolatingFunctionTest.java b/src/test/java/org/apache/commons/math4/analysis/interpolation/TricubicSplineInterpolatingFunctionTest.java index 90bce9e..945e9d5 100644 --- a/src/test/java/org/apache/commons/math4/analysis/interpolation/TricubicSplineInterpolatingFunctionTest.java +++ b/src/test/java/org/apache/commons/math4/analysis/interpolation/TricubicSplineInterpolatingFunctionTest.java @@ -14,12 +14,13 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.commons.math3.analysis.interpolation; +package org.apache.commons.math4.analysis.interpolation; -import org.apache.commons.math3.exception.DimensionMismatchException; -import org.apache.commons.math3.exception.MathIllegalArgumentException; -import org.apache.commons.math3.util.FastMath; -import org.apache.commons.math3.analysis.TrivariateFunction; +import org.apache.commons.math4.analysis.TrivariateFunction; +import org.apache.commons.math4.analysis.interpolation.TricubicSplineInterpolatingFunction; +import org.apache.commons.math4.exception.DimensionMismatchException; +import org.apache.commons.math4.exception.MathIllegalArgumentException; +import org.apache.commons.math4.util.FastMath; import org.junit.Assert; import org.junit.Test;