forum.alglib.net

ALGLIB forum
It is currently Tue Dec 24, 2024 1:37 pm

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  [ 5 posts ] 
Author Message
 Post subject: Finding the derivatives of a RBF interpolation
PostPosted: Mon May 15, 2017 9:34 am 
Offline

Joined: Mon May 15, 2017 9:21 am
Posts: 3
Dear all,

I use the alglib RBF interpolation to interpolate a function at scattered points. The results are good. Although it seems straightforward to find the derivative of the given function, I cannot figure out how to do that. Therefore, my question is if it is possible to do that by the alglib or if it is possible to add it into the alglib, and

best regard
Tsai

_________________
https://t.me/pump_upp


Top
 Profile  
 
 Post subject: Re: Finding the derivatives of a RBF interpolation
PostPosted: Mon May 15, 2017 1:33 pm 
Offline
Site Admin

Joined: Fri May 07, 2010 7:06 am
Posts: 927
Hi!

Do you need only first derivatives or second ones too?


Top
 Profile  
 
 Post subject: Re: Finding the derivatives of a RBF interpolation
PostPosted: Tue May 16, 2017 2:06 am 
Offline

Joined: Mon May 15, 2017 9:21 am
Posts: 3
Hi,

I need the first order derivatives.

Finite

_________________
https://t.me/pump_upp


Top
 Profile  
 
 Post subject: Re: Finding the derivatives of a RBF interpolation
PostPosted: Wed May 17, 2017 8:22 am 
Offline
Site Admin

Joined: Fri May 07, 2010 7:06 am
Posts: 927
I studied our RBF module... it is possible to add numerical differentiation, and it seems to be a good idea, but it will require a few days of development. I can't deliver it right now.

Another option, which you can implement yourself right now, is to use 2-point or 4-point numerical differentiation formula and differentiation RBF as "black box". It will result in ~10x slowdown (depending on specific formula used and number of dimensions), but it will be here almost instantly.

What do you think?


Top
 Profile  
 
 Post subject: Re: Finding the derivatives of a RBF interpolation
PostPosted: Wed May 17, 2017 8:31 am 
Offline

Joined: Mon May 15, 2017 9:21 am
Posts: 3
Hi,

You can take your time to implement it since I have used another custom RBF interpolation to solve my problem. That RBF interpolation is not general but is enough for my problem.

Alglib is more general, you could find some time to implement it.

Finite

_________________
https://t.me/pump_upp


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group