fmpz_poly_q_mul
Synopsis
#include <flint/fmpz_poly_q.h>void fmpz_poly_q_mul(fmpz_poly_q_t rop, const fmpz_poly_q_t op1, const fmpz_poly_q_t op2)sourceSets rop to \mathit{op1} \cdot \mathit{op2}. Writing \mathit{op1} = a/b and \mathit{op2} = c/d, Henrici's algorithm cancels \gcd(a, d) and \gcd(c, b) before multiplying, which gives the canonical result directly.
Guides#
Cite this page
The FLINT team, “fmpz_poly_q_mul (fmpz_poly_q.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fmpz_poly_q/fmpz_poly_q_mul.html (generated 2026-10-20).
@misc{flint-doc-fmpz-poly-q-fmpz-poly-q-mul,
author = {{The FLINT team}},
title = {{fmpz\_poly\_q\_mul (fmpz\_poly\_q.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fmpz_poly_q/fmpz_poly_q_mul.html},
note = {Generated 2026-10-20}
}