_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)sourceSets 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).
@misc{flint-doc-fmpq-vec-fmpq-vec-randtest-uniq-sorted,
author = {{The FLINT team}},
title = {{\_fmpq\_vec\_randtest\_uniq\_sorted (fmpq\_vec.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fmpq_vec/_fmpq_vec_randtest_uniq_sorted.html},
note = {Generated 2026-10-20}
}