forum.alglib.net http://forum.alglib.net/ |
|
linear Interpolation http://forum.alglib.net/viewtopic.php?f=2&t=3135 |
Page 1 of 1 |
Author: | cilelic [ Mon Aug 10, 2015 9:17 am ] |
Post subject: | linear Interpolation |
Hi everyone, I've a small question about the interpolation on ALGLIB that confused me for a long time. I don't know how to convert barycentricinterpolant to the coefficients like: y= ax^2+bx+c. I found this in the manual for polynomial/rational interpolation: Quote: // NOTE: result is returned as barycentricinterpolant structure. // if you want to get representation in the power basis, // you can use barycentricbar2pow() function to convert // from barycentric to power representation (see docs for // POLINT subpackage for more info). Actually, I didn't find barycentricbar2pow() in interpolation.cpp, and I don't know how to display these coefficients. Could you please give me a little suggestions? Thanks a lot ! |
Page 1 of 1 | All times are UTC |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |