Uses of Class
org.apache.commons.math4.legacy.exception.NoBracketingException
-
Packages that use NoBracketingException Package Description org.apache.commons.math4.legacy.analysis.solvers Root finding algorithms, for univariate real functions.org.apache.commons.math4.legacy.ode This package provides classes to solve Ordinary Differential Equations problems.org.apache.commons.math4.legacy.ode.events This package provides classes to handle discrete events occurring during Ordinary Differential Equations integration.org.apache.commons.math4.legacy.ode.nonstiff This package provides classes to solve non-stiff Ordinary Differential Equations problems. -
-
Uses of NoBracketingException in org.apache.commons.math4.legacy.analysis.solvers
Methods in org.apache.commons.math4.legacy.analysis.solvers that throw NoBracketingException Modifier and Type Method Description static 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 double
BracketingNthOrderBrentSolver. 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 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
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.T
FieldBracketingNthOrderBrentSolver. solve(int maxEval, RealFieldUnivariateFunction<T> f, T min, T max, AllowedSolution allowedSolution)
Solve for a zero in the given interval.T
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.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.math4.legacy.ode
Methods in org.apache.commons.math4.legacy.ode that throw NoBracketingException Modifier and Type Method Description protected 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.FieldODEStateAndDerivative<T>
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.math4.legacy.ode.events
Methods in org.apache.commons.math4.legacy.ode.events that throw NoBracketingException Modifier and Type Method Description boolean
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.math4.legacy.ode.nonstiff
Methods in org.apache.commons.math4.legacy.ode.nonstiff that throw NoBracketingException Modifier and Type Method Description FieldODEStateAndDerivative<T>
AdamsBashforthFieldIntegrator. 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.FieldODEStateAndDerivative<T>
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.FieldODEStateAndDerivative<T>
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.FieldODEStateAndDerivative<T>
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.
-