issues
search
sallam-ahmed
/
Polynomial-Calculator
Data Structure 2015 Course Project
Apache License 2.0
0
stars
3
forks
source link
Polynomial GCD and Polynomial Derivative
#18
Closed
khaledkee
closed
8 years ago
khaledkee
commented
8 years ago
Added Polynomial GCD (trie already support any operation of two polynomials)
Added Polynomial Derivative
Enhanced Trie capability to store operations of one polynomial (doesn't fully support derivative yet)
Added Term.ToString(), Term.ToPair()
Added remove solutionset from Trie
Added methods to polynomial
Back (last term)
Degree (Degree of highest term)
Add (insert term)
CoefficientOf (returns coefficient of specific degree)
Contains (check if a given term/degree is presented in the polynomial)
Remove (delete the term associated with a given degree)
Allowed null polynomials
Cleaned Operators with new methods
Bug fixes:
fixes #17
fixes substraction bug (if a degree in the second polynomial was not presented in the result add the
negative
of the coefficient)
fixes longDiv bug (if both polynomial are equal dN was larger than dr)
ignored and removed binary files
Fixes #19
Fixes Add bug (if there is a null term, remove it)
Fixes + and - bug (if the coefficient is zero don't add it)
Notes:
ColorFont and GlassButton are not included