mpoly_pack_monomials_tight, mpoly_unpack_monomials_tight
Synopsis
#include <flint/mpoly.h>void mpoly_pack_monomials_tight(ulong * exp1, const ulong * exp2, slong len, const slong * mults, slong num, slong bits)sourcevoid mpoly_unpack_monomials_tight(ulong * e1, ulong * e2, slong len, slong * mults, slong num, slong bits)sourceConvert len one-word monomials between the usual packing with bits bits per field and the tight packing with the bases mults (the first entry corresponding to the least significant field). Only the least significant num fields are converted; each must be less than its base.
Cite this page
The FLINT team, “mpoly_pack_monomials_tight, mpoly_unpack_monomials_tight (mpoly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/mpoly/mpoly_pack_monomials_tight.html (generated 2026-10-20).
@misc{flint-doc-mpoly-mpoly-pack-monomials-tight,
author = {{The FLINT team}},
title = {{mpoly\_pack\_monomials\_tight, mpoly\_unpack\_monomials\_tight (mpoly.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/mpoly/mpoly_pack_monomials_tight.html},
note = {Generated 2026-10-20}
}