class EvalFunction

Parser for math function given by a string.

Public Methods

EvalFunction()
EvalFunction(istream & aist)
Parse from input stream.
virtual ~EvalFunction()
void AddConstant(double val)
void AddVariable(int varnum)
void AddGlobVariable(const double * dp)
void AddOperation(EVAL_TOKEN op)
void AddFunction(double (*fun) (double))
double Eval(const double * x) const
double operator) (double x, double y, double z) const
void Eval(const double * x, double * y, int ydim) const
int IsConstant() const
void Print(ostream & ost) const

Protected Classes

class step
EVAL_TOKEN op
union

Protected Fields

Array <step> program

Documentation

Parser for math function given by a string.
EvalFunction()

EvalFunction(istream & aist)
Parse from input stream.

virtual ~EvalFunction()

void AddConstant(double val)

void AddVariable(int varnum)

void AddGlobVariable(const double * dp)

void AddOperation(EVAL_TOKEN op)

void AddFunction(double (*fun) (double))

double Eval(const double * x) const

double operator) (double x, double y, double z) const

void Eval(const double * x, double * y, int ydim) const

int IsConstant() const

void Print(ostream & ost) const

class step

EVAL_TOKEN op

union

Array <step> program


This class has no child classes.

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de