#include "ScriptingEnv.h"
#include "Script.h"
#include "MuParserScript.h"
#include <muParser.h>
#include "math.h"
#include <gsl/gsl_sf.h>
#include <gsl/gsl_errno.h>
Go to the source code of this file.
Macros |
#define | SPECIAL(fname, arg) gsl_sf_result result; if (gsl_sf_##fname##_e(arg, &result) == GSL_SUCCESS) return result.val; else return NAN |
#define | SPECIAL2(fname, arg1, arg2) gsl_sf_result result; if (gsl_sf_##fname##_e(arg1, arg2, &result) == GSL_SUCCESS) return result.val; else return NAN |
Macro Definition Documentation
#define SPECIAL |
( |
|
fname, |
|
|
|
arg |
|
) |
| gsl_sf_result result; if (gsl_sf_##fname##_e(arg, &result) == GSL_SUCCESS) return result.val; else return NAN |
Referenced by MuParserScripting::bessel_J0(), MuParserScripting::bessel_J1(), MuParserScripting::bessel_Y0(), MuParserScripting::bessel_Y1(), MuParserScripting::erf(), MuParserScripting::erf_Q(), MuParserScripting::erf_Z(), MuParserScripting::erfc(), MuParserScripting::gamma(), MuParserScripting::hazard(), MuParserScripting::lambert_W0(), MuParserScripting::lambert_Wm1(), and MuParserScripting::lngamma().
#define SPECIAL2 |
( |
|
fname, |
|
|
|
arg1, |
|
|
|
arg2 |
|
) |
| gsl_sf_result result; if (gsl_sf_##fname##_e(arg1, arg2, &result) == GSL_SUCCESS) return result.val; else return NAN |