Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
integration.h File Reference
#include <gsl/gsl_integration.h>
#include "functions.h"
#include "gsl_wrappers.h"
Include dependency graph for integration.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

double integrate (RealValuedFunction f, double l, double u, double prec)
 Performs numerical integration of a real-valued function of a real variable.
 
scalar_t c_integrate (ComplexValuedFunction f, double l, double u, double prec)
 Performs numerical integration of a complex-valued function of a real variable.
 

Function Documentation

◆ c_integrate()

scalar_t c_integrate ( ComplexValuedFunction  f,
double  l,
double  u,
double  prec 
)

Performs numerical integration of a complex-valued function of a real variable.

Parameters
fComplex function to integrate.
lLower bound of integration.
uUpper bound of integration.
precDesired precision.
Returns
Complex-valued result of the integral.

Definition at line 63 of file integration.cpp.

◆ integrate()

double integrate ( RealValuedFunction  f,
double  l,
double  u,
double  prec 
)

Performs numerical integration of a real-valued function of a real variable.

Parameters
fFunction to integrate.
lLower bound of integration.
uUpper bound of integration.
precDesired precision.
Returns
Numerical integral result.

Definition at line 15 of file integration.cpp.