nf_elem_mul, nf_elem_mul_red
Synopsis
#include <flint/nf_elem.h>The numerators are multiplied in \mathbb{Z}[x] and the denominators in \mathbb{Z}. For d \ge 3 the product of length up to 2d - 1 is reduced with the precomputed powers \theta^d, \ldots, \theta^{2d-2} if d < 30, and by division with remainder otherwise; for d = 2 one step \theta^2 = -(f_1\theta + f_0)/f_2 suffices, and for \mathbf{Q}(i) a dedicated formula with a gcd for the denominator is used (Multiplication and reduction).
Guides#
Cite this page
The FLINT team, “nf_elem_mul, nf_elem_mul_red (nf_elem.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/nf_elem/nf_elem_mul.html (generated 2026-10-20).
@misc{flint-doc-nf-elem-nf-elem-mul,
author = {{The FLINT team}},
title = {{nf\_elem\_mul, nf\_elem\_mul\_red (nf\_elem.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/nf_elem/nf_elem_mul.html},
note = {Generated 2026-10-20}
}