Geant4 Cross Reference |
1 /* 1 /* 2 # <<BEGIN-copyright>> 2 # <<BEGIN-copyright>> 3 # <<END-copyright>> 3 # <<END-copyright>> 4 */ 4 */ 5 5 6 #ifndef specialFunctions_h_included 6 #ifndef specialFunctions_h_included 7 #define specialFunctions_h_included 7 #define specialFunctions_h_included 8 8 9 #define _USE_MATH_DEFINES << 10 #include <math.h> 9 #include <math.h> 11 #include <float.h> 10 #include <float.h> >> 11 #include <nf_utilities.h> 12 12 13 #include "nf_utilities.h" << 13 #ifdef WIN32 >> 14 #define isfinite _finite >> 15 #define M_PI 3.141592653589793238463 >> 16 /*#define INFINITY (DBL_MAX+DBL_MAX)*/ >> 17 #endif 14 18 15 #if defined __cplusplus 19 #if defined __cplusplus 16 extern "C" { 20 extern "C" { 17 namespace GIDI { 21 namespace GIDI { 18 #endif 22 #endif 19 23 20 double nf_polevl( double x, double coef[], int 24 double nf_polevl( double x, double coef[], int N ); 21 double nf_p1evl( double x, double coef[], int 25 double nf_p1evl( double x, double coef[], int N ); 22 double nf_exponentialIntegral( int n, double x 26 double nf_exponentialIntegral( int n, double x, nfu_status *status ); 23 double nf_gammaFunction( double x, nfu_status 27 double nf_gammaFunction( double x, nfu_status *status ); 24 double nf_logGammaFunction( double x, nfu_stat 28 double nf_logGammaFunction( double x, nfu_status *status ); 25 double nf_incompleteGammaFunction( double a, d 29 double nf_incompleteGammaFunction( double a, double x, nfu_status *status ); 26 double nf_incompleteGammaFunctionComplementary 30 double nf_incompleteGammaFunctionComplementary( double a, double x, nfu_status *status ); 27 31 28 double nf_amc_log_factorial( int ); 32 double nf_amc_log_factorial( int ); 29 double nf_amc_factorial( int ); 33 double nf_amc_factorial( int ); 30 double nf_amc_wigner_3j( int, int, int, int, 34 double nf_amc_wigner_3j( int, int, int, int, int, int ); 31 double nf_amc_wigner_6j( int, int, int, int, 35 double nf_amc_wigner_6j( int, int, int, int, int, int ); 32 double nf_amc_wigner_9j( int, int, int, int, 36 double nf_amc_wigner_9j( int, int, int, int, int, int, int, int, int ); 33 double nf_amc_racah( int, int, int, int, int, 37 double nf_amc_racah( int, int, int, int, int, int ); 34 double nf_amc_clebsh_gordan( int, int, int, i 38 double nf_amc_clebsh_gordan( int, int, int, int, int ); 35 double nf_amc_z_coefficient( int, int, int, i 39 double nf_amc_z_coefficient( int, int, int, int, int, int ); 36 double nf_amc_zbar_coefficient( int, int, int 40 double nf_amc_zbar_coefficient( int, int, int, int, int, int ); 37 double nf_amc_reduced_matrix_element( int, in 41 double nf_amc_reduced_matrix_element( int, int, int, int, int, int, int ); 38 42 39 #if defined __cplusplus 43 #if defined __cplusplus 40 } 44 } 41 } 45 } 42 #endif 46 #endif 43 47 44 #endif /* End of ptwXY_h_included. */ 48 #endif /* End of ptwXY_h_included. */ 45 49