Functions | |
| pHistogram | histogram_new (double *data, int nsamples, int nbins) |
| pHistogram | histogram_load (char *file) |
| void | histogram_reset (pHistogram phist) |
| void | histogram_free (pHistogram phist) |
| void | __max_and_min (double *data, int size, double *max, double *min) |
| int | __histogram_index (pHistogram phist, double p) |
| void | histogram_set_by_bin (pHistogram phist, double *data, int nsamples, int nbins) |
| void | histogram_set_by_unit (pHistogram phist, double *data, int nsamples, double unit) |
| void | __qsort_double_with_index (double *list, int *idx, int left, int right) |
| int * | qsort_double_with_index (double *list, int size) |
| void | histogram_set_with_preset_point (pHistogram phist, double *data, int nsamples, double *point, int nbins) |
| void | histogram_set_sparse_data (pHistogram phist, double *data, int nsamples) |
| int | histogram_get_count (pHistogram phist, double p) |
| double | histogram_get_prob (pHistogram phist, double p) |
| int | histogram_merge (pHistogram phist, pHistogram parg) |
| void | histogram_print (pHistogram phist, FILE *fp) |
| double | histogram_compare (pHistogram phist1, pHistogram phist2) |
| double | histogram_check_fitness (pHistogram phist, double *args, double(*cdf)(double p, double *args)) |
| int __histogram_index | ( | pHistogram | phist, |
| double | p | ||
| ) |
| void __max_and_min | ( | double * | data, |
| int | size, | ||
| double * | max, | ||
| double * | min | ||
| ) |
| void __qsort_double_with_index | ( | double * | list, |
| int * | idx, | ||
| int | left, | ||
| int | right | ||
| ) |
| double histogram_check_fitness | ( | pHistogram | phist, |
| double * | args, | ||
| double(*)(double p, double *args) | cdf | ||
| ) |
| double histogram_compare | ( | pHistogram | phist1, |
| pHistogram | phist2 | ||
| ) |
| void histogram_free | ( | pHistogram | phist | ) |
| int histogram_get_count | ( | pHistogram | phist, |
| double | p | ||
| ) |
| double histogram_get_prob | ( | pHistogram | phist, |
| double | p | ||
| ) |
| pHistogram histogram_load | ( | char * | file | ) |
| int histogram_merge | ( | pHistogram | phist, |
| pHistogram | parg | ||
| ) |
| pHistogram histogram_new | ( | double * | data, |
| int | nsamples, | ||
| int | nbins | ||
| ) |
| void histogram_print | ( | pHistogram | phist, |
| FILE * | fp | ||
| ) |
| void histogram_reset | ( | pHistogram | phist | ) |
| void histogram_set_by_bin | ( | pHistogram | phist, |
| double * | data, | ||
| int | nsamples, | ||
| int | nbins | ||
| ) |
| void histogram_set_by_unit | ( | pHistogram | phist, |
| double * | data, | ||
| int | nsamples, | ||
| double | unit | ||
| ) |
| void histogram_set_sparse_data | ( | pHistogram | phist, |
| double * | data, | ||
| int | nsamples | ||
| ) |
| void histogram_set_with_preset_point | ( | pHistogram | phist, |
| double * | data, | ||
| int | nsamples, | ||
| double * | point, | ||
| int | nbins | ||
| ) |
| int* qsort_double_with_index | ( | double * | list, |
| int | size | ||
| ) |