Berlekamp–Massey algorithm: Difference between revisions

Content deleted Content added
No edit summary
Line 25:
int position = 0;
 
public BerlekampRegistryTester(int sequenceLenghtsequenceLength)
{
b = new byte[sequenceLenghtsequenceLength];
c = new byte[sequenceLenghtsequenceLength];
t = new byte[sequenceLenghtsequenceLength];
s = new byte[sequenceLenghtsequenceLength];
for (int i = 0; i < sequenceLenghtsequenceLength; i++)
{
b[i] = c[i] = t[i] = 0;