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

getLRCencodingPolynomial -- encoding polynomial for an LRC code

Synopsis

Description

Generates an encoding polynomial $f(x)$ corresponding to an information vector in $F^\texttt{k}$, where $F$ is a field, which can be used to generate an encoding in $F^\texttt{r}$.

i1 : R=ZZ/(13)[x];
i2 : getLRCencodingPolynomial(4,2,{1,0,1,1},x^3)

      4
o2 = x  + x + 1

o2 : R

Ways to use getLRCencodingPolynomial :

For the programmer

The object getLRCencodingPolynomial is a method function.