BALL  1.4.79
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Typedefs | Variables
Function classes

Classes

class  BALL::ConstantFunction< constant_template >
 
class  BALL::NumericalIntegrator< Function, DataType >
 
class  BALL::ParsedFunction< arg >
 
class  BALL::PiecewisePolynomial
 
class  BALL::RombergIntegrator< Function, DataType >
 

Typedefs

typedef std::vector< doubleBALL::Coefficients
 

Variables

StringHashMap< double * > * BALL::ParsedFunctionConstants
 
StringHashMap< double(*)(double)> * BALL::ParsedFunctionFunctions
 

Constructors and Destructors

 BALL::ParsedFunction< arg >::ParsedFunction ()
 Default constructor. More...
 
 BALL::ParsedFunction< arg >::ParsedFunction (const String &expression)
 Detailed constructor. More...
 
 BALL::ParsedFunction< arg >::ParsedFunction (const ParsedFunction &func)
 Copy constructor. More...
 
 BALL::ParsedFunction< arg >::~ParsedFunction ()
 Destructor. More...
 

Accessors

double BALL::ParsedFunction< arg >::operator() (arg p)
 

Parsing

void BALL::ParsedFunction< arg >::initTable ()
 

Detailed Description

Typedef Documentation

typedef std::vector<double> BALL::Coefficients

Every piece of a piecewise function needs a bunch of coefficients

Definition at line 19 of file piecewiseFunction.h.

Function Documentation

template<typename arg >
BALL::ParsedFunction< arg >::ParsedFunction ( )

Default constructor.

Definition at line 89 of file parsedFunction.h.

template<typename arg >
BALL::ParsedFunction< arg >::ParsedFunction ( const String expression)

Detailed constructor.

Definition at line 98 of file parsedFunction.h.

template<typename arg >
BALL::ParsedFunction< arg >::ParsedFunction ( const ParsedFunction< arg > &  func)

Copy constructor.

Definition at line 107 of file parsedFunction.h.

template<typename arg >
BALL::ParsedFunction< arg >::~ParsedFunction ( )

Destructor.

Definition at line 116 of file parsedFunction.h.

template<typename arg >
void BALL::ParsedFunction< arg >::initTable ( )

This function initializes the function table and the constant table of our parser.

Definition at line 140 of file parsedFunction.h.

template<typename arg >
double BALL::ParsedFunction< arg >::operator() ( arg  p)

Evaluate the function at point $p$.

Exceptions
Exception::ParseErrorif a syntax error was encountered

Definition at line 121 of file parsedFunction.h.

Variable Documentation

StringHashMap<double*>* BALL::ParsedFunctionConstants
StringHashMap<double (*)(double)>* BALL::ParsedFunctionFunctions