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)sourceFor nonconstant A and B, sets res to a polynomial whose roots are a + b (op = 0), a - b (1), a b (2) or a / b (3) for all roots a of A and b 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 \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-10-20).
@misc{flint-doc-qqbar-qqbar-fmpz-poly-composed-op,
author = {{The FLINT team}},
title = {{qqbar\_fmpz\_poly\_composed\_op (qqbar.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/qqbar/qqbar_fmpz_poly_composed_op.html},
note = {Generated 2026-10-20}
}