_mpoly_heap_pop, _mpoly_heap_pop1
Synopsis
#include <flint/mpoly.h>void * _mpoly_heap_pop(mpoly_heap_s * heap, slong * heap_len, slong N, const ulong * cmpmask)sourcevoid * _mpoly_heap_pop1(mpoly_heap1_s * heap, slong * heap_len, ulong maskhi)sourceRemove the entry with the largest monomial and return its chain (cast to void *), decrementing *heap_len. The heap must not be empty.
Cite this page
The FLINT team, “_mpoly_heap_pop, _mpoly_heap_pop1 (mpoly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/mpoly/_mpoly_heap_pop.html (generated 2026-10-20).
@misc{flint-doc-mpoly-mpoly-heap-pop,
author = {{The FLINT team}},
title = {{\_mpoly\_heap\_pop, \_mpoly\_heap\_pop1 (mpoly.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/mpoly/_mpoly_heap_pop.html},
note = {Generated 2026-10-20}
}