Top Deprecated
Apache Commons Math 3.6.1

Deprecated API


No API in this release is deprecated for removal.

Deprecated Item Summary

SinceDeprecated Item and Description

Returns:

a function that computes the sum of the functions.
org.apache.commons.math3.analysis.FunctionUtils.add
(final DifferentiableUnivariateFunction...
List of functions.
f
)

as of 3.1 replaced by add(UnivariateDifferentiableFunction...)

Returns:

a function that computes the product of the functions.
org.apache.commons.math3.analysis.FunctionUtils.multiply
(final DifferentiableUnivariateFunction...
List of functions.
f
)

as of 3.1 replaced by multiply(UnivariateDifferentiableFunction...)

Returns:

converted function
org.apache.commons.math3.analysis.FunctionUtils.toDifferentiableMultivariateFunction
(final MultivariateDifferentiableFunction
function to convert
f
)

this conversion method is temporary in version 3.1, as the DifferentiableMultivariateFunction interface itself is deprecated

Returns:

converted function
org.apache.commons.math3.analysis.FunctionUtils.toDifferentiableMultivariateVectorFunction
(final MultivariateDifferentiableVectorFunction
function to convert
f
)

this conversion method is temporary in version 3.1, as the DifferentiableMultivariateVectorFunction interface itself is deprecated

Returns:

converted function
org.apache.commons.math3.analysis.FunctionUtils.toDifferentiableUnivariateFunction
(final UnivariateDifferentiableFunction
function to convert
f
)

this conversion method is temporary in version 3.1, as the DifferentiableUnivariateFunction interface itself is deprecated

Returns:

converted function
org.apache.commons.math3.analysis.FunctionUtils.toMultivariateDifferentiableFunction
(final DifferentiableMultivariateFunction
function to convert
f
)

this conversion method is temporary in version 3.1, as the DifferentiableMultivariateFunction interface itself is deprecated

Returns:

converted function
org.apache.commons.math3.analysis.FunctionUtils.toMultivariateDifferentiableVectorFunction
(final DifferentiableMultivariateVectorFunction
function to convert
f
)

this conversion method is temporary in version 3.1, as the DifferentiableMultivariateFunction interface itself is deprecated

Returns:

converted function
org.apache.commons.math3.analysis.FunctionUtils.toUnivariateDifferential
(final DifferentiableUnivariateFunction
function to convert
f
)

this conversion method is temporary in version 3.1, as the DifferentiableUnivariateFunction interface itself is deprecated

Returns:

a function which interpolates the data set
org.apache.commons.math3.analysis.interpolation.AkimaSplineInterpolator.interpolate
(double[]
the arguments for the interpolation points
xvals
,
double[]
the values for the interpolation points
yvals
)

Deprecated as a consequence of PolynomialSplineFunction being deprecated. See corresponding docs for further information.

Returns:

polynomial that fits the function
org.apache.commons.math3.analysis.interpolation.AkimaSplineInterpolator.interpolateHermiteSorted
(double[]
x values for interpolation
xvals
,
double[]
y values for interpolation
yvals
,
double[]
first derivative values of the function
firstDerivatives
)

Deprecated as a consequence of PolynomialSplineFunction being deprecated. See corresponding docs for further information.

org.apache.commons.math3.analysis.interpolation.BicubicSplineInterpolator.interpolate(final double[]
All the x-coordinates of the interpolation points, sorted in increasing order.
xval
,
final double[]
All the y-coordinates of the interpolation points, sorted in increasing order.
yval
,
final double[][]
The values of the interpolation points on all the grid knots: fval[i][j] = f(xval[i], yval[j]).
fval
)

Deprecated as a consequence of BicubicSplineInterpolatingFunction being deprecated. See corresponding docs for further information.

Returns:

interpolation polynomials array
org.apache.commons.math3.analysis.interpolation.HermiteInterpolator.getPolynomials
()

Deprecated as a consequence of PolynomialFunction being deprecated. See corresponding docs for further information.

Returns:

polynomial
org.apache.commons.math3.analysis.interpolation.HermiteInterpolator.polynomial
(double...
polynomials coefficients
c
)

Deprecated as a consequence of PolynomialFunction being deprecated. See corresponding docs for further information.

Returns:

a function which interpolates the data set
org.apache.commons.math3.analysis.interpolation.LinearInterpolator.interpolate
(double[]
the arguments for the interpolation points
x
,
double[]
the values for the interpolation points
y
)

Deprecated as a consequence of PolynomialSplineFunction being deprecated. See corresponding docs for further information.

Returns:

A cubic spline built upon a loess fit to the data at the original abscissae
org.apache.commons.math3.analysis.interpolation.LoessInterpolator.interpolate
(final double[]
the arguments for the interpolation points
xval
,
final double[]
the values for the interpolation points
yval
)

Deprecated as a consequence of PolynomialSplineFunction being deprecated. See corresponding docs for further information.

org.apache.commons.math3.analysis.interpolation.SmoothingPolynomialBicubicSplineInterpolator.interpolate(final double[]
All the x-coordinates of the interpolation points, sorted in increasing order.
xval
,
final double[]
All the y-coordinates of the interpolation points, sorted in increasing order.
yval
,
final double[][]
The values of the interpolation points on all the grid knots: fval[i][j] = f(xval[i], yval[j]).
fval
)

Deprecated as a consequence of BicubicSplineInterpolatingFunction being deprecated. See corresponding docs for further information.

org.apache.commons.math3.analysis.interpolation.SmoothingPolynomialBicubicSplineInterpolator.xFitter

Deprecated as a consequence of PolynomialFitter being deprecated. See corresponding docs for further information.

org.apache.commons.math3.analysis.interpolation.SmoothingPolynomialBicubicSplineInterpolator.yFitter

Deprecated as a consequence of PolynomialFitter being deprecated. See corresponding docs for further information.

Returns:

a function which interpolates the data set
org.apache.commons.math3.analysis.interpolation.SplineInterpolator.interpolate
(double[]
the arguments for the interpolation points
x
,
double[]
the values for the interpolation points
y
)

Deprecated as a consequence of PolynomialSplineFunction being deprecated. See corresponding docs for further information.

org.apache.commons.math3.analysis.interpolation.TricubicSplineInterpolator.interpolate(final double[]
All the x-coordinates of the interpolation points, sorted in increasing order.
xval
,
final double[]
All the y-coordinates of the interpolation points, sorted in increasing order.
yval
,
final double[]
All the z-coordinates of the interpolation points, sorted in increasing order.
zval
,
final double[][][]
the values of the interpolation points on all the grid knots: fval[i][j][k] = f(xval[i], yval[j], zval[k]).
fval
)

Deprecated as a consequence of TricubicSplineInterpolatingFunction being deprecated. See corresponding docs for further information.

Returns:

a new polynomial which is the sum of the instance and p.
org.apache.commons.math3.analysis.polynomials.PolynomialFunction.add
(final PolynomialFunction
Polynomial to add.
p
)

Deprecated as a consequence of PolynomialFunction being deprecated. See corresponding docs for further information.

Returns:

a new polynomial equal to this times p
org.apache.commons.math3.analysis.polynomials.PolynomialFunction.multiply
(final PolynomialFunction
Polynomial to multiply by.
p
)

Deprecated as a consequence of PolynomialFunction being deprecated. See corresponding docs for further information.

Returns:

a new polynomial with all coefficients negated
org.apache.commons.math3.analysis.polynomials.PolynomialFunction.negate
()

Deprecated as a consequence of PolynomialFunction being deprecated. See corresponding docs for further information.

Returns:

the derivative polynomial.
org.apache.commons.math3.analysis.polynomials.PolynomialFunction.polynomialDerivative
()

Deprecated as a consequence of PolynomialFunction being deprecated. See corresponding docs for further information.

Returns:

a new polynomial which is the instance minus p.
org.apache.commons.math3.analysis.polynomials.PolynomialFunction.subtract
(final PolynomialFunction
Polynomial to subtract.
p
)

Deprecated as a consequence of PolynomialFunction being deprecated. See corresponding docs for further information.

org.apache.commons.math3.analysis.polynomials.PolynomialSplineFunction(double[]
Spline segment interval delimiters.
knots
,
PolynomialFunction[]
Polynomial functions that make up the spline.
polynomials
)

Deprecated as a consequence of PolynomialFunction being deprecated. See corresponding docs for further information.

Returns:

the interpolating polynomials.
org.apache.commons.math3.analysis.polynomials.PolynomialSplineFunction.getPolynomials
()

Deprecated as a consequence of PolynomialFunction being deprecated. See corresponding docs for further information.

Returns:

the derivative function.
org.apache.commons.math3.analysis.polynomials.PolynomialSplineFunction.polynomialSplineDerivative
()

Deprecated as a consequence of PolynomialSplineFunction being deprecated. See corresponding docs for further information.

org.apache.commons.math3.analysis.polynomials.PolynomialSplineFunction.polynomials

Deprecated as a consequence of PolynomialFunction being deprecated. See corresponding docs for further information.

Returns:

coefficients array
org.apache.commons.math3.analysis.polynomials.PolynomialsUtils.buildPolynomial
(final int
degree of the polynomial
degree
,
final List<BigFraction>
list where the computed coefficients are stored
coefficients
,
final PolynomialsUtils.RecurrenceCoefficientsGenerator
recurrence coefficients generator
generator
)

Deprecated as a consequence of PolynomialFunction being deprecated. See corresponding docs for further information.

Returns:

Chebyshev polynomial of specified degree
org.apache.commons.math3.analysis.polynomials.PolynomialsUtils.createChebyshevPolynomial
(final int
degree of the polynomial
degree
)

Deprecated as a consequence of PolynomialFunction being deprecated. See corresponding docs for further information.

Returns:

Hermite polynomial of specified degree
org.apache.commons.math3.analysis.polynomials.PolynomialsUtils.createHermitePolynomial
(final int
degree of the polynomial
degree
)

Deprecated as a consequence of PolynomialFunction being deprecated. See corresponding docs for further information.

Returns:

Jacobi polynomial of specified degree
org.apache.commons.math3.analysis.polynomials.PolynomialsUtils.createJacobiPolynomial
(final int
degree of the polynomial
degree
,
final int
first exponent
v
,
final int
second exponent
w
)

Deprecated as a consequence of PolynomialFunction being deprecated. See corresponding docs for further information.

Returns:

Laguerre polynomial of specified degree
org.apache.commons.math3.analysis.polynomials.PolynomialsUtils.createLaguerrePolynomial
(final int
degree of the polynomial
degree
)

Deprecated as a consequence of PolynomialFunction being deprecated. See corresponding docs for further information.

Returns:

Legendre polynomial of specified degree
org.apache.commons.math3.analysis.polynomials.PolynomialsUtils.createLegendrePolynomial
(final int
degree of the polynomial
degree
)

Deprecated as a consequence of PolynomialFunction being deprecated. See corresponding docs for further information.

org.apache.commons.math3.analysis.solvers.AbstractDifferentiableUnivariateSolver.setup(int
Maximum number of evaluations.
maxEval
,
DifferentiableUnivariateFunction
Function to solve.
f
,
double
Lower bound for the interval.
min
,
double
Upper bound for the interval.
max
,
double
Start value to use.
startValue
)

Deprecated as a consequence of DifferentiableUnivariateFunction being deprecated. See corresponding docs for further information.

org.apache.commons.math3.analysis.solvers.AbstractPolynomialSolver.polynomialFunction

Deprecated as a consequence of PolynomialFunction being deprecated. See corresponding docs for further information.

org.apache.commons.math3.analysis.solvers.AbstractPolynomialSolver.setup(int
Maximum number of evaluations.
maxEval
,
PolynomialFunction
Function to solve.
f
,
double
Lower bound for the interval.
min
,
double
Upper bound for the interval.
max
,
double
Start value to use.
startValue
)

Deprecated as a consequence of PolynomialFunction being deprecated. See corresponding docs for further information.

Returns:

the point at which the function value is zero.
org.apache.commons.math3.analysis.solvers.LaguerreSolver.laguerre
(double
Lower bound of the search interval.
lo
,
double
Higher bound of the search interval.
hi
,
double
Function value at the lower bound of the search interval.
fLo
,
double
Function value at the higher bound of the search interval.
fHi
)

This method should not be part of the public API: It will be made private in version 4.0.

Returns:

the value where the function is zero.
org.apache.commons.math3.analysis.solvers.NewtonSolver.solve
(int
Maximum number of evaluations.
maxEval
,
final DifferentiableUnivariateFunction
Function to solve.
f
,
final double
Lower bound for the interval.
min
,
final double
Upper bound for the interval.
max
)

Deprecated as a consequence of DifferentiableUnivariateFunction being deprecated. See corresponding docs for further information.

Returns:

a value where the function is zero.
org.apache.commons.math3.dfp.BracketingNthOrderBrentSolverDFP.solve
(final int
Maximum number of evaluations.
maxEval
,
final UnivariateDfpFunction
Function to solve.
f
,
final Dfp
Lower bound for the interval.
min
,
final Dfp
Upper bound for the interval.
max
,
final AllowedSolution
The kind of solutions that the root-finding algorithm may accept as solutions.
allowedSolution
)

Deprecated as a consequence of UnivariateDfpFunction being deprecated. See corresponding docs for further information.

Returns:

a value where the function is zero.
org.apache.commons.math3.dfp.BracketingNthOrderBrentSolverDFP.solve
(final int
Maximum number of evaluations.
maxEval
,
final UnivariateDfpFunction
Function to solve.
f
,
final Dfp
Lower bound for the interval.
min
,
final Dfp
Upper bound for the interval.
max
,
final Dfp
Start value to use.
startValue
,
final AllowedSolution
The kind of solutions that the root-finding algorithm may accept as solutions.
allowedSolution
)

Deprecated as a consequence of UnivariateDfpFunction being deprecated. See corresponding docs for further information.

Returns:

integer base 10 logarithm
org.apache.commons.math3.dfp.Dfp.log10
()

as of 3.2, replaced by intLog10(), in 4.0 the return type will be changed to Dfp

org.apache.commons.math3.distribution.AbstractIntegerDistribution.randomData

As of 3.1, to be removed in 4.0. Please use the random instance variable instead.

org.apache.commons.math3.distribution.AbstractRealDistribution.cumulativeProbability(double
the exclusive lower bound
x0
,
double
the inclusive upper bound
x1
)

As of 3.1 (to be removed in 4.0). Please use probability(double, double) instead.

org.apache.commons.math3.distribution.AbstractRealDistribution.randomData

As of 3.1, to be removed in 4.0. Please use the random instance variable instead.

Returns:

the shape parameter
org.apache.commons.math3.distribution.GammaDistribution.getAlpha
()

as of version 3.1, getShape() should be preferred. This method will be removed in version 4.0.

Returns:

the scale parameter
org.apache.commons.math3.distribution.GammaDistribution.getBeta
()

as of version 3.1, getScale() should be preferred. This method will be removed in version 4.0.

Returns:

the probability that a random variable with this distribution takes a value between x0 and x1, excluding the lower and including the upper endpoint
org.apache.commons.math3.distribution.RealDistribution.cumulativeProbability
(double
the exclusive lower bound
x0
,
double
the inclusive upper bound
x1
)

As of 3.1. In 4.0, this method will be renamed probability(double x0, double x1).

Returns:

true if the lower bound of support is finite and the density function returns a non-NaN, non-infinite value there
org.apache.commons.math3.distribution.RealDistribution.isSupportLowerBoundInclusive
()

to be removed in 4.0

Returns:

true if the upper bound of support is finite and the density function returns a non-NaN, non-infinite value there
org.apache.commons.math3.distribution.RealDistribution.isSupportUpperBoundInclusive
()

to be removed in 4.0

org.apache.commons.math3.distribution.UniformRealDistribution(double
Lower bound of this distribution (inclusive).
lower
,
double
Upper bound of this distribution (exclusive).
upper
,
double
Inverse cumulative probability accuracy.
inverseCumAccuracy
)

as of 3.2, inverse CDF is now calculated analytically, use UniformRealDistribution(double, double) instead.

org.apache.commons.math3.distribution.UniformRealDistribution(RandomGenerator
Random number generator.
rng
,
double
Lower bound of this distribution (inclusive).
lower
,
double
Upper bound of this distribution (exclusive).
upper
,
double
Inverse cumulative probability accuracy.
inverseCumAccuracy
)

as of 3.2, inverse CDF is now calculated analytically, use UniformRealDistribution(RandomGenerator, double, double) instead.

org.apache.commons.math3.fitting.CurveFitter<
Function to use for the fit.
T extends ParametricUnivariateFunction
>

As of 3.3. Please use AbstractCurveFitter and WeightedObservedPoints instead.

org.apache.commons.math3.fitting.CurveFitter(final MultivariateVectorOptimizer
Optimizer to use for the fitting.
optimizer
)

Deprecated as a consequence of MultivariateVectorOptimizer being deprecated. See corresponding docs for further information.

Returns:

the model function values.
org.apache.commons.math3.fitting.CurveFitter.TheoreticalValuesFunction.getModelFunction
()

Deprecated as a consequence of ModelFunction being deprecated. See corresponding docs for further information.

Returns:

the model function Jacobian.
org.apache.commons.math3.fitting.CurveFitter.TheoreticalValuesFunction.getModelFunctionJacobian
()

Deprecated as a consequence of ModelFunctionJacobian being deprecated. See corresponding docs for further information.

org.apache.commons.math3.fitting.CurveFitter.optimizer

Deprecated as a consequence of MultivariateVectorOptimizer being deprecated. See corresponding docs for further information.

org.apache.commons.math3.fitting.GaussianFitter(MultivariateVectorOptimizer
Optimizer to use for the fitting.
optimizer
)

Deprecated as a consequence of MultivariateVectorOptimizer being deprecated. See corresponding docs for further information.

org.apache.commons.math3.fitting.HarmonicFitter(final MultivariateVectorOptimizer
Optimizer to use for the fitting.
optimizer
)

Deprecated as a consequence of MultivariateVectorOptimizer being deprecated. See corresponding docs for further information.

org.apache.commons.math3.fitting.PolynomialFitter(MultivariateVectorOptimizer
Optimizer to use for the fitting.
optimizer
)

Deprecated as a consequence of MultivariateVectorOptimizer being deprecated. See corresponding docs for further information.

org.apache.commons.math3.fitting.leastsquares.LeastSquaresAdapter.getEvaluationCounter()

Deprecated as a consequence of Incrementor being deprecated. See corresponding docs for further information.

org.apache.commons.math3.fitting.leastsquares.LeastSquaresAdapter.getIterationCounter()

Deprecated as a consequence of Incrementor being deprecated. See corresponding docs for further information.

Returns:

a least squares problem that tracks evaluations
org.apache.commons.math3.fitting.leastsquares.LeastSquaresFactory.countEvaluations
(final LeastSquaresProblem
the problem to track.
problem
,
final Incrementor
the counter to increment.
counter
)

Deprecated as a consequence of Incrementor being deprecated. See corresponding docs for further information.

Returns:

length of the interval
org.apache.commons.math3.geometry.euclidean.oned.Interval.getLength
()

as of 3.1, replaced by getSize()

Returns:

lower bound of the interval
org.apache.commons.math3.geometry.euclidean.oned.Interval.getLower
()

as of 3.1, replaced by getInf()

Returns:

midpoint of the interval
org.apache.commons.math3.geometry.euclidean.oned.Interval.getMidPoint
()

as of 3.1, replaced by getBarycenter()

Returns:

upper bound of the interval
org.apache.commons.math3.geometry.euclidean.oned.Interval.getUpper
()

as of 3.1, replaced by getSup()

org.apache.commons.math3.geometry.euclidean.oned.IntervalsSet(final double
lower bound of the interval, must be lesser or equal to upper (may be Double.NEGATIVE_INFINITY)
lower
,
final double
upper bound of the interval, must be greater or equal to lower (may be Double.POSITIVE_INFINITY)
upper
)

as of 3.3 replaced with IntervalsSet(double, double, double)

org.apache.commons.math3.geometry.euclidean.oned.IntervalsSet(final BSPTree<Euclidean1D>
inside/outside BSP tree representing the intervals set
tree
)

as of 3.3, replaced with IntervalsSet(BSPTree, double)

org.apache.commons.math3.geometry.euclidean.oned.OrientedPoint(final Vector1D
location of the hyperplane
location
,
final boolean
if true, the plus side of the hyperplane is towards abscissas greater than location
direct
)

as of 3.3, replaced with OrientedPoint(Vector1D, boolean, double)

org.apache.commons.math3.geometry.euclidean.threed.FieldRotation(final FieldVector3D<T>
axis around which to rotate
axis
,
final T
rotation angle.
angle
)

as of 3.6, replaced with FieldRotation(FieldVector3D, RealFieldElement, RotationConvention)

org.apache.commons.math3.geometry.euclidean.threed.FieldRotation(final RotationOrder
order of rotations to use
order
,
final T
angle of the first elementary rotation
alpha1
,
final T
angle of the second elementary rotation
alpha2
,
final T
angle of the third elementary rotation
alpha3
)

as of 3.6, replaced with FieldRotation(RotationOrder, RotationConvention, RealFieldElement, RealFieldElement, RealFieldElement)

Returns:

an array of three angles, in the order specified by the set
org.apache.commons.math3.geometry.euclidean.threed.FieldRotation.getAngles
(final RotationOrder
rotation order to use
order
)

as of 3.6, replaced with getAngles(RotationOrder, RotationConvention)

Returns:

normalized axis of the rotation
org.apache.commons.math3.geometry.euclidean.threed.FieldRotation.getAxis
()

as of 3.6, replaced with getAxis(RotationConvention)

org.apache.commons.math3.geometry.euclidean.threed.Line(final Vector3D
first point belonging to the line (this can be any point)
p1
,
final Vector3D
second point belonging to the line (this can be any point, different from p1)
p2
)

as of 3.3, replaced with Line(Vector3D, Vector3D, double)

org.apache.commons.math3.geometry.euclidean.threed.Plane(final Vector3D
normal direction to the plane
normal
)

as of 3.3, replaced with Plane(Vector3D, double)

org.apache.commons.math3.geometry.euclidean.threed.Plane(final Vector3D
point belonging to the plane
p
,
final Vector3D
normal direction to the plane
normal
)

as of 3.3, replaced with Plane(Vector3D, Vector3D, double)

org.apache.commons.math3.geometry.euclidean.threed.Plane(final Vector3D
first point belonging to the plane
p1
,
final Vector3D
second point belonging to the plane
p2
,
final Vector3D
third point belonging to the plane
p3
)

as of 3.3, replaced with Plane(Vector3D, Vector3D, Vector3D, double)

org.apache.commons.math3.geometry.euclidean.threed.PolyhedronsSet(final BSPTree<Euclidean3D>
inside/outside BSP tree representing the region
tree
)

as of 3.3, replaced with PolyhedronsSet(BSPTree, double)

org.apache.commons.math3.geometry.euclidean.threed.PolyhedronsSet(final Collection<SubHyperplane<Euclidean3D>>
collection of boundary elements, as a collection of SubHyperplane objects
boundary
)

as of 3.3, replaced with PolyhedronsSet(Collection, double)

org.apache.commons.math3.geometry.euclidean.threed.PolyhedronsSet(final double
low bound along the x direction
xMin
,
final double
high bound along the x direction
xMax
,
final double
low bound along the y direction
yMin
,
final double
high bound along the y direction
yMax
,
final double
low bound along the z direction
zMin
,
final double
high bound along the z direction
zMax
)

as of 3.3, replaced with PolyhedronsSet(double, double, double, double, double, double, double)

org.apache.commons.math3.geometry.euclidean.threed.Rotation(Vector3D
axis around which to rotate
axis
,
double
rotation angle.
angle
)

as of 3.6, replaced with Rotation(Vector3D, double, RotationConvention)

org.apache.commons.math3.geometry.euclidean.threed.Rotation(RotationOrder
order of rotations to use
order
,
double
angle of the first elementary rotation
alpha1
,
double
angle of the second elementary rotation
alpha2
,
double
angle of the third elementary rotation
alpha3
)

as of 3.6, replaced with Rotation(RotationOrder, RotationConvention, double, double, double)

Returns:

an array of three angles, in the order specified by the set
org.apache.commons.math3.geometry.euclidean.threed.Rotation.getAngles
(RotationOrder
rotation order to use
order
)

as of 3.6, replaced with getAngles(RotationOrder, RotationConvention)

Returns:

normalized axis of the rotation
org.apache.commons.math3.geometry.euclidean.threed.Rotation.getAxis
()

as of 3.6, replaced with getAxis(RotationConvention)

org.apache.commons.math3.geometry.euclidean.twod.Line(final Vector2D
first point
p1
,
final Vector2D
second point
p2
)

as of 3.3, replaced with Line(Vector2D, Vector2D, double)

org.apache.commons.math3.geometry.euclidean.twod.Line(final Vector2D
point belonging to the line
p
,
final double
angle of the line with respect to abscissa axis
angle
)

as of 3.3, replaced with Line(Vector2D, double, double)

Returns:

a new transform that can be applied to either Vector2D, Line or SubHyperplane instances
org.apache.commons.math3.geometry.euclidean.twod.Line.getTransform
(final AffineTransform
affine transform to embed (must be inversible otherwise the apply(Hyperplane) method would work only for some lines, and fail for other ones)
transform
)

as of 3.6, replaced with getTransform(double, double, double, double, double, double)

org.apache.commons.math3.geometry.euclidean.twod.PolygonsSet(final BSPTree<Euclidean2D>
inside/outside BSP tree representing the region
tree
)

as of 3.3, replaced with PolygonsSet(BSPTree, double)

org.apache.commons.math3.geometry.euclidean.twod.PolygonsSet(final Collection<SubHyperplane<Euclidean2D>>
collection of boundary elements, as a collection of SubHyperplane objects
boundary
)

as of 3.3, replaced with PolygonsSet(Collection, double)

org.apache.commons.math3.geometry.euclidean.twod.PolygonsSet(final double
low bound along the x direction
xMin
,
final double
high bound along the x direction
xMax
,
final double
low bound along the y direction
yMin
,
final double
high bound along the y direction
yMax
)

as of 3.3, replaced with PolygonsSet(double, double, double, double, double)

org.apache.commons.math3.geometry.euclidean.twod.SubLine(final Vector2D
start point
start
,
final Vector2D
end point
end
)

as of 3.3, replaced with SubLine(Vector2D, Vector2D, double)

Returns:

the tree cell to which the point belongs
org.apache.commons.math3.geometry.partitioning.BSPTree.getCell
(final Vector<S>
point to check
point
)

as of 3.3, replaced with getCell(Point, double)

org.apache.commons.math3.geometry.partitioning.BSPTree.insertInTree(final BSPTree<S>
parent tree to connect to (may be null)
parentTree
,
final boolean
if true and if parentTree is not null, the resulting tree should be the plus child of its parent, ignored if parentTree is null
isPlusChild
)

as of 3.4, replaced with insertInTree(BSPTree, boolean, VanishingCutHandler)

org.apache.commons.math3.geometry.partitioning.BoundaryAttribute(final SubHyperplane<S>
part of the node cut sub-hyperplane that belongs to the boundary and has the outside of the region on the plus side of its underlying hyperplane (may be null)
plusOutside
,
final SubHyperplane<S>
part of the node cut sub-hyperplane that belongs to the boundary and has the inside of the region on the plus side of its underlying hyperplane (may be null)
plusInside
)

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 by BoundaryBuilder

Returns:

one of Side.PLUS, Side.MINUS, Side.BOTH or Side.HYPER (the latter result can occur only if the tree contains only one cut hyperplane)
org.apache.commons.math3.geometry.partitioning.Region.side
(final Hyperplane<S>
reference hyperplane
hyperplane
)

as of 3.6, this method which was only intended for internal use is not used anymore

org.apache.commons.math3.geometry.partitioning.utilities.AVLTree<
the type of the elements
T extends Comparable<T>
>

as of 3.4, this class is not used anymore and considered to be out of scope of Apache Commons Math

org.apache.commons.math3.geometry.partitioning.utilities.OrderedTuple

as of 3.4, this class is not used anymore and considered to be out of scope of Apache Commons Math

Returns:

a negative integer if the instance is less than the object, zero if they are equal, or a positive integer if the instance is greater than the object
org.apache.commons.math3.geometry.partitioning.utilities.OrderedTuple.compareTo
(final OrderedTuple
T-uple to compare instance with
ot
)

Deprecated as a consequence of OrderedTuple being deprecated. See corresponding docs for further information.

org.apache.commons.math3.geometry.spherical.oned.ArcsSet.side(final Arc
arc to check instance against
arc
)

as of 3.6, replaced with split(Arc).Split#getSide()

Returns:

a new array
org.apache.commons.math3.linear.AbstractFieldMatrix.buildArray
(final Field<T>
field to which array elements belong
field
,
final int
number of rows
rows
,
final int
number of columns (may be negative to build partial arrays in the same way new Field[rows][] works)
columns
)

as of 3.2, replaced by MathArrays#buildArray(Field, int, int)

Returns:

a new array
org.apache.commons.math3.linear.AbstractFieldMatrix.buildArray
(final Field<T>
field to which array elements belong
field
,
final int
of the array
length
)

as of 3.2, replaced by MathArrays#buildArray(Field, int)

org.apache.commons.math3.linear.ArrayFieldVector(ArrayFieldVector<T>
First vector (will be put in front of the new vector).
v1
,
ArrayFieldVector<T>
Second vector (will be put at back of the new vector).
v2
)

as of 3.2, replaced by ArrayFieldVector(FieldVector, FieldVector)

org.apache.commons.math3.linear.ArrayFieldVector(ArrayFieldVector<T>
First vector (will be put in front of the new vector).
v1
,
T[]
Second vector (will be put at back of the new vector).
v2
)

as of 3.2, replaced by ArrayFieldVector(FieldVector, FieldElement[])

org.apache.commons.math3.linear.ArrayFieldVector(T[]
First vector (will be put in front of the new vector).
v1
,
ArrayFieldVector<T>
Second vector (will be put at back of the new vector).
v2
)

as of 3.2, replaced by ArrayFieldVector(FieldElement[], FieldVector)

org.apache.commons.math3.linear.EigenDecomposition(final RealMatrix
Matrix to decompose.
matrix
,
final double
Dummy parameter (present for backward compatibility only).
splitTolerance
)

in 3.1 (to be removed in 4.0) due to unused parameter

org.apache.commons.math3.linear.EigenDecomposition(final double[]
Main diagonal of the symmetric tridiagonal form.
main
,
final double[]
Secondary of the tridiagonal form.
secondary
,
final double
Dummy parameter (present for backward compatibility only).
splitTolerance
)

in 3.1 (to be removed in 4.0) due to unused parameter

Returns:

T array of entries
org.apache.commons.math3.linear.FieldVector.getData
()

as of 3.1, to be removed in 4.0. Please use the toArray() method instead.

Returns:

the dot product of this vector with v.
org.apache.commons.math3.linear.OpenMapRealVector.dotProduct
(OpenMapRealVector
Vector.
v
)

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.SparseFieldVector.getData()

as of 3.1, to be removed in 4.0. Please use the toArray() method instead.

org.apache.commons.math3.ml.neuralnet.sofm.util.QuasiSigmoidDecayFunction.sigmoid

Deprecated as a consequence of Logistic being deprecated. See corresponding docs for further information.

Returns:

evaluations counter
org.apache.commons.math3.ode.AbstractIntegrator.getEvaluationsCounter
()

as of 3.6 replaced with getCounter()

org.apache.commons.math3.ode.MultistepIntegrator.NordsieckTransformer

as of 3.6 this unused interface is deprecated

Returns:

number of steps of the method (excluding the one being computed)
org.apache.commons.math3.ode.nonstiff.AdamsNordsieckTransformer.getNSteps
()

as of 3.6, this method is not used anymore

org.apache.commons.math3.optim.AbstractOptimizationProblem.getEvaluationCounter()

Deprecated as a consequence of Incrementor being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optim.AbstractOptimizationProblem.getIterationCounter()

Deprecated as a consequence of Incrementor being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optim.BaseOptimizer.evaluations

Deprecated as a consequence of Incrementor being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optim.BaseOptimizer.iterations

Deprecated as a consequence of Incrementor being deprecated. See corresponding docs for further information.

Returns:

a counter for the evaluations.
org.apache.commons.math3.optim.OptimizationProblem.getEvaluationCounter
()

Deprecated as a consequence of Incrementor being deprecated. See corresponding docs for further information.

Returns:

a counter for the evaluations.
org.apache.commons.math3.optim.OptimizationProblem.getIterationCounter
()

Deprecated as a consequence of Incrementor being deprecated. See corresponding docs for further information.

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.optim.nonlinear.scalar.gradient.NonLinearConjugateGradientOptimizer(final NonLinearConjugateGradientOptimizer.Formula
formula to use for updating the β parameter, must be one of Formula#FLETCHER_REEVES or Formula#POLAK_RIBIERE.
updateFormula
,
ConvergenceChecker<PointValuePair>
Convergence checker.
checker
,
final UnivariateSolver
Solver to use during line search.
lineSearchSolver
)

as of 3.3. Please use NonLinearConjugateGradientOptimizer(Formula, ConvergenceChecker, double, double, double) instead.

org.apache.commons.math3.optim.nonlinear.scalar.gradient.NonLinearConjugateGradientOptimizer(final NonLinearConjugateGradientOptimizer.Formula
formula to use for updating the β parameter, must be one of Formula#FLETCHER_REEVES or Formula#POLAK_RIBIERE.
updateFormula
,
ConvergenceChecker<PointValuePair>
Convergence checker.
checker
,
final UnivariateSolver
Solver to use during line search.
lineSearchSolver
,
final Preconditioner
Preconditioner.
preconditioner
)

as of 3.3. Please use NonLinearConjugateGradientOptimizer(Formula, ConvergenceChecker, double, double, double, Preconditioner) instead.

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.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.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.optim.nonlinear.vector.MultiStartMultivariateVectorOptimizer(final MultivariateVectorOptimizer
Single-start optimizer to wrap.
optimizer
,
final int
Number of starts to perform. If starts == 1, the result will be same as if optimizer is called directly.
starts
,
final RandomVectorGenerator
Random vector generator to use for restarts.
generator
)

Deprecated as a consequence of MultivariateVectorOptimizer being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optim.nonlinear.vector.MultiStartMultivariateVectorOptimizer.optimizer

Deprecated as a consequence of MultivariateVectorOptimizer being deprecated. See corresponding docs for further information.

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.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.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).

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.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.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.AbstractConvergenceChecker<
Type of (point, value) pair.
PAIR
>

As of 3.1 (to be removed in 4.0).

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.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.BaseMultivariateMultiStartOptimizer<
Type of the objective function to be optimized.
FUNC extends MultivariateFunction
>

As of 3.1 (to be removed in 4.0).

org.apache.commons.math3.optimization.BaseMultivariateMultiStartOptimizer(final BaseMultivariateOptimizer<FUNC>
Single-start optimizer to wrap.
optimizer
,
final int
Number of starts to perform. If starts == 1, the optimize will return the same solution as optimizer would.
starts
,
final RandomVectorGenerator
Random vector generator to use for restarts.
generator
)

Deprecated as a consequence of BaseMultivariateOptimizer being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.BaseMultivariateMultiStartOptimizer.getConvergenceChecker()

Deprecated as a consequence of ConvergenceChecker being deprecated. See corresponding docs for further information.

Returns:

an array containing the optima.
org.apache.commons.math3.optimization.BaseMultivariateMultiStartOptimizer.getOptima
()

Deprecated as a consequence of PointValuePair being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.BaseMultivariateMultiStartOptimizer.optima

Deprecated as a consequence of PointValuePair being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.BaseMultivariateMultiStartOptimizer.optimize(int
Maximum number of function evaluations.
maxEval
,
final FUNC
Objective function.
f
,
final GoalType
Type of optimization goal: either GoalType#MAXIMIZE or GoalType#MINIMIZE.
goal
,
double[]
Start point for optimization.
startPoint
)

Deprecated as a consequence of GoalType and PointValuePair being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.BaseMultivariateMultiStartOptimizer.optimizer

Deprecated as a consequence of BaseMultivariateOptimizer being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.BaseMultivariateMultiStartOptimizer.sortPairs(final GoalType
Goal type.
goal
)

Deprecated as a consequence of GoalType being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.BaseMultivariateOptimizer<
Type of the objective function to be optimized.
FUNC extends MultivariateFunction
>

As of 3.1 (to be removed in 4.0).

Returns:

the point/value pair giving the optimal value for objective function.
org.apache.commons.math3.optimization.BaseMultivariateOptimizer.optimize
(int
Maximum number of function evaluations.
maxEval
,
FUNC
Objective function.
f
,
GoalType
Type of optimization goal: either GoalType#MAXIMIZE or GoalType#MINIMIZE.
goalType
,
double[]
Start point for optimization.
startPoint
)

As of 3.1. In 4.0, it will be replaced by the declaration corresponding to this method.

org.apache.commons.math3.optimization.BaseMultivariateSimpleBoundsOptimizer<
Type of the objective function to be optimized.
FUNC extends MultivariateFunction
>

As of 3.1 (to be removed in 4.0).

Returns:

the point/value pair giving the optimal value for objective function.
org.apache.commons.math3.optimization.BaseMultivariateSimpleBoundsOptimizer.optimize
(int
Maximum number of function evaluations.
maxEval
,
FUNC
Objective function.
f
,
GoalType
Type of optimization goal: either GoalType#MAXIMIZE or GoalType#MINIMIZE.
goalType
,
double[]
Start point for optimization.
startPoint
,
double[]
Lower bound for each of the parameters.
lowerBound
,
double[]
Upper bound for each of the parameters.
upperBound
)

Deprecated as a consequence of GoalType and PointValuePair being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.BaseMultivariateVectorMultiStartOptimizer<
Type of the objective function to be optimized.
FUNC extends MultivariateVectorFunction
>

As of 3.1 (to be removed in 4.0).

org.apache.commons.math3.optimization.BaseMultivariateVectorMultiStartOptimizer(final BaseMultivariateVectorOptimizer<FUNC>
Single-start optimizer to wrap.
optimizer
,
final int
Number of starts to perform. If starts == 1, the optimize will return the same solution as optimizer would.
starts
,
final RandomVectorGenerator
Random vector generator to use for restarts.
generator
)

Deprecated as a consequence of BaseMultivariateVectorOptimizer being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.BaseMultivariateVectorMultiStartOptimizer.getConvergenceChecker()

Deprecated as a consequence of ConvergenceChecker being deprecated. See corresponding docs for further information.

Returns:

array containing the optima
org.apache.commons.math3.optimization.BaseMultivariateVectorMultiStartOptimizer.getOptima
()

Deprecated as a consequence of PointVectorValuePair being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.BaseMultivariateVectorMultiStartOptimizer.optima

Deprecated as a consequence of PointVectorValuePair being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.BaseMultivariateVectorMultiStartOptimizer.optimize(int
Maximum number of function evaluations.
maxEval
,
final FUNC
Objective function.
f
,
double[]
Target value for the objective functions at optimum.
target
,
double[]
Weights for the least squares cost computation.
weights
,
double[]
Start point for optimization.
startPoint
)

Deprecated as a consequence of PointVectorValuePair being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.BaseMultivariateVectorMultiStartOptimizer.optimizer

Deprecated as a consequence of BaseMultivariateVectorOptimizer being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.BaseMultivariateVectorOptimizer<
Type of the objective function to be optimized.
FUNC extends MultivariateVectorFunction
>

As of 3.1 (to be removed in 4.0).

Returns:

the point/value pair giving the optimal value for objective function.
org.apache.commons.math3.optimization.BaseMultivariateVectorOptimizer.optimize
(int
Maximum number of function evaluations.
maxEval
,
FUNC
Objective function.
f
,
double[]
Target value for the objective functions at optimum.
target
,
double[]
Weights for the least squares cost computation.
weight
,
double[]
Start point for optimization.
startPoint
)

As of 3.1. In 4.0, this will be replaced by the declaration corresponding to this method.

org.apache.commons.math3.optimization.BaseOptimizer<
Type of the point/objective pair.
PAIR
>

As of 3.1 (to be removed in 4.0).

Returns:

the object used to check for convergence.
org.apache.commons.math3.optimization.BaseOptimizer.getConvergenceChecker
()

Deprecated as a consequence of ConvergenceChecker being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.ConvergenceChecker<
Type of the (point, objective value) pair.
PAIR
>

As of 3.1 (to be removed in 4.0).

org.apache.commons.math3.optimization.DifferentiableMultivariateMultiStartOptimizer(final DifferentiableMultivariateOptimizer
Single-start optimizer to wrap.
optimizer
,
final int
Number of starts to perform (including the first one), multi-start is disabled if value is less than or equal to 1.
starts
,
final RandomVectorGenerator
Random vector generator to use for restarts.
generator
)

Deprecated as a consequence of DifferentiableMultivariateOptimizer being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.DifferentiableMultivariateVectorMultiStartOptimizer(final DifferentiableMultivariateVectorOptimizer
Single-start optimizer to wrap.
optimizer
,
final int
Number of starts to perform (including the first one), multi-start is disabled if value is less than or equal to 1.
starts
,
final RandomVectorGenerator
Random vector generator to use for restarts.
generator
)

Deprecated as a consequence of DifferentiableMultivariateVectorOptimizer being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.GoalType

As of 3.1 (to be removed in 4.0).

org.apache.commons.math3.optimization.GoalType.MAXIMIZE

Deprecated as a consequence of GoalType being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.GoalType.MINIMIZE

Deprecated as a consequence of GoalType being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.GoalType.valueOf(String name)

Deprecated as a consequence of GoalType being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.GoalType.values()

Deprecated as a consequence of GoalType being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.InitialGuess

As of 3.1 (to be removed in 4.0).

org.apache.commons.math3.optimization.MultivariateDifferentiableMultiStartOptimizer(final MultivariateDifferentiableOptimizer
Single-start optimizer to wrap.
optimizer
,
final int
Number of starts to perform (including the first one), multi-start is disabled if value is less than or equal to 1.
starts
,
final RandomVectorGenerator
Random vector generator to use for restarts.
generator
)

Deprecated as a consequence of MultivariateDifferentiableOptimizer being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.MultivariateDifferentiableVectorMultiStartOptimizer(final MultivariateDifferentiableVectorOptimizer
Single-start optimizer to wrap.
optimizer
,
final int
Number of starts to perform (including the first one), multi-start is disabled if value is less than or equal to 1.
starts
,
final RandomVectorGenerator
Random vector generator to use for restarts.
generator
)

Deprecated as a consequence of MultivariateDifferentiableVectorOptimizer being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.MultivariateMultiStartOptimizer(final MultivariateOptimizer
Single-start optimizer to wrap.
optimizer
,
final int
Number of starts to perform (including the first one), multi-start is disabled if value is less than or equal to 1.
starts
,
final RandomVectorGenerator
Random vector generator to use for restarts.
generator
)

Deprecated as a consequence of MultivariateOptimizer being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.SimpleBounds

As of 3.1 (to be removed in 4.0).

org.apache.commons.math3.optimization.SimplePointChecker<
Type of the (point, value) pair. The type of the "value" part of the pair (not used by this class).
PAIR extends Pair<double[], ? extends Object>
>

As of 3.1 (to be removed in 4.0).

Returns:

true if the algorithm has converged.
org.apache.commons.math3.optimization.SimpleValueChecker.converged
(final int
Index of current iteration
iteration
,
final PointValuePair
Best point in the previous iteration.
previous
,
final PointValuePair
Best point in the current iteration.
current
)

Deprecated as a consequence of PointValuePair being deprecated. See corresponding docs for further information.

Returns:

true if the arguments satify the convergence criterion.
org.apache.commons.math3.optimization.SimpleVectorValueChecker.converged
(final int
Index of current iteration
iteration
,
final PointVectorValuePair
Best point in the previous iteration.
previous
,
final PointVectorValuePair
Best point in the current iteration.
current
)

Deprecated as a consequence of PointVectorValuePair being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.Target

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).

Returns:

the point at location index.
org.apache.commons.math3.optimization.direct.AbstractSimplex.getPoint
(int
Location.
index
)

Deprecated as a consequence of PointValuePair being deprecated. See corresponding docs for further information.

Returns:

all the simplex points.
org.apache.commons.math3.optimization.direct.AbstractSimplex.getPoints
()

Deprecated as a consequence of PointValuePair being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.direct.AbstractSimplex.replaceWorstPoint(PointValuePair
Point to insert.
pointValuePair
,
final Comparator<PointValuePair>
Comparator to use for sorting the simplex vertices from best to worst.
comparator
)

Deprecated as a consequence of PointValuePair being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.direct.AbstractSimplex.setPoint(int
Location.
index
,
PointValuePair
New value.
point
)

Deprecated as a consequence of PointValuePair being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.direct.AbstractSimplex.setPoints(PointValuePair[]
New Points.
points
)

Deprecated as a consequence of PointValuePair being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.direct.AbstractSimplex.simplex

Deprecated as a consequence of PointValuePair being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.doOptimize()

Deprecated as a consequence of PointValuePair being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.direct.BaseAbstractMultivariateOptimizer<
Type of the objective function to be optimized.
FUNC extends MultivariateFunction
>

As of 3.1 (to be removed in 4.0).

org.apache.commons.math3.optimization.direct.BaseAbstractMultivariateOptimizer(ConvergenceChecker<PointValuePair>
Convergence checker.
checker
)

Deprecated as a consequence of ConvergenceChecker being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.direct.BaseAbstractMultivariateOptimizer.checker

Deprecated as a consequence of ConvergenceChecker being deprecated. See corresponding docs for further information.

Returns:

the point/value pair giving the optimal value of the objective function.
org.apache.commons.math3.optimization.direct.BaseAbstractMultivariateOptimizer.doOptimize
()

Deprecated as a consequence of PointValuePair being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.direct.BaseAbstractMultivariateOptimizer.evaluations

Deprecated as a consequence of Incrementor being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.direct.BaseAbstractMultivariateOptimizer.getConvergenceChecker()

Deprecated as a consequence of ConvergenceChecker being deprecated. See corresponding docs for further information.

Returns:

the optimization type.
org.apache.commons.math3.optimization.direct.BaseAbstractMultivariateOptimizer.getGoalType
()

Deprecated as a consequence of GoalType being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.direct.BaseAbstractMultivariateOptimizer.goal

Deprecated as a consequence of GoalType being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.direct.BaseAbstractMultivariateOptimizer.optimize(int
Maximum number of function evaluations.
maxEval
,
FUNC
Objective function.
f
,
GoalType
Type of optimization goal: either GoalType#MAXIMIZE or GoalType#MINIMIZE.
goalType
,
double[]
Start point for optimization.
startPoint
)

As of 3.1. Please use optimize(int, MultivariateFunction, GoalType, OptimizationData[]) instead.

Returns:

the point/value pair giving the optimal value of the objective function.
org.apache.commons.math3.optimization.direct.BaseAbstractMultivariateOptimizer.optimize
(int
Allowed number of evaluations of the objective function.
maxEval
,
FUNC
Objective function.
f
,
GoalType
Optimization type.
goalType
,
OptimizationData...
Optimization data. The following data will be looked for:
optData
)

Deprecated as a consequence of GoalType, OptimizationData and PointValuePair being deprecated. See corresponding docs for further information.

Returns:

the point/value pair giving the optimal value for objective function.
org.apache.commons.math3.optimization.direct.BaseAbstractMultivariateOptimizer.optimizeInternal
(int
Maximum number of function evaluations.
maxEval
,
FUNC
Objective function.
f
,
GoalType
Type of optimization goal: either GoalType#MAXIMIZE or GoalType#MINIMIZE.
goalType
,
double[]
Start point for optimization.
startPoint
)

As of 3.1. Please use optimize(int, MultivariateFunction, GoalType, OptimizationData[]) instead.

Returns:

the point/value pair giving the optimal value of the objective function.
org.apache.commons.math3.optimization.direct.BaseAbstractMultivariateOptimizer.optimizeInternal
(int
Allowed number of evaluations of the objective function.
maxEval
,
FUNC
Objective function.
f
,
GoalType
Optimization type.
goalType
,
OptimizationData...
Optimization data. The following data will be looked for:
optData
)

Deprecated as a consequence of GoalType, OptimizationData and PointValuePair being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.direct.BaseAbstractMultivariateOptimizer.parseOptimizationData(OptimizationData...
Optimization data. The following data will be looked for:
optData
)

Deprecated as a consequence of OptimizationData being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.direct.BaseAbstractMultivariateSimpleBoundsOptimizer<
Type of the objective function to be optimized.
FUNC extends MultivariateFunction
>

As of 3.1 since the base class contains similar functionality.

org.apache.commons.math3.optimization.direct.BaseAbstractMultivariateSimpleBoundsOptimizer(ConvergenceChecker<PointValuePair>
Convergence checker.
checker
)

Deprecated as a consequence of ConvergenceChecker being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.direct.BaseAbstractMultivariateSimpleBoundsOptimizer.optimize(int
Maximum number of function evaluations.
maxEval
,
FUNC
Objective function.
f
,
GoalType
Type of optimization goal: either GoalType#MAXIMIZE or GoalType#MINIMIZE.
goalType
,
double[]
Start point for optimization.
startPoint
)

Deprecated as a consequence of GoalType and PointValuePair being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.direct.BaseAbstractMultivariateSimpleBoundsOptimizer.optimize(int
Maximum number of function evaluations.
maxEval
,
FUNC
Objective function.
f
,
GoalType
Type of optimization goal: either GoalType#MAXIMIZE or GoalType#MINIMIZE.
goalType
,
double[]
Start point for optimization.
startPoint
,
double[]
Lower bound for each of the parameters.
lower
,
double[]
Upper bound for each of the parameters.
upper
)

Deprecated as a consequence of GoalType and PointValuePair being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.direct.BaseAbstractMultivariateVectorOptimizer<
the type of the objective function to be optimized
FUNC extends MultivariateVectorFunction
>

As of 3.1 (to be removed in 4.0).

org.apache.commons.math3.optimization.direct.BaseAbstractMultivariateVectorOptimizer(ConvergenceChecker<PointVectorValuePair>
Convergence checker.
checker
)

Deprecated as a consequence of ConvergenceChecker being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.direct.BaseAbstractMultivariateVectorOptimizer.checker

Deprecated as a consequence of ConvergenceChecker being deprecated. See corresponding docs for further information.

Returns:

the point/value pair giving the optimal value for the objective function.
org.apache.commons.math3.optimization.direct.BaseAbstractMultivariateVectorOptimizer.doOptimize
()

Deprecated as a consequence of PointVectorValuePair being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.direct.BaseAbstractMultivariateVectorOptimizer.evaluations

Deprecated as a consequence of Incrementor being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.direct.BaseAbstractMultivariateVectorOptimizer.getConvergenceChecker()

Deprecated as a consequence of ConvergenceChecker being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.direct.BaseAbstractMultivariateVectorOptimizer.optimize(int
Maximum number of function evaluations.
maxEval
,
FUNC
Objective function.
f
,
double[]
Target value for the objective functions at optimum.
t
,
double[]
Weights for the least squares cost computation.
w
,
double[]
Start point for optimization.
startPoint
)

As of 3.1. Please use optimize(int, MultivariateVectorFunction, OptimizationData[]) instead.

Returns:

the point/value pair giving the optimal value of the objective function.
org.apache.commons.math3.optimization.direct.BaseAbstractMultivariateVectorOptimizer.optimize
(int
Allowed number of evaluations of the objective function.
maxEval
,
FUNC
Objective function.
f
,
OptimizationData...
Optimization data. The following data will be looked for:
optData
)

Deprecated as a consequence of OptimizationData and PointVectorValuePair being deprecated. See corresponding docs for further information.

Returns:

the point/value pair giving the optimal value for objective function.
org.apache.commons.math3.optimization.direct.BaseAbstractMultivariateVectorOptimizer.optimizeInternal
(final int
Maximum number of function evaluations.
maxEval
,
final FUNC
Objective function.
f
,
final double[]
Target value for the objective functions at optimum.
t
,
final double[]
Weights for the least squares cost computation.
w
,
final double[]
Start point for optimization.
startPoint
)

As of 3.1. Please use optimizeInternal(int, MultivariateVectorFunction, OptimizationData[]) instead.

Returns:

the point/value pair giving the optimal value of the objective function.
org.apache.commons.math3.optimization.direct.BaseAbstractMultivariateVectorOptimizer.optimizeInternal
(int
Allowed number of evaluations of the objective function.
maxEval
,
FUNC
Objective function.
f
,
OptimizationData...
Optimization data. The following data will be looked for:
optData
)

Deprecated as a consequence of OptimizationData and PointVectorValuePair being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.direct.BaseAbstractMultivariateVectorOptimizer.parseOptimizationData(OptimizationData...
Optimization data. The following data will be looked for:
optData
)

Deprecated as a consequence of OptimizationData being deprecated. See corresponding docs for further information.

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
Population size.
lambda
)

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
Population size.
lambda
,
double[]
Initial standard deviations to sample new points around the initial guess.
inputSigma
)

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
Population size.
lambda
,
double[]
Initial standard deviations to sample new points around the initial guess.
inputSigma
,
int
Maximal number of iterations.
maxIterations
,
double
Whether to stop if objective function value is smaller than stopFitness.
stopFitness
,
boolean
Chooses the covariance matrix update method.
isActiveCMA
,
int
Number of initial iterations, where the covariance matrix remains diagonal.
diagonalOnly
,
int
Determines how often new random objective variables are generated in case they are out of bounds.
checkFeasableCount
,
RandomGenerator
Random generator.
random
,
boolean
Whether statistic data is collected.
generateStatistics
)

See SimpleValueChecker#SimpleValueChecker()

org.apache.commons.math3.optimization.direct.CMAESOptimizer(int
Population size.
lambda
,
double[]
Initial standard deviations to sample new points around the initial guess.
inputSigma
,
int
Maximal number of iterations.
maxIterations
,
double
Whether to stop if objective function value is smaller than stopFitness.
stopFitness
,
boolean
Chooses the covariance matrix update method.
isActiveCMA
,
int
Number of initial iterations, where the covariance matrix remains diagonal.
diagonalOnly
,
int
Determines how often new random objective variables are generated in case they are out of bounds.
checkFeasableCount
,
RandomGenerator
Random generator.
random
,
boolean
Whether statistic data is collected.
generateStatistics
,
ConvergenceChecker<PointValuePair>
Convergence checker.
checker
)

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
Maximal number of iterations.
maxIterations
,
double
Whether to stop if objective function value is smaller than stopFitness.
stopFitness
,
boolean
Chooses the covariance matrix update method.
isActiveCMA
,
int
Number of initial iterations, where the covariance matrix remains diagonal.
diagonalOnly
,
int
Determines how often new random objective variables are generated in case they are out of bounds.
checkFeasableCount
,
RandomGenerator
Random generator.
random
,
boolean
Whether statistic data is collected.
generateStatistics
,
ConvergenceChecker<PointValuePair>
Convergence checker.
checker
)

Deprecated as a consequence of ConvergenceChecker being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.direct.CMAESOptimizer.PopulationSize

Deprecated as a consequence of OptimizationData being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.direct.CMAESOptimizer.Sigma

Deprecated as a consequence of OptimizationData being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.direct.CMAESOptimizer.doOptimize()

Deprecated as a consequence of PointValuePair being deprecated. See corresponding docs for further information.

Returns:

the point/value pair giving the optimal value for objective function.
org.apache.commons.math3.optimization.direct.CMAESOptimizer.optimizeInternal
(int
Allowed number of evaluations of the objective function.
maxEval
,
MultivariateFunction
Objective function.
f
,
GoalType
Optimization type.
goalType
,
OptimizationData...
Optimization data. The following data will be looked for:
optData
)

Deprecated as a consequence of GoalType, OptimizationData and PointValuePair being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.direct.CMAESOptimizer.parseOptimizationData(OptimizationData...
Optimization data. The following data will be looked for:
optData
)

Deprecated as a consequence of OptimizationData being deprecated. See corresponding docs for further information.

Returns:

the best point in the transformed simplex.
org.apache.commons.math3.optimization.direct.MultiDirectionalSimplex.evaluateNewSimplex
(final MultivariateFunction
Evaluation function.
evaluationFunction
,
final PointValuePair[]
Original simplex (to be preserved).
original
,
final double
Linear coefficient.
coeff
,
final Comparator<PointValuePair>
Comparator to use to sort simplex vertices from best to poorest.
comparator
)

Deprecated as a consequence of PointValuePair being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.direct.PowellOptimizer.LineSearch

Deprecated as a consequence of BrentOptimizer being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.direct.PowellOptimizer.LineSearch.bracket

Deprecated as a consequence of BracketFinder being deprecated. See corresponding docs for further information.

Returns:

the optimum.
org.apache.commons.math3.optimization.direct.PowellOptimizer.LineSearch.search
(final double[]
Starting point.
p
,
final double[]
Search direction.
d
)

Deprecated as a consequence of UnivariatePointValuePair being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.direct.PowellOptimizer(double
Relative threshold.
rel
,
double
Absolute threshold.
abs
,
ConvergenceChecker<PointValuePair>
Convergence checker.
checker
)

Deprecated as a consequence of ConvergenceChecker being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.direct.PowellOptimizer(double
Relative threshold for this optimizer.
rel
,
double
Absolute threshold for this optimizer.
abs
,
double
Relative threshold for the internal line search optimizer.
lineRel
,
double
Absolute threshold for the internal line search optimizer.
lineAbs
,
ConvergenceChecker<PointValuePair>
Convergence checker.
checker
)

Deprecated as a consequence of ConvergenceChecker being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.direct.PowellOptimizer.doOptimize()

Deprecated as a consequence of PointValuePair being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.direct.PowellOptimizer.line

Deprecated as a consequence of PowellOptimizer.LineSearch being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.direct.SimplexOptimizer(ConvergenceChecker<PointValuePair>
Convergence checker.
checker
)

Deprecated as a consequence of ConvergenceChecker being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.direct.SimplexOptimizer.doOptimize()

Deprecated as a consequence of PointValuePair being deprecated. See corresponding docs for further information.

Returns:

the point/value pair giving the optimal value for objective function.
org.apache.commons.math3.optimization.direct.SimplexOptimizer.optimizeInternal
(int
Allowed number of evaluations of the objective function.
maxEval
,
MultivariateFunction
Objective function.
f
,
GoalType
Optimization type.
goalType
,
OptimizationData...
Optimization data. The following data will be looked for:
optData
)

Deprecated as a consequence of GoalType, OptimizationData and PointValuePair being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.direct.SimplexOptimizer.parseOptimizationData(OptimizationData...
Optimization data. The following data will be looked for:
optData
)

Deprecated as a consequence of OptimizationData being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.direct.SimplexOptimizer.simplex

Deprecated as a consequence of AbstractSimplex being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.fitting.CurveFitter<
Function to use for the fit.
T extends ParametricUnivariateFunction
>

As of 3.1 (to be removed in 4.0).

org.apache.commons.math3.optimization.fitting.CurveFitter(final MultivariateDifferentiableVectorOptimizer
optimizer to use for the fitting
optimizer
)

Deprecated as a consequence of MultivariateDifferentiableVectorOptimizer being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.fitting.CurveFitter.addObservedPoint(WeightedObservedPoint
observed point to add
observed
)

Deprecated as a consequence of WeightedObservedPoint being deprecated. See corresponding docs for further information.

Returns:

observed points
org.apache.commons.math3.optimization.fitting.CurveFitter.getObservations
()

Deprecated as a consequence of WeightedObservedPoint being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.fitting.CurveFitter.optimizer

Deprecated as a consequence of MultivariateDifferentiableVectorOptimizer being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.fitting.GaussianFitter(DifferentiableMultivariateVectorOptimizer
Optimizer to use for the fitting.
optimizer
)

Deprecated as a consequence of DifferentiableMultivariateVectorOptimizer being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.fitting.GaussianFitter.ParameterGuesser(WeightedObservedPoint[]
Observed points from which to guess the parameters of the Gaussian.
observations
)

Deprecated as a consequence of WeightedObservedPoint being deprecated. See corresponding docs for further information.

Returns:

the guessed parameters (normalization factor, mean and sigma).
org.apache.commons.math3.optimization.fitting.GaussianFitter.ParameterGuesser.basicGuess
(WeightedObservedPoint[]
Observed points, sorted.
points
)

Deprecated as a consequence of WeightedObservedPoint being deprecated. See corresponding docs for further information.

Returns:

the index in specified points array.
org.apache.commons.math3.optimization.fitting.GaussianFitter.ParameterGuesser.findMaxY
(WeightedObservedPoint[]
Points to search.
points
)

Deprecated as a consequence of WeightedObservedPoint being deprecated. See corresponding docs for further information.

Returns:

the array containing two points suitable for determining X at the specified Y.
org.apache.commons.math3.optimization.fitting.GaussianFitter.ParameterGuesser.getInterpolationPointsForY
(WeightedObservedPoint[]
Points to use for interpolation.
points
,
int
Index within points from which to start search for interpolation bounds points.
startIdx
,
int
Index step for search for interpolation bounds points.
idxStep
,
double
Y value for which X should be determined.
y
)

Deprecated as a consequence of WeightedObservedPoint being deprecated. See corresponding docs for further information.

Returns:

the value of X for the specified Y.
org.apache.commons.math3.optimization.fitting.GaussianFitter.ParameterGuesser.interpolateXAtY
(WeightedObservedPoint[]
Points to use for interpolation.
points
,
int
Index within points from which to start the search for interpolation bounds points.
startIdx
,
int
Index step for searching interpolation bounds points.
idxStep
,
double
Y value for which X should be determined.
y
)

Deprecated as a consequence of WeightedObservedPoint being deprecated. See corresponding docs for further information.

Returns:

the input observations, sorted.
org.apache.commons.math3.optimization.fitting.GaussianFitter.ParameterGuesser.sortObservations
(WeightedObservedPoint[]
Input observations.
unsorted
)

Deprecated as a consequence of WeightedObservedPoint being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.fitting.HarmonicFitter(final DifferentiableMultivariateVectorOptimizer
Optimizer to use for the fitting.
optimizer
)

Deprecated as a consequence of DifferentiableMultivariateVectorOptimizer being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.fitting.HarmonicFitter.ParameterGuesser(WeightedObservedPoint[]
Sampled observations.
observations
)

Deprecated as a consequence of WeightedObservedPoint being deprecated. See corresponding docs for further information.

Returns:

the guessed amplitude (at index 0) and circular frequency (at index 1).
org.apache.commons.math3.optimization.fitting.HarmonicFitter.ParameterGuesser.guessAOmega
(WeightedObservedPoint[]
Observations, sorted w.r.t. abscissa.
observations
)

Deprecated as a consequence of WeightedObservedPoint being deprecated. See corresponding docs for further information.

Returns:

the guessed phase.
org.apache.commons.math3.optimization.fitting.HarmonicFitter.ParameterGuesser.guessPhi
(WeightedObservedPoint[]
Observations, sorted w.r.t. abscissa.
observations
)

Deprecated as a consequence of WeightedObservedPoint being deprecated. See corresponding docs for further information.

Returns:

the input observations, sorted.
org.apache.commons.math3.optimization.fitting.HarmonicFitter.ParameterGuesser.sortObservations
(WeightedObservedPoint[]
Input observations.
unsorted
)

Deprecated as a consequence of WeightedObservedPoint being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.fitting.PolynomialFitter(int
Maximal degree of the polynomial.
degree
,
final DifferentiableMultivariateVectorOptimizer
Optimizer to use for the fitting.
optimizer
)

Since 3.1 (to be removed in 4.0). Please use PolynomialFitter(DifferentiableMultivariateVectorOptimizer) instead.

org.apache.commons.math3.optimization.fitting.PolynomialFitter(DifferentiableMultivariateVectorOptimizer
Optimizer to use for the fitting.
optimizer
)

Deprecated as a consequence of DifferentiableMultivariateVectorOptimizer being deprecated. See corresponding docs for further information.

Returns:

the coefficients of the polynomial that best fits the observed points.
org.apache.commons.math3.optimization.fitting.PolynomialFitter.fit
()

Since 3.1 (to be removed in 4.0). Please use fit(double[]) instead.

org.apache.commons.math3.optimization.general.AbstractDifferentiableOptimizer(ConvergenceChecker<PointValuePair>
Convergence checker.
checker
)

Deprecated as a consequence of ConvergenceChecker being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.general.AbstractDifferentiableOptimizer.optimizeInternal(final int
Maximum number of function evaluations.
maxEval
,
final MultivariateDifferentiableFunction
Objective function.
f
,
final GoalType
Type of optimization goal: either GoalType#MAXIMIZE or GoalType#MINIMIZE.
goalType
,
final double[]
Start point for optimization.
startPoint
)

In 3.1. Please use optimizeInternal(int, MultivariateDifferentiableFunction, GoalType, OptimizationData[]) instead.

org.apache.commons.math3.optimization.general.AbstractDifferentiableOptimizer.optimizeInternal(final int
Allowed number of evaluations of the objective function.
maxEval
,
final MultivariateDifferentiableFunction
Objective function.
f
,
final GoalType
Optimization type.
goalType
,
final OptimizationData...
Optimization data. The following data will be looked for:
optData
)

Deprecated as a consequence of GoalType, OptimizationData and PointValuePair being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.general.AbstractLeastSquaresOptimizer(ConvergenceChecker<PointVectorValuePair>
Convergence checker.
checker
)

Deprecated as a consequence of ConvergenceChecker being deprecated. See corresponding docs for further information.

Returns:

the covariance matrix.
org.apache.commons.math3.optimization.general.AbstractLeastSquaresOptimizer.getCovariances
(double
Singularity threshold.
threshold
)

As of 3.1. Please use computeCovariances(double[], double) instead.

Returns:

an estimate of the standard deviation of the optimized parameters
org.apache.commons.math3.optimization.general.AbstractLeastSquaresOptimizer.guessParametersErrors
()

as of version 3.1, computeSigma(double[], double) should be used instead. It should be emphasized that guessParametersErrors and computeSigma are not strictly equivalent.

org.apache.commons.math3.optimization.general.AbstractLeastSquaresOptimizer.optimize(int
Maximum number of function evaluations.
maxEval
,
final DifferentiableMultivariateVectorFunction
Objective function.
f
,
final double[]
Target value for the objective functions at optimum.
target
,
final double[]
Weights for the least squares cost computation.
weights
,
final double[]
Start point for optimization.
startPoint
)

As of 3.1. Please use optimize(int,MultivariateDifferentiableVectorFunction,OptimizationData...) instead.

Returns:

the point/value pair giving the optimal value for objective function.
org.apache.commons.math3.optimization.general.AbstractLeastSquaresOptimizer.optimize
(final int
Maximum number of function evaluations.
maxEval
,
final MultivariateDifferentiableVectorFunction
Objective function.
f
,
final double[]
Target value for the objective functions at optimum.
target
,
final double[]
Weights for the least squares cost computation.
weights
,
final double[]
Start point for optimization.
startPoint
)

As of 3.1. Please use optimize(int,MultivariateDifferentiableVectorFunction,OptimizationData...) instead.

Returns:

the point/value pair giving the optimal value of the objective function.
org.apache.commons.math3.optimization.general.AbstractLeastSquaresOptimizer.optimizeInternal
(final int
Allowed number of evaluations of the objective function.
maxEval
,
final MultivariateDifferentiableVectorFunction
Objective function.
f
,
OptimizationData...
Optimization data. The following data will be looked for:
optData
)

As of 3.1. Override is necessary only until this class's generic argument is changed to MultivariateDifferentiableVectorFunction.

org.apache.commons.math3.optimization.general.AbstractScalarDifferentiableOptimizer(ConvergenceChecker<PointValuePair>
Convergence checker.
checker
)

Deprecated as a consequence of ConvergenceChecker being deprecated. See corresponding docs for further information.

Returns:

the point/value pair giving the optimal value for objective function.
org.apache.commons.math3.optimization.general.AbstractScalarDifferentiableOptimizer.optimize
(final int
Maximum number of function evaluations.
maxEval
,
final MultivariateDifferentiableFunction
Objective function.
f
,
final GoalType
Type of optimization goal: either GoalType#MAXIMIZE or GoalType#MINIMIZE.
goalType
,
final double[]
Start point for optimization.
startPoint
)

Deprecated as a consequence of GoalType and PointValuePair being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.general.AbstractScalarDifferentiableOptimizer.optimizeInternal(int
Maximum number of function evaluations.
maxEval
,
final DifferentiableMultivariateFunction
Objective function.
f
,
final GoalType
Type of optimization goal: either GoalType#MAXIMIZE or GoalType#MINIMIZE.
goalType
,
final double[]
Start point for optimization.
startPoint
)

Deprecated as a consequence of DifferentiableMultivariateFunction, GoalType and PointValuePair being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.general.ConjugateGradientFormula.FLETCHER_REEVES

Deprecated as a consequence of ConjugateGradientFormula being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.general.ConjugateGradientFormula.POLAK_RIBIERE

Deprecated as a consequence of ConjugateGradientFormula being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.general.ConjugateGradientFormula.valueOf(String name)

Deprecated as a consequence of ConjugateGradientFormula being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.general.ConjugateGradientFormula.values()

Deprecated as a consequence of ConjugateGradientFormula being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.general.GaussNewtonOptimizer(ConvergenceChecker<PointVectorValuePair>
Convergence checker.
checker
)

Deprecated as a consequence of ConvergenceChecker being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.general.GaussNewtonOptimizer(final boolean
If true, the normal equations will be solved using LU decomposition, otherwise they will be solved using QR decomposition.
useLU
)

See SimpleVectorValueChecker#SimpleVectorValueChecker()

org.apache.commons.math3.optimization.general.GaussNewtonOptimizer(final boolean
If true, the normal equations will be solved using LU decomposition, otherwise they will be solved using QR decomposition.
useLU
,
ConvergenceChecker<PointVectorValuePair>
Convergence checker.
checker
)

Deprecated as a consequence of ConvergenceChecker being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.general.GaussNewtonOptimizer.doOptimize()

Deprecated as a consequence of PointVectorValuePair being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.general.LevenbergMarquardtOptimizer(ConvergenceChecker<PointVectorValuePair>
Convergence checker.
checker
)

Deprecated as a consequence of ConvergenceChecker being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.general.LevenbergMarquardtOptimizer(double
Positive input variable used in determining the initial step bound. This bound is set to the product of initialStepBoundFactor and the euclidean norm of diag * x if non-zero, or else to initialStepBoundFactor itself. In most cases factor should lie in the interval (0.1, 100.0). 100 is a generally recommended value.
initialStepBoundFactor
,
ConvergenceChecker<PointVectorValuePair>
Convergence checker.
checker
,
double
Desired relative error in the sum of squares.
costRelativeTolerance
,
double
Desired relative error in the approximate solution parameters.
parRelativeTolerance
,
double
Desired max cosine on the orthogonality between the function vector and the columns of the Jacobian.
orthoTolerance
,
double
Desired threshold for QR ranking. If the squared norm of a column vector is smaller or equal to this threshold during QR decomposition, it is considered to be a zero vector and hence the rank of the matrix is reduced.
threshold
)

Deprecated as a consequence of ConvergenceChecker being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.general.LevenbergMarquardtOptimizer.doOptimize()

Deprecated as a consequence of PointVectorValuePair being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.general.NonLinearConjugateGradientOptimizer.IdentityPreconditioner

Deprecated as a consequence of Preconditioner being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.general.NonLinearConjugateGradientOptimizer(final ConjugateGradientFormula
formula to use for updating the β parameter, must be one of ConjugateGradientFormula#FLETCHER_REEVES or ConjugateGradientFormula#POLAK_RIBIERE.
updateFormula
,
ConvergenceChecker<PointValuePair>
Convergence checker.
checker
)

Deprecated as a consequence of ConjugateGradientFormula and ConvergenceChecker being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.general.NonLinearConjugateGradientOptimizer(final ConjugateGradientFormula
formula to use for updating the β parameter, must be one of ConjugateGradientFormula#FLETCHER_REEVES or ConjugateGradientFormula#POLAK_RIBIERE.
updateFormula
,
ConvergenceChecker<PointValuePair>
Convergence checker.
checker
,
final UnivariateSolver
Solver to use during line search.
lineSearchSolver
)

Deprecated as a consequence of ConjugateGradientFormula and ConvergenceChecker being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.general.NonLinearConjugateGradientOptimizer(final ConjugateGradientFormula
formula to use for updating the β parameter, must be one of ConjugateGradientFormula#FLETCHER_REEVES or ConjugateGradientFormula#POLAK_RIBIERE.
updateFormula
,
ConvergenceChecker<PointValuePair>
Convergence checker.
checker
,
final UnivariateSolver
Solver to use during line search.
lineSearchSolver
,
final Preconditioner
Preconditioner.
preconditioner
)

Deprecated as a consequence of ConjugateGradientFormula, ConvergenceChecker and Preconditioner being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.general.NonLinearConjugateGradientOptimizer.doOptimize()

Deprecated as a consequence of PointValuePair being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.general.NonLinearConjugateGradientOptimizer.preconditioner

Deprecated as a consequence of Preconditioner being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.general.NonLinearConjugateGradientOptimizer.updateFormula

Deprecated as a consequence of ConjugateGradientFormula being deprecated. See corresponding docs for further information.

Returns:

the point/value pair giving the optimal value for objective function
org.apache.commons.math3.optimization.linear.AbstractLinearOptimizer.doOptimize
()

Deprecated as a consequence of PointValuePair being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.linear.AbstractLinearOptimizer.function

Deprecated as a consequence of LinearObjectiveFunction being deprecated. See corresponding docs for further information.

Returns:

the optimization type.
org.apache.commons.math3.optimization.linear.AbstractLinearOptimizer.getFunction
()

Deprecated as a consequence of LinearObjectiveFunction being deprecated. See corresponding docs for further information.

Returns:

the optimization type.
org.apache.commons.math3.optimization.linear.AbstractLinearOptimizer.getGoalType
()

Deprecated as a consequence of GoalType being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.linear.AbstractLinearOptimizer.goal

Deprecated as a consequence of GoalType being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.linear.AbstractLinearOptimizer.optimize(final LinearObjectiveFunction
linear objective function
f
,
final Collection<LinearConstraint>
linear constraints
constraints
,
final GoalType
type of optimization goal: either GoalType#MAXIMIZE or GoalType#MINIMIZE
goalType
,
final boolean
whether to restrict the variables to non-negative values
restrictToNonNegative
)

Deprecated as a consequence of LinearObjectiveFunction, GoalType and PointValuePair being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.linear.LinearConstraint(final double[]
The coefficients of the constraint (left hand side)
coefficients
,
final Relationship
The type of (in)equality used in the constraint
relationship
,
final double
The value of the constraint (right hand side)
value
)

Deprecated as a consequence of Relationship being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.linear.LinearConstraint(final RealVector
The coefficients of the constraint (left hand side)
coefficients
,
final Relationship
The type of (in)equality used in the constraint
relationship
,
final double
The value of the constraint (right hand side)
value
)

Deprecated as a consequence of Relationship being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.linear.LinearConstraint(final double[]
The coefficients of the linear expression on the left hand side of the constraint
lhsCoefficients
,
final double
The constant term of the linear expression on the left hand side of the constraint
lhsConstant
,
final Relationship
The type of (in)equality used in the constraint
relationship
,
final double[]
The coefficients of the linear expression on the right hand side of the constraint
rhsCoefficients
,
final double
The constant term of the linear expression on the right hand side of the constraint
rhsConstant
)

Deprecated as a consequence of Relationship being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.linear.LinearConstraint(final RealVector
The coefficients of the linear expression on the left hand side of the constraint
lhsCoefficients
,
final double
The constant term of the linear expression on the left hand side of the constraint
lhsConstant
,
final Relationship
The type of (in)equality used in the constraint
relationship
,
final RealVector
The coefficients of the linear expression on the right hand side of the constraint
rhsCoefficients
,
final double
The constant term of the linear expression on the right hand side of the constraint
rhsConstant
)

Deprecated as a consequence of Relationship being deprecated. See corresponding docs for further information.

Returns:

relationship between left and right hand sides
org.apache.commons.math3.optimization.linear.LinearConstraint.getRelationship
()

Deprecated as a consequence of Relationship being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.linear.LinearConstraint.relationship

Deprecated as a consequence of Relationship being deprecated. See corresponding docs for further information.

Returns:

point/value pair giving the optimal value for objective function
org.apache.commons.math3.optimization.linear.LinearOptimizer.optimize
(LinearObjectiveFunction
linear objective function
f
,
Collection<LinearConstraint>
linear constraints
constraints
,
GoalType
type of optimization goal: either GoalType#MAXIMIZE or GoalType#MINIMIZE
goalType
,
boolean
whether to restrict the variables to non-negative values
restrictToNonNegative
)

Deprecated as a consequence of LinearObjectiveFunction, GoalType and PointValuePair being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.linear.Relationship.EQ

Deprecated as a consequence of Relationship being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.linear.Relationship.GEQ

Deprecated as a consequence of Relationship being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.linear.Relationship.LEQ

Deprecated as a consequence of Relationship being deprecated. See corresponding docs for further information.

Returns:

relationship obtained when multiplying all coefficients by -1
org.apache.commons.math3.optimization.linear.Relationship.oppositeRelationship
()

Deprecated as a consequence of Relationship being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.linear.Relationship.valueOf(String name)

Deprecated as a consequence of Relationship being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.linear.Relationship.values()

Deprecated as a consequence of Relationship being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.linear.SimplexSolver.doIteration(final SimplexTableau
simple tableau for the problem
tableau
)

Deprecated as a consequence of SimplexTableau being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.linear.SimplexSolver.doOptimize()

Deprecated as a consequence of PointValuePair being deprecated. See corresponding docs for further information.

Returns:

column with the most negative coefficient
org.apache.commons.math3.optimization.linear.SimplexSolver.getPivotColumn
(SimplexTableau
simple tableau for the problem
tableau
)

Deprecated as a consequence of SimplexTableau being deprecated. See corresponding docs for further information.

Returns:

row with the minimum ratio
org.apache.commons.math3.optimization.linear.SimplexSolver.getPivotRow
(SimplexTableau
simple tableau for the problem
tableau
,
final int
the column to test the ratio of. See getPivotColumn(SimplexTableau)
col
)

Deprecated as a consequence of SimplexTableau being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.linear.SimplexSolver.solvePhase1(final SimplexTableau
simple tableau for the problem
tableau
)

Deprecated as a consequence of SimplexTableau being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.linear.SimplexTableau(final LinearObjectiveFunction
linear objective function
f
,
final Collection<LinearConstraint>
linear constraints
constraints
,
final GoalType
type of optimization goal: either GoalType#MAXIMIZE or GoalType#MINIMIZE
goalType
,
final boolean
whether to restrict the variables to non-negative values
restrictToNonNegative
,
final double
amount of error to accept when checking for optimality
epsilon
)

Deprecated as a consequence of LinearObjectiveFunction and GoalType being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.linear.SimplexTableau(final LinearObjectiveFunction
linear objective function
f
,
final Collection<LinearConstraint>
linear constraints
constraints
,
final GoalType
type of optimization goal: either GoalType#MAXIMIZE or GoalType#MINIMIZE
goalType
,
final boolean
whether to restrict the variables to non-negative values
restrictToNonNegative
,
final double
amount of error to accept when checking for optimality
epsilon
,
final int
amount of error to accept in floating point comparisons
maxUlps
)

Deprecated as a consequence of LinearObjectiveFunction and GoalType being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.linear.SimplexTableau.f

Deprecated as a consequence of LinearObjectiveFunction being deprecated. See corresponding docs for further information.

Returns:

number of constraint with the specified relationship
org.apache.commons.math3.optimization.linear.SimplexTableau.getConstraintTypeCounts
(final Relationship
relationship to count
relationship
)

Deprecated as a consequence of Relationship being deprecated. See corresponding docs for further information.

Returns:

current solution
org.apache.commons.math3.optimization.linear.SimplexTableau.getSolution
()

Deprecated as a consequence of PointValuePair being deprecated. See corresponding docs for further information.

Returns:

new equation
org.apache.commons.math3.optimization.linear.SimplexTableau.normalize
(final LinearConstraint
reference constraint
constraint
)

Deprecated as a consequence of LinearConstraint being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.univariate.BaseAbstractUnivariateOptimizer(ConvergenceChecker<UnivariatePointValuePair>
Convergence checking procedure.
checker
)

Deprecated as a consequence of ConvergenceChecker being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.univariate.BaseAbstractUnivariateOptimizer.checker

Deprecated as a consequence of ConvergenceChecker being deprecated. See corresponding docs for further information.

Returns:

the optimum and its corresponding function value.
org.apache.commons.math3.optimization.univariate.BaseAbstractUnivariateOptimizer.doOptimize
()

Deprecated as a consequence of UnivariatePointValuePair being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.univariate.BaseAbstractUnivariateOptimizer.evaluations

Deprecated as a consequence of Incrementor being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.univariate.BaseAbstractUnivariateOptimizer.getConvergenceChecker()

Deprecated as a consequence of ConvergenceChecker being deprecated. See corresponding docs for further information.

Returns:

the optimization type.
org.apache.commons.math3.optimization.univariate.BaseAbstractUnivariateOptimizer.getGoalType
()

Deprecated as a consequence of GoalType being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.univariate.BaseAbstractUnivariateOptimizer.goal

Deprecated as a consequence of GoalType being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.univariate.BaseAbstractUnivariateOptimizer.optimize(int
Maximum number of function evaluations.
maxEval
,
UnivariateFunction
Function to optimize.
f
,
GoalType
Type of optimization goal: either GoalType#MAXIMIZE or GoalType#MINIMIZE.
goalType
,
double
Lower bound for the interval.
min
,
double
Upper bound for the interval.
max
,
double
Start value to use.
startValue
)

Deprecated as a consequence of GoalType and UnivariatePointValuePair being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.univariate.BaseAbstractUnivariateOptimizer.optimize(int
Maximum number of function evaluations.
maxEval
,
UnivariateFunction
Function to optimize.
f
,
GoalType
Type of optimization goal: either GoalType#MAXIMIZE or GoalType#MINIMIZE.
goalType
,
double
Lower bound for the interval.
min
,
double
Upper bound for the interval.
max
)

Deprecated as a consequence of GoalType and UnivariatePointValuePair being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.univariate.BaseUnivariateOptimizer<
Type of the objective function to be optimized.
FUNC extends UnivariateFunction
>

As of 3.1 (to be removed in 4.0).

Returns:

a (point, value) pair where the function is optimum.
org.apache.commons.math3.optimization.univariate.BaseUnivariateOptimizer.optimize
(int
Maximum number of function evaluations.
maxEval
,
FUNC
Function to optimize.
f
,
GoalType
Type of optimization goal: either GoalType#MAXIMIZE or GoalType#MINIMIZE.
goalType
,
double
Lower bound for the interval.
min
,
double
Upper bound for the interval.
max
)

Deprecated as a consequence of GoalType and UnivariatePointValuePair being deprecated. See corresponding docs for further information.

Returns:

a (point, value) pair where the function is optimum.
org.apache.commons.math3.optimization.univariate.BaseUnivariateOptimizer.optimize
(int
Maximum number of function evaluations.
maxEval
,
FUNC
Function to optimize.
f
,
GoalType
Type of optimization goal: either GoalType#MAXIMIZE or GoalType#MINIMIZE.
goalType
,
double
Lower bound for the interval.
min
,
double
Upper bound for the interval.
max
,
double
Start value to use.
startValue
)

Deprecated as a consequence of GoalType and UnivariatePointValuePair being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.univariate.BracketFinder.evaluations

Deprecated as a consequence of Incrementor being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.univariate.BracketFinder.search(UnivariateFunction
Function whose optimum should be bracketed.
func
,
GoalType goal, double
Initial point.
xA
,
double
Initial point.
xB
)

Deprecated as a consequence of GoalType being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.univariate.BrentOptimizer(double
Relative threshold.
rel
,
double
Absolute threshold.
abs
,
ConvergenceChecker<UnivariatePointValuePair>
Additional, user-defined, convergence checking procedure.
checker
)

Deprecated as a consequence of ConvergenceChecker being deprecated. See corresponding docs for further information.

Returns:

the best point, or null if a and b are both null. When a and b have the same function value, a is returned.
org.apache.commons.math3.optimization.univariate.BrentOptimizer.best
(UnivariatePointValuePair
Point and value.
a
,
UnivariatePointValuePair
Point and value.
b
,
boolean
true if the selected point must be the one with the lowest value.
isMinim
)

Deprecated as a consequence of UnivariatePointValuePair being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.univariate.BrentOptimizer.doOptimize()

Deprecated as a consequence of UnivariatePointValuePair being deprecated. See corresponding docs for further information.

Returns:

true if the algorithm has converged.
org.apache.commons.math3.optimization.univariate.SimpleUnivariateValueChecker.converged
(final int
Index of current iteration
iteration
,
final UnivariatePointValuePair
Best point in the previous iteration.
previous
,
final UnivariatePointValuePair
Best point in the current iteration.
current
)

Deprecated as a consequence of UnivariatePointValuePair being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.univariate.UnivariateMultiStartOptimizer<
Type of the objective function to be optimized.
FUNC extends UnivariateFunction
>

As of 3.1 (to be removed in 4.0).

org.apache.commons.math3.optimization.univariate.UnivariateMultiStartOptimizer(final BaseUnivariateOptimizer<FUNC>
Single-start optimizer to wrap.
optimizer
,
final int
Number of starts to perform. If starts == 1, the optimize methods will return the same solution as optimizer would.
starts
,
final RandomGenerator
Random generator to use for restarts.
generator
)

Deprecated as a consequence of BaseUnivariateOptimizer being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.univariate.UnivariateMultiStartOptimizer.getConvergenceChecker()

Deprecated as a consequence of ConvergenceChecker being deprecated. See corresponding docs for further information.

Returns:

an array containing the optima.
org.apache.commons.math3.optimization.univariate.UnivariateMultiStartOptimizer.getOptima
()

Deprecated as a consequence of UnivariatePointValuePair being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.univariate.UnivariateMultiStartOptimizer.optima

Deprecated as a consequence of UnivariatePointValuePair being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.univariate.UnivariateMultiStartOptimizer.optimize(int
Maximum number of function evaluations.
maxEval
,
final FUNC
Function to optimize.
f
,
final GoalType
Type of optimization goal: either GoalType#MAXIMIZE or GoalType#MINIMIZE.
goal
,
final double
Lower bound for the interval.
min
,
final double
Upper bound for the interval.
max
)

Deprecated as a consequence of GoalType and UnivariatePointValuePair being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.univariate.UnivariateMultiStartOptimizer.optimize(int
Maximum number of function evaluations.
maxEval
,
final FUNC
Function to optimize.
f
,
final GoalType
Type of optimization goal: either GoalType#MAXIMIZE or GoalType#MINIMIZE.
goal
,
final double
Lower bound for the interval.
min
,
final double
Upper bound for the interval.
max
,
final double
Start value to use.
startValue
)

Deprecated as a consequence of GoalType and UnivariatePointValuePair being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.univariate.UnivariateMultiStartOptimizer.optimizer

Deprecated as a consequence of BaseUnivariateOptimizer being deprecated. See corresponding docs for further information.

org.apache.commons.math3.optimization.univariate.UnivariateMultiStartOptimizer.sortPairs(final GoalType
Goal type.
goal
)

Deprecated as a consequence of GoalType being deprecated. See corresponding docs for further information.

org.apache.commons.math3.random.EmpiricalDistribution(int
number of bins
binCount
,
RandomDataImpl
random data generator (may be null, resulting in default JDK generator)
randomData
)

As of 3.1. Please use EmpiricalDistribution(int, RandomGenerator) instead.

org.apache.commons.math3.random.EmpiricalDistribution(RandomDataImpl
random data generator (may be null, resulting in default JDK generator)
randomData
)

As of 3.1. Please use EmpiricalDistribution(RandomGenerator) instead.

org.apache.commons.math3.random.EmpiricalDistribution(int
number of bins. Must be strictly positive.
binCount
,
RandomDataGenerator
Random data generator.
randomData
)

Deprecated as a consequence of RandomDataGenerator being deprecated. See corresponding docs for further information.

org.apache.commons.math3.random.EmpiricalDistribution.randomData

Deprecated as a consequence of RandomDataGenerator being deprecated. See corresponding docs for further information.

org.apache.commons.math3.random.RandomDataGenerator

Deprecated as a consequence of RandomData being deprecated.

org.apache.commons.math3.random.RandomDataImpl.delegate

Deprecated as a consequence of RandomDataGenerator being deprecated. See corresponding docs for further information.

Returns:

the delegate object.
org.apache.commons.math3.random.RandomDataImpl.getDelegate
()

To be removed in 4.0.

Returns:

a random value sampled from the given distribution
org.apache.commons.math3.random.RandomDataImpl.nextInversionDeviate
(RealDistribution
Continuous distribution to generate a random value from
distribution
)

use the distribution's sample() method

Returns:

a random value sampled from the given distribution
org.apache.commons.math3.random.RandomDataImpl.nextInversionDeviate
(IntegerDistribution
Integer distribution to generate a random value from
distribution
)

use the distribution's sample() method

org.apache.commons.math3.random.ValueServer(RandomDataImpl
the RandomDataImpl instance used to source random data
randomData
)

use ValueServer(RandomGenerator)

org.apache.commons.math3.random.ValueServer.randomData

Deprecated as a consequence of RandomDataGenerator being deprecated. See corresponding docs for further information.

Returns:

log(B(a, b)).
org.apache.commons.math3.special.Beta.logBeta
(double
Parameter a.
a
,
double
Parameter b.
b
,
double
This parameter is ignored.
epsilon
,
int
This parameter is ignored.
maxIterations
)

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 logBeta(double, double).

org.apache.commons.math3.stat.clustering.Cluster<
the type of points that can be clustered
T extends Clusterable<T>
>

As of 3.2 (to be removed in 4.0), use org.apache.commons.math3.ml.clustering.Cluster instead

org.apache.commons.math3.stat.clustering.Clusterable<
the type of point that can be clustered
T
>

As of 3.2 (to be removed in 4.0), use org.apache.commons.math3.ml.clustering.Clusterable instead

org.apache.commons.math3.stat.clustering.DBSCANClusterer<
type of the points to cluster
T extends Clusterable<T>
>

As of 3.2 (to be removed in 4.0), use org.apache.commons.math3.ml.clustering.DBSCANClusterer instead

Returns:

the expanded cluster
org.apache.commons.math3.stat.clustering.DBSCANClusterer.expandCluster
(final Cluster<T>
Cluster to expand
cluster
,
final T
Point to add to cluster
point
,
final List<T>
List of neighbors
neighbors
,
final Collection<T>
the data set
points
,
final Map<Clusterable<T>, DBSCANClusterer.PointStatus>
the set of already visited points
visited
)

Deprecated as a consequence of Cluster being deprecated. See corresponding docs for further information.

org.apache.commons.math3.stat.clustering.EuclideanDoublePoint.centroidOf(final Collection<EuclideanDoublePoint>
the Collection of points to compute the centroid of
points
)

Deprecated as a consequence of EuclideanDoublePoint being deprecated. See corresponding docs for further information.

org.apache.commons.math3.stat.clustering.EuclideanDoublePoint.distanceFrom(final EuclideanDoublePoint
the point to compute the distance from
p
)

Deprecated as a consequence of EuclideanDoublePoint being deprecated. See corresponding docs for further information.

org.apache.commons.math3.stat.clustering.EuclideanIntegerPoint.centroidOf(final Collection<EuclideanIntegerPoint>
the Collection of points to compute the centroid of
points
)

Deprecated as a consequence of EuclideanIntegerPoint being deprecated. See corresponding docs for further information.

org.apache.commons.math3.stat.clustering.EuclideanIntegerPoint.distanceFrom(final EuclideanIntegerPoint
the point to compute the distance from
p
)

Deprecated as a consequence of EuclideanIntegerPoint being deprecated. See corresponding docs for further information.

org.apache.commons.math3.stat.descriptive.rank.Percentile.copy(final Percentile
Percentile to copy
source
,
final Percentile
Percentile to copy to
dest
)

as of 3.4 this method does not work anymore, as it fails to copy internal states between instances configured with different estimation type, NaN handling strategies and kthSelector, it therefore always throw MathUnsupportedOperationException

Returns:

the index of the median element chosen between the first, the middle and the last element of the array slice
org.apache.commons.math3.stat.descriptive.rank.Percentile.medianOf3
(final double[]
data array
work
,
final int
index of the first element of the slice
begin
,
final int
index after the last element of the slice
end
)

Please refrain from using this method (as it wont take effect) and instead use Percentile#withKthSelector(newKthSelector) if required.

org.apache.commons.math3.stat.ranking.NaturalRanking.randomData

Deprecated as a consequence of RandomDataGenerator being deprecated. See corresponding docs for further information.

Returns:

transform of mdca as a Multi-Dimensional Complex Array, i.e. Complex[][][][]
org.apache.commons.math3.transform.FastFourierTransformer.mdfft
(Object
Multi-Dimensional Complex Array, i.e. Complex[][][][]
mdca
,
TransformType
the type of transform (forward, inverse) to be performed
type
)

see MATH-736

org.apache.commons.math3.transform.FastFourierTransformer.mdfft(FastFourierTransformer.MultiDimensionalComplexMatrix
input matrix
mdcm
,
TransformType
the type of transform (forward, inverse) to be performed
type
,
int
index of the dimension to process
d
,
int[]
recursion subvector
subVector
)

see MATH-736

Returns:

n choose k
org.apache.commons.math3.util.ArithmeticUtils.binomialCoefficient
(final int
the size of the set
n
,
final int
the size of the subsets to be counted
k
)

use CombinatoricsUtils#binomialCoefficient(int, int)

Returns:

n choose k
org.apache.commons.math3.util.ArithmeticUtils.binomialCoefficientDouble
(final int
the size of the set
n
,
final int
the size of the subsets to be counted
k
)

use CombinatoricsUtils#binomialCoefficientDouble(int, int)

Returns:

n choose k
org.apache.commons.math3.util.ArithmeticUtils.binomialCoefficientLog
(final int
the size of the set
n
,
final int
the size of the subsets to be counted
k
)

use CombinatoricsUtils#binomialCoefficientLog(int, int)

Returns:

ke
org.apache.commons.math3.util.ArithmeticUtils.pow
(final int
Number to raise.
k
,
long
Exponent (must be positive or zero).
e
)

As of 3.3. Please use pow(int, int) instead.

Returns:

ke
org.apache.commons.math3.util.ArithmeticUtils.pow
(final long
Number to raise.
k
,
long
Exponent (must be positive or zero).
e
)

As of 3.3. Please use pow(long, int) instead.

Returns:

S(n,k)
org.apache.commons.math3.util.ArithmeticUtils.stirlingS2
(final int
the size of the set
n
,
final int
the number of non-empty subsets
k
)

use CombinatoricsUtils#stirlingS2(int, int)

Returns:

an incrementor wrapping an IntegerSequence.Incrementor
org.apache.commons.math3.util.Incrementor.wrap
(final IntegerSequence.Incrementor incrementor)

Deprecated as a consequence of Incrementor being deprecated. See corresponding docs for further information.

org.apache.commons.math3.util.IterationManager(final int
the maximum number of iterations
maxIterations
,
final Incrementor.MaxCountExceededCallback
the function to be called when the maximum number of iterations has been reached
callBack
)

as of 3.6, replaced with IterationManager(int, org.apache.commons.math3.util.IntegerSequence.Incrementor.MaxCountExceededCallback)

org.apache.commons.math3.util.ResizableDoubleArray(int
Initial size of the internal storage array.
initialCapacity
,
float
The array will be expanded based on this parameter.
expansionFactor
)

As of 3.1. Please use ResizableDoubleArray(int, double) instead.

org.apache.commons.math3.util.ResizableDoubleArray(int
Initial size of the internal storage array..
initialCapacity
,
float
The array will be expanded based on this parameter.
expansionFactor
,
float
Contraction criteria.
contractionCriteria
)

As of 3.1. Please use ResizableDoubleArray(int, double, double) instead.

org.apache.commons.math3.util.ResizableDoubleArray(int
the initial size of the internal storage array
initialCapacity
,
float
the array will be expanded based on this parameter
expansionFactor
,
float
the contraction Criteria
contractionCriteria
,
int
the expansion mode
expansionMode
)

As of 3.1. Please use ResizableDoubleArray(int, double, double, ExpansionMode, double[]) instead.

org.apache.commons.math3.util.ResizableDoubleArray.checkContractExpand(float
criteria to be checked
contraction
,
float
factor to be checked
expansion
)

As of 3.1. Please use checkContractExpand(double, double) instead.

Returns:

the contraction criteria used to reclaim memory.
org.apache.commons.math3.util.ResizableDoubleArray.getContractionCriteria
()

As of 3.1. Please use getContractionCriterion() instead.

Returns:

the expansion factor of this expandable double array
org.apache.commons.math3.util.ResizableDoubleArray.getExpansionFactor
()

As of 3.1. Return type will be changed to "double" in 4.0.

Returns:

the expansion mode.
org.apache.commons.math3.util.ResizableDoubleArray.getExpansionMode
()

As of 3.1. Return value to be changed to ExpansionMode in 4.0.

Returns:

the length of the internal storage array.
org.apache.commons.math3.util.ResizableDoubleArray.getInternalLength
()

As of 3.1. Please use getCapacity() instead.

Returns:

the internal storage array used by this object
org.apache.commons.math3.util.ResizableDoubleArray.getInternalValues
()

As of 3.1.

org.apache.commons.math3.util.ResizableDoubleArray.setContractionCriteria(float
contraction criteria
contractionCriteria
)

As of 3.1 (to be removed in 4.0 as field will become "final").

org.apache.commons.math3.util.ResizableDoubleArray.setExpansionFactor(float
the new expansion factor value.
expansionFactor
)

As of 3.1 (to be removed in 4.0 as field will become "final").

org.apache.commons.math3.util.ResizableDoubleArray.setExpansionMode(int
The expansionMode to set.
expansionMode
)

As of 3.1. Please use setExpansionMode(ExpansionMode) instead.

org.apache.commons.math3.util.ResizableDoubleArray.setExpansionMode(ResizableDoubleArray.ExpansionMode
Expansion mode to use for resizing the array.
expansionMode
)

As of 3.1 (to be removed in 4.0 as field will become "final").

org.apache.commons.math3.util.ResizableDoubleArray.setInitialCapacity(int
of the array
initialCapacity
)

As of 3.1, this is a no-op.

Returns:

the starting index.
org.apache.commons.math3.util.ResizableDoubleArray.start
()

As of 3.1.