57 virtual void InitFun()
override;
Mathematical expressions parser (base parser engine).
Mathematical expressions parser.
value_type Diff(value_type *a_Var, value_type a_fPos, value_type a_fEpsilon=0, size_t order=1)
Numerically differentiate with regard to a variable.
static value_type ATan(const value_type &)
virtual void InitFun() override
Initialize the default functions.
static value_type ATanh(const value_type &)
static value_type Abs(const value_type &)
static value_type Rint(const value_type &)
static value_type ASinh(const value_type &)
static value_type Sinh(const value_type &)
static value_type Tan2(const value_type &, const value_type &)
static value_type Sin(const value_type &)
virtual void InitOprt() override
Initialize operators.
static value_type Log10(const value_type &)
static value_type ACos(const value_type &)
static value_type UnaryMinus(const value_type &)
Callback for the unary minus operator.
static value_type Tan(const value_type &)
static value_type Avg(const value_type *, int)
Callback for averaging multiple values.
static value_type Min(const value_type *, int)
Callback for determining the minimum value out of a vector.
static value_type Sqrt(const value_type &)
virtual void OnDetectVar(string_type *pExpr, int &nStart, int &nEnd) override
static value_type Tanh(const value_type &)
static value_type Ln(const value_type &)
static value_type ACosh(const value_type &)
static int IsVal(const char_type *a_szExpr, int *a_iPos, value_type *a_fVal)
Default value recognition callback.
virtual void InitConst() override
Initialize constants.
static value_type ATan2(const value_type &, const value_type &)
static value_type Max(const value_type *, int)
Callback for determining the maximum value out of a vector.
static value_type Cos(const value_type &)
static value_type ASin(const value_type &)
static value_type Cosh(const value_type &)
static value_type Log2(const value_type &)
virtual void InitCharSets() override
Define the character sets.
static value_type Sign(const value_type &)
static value_type Sum(const value_type *, int)
Callback for adding multiple values.
static value_type Exp(const value_type &)
This file contains the class definition of the muparser engine.
Namespace for mathematical applications.
MUP_BASETYPE value_type
The numeric datatype used by the parser.
string_type::value_type char_type
The character type used by the parser.
std::string string_type
The stringtype used by the parser.