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.