Numerical Recipes Forum  

Go Back   Numerical Recipes Forum > Obsolete Editions Forum > Methods: Chapters 3, 4, 5, and 6

Reply
 
Thread Tools Display Modes
  #1  
Old 02-16-2006, 05:09 AM
alle_meije alle_meije is offline
Registered User
 
Join Date: Feb 2006
Posts: 1
size of KERNEL (1..n) in splin[es].c

Hi,

I am managing code that I have not written myself, which calls the routines spline() and splins(). The integer n (3rd argument to spline, 4th to splins) is defined as KERNEL = 4.

Could KERNEL, or n, be anything else than 4 for cubic splines? I would guss that it could not be less than 4, but for multidimensional data, it could be as large as dim[i] for which ever dimension you want to interpolate, couoldn't it?

I tried to find references in the book and on the internet, but there are no real explanations as to what values n can take.

Thanks for your help!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 07:19 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.