FLINT3.7.0-dev

_fmpq_poly_mul

Synopsis#include <flint/fmpq_poly.h>
void _fmpq_poly_mul(fmpz * rpoly, fmpz_t rden, const fmpz * poly1, const fmpz_t den1, slong len1, const fmpz * poly2, const fmpz_t den2, slong len2)source

Sets (rpoly, rden, len1 + len2 - 1) to the product of (poly1, den1, len1) and (poly2, den2, len2). If the input is provided in canonical form, then so is the output.

Assumes len1, len2 > 0; the operands may be given in either order. Allows zero-padding in the input. Does not allow aliasing between the inputs and outputs.

Cite this page

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