forum.alglib.net

ALGLIB forum
It is currently Sun Dec 22, 2024 7:14 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  [ 1 post ] 
Author Message
 Post subject: Spline interpolation - Very Beginer need help
PostPosted: Thu May 07, 2015 9:42 am 
Offline

Joined: Thu May 07, 2015 9:30 am
Posts: 1
Hello,

I'm delphi developer and i would like to use interpolation for join many points.
I have a list of points in 2D Space : likeness "TList<PointF(X, Y)>"

So i wanted to use the function "Spline2DBuildBilinear" but i don't really understand how to use it.

Quote:
Input parameters:
X - spline abscissas, array[0..N-1]
Y - spline ordinates, array[0..M-1]
F - function values, array[0..M-1,0..N-1]
M,N - grid size, M>=2, N>=2

Output parameters:
C - spline interpolant


So if i have 3 points { A(0,0); B(100,100); C(50,200) }
X contains [0, 100, 200] (?)
Y contains [0, 100, 50] (?)
What i should put for F ?
Same question about M and N. I guess it's something like M := 400 and N := 400 ?


Maths are so far for me, it's why i need your help. Ask me if you didn't understand something in my message.

Thanks,

Sanna


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 32 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