fmpz_mod_berlekamp_massey_reduce
Synopsis
#include <flint/fmpz_mod_poly.h>int fmpz_mod_berlekamp_massey_reduce(fmpz_mod_berlekamp_massey_t B, const fmpz_mod_ctx_t ctx)sourceBrings and up to date with the points added so far and returns 1 if changed, 0 otherwise. For example, after the points the call returns 1 with , since the Fibonacci recurrence has been recognised; after adding another call returns 0.
Cite this page
The FLINT team, “fmpz_mod_berlekamp_massey_reduce (fmpz_mod_poly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fmpz_mod_poly/fmpz_mod_berlekamp_massey_reduce.html (generated 2026-11-02).
@misc{flint-doc-fmpz-mod-poly-fmpz-mod-berlekamp-massey-reduce,
author = {{The FLINT team}},
title = {{fmpz\_mod\_berlekamp\_massey\_reduce (fmpz\_mod\_poly.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fmpz_mod_poly/fmpz_mod_berlekamp_massey_reduce.html},
note = {Generated 2026-11-02}
}