FLINT3.7.0-dev

ca_field_cache_insert_ext

Synopsis#include <flint/ca_field.h>
ca_field_ptr ca_field_cache_insert_ext(ca_field_cache_t cache, ca_ext_struct ** x, slong length, ca_ctx_t ctx)source

Returns a pointer to the field in cache whose generators are the length extension numbers x (compared as pointers, in the given order), creating it if needed. A newly created field is \mathbb{Q} if length is 0, a number field if it has one algebraic generator, and otherwise a generic field whose ideal is built immediately with ca_field_build_ideal. The extension numbers must belong to the cache of ctx.

Cite this page

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