An algorithm to compute Gaussian-type quadrature formulae that integrate polynomials and some spline functions exactly (G. Allal)