diff --git a/src/main/java/org/apache/commons/math4/analysis/integration/BaseAbstractUnivariateIntegrator.java b/src/main/java/org/apache/commons/math4/analysis/integration/BaseAbstractUnivariateIntegrator.java index 1f89468fc..fadb1d003 100644 --- a/src/main/java/org/apache/commons/math4/analysis/integration/BaseAbstractUnivariateIntegrator.java +++ b/src/main/java/org/apache/commons/math4/analysis/integration/BaseAbstractUnivariateIntegrator.java @@ -18,10 +18,8 @@ package org.apache.commons.math4.analysis.integration; import org.apache.commons.math4.analysis.UnivariateFunction; import org.apache.commons.math4.analysis.solvers.UnivariateSolverUtils; -import org.apache.commons.math4.exception.MathIllegalArgumentException; import org.apache.commons.math4.exception.MaxCountExceededException; import org.apache.commons.math4.exception.NotStrictlyPositiveException; -import org.apache.commons.math4.exception.NullArgumentException; import org.apache.commons.math4.exception.NumberIsTooSmallException; import org.apache.commons.math4.exception.TooManyEvaluationsException; import org.apache.commons.math4.util.IntegerSequence; @@ -227,8 +225,10 @@ public abstract class BaseAbstractUnivariateIntegrator implements UnivariateInte * @param f the integrand function * @param lower the min bound for the interval * @param upper the upper bound for the interval - * @throws NullArgumentException if {@code f} is {@code null}. - * @throws MathIllegalArgumentException if {@code min >= max}. + * @throws org.apache.commons.math4.exception.NullArgumentException + * if {@code f} is {@code null}. + * @throws org.apache.commons.math4.exception.MathIllegalArgumentException + * if {@code min >= max}. */ protected void setup(final int maxEval, final UnivariateFunction f, diff --git a/src/main/java/org/apache/commons/math4/analysis/integration/IterativeLegendreGaussIntegrator.java b/src/main/java/org/apache/commons/math4/analysis/integration/IterativeLegendreGaussIntegrator.java index 310b29082..332fc3e5a 100644 --- a/src/main/java/org/apache/commons/math4/analysis/integration/IterativeLegendreGaussIntegrator.java +++ b/src/main/java/org/apache/commons/math4/analysis/integration/IterativeLegendreGaussIntegrator.java @@ -19,10 +19,7 @@ package org.apache.commons.math4.analysis.integration; 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.exception.MathIllegalArgumentException; -import org.apache.commons.math4.exception.MaxCountExceededException; import org.apache.commons.math4.exception.NotStrictlyPositiveException; -import org.apache.commons.math4.exception.NumberIsTooSmallException; import org.apache.commons.math4.exception.TooManyEvaluationsException; import org.apache.commons.math4.exception.util.LocalizedFormats; import org.apache.commons.math4.util.FastMath; @@ -62,8 +59,9 @@ public class IterativeLegendreGaussIntegrator * @param maximalIterationCount Maximum number of iterations. * @throws NotStrictlyPositiveException if minimal number of iterations * or number of points are not strictly positive. - * @throws NumberIsTooSmallException if maximal number of iterations - * is smaller than or equal to the minimal number of iterations. + * @throws org.apache.commons.math4.exception.NumberIsTooSmallException + * if the maximal number of iterations is smaller than or equal to the + * minimal number of iterations. */ public IterativeLegendreGaussIntegrator(final int n, final double relativeAccuracy, @@ -100,8 +98,9 @@ public class IterativeLegendreGaussIntegrator * @param maximalIterationCount Maximum number of iterations. * @throws NotStrictlyPositiveException if minimal number of iterations * is not strictly positive. - * @throws NumberIsTooSmallException if maximal number of iterations - * is smaller than or equal to the minimal number of iterations. + * @throws org.apache.commons.math4.exception.NumberIsTooSmallException + * if the maximal number of iterations is smaller than or equal to the + * minimal number of iterations. * @throws NotStrictlyPositiveException if {@code n < 1}. */ public IterativeLegendreGaussIntegrator(final int n, diff --git a/src/main/java/org/apache/commons/math4/analysis/solvers/BaseAbstractUnivariateSolver.java b/src/main/java/org/apache/commons/math4/analysis/solvers/BaseAbstractUnivariateSolver.java index 650a3824c..c08811e01 100644 --- a/src/main/java/org/apache/commons/math4/analysis/solvers/BaseAbstractUnivariateSolver.java +++ b/src/main/java/org/apache/commons/math4/analysis/solvers/BaseAbstractUnivariateSolver.java @@ -19,9 +19,6 @@ package org.apache.commons.math4.analysis.solvers; import org.apache.commons.math4.analysis.UnivariateFunction; import org.apache.commons.math4.exception.MaxCountExceededException; -import org.apache.commons.math4.exception.NoBracketingException; -import org.apache.commons.math4.exception.NullArgumentException; -import org.apache.commons.math4.exception.NumberIsTooLargeException; import org.apache.commons.math4.exception.TooManyEvaluationsException; import org.apache.commons.math4.util.IntegerSequence; import org.apache.commons.math4.util.MathUtils; @@ -173,7 +170,8 @@ public abstract class BaseAbstractUnivariateSolver= upper}. + * @throws org.apache.commons.math4.exception.NumberIsTooLargeException + * if {@code lower >= upper}. */ protected void verifyInterval(final double lower, final double upper) { @@ -270,8 +270,8 @@ public abstract class BaseAbstractUnivariateSolver= initial} or - * {@code initial >= upper}. + * @throws org.apache.commons.math4.exception.NumberIsTooLargeException + * if {@code lower >= initial} or {@code initial >= upper}. */ protected void verifySequence(final double lower, final double initial, @@ -285,9 +285,10 @@ public abstract class BaseAbstractUnivariateSolver