fft_small_plan_init_mpn_cyclic
Synopsis
#include <flint/fft_small.h>int fft_small_plan_init_mpn_cyclic(fft_small_plan_t P, mpn_ctx_t R, ulong * nn, ulong len_bound)sourceInitialises P for products of nonnegative integers of at most = *nn limbs modulo . The length is rounded up to the nearest one for which the chunks split limbs exactly into chunks, and the new value is written to *nn. Returns 0 if no geometry exists.
Operands longer than limbs must be reduced by the caller. The export fft_small_export_mpn returns a nonnegative value less than len_bound , which it writes exactly into limbs if ; the caller folds the limbs above back to reduce modulo .
Guides#
Cite this page
The FLINT team, “fft_small_plan_init_mpn_cyclic (fft_small.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fft_small/fft_small_plan_init_mpn_cyclic.html (generated 2026-11-02).
@misc{flint-doc-fft-small-fft-small-plan-init-mpn-cyclic,
author = {{The FLINT team}},
title = {{fft\_small\_plan\_init\_mpn\_cyclic (fft\_small.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fft_small/fft_small_plan_init_mpn_cyclic.html},
note = {Generated 2026-11-02}
}