Standard Array
   HOME

TheInfoList



OR:

In
coding theory Coding theory is the study of the properties of codes and their respective fitness for specific applications. Codes are used for data compression, cryptography, error detection and correction, data transmission and data storage. Codes are studied ...
, a standard array (or Slepian array) is a q^ by q^ array that lists all elements of a particular \mathbb_q^n
vector space In mathematics and physics, a vector space (also called a linear space) is a set whose elements, often called '' vectors'', may be added together and multiplied ("scaled") by numbers called ''scalars''. Scalars are often real numbers, but can ...
. Standard arrays are used to
decode Decoding or decode may refer to: is the process of converting code into plain text or any format that is useful for subsequent processes. Science and technology * Decoding, the reverse of encoding * Parsing, in computer science * Digital-to-analog ...
linear code In coding theory, a linear code is an error-correcting code for which any linear combination of codewords is also a codeword. Linear codes are traditionally partitioned into block codes and convolutional codes, although turbo codes can be seen as ...
s; i.e. to find the corresponding
codeword In communication, a code word is an element of a standardized code or protocol. Each code word is assembled in accordance with the specific rules of the code and assigned a unique meaning. Code words are typically used for reasons of reliability, ...
for any received vector.


Definition

A standard array for an 'n'',''k''code is a q^ by q^ array where: # The first row lists all
codewords In communication, a code word is an element of a standardized code or protocol. Each code word is assembled in accordance with the specific rules of the code and assigned a unique meaning. Code words are typically used for reasons of reliability, ...
(with the 0 codeword on the extreme left) # Each row is a
coset In mathematics, specifically group theory, a subgroup of a group may be used to decompose the underlying set of into disjoint, equal-size subsets called cosets. There are ''left cosets'' and ''right cosets''. Cosets (both left and right) ...
with the coset leader in the first column # The entry in the i-th row and j-th column is the sum of the i-th coset leader and the j-th codeword. For example, the '5'',''2''code C_ = has a standard array as follows: The above is only one possibility for the standard array; had 00011 been chosen as the first coset leader of weight two, another standard array representing the code would have been constructed. The first row contains the 0 vector and the codewords of C_ (0 itself being a codeword). Also, the leftmost column contains the vectors of minimum weight enumerating vectors of weight 1 first and then using vectors of weight 2. Also each possible vector in the vector space appears exactly once.


Constructing a standard array

Because each possible vector can appear only once in a standard array some care must be taken during construction. A standard array can be created as follows: # List the codewords of C, starting with 0, as the first row # Choose any vector of minimum weight not already in the array. Write this as the first entry of the next row. This vector is denoted the 'coset leader'. # Fill out the row by adding the coset leader to the codeword at the top of each column. The sum of the i-th coset leader and the j-th codeword becomes the entry in row i, column j. # Repeat steps 2 and 3 until all rows/cosets are listed and each vector appears exactly once. Adding vectors is done mod q. For example, binary codes are added mod 2 (which equivalent to bit-wise XOR addition). For example, in Z_, 11000 + 11011 = 00011. That selecting different coset leaders will create a slightly different but equivalent standard array, and will not affect results when decoding.


Construction example

Let C be the
binary Binary may refer to: Science and technology Mathematics * Binary number, a representation of numbers using only two digits (0 and 1) * Binary function, a function that takes two arguments * Binary operation, a mathematical operation that ta ...
,2code. i.e. C = . To construct the standard array, we first list the codewords in a row. We then select a vector of minimum weight (in this case, weight 1) that has not been used. This vector becomes the coset leader for the second row. Following step 3, we complete the row by adding the coset leader to each codeword. We then repeat steps 2 and 3 until we have completed all rows. We stop when we have reached q^ = 2^ = 2^ = 4 rows. In this example we could not have chosen the vector 0001 as the coset leader of the final row, even though it meets the criteria of having minimal weight (1), because the vector was already present in the array. We could, however, have chosen it as the first coset leader and constructed a different standard array.


Decoding via standard array

To decode a vector using a standard array, subtract the error vector - or coset leader - from the vector received. The result will be one of the codewords in C. For example, say we are using the code C = , and have constructed the corresponding standard array, as shown from the example above. If we receive the vector 0110 as a message, we find that vector in the standard array. We then subtract the vector's coset leader, namely 1000, to get the result 1110. We have received the codeword 1110. Decoding via a standard array is a form of nearest neighbour decoding. In practice, decoding via a standard array requires large amounts of storage - a code with 32 codewords requires a standard array with 2^ entries. Other forms of decoding, such as
syndrome decoding In coding theory, decoding is the process of translating received messages into codewords of a given code. There have been many common methods of mapping messages to codewords. These are often used to recover messages sent over a noisy channel, su ...
, are more efficient. Decoding via standard array does not guarantee that all vectors are decoded correctly. If we receive the vector 1010, using the standard array above would decode the message as 1110, a codeword distance 1 away. However, 1010 is also distance 1 away from the codeword 1011. In such a case some implementations might ask for the message to be resent, or the ambiguous bit may be marked as an erasure and a following outer code may correct it. This ambiguity is another reason that different decoding methods are sometimes used.


See also

*
Linear code In coding theory, a linear code is an error-correcting code for which any linear combination of codewords is also a codeword. Linear codes are traditionally partitioned into block codes and convolutional codes, although turbo codes can be seen as ...


References

*{{cite book , last = Hill , first = Raymond , author-link = Raymond Hill (computer scientist) , title = A First Course in Coding Theory , url = https://archive.org/details/firstcourseincod0000hill , url-access = registration , publisher =
Oxford University Press Oxford University Press (OUP) is the university press of the University of Oxford. It is the largest university press in the world, and its printing history dates back to the 1480s. Having been officially granted the legal right to print books ...
, series = Oxford Applied Mathematics and Computing Science series , year = 1986 , isbn = 978-0-19-853803-5 Coding theory