Open CASCADE Technology Reference Manual 8.0.2
Loading...
Searching...
No Matches
MathRoot::MultipleSampleValueFn< Function > Struct Template Reference

Samples a Value-only function and stores f(x)-offset into a math_Vector. More...

#include <MathRoot_MultipleUtils.hxx>

Public Member Functions

bool operator() (int theIndex, double theX) const

Data Fields

Function & myFunc
math_Vector & mySamples
const double myOffset

Detailed Description

template<typename Function>
struct MathRoot::MultipleSampleValueFn< Function >

Samples a Value-only function and stores f(x)-offset into a math_Vector.

Template Parameters
Functiontype with Value(double theX, double& theF) method

Member Function Documentation

◆ operator()()

template<typename Function>
bool MathRoot::MultipleSampleValueFn< Function >::operator() ( int theIndex,
double theX ) const
inline

Field Documentation

◆ myFunc

template<typename Function>
Function& MathRoot::MultipleSampleValueFn< Function >::myFunc

◆ myOffset

template<typename Function>
const double MathRoot::MultipleSampleValueFn< Function >::myOffset

◆ mySamples

template<typename Function>
math_Vector& MathRoot::MultipleSampleValueFn< Function >::mySamples

The documentation for this struct was generated from the following file: