%-------------------------------- *** Functions *** leb_constant.m: computes the Lebesgue constant and Lebegsue function of the F-H interpolant on [a,b] fh.m: computes the F-H's interpolant at equidistant nodes x gauss.m: computes nodes and weights of the gaussian quadrature formula r_jacobi.m: returns the recurrence coefficients for monic Jacobi polynomials gauss_jacobi_integration.m: computes the integral of a function f with the gaussian formula IRQ.m: computes the integral of f with Indirect Rational Quadrature (IRQ method) least_square_fh.m: using the least square method with F-H's basis functions, computes the approximation of data (xi,yi) weights.m: computes the F-H's weights eval_bi.m: evaluates che F-H's basis functions b_i at the points xi %--------------------------------- *** Drivers *** demo_leb_constant_equidistant.m: returns the plot of Lebesgue constant of F-H's interpolant at equidistant nodes demo_leb_constant_cheb: returns the plot of Lebesgue constant of F-H's interpolant at Chebychev-Gauss-Lobatto nodes demo_leb_constant_cheb_estesi: returns the plot of Lebesgue constant of F-H's interpolant at extended Chebychev nodes demo_leb_constant_log: returns the plot of Lebesgue constant of F-H's interpolant at logarithmically distributed nodes demo_DQR: returns the DRQ error, the exact integral and its approssimation with Direct Rational Quadrature (DRQ method) demo_fh: returns the interpolation error in the sup-norm by the F-H interpolant on [-5,5]. It plots also the function and the interpolant demo_leb_function_equidistant: plots the Lebesgue function of F-H's interpolant at 40 equidistant nodes on [0,1] demo_leb_function_cheb: plots the Lebesgue function of F-H's interpolant at 40 Chebychev-Gauss-Lobatto nodes on [0,1] demo_leb_function_extended_cheb: plots the Lebesgue function of F-H's interpolant at 40 extended Chebychev nodes on [0,1] demo_leb_function_log: plots the Lebesgue function of F-H's interpolant at 40 logarhitmically distribuited nodes on [0,1] demo_IRQ: returns the IRQ error, the exact integral and its approximation with IRQ method on [-5,5] demo_least_square_fh: returns the approximation error of the least square method and the vector of coefficients c. The data (x_i,y_i) are choosen randomly in [-5,5] x [-10,10]