python - C++ curve fiting to find the coefficients of a cubic? -


i have group of data points need fit curve , extract coefficients of polynomial , use them determine roots of polynomial. have python library, scipy optimize curve fit able extract coefficients, need have c++ version. noticed python library based on minpack downloaded minpack haven't been able figure out how use it. looked @ john burkhardt version found here, pretty compact version of minpack again haven't figured out how use it.

the python library leads me believe polynomial of form ax^2 + bx + c + d/x. thought maybe port scipy minpack c++ after looking @ realized bad idea, , python skills aren't enough. have related code examples using c++ version of minpack, links read, anything?

i minuit!

they offer standalone version, , it's packaged in root (a larger data analysis framework).

i've ever used through root's interface.


Comments

Popular posts from this blog

My HTML document is not linking to my CSS stylesheet properly -

php array slice every 2th rule -

node.js - Sending sockets to client side, Error: Converting circular structure to JSON -