Uses of Interface
org.hipparchus.analysis.UnivariateFunction
Packages that use UnivariateFunction
Package
Description
Parent package for common numerical analysis procedures, including root finding,
function interpolation and integration.
This package holds the main interfaces and basic building block classes
dealing with differentiation.
The
function package contains function objects that wrap the
methods contained in Math, as well as common
mathematical functions such as the gaussian and sinc functions.Numerical integration (quadrature) algorithms for univariate real functions.
Gauss family of quadrature schemes.
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.
Events
One-dimensional optimization algorithms.
Implementations of special functions such as Beta and Gamma.
Implementations of transform methods, including Fast Fourier transforms.
-
Uses of UnivariateFunction in org.hipparchus.analysis
Methods in org.hipparchus.analysis that return UnivariateFunctionModifier and TypeMethodDescriptionstatic UnivariateFunctionFunctionUtils.add(UnivariateFunction... f) Adds functions.static UnivariateFunctionFunctionUtils.combine(BivariateFunction combiner, UnivariateFunction f, UnivariateFunction g) Returns the univariate functionh(x) = combiner(f(x), g(x)).static UnivariateFunctionFunctionUtils.compose(UnivariateFunction... f) Composes functions.static UnivariateFunctionFunctionUtils.derivative(UnivariateDifferentiableFunction f, int order) Convert anUnivariateDifferentiableFunctionto anUnivariateFunctioncomputing nth order derivative.static UnivariateFunctionFunctionUtils.fix1stArgument(BivariateFunction f, double fixed) Creates a unary function by fixing the first argument of a binary function.static UnivariateFunctionFunctionUtils.fix2ndArgument(BivariateFunction f, double fixed) Creates a unary function by fixing the second argument of a binary function.static UnivariateFunctionFunctionUtils.multiply(UnivariateFunction... f) Multiplies functions.Methods in org.hipparchus.analysis with parameters of type UnivariateFunctionModifier and TypeMethodDescriptionstatic UnivariateFunctionFunctionUtils.add(UnivariateFunction... f) Adds functions.static MultivariateFunctionFunctionUtils.collector(BivariateFunction combiner, UnivariateFunction f, double initialValue) Returns a MultivariateFunction h(x[]) defined bystatic UnivariateFunctionFunctionUtils.combine(BivariateFunction combiner, UnivariateFunction f, UnivariateFunction g) Returns the univariate functionh(x) = combiner(f(x), g(x)).static UnivariateFunctionFunctionUtils.compose(UnivariateFunction... f) Composes functions.static UnivariateFunctionFunctionUtils.multiply(UnivariateFunction... f) Multiplies functions.static double[]FunctionUtils.sample(UnivariateFunction f, double min, double max, int n) Samples the specified univariate real function on the specified interval.FunctionUtils.toDifferentiable(UnivariateFunction f, UnivariateFunction... derivatives) Convert regular functions toUnivariateDifferentiableFunction. -
Uses of UnivariateFunction in org.hipparchus.analysis.differentiation
Subinterfaces of UnivariateFunction in org.hipparchus.analysis.differentiationModifier and TypeInterfaceDescriptioninterfaceInterface for univariate functions derivatives.Methods in org.hipparchus.analysis.differentiation with parameters of type UnivariateFunctionModifier and TypeMethodDescriptionFiniteDifferencesDifferentiator.differentiate(UnivariateFunction function) Create an implementation of adifferentialfrom a regularfunction.UnivariateFunctionDifferentiator.differentiate(UnivariateFunction function) Create an implementation of adifferentialfrom a regularfunction. -
Uses of UnivariateFunction in org.hipparchus.analysis.function
Classes in org.hipparchus.analysis.function that implement UnivariateFunctionModifier and TypeClassDescriptionclassAbsolute value function.classArc-cosine function.classHyperbolic arc-cosine function.classArc-sine function.classHyperbolic arc-sine function.classArc-tangent function.classHyperbolic arc-tangent function.classCube root function.classceilfunction.classConstant function.classCosine function.classHyperbolic cosine function.classExponential function.classex-1function.classfloorfunction.classGaussian function.classsimple harmonic oscillator function.classIdentity function.classInverse function.classNatural logarithm function.classBase 10 logarithm function.classlog(1 + p)function.classGeneralised logistic function.classLogit function.classMinus function.classPower function.classrintfunction.classSigmoid function.classSine function.classSinc function, defined byclassHyperbolic sine function.classSquare-root function.classclassTangent function.classHyperbolic tangent function.classulpfunction. -
Uses of UnivariateFunction in org.hipparchus.analysis.integration
Methods in org.hipparchus.analysis.integration with parameters of type UnivariateFunctionModifier and TypeMethodDescriptiondoubleBaseAbstractUnivariateIntegrator.integrate(int maxEval, UnivariateFunction f, double lower, double upper) Integrate the function in the given interval.doubleUnivariateIntegrator.integrate(int maxEval, UnivariateFunction f, double min, double max) Integrate the function in the given interval.protected voidBaseAbstractUnivariateIntegrator.setup(int maxEval, UnivariateFunction f, double lower, double upper) Prepare for computation. -
Uses of UnivariateFunction in org.hipparchus.analysis.integration.gauss
Methods in org.hipparchus.analysis.integration.gauss with parameters of type UnivariateFunctionModifier and TypeMethodDescriptionprotected double[]AbstractRuleFactory.findRoots(int n, UnivariateFunction ratioEvaluator) Computes roots of the associated orthogonal polynomials.doubleGaussIntegrator.integrate(UnivariateFunction f) Returns an estimate of the integral off(x) * w(x), wherewis a weight function that depends on the actual flavor of the Gauss integration scheme.doubleSymmetricGaussIntegrator.integrate(UnivariateFunction f) Returns an estimate of the integral off(x) * w(x), wherewis a weight function that depends on the actual flavor of the Gauss integration scheme. -
Uses of UnivariateFunction in org.hipparchus.analysis.interpolation
Methods in org.hipparchus.analysis.interpolation that return UnivariateFunctionModifier and TypeMethodDescriptionUnivariateInterpolator.interpolate(double[] xval, double[] yval) Compute an interpolating function for the dataset.UnivariatePeriodicInterpolator.interpolate(double[] xval, double[] yval) Compute an interpolating function for the dataset. -
Uses of UnivariateFunction in org.hipparchus.analysis.polynomials
Classes in org.hipparchus.analysis.polynomials that implement UnivariateFunctionModifier and TypeClassDescriptionclassImmutable representation of a real polynomial function with real coefficients.classImplements the representation of a real polynomial function in Lagrange Form.classImplements the representation of a real polynomial function in Newton Form.classRepresents a polynomial spline function.static classSpecific smoothstep function that cannot be built using theSmoothStepFactory.getGeneralOrder(int).static classSmoothstep function as defined here. -
Uses of UnivariateFunction in org.hipparchus.analysis.solvers
Classes in org.hipparchus.analysis.solvers with type parameters of type UnivariateFunctionModifier and TypeClassDescriptionclassBaseAbstractUnivariateSolver<F extends UnivariateFunction>Provide a default implementation for several functions useful to generic solvers.interfaceBaseUnivariateSolver<F extends UnivariateFunction>Interface for (univariate real) rootfinding algorithms.interfaceBracketedUnivariateSolver<F extends UnivariateFunction>Interface for(univariate real) root-finding algorithmsthat maintain a bracketed solution.Methods in org.hipparchus.analysis.solvers with parameters of type UnivariateFunctionModifier and TypeMethodDescriptionstatic double[]UnivariateSolverUtils.bracket(UnivariateFunction function, double initial, double lowerBound, double upperBound) This method simply callsbracket(function, initial, lowerBound, upperBound, q, r, maximumIterations)withqandrset to 1.0 andmaximumIterationsset toInteger.MAX_VALUE.static double[]UnivariateSolverUtils.bracket(UnivariateFunction function, double initial, double lowerBound, double upperBound, double q, double r, int maximumIterations) This method attempts to find two values a and b satisfyinglowerBound <= a < initial < b <= upperBoundf(a) * f(b) <= 0Iffis continuous on[a,b], this means thataandbbracket a root off.static double[]UnivariateSolverUtils.bracket(UnivariateFunction function, double initial, double lowerBound, double upperBound, int maximumIterations) This method simply callsbracket(function, initial, lowerBound, upperBound, q, r, maximumIterations)withqandrset to 1.0.static doubleUnivariateSolverUtils.forceSide(int maxEval, UnivariateFunction f, BracketedUnivariateSolver<UnivariateFunction> bracketing, double baseRoot, double min, double max, AllowedSolution allowedSolution) Force a root found by a non-bracketing solver to lie on a specified side, as if the solver were a bracketing one.static booleanUnivariateSolverUtils.isBracketing(UnivariateFunction function, double lower, double upper) Check whether the interval bounds bracket a root.doubleBaseSecantSolver.solve(int maxEval, UnivariateFunction f, double min, double max, double startValue) Solve for a zero in the given interval, start atstartValue.doubleBaseSecantSolver.solve(int maxEval, UnivariateFunction f, double min, double max, double startValue, AllowedSolution allowedSolution) Solve for a zero in the given interval, start atstartValue.doubleBaseSecantSolver.solve(int maxEval, UnivariateFunction f, double min, double max, AllowedSolution allowedSolution) Solve for a zero in the given interval.doubleBracketingNthOrderBrentSolver.solve(int maxEval, UnivariateFunction f, double min, double max, double startValue, AllowedSolution allowedSolution) Solve for a zero in the given interval, start atstartValue.doubleBracketingNthOrderBrentSolver.solve(int maxEval, UnivariateFunction f, double min, double max, AllowedSolution allowedSolution) Solve for a zero in the given interval.static doubleUnivariateSolverUtils.solve(UnivariateFunction function, double x0, double x1) Convenience method to find a zero of a univariate real function.static doubleUnivariateSolverUtils.solve(UnivariateFunction function, double x0, double x1, double absoluteAccuracy) Convenience method to find a zero of a univariate real function.BaseSecantSolver.solveInterval(int maxEval, UnivariateFunction f, double min, double max, double startValue) Solve for a zero in the given interval and return a tolerance interval surrounding the root.BracketingNthOrderBrentSolver.solveInterval(int maxEval, UnivariateFunction f, double min, double max, double startValue) Solve for a zero in the given interval and return a tolerance interval surrounding the root.static voidUnivariateSolverUtils.verifyBracketing(UnivariateFunction function, double lower, double upper) Check that the endpoints specify an interval and the end points bracket a root.Method parameters in org.hipparchus.analysis.solvers with type arguments of type UnivariateFunctionModifier and TypeMethodDescriptionstatic doubleUnivariateSolverUtils.forceSide(int maxEval, UnivariateFunction f, BracketedUnivariateSolver<UnivariateFunction> bracketing, double baseRoot, double min, double max, AllowedSolution allowedSolution) Force a root found by a non-bracketing solver to lie on a specified side, as if the solver were a bracketing one. -
Uses of UnivariateFunction in org.hipparchus.linear
Methods in org.hipparchus.linear with parameters of type UnivariateFunctionModifier and TypeMethodDescriptionArrayRealVector.map(UnivariateFunction function) Acts as if implemented as:default RealMatrixRealMatrix.map(UnivariateFunction function) Acts as if implemented as:RealVector.map(UnivariateFunction function) Acts as if implemented as:ArrayRealVector.mapToSelf(UnivariateFunction function) Acts as if it is implemented as:default RealMatrixRealMatrix.mapToSelf(UnivariateFunction function) Replace each entry by the result of applying the function to it.RealVector.mapToSelf(UnivariateFunction function) Acts as if it is implemented as: -
Uses of UnivariateFunction in org.hipparchus.ode.events
Methods in org.hipparchus.ode.events that return types with arguments of type UnivariateFunctionModifier and TypeMethodDescriptionAbstractODEDetector.getSolver()Get the root-finding algorithm to use to detect state events.ODEEventDetector.getSolver()Get the root-finding algorithm to use to detect state events.Method parameters in org.hipparchus.ode.events with type arguments of type UnivariateFunctionModifier and TypeMethodDescriptionprotected abstract TAbstractODEDetector.create(AdaptableInterval newMaxCheck, int newmaxIter, BracketedUnivariateSolver<UnivariateFunction> newSolver, ODEEventHandler newHandler) Build a new instance.protected EventSlopeFilter<T> EventSlopeFilter.create(AdaptableInterval newMaxCheck, int newMaxIter, BracketedUnivariateSolver<UnivariateFunction> newSolver, ODEEventHandler newHandler) Build a new instance.AbstractODEDetector.withSolver(BracketedUnivariateSolver<UnivariateFunction> newSolver) Setup the root-finding algorithm to use to detect state events.Constructor parameters in org.hipparchus.ode.events with type arguments of type UnivariateFunctionModifierConstructorDescriptionprotectedAbstractODEDetector(AdaptableInterval maxCheck, int maxIter, BracketedUnivariateSolver<UnivariateFunction> solver, ODEEventHandler handler) Build a new instance. -
Uses of UnivariateFunction in org.hipparchus.optim.univariate
Methods in org.hipparchus.optim.univariate that return UnivariateFunctionModifier and TypeMethodDescriptionUnivariateObjectiveFunction.getObjectiveFunction()Gets the function to be optimized.Methods in org.hipparchus.optim.univariate with parameters of type UnivariateFunctionModifier and TypeMethodDescriptionvoidBracketFinder.search(UnivariateFunction func, GoalType goal, double xA, double xB) Search new points that bracket a local optimum of the function.Constructors in org.hipparchus.optim.univariate with parameters of type UnivariateFunctionModifierConstructorDescriptionSimple constructor. -
Uses of UnivariateFunction in org.hipparchus.special
Classes in org.hipparchus.special that implement UnivariateFunctionModifier and TypeClassDescriptionclassThis class provides computation methods related to Bessel functions of the first kind. -
Uses of UnivariateFunction in org.hipparchus.transform
Methods in org.hipparchus.transform with parameters of type UnivariateFunctionModifier and TypeMethodDescriptiondouble[]FastCosineTransformer.transform(UnivariateFunction f, double min, double max, int n, TransformType type) Returns the (forward, inverse) transform of the specified real function, sampled on the specified interval.Complex[]FastFourierTransformer.transform(UnivariateFunction f, double min, double max, int n, TransformType type) Returns the (forward, inverse) transform of the specified real function, sampled on the specified interval.double[]FastHadamardTransformer.transform(UnivariateFunction f, double min, double max, int n, TransformType type) Returns the (forward, inverse) transform of the specified real function, sampled on the specified interval.double[]FastSineTransformer.transform(UnivariateFunction f, double min, double max, int n, TransformType type) Returns the (forward, inverse) transform of the specified real function, sampled on the specified interval.double[]RealTransformer.transform(UnivariateFunction f, double min, double max, int n, TransformType type) Returns the (forward, inverse) transform of the specified real function, sampled on the specified interval.