gr_randtest_small
Synopsis
#include <flint/gr.h>int gr_randtest_small(gr_ptr res, flint_rand_t state, gr_ctx_t ctx)sourceSets res to a small random element, for tests where large elements would make operations expensive. The default is a g + b for small integers a, b and the generator g (if any), sometimes divided by a small integer.
Cite this page
The FLINT team, “gr_randtest_small (gr.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/gr/gr_randtest_small.html (generated 2026-10-20).
@misc{flint-doc-gr-gr-randtest-small,
author = {{The FLINT team}},
title = {{gr\_randtest\_small (gr.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/gr/gr_randtest_small.html},
note = {Generated 2026-10-20}
}