FLINT3.7.0-dev

_fmpq_vec_randtest_uniq_sorted

Synopsis#include <flint/fmpq_vec.h>
void _fmpq_vec_randtest_uniq_sorted(fmpq * vec, flint_rand_t state, slong len, flint_bitcnt_t bits)source

Sets the entries to distinct random fractions as given by fmpq_randtest, sorted in increasing order. Throws if bits is less than four times the bit length of len, to make collisions unlikely.

Cite this page

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