33 #include "muParserTemplateMagic.h"
61 virtual void OnDetectVar(
string_type *pExpr,
int &nStart,
int &nEnd);
static value_type UnaryMinus(value_type)
Callback for the unary minus operator.
virtual void InitFun()
Initialize the default functions.
static value_type Sum(const value_type *, int)
Callback for adding multiple values.
static value_type Min(const value_type *, int)
Callback for determining the minimum value out of a vector.
virtual void InitCharSets()
Define the character sets.
static int IsVal(const char_type *a_szExpr, int *a_iPos, value_type *a_fVal)
Default value recognition callback.
virtual void InitConst()
Initialize constants.
static value_type Avg(const value_type *, int)
Callback for averaging multiple values.
This file contains the class definition of the muparser engine.
MUP_BASETYPE value_type
The numeric datatype used by the parser.
Namespace for mathematical applications.
static value_type UnaryPlus(value_type)
Callback for the unary minus operator.
string_type::value_type char_type
The character type used by the parser.
static value_type Max(const value_type *, int)
Callback for determining the maximum value out of a vector.
Mathematical expressions parser.
value_type Diff(value_type *a_Var, value_type a_fPos, value_type a_fEpsilon=0) const
Numerically differentiate with regard to a variable.
MUP_STRING_TYPE string_type
The stringtype used by the parser.
virtual void InitOprt()
Initialize operators.
Mathematical expressions parser (base parser engine).