APEMoST
|
Go to the source code of this file.
Functions | |
gsl_histogram * | create_hist (int nbins, double min, double max) |
gsl_histogram * | calc_hist (const gsl_vector *v, int nbins) |
void | append_to_hists (gsl_histogram **hists, unsigned int n, const char *filename) |
void | find_min_max (char *filename, gsl_vector *min, gsl_vector *max) |
void | update_min_max (char *filename, gsl_vector *min, gsl_vector *max) |
void append_to_hists | ( | gsl_histogram ** | hists, |
unsigned int | n, | ||
const char * | filename | ||
) |
append the input of a file with n columns to the according histograms.
References dump_i, and openfile().
Referenced by calc_marginal_distribution().
gsl_histogram* calc_hist | ( | const gsl_vector * | v, |
int | nbins | ||
) |
calculate a histogram
v | vector to look at |
nbins | number of bins to use for the histogram |
References debug, dump_d, and require.
Referenced by test_hist().
gsl_histogram* create_hist | ( | int | nbins, |
double | min, | ||
double | max | ||
) |
create a inclusive histogram where min and max are inside the value range.
Referenced by calc_marginal_distribution().
void find_min_max | ( | char * | filename, |
gsl_vector * | min, | ||
gsl_vector * | max | ||
) |
find the smallest and largest values of a file for each column, then set the min/max vectors
References assert, dump_i, and openfile().
Referenced by calc_marginal_distribution(), and update_min_max().
void update_min_max | ( | char * | filename, |
gsl_vector * | min, | ||
gsl_vector * | max | ||
) |
find the smallest and largest values of a file for each column, then update the min/max vectors
References dup_vector(), find_min_max(), max_vector(), and min_vector().
Referenced by calc_marginal_distribution().