One of the facts which I had blogged about some time ago, was that I had developed a program that approximates the roots of polynomials, the intention being that it be used on polynomials of a very high degree, by entirely numerical means. And I did this with the knowledge that polynomials with a degree greater than 4 have no exact, analytical solutions, except for certain special cases.
I think that maybe, one reason why some readers were disinterested in that program, could have been the fact that it was entirely command-line driven. So, what I have now done was,
- To convert the core program into a truly object-oriented format, so that it could act as a module within some other program, and no longer have its own ‘main()’ function, And
- Applied what I’ve taught myself about the Qt5 GUI Library, to design a minimalistic GUI for it…
- One of the things the GUI now does, in addition to just listing the roots as text, is also to provide a rudimentary plot of the polynomial each time.
- One thing which the GUI version can no longer do, is to accept complex coefficients from the user. The command-line version was able to do that. But the GUI version can still find all the complex roots, given some luck.
The AppImage can be found at this repository on my site:
https://dirkmittler.homeip.net/binaries/
The relevant file is named ‘Dirk_Roots_GUI_1-x86_64.AppImage
‘. It will only run under Linux, unfortunately.
Dirk
2 thoughts on “I have now created a GUI version of my polynomial roots approximation program.”