Unary coding: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 1:
'''Unary coding''' is an [[entropy encoding]] that represents a [[natural number]], ''n'', with ''n'' − 1 oneszeros followed by a zeroone. For example 5 is represented as 11110. Some representations use ''n'' − 1 zeros followed by a one. The ones and zeros are interchangeable without loss of generality.
 
<table border="1" cellpadding="2">