Board index » cppbuilder » LINEST
Dan
![]() CBuilder Developer |
LINEST2007-03-15 04:18:52 AM cppbuilder113 Hi guys, Probably not a NativeAPI function question, but anyway; I am being tasked to reproduce some of the power that is in the Excel LINEST function in an application. I realize that LINEST uses linear regression and least squares; but I am by no means a math major, the Numerical Recipes in C book has been mildly helpful; but I am still stuck without a solution. I can't use OLE to automate Excel as the application may not always be ran on a PC with Excel. Anyone know any great libraries I could use that allow me to import a data set of X and Y values which will return me the best polynomial fit line, or array of A values for the equation y = A1x^2 + A2x + A3? Dan |