_fmpz_mpoly_sqrt_heap
Synopsis
#include <flint/fmpz_mpoly.h>slong _fmpz_mpoly_sqrt_heap(fmpz ** polyq, ulong ** expq, slong * allocq, const fmpz * poly2, const ulong * exp2, slong len2, flint_bitcnt_t bits, const mpoly_ctx_t mctx, int check)sourceThe square root on raw term lists with monomials packed with bits bits; returns the length of the root, or 0 if the input is not a square.
Cite this page
The FLINT team, “_fmpz_mpoly_sqrt_heap (fmpz_mpoly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fmpz_mpoly/_fmpz_mpoly_sqrt_heap.html (generated 2026-10-20).
@misc{flint-doc-fmpz-mpoly-fmpz-mpoly-sqrt-heap,
author = {{The FLINT team}},
title = {{\_fmpz\_mpoly\_sqrt\_heap (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_sqrt_heap.html},
note = {Generated 2026-10-20}
}