Codificació de Huffman: diferència entre les revisions
Contingut suprimit Contingut afegit
m Castellanisme |
|||
Línia 156:
: <math> H (a_i) = \log_2{1 \over w_i}. </Math>
: <math> H (A) = \sum_{w_i> 0}w_i h (a_i) = \sum_{w_i> 0}w_i \log_2{1 \over w_i}= - \sum_{w_i> 0}w_i \log_2{w_i}. </Math>
|