fmpz_mat_randsimdioph
Synopsis
#include <flint/fmpz_mat.h>void fmpz_mat_randsimdioph(fmpz_mat_t mat, flint_rand_t state, flint_bitcnt_t bits, flint_bitcnt_t bits2)sourceSets the square matrix mat to a random simultaneous diophantine matrix: the first row is 2^{\mathit{bits2}} followed by random signed integers of bits bits, and the other rows are 2^{\mathit{bits}} times the corresponding rows of the identity matrix. Throws if mat is not square.
Cite this page
The FLINT team, “fmpz_mat_randsimdioph (fmpz_mat.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fmpz_mat/fmpz_mat_randsimdioph.html (generated 2026-10-20).
@misc{flint-doc-fmpz-mat-fmpz-mat-randsimdioph,
author = {{The FLINT team}},
title = {{fmpz\_mat\_randsimdioph (fmpz\_mat.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fmpz_mat/fmpz_mat_randsimdioph.html},
note = {Generated 2026-10-20}
}