Uses of Interface
org.apache.commons.math.analysis.UnivariateRealFunction
Packages that use UnivariateRealFunction
Package
Description
Parent package for common numerical analysis procedures, including root finding,
function interpolation and integration.
Numerical integration (quadrature) algorithms for univariate real functions.
Univariate real functions interpolation algorithms.
Univariate real polynomials implementations, seen as differentiable
univariate real functions.
Root finding algorithms, for univariate real functions.
Linear algebra support.
This package provides common interfaces for the optimization algorithms
provided in sub-packages.
This package provides classes to perform curve fitting.
Univariate real functions minimum finding algorithms.
Implementations of transform methods, including Fast Fourier transforms.
-
Uses of UnivariateRealFunction in org.apache.commons.math.analysis
Subinterfaces of UnivariateRealFunction in org.apache.commons.math.analysisModifier and TypeInterfaceDescriptioninterface
Extension ofUnivariateRealFunction
representing a differentiable univariate real function.Classes in org.apache.commons.math.analysis that implement UnivariateRealFunctionModifier and TypeClassDescriptionclass
Base class forUnivariateRealFunction
that can be composed with other functions.Methods in org.apache.commons.math.analysis that return UnivariateRealFunctionModifier and TypeMethodDescriptionDifferentiableUnivariateRealFunction.derivative()
Returns the derivative of the functionMethods in org.apache.commons.math.analysis with parameters of type UnivariateRealFunctionModifier and TypeMethodDescriptionComposableFunction.add
(UnivariateRealFunction f) Return a function adding the instance and another function.ComposableFunction.combine
(UnivariateRealFunction f, BivariateRealFunction combiner) Return a function combining the instance and another function.ComposableFunction.divide
(UnivariateRealFunction f) Return a function dividing the instance by another function.ComposableFunction.multiply
(UnivariateRealFunction f) Return a function multiplying the instance and another function.ComposableFunction.of
(UnivariateRealFunction f) Precompose the instance with another function.ComposableFunction.postCompose
(UnivariateRealFunction f) Postcompose the instance with another function.ComposableFunction.subtract
(UnivariateRealFunction f) Return a function subtracting another function from the instance. -
Uses of UnivariateRealFunction in org.apache.commons.math.analysis.integration
Fields in org.apache.commons.math.analysis.integration declared as UnivariateRealFunctionModifier and TypeFieldDescriptionprotected UnivariateRealFunction
UnivariateRealIntegratorImpl.f
Deprecated.Methods in org.apache.commons.math.analysis.integration with parameters of type UnivariateRealFunctionModifier and TypeMethodDescriptiondouble
LegendreGaussIntegrator.integrate
(UnivariateRealFunction f, double min, double max) Integrate the function in the given interval.double
RombergIntegrator.integrate
(UnivariateRealFunction f, double min, double max) Integrate the function in the given interval.double
SimpsonIntegrator.integrate
(UnivariateRealFunction f, double min, double max) Integrate the function in the given interval.double
TrapezoidIntegrator.integrate
(UnivariateRealFunction f, double min, double max) Integrate the function in the given interval.double
UnivariateRealIntegrator.integrate
(UnivariateRealFunction f, double min, double max) Integrate the function in the given interval.Constructors in org.apache.commons.math.analysis.integration with parameters of type UnivariateRealFunctionModifierConstructorDescriptionDeprecated.as of 2.0 the integrand function is passed as an argument to theRombergIntegrator.integrate(UnivariateRealFunction, double, double)
method.Deprecated.as of 2.0 the integrand function is passed as an argument to theSimpsonIntegrator.integrate(UnivariateRealFunction, double, double)
method.Deprecated.as of 2.0 the integrand function is passed as an argument to theTrapezoidIntegrator.integrate(UnivariateRealFunction, double, double)
method.protected
UnivariateRealIntegratorImpl
(UnivariateRealFunction f, int defaultMaximalIterationCount) Deprecated.as of 2.0 the integrand function is passed as an argument to theUnivariateRealIntegrator.integrate(UnivariateRealFunction, double, double)
method. -
Uses of UnivariateRealFunction in org.apache.commons.math.analysis.interpolation
Methods in org.apache.commons.math.analysis.interpolation that return UnivariateRealFunctionModifier and TypeMethodDescriptionUnivariateRealInterpolator.interpolate
(double[] xval, double[] yval) Computes an interpolating function for the data set. -
Uses of UnivariateRealFunction in org.apache.commons.math.analysis.polynomials
Classes in org.apache.commons.math.analysis.polynomials that implement UnivariateRealFunctionModifier and TypeClassDescriptionclass
Immutable representation of a real polynomial function with real coefficients.class
Implements the representation of a real polynomial function in Lagrange Form.class
Implements the representation of a real polynomial function in Newton Form.class
Represents a polynomial spline function.Methods in org.apache.commons.math.analysis.polynomials that return UnivariateRealFunctionModifier and TypeMethodDescriptionPolynomialFunction.derivative()
Returns the derivative as a UnivariateRealFunctionPolynomialSplineFunction.derivative()
Returns the derivative of the polynomial spline function as a UnivariateRealFunction -
Uses of UnivariateRealFunction in org.apache.commons.math.analysis.solvers
Fields in org.apache.commons.math.analysis.solvers declared as UnivariateRealFunctionModifier and TypeFieldDescriptionprotected UnivariateRealFunction
UnivariateRealSolverImpl.f
Deprecated.as of 2.0 the function to solve is passed as an argument to theUnivariateRealSolver.solve(UnivariateRealFunction, double, double)
orUnivariateRealSolver.solve(UnivariateRealFunction, double, double, double)
method.Methods in org.apache.commons.math.analysis.solvers with parameters of type UnivariateRealFunctionModifier and TypeMethodDescriptionstatic double[]
UnivariateRealSolverUtils.bracket
(UnivariateRealFunction function, double initial, double lowerBound, double upperBound) This method attempts to find two values a and b satisfyinglowerBound <= a < initial < b <= upperBound
f(a) * f(b) < 0
If f is continuous on[a,b],
this means thata
andb
bracket a root of f.static double[]
UnivariateRealSolverUtils.bracket
(UnivariateRealFunction function, double initial, double lowerBound, double upperBound, int maximumIterations) This method attempts to find two values a and b satisfyinglowerBound <= a < initial < b <= upperBound
f(a) * f(b) <= 0
If f is continuous on[a,b],
this means thata
andb
bracket a root of f.protected boolean
UnivariateRealSolverImpl.isBracketing
(double lower, double upper, UnivariateRealFunction function) Deprecated.Returns true iff the function takes opposite signs at the endpoints.double
BisectionSolver.solve
(int maxEval, UnivariateRealFunction f, double min, double max) Solve for a zero root in the given interval.double
BisectionSolver.solve
(int maxEval, UnivariateRealFunction f, double min, double max, double initial) Solve for a zero in the given interval, start at startValue.double
BisectionSolver.solve
(UnivariateRealFunction f, double min, double max) Deprecated.in 2.2 (to be removed in 3.0).double
BisectionSolver.solve
(UnivariateRealFunction f, double min, double max, double initial) Deprecated.in 2.2 (to be removed in 3.0).double
BrentSolver.solve
(int maxEval, UnivariateRealFunction f, double min, double max) Find a zero in the given interval.double
BrentSolver.solve
(int maxEval, UnivariateRealFunction f, double min, double max, double initial) Find a zero in the given interval with an initial guess.double
BrentSolver.solve
(UnivariateRealFunction f, double min, double max) Deprecated.in 2.2 (to be removed in 3.0).double
BrentSolver.solve
(UnivariateRealFunction f, double min, double max, double initial) Deprecated.in 2.2 (to be removed in 3.0).double
LaguerreSolver.solve
(int maxEval, UnivariateRealFunction f, double min, double max) Find a real root in the given interval.double
LaguerreSolver.solve
(int maxEval, UnivariateRealFunction f, double min, double max, double initial) Find a real root in the given interval with initial value.double
LaguerreSolver.solve
(UnivariateRealFunction f, double min, double max) Deprecated.in 2.2 (to be removed in 3.0).double
LaguerreSolver.solve
(UnivariateRealFunction f, double min, double max, double initial) Deprecated.in 2.2 (to be removed in 3.0).double
MullerSolver.solve
(int maxEval, UnivariateRealFunction f, double min, double max) Find a real root in the given interval.double
MullerSolver.solve
(int maxEval, UnivariateRealFunction f, double min, double max, double initial) Find a real root in the given interval with initial value.double
MullerSolver.solve
(UnivariateRealFunction f, double min, double max) Deprecated.in 2.2 (to be removed in 3.0).double
MullerSolver.solve
(UnivariateRealFunction f, double min, double max, double initial) Deprecated.in 2.2 (to be removed in 3.0).double
NewtonSolver.solve
(int maxEval, UnivariateRealFunction f, double min, double max) Find a zero near the midpoint ofmin
andmax
.double
NewtonSolver.solve
(int maxEval, UnivariateRealFunction f, double min, double max, double startValue) Find a zero near the valuestartValue
.double
NewtonSolver.solve
(UnivariateRealFunction f, double min, double max) Deprecated.in 2.2 (to be removed in 3.0).double
NewtonSolver.solve
(UnivariateRealFunction f, double min, double max, double startValue) Deprecated.in 2.2 (to be removed in 3.0).double
RiddersSolver.solve
(int maxEval, UnivariateRealFunction f, double min, double max) Find a root in the given interval.double
RiddersSolver.solve
(int maxEval, UnivariateRealFunction f, double min, double max, double initial) Find a root in the given interval with initial value.double
RiddersSolver.solve
(UnivariateRealFunction f, double min, double max) Deprecated.in 2.2 (to be removed in 3.0).double
RiddersSolver.solve
(UnivariateRealFunction f, double min, double max, double initial) Deprecated.in 2.2 (to be removed in 3.0).double
SecantSolver.solve
(int maxEval, UnivariateRealFunction f, double min, double max) Find a zero in the given interval.double
SecantSolver.solve
(int maxEval, UnivariateRealFunction f, double min, double max, double initial) Find a zero in the given interval.double
SecantSolver.solve
(UnivariateRealFunction f, double min, double max) Deprecated.in 2.2 (to be removed in 3.0).double
SecantSolver.solve
(UnivariateRealFunction f, double min, double max, double initial) Deprecated.in 2.2 (to be removed in 3.0).double
UnivariateRealSolver.solve
(UnivariateRealFunction f, double min, double max) Deprecated.in 2.2 (to be removed in 3.0).double
UnivariateRealSolver.solve
(UnivariateRealFunction f, double min, double max, double startValue) Deprecated.in 2.2 (to be removed in 3.0).double
UnivariateRealSolverImpl.solve
(int maxEval, UnivariateRealFunction function, double min, double max) Deprecated.Solve for a zero root in the given interval.double
UnivariateRealSolverImpl.solve
(int maxEval, UnivariateRealFunction function, double min, double max, double startValue) Deprecated.Solve for a zero in the given interval, start at startValue.static double
UnivariateRealSolverUtils.solve
(UnivariateRealFunction f, double x0, double x1) Convenience method to find a zero of a univariate real function.static double
UnivariateRealSolverUtils.solve
(UnivariateRealFunction f, double x0, double x1, double absoluteAccuracy) Convenience method to find a zero of a univariate real function.double
MullerSolver.solve2
(UnivariateRealFunction f, double min, double max) Deprecated.in 2.2 (to be removed in 3.0).protected void
UnivariateRealSolverImpl.verifyBracketing
(double lower, double upper, UnivariateRealFunction function) Deprecated.Verifies that the endpoints specify an interval and the function takes opposite signs at the endpoints, throws IllegalArgumentException if notConstructors in org.apache.commons.math.analysis.solvers with parameters of type UnivariateRealFunctionModifierConstructorDescriptionDeprecated.as of 2.0 the function to solve is passed as an argument to theBisectionSolver.solve(UnivariateRealFunction, double, double)
orUnivariateRealSolver.solve(UnivariateRealFunction, double, double, double)
method.Deprecated.as of 2.0 the function to solve is passed as an argument to theBrentSolver.solve(UnivariateRealFunction, double, double)
orUnivariateRealSolver.solve(UnivariateRealFunction, double, double, double)
method.Deprecated.as of 2.0 the function to solve is passed as an argument to theLaguerreSolver.solve(UnivariateRealFunction, double, double)
orUnivariateRealSolver.solve(UnivariateRealFunction, double, double, double)
method.Deprecated.as of 2.0 the function to solve is passed as an argument to theMullerSolver.solve(UnivariateRealFunction, double, double)
orUnivariateRealSolver.solve(UnivariateRealFunction, double, double, double)
method.Deprecated.as of 2.0 the function to solve is passed as an argument to theRiddersSolver.solve(UnivariateRealFunction, double, double)
orUnivariateRealSolver.solve(UnivariateRealFunction, double, double, double)
method.Deprecated.as of 2.0 the function to solve is passed as an argument to theSecantSolver.solve(UnivariateRealFunction, double, double)
orUnivariateRealSolver.solve(UnivariateRealFunction, double, double, double)
method.protected
UnivariateRealSolverImpl
(UnivariateRealFunction f, int defaultMaximalIterationCount, double defaultAbsoluteAccuracy) Deprecated.as of 2.0 the function to solve is passed as an argument to theUnivariateRealSolver.solve(UnivariateRealFunction, double, double)
orUnivariateRealSolver.solve(UnivariateRealFunction, double, double, double)
method. -
Uses of UnivariateRealFunction in org.apache.commons.math.linear
Methods in org.apache.commons.math.linear with parameters of type UnivariateRealFunctionModifier and TypeMethodDescriptionAbstractRealVector.map
(UnivariateRealFunction function) Acts as if implemented as:RealVector.map
(UnivariateRealFunction function) Acts as if implemented as:AbstractRealVector.mapToSelf
(UnivariateRealFunction function) Acts as if it is implemented as:RealVector.mapToSelf
(UnivariateRealFunction function) Acts as if it is implemented as: -
Uses of UnivariateRealFunction in org.apache.commons.math.optimization
Methods in org.apache.commons.math.optimization with parameters of type UnivariateRealFunctionModifier and TypeMethodDescriptiondouble
MultiStartUnivariateRealOptimizer.optimize
(UnivariateRealFunction f, GoalType goalType, double min, double max) Find an optimum in the given interval.double
MultiStartUnivariateRealOptimizer.optimize
(UnivariateRealFunction f, GoalType goalType, double min, double max, double startValue) Find an optimum in the given interval, start at startValue.double
UnivariateRealOptimizer.optimize
(UnivariateRealFunction f, GoalType goalType, double min, double max) Find an optimum in the given interval.double
UnivariateRealOptimizer.optimize
(UnivariateRealFunction f, GoalType goalType, double min, double max, double startValue) Find an optimum in the given interval, start at startValue. -
Uses of UnivariateRealFunction in org.apache.commons.math.optimization.fitting
Classes in org.apache.commons.math.optimization.fitting that implement UnivariateRealFunctionModifier and TypeClassDescriptionclass
The derivative ofGaussianFunction
.class
A Gaussian function.class
Harmonic function of the formf (t) = a cos (ω t + φ)
.Methods in org.apache.commons.math.optimization.fitting that return UnivariateRealFunctionModifier and TypeMethodDescriptionGaussianFunction.derivative()
Returns the derivative of the function -
Uses of UnivariateRealFunction in org.apache.commons.math.optimization.univariate
Methods in org.apache.commons.math.optimization.univariate with parameters of type UnivariateRealFunctionModifier and TypeMethodDescriptionprotected double
AbstractUnivariateRealOptimizer.computeObjectiveValue
(UnivariateRealFunction f, double point) Deprecated.in 2.2.double
AbstractUnivariateRealOptimizer.optimize
(UnivariateRealFunction f, GoalType goal, double min, double max) Find an optimum in the given interval.double
AbstractUnivariateRealOptimizer.optimize
(UnivariateRealFunction f, GoalType goal, double min, double max, double startValue) Find an optimum in the given interval, start at startValue.void
BracketFinder.search
(UnivariateRealFunction func, GoalType goal, double xA, double xB) Search new points that bracket a local optimum of the function. -
Uses of UnivariateRealFunction in org.apache.commons.math.transform
Methods in org.apache.commons.math.transform with parameters of type UnivariateRealFunctionModifier and TypeMethodDescriptiondouble[]
FastCosineTransformer.inversetransform
(UnivariateRealFunction f, double min, double max, int n) Inversely transform the given real function, sampled on the given interval.Complex[]
FastFourierTransformer.inversetransform
(UnivariateRealFunction f, double min, double max, int n) Inversely transform the given real function, sampled on the given interval.double[]
FastHadamardTransformer.inversetransform
(UnivariateRealFunction f, double min, double max, int n) Inversely transform the given real function, sampled on the given interval.double[]
FastSineTransformer.inversetransform
(UnivariateRealFunction f, double min, double max, int n) Inversely transform the given real function, sampled on the given interval.double[]
RealTransformer.inversetransform
(UnivariateRealFunction f, double min, double max, int n) Inversely transform the given real function, sampled on the given interval.double[]
FastCosineTransformer.inversetransform2
(UnivariateRealFunction f, double min, double max, int n) Inversely transform the given real function, sampled on the given interval.Complex[]
FastFourierTransformer.inversetransform2
(UnivariateRealFunction f, double min, double max, int n) Inversely transform the given real function, sampled on the given interval.double[]
FastSineTransformer.inversetransform2
(UnivariateRealFunction f, double min, double max, int n) Inversely transform the given real function, sampled on the given interval.static double[]
FastFourierTransformer.sample
(UnivariateRealFunction f, double min, double max, int n) Sample the given univariate real function on the given interval.double[]
FastCosineTransformer.transform
(UnivariateRealFunction f, double min, double max, int n) Transform the given real function, sampled on the given interval.Complex[]
FastFourierTransformer.transform
(UnivariateRealFunction f, double min, double max, int n) Transform the given real function, sampled on the given interval.double[]
FastHadamardTransformer.transform
(UnivariateRealFunction f, double min, double max, int n) Transform the given real function, sampled on the given interval.double[]
FastSineTransformer.transform
(UnivariateRealFunction f, double min, double max, int n) Transform the given real function, sampled on the given interval.double[]
RealTransformer.transform
(UnivariateRealFunction f, double min, double max, int n) Transform the given real function, sampled on the given interval.double[]
FastCosineTransformer.transform2
(UnivariateRealFunction f, double min, double max, int n) Transform the given real function, sampled on the given interval.Complex[]
FastFourierTransformer.transform2
(UnivariateRealFunction f, double min, double max, int n) Transform the given real function, sampled on the given interval.double[]
FastSineTransformer.transform2
(UnivariateRealFunction f, double min, double max, int n) Transform the given real function, sampled on the given interval.
UnivariateRealIntegrator.integrate(UnivariateRealFunction, double, double)
method.