forum.alglib.net

ALGLIB forum
It is currently Sun Dec 22, 2024 3:50 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.



Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Resample a spline at equidistance
PostPosted: Thu Dec 06, 2018 4:28 am 
Offline

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
 Profile  
 
 Post subject: Re: Resample a spline at equidistance
PostPosted: Mon Dec 10, 2018 10:32 am 
Offline
Site Admin

Joined: Fri May 07, 2010 7:06 am
Posts: 927
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
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 25 guests


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

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group