ranjeevg / PolyCAS_CPP

A C++ rendering of a polynomial computer algebra system. This is mostly a learn-as-you-go situation, not having any prior experience with computer algebra systems.
0 stars 0 forks source link

Implement operator overloads for polynomial objects #1

Open ranjeevg opened 8 months ago

ranjeevg commented 8 months ago

Save polynomials as linked lists with the coefficients as the values of each term, in descending order of power of x, and the degree of the polynomial being the number of terms - 1 (a degree 0 polynomial would still have 1 term for the constant)

ranjeevg commented 8 months ago

operator overloads for terms done; need to write methods to add, subtract and multiply terms

ranjeevg commented 8 months ago

Save polynomials as linked lists with the coefficients as the values of each term, in descending order of power of x, and the degree of the polynomial being the number of terms - 1 (a degree 0 polynomial would still have 1 term for the constant)

Saved Polynomials as vector's. why overcomplicate things?