FLINT3.7.0-dev

gr_ctx_init_perm

Synopsis#include <flint/gr.h>
void gr_ctx_init_perm(gr_ctx_t ctx, ulong n)source

Initialises ctx to the symmetric group S_n of permutations of \{0, 1, \ldots, n - 1\}. Elements are currently pointers to arrays (the representation may change).

Cite this page

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