Mathematical parser class based on muParser. More...
#include <MyParser.h>
Classes | |
class | Pole |
class | Singularity |
Public Member Functions | |
double | DiffRemoveSingularity (double *xvar, double *a_Var, double a_fPos) const |
double | EvalRemoveSingularity (double *xvar, bool noisy=true) const |
MyParser () | |
Static Public Member Functions | |
static QString | explainFunction (int index) |
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, and muParserScripting::math_functions.
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::functionsList | ( | ) | [static] |
References muParserScripting::math_functions.
Referenced by FunctionDialog::FunctionDialog(), and FitDialog::showParseFunctions().
static void MyParser::SingularityErrorMessage | ( | double | xvar | ) | [static] |