I'm writing a program that checks for valid polynomials read from a file. Is checking if the polynomial is equal to zero enough?
Jump to content
Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.
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.
GameDev.net™, the GameDev.net logo, and GDNet™ are trademarks of GameDev.net, LLC.