FLINT3.7.0-dev

_fq_nmod_poly_tree_build

Synopsis#include <flint/fq_nmod_poly.h>
void _fq_nmod_poly_tree_build(fq_nmod_poly_struct ** tree, const fq_nmod_struct * roots, slong len, const fq_nmod_ctx_t ctx)

Fills the subproduct tree for the len points roots: level 0 holds the linear factors x - a_i, and each higher level the products of pairs of the level below.

Generated from the same template as _fq_poly_tree_build, whose documentation has the details.

Cite this page

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