Processing math: 100%
SciPy

This is documentation for an old release of SciPy (version 0.19.0). Read this page in the documentation of the latest stable release (version 1.15.1).

scipy.special.eval_gegenbauer

scipy.special.eval_gegenbauer(n, alpha, x, out=None) = <ufunc 'eval_gegenbauer'>

Evaluate Gegenbauer polynomial at a point.

The Gegenbauer polynomials can be defined via the Gauss hypergeometric function 2F1 as

C(α)n=(2α)nΓ(n+1)2F1(n,2α+n;α+1/2;(1z)/2).

When n is an integer the result is a polynomial of degree n.

Parameters:

n : array_like

Degree of the polynomial. If not an integer, the result is determined via the relation to the Gauss hypergeometric function.

alpha : array_like

Parameter

x : array_like

Points at which to evaluate the Gegenbauer polynomial

Returns:

C : ndarray

Values of the Gegenbauer polynomial

See also

roots_gegenbauer
roots and quadrature weights of Gegenbauer polynomials
gegenbauer
Gegenbauer polynomial object
hyp2f1
Gauss hypergeometric function