# Deprecated API

## Contents

- Deprecated Interfaces
- Deprecated Classes
- Deprecated Exceptions
- Deprecated Fields
- Deprecated Methods
- Deprecated Constructors

Deprecated Interfaces
Interface and Description
org.apache.commons.math.linear.BigMatrix as of 2.0, replaced by `FieldMatrix` with a `BigReal` parameter
org.apache.commons.math.ConvergingAlgorithm in 2.2 (to be removed in 3.0). The concept of "iteration" will be moved to a new `IterativeAlgorithm`. The concept of "accuracy" is currently is also contained in `SimpleRealPointChecker` and similar classes.
org.apache.commons.math.estimation.EstimationProblem as of 2.0, everything in package org.apache.commons.math.estimation has been deprecated and replaced by package org.apache.commons.math.optimization.general
org.apache.commons.math.estimation.Estimator as of 2.0, everything in package org.apache.commons.math.estimation has been deprecated and replaced by package org.apache.commons.math.optimization.general
org.apache.commons.math.ode.jacobians.EventHandlerWithJacobians as of 2.2 the complete package is deprecated, it will be replaced in 3.0 by a completely rewritten implementation
org.apache.commons.math.distribution.HasDensity to be removed in math 3.0
org.apache.commons.math.ode.jacobians.ODEWithJacobians as of 2.2 the complete package is deprecated, it will be replaced in 3.0 by a completely rewritten implementation
org.apache.commons.math.ode.jacobians.ParameterizedODE as of 2.2 the complete package is deprecated, it will be replaced in 3.0 by a completely rewritten implementation
org.apache.commons.math.ode.jacobians.StepHandlerWithJacobians as of 2.2 the complete package is deprecated, it will be replaced in 3.0 by a completely rewritten implementation
org.apache.commons.math.ode.jacobians.StepInterpolatorWithJacobians as of 2.2 the complete package is deprecated, it will be replaced in 3.0 by a completely rewritten implementation

Deprecated Classes
Class and Description
org.apache.commons.math.estimation.AbstractEstimator as of 2.0, everything in package org.apache.commons.math.estimation has been deprecated and replaced by package org.apache.commons.math.optimization.general
org.apache.commons.math.ode.AbstractIntegrator.EndTimeChecker as of 2.2, this class is not used anymore
org.apache.commons.math.linear.BigMatrixImpl as of 2.0, replaced by `Array2DRowFieldMatrix` with a `BigReal` parameter
org.apache.commons.math.analysis.BinaryFunction in 2.2
org.apache.commons.math.ode.events.CombinedEventsManager as of 2.2, this class is not used anymore
org.apache.commons.math.ConvergingAlgorithmImpl in 2.2 (to be removed in 3.0).
org.apache.commons.math.estimation.EstimatedParameter as of 2.0, everything in package org.apache.commons.math.estimation has been deprecated and replaced by package org.apache.commons.math.optimization.general
org.apache.commons.math.ode.jacobians.FirstOrderIntegratorWithJacobians as of 2.2 the complete package is deprecated, it will be replaced in 3.0 by a completely rewritten implementation
org.apache.commons.math.estimation.GaussNewtonEstimator as of 2.0, everything in package org.apache.commons.math.estimation has been deprecated and replaced by package org.apache.commons.math.optimization.general
org.apache.commons.math.estimation.LevenbergMarquardtEstimator as of 2.0, everything in package org.apache.commons.math.estimation has been deprecated and replaced by package org.apache.commons.math.optimization.general
org.apache.commons.math.linear.RealMatrixImpl as of 2.0 replaced by `Array2DRowRealMatrix`
org.apache.commons.math.estimation.SimpleEstimationProblem as of 2.0, everything in package org.apache.commons.math.estimation has been deprecated and replaced by package org.apache.commons.math.optimization.general
org.apache.commons.math.analysis.interpolation.SmoothingBicubicSplineInterpolator This class does not perform smoothing; the name is thus misleading. Please use `BicubicSplineInterpolator` instead. If smoothing is desired, a tentative implementation is provided in class `SmoothingPolynomialBicubicSplineInterpolator`. This class will be removed in math 3.0.
org.apache.commons.math.analysis.solvers.UnivariateRealSolverImpl in 2.2 (to be removed in 3.0).
org.apache.commons.math.estimation.WeightedMeasurement as of 2.0, everything in package org.apache.commons.math.estimation has been deprecated and replaced by package org.apache.commons.math.optimization.general

Deprecated Exceptions
Exceptions and Description
org.apache.commons.math.DimensionMismatchException in 2.2 (to be removed in 3.0). Please use its equivalent from package `org.apache.commons.math.exception`.
org.apache.commons.math.estimation.EstimationException as of 2.0, everything in package org.apache.commons.math.estimation has been deprecated and replaced by package org.apache.commons.math.optimization.general
org.apache.commons.math.optimization.OptimizationException in 2.2 (to be removed in 3.0).

Deprecated Fields
Field and Description
org.apache.commons.math.optimization.general.AbstractScalarDifferentiableOptimizer.checker
org.apache.commons.math.stat.inference.TTestImpl.distribution in 2.2 (to be removed in 3.0).
org.apache.commons.math.analysis.integration.UnivariateRealIntegratorImpl.f as of 2.0 the integrand function is passed as an argument to the `UnivariateRealIntegrator.integrate(UnivariateRealFunction, double, double)`method.
org.apache.commons.math.analysis.solvers.UnivariateRealSolverImpl.f as of 2.0 the function to solve is passed as an argument to the `UnivariateRealSolver.solve(UnivariateRealFunction, double, double)` or `UnivariateRealSolver.solve(UnivariateRealFunction, double, double, double)` method.
org.apache.commons.math.optimization.general.AbstractScalarDifferentiableOptimizer.goal
org.apache.commons.math.linear.AbstractRealMatrix.lu as of release 2.0, since all methods using this are deprecated
org.apache.commons.math.analysis.solvers.LaguerreSolver.p as of 2.0 the function is not stored anymore in the instance
org.apache.commons.math.optimization.general.AbstractScalarDifferentiableOptimizer.point

Deprecated Methods
Method and Description
org.apache.commons.math.ode.AbstractIntegrator.addEndTimeChecker(double, double, CombinedEventsManager) as of 2.2, this method is not used any more
org.apache.commons.math.stat.Frequency.addValue(Integer) to be removed in math 3.0
org.apache.commons.math.stat.Frequency.addValue(Object) use `Frequency.addValue(Comparable)` instead
org.apache.commons.math.util.MathUtils.checkOrder(double[], int, boolean) as of 2.2 (please use the new `checkOrder` method). To be removed in 3.0.
org.apache.commons.math.optimization.univariate.AbstractUnivariateRealOptimizer.checkResultComputed() in 2.2 (no alternative).
org.apache.commons.math.optimization.univariate.AbstractUnivariateRealOptimizer.clearResult() in 2.2 (no alternative).
org.apache.commons.math.optimization.univariate.AbstractUnivariateRealOptimizer.computeObjectiveValue(UnivariateRealFunction, double) in 2.2. Use this `replacement` instead.
org.apache.commons.math.MathRuntimeException.createArithmeticException(String, Object...) as of 2.2 replaced by `MathRuntimeException.createArithmeticException(Localizable, Object...)`
org.apache.commons.math.MathRuntimeException.createArrayIndexOutOfBoundsException(String, Object...) as of 2.2 replaced by `MathRuntimeException.createArrayIndexOutOfBoundsException(Localizable, Object...)`
org.apache.commons.math.linear.MatrixUtils.createBigIdentityMatrix(int) since 2.0, replaced by `MatrixUtils.createFieldIdentityMatrix(Field, int)`
org.apache.commons.math.linear.MatrixUtils.createBigMatrix(BigDecimal[][]) since 2.0 replaced by `MatrixUtils.createFieldMatrix(FieldElement[][])`
org.apache.commons.math.linear.MatrixUtils.createBigMatrix(BigDecimal[][], boolean) since 2.0 replaced by `MatrixUtils.createFieldMatrix(FieldElement[][])`
org.apache.commons.math.linear.MatrixUtils.createBigMatrix(double[][]) since 2.0 replaced by `MatrixUtils.createFieldMatrix(FieldElement[][])`
org.apache.commons.math.linear.MatrixUtils.createBigMatrix(String[][]) since 2.0 replaced by `MatrixUtils.createFieldMatrix(FieldElement[][])`
org.apache.commons.math.linear.MatrixUtils.createColumnBigMatrix(BigDecimal[]) since 2.0 replaced by `MatrixUtils.createColumnFieldMatrix(FieldElement[])`
org.apache.commons.math.linear.MatrixUtils.createColumnBigMatrix(double[]) since 2.0 replaced by `MatrixUtils.createColumnFieldMatrix(FieldElement[])`
org.apache.commons.math.linear.MatrixUtils.createColumnBigMatrix(String[]) since 2.0 replaced by `MatrixUtils.createColumnFieldMatrix(FieldElement[])`
org.apache.commons.math.MathRuntimeException.createConcurrentModificationException(String, Object...) as of 2.2 replaced by `MathRuntimeException.createConcurrentModificationException(Localizable, Object...)`
org.apache.commons.math.MathRuntimeException.createEOFException(String, Object...) as of 2.2 replaced by `MathRuntimeException.createEOFException(Localizable, Object...)`
org.apache.commons.math.MathRuntimeException.createIllegalArgumentException(String, Object...) as of 2.2 replaced by `MathRuntimeException.createIllegalArgumentException(Localizable, Object...)`
org.apache.commons.math.MathRuntimeException.createIllegalStateException(String, Object...) as of 2.2 replaced by `MathRuntimeException.createIllegalStateException(Localizable, Object...)`
org.apache.commons.math.MathRuntimeException.createNoSuchElementException(String, Object...) as of 2.2 replaced by `MathRuntimeException.createNoSuchElementException(Localizable, Object...)`
org.apache.commons.math.MathRuntimeException.createNullPointerException(Localizable, Object...) in 2.2. Checks for "null" must not be performed in Commons-Math.
org.apache.commons.math.MathRuntimeException.createNullPointerException(String, Object...) as of 2.2 replaced by `MathRuntimeException.createNullPointerException(Localizable, Object...)`
org.apache.commons.math.MathRuntimeException.createParseException(int, String, Object...) as of 2.2 replaced by `MathRuntimeException.createParseException(int, Localizable, Object...)`
org.apache.commons.math.linear.MatrixUtils.createRowBigMatrix(BigDecimal[]) since 2.0 replaced by `MatrixUtils.createRowFieldMatrix(FieldElement[])`
org.apache.commons.math.linear.MatrixUtils.createRowBigMatrix(double[]) since 2.0 replaced by `MatrixUtils.createRowFieldMatrix(FieldElement[])`
org.apache.commons.math.linear.MatrixUtils.createRowBigMatrix(String[]) since 2.0 replaced by `MatrixUtils.createRowFieldMatrix(FieldElement[])`
org.apache.commons.math.MathRuntimeException.createUnsupportedOperationException(Localizable, Object...) in 2.2. Please use `MathUnsupportedOperationException` instead.
org.apache.commons.math.distribution.GammaDistributionImpl.density(Double)
org.apache.commons.math.distribution.NormalDistributionImpl.density(Double)
org.apache.commons.math.distribution.ExponentialDistributionImpl.density(Double) - use density(double)
org.apache.commons.math.distribution.BetaDistributionImpl.density(Double)
org.apache.commons.math.distribution.ChiSquaredDistributionImpl.density(Double)
org.apache.commons.math.util.MathUtils.equals(float[], float[]) as of 2.2 this method considers that `NaN == NaN`. In release 3.0, the semantics will change in order to comply with IEEE754 where it is specified that `NaN != NaN`. New methods have been added for those cases where the old semantics is useful (see e.g. `equalsIncludingNaN`.
org.apache.commons.math.util.MathUtils.equals(float, float) as of 2.2 his method considers that `NaN == NaN`. In release 3.0, the semantics will change in order to comply with IEEE754 where it is specified that `NaN != NaN`. New methods have been added for those cases wher the old semantics is useful (see e.g. `equalsIncludingNaN`.
org.apache.commons.math.stat.inference.TestUtils.getChiSquareTest() 2.2 will be removed in 3.0
org.apache.commons.math.stat.Frequency.getCount(Object) replaced by `Frequency.getCount(Comparable)` as of 2.0
org.apache.commons.math.stat.Frequency.getCumFreq(Object) replaced by `Frequency.getCumFreq(Comparable)` as of 2.0
org.apache.commons.math.stat.Frequency.getCumPct(Object) replaced by `Frequency.getCumPct(Comparable)` as of 2.0
org.apache.commons.math.linear.AbstractRealMatrix.getDeterminant()
org.apache.commons.math.linear.RealMatrix.getDeterminant() as of release 2.0, replaced by ``new LUDecompositionImpl(m)`.`getDeterminant()``
org.apache.commons.math.stat.inference.TestUtils.getOneWayAnova() 2.2 will be removed in 3.0
org.apache.commons.math.MathRuntimeException.getPattern() as of 2.2 replaced by `MathRuntimeException.getSpecificPattern()` and `MathRuntimeException.getGeneralPattern()`
org.apache.commons.math.MathException.getPattern() as of 2.2 replaced by `MathException.getSpecificPattern()` and `MathException.getGeneralPattern()`
org.apache.commons.math.stat.Frequency.getPct(Object) replaced by `Frequency.getPct(Comparable)` as of 2.0
org.apache.commons.math.analysis.solvers.LaguerreSolver.getPolynomialFunction() as of 2.0 the function is not stored anymore within the instance.
org.apache.commons.math.linear.OpenMapRealVector.getSparcity() as of 2.2 replaced by the correctly spelled `OpenMapRealVector.getSparsity()`
org.apache.commons.math.stat.inference.TestUtils.getTTest() 2.2 will be removed in 3.0
org.apache.commons.math.stat.inference.TestUtils.getUnknownDistributionChiSquareTest() 2.2 will be removed in 3.0
org.apache.commons.math.util.ResizableDoubleArray.getValues() replaced by `ResizableDoubleArray.getInternalValues()` as of 2.0
org.apache.commons.math.analysis.integration.SimpsonIntegrator.integrate(double, double)
org.apache.commons.math.analysis.integration.TrapezoidIntegrator.integrate(double, double)
org.apache.commons.math.analysis.integration.LegendreGaussIntegrator.integrate(double, double)
org.apache.commons.math.analysis.integration.RombergIntegrator.integrate(double, double)
org.apache.commons.math.analysis.integration.UnivariateRealIntegrator.integrate(double, double) replaced by `UnivariateRealIntegrator.integrate(UnivariateRealFunction, double, double)` since 2.0
org.apache.commons.math.linear.AbstractRealMatrix.inverse()
org.apache.commons.math.linear.RealMatrix.inverse() as of release 2.0, replaced by ``new LUDecompositionImpl(m)`.`getSolver()`.`getInverse()``
org.apache.commons.math.linear.AbstractRealMatrix.isSingular()
org.apache.commons.math.linear.RealMatrix.isSingular() as of release 2.0, replaced by the boolean negation of ``new LUDecompositionImpl(m)`.`getSolver()`.`isNonSingular()``
org.apache.commons.math.linear.AbstractRealMatrix.luDecompose() as of release 2.0, replaced by `LUDecomposition`
org.apache.commons.math.linear.RealVector.mapAbs() in 2.2 (to be removed in 3.0).
org.apache.commons.math.linear.RealVector.mapAbsToSelf() in 2.2 (to be removed in 3.0).
org.apache.commons.math.linear.RealVector.mapAcos() in 2.2 (to be removed in 3.0).
org.apache.commons.math.linear.RealVector.mapAcosToSelf() in 2.2 (to be removed in 3.0).
org.apache.commons.math.linear.RealVector.mapAsin() in 2.2 (to be removed in 3.0).
org.apache.commons.math.linear.RealVector.mapAsinToSelf() in 2.2 (to be removed in 3.0).
org.apache.commons.math.linear.RealVector.mapAtan() in 2.2 (to be removed in 3.0).
org.apache.commons.math.linear.RealVector.mapAtanToSelf() in 2.2 (to be removed in 3.0).
org.apache.commons.math.linear.RealVector.mapCbrt() in 2.2 (to be removed in 3.0).
org.apache.commons.math.linear.RealVector.mapCbrtToSelf() in 2.2 (to be removed in 3.0).
org.apache.commons.math.linear.RealVector.mapCeil() in 2.2 (to be removed in 3.0).
org.apache.commons.math.linear.RealVector.mapCeilToSelf() in 2.2 (to be removed in 3.0).
org.apache.commons.math.linear.RealVector.mapCos() in 2.2 (to be removed in 3.0).
org.apache.commons.math.linear.RealVector.mapCosh() in 2.2 (to be removed in 3.0).
org.apache.commons.math.linear.RealVector.mapCoshToSelf() in 2.2 (to be removed in 3.0).
org.apache.commons.math.linear.RealVector.mapCosToSelf() in 2.2 (to be removed in 3.0).
org.apache.commons.math.linear.RealVector.mapExp() in 2.2 (to be removed in 3.0).
org.apache.commons.math.linear.RealVector.mapExpm1() in 2.2 (to be removed in 3.0).
org.apache.commons.math.linear.RealVector.mapExpm1ToSelf() in 2.2 (to be removed in 3.0).
org.apache.commons.math.linear.RealVector.mapExpToSelf() in 2.2 (to be removed in 3.0).
org.apache.commons.math.linear.RealVector.mapFloor() in 2.2 (to be removed in 3.0).
org.apache.commons.math.linear.RealVector.mapFloorToSelf() in 2.2 (to be removed in 3.0).
org.apache.commons.math.linear.RealVector.mapInv() in 2.2 (to be removed in 3.0).
org.apache.commons.math.linear.RealVector.mapInvToSelf() in 2.2 (to be removed in 3.0).
org.apache.commons.math.linear.RealVector.mapLog() in 2.2 (to be removed in 3.0).
org.apache.commons.math.linear.RealVector.mapLog10() in 2.2 (to be removed in 3.0).
org.apache.commons.math.linear.RealVector.mapLog10ToSelf() in 2.2 (to be removed in 3.0).
org.apache.commons.math.linear.RealVector.mapLog1p() in 2.2 (to be removed in 3.0).
org.apache.commons.math.linear.RealVector.mapLog1pToSelf() in 2.2 (to be removed in 3.0).
org.apache.commons.math.linear.RealVector.mapLogToSelf() in 2.2 (to be removed in 3.0).
org.apache.commons.math.linear.RealVector.mapPow(double) in 2.2 (to be removed in 3.0).
org.apache.commons.math.linear.RealVector.mapPowToSelf(double) in 2.2 (to be removed in 3.0).
org.apache.commons.math.linear.RealVector.mapRint() in 2.2 (to be removed in 3.0).
org.apache.commons.math.linear.RealVector.mapRintToSelf() in 2.2 (to be removed in 3.0).
org.apache.commons.math.linear.RealVector.mapSignum() in 2.2 (to be removed in 3.0).
org.apache.commons.math.linear.RealVector.mapSignumToSelf() in 2.2 (to be removed in 3.0).
org.apache.commons.math.linear.RealVector.mapSin() in 2.2 (to be removed in 3.0).
org.apache.commons.math.linear.RealVector.mapSinh() in 2.2 (to be removed in 3.0).
org.apache.commons.math.linear.RealVector.mapSinhToSelf() in 2.2 (to be removed in 3.0).
org.apache.commons.math.linear.RealVector.mapSinToSelf() in 2.2 (to be removed in 3.0).
org.apache.commons.math.linear.RealVector.mapSqrt() in 2.2 (to be removed in 3.0).
org.apache.commons.math.linear.RealVector.mapSqrtToSelf() in 2.2 (to be removed in 3.0).
org.apache.commons.math.linear.RealVector.mapTan() in 2.2 (to be removed in 3.0).
org.apache.commons.math.linear.RealVector.mapTanh() in 2.2 (to be removed in 3.0).
org.apache.commons.math.linear.RealVector.mapTanhToSelf() in 2.2 (to be removed in 3.0).
org.apache.commons.math.linear.RealVector.mapTanToSelf() in 2.2 (to be removed in 3.0).
org.apache.commons.math.linear.RealVector.mapUlp() in 2.2 (to be removed in 3.0).
org.apache.commons.math.linear.RealVector.mapUlpToSelf() in 2.2 (to be removed in 3.0).
org.apache.commons.math.util.MathUtils.nextAfter(double, double) as of 2.2, replaced by `FastMath.nextAfter(double, double)` which handles Infinities differently, and returns direction if d and direction compare equal.
org.apache.commons.math.util.MathUtils.scalb(double, int) as of 2.2, replaced by `FastMath.scalb(double, int)`
org.apache.commons.math.distribution.GammaDistributionImpl.setAlpha(double) as of 2.1 (class will become immutable in 3.0)
org.apache.commons.math.distribution.GammaDistribution.setAlpha(double) as of v2.1
org.apache.commons.math.distribution.BetaDistributionImpl.setAlpha(double) as of 2.1 (class will become immutable in 3.0)
org.apache.commons.math.distribution.BetaDistribution.setAlpha(double) as of 2.1
org.apache.commons.math.distribution.GammaDistributionImpl.setBeta(double) as of 2.1 (class will become immutable in 3.0)
org.apache.commons.math.distribution.GammaDistribution.setBeta(double) as of v2.1
org.apache.commons.math.distribution.BetaDistributionImpl.setBeta(double) as of 2.1 (class will become immutable in 3.0)
org.apache.commons.math.distribution.BetaDistribution.setBeta(double) as of 2.1
org.apache.commons.math.stat.inference.TestUtils.setChiSquareTest(ChiSquareTest) 2.2 will be removed in 3.0 - not compatible with use from multiple threads
org.apache.commons.math.stat.inference.TestUtils.setChiSquareTest(TTest) 2.2 will be removed in 3.0 - not compatible with use from multiple threads
org.apache.commons.math.distribution.TDistribution.setDegreesOfFreedom(double) as of v2.1
org.apache.commons.math.distribution.ChiSquaredDistributionImpl.setDegreesOfFreedom(double) as of 2.1 (class will become immutable in 3.0)
org.apache.commons.math.distribution.ChiSquaredDistribution.setDegreesOfFreedom(double) as of v2.1
org.apache.commons.math.distribution.TDistributionImpl.setDegreesOfFreedom(double) as of 2.1 (class will become immutable in 3.0)
org.apache.commons.math.distribution.FDistributionImpl.setDenominatorDegreesOfFreedom(double) as of 2.1 (class will become immutable in 3.0)
org.apache.commons.math.distribution.FDistribution.setDenominatorDegreesOfFreedom(double) as of v2.1
org.apache.commons.math.stat.inference.TTestImpl.setDistribution(TDistribution) in 2.2 (to be removed in 3.0).
org.apache.commons.math.stat.regression.SimpleRegression.setDistribution(TDistribution) in 2.2 (to be removed in 3.0).
org.apache.commons.math.distribution.ZipfDistribution.setExponent(double) as of v2.1
org.apache.commons.math.distribution.ZipfDistributionImpl.setExponent(double) as of 2.1 (class will become immutable in 3.0)
org.apache.commons.math.distribution.ChiSquaredDistributionImpl.setGamma(GammaDistribution) as of 2.1 (class will become immutable in 3.0)
org.apache.commons.math.distribution.PoissonDistributionImpl.setMean(double) as of 2.1 (class will become immutable in 3.0)
org.apache.commons.math.distribution.PoissonDistribution.setMean(double) as of v2.1
org.apache.commons.math.distribution.NormalDistributionImpl.setMean(double) as of 2.1 (class will become immutable in 3.0)
org.apache.commons.math.distribution.NormalDistribution.setMean(double) as of v2.1
org.apache.commons.math.distribution.ExponentialDistribution.setMean(double) as of v2.1
org.apache.commons.math.distribution.ExponentialDistributionImpl.setMean(double) as of 2.1 (class will become immutable in 3.0)
org.apache.commons.math.distribution.CauchyDistribution.setMedian(double) as of v2.1
org.apache.commons.math.distribution.CauchyDistributionImpl.setMedian(double) as of 2.1 (class will become immutable in 3.0)
org.apache.commons.math.distribution.PoissonDistributionImpl.setNormal(NormalDistribution) as of 2.1 (class will become immutable in 3.0)
org.apache.commons.math.distribution.ZipfDistribution.setNumberOfElements(int) as of v2.1
org.apache.commons.math.distribution.ZipfDistributionImpl.setNumberOfElements(int) as of 2.1 (class will become immutable in 3.0)
org.apache.commons.math.distribution.HypergeometricDistributionImpl.setNumberOfSuccesses(int) as of 2.1 (class will become immutable in 3.0)
org.apache.commons.math.distribution.HypergeometricDistribution.setNumberOfSuccesses(int) as of v2.1
org.apache.commons.math.distribution.PascalDistributionImpl.setNumberOfSuccesses(int) as of 2.1 (class will become immutable in 3.0)
org.apache.commons.math.distribution.PascalDistribution.setNumberOfSuccesses(int) as of v2.1
org.apache.commons.math.distribution.BinomialDistributionImpl.setNumberOfTrials(int) as of 2.1 (class will become immutable in 3.0)
org.apache.commons.math.distribution.BinomialDistribution.setNumberOfTrials(int) as of v2.1
org.apache.commons.math.distribution.FDistributionImpl.setNumeratorDegreesOfFreedom(double) as of 2.1 (class will become immutable in 3.0)
org.apache.commons.math.distribution.FDistribution.setNumeratorDegreesOfFreedom(double) as of v2.1
org.apache.commons.math.stat.inference.TestUtils.setOneWayAnova(OneWayAnova) 2.2 will be removed in 3.0 - not compatible with use from multiple threads
org.apache.commons.math.distribution.HypergeometricDistributionImpl.setPopulationSize(int) as of 2.1 (class will become immutable in 3.0)
org.apache.commons.math.distribution.HypergeometricDistribution.setPopulationSize(int) as of v2.1
org.apache.commons.math.distribution.BinomialDistributionImpl.setProbabilityOfSuccess(double) as of 2.1 (class will become immutable in 3.0)
org.apache.commons.math.distribution.BinomialDistribution.setProbabilityOfSuccess(double) as of v2.1
org.apache.commons.math.distribution.PascalDistributionImpl.setProbabilityOfSuccess(double) as of 2.1 (class will become immutable in 3.0)
org.apache.commons.math.distribution.PascalDistribution.setProbabilityOfSuccess(double) as of v2.1
org.apache.commons.math.optimization.univariate.AbstractUnivariateRealOptimizer.setResult(double, double, int) in 2.2 (no alternative).
org.apache.commons.math.distribution.HypergeometricDistributionImpl.setSampleSize(int) as of 2.1 (class will become immutable in 3.0)
org.apache.commons.math.distribution.HypergeometricDistribution.setSampleSize(int) as of v2.1
org.apache.commons.math.distribution.WeibullDistributionImpl.setScale(double) as of 2.1 (class will become immutable in 3.0)
org.apache.commons.math.distribution.WeibullDistribution.setScale(double) as of v2.1
org.apache.commons.math.distribution.CauchyDistribution.setScale(double) as of v2.1
org.apache.commons.math.distribution.CauchyDistributionImpl.setScale(double) as of 2.1 (class will become immutable in 3.0)
org.apache.commons.math.distribution.WeibullDistributionImpl.setShape(double) as of 2.1 (class will become immutable in 3.0)
org.apache.commons.math.distribution.WeibullDistribution.setShape(double) as of v2.1
org.apache.commons.math.distribution.NormalDistributionImpl.setStandardDeviation(double) as of 2.1 (class will become immutable in 3.0)
org.apache.commons.math.distribution.NormalDistribution.setStandardDeviation(double) as of v2.1
org.apache.commons.math.stat.inference.TestUtils.setUnknownDistributionChiSquareTest(UnknownDistributionChiSquareTest) 2.2 will be removed in 3.0 - not compatible with use from multiple threads
org.apache.commons.math.analysis.solvers.LaguerreSolver.solve(Complex[], Complex) in 2.2.
org.apache.commons.math.linear.AbstractRealMatrix.solve(double[])
org.apache.commons.math.linear.RealMatrix.solve(double[]) as of release 2.0, replaced by `DecompositionSolver.solve(double[])`
org.apache.commons.math.analysis.solvers.MullerSolver.solve(double, double)
org.apache.commons.math.analysis.solvers.RiddersSolver.solve(double, double)
org.apache.commons.math.analysis.solvers.BrentSolver.solve(double, double)
org.apache.commons.math.analysis.solvers.LaguerreSolver.solve(double, double)
org.apache.commons.math.analysis.solvers.NewtonSolver.solve(double, double)
org.apache.commons.math.analysis.solvers.UnivariateRealSolver.solve(double, double) replaced by `UnivariateRealSolver.solve(UnivariateRealFunction, double, double)` since 2.0
org.apache.commons.math.analysis.solvers.BisectionSolver.solve(double, double)
org.apache.commons.math.analysis.solvers.SecantSolver.solve(double, double)
org.apache.commons.math.analysis.solvers.MullerSolver.solve(double, double, double)
org.apache.commons.math.analysis.solvers.RiddersSolver.solve(double, double, double)
org.apache.commons.math.analysis.solvers.BrentSolver.solve(double, double, double)
org.apache.commons.math.analysis.solvers.LaguerreSolver.solve(double, double, double)
org.apache.commons.math.analysis.solvers.NewtonSolver.solve(double, double, double)
org.apache.commons.math.analysis.solvers.UnivariateRealSolver.solve(double, double, double) replaced by `UnivariateRealSolver.solve(UnivariateRealFunction, double, double, double)` since 2.0
org.apache.commons.math.analysis.solvers.BisectionSolver.solve(double, double, double)
org.apache.commons.math.analysis.solvers.SecantSolver.solve(double, double, double)
org.apache.commons.math.linear.AbstractRealMatrix.solve(RealMatrix)
org.apache.commons.math.linear.RealMatrix.solve(RealMatrix) as of release 2.0, replaced by `DecompositionSolver.solve(RealMatrix)`
org.apache.commons.math.analysis.solvers.MullerSolver.solve(UnivariateRealFunction, double, double) in 2.2 (to be removed in 3.0).
org.apache.commons.math.analysis.solvers.RiddersSolver.solve(UnivariateRealFunction, double, double) in 2.2 (to be removed in 3.0).
org.apache.commons.math.analysis.solvers.BrentSolver.solve(UnivariateRealFunction, double, double) in 2.2 (to be removed in 3.0).
org.apache.commons.math.analysis.solvers.LaguerreSolver.solve(UnivariateRealFunction, double, double) in 2.2 (to be removed in 3.0).
org.apache.commons.math.analysis.solvers.NewtonSolver.solve(UnivariateRealFunction, double, double) in 2.2 (to be removed in 3.0).
org.apache.commons.math.analysis.solvers.UnivariateRealSolver.solve(UnivariateRealFunction, double, double) in 2.2 (to be removed in 3.0).
org.apache.commons.math.analysis.solvers.BisectionSolver.solve(UnivariateRealFunction, double, double) in 2.2 (to be removed in 3.0).
org.apache.commons.math.analysis.solvers.SecantSolver.solve(UnivariateRealFunction, double, double) in 2.2 (to be removed in 3.0).
org.apache.commons.math.analysis.solvers.MullerSolver.solve(UnivariateRealFunction, double, double, double) in 2.2 (to be removed in 3.0).
org.apache.commons.math.analysis.solvers.RiddersSolver.solve(UnivariateRealFunction, double, double, double) in 2.2 (to be removed in 3.0).
org.apache.commons.math.analysis.solvers.BrentSolver.solve(UnivariateRealFunction, double, double, double) in 2.2 (to be removed in 3.0).
org.apache.commons.math.analysis.solvers.LaguerreSolver.solve(UnivariateRealFunction, double, double, double) in 2.2 (to be removed in 3.0).
org.apache.commons.math.analysis.solvers.NewtonSolver.solve(UnivariateRealFunction, double, double, double) in 2.2 (to be removed in 3.0).
org.apache.commons.math.analysis.solvers.UnivariateRealSolver.solve(UnivariateRealFunction, double, double, double) in 2.2 (to be removed in 3.0).
org.apache.commons.math.analysis.solvers.BisectionSolver.solve(UnivariateRealFunction, double, double, double) in 2.2 (to be removed in 3.0).
org.apache.commons.math.analysis.solvers.SecantSolver.solve(UnivariateRealFunction, double, double, double) in 2.2 (to be removed in 3.0).
org.apache.commons.math.analysis.solvers.MullerSolver.solve2(double, double) replaced by `MullerSolver.solve2(UnivariateRealFunction, double, double)` since 2.0
org.apache.commons.math.analysis.solvers.MullerSolver.solve2(UnivariateRealFunction, double, double) in 2.2 (to be removed in 3.0).
org.apache.commons.math.analysis.solvers.LaguerreSolver.solveAll(Complex[], Complex) in 2.2.
org.apache.commons.math.analysis.solvers.LaguerreSolver.solveAll(double[], double) in 2.2.

Deprecated Constructors
Constructor and Description
org.apache.commons.math.optimization.univariate.AbstractUnivariateRealOptimizer(int, double) in 2.2. Please use the "setter" methods to assign meaningful values to the maximum numbers of iterations and evaluations, and to the absolute and relative accuracy thresholds.
org.apache.commons.math.analysis.solvers.BisectionSolver(UnivariateRealFunction) as of 2.0 the function to solve is passed as an argument to the `BisectionSolver.solve(UnivariateRealFunction, double, double)` or `UnivariateRealSolver.solve(UnivariateRealFunction, double, double, double)` method.
org.apache.commons.math.analysis.solvers.BrentSolver() in 2.2 (to be removed in 3.0).
org.apache.commons.math.analysis.solvers.BrentSolver(UnivariateRealFunction) as of 2.0 the function to solve is passed as an argument to the `BrentSolver.solve(UnivariateRealFunction, double, double)` or `UnivariateRealSolver.solve(UnivariateRealFunction, double, double, double)` method.
org.apache.commons.math.distribution.ChiSquaredDistributionImpl(double, GammaDistribution) as of 2.1 (to avoid possibly inconsistent state, the "GammaDistribution" will be instantiated internally)
org.apache.commons.math.ConvergenceException(String, Object...) as of 2.2 replaced by `ConvergenceException.ConvergenceException(Localizable, Object...)`
org.apache.commons.math.ConvergenceException(Throwable, String, Object...) as of 2.2 replaced by `ConvergenceException.ConvergenceException(Throwable, Localizable, Object...)`
org.apache.commons.math.ConvergingAlgorithmImpl() in 2.2 (to be removed as soon as the single non-default one has been removed).
org.apache.commons.math.ConvergingAlgorithmImpl(int, double) in 2.2. Derived classes should use the "setter" methods in order to assign meaningful values to all the instances variables.
org.apache.commons.math.ode.events.EventException(String, Object...) as of 2.2 replaced by `EventException.EventException(Localizable, Object...)`
org.apache.commons.math.ode.IntegratorException(String, Object...) as of 2.2 replaced by `IntegratorException.IntegratorException(Localizable, Object...)`
org.apache.commons.math.linear.InvalidMatrixException(String, Object...) since 2.2 replaced by `InvalidMatrixException.InvalidMatrixException(Localizable, Object...)`
org.apache.commons.math.analysis.solvers.LaguerreSolver() in 2.2 (to be removed in 3.0)
org.apache.commons.math.analysis.solvers.LaguerreSolver(UnivariateRealFunction) as of 2.0 the function to solve is passed as an argument to the `LaguerreSolver.solve(UnivariateRealFunction, double, double)` or `UnivariateRealSolver.solve(UnivariateRealFunction, double, double, double)` method.
org.apache.commons.math.MathException(String, Object...) as of 2.2 replaced by `MathException.MathException(Localizable, Object...)`
org.apache.commons.math.MathException(Throwable, String, Object...) as of 2.2 replaced by `MathException.MathException(Throwable, Localizable, Object...)`
org.apache.commons.math.MathRuntimeException(String, Object...) as of 2.2 replaced by `MathRuntimeException.MathRuntimeException(Localizable, Object...)`
org.apache.commons.math.MathRuntimeException(Throwable, String, Object...) as of 2.2 replaced by `MathRuntimeException.MathRuntimeException(Throwable, Localizable, Object...)`
org.apache.commons.math.linear.MatrixIndexException(String, Object...) as of 2.2 replaced by `MatrixIndexException.MatrixIndexException(Localizable, Object...)`
org.apache.commons.math.MaxEvaluationsExceededException(int, String, Object...) as of 2.2 replaced by `MaxEvaluationsExceededException.MaxEvaluationsExceededException(int, Localizable, Object...)`
org.apache.commons.math.MaxIterationsExceededException(int, String, Object...) as of 2.2 replaced by `MaxIterationsExceededException.MaxIterationsExceededException(int, Localizable, Object...)`
org.apache.commons.math.analysis.solvers.MullerSolver() in 2.2 (to be removed in 3.0).
org.apache.commons.math.analysis.solvers.MullerSolver(UnivariateRealFunction) as of 2.0 the function to solve is passed as an argument to the `MullerSolver.solve(UnivariateRealFunction, double, double)` or `UnivariateRealSolver.solve(UnivariateRealFunction, double, double, double)` method.
org.apache.commons.math.analysis.solvers.NewtonSolver() in 2.2 (to be removed in 3.0).
org.apache.commons.math.analysis.solvers.NewtonSolver(DifferentiableUnivariateRealFunction) as of 2.0 the function to solve is passed as an argument to the `NewtonSolver.solve(UnivariateRealFunction, double, double)` or `UnivariateRealSolver.solve(UnivariateRealFunction, double, double, double)` method.
org.apache.commons.math.geometry.NotARotationMatrixException(String, Object...) as of 2.2 replaced by `NotARotationMatrixException.NotARotationMatrixException(Localizable, Object...)`
org.apache.commons.math.optimization.OptimizationException(String, Object...) as of 2.2 replaced by `OptimizationException.OptimizationException(Localizable, Object...)`
org.apache.commons.math.distribution.PoissonDistributionImpl(double, NormalDistribution) as of 2.1 (to avoid possibly inconsistent state, the "NormalDistribution" will be instantiated internally)
org.apache.commons.math.analysis.solvers.RiddersSolver() in 2.2
org.apache.commons.math.analysis.solvers.RiddersSolver(UnivariateRealFunction) as of 2.0 the function to solve is passed as an argument to the `RiddersSolver.solve(UnivariateRealFunction, double, double)` or `UnivariateRealSolver.solve(UnivariateRealFunction, double, double, double)` method.
org.apache.commons.math.analysis.integration.RombergIntegrator(UnivariateRealFunction) as of 2.0 the integrand function is passed as an argument to the `RombergIntegrator.integrate(UnivariateRealFunction, double, double)`method.
org.apache.commons.math.analysis.solvers.SecantSolver() in 2.2 (to be removed in 3.0).
org.apache.commons.math.analysis.solvers.SecantSolver(UnivariateRealFunction) as of 2.0 the function to solve is passed as an argument to the `SecantSolver.solve(UnivariateRealFunction, double, double)` or `UnivariateRealSolver.solve(UnivariateRealFunction, double, double, double)` method.
org.apache.commons.math.stat.regression.SimpleRegression(TDistribution) in 2.2 (to be removed in 3.0). Please use the `other constructor` instead.
org.apache.commons.math.analysis.integration.SimpsonIntegrator(UnivariateRealFunction) as of 2.0 the integrand function is passed as an argument to the `SimpsonIntegrator.integrate(UnivariateRealFunction, double, double)`method.
org.apache.commons.math.analysis.integration.TrapezoidIntegrator(UnivariateRealFunction) as of 2.0 the integrand function is passed as an argument to the `TrapezoidIntegrator.integrate(UnivariateRealFunction, double, double)`method.
org.apache.commons.math.stat.inference.TTestImpl(TDistribution) in 2.2 (to be removed in 3.0).
org.apache.commons.math.analysis.integration.UnivariateRealIntegratorImpl(UnivariateRealFunction, int) as of 2.0 the integrand function is passed as an argument to the `UnivariateRealIntegrator.integrate(UnivariateRealFunction, double, double)`method.
org.apache.commons.math.analysis.solvers.UnivariateRealSolverImpl(UnivariateRealFunction, int, double) as of 2.0 the function to solve is passed as an argument to the `UnivariateRealSolver.solve(UnivariateRealFunction, double, double)` or `UnivariateRealSolver.solve(UnivariateRealFunction, double, double, double)` method.