FLINT3.7.0-dev

fmpq_mpoly_repack_bits

Synopsis#include <flint/fmpq_mpoly.h>
int fmpq_mpoly_repack_bits(fmpq_mpoly_t A, const fmpq_mpoly_t B, flint_bitcnt_t Abits, const fmpq_mpoly_ctx_t ctx)source

Sets A to B with exponents packed into Abits bits. Returns 0 if the exponents do not fit, in which case A is unspecified.

Cite this page

The FLINT team, “fmpq_mpoly_repack_bits (fmpq_mpoly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fmpq_mpoly/fmpq_mpoly_repack_bits.html (generated 2026-10-20).