Re: C for Polynomial Fit



In article <p_adnR3dpKoQXejanZ2dnUVZ_jSdnZ2d@xxxxxxxxxxx>, xxx@xxxxxxx
says...
Howdy :

Does anybody know where I can find code for a C function to fit an
(N-1)th order polynomial to N (x,y) data points. Actually I need to fit
a 5th order polynomial to 11 x,y points.

Thanks folks,
Gary


There are a number of places where you can get C source for polynomial
fits. When I needed that code about 5 years ago, I found source code
at a group that appeared to be a spinoff of CalTech. IIRC, it was a
few hundred bucks for clean, well-commented source code. It worked
well, and I later purchased code for a FFT routine used in another
application. (I'm two computers and a few hard disk crashes away
from that project, so I don't have a link handy.)

I bought the source code because I'm not an expert on math routines
of this sort, and it was cheaper to buy the code than to bill the
client for the time it would have taken for me to code, test, and
understand the routines by my self.

Mark Borgerson
.



Relevant Pages