FLINT3.7.0-dev

qqbar_fmpz_poly_composed_op

Synopsis#include <flint/qqbar.h>
void qqbar_fmpz_poly_composed_op(fmpz_poly_t res, const fmpz_poly_t A, const fmpz_poly_t B, int op)source

For nonconstant A and B, sets res to a polynomial whose roots are a+ba + b (op = 0), a−ba - b (1), aba b (2) or a/ba / b (3) for all roots aa of A and bb of B, with multiplicity. For op = 3, B must not have the root zero. The polynomial is computed from power sums with power series arithmetic over Q\mathbb{Q}, see Arithmetic with algebraic numbers.

Cite this page

The FLINT team, “qqbar_fmpz_poly_composed_op (qqbar.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/qqbar/qqbar_fmpz_poly_composed_op.html (generated 2026-11-02).