FLINT3.7.0-dev

ca_condense_field

Synopsis#include <flint/ca.h>
void ca_condense_field(ca_t res, ca_ctx_t ctx)source

Moves res to a smaller field when this is possible by inspecting its representation: a rational value is demoted to \mathbb{Q}, and an element of a generic field that only depends on one algebraic generator becomes an element of the number field generated by it. This is done automatically by most operations.

Cite this page

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