fmpq_mpoly_sqrt
Synopsis
#include <flint/fmpq_mpoly.h>int fmpq_mpoly_sqrt(fmpq_mpoly_t Q, const fmpq_mpoly_t A, const fmpq_mpoly_ctx_t ctx)sourceIf A is the square of a polynomial over \mathbb{Q}, sets Q to the square root with positive leading coefficient and returns 1; otherwise sets Q to zero and returns 0.
Cite this page
The FLINT team, “fmpq_mpoly_sqrt (fmpq_mpoly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fmpq_mpoly/fmpq_mpoly_sqrt.html (generated 2026-10-20).
@misc{flint-doc-fmpq-mpoly-fmpq-mpoly-sqrt,
author = {{The FLINT team}},
title = {{fmpq\_mpoly\_sqrt (fmpq\_mpoly.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fmpq_mpoly/fmpq_mpoly_sqrt.html},
note = {Generated 2026-10-20}
}