Let , , , and be natural numbers. A code called an -code when…
- the underlying alphabet used for has symbols,
- each codeword in has length ,
- itself has codewords in total, i.e. , and
- is its minimal distance, i.e. .
These numbers , , , and are called the parameters of .
Note: if the number of symbols is not important in the context, we sometimes omit and simply say that is an -code.