Macaulay2 » Documentation
Packages » CodingTheory > LinearCode > GeneratorMatrix > Generators
next | previous | forward | backward | up | index | toc

Generators -- list of generators of a code

Synopsis

Description

Given a linear code C, this symbol is used as a key for storing the list of rows of a generator matrix of C.

This symbol is provided by the package CodingTheory.

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

o2 = {{1, 1, a, 0, 0}, {0, a, a, 1, 0}, {1, 1, 1, a, 0}}

o2 : List

For the programmer

The object Generators is a symbol.