File indexing completed on 2025-01-18 09:59:31
0001
0002
0003
0004
0005
0006 #ifndef nf_integration_h_included
0007 #define nf_integration_h_included
0008
0009 #include <nf_utilities.h>
0010 #include <nf_Legendre.h>
0011
0012 #if defined __cplusplus
0013 extern "C" {
0014 namespace GIDI {
0015 #endif
0016
0017 #define nf_GnG_adaptiveQuadrature_MaxMaxDepth 20
0018
0019 typedef nfu_status (*nf_GnG_adaptiveQuadrature_callback)( nf_Legendre_GaussianQuadrature_callback integrandFunction, void *argList, double x1,
0020 double x2, double *integral );
0021
0022 nfu_status nf_GnG_adaptiveQuadrature( nf_GnG_adaptiveQuadrature_callback quadratureFunction, nf_Legendre_GaussianQuadrature_callback integrandFunction,
0023 void *argList, double x1, double x2, int maxDepth, double tolerance, double *integral, long *evaluations );
0024
0025 #if defined __cplusplus
0026 }
0027 }
0028 #endif
0029
0030 #endif
0031