# Deprecated API

## Contents

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

- Deprecated Packages
  Package and Description
  org.apache.commons.math3.optim.nonlinear.vector All classes and interfaces in this package are deprecated. The optimizers that were provided here were moved to the `org.apache.commons.math3.fitting.leastsquares` package (cf. MATH-1008).
  org.apache.commons.math3.optim.nonlinear.vector.jacobian All classes and interfaces in this package are deprecated. The optimizers that were provided here were moved to the `org.apache.commons.math3.fitting.leastsquares` package (cf. MATH-1008).

- 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.stat.clustering.Clusterable As of 3.2 (to be removed in 4.0), use `Clusterable` instead
  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.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.optim.nonlinear.vector.jacobian.AbstractLeastSquaresOptimizer All classes and interfaces in this package are deprecated. The optimizers that were provided here were moved to the `org.apache.commons.math3.fitting.leastsquares` package (cf. MATH-1008).
  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.stat.clustering.Cluster As of 3.2 (to be removed in 4.0), use `Cluster` instead
  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.fitting.CurveFitter As of 3.3. Please use `AbstractCurveFitter` and `WeightedObservedPoints` instead.
  org.apache.commons.math3.stat.clustering.DBSCANClusterer As of 3.2 (to be removed in 4.0), use `DBSCANClusterer` instead
  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.stat.clustering.EuclideanDoublePoint As of 3.2 (to be removed in 4.0), use `DoublePoint` instead
  org.apache.commons.math3.stat.clustering.EuclideanIntegerPoint As of 3.2 (to be removed in 4.0), use `DoublePoint` instead
  org.apache.commons.math3.optimization.fitting.GaussianFitter As of 3.1 (to be removed in 4.0).
  org.apache.commons.math3.fitting.GaussianFitter As of 3.3. Please use `GaussianCurveFitter` and `WeightedObservedPoints` instead.
  org.apache.commons.math3.optimization.general.GaussNewtonOptimizer As of 3.1 (to be removed in 4.0).
  org.apache.commons.math3.optim.nonlinear.vector.jacobian.GaussNewtonOptimizer All classes and interfaces in this package are deprecated. The optimizers that were provided here were moved to the `org.apache.commons.math3.fitting.leastsquares` package (cf. MATH-1008).
  org.apache.commons.math3.optimization.fitting.HarmonicFitter As of 3.1 (to be removed in 4.0).
  org.apache.commons.math3.fitting.HarmonicFitter As of 3.3. Please use `HarmonicCurveFitter` and `WeightedObservedPoints` instead.
  org.apache.commons.math3.optimization.InitialGuess As of 3.1 (to be removed in 4.0).
  org.apache.commons.math3.optim.nonlinear.vector.JacobianMultivariateVectorOptimizer All classes and interfaces in this package are deprecated. The optimizers that were provided here were moved to the `org.apache.commons.math3.fitting.leastsquares` package (cf. MATH-1008).
  org.apache.commons.math3.stat.clustering.KMeansPlusPlusClusterer As of 3.2 (to be removed in 4.0), use `KMeansPlusPlusClusterer` instead
  org.apache.commons.math3.distribution.KolmogorovSmirnovDistribution to be removed in version 4.0 - use `KolmogorovSmirnovTest`
  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.optim.nonlinear.vector.jacobian.LevenbergMarquardtOptimizer All classes and interfaces in this package are deprecated. The optimizers that were provided here were moved to the `org.apache.commons.math3.fitting.leastsquares` package (cf. MATH-1008).
  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.optim.nonlinear.vector.ModelFunction All classes and interfaces in this package are deprecated. The optimizers that were provided here were moved to the `org.apache.commons.math3.fitting.leastsquares` package (cf. MATH-1008).
  org.apache.commons.math3.optim.nonlinear.vector.ModelFunctionJacobian All classes and interfaces in this package are deprecated. The optimizers that were provided here were moved to the `org.apache.commons.math3.fitting.leastsquares` package (cf. MATH-1008).
  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.optim.nonlinear.scalar.gradient.NonLinearConjugateGradientOptimizer.BracketingStep As of v3.3, this class is not used anymore. This setting is replaced by the `initialBracketingRange` argument to the new constructors.
  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.fitting.PolynomialFitter As of 3.3. Please use `PolynomialCurveFitter` and `WeightedObservedPoints` instead.
  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.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.Target As of 3.1 (to be removed in 4.0).
  org.apache.commons.math3.optim.nonlinear.vector.Target All classes and interfaces in this package are deprecated. The optimizers that were provided here were moved to the `org.apache.commons.math3.fitting.leastsquares` package (cf. MATH-1008).
  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.optim.nonlinear.vector.Weight All classes and interfaces in this package are deprecated. The optimizers that were provided here were moved to the `org.apache.commons.math3.fitting.leastsquares` package (cf. MATH-1008).
  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.distribution.UniformRealDistribution.DEFAULT_INVERSE_ABSOLUTE_ACCURACY as of 3.2 not used anymore, will be removed in 4.0
  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.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.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.ArithmeticUtils.binomialCoefficient(int, int) use `CombinatoricsUtils.binomialCoefficient(int, int)`
  org.apache.commons.math3.util.ArithmeticUtils.binomialCoefficientDouble(int, int) use `CombinatoricsUtils.binomialCoefficientDouble(int, int)`
  org.apache.commons.math3.util.ArithmeticUtils.binomialCoefficientLog(int, int) use `CombinatoricsUtils.binomialCoefficientLog(int, int)`
  org.apache.commons.math3.linear.AbstractFieldMatrix.buildArray(Field, int) as of 3.2, replaced by `MathArrays.buildArray(Field, int)`
  org.apache.commons.math3.linear.AbstractFieldMatrix.buildArray(Field, int, int) as of 3.2, replaced by `MathArrays.buildArray(Field, int, int)`
  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.LogNormalDistribution.cumulativeProbability(double, double) See `RealDistribution.cumulativeProbability(double,double)`
  org.apache.commons.math3.distribution.ParetoDistribution.cumulativeProbability(double, double) See `RealDistribution.cumulativeProbability(double,double)`
  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.distribution.NormalDistribution.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.analysis.function.Minus.derivative() as of 3.1, replaced by `Minus.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.Asin.derivative() as of 3.1, replaced by `Asin.value(DerivativeStructure)`
  org.apache.commons.math3.analysis.function.Log.derivative() as of 3.1, replaced by `Log.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.Atanh.derivative() as of 3.1, replaced by `Atanh.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.Atan.derivative() as of 3.1, replaced by `Atan.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.Log1p.derivative() as of 3.1, replaced by `Log1p.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.Acosh.derivative() as of 3.1, replaced by `Acosh.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.Tanh.derivative() as of 3.1, replaced by `Tanh.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.Asinh.derivative() as of 3.1, replaced by `Asinh.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.Sigmoid.derivative() as of 3.1, replaced by `Sigmoid.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.Log10.derivative() as of 3.1, replaced by `Log10.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.HarmonicOscillator.derivative() as of 3.1, replaced by `HarmonicOscillator.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.Logistic.derivative() as of 3.1, replaced by `Logistic.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.Inverse.derivative() as of 3.1, replaced by `Inverse.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.Identity.derivative() as of 3.1, replaced by `Identity.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.Expm1.derivative() as of 3.1, replaced by `Expm1.value(DerivativeStructure)`
  org.apache.commons.math3.geometry.euclidean.oned.Vector1D.distance(Vector) as of 3.3, replaced with `Vector1D.distance(Point)`
  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.util.ArithmeticUtils.factorial(int) use `CombinatoricsUtils.factorial(int)`
  org.apache.commons.math3.util.ArithmeticUtils.factorialDouble(int) use `CombinatoricsUtils.factorialDouble(int)`
  org.apache.commons.math3.util.ArithmeticUtils.factorialLog(int) use `CombinatoricsUtils.factorialLog(int)`
  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.geometry.partitioning.BSPTree.getCell(Vector) as of 3.3, replaced with `BSPTree.getCell(Point, double)`
  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.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.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.dfp.Dfp.log10() as of 3.2, replaced by `Dfp.intLog10()`, in 4.0 the return type will be changed to Dfp
  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(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.util.ArithmeticUtils.pow(int, long) As of 3.3. Please use `ArithmeticUtils.pow(int,int)` instead.
  org.apache.commons.math3.util.ArithmeticUtils.pow(long, long) As of 3.3. Please use `ArithmeticUtils.pow(long,int)` instead.
  org.apache.commons.math3.genetics.ListPopulation.setChromosomes(List) 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.util.ResizableDoubleArray.start() As of 3.1.
  org.apache.commons.math3.util.ArithmeticUtils.stirlingS2(int, int) use `CombinatoricsUtils.stirlingS2(int, int)`
  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.linear.ArrayFieldVector(ArrayFieldVector, ArrayFieldVector) as of 3.2, replaced by `ArrayFieldVector.ArrayFieldVector(FieldVector, FieldVector)`
  org.apache.commons.math3.linear.ArrayFieldVector(ArrayFieldVector, T[]) as of 3.2, replaced by `ArrayFieldVector.ArrayFieldVector(FieldVector, FieldElement[])`
  org.apache.commons.math3.linear.ArrayFieldVector(T[], ArrayFieldVector) as of 3.2, replaced by `ArrayFieldVector.ArrayFieldVector(FieldElement[], FieldVector)`
  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) 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.geometry.euclidean.oned.IntervalsSet() as of 3.1 replaced with `IntervalsSet.IntervalsSet(double)`
  org.apache.commons.math3.geometry.euclidean.oned.IntervalsSet(BSPTree) as of 3.3, replaced with `IntervalsSet.IntervalsSet(BSPTree, double)`
  org.apache.commons.math3.geometry.euclidean.oned.IntervalsSet(Collection>) as of 3.3, replaced with `IntervalsSet.IntervalsSet(Collection, double)`
  org.apache.commons.math3.geometry.euclidean.oned.IntervalsSet(double, double) as of 3.3 replaced with `IntervalsSet.IntervalsSet(double, double, double)`
  org.apache.commons.math3.geometry.euclidean.twod.Line(Vector2D, double) as of 3.3, replaced with `Line.Line(Vector2D, double, double)`
  org.apache.commons.math3.geometry.euclidean.twod.Line(Vector2D, Vector2D) as of 3.3, replaced with `Line.Line(Vector2D, Vector2D, double)`
  org.apache.commons.math3.geometry.euclidean.threed.Line(Vector3D, Vector3D) as of 3.3, replaced with `Line.Line(Vector3D, Vector3D, double)`
  org.apache.commons.math3.optimization.general.NonLinearConjugateGradientOptimizer(ConjugateGradientFormula) See `SimpleValueChecker.SimpleValueChecker()`
  org.apache.commons.math3.optim.nonlinear.scalar.gradient.NonLinearConjugateGradientOptimizer(NonLinearConjugateGradientOptimizer.Formula, ConvergenceChecker, UnivariateSolver) as of 3.3. Please use `NonLinearConjugateGradientOptimizer.NonLinearConjugateGradientOptimizer(Formula,ConvergenceChecker,double,double,double)` instead.
  org.apache.commons.math3.optim.nonlinear.scalar.gradient.NonLinearConjugateGradientOptimizer(NonLinearConjugateGradientOptimizer.Formula, ConvergenceChecker, UnivariateSolver, Preconditioner) as of 3.3. Please use `NonLinearConjugateGradientOptimizer.NonLinearConjugateGradientOptimizer(Formula,ConvergenceChecker,double,double,double,Preconditioner)` instead.
  org.apache.commons.math3.geometry.euclidean.oned.OrientedPoint(Vector1D, boolean) as of 3.3, replaced with `OrientedPoint.OrientedPoint(Vector1D, boolean, double)`
  org.apache.commons.math3.geometry.euclidean.threed.Plane(Vector3D) as of 3.3, replaced with `Plane.Plane(Vector3D, double)`
  org.apache.commons.math3.geometry.euclidean.threed.Plane(Vector3D, Vector3D) as of 3.3, replaced with `Plane.Plane(Vector3D, Vector3D, double)`
  org.apache.commons.math3.geometry.euclidean.threed.Plane(Vector3D, Vector3D, Vector3D) as of 3.3, replaced with `Plane.Plane(Vector3D, Vector3D, Vector3D, double)`
  org.apache.commons.math3.geometry.euclidean.twod.PolygonsSet() as of 3.3, replaced with `PolygonsSet.PolygonsSet(double)`
  org.apache.commons.math3.geometry.euclidean.twod.PolygonsSet(BSPTree) as of 3.3, replaced with `PolygonsSet.PolygonsSet(BSPTree, double)`
  org.apache.commons.math3.geometry.euclidean.twod.PolygonsSet(Collection>) as of 3.3, replaced with `PolygonsSet.PolygonsSet(Collection, double)`
  org.apache.commons.math3.geometry.euclidean.twod.PolygonsSet(double, double, double, double) as of 3.3, replaced with `PolygonsSet.PolygonsSet(double, double, double, double, double)`
  org.apache.commons.math3.geometry.euclidean.threed.PolyhedronsSet() as of 3.3, replaced with `PolyhedronsSet.PolyhedronsSet(double)`
  org.apache.commons.math3.geometry.euclidean.threed.PolyhedronsSet(BSPTree) as of 3.3, replaced with `PolyhedronsSet.PolyhedronsSet(BSPTree, double)`
  org.apache.commons.math3.geometry.euclidean.threed.PolyhedronsSet(Collection>) as of 3.3, replaced with `PolyhedronsSet.PolyhedronsSet(Collection, double)`
  org.apache.commons.math3.geometry.euclidean.threed.PolyhedronsSet(double, double, double, double, double, double) as of 3.3, replaced with `PolyhedronsSet.PolyhedronsSet(double, double, double, double, double, double, double)`
  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.geometry.euclidean.twod.SubLine(Vector2D, Vector2D) as of 3.3, replaced with `SubLine.SubLine(Vector2D, Vector2D, double)`
  org.apache.commons.math3.geometry.euclidean.threed.SubLine(Vector3D, Vector3D) as of 3.3, replaced with `SubLine.SubLine(Vector3D, Vector3D, double)`
  org.apache.commons.math3.distribution.UniformRealDistribution(double, double, double) as of 3.2, inverse CDF is now calculated analytically, use `UniformRealDistribution.UniformRealDistribution(double, double)` instead.
  org.apache.commons.math3.distribution.UniformRealDistribution(RandomGenerator, double, double, double) as of 3.2, inverse CDF is now calculated analytically, use `UniformRealDistribution.UniformRealDistribution(RandomGenerator, double, double)` instead.
  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

Copyright © 2003–2014 The Apache Software Foundation. All rights reserved.