FLINT3.7.0-dev

_fmpq_poly_gegenbauer_c

Synopsis#include <flint/fmpq_poly.h>
void _fmpq_poly_gegenbauer_c(fmpz * coeffs, fmpz_t den, ulong n, const fmpq_t a)source

Sets coeffs to the coefficient array of the Gegenbauer (ultraspherical) polynomial C^{(\alpha)}_n(x) = \frac{(2\alpha)_n}{n!}\,{}_2F_1\left(-n,2\alpha+n; \alpha+\frac12;\frac{1-x}{2}\right), for integer n\ge0 and rational \alpha>0. Sets den to the overall denominator. The coefficients are calculated using a hypergeometric recurrence.

Cite this page

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