orthax.chebyshev.chebnorm

orthax.chebyshev.chebnorm(n)Source

Norm of nth Chebyshev polynomial.

The norm \(\gamma_n\) is defined such that

\(\int_{-1}^{1} T_n^2(x) dx = \gamma_n^2\)

With this definition \(\gamma_n^2 = \pi /(1 + \delta_{0,n})\)

Parameters:

n (int) – Order of Chebyshev polynomial.

Returns:

gamma_n (float) – Norm of the nth Chebyshev polynomial.