forum.alglib.net

ALGLIB forum
It is currently Wed Oct 24, 2018 5:35 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: assign value to the real_2d_array
PostPosted: Mon Jul 16, 2018 10:10 pm 
Offline

Joined: Mon Jul 16, 2018 10:06 pm
Posts: 1
I am new to c++.

I am trying to use the bicubic spline to realize some interpolation, following the example on the page http://www.alglib.net/translator/man/manual.cpp.html#example_spline2d_fit_blocklls

Instead of using

Code:
real_2d_array xy = "[[-0.987,-0.902,0.359],[0.948,-0.992,0.347],[-1.000,1.000,0.333],[1.000,0.973,0.339],[0.017,0.180,0.968]]";


I want to assign the value using the array of double numbers I already have, for instance:

Code:
double value_xy[10][8], x[10][8], y[10][8]


I searched internet but cannot find a answer. How to realize this? Many 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 4 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