Chebyshev weight function
y=chebyshev_weight(x)
a matrix of doubles
a matrix of doubles, the weight
Computes the Chebyshev weight function:
for x in (-1,1).
x=linspace(-0.99,0.99,1000); y=chebyshev_weight(x); scf(); plot(x,y) xtitle("Chebyshev weight","x","w(x)") v=intg(-1,1,chebyshev_weight) sqrt(%pi)