FLINT3.7.0-dev

bad_fq_nmod_mpoly_embed_chooser_init, bad_fq_nmod_mpoly_embed_chooser_next, bad_fq_nmod_mpoly_embed_chooser_clear

Synopsis#include <flint/fq_nmod_mpoly.h>
bad_fq_nmod_embed_struct * bad_fq_nmod_mpoly_embed_chooser_init(bad_fq_nmod_mpoly_embed_chooser_t embc, fq_nmod_mpoly_ctx_t ectx, const fq_nmod_mpoly_ctx_t ctx, flint_rand_t randstate)source
bad_fq_nmod_embed_struct * bad_fq_nmod_mpoly_embed_chooser_next(bad_fq_nmod_mpoly_embed_chooser_t embc, fq_nmod_mpoly_ctx_t ectx, const fq_nmod_mpoly_ctx_t ctx, flint_rand_t randstate)source
void bad_fq_nmod_mpoly_embed_chooser_clear(bad_fq_nmod_mpoly_embed_chooser_t embc, fq_nmod_mpoly_ctx_t ectx, const fq_nmod_mpoly_ctx_t ctx, flint_rand_t randstate)source

Start iterating over embeddings: init sets ectx to a context over an extension of degree n \ge 2 (with n m \log_2 p about 20) and returns the first embedding; next returns the next one, moving to the next degree (and changing ectx) after all m embeddings of a degree have been used; clear frees the chooser and ectx.

Cite this page

The FLINT team, “bad_fq_nmod_mpoly_embed_chooser_init, bad_fq_nmod_mpoly_embed_chooser_next, bad_fq_nmod_mpoly_embed_chooser_clear (fq_nmod_mpoly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fq_nmod_mpoly/bad_fq_nmod_mpoly_embed_chooser_init.html (generated 2026-10-20).