init_rs_non_canonical — Find a matching or allocate a new rs control
struct rs_control * init_rs_non_canonical ( | int | symsize, |
| int (* | gffunc(int), | |
| int | fcr, | |
| int | prim, | |
| int | nroots); |
symsizethe symbol size (number of bits)
gffuncpointer to function to generate the next field element, or the multiplicative identity element if given 0. Used instead of gfpoly if gfpoly is 0
fcrthe first consecutive root of the rs code generator polynomial in index form
primprimitive element to generate polynomial roots
nrootsRS code generator polynomial degree (number of roots)