Version: 8.3.0
StdMeshers::FunctionTable Class Reference

#include <StdMeshers_Distribution.hxx>

Inheritance diagram for StdMeshers::FunctionTable:

Public Member Functions

 FunctionTable (const std::vector< double > &, const int)
 
virtual ~FunctionTable ()
 
virtual bool value (const double, double &) const
 
virtual double integral (const double, const double) const
 

Private Member Functions

bool findBounds (const double, int &, int &) const
 
double integral (const int i) const
 
double integral (const int i, const double d) const
 

Private Attributes

std::vector< double > myData
 

Constructor & Destructor Documentation

StdMeshers::FunctionTable::FunctionTable ( const std::vector< double > &  data,
const int  conv 
)

References myData.

StdMeshers::FunctionTable::~FunctionTable ( )
virtual

Member Function Documentation

bool StdMeshers::FunctionTable::findBounds ( const double  x,
int x_ind_1,
int x_ind_2 
) const
private

References myData.

Referenced by integral(), and value().

double StdMeshers::FunctionTable::integral ( const double  a,
const double  b 
) const
virtual

Implements StdMeshers::Function.

References findBounds(), and myData.

Referenced by integral().

double StdMeshers::FunctionTable::integral ( const int  i) const
private

References integral(), and myData.

double StdMeshers::FunctionTable::integral ( const int  i,
const double  d 
) const
private
bool StdMeshers::FunctionTable::value ( const double  t,
double &  f 
) const
virtual

Reimplemented from StdMeshers::Function.

References findBounds(), myData, and StdMeshers::Function::value().

Referenced by integral().

Field Documentation

std::vector<double> StdMeshers::FunctionTable::myData
private