Uses of Class
org.apache.commons.math3.exception.NoBracketingException
Packages that use NoBracketingException
Package
Description
Root finding algorithms, for univariate real functions.
Decimal floating point library for Java
This package provides classes to solve Ordinary Differential Equations problems.
This package provides classes to handle discrete events occurring during
Ordinary Differential Equations integration.
This package provides classes to solve non-stiff Ordinary Differential Equations problems.
-
Uses of NoBracketingException in org.apache.commons.math3.analysis.solvers
Methods in org.apache.commons.math3.analysis.solvers that throw NoBracketingExceptionModifier and TypeMethodDescriptionstatic double[]
UnivariateSolverUtils.bracket
(UnivariateFunction function, double initial, double lowerBound, double upperBound) This method simply callsbracket(function, initial, lowerBound, upperBound, q, r, maximumIterations)
withq
andr
set to 1.0 andmaximumIterations
set 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 <= upperBound
f(a) * f(b) <= 0
Iff
is continuous on[a,b]
, this means thata
andb
bracket 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)
withq
andr
set to 1.0.protected abstract double
BaseAbstractUnivariateSolver.doSolve()
Method for implementing actual optimization algorithms in derived classes.protected double
BracketingNthOrderBrentSolver.doSolve()
Method for implementing actual optimization algorithms in derived classes.protected double
BrentSolver.doSolve()
Method for implementing actual optimization algorithms in derived classes.double
LaguerreSolver.doSolve()
Method for implementing actual optimization algorithms in derived classes.protected double
MullerSolver.doSolve()
Method for implementing actual optimization algorithms in derived classes.protected double
MullerSolver2.doSolve()
Method for implementing actual optimization algorithms in derived classes.protected double
RiddersSolver.doSolve()
Method for implementing actual optimization algorithms in derived classes.protected final double
SecantSolver.doSolve()
Method for implementing actual optimization algorithms in derived classes.static double
UnivariateSolverUtils.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.double
Solve for a zero in the vicinity ofstartValue
.double
Solve for a zero in the given interval, start atstartValue
.double
BracketingNthOrderBrentSolver.solve
(int maxEval, UnivariateFunction f, double min, double max, double startValue, AllowedSolution allowedSolution) Solve for a zero in the given interval, start atstartValue
.double
BracketingNthOrderBrentSolver.solve
(int maxEval, UnivariateFunction f, double min, double max, AllowedSolution allowedSolution) Solve for a zero in the given interval.FieldBracketingNthOrderBrentSolver.solve
(int maxEval, RealFieldUnivariateFunction<T> f, T min, T max, AllowedSolution allowedSolution) Solve for a zero in the given interval.FieldBracketingNthOrderBrentSolver.solve
(int maxEval, RealFieldUnivariateFunction<T> f, T min, T max, T startValue, AllowedSolution allowedSolution) Solve for a zero in the given interval, start atstartValue
.static double
UnivariateSolverUtils.solve
(UnivariateFunction function, double x0, double x1) Convenience method to find a zero of a univariate real function.static double
UnivariateSolverUtils.solve
(UnivariateFunction function, double x0, double x1, double absoluteAccuracy) Convenience method to find a zero of a univariate real function.protected void
BaseAbstractUnivariateSolver.verifyBracketing
(double lower, double upper) Check that the endpoints specify an interval and the function takes opposite signs at the endpoints.static void
UnivariateSolverUtils.verifyBracketing
(UnivariateFunction function, double lower, double upper) Check that the endpoints specify an interval and the end points bracket a root. -
Uses of NoBracketingException in org.apache.commons.math3.dfp
Methods in org.apache.commons.math3.dfp that throw NoBracketingExceptionModifier and TypeMethodDescriptionBracketingNthOrderBrentSolverDFP.solve
(int maxEval, UnivariateDfpFunction f, Dfp min, Dfp max, AllowedSolution allowedSolution) Deprecated.Solve for a zero in the given interval.BracketingNthOrderBrentSolverDFP.solve
(int maxEval, UnivariateDfpFunction f, Dfp min, Dfp max, Dfp startValue, AllowedSolution allowedSolution) Deprecated.Solve for a zero in the given interval, start atstartValue
. -
Uses of NoBracketingException in org.apache.commons.math3.ode
Methods in org.apache.commons.math3.ode that throw NoBracketingExceptionModifier and TypeMethodDescriptionprotected FieldODEStateAndDerivative
<T> AbstractFieldIntegrator.acceptStep
(AbstractFieldStepInterpolator<T> interpolator, T tEnd) Accept a step, triggering events and step handlers.protected double
AbstractIntegrator.acceptStep
(AbstractStepInterpolator interpolator, double[] y, double[] yDot, double tEnd) Accept a step, triggering events and step handlers.abstract void
AbstractIntegrator.integrate
(ExpandableStatefulODE equations, double t) Integrate a set of differential equations up to the given time.double
AbstractIntegrator.integrate
(FirstOrderDifferentialEquations equations, double t0, double[] y0, double t, double[] y) Integrate the differential equations up to the given time.FirstOrderFieldIntegrator.integrate
(FieldExpandableODE<T> equations, FieldODEState<T> initialState, T finalTime) Integrate the differential equations up to the given time.double
FirstOrderIntegrator.integrate
(FirstOrderDifferentialEquations equations, double t0, double[] y0, double t, double[] y) Integrate the differential equations up to the given time.protected void
MultistepFieldIntegrator.start
(FieldExpandableODE<T> equations, FieldODEState<T> initialState, T t) Start the integration.protected void
MultistepIntegrator.start
(double t0, double[] y0, double t) Start the integration. -
Uses of NoBracketingException in org.apache.commons.math3.ode.events
Methods in org.apache.commons.math3.ode.events that throw NoBracketingExceptionModifier and TypeMethodDescriptionboolean
EventState.evaluateStep
(StepInterpolator interpolator) Evaluate the impact of the proposed step on the event handler.boolean
FieldEventState.evaluateStep
(FieldStepInterpolator<T> interpolator) Evaluate the impact of the proposed step on the event handler. -
Uses of NoBracketingException in org.apache.commons.math3.ode.nonstiff
Methods in org.apache.commons.math3.ode.nonstiff that throw NoBracketingExceptionModifier and TypeMethodDescriptionAdamsBashforthFieldIntegrator.integrate
(FieldExpandableODE<T> equations, FieldODEState<T> initialState, T finalTime) Integrate the differential equations up to the given time.void
AdamsBashforthIntegrator.integrate
(ExpandableStatefulODE equations, double t) Integrate a set of differential equations up to the given time.abstract FieldODEStateAndDerivative
<T> AdamsFieldIntegrator.integrate
(FieldExpandableODE<T> equations, FieldODEState<T> initialState, T finalTime) Integrate the differential equations up to the given time.abstract void
AdamsIntegrator.integrate
(ExpandableStatefulODE equations, double t) Integrate a set of differential equations up to the given time.AdamsMoultonFieldIntegrator.integrate
(FieldExpandableODE<T> equations, FieldODEState<T> initialState, T finalTime) Integrate the differential equations up to the given time.void
AdamsMoultonIntegrator.integrate
(ExpandableStatefulODE equations, double t) Integrate a set of differential equations up to the given time.abstract void
AdaptiveStepsizeIntegrator.integrate
(ExpandableStatefulODE equations, double t) Integrate a set of differential equations up to the given time.EmbeddedRungeKuttaFieldIntegrator.integrate
(FieldExpandableODE<T> equations, FieldODEState<T> initialState, T finalTime) Integrate the differential equations up to the given time.void
EmbeddedRungeKuttaIntegrator.integrate
(ExpandableStatefulODE equations, double t) Integrate a set of differential equations up to the given time.void
GraggBulirschStoerIntegrator.integrate
(ExpandableStatefulODE equations, double t) Integrate a set of differential equations up to the given time.RungeKuttaFieldIntegrator.integrate
(FieldExpandableODE<T> equations, FieldODEState<T> initialState, T finalTime) Integrate the differential equations up to the given time.void
RungeKuttaIntegrator.integrate
(ExpandableStatefulODE equations, double t) Integrate a set of differential equations up to the given time.