25 #include <qcompilerdetection.h>
54 virtual void InitFun() Q_DECL_OVERRIDE;
56 virtual void InitOprt() Q_DECL_OVERRIDE;
57 virtual void OnDetectVar(
const QString &pExpr,
int &nStart,
int &nEnd) Q_DECL_OVERRIDE;
58 qreal
Diff(qreal *a_Var, qreal a_fPos, qreal a_fEpsilon = 0)
const;
60 static int IsVal(
const QString &a_szExpr,
int *a_iPos, qreal *a_fVal,
const QLocale &locale,
61 const QChar &decimal,
const QChar &thousand);
63 static qreal
Sinh(qreal);
64 static qreal
Cosh(qreal);
65 static qreal
Tanh(qreal);
67 static qreal
ASinh(qreal);
68 static qreal
ACosh(qreal);
69 static qreal
ATanh(qreal);
73 static qreal
SinD(qreal);
74 static qreal
CosD(qreal);
75 static qreal
TanD(qreal);
76 static qreal
ASinD(qreal);
77 static qreal
ACosD(qreal);
78 static qreal
ATanD(qreal);
81 static qreal
Log2(qreal);
82 static qreal
Log10(qreal);
84 static qreal
Abs(qreal);
85 static qreal
Rint(qreal);
86 static qreal
Sign(qreal);
87 static qreal
FMod(qreal, qreal);
92 static qreal
Sum(
const qreal*,
int);
93 static qreal
Avg(
const qreal*,
int);
94 static qreal
Min(
const qreal*,
int);
95 static qreal
Max(
const qreal*,
int);
Mathematical expressions parser (base parser engine).
Mathematical expressions parser.
virtual void InitOprt() Q_DECL_OVERRIDE
Initialize operators.
static qreal Min(const qreal *, int)
Callback for determining the minimum value out of a vector.
virtual void InitFun() Q_DECL_OVERRIDE
Initialize the default functions.
static qreal RadianToDegree(qreal)
static qreal Sum(const qreal *, int)
Callback for adding multiple values.
static qreal ACosD(qreal)
static qreal UnaryMinus(qreal v)
Callback for the unary minus operator.
virtual void InitConst() Q_DECL_OVERRIDE
Initialize constants.
static qreal ACosh(qreal)
static qreal ATanh(qreal)
static qreal DegreeToRadian(qreal)
static qreal ATanD(qreal)
static qreal FMod(qreal, qreal)
static int IsVal(const QString &a_szExpr, int *a_iPos, qreal *a_fVal, const QLocale &locale, const QChar &decimal, const QChar &thousand)
Default value recognition callback.
static qreal ASinh(qreal)
static qreal Avg(const qreal *, int)
Callback for averaging multiple values.
virtual void OnDetectVar(const QString &pExpr, int &nStart, int &nEnd) Q_DECL_OVERRIDE
qreal Diff(qreal *a_Var, qreal a_fPos, qreal a_fEpsilon=0) const
Numerically differentiate with regard to a variable.
static qreal ASinD(qreal)
virtual void InitCharSets() Q_DECL_OVERRIDE
Define the character sets.
static qreal Max(const qreal *, int)
Callback for determining the maximum value out of a vector.
static qreal Log10(qreal)
Namespace for mathematical applications.
This file contains the class definition of the qmuparser engine.