I'm writing a program that checks for valid polynomials read from a file. Is checking if the polynomial is equal to zero enough?
Optimal Polynomial Check,
Crossbones+ - Reputation: 5832
Posted 24 February 2013 - 04:19 PM
Need more info....
Surely everything is valid as a polynomial as long as it doesn't have negative powers of the free variables. Two or more values for a given power might be invalid as well I suppose...
Are you trying to check if a polynomial has a solution over the real numbers? You may want to start by looking here: http://en.wikipedia.org/wiki/Descartes%27_rule_of_signs in that case.