![]() |
Open CASCADE Technology Reference Manual 8.0.0
|
#include <MathUtils_Types.hxx>#include <MathUtils_Config.hxx>#include <MathUtils_Core.hxx>#include <cmath>#include <utility>Namespaces | |
| namespace | MathRoot |
| Root finding algorithms for scalar functions. | |
Functions | |
| template<typename Function > | |
| MathUtils::ScalarResult | MathRoot::Brent (Function &theFunc, double theLower, double theUpper, const MathUtils::Config &theConfig=MathUtils::Config()) |
| Brent's method for root finding. Combines bisection, secant, and inverse quadratic interpolation. Guaranteed to converge if a valid bracket is provided. | |