Anonymous user
Arithmetic coding/As a generalized change of radix: Difference between revisions
Arithmetic coding/As a generalized change of radix (view source)
Revision as of 20:19, 20 April 2017
, 7 years ago→{{header|zkl}}: add a space
m (→{{header|zkl}}: update) |
m (→{{header|zkl}}: add a space) |
||
Line 922:
cf :=cumulativeFreq(freqHash); // Create the cumulative frequency table
dict:=cf.pump(Dictionary(), // Invert/transpose cumulative table, keys are strings
fcn(kv){ kv.reverse().apply("toInt") });
// Fill the gaps in the dictionary
lchar:=Void;
|