Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
integration.h
Go to the documentation of this file.
1#ifndef INTEGRATION_H
2#define INTEGRATION_H
3
4#include <gsl/gsl_integration.h>
5#include "functions.h"
6#include "gsl_wrappers.h"
7
16double integrate(RealValuedFunction f, double l, double u, double prec);
17
26scalar_t c_integrate(ComplexValuedFunction f, double l, double u, double prec);
27
28#endif // INTEGRATION_H
std::function< scalar_t(double)> ComplexValuedFunction
Definition functions.h:12
std::function< double(double)> RealValuedFunction
Definition functions.h:10
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.