|
std::string | AC::string_hex (I_t b) |
| prints an integer in a string More...
|
|
std::string | AC::string_binary_comma (I_t b, std::string sep="'") |
|
void | AC::freq2cum_freq (F_t cum_freq[], F_t freq[], int max_symb, int assert_non_zero=1) |
| computes the cumulative cum_freq given the frequencies of symbols More...
|
|
void | AC::prob2cum_freq (F_t cum_freq[], double prob[], int max_symb) |
| computes the cum_freq given the probabilities More...
|
|
int | AC::renormalize_frequencies (AC::F_t *fr, int n_symbols, unsigned int max_freq=AC::MAX_FREQ) |
|
double | AC::compute_entropy (F_t *freq, int MAX_SYMB) |
| compute the entropy given the frequencies More...
|
|
void | AC::print_table_generic (std::function< void(int)> head, printit_t printit, F_t *fr, F_t *cufr, int n_symbols, const int columns=6) |
|
void | AC::print_table_freq (F_t *fr, F_t *cufr, int n_symbols, const int columns=6, FILE *out=stderr) |
| prints the table of frequencies More...
|
|
void | AC::print_table_freq_ascii (F_t *fr, F_t *cufr, int n_symbols, const int columns=6, FILE *out=stderr) |
| prints the table of frequencies, with ascii characters More...
|
|
void | AC::print_table_cum_freq_ascii (F_t *fr, F_t *cufr, int n_symbols, FILE *out=stdout, int columns=4) |
| prints the table of frequencies and cumulative frequencies, with ascii symbols More...
|
|
void | AC::print_table_cum_freq (F_t *fr, F_t *cufr, int n_symbols, FILE *out=stdout, const int columns=4) |
| prints the table of frequencies and cumulative frequencies More...
|
|