FLINT3.7.0-dev

nmod_mpoly_to_mpolyv, nmod_mpoly_from_mpolyv

Synopsis#include <flint/nmod_mpoly_factor.h>
void nmod_mpoly_to_mpolyv(nmod_mpolyv_t A, const nmod_mpoly_t B, const nmod_mpoly_t xalpha, const nmod_mpoly_ctx_t ctx)source
void nmod_mpoly_from_mpolyv(nmod_mpoly_t A, flint_bitcnt_t Abits, const nmod_mpolyv_t B, const nmod_mpoly_t xalpha, const nmod_mpoly_ctx_t ctx)source

Convert between B and the vector of its coefficients in the expansion B = \sum_i A_i\, \mathit{xalpha}^i in powers of xalpha, which is of the form x_j - \alpha; the coefficients do not involve x_j. nmod_mpoly_from_mpolyv produces exponents of Abits bits.

Cite this page

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