Macaulay2 » Documentation
Packages » CodingTheory > LinearCode > linearCode > ParityCheck > ParityCheckRows
next | previous | forward | backward | up | index | toc

ParityCheckRows -- rows of a parity check matrix of a code

Synopsis

Description

This symbol is a key to store a list with the rows of a parity check matrix of C.

This symbol is provided by the package CodingTheory.

i1 : C = linearCode(GF(8,Variable => b), {{1,1,b,0,0},{0,b,b,1,0},{1,1,1,b,0}});
i2 : C.ParityCheckMatrix

o2 = | 1 b+1 1 b2 0 |
     | 0 0   0 0  1 |

                  2           5
o2 : Matrix (GF 8)  <-- (GF 8)
i3 : C.ParityCheckRows

                     2
o3 = {{1, b + 1, 1, b , 0}, {0, 0, 0, 0, 1}}

o3 : List

See also

For the programmer

The object ParityCheckRows is a symbol.