gr_test_cmp_fun
Synopsis
#include <flint/gr.h>int gr_test_cmp_fun(gr_ctx_t R, gr_method_binary_op_get_int op, gr_ctx_t R_ref, flint_rand_t state, int test_flags)sourceCompares the comparison function op (such as gr_cmp) on random elements of R with the same function on the elements converted to the reference ring R_ref.
Cite this page
The FLINT team, “gr_test_cmp_fun (gr.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/gr/gr_test_cmp_fun.html (generated 2026-10-20).
@misc{flint-doc-gr-gr-test-cmp-fun,
author = {{The FLINT team}},
title = {{gr\_test\_cmp\_fun (gr.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/gr/gr_test_cmp_fun.html},
note = {Generated 2026-10-20}
}