## Deprecated API

Contents

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

Deprecated Interfaces
org.apache.commons.math.linear.BigMatrix as of 2.0, replaced by `FieldMatrix` with a `BigReal` parameter
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.distribution.HasDensity to be removed in math 3.0

Deprecated Classes
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.linear.BigMatrixImpl as of 2.0, replaced by `Array2DRowFieldMatrix` with a `BigReal` parameter
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.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.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
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

Deprecated Fields
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.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

Deprecated Methods
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.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.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.distribution.NormalDistributionImpl.density(Double)
org.apache.commons.math.distribution.GammaDistributionImpl.density(Double)
org.apache.commons.math.distribution.ExponentialDistributionImpl.density(Double) - use density(double)
org.apache.commons.math.distribution.ChiSquaredDistributionImpl.density(Double)
org.apache.commons.math.distribution.BetaDistributionImpl.density(Double)
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.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.util.ResizableDoubleArray.getValues() replaced by `ResizableDoubleArray.getInternalValues()` as of 2.0
org.apache.commons.math.analysis.integration.LegendreGaussIntegrator.integrate(double, double)
org.apache.commons.math.analysis.integration.TrapezoidIntegrator.integrate(double, double)
org.apache.commons.math.analysis.integration.SimpsonIntegrator.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.distribution.GammaDistributionImpl.setAlpha(double) as of 2.1 (class will become immutable in 3.0)
org.apache.commons.math.distribution.BetaDistributionImpl.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.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.BetaDistributionImpl.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.BetaDistribution.setBeta(double) as of 2.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.ChiSquaredDistributionImpl.setDegreesOfFreedom(double) as of 2.1 (class will become immutable in 3.0)
org.apache.commons.math.distribution.TDistribution.setDegreesOfFreedom(double) as of v2.1
org.apache.commons.math.distribution.ChiSquaredDistribution.setDegreesOfFreedom(double) as of v2.1
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.distribution.ZipfDistributionImpl.setExponent(double) as of 2.1 (class will become immutable in 3.0)
org.apache.commons.math.distribution.ZipfDistribution.setExponent(double) as of v2.1
org.apache.commons.math.distribution.ChiSquaredDistributionImpl.setGamma(GammaDistribution) as of 2.1 (class will become immutable in 3.0)
org.apache.commons.math.distribution.NormalDistributionImpl.setMean(double) as of 2.1 (class will become immutable in 3.0)
org.apache.commons.math.distribution.ExponentialDistributionImpl.setMean(double) 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.NormalDistribution.setMean(double) as of v2.1
org.apache.commons.math.distribution.ExponentialDistribution.setMean(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.CauchyDistribution.setMedian(double) as of v2.1
org.apache.commons.math.distribution.PoissonDistributionImpl.setNormal(NormalDistribution) as of 2.1 (class will become immutable in 3.0)
org.apache.commons.math.distribution.ZipfDistributionImpl.setNumberOfElements(int) 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.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.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.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.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.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.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.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.CauchyDistributionImpl.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.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.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.BisectionSolver.solve(double, double)
org.apache.commons.math.analysis.solvers.SecantSolver.solve(double, double)
org.apache.commons.math.analysis.solvers.RiddersSolver.solve(double, double)
org.apache.commons.math.analysis.solvers.NewtonSolver.solve(double, double)
org.apache.commons.math.analysis.solvers.MullerSolver.solve(double, double)
org.apache.commons.math.analysis.solvers.LaguerreSolver.solve(double, double)
org.apache.commons.math.analysis.solvers.BrentSolver.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, double)
org.apache.commons.math.analysis.solvers.SecantSolver.solve(double, double, double)
org.apache.commons.math.analysis.solvers.RiddersSolver.solve(double, double, double)
org.apache.commons.math.analysis.solvers.NewtonSolver.solve(double, double, double)
org.apache.commons.math.analysis.solvers.MullerSolver.solve(double, double, double)
org.apache.commons.math.analysis.solvers.LaguerreSolver.solve(double, double, double)
org.apache.commons.math.analysis.solvers.BrentSolver.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.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.solve2(double, double) replaced by `MullerSolver.solve2(UnivariateRealFunction, double, double)` since 2.0

Deprecated Constructors
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(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.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.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(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.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(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(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.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.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.

Copyright (c) 2003-2010 Apache Software Foundation