Mantid
|
Typedefs | |
using | oneVarFun = double(*)(double) |
Functions | |
void MANTID_API_DLL | addDefaultConstants (mu::Parser &parser) |
Add a set of default constants to a muParser. More... | |
void MANTID_API_DLL | extraOneVarFunctions (mu::Parser &parser) |
Variables | |
const MANTID_API_DLL std::map< double, std::string > | MUPARSER_CONSTANTS |
Defines convenience methods to be used with the muParser mathematical expression parser. More... | |
const MANTID_API_DLL std::map< std::string, oneVarFun > | MUPARSER_ONEVAR_FUNCTIONS = {{"erf", gsl_sf_erf}, {"erfc", gsl_sf_erfc}} |
typedef double(* Mantid::API::MuParserUtils::oneVarFun)(double) |
Definition at line 29 of file MuParserUtils.h.
void MANTID_API_DLL Mantid::API::MuParserUtils::addDefaultConstants | ( | mu::Parser & | parser | ) |
Add a set of default constants to a muParser.
The added constants are defined in MUPARSER_CONSTANTS.
parser | The parser to be initialized. |
Definition at line 42 of file MuParserUtils.cpp.
References MUPARSER_CONSTANTS.
void MANTID_API_DLL Mantid::API::MuParserUtils::extraOneVarFunctions | ( | mu::Parser & | parser | ) |
Definition at line 51 of file MuParserUtils.cpp.
References extraOneVarFunctions(), and MUPARSER_ONEVAR_FUNCTIONS.
Referenced by extraOneVarFunctions().
const std::map< double, std::string > Mantid::API::MuParserUtils::MUPARSER_CONSTANTS |
Defines convenience methods to be used with the muParser mathematical expression parser.
A map from constants to their muParser names.
Definition at line 21 of file MuParserUtils.cpp.
Referenced by addDefaultConstants().
const std::map< std::string, oneVarFun > Mantid::API::MuParserUtils::MUPARSER_ONEVAR_FUNCTIONS = {{"erf", gsl_sf_erf}, {"erfc", gsl_sf_erfc}} |
Definition at line 49 of file MuParserUtils.cpp.
Referenced by extraOneVarFunctions().