FLINT3.7.0-dev

_nf_elem_mul, _nf_elem_mul_red

Synopsis#include <flint/nf_elem.h>
void _nf_elem_mul(nf_elem_t a, const nf_elem_t b, const nf_elem_t c, const nf_t nf)source
void _nf_elem_mul_red(nf_elem_t a, const nf_elem_t b, const nf_elem_t c, const nf_t nf, int red)source

Set a to bc without canonicalising, reducing modulo f only if red is nonzero (always for _nf_elem_mul). The inputs must be reduced, and a must not be aliased with b or c.

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).