Arithmetic coding/As a generalized change of radix: Difference between revisions
Arithmetic coding/As a generalized change of radix (view source)
Revision as of 05:31, 1 February 2016
, 8 years agoJ: link to the wikipedia text which the task description uses to specify this task
(J: show several example implementations of the wikipedia spec, and discuss how they differ) |
m (J: link to the wikipedia text which the task description uses to specify this task) |
||
Line 217:
(See talk page.)
If, however, we ignore the [[wp:Arithmetic_coding#Arithmetic_coding_as_a_generalized_change_of_radix|wikipedia suggestion]] that letters have predefined values (e.g. C = 2), but instead use cumulative frequency (in order from least common to most common and leaving in order of appearance for letters with the same frequencies, we get this:
<lang J>aekc=:3 :0
|