Berlekamp–Massey algorithm: Difference between revisions

Content deleted Content added
S142857 (talk | contribs)
m Replaced broken link.
Changed equality to explicit assignment
Line 69:
If ''d'' is not zero, the algorithm adjusts C(x) so that a recalculation of ''d'' would be zero:
 
:<math>C(x) =\gets C(x) \ - \ (d / b) \ x^m \ B(x).</math>
 
The x<sup>m</sup> term ''shifts'' B(x) so it follows the syndromes corresponding to 'b'. If the previous update of L occurred on iteration ''j'', then ''m = k - j'', and a recalculated discrepancy would be: