# forum.alglib.net

ALGLIB forum
 It is currently Sun Jul 21, 2019 7:14 am

 All times are UTC

### Forum rules

1. This forum can be used for discussion of both ALGLIB-related and general numerical analysis questions
2. This forum is English-only - postings in other languages will be removed.

 Page 1 of 1 [ 2 posts ]
 Print view Previous topic | Next topic
Author Message
 Post subject: Resample a spline at equidistancePosted: Thu Dec 06, 2018 4:28 am

Joined: Thu Dec 06, 2018 4:22 am
Posts: 1
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

Top

 Post subject: Re: Resample a spline at equidistancePosted: Mon Dec 10, 2018 10:32 am

Joined: Fri May 07, 2010 7:06 am
Posts: 849
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).

Top

 Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending
 Page 1 of 1 [ 2 posts ]

 All times are UTC

#### Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 1 guest

 You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum

Search for: