Currently browsing tag

polynomials

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 …