FLINT3.7.0-dev

gr_poly_mul_scalar, gr_poly_scalar_mul, gr_poly_mul_ui, gr_poly_mul_si, gr_poly_mul_fmpz, gr_poly_mul_fmpq

Synopsis#include <flint/gr_poly.h>
int gr_poly_mul_scalar(gr_poly_t res, const gr_poly_t poly, gr_srcptr c, gr_ctx_t ctx)source
int gr_poly_scalar_mul(gr_poly_t res, gr_srcptr c, const gr_poly_t poly, gr_ctx_t ctx)source
int gr_poly_mul_ui(gr_poly_t res, const gr_poly_t poly, ulong c, gr_ctx_t ctx)source
int gr_poly_mul_si(gr_poly_t res, const gr_poly_t poly, slong c, gr_ctx_t ctx)source
int gr_poly_mul_fmpz(gr_poly_t res, const gr_poly_t poly, const fmpz_t c, gr_ctx_t ctx)source
int gr_poly_mul_fmpq(gr_poly_t res, const gr_poly_t poly, const fmpq_t c, gr_ctx_t ctx)source

Set res to f c, or to c f for gr_poly_scalar_mul (the two differ over noncommutative rings).

Cite this page

The FLINT team, “gr_poly_mul_scalar, gr_poly_scalar_mul, gr_poly_mul_ui, gr_poly_mul_si, gr_poly_mul_fmpz, gr_poly_mul_fmpq (gr_poly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/gr_poly/gr_poly_mul_scalar.html (generated 2026-10-20).