We propose a slight modification of the Berlekamp-Massey Algorithm for obtaining the minimal polynomial of a given linearly recurrent sequence. Such a modification enables to explain it in a simpler way and to adapt it to lazy evaluation.
翻译:我们建议略微修改Berlekamp-Massey Algorithm, 以获得特定线性重复序列的最小多数值。 这样修改可以更简单地解释,并适应懒惰的评估。