FLINT3.7.0-dev

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)source

Sets 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).