Jump to content
  • Advertisement
Sign in to follow this  
paulbird

factoring polynomials?

This topic is 4726 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I have been making a computer algebra program which does most things it should like expand factors, differentiate, substitute, arbitary precission numbers, etc. but it seems to me that all good computer algebra programs should be able to factor polynomials over the integers. e.g. x^3+2+x^4+2*x+x^5+2*x^2 ---> (x^2+x+1)*(x^3+2) I have read lots of documents about how to do this but I think if I tried to write the code for this myself it probably wouldn't be very good or efficient. So does anyone know where I might get some C++ code or other code for doing this off the Interenet somewhere? So I can modify it and add it to my program? It would save me lots of hassle. P.S. In case anyone says it I know how to factor polynomials over real numbers which is something seperate.

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!