#include #include -- | module Bindings.Gsl.NumericalIntegration where #strict_import import Bindings.Gsl.MathematicalFunctions #starttype gsl_integration_workspace #field limit , CSize #field size , CSize #field nrmax , CSize #field i , CSize #field maximum_level , CSize #field alist , Ptr CDouble #field blist , Ptr CDouble #field rlist , Ptr CDouble #field elist , Ptr CDouble #field order , Ptr CSize #field level , Ptr CSize #stoptype #starttype gsl_integration_cquad_ival #field a , CDouble #field b , CDouble #array_field c , CDouble #array_field fx , CDouble #field igral , CDouble #field err , CDouble #field depth , CInt #field rdepth , CInt #field ndiv , CInt #stoptype #starttype gsl_integration_cquad_workspace #field size , CSize #field ivals , Ptr #field heap , Ptr CSize #stoptype #ccall gsl_integration_workspace_alloc , CSize -> IO (Ptr ) #ccall gsl_integration_workspace_free , Ptr -> IO () #starttype gsl_integration_qaws_table #field alpha , CDouble #field beta , CDouble #field mu , CInt #field nu , CInt #array_field ri , CDouble #array_field rj , CDouble #array_field rg , CDouble #array_field rh , CDouble #stoptype #ccall gsl_integration_qaws_table_alloc , CDouble -> CDouble -> CInt -> CInt -> CInt -> IO (Ptr ) #ccall gsl_integration_qaws_table_set , Ptr -> CDouble -> CDouble -> CInt -> CInt -> CInt -> IO CInt #ccall gsl_integration_qaws_table_free , Ptr -> IO () #integral_t enum gsl_integration_qawo_enum #num GSL_INTEG_COSINE #num GSL_INTEG_SINE #starttype gsl_integration_qawo_table #field n , CSize #field omega , CDouble #field L , CDouble #field par , CDouble #field sine , #field chebmo , Ptr CDouble #stoptype #ccall gsl_integration_qawo_table_alloc , CDouble -> CDouble -> -> CSize -> IO (Ptr ) #ccall gsl_integration_qawo_table_set , Ptr -> CDouble -> CDouble -> -> IO CInt #ccall gsl_integration_qawo_table_set_length , Ptr -> CDouble -> IO CInt #ccall gsl_integration_qawo_table_free , Ptr -> IO () #callback_t gsl_integration_rule , Ptr -> CDouble -> CDouble -> Ptr CDouble -> Ptr CDouble -> Ptr CDouble -> Ptr CDouble -> IO () #ccall gsl_integration_qk15 , Ptr -> CDouble -> CDouble -> Ptr CDouble -> Ptr CDouble -> Ptr CDouble -> Ptr CDouble -> IO () #ccall gsl_integration_qk21 , Ptr -> CDouble -> CDouble -> Ptr CDouble -> Ptr CDouble -> Ptr CDouble -> Ptr CDouble -> IO () #ccall gsl_integration_qk31 , Ptr -> CDouble -> CDouble -> Ptr CDouble -> Ptr CDouble -> Ptr CDouble -> Ptr CDouble -> IO () #ccall gsl_integration_qk41 , Ptr -> CDouble -> CDouble -> Ptr CDouble -> Ptr CDouble -> Ptr CDouble -> Ptr CDouble -> IO () #ccall gsl_integration_qk51 , Ptr -> CDouble -> CDouble -> Ptr CDouble -> Ptr CDouble -> Ptr CDouble -> Ptr CDouble -> IO () #ccall gsl_integration_qk61 , Ptr -> CDouble -> CDouble -> Ptr CDouble -> Ptr CDouble -> Ptr CDouble -> Ptr CDouble -> IO () #ccall gsl_integration_qcheb , Ptr -> CDouble -> CDouble -> Ptr CDouble -> Ptr CDouble -> IO () #num GSL_INTEG_GAUSS15 #num GSL_INTEG_GAUSS21 #num GSL_INTEG_GAUSS31 #num GSL_INTEG_GAUSS41 #num GSL_INTEG_GAUSS51 #num GSL_INTEG_GAUSS61 #ccall gsl_integration_qk , CInt -> CInt -> Ptr CDouble -> Ptr CDouble -> Ptr CDouble -> Ptr CDouble -> Ptr CDouble -> Ptr -> CDouble -> CDouble -> Ptr CDouble -> Ptr CDouble -> Ptr CDouble -> Ptr CDouble -> IO () #ccall gsl_integration_qng , Ptr -> CDouble -> CDouble -> CDouble -> CDouble -> Ptr CDouble -> Ptr CDouble -> Ptr CSize -> IO CInt #ccall gsl_integration_qag , Ptr -> CDouble -> CDouble -> CDouble -> CDouble -> CSize -> CInt -> CInt -> Ptr -> Ptr CDouble -> Ptr CDouble -> IO CInt #ccall gsl_integration_qagi , Ptr -> CDouble -> CDouble -> CSize -> Ptr -> Ptr CDouble -> Ptr CDouble -> IO CInt #ccall gsl_integration_qagiu , Ptr -> CDouble -> CDouble -> CDouble -> CSize -> Ptr -> Ptr CDouble -> Ptr CDouble -> IO CInt #ccall gsl_integration_qagil , Ptr -> CDouble -> CDouble -> CDouble -> CSize -> Ptr -> Ptr CDouble -> Ptr CDouble -> IO CInt #ccall gsl_integration_qags , Ptr -> CDouble -> CDouble -> CDouble -> CDouble -> CSize -> Ptr -> Ptr CDouble -> Ptr CDouble -> IO CInt #ccall gsl_integration_qagp , Ptr -> Ptr CDouble -> CSize -> CDouble -> CDouble -> CSize -> Ptr -> Ptr CDouble -> Ptr CDouble -> IO CInt #ccall gsl_integration_qawc , Ptr -> CDouble -> CDouble -> CDouble -> CDouble -> CDouble -> CSize -> Ptr -> Ptr CDouble -> Ptr CDouble -> IO CInt #ccall gsl_integration_qaws , Ptr -> CDouble -> CDouble -> Ptr -> CDouble -> CDouble -> CSize -> Ptr -> Ptr CDouble -> Ptr CDouble -> IO CInt #ccall gsl_integration_qawo , Ptr -> CDouble -> CDouble -> CDouble -> CSize -> Ptr -> Ptr -> Ptr CDouble -> Ptr CDouble -> IO CInt #ccall gsl_integration_qawf , Ptr -> CDouble -> CDouble -> CSize -> Ptr -> Ptr -> Ptr -> Ptr CDouble -> Ptr CDouble -> IO CInt #ccall gsl_integration_cquad_workspace_alloc , CSize -> \ IO (Ptr ) #ccall gsl_integration_cquad_workspace_free , \ Ptr -> IO () #ccall gsl_integration_cquad , Ptr -> CDouble -> CDouble -> \ CDouble -> CDouble -> Ptr -> \ Ptr CDouble -> Ptr CDouble -> Ptr CSize -> IO CInt #starttype gsl_integration_glfixed_table #field n , CSize #field x , Ptr CDouble #field w , Ptr CDouble #field precomputed , CInt #stoptype #ccall gsl_integration_glfixed_table_alloc , CSize -> \ IO (Ptr ) #ccall gsl_integration_glfixed , Ptr -> CDouble -> CDouble -> \ Ptr -> IO CDouble #ccall gsl_integration_glfixed_point , CDouble -> CDouble -> CSize -> \ Ptr CDouble -> Ptr CDouble -> Ptr -> \ IO CInt #ccall gsl_integration_glfixed_table_free , \ Ptr -> IO ()