#include #include #include -- | module Bindings.Gsl.Histograms where #strict_import #starttype gsl_histogram #field n , CSize #field range , Ptr CDouble #field bin , Ptr CDouble #stoptype #starttype gsl_histogram_pdf #field n , CSize #field range , Ptr CDouble #field sum , Ptr CDouble #stoptype #ccall gsl_histogram_alloc , CSize -> IO (Ptr ) #ccall gsl_histogram_calloc , CSize -> IO (Ptr ) #ccall gsl_histogram_calloc_uniform , CSize -> CDouble -> CDouble -> IO (Ptr ) #ccall gsl_histogram_free , Ptr -> IO () #ccall gsl_histogram_increment , Ptr -> CDouble -> IO CInt #ccall gsl_histogram_accumulate , Ptr -> CDouble -> CDouble -> IO CInt #ccall gsl_histogram_find , Ptr -> CDouble -> Ptr CSize -> IO CInt #ccall gsl_histogram_get , Ptr -> CSize -> IO CDouble #ccall gsl_histogram_get_range , Ptr -> CSize -> Ptr CDouble -> Ptr CDouble -> IO CInt #ccall gsl_histogram_max , Ptr -> IO CDouble #ccall gsl_histogram_min , Ptr -> IO CDouble #ccall gsl_histogram_bins , Ptr -> IO CSize #ccall gsl_histogram_reset , Ptr -> IO () #ccall gsl_histogram_calloc_range , CSize -> Ptr CDouble -> IO (Ptr ) #ccall gsl_histogram_set_ranges , Ptr -> Ptr CDouble -> CSize -> IO CInt #ccall gsl_histogram_set_ranges_uniform , Ptr -> CDouble -> CDouble -> IO CInt #ccall gsl_histogram_memcpy , Ptr -> Ptr -> IO CInt #ccall gsl_histogram_clone , Ptr -> IO (Ptr ) #ccall gsl_histogram_max_val , Ptr -> IO CDouble #ccall gsl_histogram_max_bin , Ptr -> IO CSize #ccall gsl_histogram_min_val , Ptr -> IO CDouble #ccall gsl_histogram_min_bin , Ptr -> IO CSize #ccall gsl_histogram_equal_bins_p , Ptr -> Ptr -> IO CInt #ccall gsl_histogram_add , Ptr -> Ptr -> IO CInt #ccall gsl_histogram_sub , Ptr -> Ptr -> IO CInt #ccall gsl_histogram_mul , Ptr -> Ptr -> IO CInt #ccall gsl_histogram_div , Ptr -> Ptr -> IO CInt #ccall gsl_histogram_scale , Ptr -> CDouble -> IO CInt #ccall gsl_histogram_shift , Ptr -> CDouble -> IO CInt #ccall gsl_histogram_sigma , Ptr -> IO CDouble #ccall gsl_histogram_mean , Ptr -> IO CDouble #ccall gsl_histogram_sum , Ptr -> IO CDouble #ccall gsl_histogram_fwrite , Ptr CFile -> Ptr -> IO CInt #ccall gsl_histogram_fread , Ptr CFile -> Ptr -> IO CInt #ccall gsl_histogram_fprintf , Ptr CFile -> Ptr -> CString -> CString -> IO CInt #ccall gsl_histogram_fscanf , Ptr CFile -> Ptr -> IO CInt #ccall gsl_histogram_pdf_alloc , CSize -> IO (Ptr ) #ccall gsl_histogram_pdf_init , Ptr -> Ptr -> IO CInt #ccall gsl_histogram_pdf_free , Ptr -> IO () #ccall gsl_histogram_pdf_sample , Ptr -> CDouble -> IO CDouble #starttype gsl_histogram2d #field nx , CSize #field ny , CSize #field xrange , Ptr CDouble #field yrange , Ptr CDouble #field bin , Ptr CDouble #stoptype #starttype gsl_histogram2d_pdf #field nx , CSize #field ny , CSize #field xrange , Ptr CDouble #field yrange , Ptr CDouble #field sum , Ptr CDouble #stoptype #ccall gsl_histogram2d_alloc , CSize -> CSize -> IO (Ptr ) #ccall gsl_histogram2d_calloc , CSize -> CSize -> IO (Ptr ) #ccall gsl_histogram2d_calloc_uniform , CSize -> CSize -> CDouble -> CDouble -> CDouble -> CDouble -> IO (Ptr ) #ccall gsl_histogram2d_free , Ptr -> IO () #ccall gsl_histogram2d_increment , Ptr -> CDouble -> CDouble -> IO CInt #ccall gsl_histogram2d_accumulate , Ptr -> CDouble -> CDouble -> CDouble -> IO CInt #ccall gsl_histogram2d_find , Ptr -> CDouble -> CDouble -> Ptr CSize -> Ptr CSize -> IO CInt #ccall gsl_histogram2d_get , Ptr -> CSize -> CSize -> IO CDouble #ccall gsl_histogram2d_get_xrange , Ptr -> CSize -> Ptr CDouble -> Ptr CDouble -> IO CInt #ccall gsl_histogram2d_get_yrange , Ptr -> CSize -> Ptr CDouble -> Ptr CDouble -> IO CInt #ccall gsl_histogram2d_xmax , Ptr -> IO CDouble #ccall gsl_histogram2d_xmin , Ptr -> IO CDouble #ccall gsl_histogram2d_nx , Ptr -> IO CSize #ccall gsl_histogram2d_ymax , Ptr -> IO CDouble #ccall gsl_histogram2d_ymin , Ptr -> IO CDouble #ccall gsl_histogram2d_ny , Ptr -> IO CSize #ccall gsl_histogram2d_reset , Ptr -> IO () #ccall gsl_histogram2d_calloc_range , CSize -> CSize -> Ptr CDouble -> Ptr CDouble -> IO (Ptr ) #ccall gsl_histogram2d_set_ranges_uniform , Ptr -> CDouble -> CDouble -> CDouble -> CDouble -> IO CInt #ccall gsl_histogram2d_set_ranges , Ptr -> Ptr CDouble -> CSize -> Ptr CDouble -> CSize -> IO CInt #ccall gsl_histogram2d_memcpy , Ptr -> Ptr -> IO CInt #ccall gsl_histogram2d_clone , Ptr -> IO (Ptr ) #ccall gsl_histogram2d_max_val , Ptr -> IO CDouble #ccall gsl_histogram2d_max_bin , Ptr -> Ptr CSize -> Ptr CSize -> IO () #ccall gsl_histogram2d_min_val , Ptr -> IO CDouble #ccall gsl_histogram2d_min_bin , Ptr -> Ptr CSize -> Ptr CSize -> IO () #ccall gsl_histogram2d_xmean , Ptr -> IO CDouble #ccall gsl_histogram2d_ymean , Ptr -> IO CDouble #ccall gsl_histogram2d_xsigma , Ptr -> IO CDouble #ccall gsl_histogram2d_ysigma , Ptr -> IO CDouble #ccall gsl_histogram2d_cov , Ptr -> IO CDouble #ccall gsl_histogram2d_sum , Ptr -> IO CDouble #ccall gsl_histogram2d_equal_bins_p , Ptr -> Ptr -> IO CInt #ccall gsl_histogram2d_add , Ptr -> Ptr -> IO CInt #ccall gsl_histogram2d_sub , Ptr -> Ptr -> IO CInt #ccall gsl_histogram2d_mul , Ptr -> Ptr -> IO CInt #ccall gsl_histogram2d_div , Ptr -> Ptr -> IO CInt #ccall gsl_histogram2d_scale , Ptr -> CDouble -> IO CInt #ccall gsl_histogram2d_shift , Ptr -> CDouble -> IO CInt #ccall gsl_histogram2d_fwrite , Ptr CFile -> Ptr -> IO CInt #ccall gsl_histogram2d_fread , Ptr CFile -> Ptr -> IO CInt #ccall gsl_histogram2d_fprintf , Ptr CFile -> Ptr -> CString -> CString -> IO CInt #ccall gsl_histogram2d_fscanf , Ptr CFile -> Ptr -> IO CInt #ccall gsl_histogram2d_pdf_alloc , CSize -> CSize -> IO (Ptr ) #ccall gsl_histogram2d_pdf_init , Ptr -> Ptr -> IO CInt #ccall gsl_histogram2d_pdf_free , Ptr -> IO () #ccall gsl_histogram2d_pdf_sample , Ptr -> CDouble -> CDouble -> Ptr CDouble -> Ptr CDouble -> IO CInt