gr_addmul, gr_addmul_ui, gr_addmul_si, gr_addmul_fmpz, gr_addmul_fmpq, gr_addmul_other, gr_submul, gr_submul_ui, gr_submul_si, gr_submul_fmpz, gr_submul_fmpq, gr_submul_other
Synopsis
#include <flint/gr.h>Set res to \mathit{res} + x y, respectively \mathit{res} - x y. The default forms the product in a temporary; rings may fuse the operation, avoiding the temporary or an intermediate rounding. For sums of many products use the dot products of gr_vec (_gr_vec_dot), which rings optimise further.
Guides#
Cite this page
The FLINT team, “gr_addmul, gr_addmul_ui, gr_addmul_si, gr_addmul_fmpz, gr_addmul_fmpq, gr_addmul_other, gr_submul, gr_submul_ui, gr_submul_si, gr_submul_fmpz, gr_submul_fmpq, gr_submul_other (gr.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/gr/gr_addmul.html (generated 2026-10-20).
@misc{flint-doc-gr-gr-addmul,
author = {{The FLINT team}},
title = {{gr\_addmul, gr\_addmul\_ui, gr\_addmul\_si, gr\_addmul\_fmpz, gr\_addmul\_fmpq, gr\_addmul\_other, gr\_submul, gr\_submul\_ui, gr\_submul\_si, gr\_submul\_fmpz, gr\_submul\_fmpq, gr\_submul\_other (gr.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/gr/gr_addmul.html},
note = {Generated 2026-10-20}
}