Content deleted Content added
John Comeau (talk | contribs) →The algorithm for the binary field: changed variable names (capitalization) to match previous pseudocode |
John Comeau (talk | contribs) →Code sample for the binary field in Java: changed variables to match pseudocode [again] |
||
Line 160:
<source lang="java">
public class BerlekampMassey {
public static String findPolynomial(char[]
final int
char[]
char[]
char[]
int L = 0, m = -1;
for (int
int d =
for (int i = 1; i <= L; i++) d ^= (
if (d == 1) {
System.arraycopy(
for (int
}
}
}
return stringify(
}
|