79 :std::numpunct<
TChar>()
Mathematical expressions parser (base parser engine).
A facet class used to change decimal and thousands separator.
virtual char_type do_decimal_point() const
virtual char_type do_thousands_sep() const
char_type m_cThousandsSep
virtual std::string do_grouping() const
change_dec_sep(char_type cDecSep, char_type cThousandsSep=0, int nGroup=3)
Mathematical expressions parser.
static int IsVal(const char_type *a_szExpr, int *a_iPos, value_type *a_fVal)
Default value recognition callback.
static value_type ATanh(value_type)
static value_type Sign(value_type)
static value_type Tanh(value_type)
void SetThousandsSep(char_type cThousandsSep)
Sets the thousands operator.
static value_type Cosh(value_type)
static value_type ASin(value_type)
static value_type UnaryMinus(value_type)
Callback for the unary minus operator.
static value_type Sum(const value_type *, int)
Callback for adding multiple values.
value_type Diff(value_type *a_Var, value_type a_fPos, value_type a_fEpsilon=0.00074) const
Numerically differentiate with regard to a variable.
static value_type Avg(const value_type *, int)
Callback for averaging multiple values.
virtual void InitCharSets()
Define the character sets.
static value_type Sqrt(value_type)
void SetDecSep(char_type cDecSep)
Set the decimal separator.
static std::locale s_locale
The locale used by the parser.
static value_type Min(const value_type *, int)
Callback for determining the minimum value out of a vector.
virtual void InitOprt()
Initialize operators.
static value_type Sinh(value_type)
static value_type ACos(value_type)
static value_type Tan(value_type)
static value_type Abs(value_type)
static value_type Exp(value_type)
static value_type Rint(value_type)
static value_type ATan(value_type)
static value_type Log10(value_type)
static value_type Cos(value_type)
static value_type ASinh(value_type)
virtual void InitFun()
Initialize the default functions.
static value_type Ite(value_type, value_type, value_type)
Conditional (if then else).
virtual void InitConst()
Initialize constants.
static value_type Log2(value_type)
static value_type Max(const value_type *, int)
Callback for determining the maximum value out of a vector.
static value_type Ln(value_type)
static value_type Sin(value_type)
static value_type ACosh(value_type)
This file contains the class definition of the muparser engine.
Namespace for mathematical applications.
string_type::value_type char_type
The character type used by the parser.
double value_type
The numeric datatype used by the parser.