Currently browsing tag

euclidean division

Polynomial long division in C++

I needed a function to perform polynomial division in C++. The polynomials are stored in vector< int >: a polynomial is represented …