forum.alglib.net http://forum.alglib.net/ |
|
Resample a spline at equidistance http://forum.alglib.net/viewtopic.php?f=2&t=3872 |
Page 1 of 1 |
Author: | Ethan [ Thu Dec 06, 2018 4:28 am ] |
Post subject: | Resample a spline at equidistance |
Hi, I have a set of points (x[], y[]) and used Spline1DBuildCubic() to interpolate them to a cubic spline. Question is how can I resample this generated spline at equidistance? Equidistance is not in x-axis but in the cartesian distance of two points. Means the new points set have the equal distance interval between adjacent points. Thanks. Ethan |
Author: | Sergey.Bochkanov [ Mon Dec 10, 2018 10:32 am ] |
Post subject: | Re: Resample a spline at equidistance |
The only solution I have so far is to start from the left node (the boundary point) and manually calculate "next" point (try some trial distance along X, increase/decrease it until required precision is found). |
Page 1 of 1 | All times are UTC |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |