FLINT3.7.0-dev

_fmpq_poly_scalar_mul_fmpq

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

Sets (rpoly, rden) to the product of r/s and (poly, den, len), in lowest terms.

Assumes that (poly, den, len) and r/s are provided in lowest terms. Assumes that rpoly is an array of length len. Supports aliasing of (rpoly, den) and (poly, den). The fmpz_t's r and s may not be part of (rpoly, rden).

Cite this page

The FLINT team, “_fmpq_poly_scalar_mul_fmpq (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_fmpq.html (generated 2026-10-20).