FLINT3.7.0-dev

gr_ctx_data_ptr, gr_ctx_data_as_ptr

Synopsis#include <flint/gr.h>
void * gr_ctx_data_ptr(gr_ctx_t ctx)source
void * gr_ctx_data_as_ptr(gr_ctx_t ctx)source

Return a pointer to the data field of ctx, respectively the pointer stored at the start of the data field (the value of GR_CTX_DATA_AS_PTR(ctx)), for rings whose parameters are kept in a separately allocated structure.

Cite this page

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