FLINT3.7.0-dev

nmod_mpoly_to_univar, nmod_mpoly_from_univar

Synopsis#include <flint/nmod_mpoly.h>
void nmod_mpoly_to_univar(nmod_mpoly_univar_t A, const nmod_mpoly_t B, slong var, const nmod_mpoly_ctx_t ctx)source
void nmod_mpoly_from_univar(nmod_mpoly_t A, const nmod_mpoly_univar_t B, slong var, const nmod_mpoly_ctx_t ctx)source

nmod_mpoly_to_univar sets A to B viewed as a polynomial in the variable of index var. nmod_mpoly_from_univar converts back; its result is undefined if the coefficients of B involve that variable.

Cite this page

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