gr_transformed_mpn_use_fit_buffer
Synopsis
#include <flint/gr.h>Switches a context created with GR_TRANSFORMED_MPN_ALLOC_MALLOC to the reserved-slab strategy for num_live simultaneously live elements, as if it had been created that way. This serves callers whose live count depends on quantities derived from the constructed context, such as a blocking decision based on the element size. Returns GR_UNABLE, leaving separate allocation in place, if the reservation cannot be made.
Cite this page
The FLINT team, “gr_transformed_mpn_use_fit_buffer (gr.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/gr/gr_transformed_mpn_use_fit_buffer.html (generated 2026-10-20).
@misc{flint-doc-gr-gr-transformed-mpn-use-fit-buffer,
author = {{The FLINT team}},
title = {{gr\_transformed\_mpn\_use\_fit\_buffer (gr.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/gr/gr_transformed_mpn_use_fit_buffer.html},
note = {Generated 2026-10-20}
}