https://123dok.net/document/zpnmm07y-a-fast-algorithm-for-computing-the-truncated-resultant.html