FLINT3.7.0-dev

_gr_dft_precomp_init_layout, _gr_dft_precomp_realize

Synopsis#include <flint/gr_dft.h>
int _gr_dft_precomp_init_layout(gr_dft_pre_t P, ulong n, int alg, int flags, int complex_mode)source
int _gr_dft_precomp_realize(gr_dft_pre_t P, gr_ctx_struct * real_ctx, gr_ctx_t ctx)source

Initialise P as a layout for length n with the given algorithm and flags (complex_mode tells the automatic choice whether the plan will be realised in complex mode), and realise a layout over ctx with default roots, in complex mode if real_ctx is not NULL. A layout can be passed to gr_dft_precomp_nfixed_bound, gr_dft_precomp_print and gr_dft_precomp_clear. On failure, both functions leave P cleared.

Cite this page

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