_nmod_poly_KS2_unpack, _nmod_poly_KS2_unpack1, _nmod_poly_KS2_unpack2, _nmod_poly_KS2_unpack3
Synopsis
#include <flint/nmod_poly.h>Skip k bits of op and extract n fields of b bits, writing each as one, two or three words to res. _nmod_poly_KS2_unpack1 requires b \le \mathtt{FLINT\_BITS}, unpack2 \mathtt{FLINT\_BITS} < b \le 2 \mathtt{FLINT\_BITS}, unpack3 2 \mathtt{FLINT\_BITS} < b < 3 \mathtt{FLINT\_BITS}; _nmod_poly_KS2_unpack dispatches on b.
Cite this page
The FLINT team, “_nmod_poly_KS2_unpack, _nmod_poly_KS2_unpack1, _nmod_poly_KS2_unpack2, _nmod_poly_KS2_unpack3 (nmod_poly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/nmod_poly/_nmod_poly_KS2_unpack.html (generated 2026-10-20).
@misc{flint-doc-nmod-poly-nmod-poly-KS2-unpack,
author = {{The FLINT team}},
title = {{\_nmod\_poly\_KS2\_unpack, \_nmod\_poly\_KS2\_unpack1, \_nmod\_poly\_KS2\_unpack2, \_nmod\_poly\_KS2\_unpack3 (nmod\_poly.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/nmod_poly/_nmod_poly_KS2_unpack.html},
note = {Generated 2026-10-20}
}