FLINT3.7.0-dev

_fmpz_poly_tree_build_fmpq_vec

Synopsis#include <flint/fmpz_poly.h>
void _fmpz_poly_tree_build_fmpq_vec(fmpz ** tree, const fmpq * roots, slong len)source

Fills the tree allocated by _fmpz_poly_tree_alloc with the products of the linear factors q_i x - p_i for the roots p_i / q_i; the product at the top level is not computed.

Cite this page

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