FLINT3.7.0-dev

nmod_mpoly_get_nmod_poly, nmod_mpoly_get_n_poly

Synopsis#include <flint/nmod_mpoly.h>
int nmod_mpoly_get_nmod_poly(nmod_poly_t A, const nmod_mpoly_t B, slong var, const nmod_mpoly_ctx_t ctx)source
int nmod_mpoly_get_n_poly(n_poly_t A, const nmod_mpoly_t B, slong var, const nmod_mpoly_ctx_t ctx)source

If B is a polynomial in the variable of index var only, set A to it as a univariate polynomial and return 1; otherwise return 0. A must have the same modulus as the context.

Cite this page

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