FLINT3.7.0-dev

qnf_elem_struct, qnf_elem_t

Synopsis#include <flint/nf_elem.h>
qnf_elem_struct
qnf_elem_t

An element (a_0 + a_1\theta + a_2\theta^2)/q of a field of degree 2, as an array num of three fmpz and a denominator den. The third coefficient allows products to be formed without immediate reduction; in a reduced element it is zero.

Cite this page

The FLINT team, “qnf_elem_struct, qnf_elem_t (nf_elem.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/nf_elem/qnf_elem_struct.html (generated 2026-10-20).