FLINT3.7.0-dev

gr_ctx_init_transformed_mpn_window

Synopsis#include <flint/gr.h>
int gr_ctx_init_transformed_mpn_window(gr_ctx_t ctx, slong bits_bound, slong terms_bound, int is_signed, slong num_live, int alloc_strategy, slong lo, slong hi)source

As gr_ctx_init_transformed_mpn, for products of which only the limbs [\mathit{lo}, \mathit{hi}) are wanted. The plan is the window plan of fft_small_plan_init_mpn_window: when the window allows it, the transforms are cyclic of a length shorter than the products, and a product whose slots then alias can be converted only through gr_transformed_mpn_get_window with a window inside [\mathit{lo}, \mathit{hi}); the other conversions of such a product return GR_UNABLE. Elements that do not alias (operands, and products short enough) convert as usual.

Cite this page

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