| 1 | /* histogram/gsl_histogram.h |
| 2 | * |
| 3 | * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Brian Gough |
| 4 | * |
| 5 | * This program is free software; you can redistribute it and/or modify |
| 6 | * it under the terms of the GNU General Public License as published by |
| 7 | * the Free Software Foundation; either version 3 of the License, or (at |
| 8 | * your option) any later version. |
| 9 | * |
| 10 | * This program is distributed in the hope that it will be useful, but |
| 11 | * WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 13 | * General Public License for more details. |
| 14 | * |
| 15 | * You should have received a copy of the GNU General Public License |
| 16 | * along with this program; if not, write to the Free Software |
| 17 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
| 18 | */ |
| 19 | |
| 20 | #ifndef __GSL_HISTOGRAM_H__ |
| 21 | #define __GSL_HISTOGRAM_H__cxx . . $ `external/gsl/gsl_histogram.h:21:9`! |
| 22 | |
| 23 | #include <stdlib.h> |
| 24 | #include <stdio.h> |
| 25 | |
| 26 | #undef __BEGIN_DECLScxx . . $ `external/gsl/gsl_errno.h:33:10`! |
| 27 | #undef __END_DECLScxx . . $ `external/gsl/gsl_errno.h:34:10`! |
| 28 | #ifdef __cplusplus |
| 29 | # define __BEGIN_DECLS extern "C" { |
| 30 | # define __END_DECLS } |
| 31 | #else |
| 32 | # define __BEGIN_DECLScxx . . $ `external/gsl/gsl_histogram.h:32:10`! /* empty */ |
| 33 | # define __END_DECLScxx . . $ `external/gsl/gsl_histogram.h:33:10`! /* empty */ |
| 34 | #endif |
| 35 | |
| 36 | __BEGIN_DECLScxx . . $ `external/gsl/gsl_histogram.h:32:10`! |
| 37 | |
| 38 | typedef structcxx . . $ $anonymous_type_62a17a7d119001a7_0# { |
| 39 | size_tcxx . . $ size_t# ncxx . . $ $anonymous_type_62a17a7d119001a7_0#n. ; |
| 40 | double * rangecxx . . $ $anonymous_type_62a17a7d119001a7_0#range. ; |
| 41 | double * bincxx . . $ $anonymous_type_62a17a7d119001a7_0#bin. ; |
| 42 | } gsl_histogramcxx . . $ gsl_histogram# ; |
| 43 | |
| 44 | typedef structcxx . . $ $anonymous_type_62a17a7d119001a7_1# { |
| 45 | size_tcxx . . $ size_t# ncxx . . $ $anonymous_type_62a17a7d119001a7_1#n. ; |
| 46 | double * rangecxx . . $ $anonymous_type_62a17a7d119001a7_1#range. ; |
| 47 | double * sumcxx . . $ $anonymous_type_62a17a7d119001a7_1#sum. ; |
| 48 | } gsl_histogram_pdfcxx . . $ gsl_histogram_pdf# ; |
| 49 | |
| 50 | gsl_histogramcxx . . $ gsl_histogram# * gsl_histogram_alloccxx . . $ gsl_histogram_alloc(9bd550fd0e16d54e). (size_tcxx . . $ size_t# n); |
| 51 | |
| 52 | gsl_histogramcxx . . $ gsl_histogram# * gsl_histogram_calloccxx . . $ gsl_histogram_calloc(9bd550fd0e16d54e). (size_tcxx . . $ size_t# n); |
| 53 | gsl_histogramcxx . . $ gsl_histogram# * gsl_histogram_calloc_uniformcxx . . $ gsl_histogram_calloc_uniform(165a8f429c0dab78). (const size_tcxx . . $ size_t# n, const double xmin, const double xmax); |
| 54 | void gsl_histogram_freecxx . . $ gsl_histogram_free(dc22e7d24f093c48). (gsl_histogramcxx . . $ gsl_histogram# * h); |
| 55 | int gsl_histogram_incrementcxx . . $ gsl_histogram_increment(19dd58896d13d23d). (gsl_histogramcxx . . $ gsl_histogram# * h, double x); |
| 56 | int gsl_histogram_accumulatecxx . . $ gsl_histogram_accumulate(21c14a4a8dc69c1a). (gsl_histogramcxx . . $ gsl_histogram# * h, double x, double weight); |
| 57 | int gsl_histogram_findcxx . . $ gsl_histogram_find(237ee2059638278f). (const gsl_histogramcxx . . $ gsl_histogram# * h, |
| 58 | const double x, size_tcxx . . $ size_t# * i); |
| 59 | |
| 60 | double gsl_histogram_getcxx . . $ gsl_histogram_get(8faa2abb4359832e). (const gsl_histogramcxx . . $ gsl_histogram# * h, size_tcxx . . $ size_t# i); |
| 61 | int gsl_histogram_get_rangecxx . . $ gsl_histogram_get_range(54ed52c0a8280fc4). (const gsl_histogramcxx . . $ gsl_histogram# * h, size_tcxx . . $ size_t# i, |
| 62 | double * lower, double * upper); |
| 63 | |
| 64 | double gsl_histogram_maxcxx . . $ gsl_histogram_max(2a0573667e5ff3e9). (const gsl_histogramcxx . . $ gsl_histogram# * h); |
| 65 | double gsl_histogram_mincxx . . $ gsl_histogram_min(2a0573667e5ff3e9). (const gsl_histogramcxx . . $ gsl_histogram# * h); |
| 66 | size_tcxx . . $ size_t# gsl_histogram_binscxx . . $ gsl_histogram_bins(6f6be21cceacb201). (const gsl_histogramcxx . . $ gsl_histogram# * h); |
| 67 | |
| 68 | void gsl_histogram_resetcxx . . $ gsl_histogram_reset(dc22e7d24f093c48). (gsl_histogramcxx . . $ gsl_histogram# * h); |
| 69 | |
| 70 | gsl_histogramcxx . . $ gsl_histogram# * gsl_histogram_calloc_rangecxx . . $ gsl_histogram_calloc_range(98e2faa2470dfbe3).(size_tcxx . . $ size_t# n, double * range); |
| 71 | |
| 72 | int |
| 73 | gsl_histogram_set_rangescxx . . $ gsl_histogram_set_ranges(76fd4e01ddef5724). (gsl_histogramcxx . . $ gsl_histogram# * h, const double range[], size_tcxx . . $ size_t# size); |
| 74 | int |
| 75 | gsl_histogram_set_ranges_uniformcxx . . $ gsl_histogram_set_ranges_uniform(21c14a4a8dc69c1a). (gsl_histogramcxx . . $ gsl_histogram# * h, double xmin, double xmax); |
| 76 | |
| 77 | |
| 78 | |
| 79 | int |
| 80 | gsl_histogram_memcpycxx . . $ gsl_histogram_memcpy(5c42e2d87a3110f8).(gsl_histogramcxx . . $ gsl_histogram# * dest, const gsl_histogramcxx . . $ gsl_histogram# * source); |
| 81 | |
| 82 | gsl_histogramcxx . . $ gsl_histogram# * |
| 83 | gsl_histogram_clonecxx . . $ gsl_histogram_clone(5ff6aab8aa29acc2).(const gsl_histogramcxx . . $ gsl_histogram# * source); |
| 84 | |
| 85 | double gsl_histogram_max_valcxx . . $ gsl_histogram_max_val(2a0573667e5ff3e9). (const gsl_histogramcxx . . $ gsl_histogram# * h); |
| 86 | |
| 87 | size_tcxx . . $ size_t# gsl_histogram_max_bincxx . . $ gsl_histogram_max_bin(6f6be21cceacb201). (const gsl_histogramcxx . . $ gsl_histogram# * h); |
| 88 | |
| 89 | double gsl_histogram_min_valcxx . . $ gsl_histogram_min_val(2a0573667e5ff3e9). (const gsl_histogramcxx . . $ gsl_histogram# * h); |
| 90 | |
| 91 | size_tcxx . . $ size_t# gsl_histogram_min_bincxx . . $ gsl_histogram_min_bin(6f6be21cceacb201). (const gsl_histogramcxx . . $ gsl_histogram# * h); |
| 92 | |
| 93 | int |
| 94 | gsl_histogram_equal_bins_pcxx . . $ gsl_histogram_equal_bins_p(c8a687a33e505f24).(const gsl_histogramcxx . . $ gsl_histogram# *h1, const gsl_histogramcxx . . $ gsl_histogram# *h2); |
| 95 | |
| 96 | int |
| 97 | gsl_histogram_addcxx . . $ gsl_histogram_add(5c42e2d87a3110f8).(gsl_histogramcxx . . $ gsl_histogram# *h1, const gsl_histogramcxx . . $ gsl_histogram# *h2); |
| 98 | |
| 99 | int |
| 100 | gsl_histogram_subcxx . . $ gsl_histogram_sub(5c42e2d87a3110f8).(gsl_histogramcxx . . $ gsl_histogram# *h1, const gsl_histogramcxx . . $ gsl_histogram# *h2); |
| 101 | |
| 102 | int |
| 103 | gsl_histogram_mulcxx . . $ gsl_histogram_mul(5c42e2d87a3110f8).(gsl_histogramcxx . . $ gsl_histogram# *h1, const gsl_histogramcxx . . $ gsl_histogram# *h2); |
| 104 | |
| 105 | int |
| 106 | gsl_histogram_divcxx . . $ gsl_histogram_div(5c42e2d87a3110f8).(gsl_histogramcxx . . $ gsl_histogram# *h1, const gsl_histogramcxx . . $ gsl_histogram# *h2); |
| 107 | |
| 108 | int |
| 109 | gsl_histogram_scalecxx . . $ gsl_histogram_scale(19dd58896d13d23d).(gsl_histogramcxx . . $ gsl_histogram# *h, double scale); |
| 110 | |
| 111 | int |
| 112 | gsl_histogram_shiftcxx . . $ gsl_histogram_shift(19dd58896d13d23d). (gsl_histogramcxx . . $ gsl_histogram# * h, double shift); |
| 113 | |
| 114 | |
| 115 | double gsl_histogram_sigmacxx . . $ gsl_histogram_sigma(2a0573667e5ff3e9). (const gsl_histogramcxx . . $ gsl_histogram# * h); |
| 116 | |
| 117 | double gsl_histogram_meancxx . . $ gsl_histogram_mean(2a0573667e5ff3e9). (const gsl_histogramcxx . . $ gsl_histogram# * h); |
| 118 | |
| 119 | double gsl_histogram_sumcxx . . $ gsl_histogram_sum(2a0573667e5ff3e9). (const gsl_histogramcxx . . $ gsl_histogram# * h); |
| 120 | |
| 121 | int gsl_histogram_fwritecxx . . $ gsl_histogram_fwrite(fa59e2b4b5219286). (FILEcxx . . $ FILE# * stream, const gsl_histogramcxx . . $ gsl_histogram# * h) ; |
| 122 | int gsl_histogram_freadcxx . . $ gsl_histogram_fread(ce1e69d28581fa11). (FILEcxx . . $ FILE# * stream, gsl_histogramcxx . . $ gsl_histogram# * h); |
| 123 | int gsl_histogram_fprintfcxx . . $ gsl_histogram_fprintf(cef49262b0e4926a). (FILEcxx . . $ FILE# * stream, const gsl_histogramcxx . . $ gsl_histogram# * h, |
| 124 | const char * range_format, const char * bin_format); |
| 125 | int gsl_histogram_fscanfcxx . . $ gsl_histogram_fscanf(ce1e69d28581fa11). (FILEcxx . . $ FILE# * stream, gsl_histogramcxx . . $ gsl_histogram# * h); |
| 126 | |
| 127 | gsl_histogram_pdfcxx . . $ gsl_histogram_pdf# * gsl_histogram_pdf_alloccxx . . $ gsl_histogram_pdf_alloc(fd689f857169c2d6). (const size_tcxx . . $ size_t# n); |
| 128 | int gsl_histogram_pdf_initcxx . . $ gsl_histogram_pdf_init(cfaf1669fcd9a9f6). (gsl_histogram_pdfcxx . . $ gsl_histogram_pdf# * p, const gsl_histogramcxx . . $ gsl_histogram# * h); |
| 129 | void gsl_histogram_pdf_freecxx . . $ gsl_histogram_pdf_free(7f777ba31d3ca147). (gsl_histogram_pdfcxx . . $ gsl_histogram_pdf# * p); |
| 130 | double gsl_histogram_pdf_samplecxx . . $ gsl_histogram_pdf_sample(16d5fabdd4af40f8). (const gsl_histogram_pdfcxx . . $ gsl_histogram_pdf# * p, double r); |
| 131 | |
| 132 | __END_DECLScxx . . $ `external/gsl/gsl_histogram.h:33:10`! |
| 133 | |
| 134 | #endif /* __GSL_HISTOGRAM_H__ */ |