FLINT3.7.0-dev

_nmod_poly_interpolate_nmod_vec_fast_precomp

Synopsis#include <flint/nmod_poly.h>
void _nmod_poly_interpolate_nmod_vec_fast_precomp(nn_ptr poly, nn_srcptr ys, const nn_ptr * tree, nn_srcptr weights, slong len, nmod_t mod)source

Sets (poly, len) to the polynomial of length at most len taking the values ys at the points of tree, given the weights from _nmod_poly_interpolation_weights, by combining the scaled values y_i w_i up the tree (fast Lagrange interpolation). Writes len coefficients.

Cite this page

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