FLINT3.7.0-dev

_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)source

The 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).