Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
integration.cpp File Reference
#include "integration.h"
#include <gsl/gsl_errno.h>
Include dependency graph for integration.cpp:

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.