4#include <gsl/gsl_integration.h>
std::function< scalar_t(double)> ComplexValuedFunction
std::function< double(double)> RealValuedFunction
scalar_t c_integrate(ComplexValuedFunction f, double l, double u, double prec)
Performs numerical integration of a complex-valued function of a real variable.
double integrate(RealValuedFunction f, double l, double u, double prec)
Performs numerical integration of a real-valued function of a real variable.
double f(double x)
Wilson special function f depending on x.