forum.alglib.net

ALGLIB forum
It is currently Thu Dec 05, 2024 12:24 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  [ 1 post ] 
Author Message
 Post subject: Spline fitting with exact boundaries
PostPosted: Sun Oct 04, 2020 11:08 pm 
Offline

Joined: Wed May 06, 2020 3:34 pm
Posts: 3
I'm using interpolation package to fit some data with a predefined amount of cubic splines.
However, the function spline1dfit(...) uses so-called natural boundary conditions in this problem, i.e. S''=0 on boundaries.

In my task I want to use this fitted region of a function with other functions on its edges.
So, for example, I fit a [x1, x2] region with f1(x), [x2, x3] with splines, and [x3, x4] with f2(x).
I know exactly the values and the derivatives of f1(x) and f2(x) on those points, so I wonder, if I should somehow try to implement exact boundary conditions on the fitting procedure, or may be I should switch to interpolation instead.

Thanks


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 8 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