Deprecated API
Contents
-
Deprecated PackagesPackageDescriptionAll 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).All classes and interfaces in this package are deprecated. The optimizers that were provided here were moved to theorg.apache.commons.math3.fitting.leastsquares
package (cf. MATH-1008).
-
Deprecated InterfacesInterfaceDescriptionas of 3.1 replaced by
MultivariateDifferentiableFunction
as of 3.1 replaced byMultivariateDifferentiableVectorFunction
as of 3.1 replaced byUnivariateDifferentiableFunction
as of 3.1 replaced byUnivariateDifferentiableMatrixFunction
as of 3.1 replaced byUnivariateDifferentiableVectorFunction
as of 3.1, replaced byUnivariateDifferentiableSolver
as of 3.6, replaced withRealFieldUnivariateFunction
as of 3.6 this unused interface is deprecatedAs of 3.1 (to be removed in 4.0).As of 3.1 (to be removed in 4.0).As of 3.1 (to be removed in 4.0).As of 3.1 (to be removed in 4.0).As of 3.1 (to be removed in 4.0).As of 3.1 (to be removed in 4.0).As of 3.1 (to be removed in 4.0).As of 3.1 (to be removed in 4.0).As of 3.1 (to be removed in 4.0).As of 3.1 (to be removed in 4.0).As of 3.1 (to be removed in 4.0).As of 3.1 (to be removed in 4.0).As of 3.1 (to be removed in 4.0).As of 3.1 (to be removed in 4.0).As of 3.1 (to be removed in 4.0).to be removed in 4.0. UseRandomDataGenerator
directlyAs of 3.2 (to be removed in 4.0), useClusterable
instead
-
Deprecated ClassesClassDescriptionAs of 3.1 (to be removed in 4.0). Please use
IterativeLegendreGaussIntegrator
instead.as of 3.4 replaced byPiecewiseBicubicSplineInterpolatingFunction
as of 3.4 replaced byPiecewiseBicubicSplineInterpolator
Code will be removed in 4.0. UseInterpolatingMicrosphere
andMicrosphereProjectionInterpolator
instead.Code will be removed in 4.0. UseInterpolatingMicrosphere
andMicrosphereProjectionInterpolator
instead.To be removed in 4.0 (see MATH-1166).To be removed in 4.0 (see MATH-1166).To be removed in 4.0 (see MATH-1166).as of 3.1, replaced byAbstractUnivariateDifferentiableSolver
as of 3.1, replaced byNewtonRaphsonSolver
as of 3.6 replaced withFieldBracketingNthOrderBrentSolver
to be removed in version 4.0 - useKolmogorovSmirnovTest
As of 3.3. Please useAbstractCurveFitter
andWeightedObservedPoints
instead.As of 3.3. Please useGaussianCurveFitter
andWeightedObservedPoints
instead.As of 3.3. Please useHarmonicCurveFitter
andWeightedObservedPoints
instead.As of 3.3. Please usePolynomialCurveFitter
andWeightedObservedPoints
instead.as of 3.4, this class is not used anymore and considered to be out of scope of Apache Commons Mathas of 3.4, this class is not used anymore and considered to be out of scope of Apache Commons MathAs of v3.3, this class is not used anymore. This setting is replaced by theinitialBracketingRange
argument to the new constructors.All classes and interfaces in this package are deprecated. The optimizers that were provided here were moved to theorg.apache.commons.math3.fitting.leastsquares
package (cf. MATH-1008).All classes and interfaces in this package are deprecated. The optimizers that were provided here were moved to theorg.apache.commons.math3.fitting.leastsquares
package (cf. MATH-1008).All classes and interfaces in this package are deprecated. The optimizers that were provided here were moved to theorg.apache.commons.math3.fitting.leastsquares
package (cf. MATH-1008).All classes and interfaces in this package are deprecated. The optimizers that were provided here were moved to theorg.apache.commons.math3.fitting.leastsquares
package (cf. MATH-1008).All classes and interfaces in this package are deprecated. The optimizers that were provided here were moved to theorg.apache.commons.math3.fitting.leastsquares
package (cf. MATH-1008).All classes and interfaces in this package are deprecated. The optimizers that were provided here were moved to theorg.apache.commons.math3.fitting.leastsquares
package (cf. MATH-1008).All classes and interfaces in this package are deprecated. The optimizers that were provided here were moved to theorg.apache.commons.math3.fitting.leastsquares
package (cf. MATH-1008).All classes and interfaces in this package are deprecated. The optimizers that were provided here were moved to theorg.apache.commons.math3.fitting.leastsquares
package (cf. MATH-1008).As of 3.1 (to be removed in 4.0).As of 3.1 (to be removed in 4.0).As of 3.1 (to be removed in 4.0).As of 3.1 (to be removed in 4.0).As of 3.1 (to be removed in 4.0).As of 3.1 (to be removed in 4.0).As of 3.1 (to be removed in 4.0).As of 3.1 (to be removed in 4.0).As of 3.1 (to be removed in 4.0).As of 3.1 (to be removed in 4.0).As of 3.1 (to be removed in 4.0).As of 3.1 (to be removed in 4.0).As of 3.1 (to be removed in 4.0).As of 3.1 (to be removed in 4.0).As of 3.1 (to be removed in 4.0).As of 3.1 (to be removed in 4.0).As of 3.1 (to be removed in 4.0).As of 3.1 (to be removed in 4.0).As of 3.1 (to be removed in 4.0).As of 3.1 (to be removed in 4.0).As of 3.1 (to be removed in 4.0).As of 3.1 (to be removed in 4.0).As of 3.1 (to be removed in 4.0).As of 3.1 (to be removed in 4.0).As of 3.1 (to be removed in 4.0).As of 3.1 (to be removed in 4.0).As of 3.1 (to be removed in 4.0).As of 3.1 (to be removed in 4.0).As of 3.1 (to be removed in 4.0).As of 3.1 (to be removed in 4.0).As of 3.1 (to be removed in 4.0).As of 3.1 (to be removed in 4.0).As of 3.1 (to be removed in 4.0).As of 3.1 (to be removed in 4.0).As of 3.1 (to be removed in 4.0).As of 3.1 (to be removed in 4.0).As of 3.1 (to be removed in 4.0).As of 3.1 (to be removed in 4.0).As of 3.1 (to be removed in 4.0).As of 3.1 (to be removed in 4.0).As of 3.1 (to be removed in 4.0).As of 3.1 (to be removed in 4.0).As of 3.1 (to be removed in 4.0).As of 3.1 (to be removed in 4.0).As of 3.1 (to be removed in 4.0).As of 3.1 (to be removed in 4.0).As of 3.1 (to be removed in 4.0).As of 3.1 (to be removed in 4.0).As of 3.1 (to be removed in 4.0).As of 3.1 (to be removed in 4.0).As of 3.1 (to be removed in 4.0).to be removed in 4.0. UseRandomDataGenerator
insteadAs of 3.2 (to be removed in 4.0), useCluster
insteadAs of 3.2 (to be removed in 4.0), useDBSCANClusterer
insteadAs of 3.2 (to be removed in 4.0), useDoublePoint
insteadAs of 3.2 (to be removed in 4.0), useDoublePoint
insteadAs of 3.2 (to be removed in 4.0), useKMeansPlusPlusClusterer
insteadUseIntegerSequence.Incrementor
instead.
-
Deprecated EnumsEnumDescriptionAs of 3.1 (to be removed in 4.0).As of 3.1 (to be removed in 4.0).As of 3.1 (to be removed in 4.0).
-
Deprecated Exception ClassesException ClassDescriptionAs of 3.1 (to be removed in 4.0).As of 3.1 (to be removed in 4.0).
-
Deprecated FieldsFieldDescriptionas of 3.6, this field has been replaced with
BaseAbstractUnivariateIntegrator.incrementCount()
As of 3.1, to be removed in 4.0. Please use theAbstractIntegerDistribution.random
instance variable instead.As of 3.1, to be removed in 4.0. Please use theAbstractRealDistribution.random
instance variable instead.as of 3.2 not used anymore, will be removed in 4.0As of 3.1.As of 3.1. Field to become "private" in 4.0. Please useAbstractLeastSquaresOptimizer.setCost(double)
.As of 3.1.As of 3.1.As of 3.1.org.apache.commons.math3.optimization.general.AbstractLeastSquaresOptimizer.weightedResidualJacobianAs of 3.1. To be removed in 4.0. Please useAbstractLeastSquaresOptimizer.computeWeightedJacobian(double[])
instead.As of 3.1.As of 3.1. Please useResizableDoubleArray.ExpansionMode.ADDITIVE
instead.As of 3.1. Please useResizableDoubleArray.ExpansionMode.MULTIPLICATIVE
instead.
-
Deprecated MethodsMethodDescriptionas of 3.1, replaced by
Acos.value(DerivativeStructure)
as of 3.1, replaced byAcosh.value(DerivativeStructure)
as of 3.1, replaced byAsin.value(DerivativeStructure)
as of 3.1, replaced byAsinh.value(DerivativeStructure)
as of 3.1, replaced byAtan.value(DerivativeStructure)
as of 3.1, replaced byAtanh.value(DerivativeStructure)
as of 3.1, replaced byCbrt.value(DerivativeStructure)
as of 3.1, replaced byConstant.value(DerivativeStructure)
as of 3.1, replaced byCos.value(DerivativeStructure)
as of 3.1, replaced byCosh.value(DerivativeStructure)
as of 3.1, replaced byExp.value(DerivativeStructure)
as of 3.1, replaced byExpm1.value(DerivativeStructure)
as of 3.1, replaced byGaussian.value(DerivativeStructure)
as of 3.1, replaced byHarmonicOscillator.value(DerivativeStructure)
as of 3.1, replaced byIdentity.value(DerivativeStructure)
as of 3.1, replaced byInverse.value(DerivativeStructure)
as of 3.1, replaced byLog.value(DerivativeStructure)
as of 3.1, replaced byLog10.value(DerivativeStructure)
as of 3.1, replaced byLog1p.value(DerivativeStructure)
as of 3.1, replaced byLogistic.value(DerivativeStructure)
as of 3.1, replaced byLogit.value(DerivativeStructure)
as of 3.1, replaced byMinus.value(DerivativeStructure)
as of 3.1, replaced byPower.value(DerivativeStructure)
as of 3.1, replaced bySigmoid.value(DerivativeStructure)
as of 3.1, replaced bySin.value(DerivativeStructure)
as of 3.1, replaced bySinc.value(DerivativeStructure)
as of 3.1, replaced bySinh.value(DerivativeStructure)
as of 3.1, replaced bySqrt.value(DerivativeStructure)
as of 3.1, replaced byTan.value(DerivativeStructure)
as of 3.1, replaced byTanh.value(DerivativeStructure)
as of 3.1 replaced byFunctionUtils.add(UnivariateDifferentiableFunction...)
as of 3.1 replaced byFunctionUtils.compose(UnivariateDifferentiableFunction...)
as of 3.1 replaced byFunctionUtils.multiply(UnivariateDifferentiableFunction...)
this conversion method is temporary in version 3.1, as theDifferentiableMultivariateFunction
interface itself is deprecatedthis conversion method is temporary in version 3.1, as theDifferentiableMultivariateVectorFunction
interface itself is deprecatedthis conversion method is temporary in version 3.1, as theDifferentiableUnivariateFunction
interface itself is deprecatedthis conversion method is temporary in version 3.1, as theDifferentiableMultivariateFunction
interface itself is deprecatedthis conversion method is temporary in version 3.1, as theDifferentiableMultivariateFunction
interface itself is deprecatedthis conversion method is temporary in version 3.1, as theDifferentiableUnivariateFunction
interface itself is deprecatedThis method should not be part of the public API: It will be made private in version 4.0.as of 3.2, replaced byDfp.intLog10()
, in 4.0 the return type will be changed to Dfporg.apache.commons.math3.distribution.AbstractRealDistribution.cumulativeProbability(double, double) As of 3.1 (to be removed in 4.0). Please useAbstractRealDistribution.probability(double,double)
instead.as of version 3.1,GammaDistribution.getShape()
should be preferred. This method will be removed in version 4.0.as of version 3.1,GammaDistribution.getScale()
should be preferred. This method will be removed in version 4.0.As of 3.1. In 4.0, this method will be renamedprobability(double x0, double x1)
.to be removed in 4.0to be removed in 4.0useListPopulation.addChromosomes(Collection)
insteadas of 3.1, replaced byInterval.getSize()
as of 3.1, replaced byInterval.getInf()
as of 3.1, replaced byInterval.getBarycenter()
as of 3.1, replaced byInterval.getSup()
as of 3.3, replaced withVector1D.distance(Point)
as of 3.6, replaced withFieldRotation.getAngles(RotationOrder, RotationConvention)
as of 3.6, replaced withFieldRotation.getAxis(RotationConvention)
as of 3.6, replaced withRotation.getAngles(RotationOrder, RotationConvention)
as of 3.6, replaced withRotation.getAxis(RotationConvention)
as of 3.6, replaced withLine.getTransform(double, double, double, double, double, double)
as of 3.3, replaced withBSPTree.getCell(Point, double)
as of 3.4, replaced withBSPTree.insertInTree(BSPTree, boolean, VanishingCutHandler)
as of 3.6, this method which was only intended for internal use is not used anymoreas of 3.6, replaced withSubHyperplane.split(Hyperplane)
.SubHyperplane.SplitSubHyperplane.getSide()
as of 3.6, replaced withArcsSet.split(Arc)
.ArcsSet.Split.getSide()
as of 3.2, replaced byMathArrays.buildArray(Field, int)
as of 3.2, replaced byMathArrays.buildArray(Field, int, int)
as of 3.1, to be removed in 4.0. Please use theFieldVector.toArray()
method instead.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.as of 3.1, to be removed in 4.0. Please use theSparseFieldVector.toArray()
method instead.as of 3.6 replaced withAbstractIntegrator.getCounter()
as of 3.6, this method is not used anymoreAs of 3.1. In 4.0, it will be replaced by the declaration corresponding to thismethod
.As of 3.1. In 4.0, this will be replaced by the declaration corresponding to thismethod
.As of 3.1. Please useBaseAbstractMultivariateOptimizer.optimize(int,MultivariateFunction,GoalType,OptimizationData[])
instead.As of 3.1. Please useBaseAbstractMultivariateOptimizer.optimize(int,MultivariateFunction,GoalType,OptimizationData[])
instead.As of 3.1.As of 3.1.As of 3.1. Please useBaseAbstractMultivariateVectorOptimizer.optimize(int,MultivariateVectorFunction,OptimizationData[])
instead.As of 3.1. Please useBaseAbstractMultivariateVectorOptimizer.optimizeInternal(int,MultivariateVectorFunction,OptimizationData[])
instead.As of 3.1. The initial simplex can now be passed as an argument of theBaseAbstractMultivariateOptimizer.optimize(int,MultivariateFunction,GoalType,OptimizationData[])
method.Since 3.1 (to be removed in 4.0). Please usePolynomialFitter.fit(double[])
instead.As of 3.1. Please useAbstractLeastSquaresOptimizer.computeCovariances(double[],double)
instead.As of 3.1. Please useAbstractLeastSquaresOptimizer.computeCovariances(double[],double)
instead.as of version 3.1,AbstractLeastSquaresOptimizer.computeSigma(double[],double)
should be used instead. It should be emphasized thatguessParametersErrors
andcomputeSigma
are not strictly equivalent.As of 3.1. Please useoptimize(int,MultivariateDifferentiableVectorFunction,OptimizationData...)
instead.As of 3.1. Please useoptimize(int,MultivariateDifferentiableVectorFunction,OptimizationData...)
instead.As of 3.1. Override is necessary only until this class's generic argument is changed toMultivariateDifferentiableVectorFunction
.As of 3.1. Please useAbstractLeastSquaresOptimizer.computeWeightedJacobian(double[])
instead.org.apache.commons.math3.optimization.general.AbstractLeastSquaresOptimizer.updateResidualsAndCost()use the distribution's sample() methoduse the distribution's sample() methodas 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 callsBeta.logBeta(double, double)
.as of 3.4 this method does not work anymore, as it fails to copy internal states between instances configured with differentestimation type
,NaN handling strategies
andkthSelector
, it therefore always throwMathUnsupportedOperationException
see MATH-736As of 3.3. Please useArithmeticUtils.pow(int,int)
instead.As of 3.3. Please useArithmeticUtils.pow(long,int)
instead.As of 3.1. Please useResizableDoubleArray.checkContractExpand(double,double)
instead.As of 3.1. Please useResizableDoubleArray.getContractionCriterion()
instead.As of 3.1. Return type will be changed to "double" in 4.0.As of 3.1. Return value to be changed toResizableDoubleArray.ExpansionMode
in 4.0.As of 3.1.As of 3.1 (to be removed in 4.0 as field will become "final").As of 3.1 (to be removed in 4.0 as field will become "final").As of 3.1. Please useResizableDoubleArray.setExpansionMode(ExpansionMode)
instead.As of 3.1 (to be removed in 4.0 as field will become "final").As of 3.1, this is a no-op.As of 3.1.
-
Deprecated ConstructorsConstructorDescriptionAs of 3.1, to be removed in 4.0. Please use
AbstractIntegerDistribution(RandomGenerator)
instead.As of 3.1, to be removed in 4.0. Please useAbstractRealDistribution(RandomGenerator)
instead.as of 3.2, inverse CDF is now calculated analytically, useUniformRealDistribution(double, double)
instead.as of 3.2, inverse CDF is now calculated analytically, useUniformRealDistribution(RandomGenerator, double, double)
instead.as of 3.1 replaced withIntervalsSet(double)
as of 3.3 replaced withIntervalsSet(double, double, double)
as of 3.3, replaced withIntervalsSet(Collection, double)
as of 3.3, replaced withIntervalsSet(BSPTree, double)
as of 3.3, replaced withOrientedPoint(Vector1D, boolean, double)
as of 3.6, replaced withFieldRotation(FieldVector3D, RealFieldElement, RotationConvention)
as of 3.3, replaced withLine(Vector3D, Vector3D, double)
as of 3.3, replaced withPlane(Vector3D, double)
as of 3.3, replaced withPlane(Vector3D, Vector3D, double)
as of 3.3, replaced withPlane(Vector3D, Vector3D, Vector3D, double)
as of 3.3, replaced withPolyhedronsSet(double)
as of 3.3, replaced withPolyhedronsSet(double, double, double, double, double, double, double)
as of 3.3, replaced withPolyhedronsSet(Collection, double)
as of 3.3, replaced withPolyhedronsSet(BSPTree, double)
as of 3.6, replaced withRotation(RotationOrder, RotationConvention, double, double, double)
as of 3.6, replaced withRotation(Vector3D, double, RotationConvention)
as of 3.3, replaced withSubLine(Vector3D, Vector3D, double)
as of 3.3, replaced withLine(Vector2D, double, double)
as of 3.3, replaced withLine(Vector2D, Vector2D, double)
as of 3.3, replaced withPolygonsSet(double)
as of 3.3, replaced withPolygonsSet(double, double, double, double, double)
org.apache.commons.math3.geometry.euclidean.twod.PolygonsSet(Collection<SubHyperplane<Euclidean2D>>) as of 3.3, replaced withPolygonsSet(Collection, double)
as of 3.3, replaced withPolygonsSet(BSPTree, double)
as of 3.3, replaced withSubLine(Vector2D, Vector2D, double)
org.apache.commons.math3.geometry.partitioning.BoundaryAttribute(SubHyperplane<S>, SubHyperplane<S>) as of 3.4, the constructor has been replaced by a new one which is not public anymore, as it is intended to be used only byBoundaryBuilder
as of 3.2, replaced byArrayFieldVector(FieldVector, FieldVector)
as of 3.2, replaced byArrayFieldVector(FieldVector, FieldElement[])
as of 3.2, replaced byArrayFieldVector(FieldElement[], FieldVector)
in 3.1 (to be removed in 4.0) due to unused parameterin 3.1 (to be removed in 4.0) due to unused parameteras of 3.3. Please useNonLinearConjugateGradientOptimizer(Formula,ConvergenceChecker,double,double,double)
instead.as of 3.3. Please useNonLinearConjugateGradientOptimizer(Formula,ConvergenceChecker,double,double,double,Preconditioner)
instead.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).As of version 3.1: Parameterlambda
must be passed with the call tooptimize
(whereas in the current code it is set to an undocumented value).As of version 3.1: Parameterlambda
must be passed with the call tooptimize
(whereas in the current code it is set to an undocumented value)..org.apache.commons.math3.optimization.fitting.CurveFitter(DifferentiableMultivariateVectorOptimizer) as of 3.1 replaced byCurveFitter(MultivariateDifferentiableVectorOptimizer)
Since 3.1 (to be removed in 4.0). Please usePolynomialFitter(DifferentiableMultivariateVectorOptimizer)
instead.As of 3.1. Please useEmpiricalDistribution(int,RandomGenerator)
instead.As of 3.1. Please useEmpiricalDistribution(RandomGenerator)
instead.As of 3.1. Please useResizableDoubleArray(int,double)
instead.As of 3.1. Please useResizableDoubleArray(int,double,double)
instead.As of 3.1. Please useResizableDoubleArray(int,double,double,ExpansionMode,double[])
instead.
-
Deprecated Enum ConstantsEnum ConstantDescription