Hi,
I'm implementing linear block coding and need some ideas on how to go about storing the cosets.
i.e.
If i have an alphabet C={000,101,010,111}
I need to perform
C+000={000,101,010,111}
C+001={001,100,011,110}
C+010={010,111,000,101}
C+011={011,110,001,100}
etc...
observed here is that there are only 2 sets and it keeps repeating.So, i need to evaluate x+C and identify which set it belongs to and finally store all the sets.What data structure would u suggest?