Skip to content
/ pq Public

pq - rational roots finder for polynomial equations

License

Notifications You must be signed in to change notification settings

kako57/pq

Repository files navigation

pq


pq is a rational roots finder for polynomial equations;

UPDATE: pq now supports rational coefficients!


Example

Enter the polynomial coefficients in decreasing power as arguments to the program

$ # solve a polynomial equation in degree 8
$ ./pq 1 -28 322 -1960 6769 -13132 13068 -5040 0
Rational roots:
7
6
5
4
3
2
1
0

Rational coefficients!

pq now supports rational coefficients in polynomial equations

$ # solve a polynomial equation with rational coefficients
$ ./pq 1 1 1/4
Rational roots:
-1/2

About

pq - rational roots finder for polynomial equations

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published