pub fn build_cumulative_symbol_frequency(
normalized_counter: &[usize],
) -> Vec<usize>
Expand description
Build cs = f0 + f1 + … + fs-1
§normalized_counter
Table that counts the number of symbols and normalized as well as the sum
of frequency is 2^R. Where R is named table_log
in that code.
normalized_counter[symbol_index] = symbol frequency normalized_counter.len() = number of symbols