FLINT3.7.0-dev

gr_poly_quotient_ctx_num_zero_divisors, gr_poly_quotient_ctx_zero_divisor, gr_poly_quotient_ctx_clear_zero_divisors

Synopsis#include <flint/gr.h>
slong gr_poly_quotient_ctx_num_zero_divisors(gr_ctx_t ctx)source
const gr_poly_struct * gr_poly_quotient_ctx_zero_divisor(gr_ctx_t ctx, slong i)source
void gr_poly_quotient_ctx_clear_zero_divisors(gr_ctx_t ctx)source

Access the table of nontrivial monic factors of the modulus discovered by failed inversions while the ring pretends to be a field: the number of entries, entry i, and clearing the table. Recording is thread-safe, but these accessors must not be used concurrently with operations that may record a new factor.

Cite this page

The FLINT team, “gr_poly_quotient_ctx_num_zero_divisors, gr_poly_quotient_ctx_zero_divisor, gr_poly_quotient_ctx_clear_zero_divisors (gr.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/gr_domains/gr_poly_quotient_ctx_num_zero_divisors.html (generated 2026-10-20).