FLINT3.7.0-dev

fmpz_mpoly_q_content, _fmpz_mpoly_q_content

Synopsis#include <flint/fmpz_mpoly_q.h>
void fmpz_mpoly_q_content(fmpq_t res, const fmpz_mpoly_q_t x, const fmpz_mpoly_ctx_t ctx)source
void _fmpz_mpoly_q_content(fmpz_t num, fmpz_t den, const fmpz_mpoly_t xnum, const fmpz_mpoly_t xden, const fmpz_mpoly_ctx_t ctx)source

Set res (or num/den) to the content of the numerator divided by the content of the denominator, the positive rational c such that x/c has primitive numerator and denominator. For zero the result is 1.

Cite this page

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