https://1library.net/document/yn2e54py-computation-of-rational-szegő-lobatto-quadrature-formulas.html