_gr_vec_sort, gr_vec_sort
Synopsis
#include <flint/gr_vec.h>Sort the entries in increasing order with respect to gr_cmp. _gr_vec_sort works in place. If a comparison fails, the two entries are treated as equal and the failure is returned; the array is then a permutation of the input but may not be sorted.
Cite this page
The FLINT team, “_gr_vec_sort, gr_vec_sort (gr_vec.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/gr_vec/_gr_vec_sort.html (generated 2026-10-20).
@misc{flint-doc-gr-vec-gr-vec-sort,
author = {{The FLINT team}},
title = {{\_gr\_vec\_sort, gr\_vec\_sort (gr\_vec.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/gr_vec/_gr_vec_sort.html},
note = {Generated 2026-10-20}
}