FLINT3.7.0-dev

nf_elem_get_coeff_fmpq

Synopsis#include <flint/nf_elem.h>
void nf_elem_get_coeff_fmpq(fmpq_t a, const nf_elem_t b, slong i, const nf_t nf)source

Sets a to the coefficient of \theta^i in b, a rational number.

Cite this page

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