Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Data Structures | Namespaces | Functions
MathRoot_All.hxx File Reference
#include <MathUtils_Types.hxx>
#include <MathUtils_Config.hxx>
#include <MathRoot_Multiple.hxx>
#include <math_Vector.hxx>
#include <NCollection_DynamicArray.hxx>
#include <cmath>

Data Structures

struct  MathRoot::NullInterval
 Represents an interval where the function is null (within tolerance). More...
 
struct  MathRoot::AllRootsResult
 Result for all roots finder including null intervals. More...
 

Namespaces

namespace  MathRoot
 Root finding algorithms for scalar functions.
 

Functions

template<typename Func >
MultipleResult MathRoot::FindMultipleRoots (Func &theFunc, double theA, double theB, int theNbSamples, double theEpsX, double theEpsF, double theOffset=0.0)
 Helper function to find multiple roots with offset.
 
template<typename Func >
AllRootsResult MathRoot::FindAllRootsWithIntervals (Func &theFunc, const math_Vector &theSamples, double theEpsX=1.0e-10, double theEpsF=1.0e-10, double theEpsNul=1.0e-10)
 Find all roots of a function using sampling and refinement.
 
template<typename Func >
AllRootsResult MathRoot::FindAllRootsWithIntervals (Func &theFunc, double theA, double theB, int theNbSamples, double theEpsX=1.0e-10, double theEpsF=1.0e-10, double theEpsNul=1.0e-10)
 Find all roots using uniform sampling.