# Deprecated API

## Contents

- Deprecated Interfaces
- Deprecated Classes
- Deprecated Enums
- Deprecated Exceptions
- Deprecated Fields
- Deprecated Methods
- Deprecated Constructors
- Deprecated Enum Constants

Deprecated Interfaces
Interface and Description
org.apache.commons.math3.optimization.BaseMultivariateOptimizer As of 3.1 (to be removed in 4.0).
org.apache.commons.math3.optimization.BaseMultivariateSimpleBoundsOptimizer As of 3.1 (to be removed in 4.0).
org.apache.commons.math3.optimization.BaseMultivariateVectorOptimizer As of 3.1 (to be removed in 4.0).
org.apache.commons.math3.optimization.BaseOptimizer As of 3.1 (to be removed in 4.0).
org.apache.commons.math3.optimization.univariate.BaseUnivariateOptimizer As of 3.1 (to be removed in 4.0).
org.apache.commons.math3.optimization.ConvergenceChecker As of 3.1 (to be removed in 4.0).
org.apache.commons.math3.analysis.DifferentiableMultivariateFunction as of 3.1 replaced by `MultivariateDifferentiableFunction`
org.apache.commons.math3.optimization.DifferentiableMultivariateOptimizer As of 3.1 (to be removed in 4.0).
org.apache.commons.math3.analysis.DifferentiableMultivariateVectorFunction as of 3.1 replaced by `MultivariateDifferentiableVectorFunction`
org.apache.commons.math3.optimization.DifferentiableMultivariateVectorOptimizer As of 3.1 (to be removed in 4.0).
org.apache.commons.math3.analysis.DifferentiableUnivariateFunction as of 3.1 replaced by `UnivariateDifferentiableFunction`
org.apache.commons.math3.analysis.DifferentiableUnivariateMatrixFunction as of 3.1 replaced by `UnivariateDifferentiableMatrixFunction`
org.apache.commons.math3.analysis.solvers.DifferentiableUnivariateSolver as of 3.1, replaced by `UnivariateDifferentiableSolver`
org.apache.commons.math3.analysis.DifferentiableUnivariateVectorFunction as of 3.1 replaced by `UnivariateDifferentiableVectorFunction`
org.apache.commons.math3.optimization.linear.LinearOptimizer As of 3.1 (to be removed in 4.0).
org.apache.commons.math3.optimization.MultivariateDifferentiableOptimizer As of 3.1 (to be removed in 4.0).
org.apache.commons.math3.optimization.MultivariateDifferentiableVectorOptimizer As of 3.1 (to be removed in 4.0).
org.apache.commons.math3.optimization.MultivariateOptimizer As of 3.1 (to be removed in 4.0).
org.apache.commons.math3.optimization.OptimizationData As of 3.1 (to be removed in 4.0).
org.apache.commons.math3.optimization.general.Preconditioner As of 3.1 (to be removed in 4.0).
org.apache.commons.math3.random.RandomData to be removed in 4.0. Use `RandomDataGenerator` directly
org.apache.commons.math3.linear.SparseRealMatrix As of version 3.1, this class is deprecated, for reasons exposed in this JIRA ticket. This class will be removed in version 4.0.
org.apache.commons.math3.optimization.univariate.UnivariateOptimizer As of 3.1 (to be removed in 4.0).

Deprecated Classes
Class and Description
org.apache.commons.math3.optimization.AbstractConvergenceChecker As of 3.1 (to be removed in 4.0).
org.apache.commons.math3.optimization.general.AbstractDifferentiableOptimizer As of 3.1 (to be removed in 4.0).
org.apache.commons.math3.analysis.solvers.AbstractDifferentiableUnivariateSolver as of 3.1, replaced by `AbstractUnivariateDifferentiableSolver`
org.apache.commons.math3.optimization.general.AbstractLeastSquaresOptimizer As of 3.1 (to be removed in 4.0).
org.apache.commons.math3.optimization.linear.AbstractLinearOptimizer As of 3.1 (to be removed in 4.0).
org.apache.commons.math3.optimization.general.AbstractScalarDifferentiableOptimizer As of 3.1 (to be removed in 4.0).
org.apache.commons.math3.optimization.direct.AbstractSimplex As of 3.1 (to be removed in 4.0).
org.apache.commons.math3.optimization.direct.BaseAbstractMultivariateOptimizer As of 3.1 (to be removed in 4.0).
org.apache.commons.math3.optimization.direct.BaseAbstractMultivariateSimpleBoundsOptimizer As of 3.1 (to be removed in 4.0).
org.apache.commons.math3.optimization.direct.BaseAbstractMultivariateVectorOptimizer As of 3.1 (to be removed in 4.0).
org.apache.commons.math3.optimization.univariate.BaseAbstractUnivariateOptimizer As of 3.1 (to be removed in 4.0).
org.apache.commons.math3.optimization.BaseMultivariateMultiStartOptimizer As of 3.1 (to be removed in 4.0).
org.apache.commons.math3.optimization.BaseMultivariateVectorMultiStartOptimizer As of 3.1 (to be removed in 4.0).
org.apache.commons.math3.optimization.direct.BOBYQAOptimizer As of 3.1 (to be removed in 4.0).
org.apache.commons.math3.optimization.univariate.BracketFinder As of 3.1 (to be removed in 4.0).
org.apache.commons.math3.optimization.univariate.BrentOptimizer As of 3.1 (to be removed in 4.0).
org.apache.commons.math3.optimization.direct.CMAESOptimizer As of 3.1 (to be removed in 4.0).
org.apache.commons.math3.optimization.fitting.CurveFitter As of 3.1 (to be removed in 4.0).
org.apache.commons.math3.optimization.fitting.CurveFitter.OldTheoreticalValuesFunction
org.apache.commons.math3.optimization.DifferentiableMultivariateMultiStartOptimizer As of 3.1 (to be removed in 4.0).
org.apache.commons.math3.optimization.DifferentiableMultivariateVectorMultiStartOptimizer As of 3.1 (to be removed in 4.0).
org.apache.commons.math3.transform.FastFourierTransformer.MultiDimensionalComplexMatrix see MATH-736
org.apache.commons.math3.optimization.fitting.GaussianFitter As of 3.1 (to be removed in 4.0).
org.apache.commons.math3.optimization.general.GaussNewtonOptimizer As of 3.1 (to be removed in 4.0).
org.apache.commons.math3.optimization.fitting.HarmonicFitter As of 3.1 (to be removed in 4.0).
org.apache.commons.math3.optimization.InitialGuess As of 3.1 (to be removed in 4.0).
org.apache.commons.math3.optimization.LeastSquaresConverter As of 3.1 (to be removed in 4.0).
org.apache.commons.math3.analysis.integration.LegendreGaussIntegrator As of 3.1 (to be removed in 4.0). Please use `IterativeLegendreGaussIntegrator` instead.
org.apache.commons.math3.optimization.general.LevenbergMarquardtOptimizer As of 3.1 (to be removed in 4.0).
org.apache.commons.math3.optimization.linear.LinearConstraint As of 3.1 (to be removed in 4.0).
org.apache.commons.math3.optimization.linear.LinearObjectiveFunction As of 3.1 (to be removed in 4.0).
org.apache.commons.math3.optimization.direct.MultiDirectionalSimplex As of 3.1 (to be removed in 4.0).
org.apache.commons.math3.optimization.MultivariateDifferentiableMultiStartOptimizer As of 3.1 (to be removed in 4.0).
org.apache.commons.math3.optimization.MultivariateDifferentiableVectorMultiStartOptimizer As of 3.1 (to be removed in 4.0).
org.apache.commons.math3.optimization.direct.MultivariateFunctionMappingAdapter As of 3.1 (to be removed in 4.0).
org.apache.commons.math3.optimization.direct.MultivariateFunctionPenaltyAdapter As of 3.1 (to be removed in 4.0).
org.apache.commons.math3.optimization.MultivariateMultiStartOptimizer As of 3.1 (to be removed in 4.0).
org.apache.commons.math3.optimization.direct.NelderMeadSimplex As of 3.1 (to be removed in 4.0).
org.apache.commons.math3.analysis.solvers.NewtonSolver as of 3.1, replaced by `NewtonRaphsonSolver`
org.apache.commons.math3.optimization.general.NonLinearConjugateGradientOptimizer As of 3.1 (to be removed in 4.0).
org.apache.commons.math3.linear.OpenMapRealMatrix As of version 3.1, this class is deprecated, for reasons exposed in this JIRA ticket. This class will be removed in version 4.0.
org.apache.commons.math3.linear.OpenMapRealVector As of version 3.1, this class is deprecated, for reasons exposed in this JIRA ticket. This class will be removed in version 4.0.
org.apache.commons.math3.optimization.PointValuePair As of 3.1 (to be removed in 4.0).
org.apache.commons.math3.optimization.PointVectorValuePair As of 3.1 (to be removed in 4.0).
org.apache.commons.math3.optimization.fitting.PolynomialFitter As of 3.1 (to be removed in 4.0).
org.apache.commons.math3.optimization.direct.PowellOptimizer As of 3.1 (to be removed in 4.0).
org.apache.commons.math3.random.RandomDataImpl to be removed in 4.0. Use `RandomDataGenerator` instead
org.apache.commons.math3.linear.RealVector.SparseEntryIterator As of 3.1, this class is deprecated, see JIRA MATH-875. This class will be completely removed in 4.0.
org.apache.commons.math3.optimization.SimpleBounds As of 3.1 (to be removed in 4.0).
org.apache.commons.math3.optimization.SimplePointChecker As of 3.1 (to be removed in 4.0).
org.apache.commons.math3.optimization.univariate.SimpleUnivariateValueChecker As of 3.1 (to be removed in 4.0).
org.apache.commons.math3.optimization.SimpleValueChecker As of 3.1 (to be removed in 4.0).
org.apache.commons.math3.optimization.SimpleVectorValueChecker As of 3.1 (to be removed in 4.0).
org.apache.commons.math3.optimization.direct.SimplexOptimizer As of 3.1 (to be removed in 4.0).
org.apache.commons.math3.optimization.linear.SimplexSolver As of 3.1 (to be removed in 4.0).
org.apache.commons.math3.optimization.linear.SimplexTableau As of 3.1 (to be removed in 4.0).
org.apache.commons.math3.linear.SparseFieldMatrix As of version 3.1, this class is deprecated, for reasons exposed in this JIRA ticket. This class will be removed in version 4.0.
org.apache.commons.math3.linear.SparseFieldVector As of version 3.1, this class is deprecated, for reasons exposed in this JIRA ticket. This class will be removed in version 4.0.
org.apache.commons.math3.linear.SparseRealVector As of version 3.1, this class is deprecated, for reasons exposed in this JIRA ticket. This class will be removed in version 4.0.
org.apache.commons.math3.optimization.Target As of 3.1 (to be removed in 4.0).
org.apache.commons.math3.optimization.univariate.UnivariateMultiStartOptimizer As of 3.1 (to be removed in 4.0).
org.apache.commons.math3.optimization.univariate.UnivariatePointValuePair As of 3.1 (to be removed in 4.0).
org.apache.commons.math3.optimization.Weight As of 3.1 (to be removed in 4.0).
org.apache.commons.math3.optimization.fitting.WeightedObservedPoint As of 3.1 (to be removed in 4.0).

Deprecated Enums
Enum and Description
org.apache.commons.math3.optimization.general.ConjugateGradientFormula As of 3.1 (to be removed in 4.0).
org.apache.commons.math3.optimization.GoalType As of 3.1 (to be removed in 4.0).
org.apache.commons.math3.optimization.linear.Relationship As of 3.1 (to be removed in 4.0).

Deprecated Exceptions
Exceptions and Description
org.apache.commons.math3.optimization.linear.NoFeasibleSolutionException As of 3.1 (to be removed in 4.0).
org.apache.commons.math3.optimization.linear.UnboundedSolutionException As of 3.1 (to be removed in 4.0).

Deprecated Fields
Field and Description
org.apache.commons.math3.util.ResizableDoubleArray.ADDITIVE_MODE As of 3.1. Please use `ResizableDoubleArray.ExpansionMode.ADDITIVE` instead.
org.apache.commons.math3.optimization.general.AbstractLeastSquaresOptimizer.cols As of 3.1.
org.apache.commons.math3.optimization.general.AbstractLeastSquaresOptimizer.cost As of 3.1. Field to become "private" in 4.0. Please use `AbstractLeastSquaresOptimizer.setCost(double)`.
org.apache.commons.math3.optimization.AbstractConvergenceChecker.DEFAULT_ABSOLUTE_THRESHOLD in 3.1 (to be removed in 4.0) because this value is too small to be useful as a default (cf. MATH-798).
org.apache.commons.math3.optimization.AbstractConvergenceChecker.DEFAULT_RELATIVE_THRESHOLD in 3.1 (to be removed in 4.0) because this value is too small to be useful as a default (cf. MATH-798).
org.apache.commons.math3.optimization.general.AbstractLeastSquaresOptimizer.DEFAULT_SINGULARITY_THRESHOLD As of 3.1.
org.apache.commons.math3.optimization.fitting.PolynomialFitter.degree
org.apache.commons.math3.util.ResizableDoubleArray.MULTIPLICATIVE_MODE As of 3.1. Please use `ResizableDoubleArray.ExpansionMode.MULTIPLICATIVE` instead.
org.apache.commons.math3.optimization.general.AbstractLeastSquaresOptimizer.objective As of 3.1.
org.apache.commons.math3.optimization.fitting.CurveFitter.oldOptimizer as of 3.1 replaced by `CurveFitter.optimizer`
org.apache.commons.math3.optimization.general.AbstractLeastSquaresOptimizer.point As of 3.1.
org.apache.commons.math3.distribution.AbstractIntegerDistribution.randomData As of 3.1, to be removed in 4.0. Please use the `AbstractIntegerDistribution.random` instance variable instead.
org.apache.commons.math3.distribution.AbstractRealDistribution.randomData As of 3.1, to be removed in 4.0. Please use the `AbstractRealDistribution.random` instance variable instead.
org.apache.commons.math3.optimization.general.AbstractLeastSquaresOptimizer.rows As of 3.1.
org.apache.commons.math3.optimization.direct.BaseAbstractMultivariateVectorOptimizer.weight
org.apache.commons.math3.optimization.general.AbstractLeastSquaresOptimizer.weightedResidualJacobian As of 3.1. To be removed in 4.0. Please use `AbstractLeastSquaresOptimizer.computeWeightedJacobian(double[])` instead.
org.apache.commons.math3.optimization.general.AbstractLeastSquaresOptimizer.weightedResiduals As of 3.1.

Deprecated Methods
Method and Description
org.apache.commons.math3.analysis.FunctionUtils.add(DifferentiableUnivariateFunction...) as of 3.1 replaced by `FunctionUtils.add(UnivariateDifferentiableFunction...)`
org.apache.commons.math3.util.ResizableDoubleArray.checkContractExpand(float, float) As of 3.1. Please use `ResizableDoubleArray.checkContractExpand(double,double)` instead.
org.apache.commons.math3.analysis.FunctionUtils.compose(DifferentiableUnivariateFunction...) as of 3.1 replaced by `FunctionUtils.compose(UnivariateDifferentiableFunction...)`
org.apache.commons.math3.distribution.NormalDistribution.cumulativeProbability(double, double) See `RealDistribution.cumulativeProbability(double,double)`
org.apache.commons.math3.distribution.LogNormalDistribution.cumulativeProbability(double, double) See `RealDistribution.cumulativeProbability(double,double)`
org.apache.commons.math3.distribution.AbstractRealDistribution.cumulativeProbability(double, double) As of 3.1 (to be removed in 4.0). Please use `AbstractRealDistribution.probability(double,double)` instead.
org.apache.commons.math3.distribution.RealDistribution.cumulativeProbability(double, double) As of 3.1. In 4.0, this method will be renamed `probability(double x0, double x1)`.
org.apache.commons.math3.analysis.function.Log10.derivative() as of 3.1, replaced by `Log10.value(DerivativeStructure)`
org.apache.commons.math3.analysis.function.Asin.derivative() as of 3.1, replaced by `Asin.value(DerivativeStructure)`
org.apache.commons.math3.analysis.function.Logistic.derivative() as of 3.1, replaced by `Logistic.value(DerivativeStructure)`
org.apache.commons.math3.analysis.function.Gaussian.derivative() as of 3.1, replaced by `Gaussian.value(DerivativeStructure)`
org.apache.commons.math3.analysis.function.Sigmoid.derivative() as of 3.1, replaced by `Sigmoid.value(DerivativeStructure)`
org.apache.commons.math3.analysis.function.Atan.derivative() as of 3.1, replaced by `Atan.value(DerivativeStructure)`
org.apache.commons.math3.analysis.function.Sinh.derivative() as of 3.1, replaced by `Sinh.value(DerivativeStructure)`
org.apache.commons.math3.analysis.function.Asinh.derivative() as of 3.1, replaced by `Asinh.value(DerivativeStructure)`
org.apache.commons.math3.analysis.function.Cos.derivative() as of 3.1, replaced by `Cos.value(DerivativeStructure)`
org.apache.commons.math3.analysis.function.Cbrt.derivative() as of 3.1, replaced by `Cbrt.value(DerivativeStructure)`
org.apache.commons.math3.analysis.function.Constant.derivative() as of 3.1, replaced by `Constant.value(DerivativeStructure)`
org.apache.commons.math3.analysis.function.Logit.derivative() as of 3.1, replaced by `Logit.value(DerivativeStructure)`
org.apache.commons.math3.analysis.function.Atanh.derivative() as of 3.1, replaced by `Atanh.value(DerivativeStructure)`
org.apache.commons.math3.analysis.function.Tanh.derivative() as of 3.1, replaced by `Tanh.value(DerivativeStructure)`
org.apache.commons.math3.analysis.function.Acosh.derivative() as of 3.1, replaced by `Acosh.value(DerivativeStructure)`
org.apache.commons.math3.analysis.function.Cosh.derivative() as of 3.1, replaced by `Cosh.value(DerivativeStructure)`
org.apache.commons.math3.analysis.function.Power.derivative() as of 3.1, replaced by `Power.value(DerivativeStructure)`
org.apache.commons.math3.analysis.function.Sin.derivative() as of 3.1, replaced by `Sin.value(DerivativeStructure)`
org.apache.commons.math3.analysis.function.Identity.derivative() as of 3.1, replaced by `Identity.value(DerivativeStructure)`
org.apache.commons.math3.analysis.function.Inverse.derivative() as of 3.1, replaced by `Inverse.value(DerivativeStructure)`
org.apache.commons.math3.analysis.function.Sinc.derivative() as of 3.1, replaced by `Sinc.value(DerivativeStructure)`
org.apache.commons.math3.analysis.function.Sqrt.derivative() as of 3.1, replaced by `Sqrt.value(DerivativeStructure)`
org.apache.commons.math3.analysis.function.Tan.derivative() as of 3.1, replaced by `Tan.value(DerivativeStructure)`
org.apache.commons.math3.analysis.function.HarmonicOscillator.derivative() as of 3.1, replaced by `HarmonicOscillator.value(DerivativeStructure)`
org.apache.commons.math3.analysis.function.Expm1.derivative() as of 3.1, replaced by `Expm1.value(DerivativeStructure)`
org.apache.commons.math3.analysis.function.Acos.derivative() as of 3.1, replaced by `Acos.value(DerivativeStructure)`
org.apache.commons.math3.analysis.function.Log1p.derivative() as of 3.1, replaced by `Log1p.value(DerivativeStructure)`
org.apache.commons.math3.analysis.function.Minus.derivative() as of 3.1, replaced by `Minus.value(DerivativeStructure)`
org.apache.commons.math3.analysis.function.Exp.derivative() as of 3.1, replaced by `Exp.value(DerivativeStructure)`
org.apache.commons.math3.analysis.function.Log.derivative() as of 3.1, replaced by `Log.value(DerivativeStructure)`
org.apache.commons.math3.linear.OpenMapRealVector.dotProduct(OpenMapRealVector) as of 3.1 (to be removed in 4.0). The computation is performed by the parent class. The method must be kept to maintain backwards compatibility.

org.apache.commons.math3.linear.RealVector.ebeDivide(RealVector)
As of version 3.1, this method is deprecated, and will be removed in version 4.0. This decision follows the discussion reported in MATH-803. Uses of this method involving sparse implementations of `RealVector` might lead to wrong results. Since there is no satisfactory correction to this bug, this method is deprecated. Users who want to preserve this feature are advised to implement `RealVectorPreservingVisitor` (possibly ignoring corner cases for the sake of efficiency).

org.apache.commons.math3.linear.RealVector.ebeMultiply(RealVector)
As of version 3.1, this method is deprecated, and will be removed in version 4.0. This decision follows the discussion reported in MATH-803. Uses of this method involving sparse implementations of `RealVector` might lead to wrong results. Since there is no satisfactory correction to this bug, this method is deprecated. Users who want to preserve this feature are advised to implement `RealVectorPreservingVisitor` (possibly ignoring corner cases for the sake of efficiency).

org.apache.commons.math3.optimization.fitting.PolynomialFitter.fit() Since 3.1 (to be removed in 4.0). Please use `PolynomialFitter.fit(double[])` instead.
org.apache.commons.math3.distribution.GammaDistribution.getAlpha() as of version 3.1, `GammaDistribution.getShape()` should be preferred. This method will be removed in version 4.0.
org.apache.commons.math3.distribution.GammaDistribution.getBeta() as of version 3.1, `GammaDistribution.getScale()` should be preferred. This method will be removed in version 4.0.
org.apache.commons.math3.util.ResizableDoubleArray.getContractionCriteria() As of 3.1. Please use `ResizableDoubleArray.getContractionCriterion()` instead.
org.apache.commons.math3.optimization.general.AbstractLeastSquaresOptimizer.getCovariances() As of 3.1. Please use `AbstractLeastSquaresOptimizer.computeCovariances(double[],double)` instead.
org.apache.commons.math3.optimization.general.AbstractLeastSquaresOptimizer.getCovariances(double) As of 3.1. Please use `AbstractLeastSquaresOptimizer.computeCovariances(double[],double)` instead.
org.apache.commons.math3.linear.SparseFieldVector.getData() as of 3.1, to be removed in 4.0. Please use the `SparseFieldVector.toArray()` method instead.
org.apache.commons.math3.linear.FieldVector.getData() as of 3.1, to be removed in 4.0. Please use the `FieldVector.toArray()` method instead.
org.apache.commons.math3.random.RandomDataImpl.getDelegate() To be removed in 4.0.
org.apache.commons.math3.util.ResizableDoubleArray.getExpansionFactor() As of 3.1. Return type will be changed to "double" in 4.0.
org.apache.commons.math3.util.ResizableDoubleArray.getExpansionMode() As of 3.1. Return value to be changed to `ResizableDoubleArray.ExpansionMode` in 4.0.
org.apache.commons.math3.util.ResizableDoubleArray.getInternalLength() As of 3.1. Please use `ResizableDoubleArray.getCapacity()` instead.
org.apache.commons.math3.util.ResizableDoubleArray.getInternalValues() As of 3.1.
org.apache.commons.math3.geometry.euclidean.oned.Interval.getLength() as of 3.1, replaced by `Interval.getSize()`
org.apache.commons.math3.geometry.euclidean.oned.Interval.getLower() as of 3.1, replaced by `Interval.getInf()`
org.apache.commons.math3.geometry.euclidean.oned.Interval.getMidPoint() as of 3.1, replaced by `Interval.getBarycenter()`
org.apache.commons.math3.optimization.direct.BaseAbstractMultivariateVectorOptimizer.getTargetRef() As of 3.1.
org.apache.commons.math3.geometry.euclidean.oned.Interval.getUpper() as of 3.1, replaced by `Interval.getSup()`
org.apache.commons.math3.optimization.direct.BaseAbstractMultivariateVectorOptimizer.getWeightRef() As of 3.1.
org.apache.commons.math3.optimization.general.AbstractLeastSquaresOptimizer.guessParametersErrors() as of version 3.1, `AbstractLeastSquaresOptimizer.computeSigma(double[],double)` should be used instead. It should be emphasized that `guessParametersErrors` and `computeSigma` are not strictly equivalent.
org.apache.commons.math3.distribution.RealDistribution.isSupportLowerBoundInclusive() to be removed in 4.0
org.apache.commons.math3.distribution.RealDistribution.isSupportUpperBoundInclusive() to be removed in 4.0
org.apache.commons.math3.analysis.solvers.LaguerreSolver.laguerre(double, double, double, double) This method should not be part of the public API: It will be made private in version 4.0.
org.apache.commons.math3.special.Beta.logBeta(double, double, double, int) as of version 3.1, this method is deprecated as the computation of the beta function is no longer iterative; it will be removed in version 4.0. Current implementation of this method internally calls `Beta.logBeta(double, double)`.
org.apache.commons.math3.transform.FastFourierTransformer.mdfft(FastFourierTransformer.MultiDimensionalComplexMatrix, TransformType, int, int[]) see MATH-736
org.apache.commons.math3.transform.FastFourierTransformer.mdfft(Object, TransformType) see MATH-736
org.apache.commons.math3.analysis.FunctionUtils.multiply(DifferentiableUnivariateFunction...) as of 3.1 replaced by `FunctionUtils.multiply(UnivariateDifferentiableFunction...)`
org.apache.commons.math3.random.RandomDataImpl.nextInversionDeviate(IntegerDistribution) use the distribution's sample() method
org.apache.commons.math3.random.RandomDataImpl.nextInversionDeviate(RealDistribution) use the distribution's sample() method
org.apache.commons.math3.optimization.general.AbstractLeastSquaresOptimizer.optimize(int, DifferentiableMultivariateVectorFunction, double[], double[], double[]) As of 3.1. Please use `optimize(int,MultivariateDifferentiableVectorFunction,OptimizationData...)` instead.
org.apache.commons.math3.optimization.BaseMultivariateVectorOptimizer.optimize(int, FUNC, double[], double[], double[]) As of 3.1. In 4.0, this will be replaced by the declaration corresponding to this `method`.
org.apache.commons.math3.optimization.direct.BaseAbstractMultivariateVectorOptimizer.optimize(int, FUNC, double[], double[], double[]) As of 3.1. Please use `BaseAbstractMultivariateVectorOptimizer.optimize(int,MultivariateVectorFunction,OptimizationData[])` instead.
org.apache.commons.math3.optimization.BaseMultivariateOptimizer.optimize(int, FUNC, GoalType, double[]) As of 3.1. In 4.0, it will be replaced by the declaration corresponding to this `method`.
org.apache.commons.math3.optimization.direct.BaseAbstractMultivariateOptimizer.optimize(int, FUNC, GoalType, double[]) As of 3.1. Please use `BaseAbstractMultivariateOptimizer.optimize(int,MultivariateFunction,GoalType,OptimizationData[])` instead.
org.apache.commons.math3.optimization.general.AbstractLeastSquaresOptimizer.optimize(int, MultivariateDifferentiableVectorFunction, double[], double[], double[]) As of 3.1. Please use `optimize(int,MultivariateDifferentiableVectorFunction,OptimizationData...)` instead.
org.apache.commons.math3.optimization.direct.BaseAbstractMultivariateVectorOptimizer.optimizeInternal(int, FUNC, double[], double[], double[]) As of 3.1. Please use `BaseAbstractMultivariateVectorOptimizer.optimizeInternal(int,MultivariateVectorFunction,OptimizationData[])` instead.
org.apache.commons.math3.optimization.direct.BaseAbstractMultivariateOptimizer.optimizeInternal(int, FUNC, GoalType, double[]) As of 3.1. Please use `BaseAbstractMultivariateOptimizer.optimize(int,MultivariateFunction,GoalType,OptimizationData[])` instead.
org.apache.commons.math3.optimization.general.AbstractDifferentiableOptimizer.optimizeInternal(int, MultivariateDifferentiableFunction, GoalType, double[]) In 3.1. Please use `AbstractDifferentiableOptimizer.optimizeInternal(int,MultivariateDifferentiableFunction,GoalType,OptimizationData[])` instead.
org.apache.commons.math3.optimization.general.AbstractLeastSquaresOptimizer.optimizeInternal(int, MultivariateDifferentiableVectorFunction, OptimizationData...) As of 3.1. Override is necessary only until this class's generic argument is changed to `MultivariateDifferentiableVectorFunction`.
org.apache.commons.math3.genetics.ListPopulation.setChromosomes(List<Chromosome>) use `ListPopulation.addChromosomes(Collection)` instead
org.apache.commons.math3.util.ResizableDoubleArray.setContractionCriteria(float) As of 3.1 (to be removed in 4.0 as field will become "final").
org.apache.commons.math3.util.ResizableDoubleArray.setExpansionFactor(float) As of 3.1 (to be removed in 4.0 as field will become "final").
org.apache.commons.math3.util.ResizableDoubleArray.setExpansionMode(int) As of 3.1. Please use `ResizableDoubleArray.setExpansionMode(ExpansionMode)` instead.
org.apache.commons.math3.util.ResizableDoubleArray.setExpansionMode(ResizableDoubleArray.ExpansionMode) As of 3.1 (to be removed in 4.0 as field will become "final").
org.apache.commons.math3.util.ResizableDoubleArray.setInitialCapacity(int) As of 3.1, this is a no-op.
org.apache.commons.math3.optimization.direct.SimplexOptimizer.setSimplex(AbstractSimplex) As of 3.1. The initial simplex can now be passed as an argument of the `BaseAbstractMultivariateOptimizer.optimize(int,MultivariateFunction,GoalType,OptimizationData[])` method.
org.apache.commons.math3.linear.RealVector.sparseIterator() As of 3.1, this method is deprecated, because its interface is too confusing (see JIRA MATH-875). This method will be completely removed in 4.0.
org.apache.commons.math3.util.ResizableDoubleArray.start() As of 3.1.
org.apache.commons.math3.analysis.FunctionUtils.toDifferentiableMultivariateFunction(MultivariateDifferentiableFunction) this conversion method is temporary in version 3.1, as the `DifferentiableMultivariateFunction` interface itself is deprecated
org.apache.commons.math3.analysis.FunctionUtils.toDifferentiableMultivariateVectorFunction(MultivariateDifferentiableVectorFunction) this conversion method is temporary in version 3.1, as the `DifferentiableMultivariateVectorFunction` interface itself is deprecated
org.apache.commons.math3.analysis.FunctionUtils.toDifferentiableUnivariateFunction(UnivariateDifferentiableFunction) this conversion method is temporary in version 3.1, as the `DifferentiableUnivariateFunction` interface itself is deprecated
org.apache.commons.math3.analysis.FunctionUtils.toMultivariateDifferentiableFunction(DifferentiableMultivariateFunction) this conversion method is temporary in version 3.1, as the `DifferentiableMultivariateFunction` interface itself is deprecated
org.apache.commons.math3.analysis.FunctionUtils.toMultivariateDifferentiableVectorFunction(DifferentiableMultivariateVectorFunction) this conversion method is temporary in version 3.1, as the `DifferentiableMultivariateFunction` interface itself is deprecated
org.apache.commons.math3.analysis.FunctionUtils.toUnivariateDifferential(DifferentiableUnivariateFunction) this conversion method is temporary in version 3.1, as the `DifferentiableUnivariateFunction` interface itself is deprecated
org.apache.commons.math3.optimization.general.AbstractLeastSquaresOptimizer.updateJacobian() As of 3.1. Please use `AbstractLeastSquaresOptimizer.computeWeightedJacobian(double[])` instead.
org.apache.commons.math3.optimization.general.AbstractLeastSquaresOptimizer.updateResidualsAndCost() As of 3.1. Please use `AbstractLeastSquaresOptimizer.computeResiduals(double[])`, `BaseAbstractMultivariateVectorOptimizer.computeObjectiveValue(double[])`, `AbstractLeastSquaresOptimizer.computeCost(double[])` and `AbstractLeastSquaresOptimizer.setCost(double)` instead.

Deprecated Constructors
Constructor and Description
org.apache.commons.math3.optimization.AbstractConvergenceChecker() in 3.1 (to be removed in 4.0). Convergence thresholds are problem-dependent. As this class is intended for users who want to set their own convergence criterion instead of relying on an algorithm's default procedure, they should also set the thresholds appropriately (cf. MATH-798).
org.apache.commons.math3.distribution.AbstractIntegerDistribution() As of 3.1, to be removed in 4.0. Please use `AbstractIntegerDistribution.AbstractIntegerDistribution(RandomGenerator)` instead.
org.apache.commons.math3.optimization.general.AbstractLeastSquaresOptimizer() See `SimpleValueChecker.SimpleValueChecker()`
org.apache.commons.math3.distribution.AbstractRealDistribution() As of 3.1, to be removed in 4.0. Please use `AbstractRealDistribution.AbstractRealDistribution(RandomGenerator)` instead.
org.apache.commons.math3.optimization.general.AbstractScalarDifferentiableOptimizer() See `SimpleValueChecker.SimpleValueChecker()`
org.apache.commons.math3.optimization.direct.BaseAbstractMultivariateOptimizer() See `SimpleValueChecker.SimpleValueChecker()`
org.apache.commons.math3.optimization.direct.BaseAbstractMultivariateSimpleBoundsOptimizer() See `SimpleValueChecker.SimpleValueChecker()`
org.apache.commons.math3.optimization.direct.BaseAbstractMultivariateVectorOptimizer() See `SimpleVectorValueChecker.SimpleVectorValueChecker()`
org.apache.commons.math3.optimization.direct.CMAESOptimizer() As of version 3.1: Parameter `lambda` must be passed with the call to `optimize` (whereas in the current code it is set to an undocumented value).
org.apache.commons.math3.optimization.direct.CMAESOptimizer(int) As of version 3.1: Parameter `lambda` must be passed with the call to `optimize` (whereas in the current code it is set to an undocumented value)..
org.apache.commons.math3.optimization.direct.CMAESOptimizer(int, double[]) As of version 3.1: Parameters `lambda` and `inputSigma` must be passed with the call to `optimize`.
org.apache.commons.math3.optimization.direct.CMAESOptimizer(int, double[], int, double, boolean, int, int, RandomGenerator, boolean) See `SimpleValueChecker.SimpleValueChecker()`
org.apache.commons.math3.optimization.direct.CMAESOptimizer(int, double[], int, double, boolean, int, int, RandomGenerator, boolean, ConvergenceChecker<PointValuePair>) As of version 3.1: Parameters `lambda` and `inputSigma` must be passed with the call to `optimize`.
org.apache.commons.math3.optimization.fitting.CurveFitter(DifferentiableMultivariateVectorOptimizer) as of 3.1 replaced by `CurveFitter.CurveFitter(MultivariateDifferentiableVectorOptimizer)`
org.apache.commons.math3.linear.EigenDecomposition(double[], double[], double) in 3.1 (to be removed in 4.0) due to unused parameter
org.apache.commons.math3.linear.EigenDecomposition(RealMatrix, double) in 3.1 (to be removed in 4.0) due to unused parameter
org.apache.commons.math3.random.EmpiricalDistribution(int, RandomDataImpl) As of 3.1. Please use `EmpiricalDistribution.EmpiricalDistribution(int,RandomGenerator)` instead.
org.apache.commons.math3.random.EmpiricalDistribution(RandomDataImpl) As of 3.1. Please use `EmpiricalDistribution.EmpiricalDistribution(RandomGenerator)` instead.
org.apache.commons.math3.optimization.general.GaussNewtonOptimizer() See `SimpleVectorValueChecker.SimpleVectorValueChecker()`
org.apache.commons.math3.optimization.general.GaussNewtonOptimizer(boolean) See `SimpleVectorValueChecker.SimpleVectorValueChecker()`
org.apache.commons.math3.optimization.general.NonLinearConjugateGradientOptimizer(ConjugateGradientFormula) See `SimpleValueChecker.SimpleValueChecker()`
org.apache.commons.math3.optimization.fitting.PolynomialFitter(int, DifferentiableMultivariateVectorOptimizer) Since 3.1 (to be removed in 4.0). Please use `PolynomialFitter.PolynomialFitter(DifferentiableMultivariateVectorOptimizer)` instead.
org.apache.commons.math3.util.ResizableDoubleArray(int, float) As of 3.1. Please use `ResizableDoubleArray.ResizableDoubleArray(int,double)` instead.
org.apache.commons.math3.util.ResizableDoubleArray(int, float, float) As of 3.1. Please use `ResizableDoubleArray.ResizableDoubleArray(int,double,double)` instead.
org.apache.commons.math3.util.ResizableDoubleArray(int, float, float, int) As of 3.1. Please use `ResizableDoubleArray.ResizableDoubleArray(int,double,double,ExpansionMode,double[])` instead.
org.apache.commons.math3.optimization.SimplePointChecker() See `AbstractConvergenceChecker.AbstractConvergenceChecker()`
org.apache.commons.math3.optimization.univariate.SimpleUnivariateValueChecker() See `AbstractConvergenceChecker.AbstractConvergenceChecker()`
org.apache.commons.math3.optimization.SimpleValueChecker() See `AbstractConvergenceChecker.AbstractConvergenceChecker()`
org.apache.commons.math3.optimization.SimpleVectorValueChecker() See `AbstractConvergenceChecker.AbstractConvergenceChecker()`
org.apache.commons.math3.optimization.direct.SimplexOptimizer() See `SimpleValueChecker.SimpleValueChecker()`
org.apache.commons.math3.random.ValueServer(RandomDataImpl) use `ValueServer.ValueServer(RandomGenerator)`

Deprecated Enum Constants
Enum Constant and Description
org.apache.commons.math3.exception.util.LocalizedFormats.INPUT_DATA_FROM_UNSUPPORTED_DATASOURCE