Uses of Class
org.apache.commons.math4.exception.NoBracketingException
| Package | Description |
|---|---|
| org.apache.commons.math4.analysis.solvers |
Root finding algorithms, for univariate real functions.
|
-
Uses of NoBracketingException in org.apache.commons.math4.analysis.solvers
Methods in org.apache.commons.math4.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)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.protected abstract doubleBaseAbstractUnivariateSolver. doSolve()Method for implementing actual optimization algorithms in derived classes.protected doubleBracketingNthOrderBrentSolver. doSolve()Method for implementing actual optimization algorithms in derived classes.protected doubleBrentSolver. doSolve()Method for implementing actual optimization algorithms in derived classes.doubleLaguerreSolver. doSolve()Method for implementing actual optimization algorithms in derived classes.protected doubleMullerSolver. doSolve()Method for implementing actual optimization algorithms in derived classes.protected doubleMullerSolver2. doSolve()Method for implementing actual optimization algorithms in derived classes.protected doubleRiddersSolver. doSolve()Method for implementing actual optimization algorithms in derived classes.protected doubleSecantSolver. doSolve()Method for implementing actual optimization algorithms in derived classes.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.doubleBaseAbstractUnivariateSolver. solve(int maxEval, FUNC f, double startValue)Solve for a zero in the vicinity ofstartValue.doubleBaseAbstractUnivariateSolver. solve(int maxEval, FUNC f, double min, double max, double startValue)Solve for a zero in the given interval, start atstartValue.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.TFieldBracketingNthOrderBrentSolver. solve(int maxEval, RealFieldUnivariateFunction<T> f, T min, T max, AllowedSolution allowedSolution)Solve for a zero in the given interval.TFieldBracketingNthOrderBrentSolver. 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 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.protected voidBaseAbstractUnivariateSolver. verifyBracketing(double lower, double upper)Check that the endpoints specify an interval and the function takes opposite signs at the endpoints.static voidUnivariateSolverUtils. verifyBracketing(UnivariateFunction function, double lower, double upper)Check that the endpoints specify an interval and the end points bracket a root.