Code for Chapter 8: Polynomial and Rational Interpolation
genbarywts.m for generating barycentric weights
hermiteval.m for evaluating Lagrange and Hermite interpolants using the (numerically stable) second barycentric form
gcmp.m for the generalized companion matrix pencil, allowing roots of polynomial expressed in Lagrange and Hermite interpolation basis.
bhip.mpl for Barycentric Hermite Interpolating Polynomial in Maple. Also includes "distrib" to convert first barycentric form to Lagrange form, and CMP for the companion matrix pencil.
Interpolating (z-1/4)^2(z-1/2)^2(z-3/4)^2 at four points with confluency 2 gives good accuracy
Runge example with confluency 2