forum.alglib.net
http://forum.alglib.net/

assign value to the real_2d_array
http://forum.alglib.net/viewtopic.php?f=2&t=3859
Page 1 of 1

Author:  gamebm [ Mon Jul 16, 2018 10:10 pm ]
Post subject:  assign value to the real_2d_array

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.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/