Code (information theory)

From Wikipedia, the free encyclopedia

For other uses, see Code (disambiguation).

In information theory, a code is a function mapping an alphabet to non-negative real numbers, satisfying a generalization of Kraft's inequality. A code page, a type of character encoding table, is one such code.