orthax.orthnorm

orthax.orthnorm(n, rec)Source

Norm of nth orthogonal polynomial.

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

\(\int_{a}^{b} P_n^2(x) w(x) dx = \gamma_n^2\)

Parameters:

n (int) – Order of orthogonal polynomial.

Returns:

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