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 followed by random signed integers of bits bits, and the other rows are 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-11-02).
@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-11-02}
}