Macaulay2 » Documentation
Packages » CodingTheory > LinearCode > ambientSpace > alphabet
next | previous | forward | backward | up | index | toc

alphabet -- elements of the base ring of a code

Synopsis

Description

Given a linear code C, the function returns the list of all elements of the ring $R$, where $R$ is the ring containing the entries of the generator matrix of C.

i1 : F=GF(4, Variable=>a);
i2 : C=linearCode(matrix{{1,a,0},{0,1,a}});
i3 : alphabet(C)

o3 = {0, a, a + 1, 1}

o3 : List

Ways to use alphabet :

For the programmer

The object alphabet is a method function.