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< double > | BALL::Coefficients |
Variables | |
StringHashMap< double * > * | BALL::ParsedFunctionConstants |
StringHashMap< double(*)(double)> * | BALL::ParsedFunctionFunctions |
Constructors and Destructors | |
| |
BALL::ParsedFunction::ParsedFunction () | |
Default constructor. | |
BALL::ParsedFunction::ParsedFunction (const String &expression) | |
Detailed constructor. | |
BALL::ParsedFunction::ParsedFunction (const ParsedFunction &func) | |
Copy constructor. | |
BALL::ParsedFunction::~ParsedFunction () | |
Destructor. | |
Accessors | |
| |
double | BALL::ParsedFunction::operator() (arg p) throw (Exception::ParseError) |
Parsing | |
| |
void | BALL::ParsedFunction::initTable () |
typedef std::vector<double> BALL::Coefficients |
Every piece of a piecewise function needs a bunch of coefficients
Definition at line 23 of file piecewiseFunction.h.
BALL::ParsedFunction< arg >::ParsedFunction | ( | const ParsedFunction< arg > & | func | ) | [inline, inherited] |
Copy constructor.
Definition at line 109 of file parsedFunction.h.
BALL::ParsedFunction< arg >::ParsedFunction | ( | const String & | expression | ) | [inline, inherited] |
Detailed constructor.
Definition at line 100 of file parsedFunction.h.
BALL::ParsedFunction< arg >::ParsedFunction | ( | ) | [inline, inherited] |
Default constructor.
Definition at line 91 of file parsedFunction.h.
BALL::ParsedFunction< arg >::~ParsedFunction | ( | ) | [inline, inherited] |
Destructor.
Definition at line 118 of file parsedFunction.h.
void BALL::ParsedFunction< arg >::initTable | ( | ) | [inline, inherited] |
This function initializes the function table and the constant table of our parser.
Definition at line 145 of file parsedFunction.h.
double BALL::ParsedFunction< arg >::operator() | ( | arg | p | ) | throw (Exception::ParseError) [inline, inherited] |
Evaluate the function at point .
Definition at line 123 of file parsedFunction.h.
StringHashMap<double*>* BALL::ParsedFunctionConstants |
StringHashMap<double (*)(double)>* BALL::ParsedFunctionFunctions |