FLINT3.7.0-dev

ca_factor_insert

Synopsis#include <flint/ca.h>
void ca_factor_insert(ca_factor_t fac, const ca_t base, const ca_t exp, ca_ctx_t ctx)source

Multiplies fac by b^e, where b is base and e is exp. If a base with the same representation (see ca_equal_repr) is already present, its exponent is increased by e; otherwise the factor is appended.

Cite this page

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