TODO. More...
#include <muParserScripting.h>
Classes | |
struct | mathFunction |
Public Member Functions | |
bool | isRunning () const |
whether asynchronuous execution is enabled (if supported by the implementation) | |
const QString | mathFunctionDoc (const QString &name) const |
Return a documentation string for the given mathematical function. | |
const QStringList | mathFunctions () const |
Return a list of supported mathematical functions. These should be imported into the global namespace. | |
muParserScripting (ApplicationWindow *parent) | |
Script * | newScript (const QString &code, QObject *context, const QString &name="<input>") |
Instantiate the Script subclass matching the ScriptEnv subclass. | |
bool | setDouble (double, const char *) |
bool | setInt (int, const char *) |
bool | setQObject (QObject *, const char *) |
Static Public Member Functions | |
static ScriptingEnv * | constructor (ApplicationWindow *parent) |
static const QString | explainFunction (const QString &name) |
static const QStringList | functionsList (bool tableContext=false) |
Static Public Attributes | |
static const char * | langName = "muParser" |
static const mathFunction | math_functions [] |
Static Private 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_Jn_zero (double n, double s) |
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 | erf_Q (double x) |
static double | erf_Z (double x) |
static double | erfc (double x) |
static double | gamma (double x) |
static double | gauss_cdf (double x, double sigma) |
static double | gauss_pdf (double x, double sigma) |
static double | hazard (double x) |
static double | inv_gauss_cdf (double x, double sigma) |
static double | lambert_W0 (double x) |
static double | lambert_Wm1 (double x) |
static double | lngamma (double x) |
static double | mod (double x, double y) |
static double | rnd (double x) |
static double | ttable (double x, double n) |
TODO.
muParserScripting::muParserScripting | ( | ApplicationWindow * | parent | ) | [inline] |
References ScriptingEnv::d_initialized.
Referenced by constructor().
static double muParserScripting::bessel_J0 | ( | double | x | ) | [inline, static, private] |
static double muParserScripting::bessel_J1 | ( | double | x | ) | [inline, static, private] |
static double muParserScripting::bessel_Jn | ( | double | x, | |
double | n | |||
) | [inline, static, private] |
static double muParserScripting::bessel_Jn_zero | ( | double | n, | |
double | s | |||
) | [inline, static, private] |
static double muParserScripting::bessel_Y0 | ( | double | x | ) | [inline, static, private] |
static double muParserScripting::bessel_Y1 | ( | double | x | ) | [inline, static, private] |
static double muParserScripting::bessel_Yn | ( | double | x, | |
double | n | |||
) | [inline, static, private] |
static double muParserScripting::beta | ( | double | a, | |
double | b | |||
) | [inline, static, private] |
static ScriptingEnv* muParserScripting::constructor | ( | ApplicationWindow * | parent | ) | [inline, static] |
References muParserScripting().
static double muParserScripting::erf | ( | double | x | ) | [inline, static, private] |
static double muParserScripting::erf_Q | ( | double | x | ) | [inline, static, private] |
static double muParserScripting::erf_Z | ( | double | x | ) | [inline, static, private] |
static double muParserScripting::erfc | ( | double | x | ) | [inline, static, private] |
const QString muParserScripting::explainFunction | ( | const QString & | name | ) | [static] |
References math_functions, and muParserScripting::mathFunction::name.
Referenced by SetColValuesDialog::insertExplain(), ExtractDataDialog::insertExplain(), MatrixValuesDialog::insertExplain(), and mathFunctionDoc().
const QStringList muParserScripting::functionsList | ( | bool | tableContext = false |
) | [static] |
References math_functions, and muParserScripting::mathFunction::name.
Referenced by ExtractDataDialog::ExtractDataDialog(), mathFunctions(), and SetColValuesDialog::SetColValuesDialog().
static double muParserScripting::gamma | ( | double | x | ) | [inline, static, private] |
static double muParserScripting::gauss_cdf | ( | double | x, | |
double | sigma | |||
) | [inline, static, private] |
static double muParserScripting::gauss_pdf | ( | double | x, | |
double | sigma | |||
) | [inline, static, private] |
static double muParserScripting::hazard | ( | double | x | ) | [inline, static, private] |
static double muParserScripting::inv_gauss_cdf | ( | double | x, | |
double | sigma | |||
) | [inline, static, private] |
bool muParserScripting::isRunning | ( | ) | const [inline, virtual] |
whether asynchronuous execution is enabled (if supported by the implementation)
Reimplemented from ScriptingEnv.
static double muParserScripting::lambert_W0 | ( | double | x | ) | [inline, static, private] |
static double muParserScripting::lambert_Wm1 | ( | double | x | ) | [inline, static, private] |
static double muParserScripting::lngamma | ( | double | x | ) | [inline, static, private] |
const QString muParserScripting::mathFunctionDoc | ( | const QString & | ) | const [virtual] |
Return a documentation string for the given mathematical function.
Reimplemented from ScriptingEnv.
References explainFunction().
const QStringList muParserScripting::mathFunctions | ( | ) | const [virtual] |
Return a list of supported mathematical functions. These should be imported into the global namespace.
Reimplemented from ScriptingEnv.
References functionsList().
static double muParserScripting::mod | ( | double | x, | |
double | y | |||
) | [inline, static, private] |
Script* muParserScripting::newScript | ( | const QString & | , | |
QObject * | , | |||
const QString & | = "<input>" | |||
) | [inline, virtual] |
Instantiate the Script subclass matching the ScriptEnv subclass.
Reimplemented from ScriptingEnv.
static double muParserScripting::rnd | ( | double | x | ) | [inline, static, private] |
bool muParserScripting::setDouble | ( | double | , | |
const char * | ||||
) | [inline, virtual] |
Reimplemented from ScriptingEnv.
bool muParserScripting::setInt | ( | int | , | |
const char * | ||||
) | [inline, virtual] |
Reimplemented from ScriptingEnv.
bool muParserScripting::setQObject | ( | QObject * | , | |
const char * | ||||
) | [inline, virtual] |
Reimplemented from ScriptingEnv.
static double muParserScripting::ttable | ( | double | x, | |
double | n | |||
) | [inline, static, private] |
const char * muParserScripting::langName = "muParser" [static] |
const muParserScripting::mathFunction muParserScripting::math_functions [static] |