nf_struct, nf_t
Synopsis
#include <flint/nf.h>nf_structnf_tA 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 x^{d}, \ldots, x^{2d-2} modulo pol for 3 \le d < NF_POWERS_CUTOFF), traces (the power sums S_k = \sum_i \theta_i^k of the roots \theta_i of pol for 0 \le k < d, as an fmpq_poly_t) and flag.
Guides#
- Getting started with nf_elem (
nf_elem)
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-10-20).
@misc{flint-doc-nf-nf-struct,
author = {{The FLINT team}},
title = {{nf\_struct, nf\_t (nf.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/nf/nf_struct.html},
note = {Generated 2026-10-20}
}