FLINT3.7.0-dev

_fmpq_poly_scalar_mul_si

Synopsis#include <flint/fmpq_poly.h>
void _fmpq_poly_scalar_mul_si(fmpz * rpoly, fmpz_t rden, const fmpz * poly, const fmpz_t den, slong len, slong c)source

Sets (rpoly, rden, len) to the product of c of (poly, den, len).

If the input is normalised, then so is the output, provided it is non-zero. If the input is in lowest terms, then so is the output. However, even if neither of these conditions are met, the result will be (mathematically) correct.

Supports exact aliasing between (rpoly, den) and (poly, den).

Cite this page

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