Mathematical parser class based on muParser. More...
#include <MyParser.h>
Public Member Functions | |
MyParser () | |
Static Public Member Functions | |
static double | bessel_J0 (double x) |
static double | bessel_J1 (double x) |
static double | bessel_Jn (double x, double n) |
static double | bessel_Y0 (double x) |
static double | bessel_Y1 (double x) |
static double | bessel_Yn (double x, double n) |
static double | beta (double a, double b) |
static double | erf (double x) |
static double | erfc (double x) |
static double | erfq (double x) |
static double | erfz (double x) |
static QString | explainFunction (int index) |
static QStringList | functionsList () |
static double | gamma (double x) |
static double | gammaln (double x) |
static double | hazard (double x) |
Mathematical parser class based on muParser.
Eliminate in favour of Script/ScriptingEnv. This will allow you to use e.g. Python's global variables and functions everywhere. Before this happens, a cleaner and more generic solution for accessing the current ScriptingEnv should be implemented (maybe by making it a property of Project; see ApplicationWindow).
MyParser::MyParser | ( | ) |
References bessel_J0(), bessel_J1(), bessel_Jn(), bessel_Y0(), bessel_Y1(), bessel_Yn(), beta(), erf(), erfc(), erfq(), erfz(), gamma(), gammaln(), hazard(), and M_PI.
static double MyParser::bessel_J0 | ( | double | x | ) | [inline, static] |
Referenced by MyParser().
static double MyParser::bessel_J1 | ( | double | x | ) | [inline, static] |
Referenced by MyParser().
static double MyParser::bessel_Jn | ( | double | x, | |
double | n | |||
) | [inline, static] |
Referenced by MyParser().
static double MyParser::bessel_Y0 | ( | double | x | ) | [inline, static] |
Referenced by MyParser().
static double MyParser::bessel_Y1 | ( | double | x | ) | [inline, static] |
Referenced by MyParser().
static double MyParser::bessel_Yn | ( | double | x, | |
double | n | |||
) | [inline, static] |
Referenced by MyParser().
static double MyParser::beta | ( | double | a, | |
double | b | |||
) | [inline, static] |
Referenced by MyParser().
static double MyParser::erf | ( | double | x | ) | [inline, static] |
Referenced by MyParser().
static double MyParser::erfc | ( | double | x | ) | [inline, static] |
Referenced by MyParser().
static double MyParser::erfq | ( | double | x | ) | [inline, static] |
Referenced by MyParser().
static double MyParser::erfz | ( | double | x | ) | [inline, static] |
Referenced by MyParser().
QString MyParser::explainFunction | ( | int | index | ) | [static] |
Referenced by FitDialog::showExpression().
QStringList MyParser::functionsList | ( | ) | [static] |
Referenced by FitDialog::showParseFunctions().
static double MyParser::gamma | ( | double | x | ) | [inline, static] |
Referenced by MyParser().
static double MyParser::gammaln | ( | double | x | ) | [inline, static] |
Referenced by MyParser().
static double MyParser::hazard | ( | double | x | ) | [inline, static] |
Referenced by MyParser().