Mathematical parser class based on muParser. More...
#include <MyParser.h>
Classes | |
| class | Pole |
| class | Singularity |
Public Member Functions | |
| void | addGSLConstants () |
| double | DiffRemoveSingularity (double *xvar, double *a_Var, double a_fPos) const |
| double | EvalRemoveSingularity (double *xvar, bool noisy=true) const |
| MyParser () | |
| void | setLocale (const QLocale &locale) |
Static Public Member Functions | |
| static QString | explainFunction (int index) |
| static const QStringList | functionNamesList () |
| static const QStringList | functionsList () |
| static void | SingularityErrorMessage (double xvar) |
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 M_PI, muParserScripting::math_functions, and setLocale().
| void MyParser::addGSLConstants | ( | ) |
Referenced by DoubleSpinBox::interpretText(), and muParserScript::muParserScript().
| double MyParser::DiffRemoveSingularity | ( | double * | xvar, | |
| double * | a_Var, | |||
| double | a_fPos | |||
| ) | const |
References EvalRemoveSingularity().
Referenced by user_df().
| double MyParser::EvalRemoveSingularity | ( | double * | xvar, | |
| bool | noisy = true | |||
| ) | const |
| QString MyParser::explainFunction | ( | int | index | ) | [static] |
References muParserScripting::mathFunction::description, and muParserScripting::math_functions.
Referenced by FitDialog::showExpression(), and FunctionDialog::updateFunctionExplain().
| const QStringList MyParser::functionNamesList | ( | ) | [static] |
References muParserScripting::math_functions.
Referenced by ScriptEdit::ScriptEdit().
| const QStringList MyParser::functionsList | ( | ) | [static] |
References muParserScripting::math_functions.
Referenced by FunctionDialog::FunctionDialog(), and FitDialog::showParseFunctions().
| void MyParser::setLocale | ( | const QLocale & | locale | ) |
Referenced by DoubleSpinBox::interpretText(), and MyParser().
| static void MyParser::SingularityErrorMessage | ( | double | xvar | ) | [static] |
1.7.1