Answer the question
In order to leave comments, you need to log in
What is the best library to use to solve a 4th degree equation?
Please tell me the library for finding the roots of the equation: Ax^4 + Bx^3 + Cx^2 + Dx + E = 0
In the program, I constantly need to find the roots of the equation of the 4th degree, so I really don’t want to write my bike, since speed is important. Plus, all the solution methods described in the literature are quite voluminous, so there is a chance of making a mistake when transferring them to the code.
I know that Boost is capable of this, but I don’t see the point in pulling it. We need something light and aimed precisely at this task.
In the ideal case, you want the library to solve equations of the second and third degree as well.
Thanks in advance for your replies.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question