Accurate Evaluation of Polynomials in Legendre Basis
Figure 2
Evaluation of polynomial converted from by the algorithm in Legendre basis in the neighborhood of its multiple roots, using the Clenshaw algorithm (up), the algorithm (middle), and Symbolic Toolbox (down).