FLINT3.7.0-dev

sp2gz_randtest

Synopsis#include <flint/acb_theta.h>
void sp2gz_randtest(fmpz_mat_t mat, flint_rand_t state, slong bits)source

Sets mat to a random symplectic matrix with entries of about bits bits, a product of block-diagonal and trigonal matrices and J.

Cite this page

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