gr_ore_poly_ctx_init_custom, gr_ore_poly_ctx_data_ptr
Synopsis
#include <flint/gr_ore_poly.h>void gr_ore_poly_ctx_init_custom(gr_ore_poly_ctx_t ctx, gr_ctx_t base_ring, const gr_ore_poly_sigma_delta_t sigma_delta, void * ore_data)sourcevoid * gr_ore_poly_ctx_data_ptr(gr_ore_poly_ctx_t ctx)sourcegr_ore_poly_ctx_init_custom initialises ctx with a user-defined algebra: sigma_delta computes \sigma and \delta (see gr_ore_poly_sigma_delta), and ore_data is a pointer to data for it, which sigma_delta can retrieve with gr_ore_poly_ctx_data_ptr(ctx). The data is not freed by gr_ore_poly_ctx_clear.
Cite this page
The FLINT team, “gr_ore_poly_ctx_init_custom, gr_ore_poly_ctx_data_ptr (gr_ore_poly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/gr_ore_poly/gr_ore_poly_ctx_init_custom.html (generated 2026-10-20).
@misc{flint-doc-gr-ore-poly-gr-ore-poly-ctx-init-custom,
author = {{The FLINT team}},
title = {{gr\_ore\_poly\_ctx\_init\_custom, gr\_ore\_poly\_ctx\_data\_ptr (gr\_ore\_poly.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/gr_ore_poly/gr_ore_poly_ctx_init_custom.html},
note = {Generated 2026-10-20}
}