shorten(LinearCode, List)
shorten(LindearCode, ZZ)
Given a code C of length $n$ and a list L (or an integer i), returns a new code obtained from C by selecting only those codewords of C that have zeros in each of the coordinate positions in the list L (or the position i), and then deleting these positions.
The resulting code will have length $n - r$, where $r$ is the number of elements in L (or 1 when the integer i is used).
shorten(LinearCode, List)
Given a code C of length $n$ and a list L, returns a new code obtained from C by selecting only those codewords of C that have zeros in each of the coordinate positions in the list L, and then deleting these positions.
The resulting code will have length $n - r$, where $r$ is the number of elements in L.
|
|
|
|
|
shorten(LinearCode, ZZ)
Given a code C of length $n$ and a list L, returns a new code obtained from C by selecting only those codewords of C that have zero in the position i), and then deleting this position.
The resulting code will have length $n - 1$.
|
|
|
|
|
The object shorten is a method function.