FLINT3.7.0-dev

nf_struct, nf_t

Synopsis#include <flint/nf.h>
nf_struct
nf_t

A number field. The fields are pol (the defining polynomial, an fmpq_poly_t), pinv (a precomputed inverse of the leading coefficient of the numerator of pol, used for division in the non-monic generic case), powers (precomputed reductions of xd,…,x2d−2x^{d}, \ldots, x^{2d-2} modulo pol for 3≤d<3 \le d < NF_POWERS_CUTOFF), traces (the power sums Sk=∑iθikS_k = \sum_i \theta_i^k of the roots θi\theta_i of pol for 0≤k<d0 \le k < d, as an fmpq_poly_t) and flag.

Guides#

Cite this page

The FLINT team, “nf_struct, nf_t (nf.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/nf/nf_struct.html (generated 2026-11-02).