For a given set of points in X, computes the orthonormal Gegenbauer polynomials basis of L2 [a,b] for a given degree and \(\alpha\) parameter. The Gegenbauer polynomials are a special case of more general Jacobi polynomials. In turn, you may get Legendre polynomials from Gegenbauer by setting \(\alpha\) = 0, or Chebychev's polynomials
by setting \(\alpha\) = 1/2 or -1/2.
Usage
gb(degree, alpha, a = 0, b = 1, jmax = NULL, X = NULL)
Value
Psi weight matrix with Gegenbauer functions upto degree.