psl2z_randtest
Synopsis
#include <flint/acb_modular.h>void psl2z_randtest(psl2z_t g, flint_rand_t state, slong bits)sourceSets g to a random element with entries of at most about bits bits (at least 1): random a and d are divided by their GCD, completed with Bézout coefficients, and the signs are canonicalised.
Cite this page
The FLINT team, “psl2z_randtest (acb_modular.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/acb_modular/psl2z_randtest.html (generated 2026-10-20).
@misc{flint-doc-acb-modular-psl2z-randtest,
author = {{The FLINT team}},
title = {{psl2z\_randtest (acb\_modular.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/acb_modular/psl2z_randtest.html},
note = {Generated 2026-10-20}
}