fmpz_mpoly_get_fmpz_poly
Synopsis
#include <flint/fmpz_mpoly.h>int fmpz_mpoly_get_fmpz_poly(fmpz_poly_t A, const fmpz_mpoly_t B, slong var, const fmpz_mpoly_ctx_t ctx)sourceSets A to B as a univariate polynomial in the variable of index var, and returns 1. Returns 0 if B involves another variable or a degree does not fit an slong.
Cite this page
The FLINT team, “fmpz_mpoly_get_fmpz_poly (fmpz_mpoly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fmpz_mpoly/fmpz_mpoly_get_fmpz_poly.html (generated 2026-10-20).
@misc{flint-doc-fmpz-mpoly-fmpz-mpoly-get-fmpz-poly,
author = {{The FLINT team}},
title = {{fmpz\_mpoly\_get\_fmpz\_poly (fmpz\_mpoly.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fmpz_mpoly/fmpz_mpoly_get_fmpz_poly.html},
note = {Generated 2026-10-20}
}