FLINT3.7.0-dev

fq_nmod_mpoly_factor_get_base, fq_nmod_mpoly_factor_swap_base, fq_nmod_mpoly_factor_get_exp_si

Synopsis#include <flint/fq_nmod_mpoly_factor.h>
void fq_nmod_mpoly_factor_get_base(fq_nmod_mpoly_t p, const fq_nmod_mpoly_factor_t f, slong i, const fq_nmod_mpoly_ctx_t ctx)source
void fq_nmod_mpoly_factor_swap_base(fq_nmod_mpoly_t p, const fq_nmod_mpoly_factor_t f, slong i, const fq_nmod_mpoly_ctx_t ctx)source
slong fq_nmod_mpoly_factor_get_exp_si(fq_nmod_mpoly_factor_t f, slong i, const fq_nmod_mpoly_ctx_t ctx)source

Set p to the base of index i or swap it with p (despite the const in the prototype, fq_nmod_mpoly_factor_swap_base modifies f), and return the exponent of index i, which must fit an slong.

Cite this page

The FLINT team, “fq_nmod_mpoly_factor_get_base, fq_nmod_mpoly_factor_swap_base, fq_nmod_mpoly_factor_get_exp_si (fq_nmod_mpoly_factor.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fq_nmod_mpoly_factor/fq_nmod_mpoly_factor_get_base.html (generated 2026-10-20).