FLINT3.7.0-dev

gr_ctx_set_gen_name, gr_ctx_set_gen_names

Synopsis#include <flint/gr.h>
int gr_ctx_set_gen_name(gr_ctx_t ctx, const char * s)source
int gr_ctx_set_gen_names(gr_ctx_t ctx, const char ** s)source

Set the name of the generator, for rings with one generator (polynomial rings, finite fields, series), or the names of the generators of a multivariate ring. The names are used for printing and parsing. Return GR_UNABLE if the ring has no named generators.

Guides#

Cite this page

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