Spectral differentiation
From chapter 9, instead of using local node set, use all of the nodes for global interpolation. The convergence is spectral if f has infinitely many derivatives on the interval (carries through to the derivatives).
Chebyshev differentiation matrix is a dense matrix with entries:
D00=2n2+16,Dnn=−2n2+16Dij={−xi2(1−x2i),i−j,cicj(−1)i+jxi−xj,i≠j,