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