Quote:
> I was wondering if anyone has written a Pascal routine for polynomial
> (quadratic) curve fitting of an x-y data set? If so, I'd deeply
> Thanks,
> - Matt Warfel
Hi
Have you had a look at 'Numerical recipes for Pascal'? They have a load
of fitting routines (and other math for that matter). The library should
have it (or it's equivalent in C or fortran, which would be more of a
hassle because of translation).
I would look there first, also because their routines _seem_ pretty well
tested (including rounding problems...). They also give a nice
introduction covering the some of the pitfalls in computer mathematics,
like precision, rounding, cumulation of errors, ...
Good luck.
Remco