How can I solve a fifth degree polynomial in C ++

I have a quintic function (5th degree polynomial), and I would like to solve it in C ++. Is there an implementation or math library that I can use to continue?

+5
source share
3 answers

Boost has it. Look at here:

http://www.boost.org/doc/libs/1_51_0/libs/math/doc/sf_and_dist/html/math_toolkit/toolkit/internals1/roots2.html http://www.boost.org/doc/libs/1_51_0 /libs/math/doc/sf_and_dist/html/math_toolkit/toolkit/internals2/polynomials.html

Description

f (x) f (x). , TOMS 748 .

, , , , , .

, , , . . , http://programmingexamples.net/wiki/CPP/Boost/Math/Tools/TOMS748

t.

+4

( 5- ), ++.

, . . . - . , .

, . ( ) . , , .

, .

+3

All Articles