_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)sourceint _gr_dft_precomp_realize(gr_dft_pre_t P, gr_ctx_struct * real_ctx, gr_ctx_t ctx)sourceInitialise 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).
@misc{flint-doc-gr-dft-gr-dft-precomp-init-layout,
author = {{The FLINT team}},
title = {{\_gr\_dft\_precomp\_init\_layout, \_gr\_dft\_precomp\_realize (gr\_dft.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/gr_dft/_gr_dft_precomp_init_layout.html},
note = {Generated 2026-10-20}
}