Hello everybody, I try to use ALGLIB for data fitting in spectroscopic analysis program written in C++ Builder 6. I want to use for this the Levenberg Marquardt algorithm. My problem is data conversion. All my data are in double type (measurement data, target function) but ALGLIB uses its own defined types: real_1d_array, real_2d_array,... I tried to do like follow:
real_2d_array x; for (int i=0;i<=nbmax-1;i++) x[0][i]=X[i]; where X[i] is my double data variable
but I receive the error: [Linker Error] Unresolved external 'alglib::real_2d_array::~real_2d_array()' So how can I please use ALGLIB without changing the type of my data variables (which will be really exhausting). Thank you very much in advance.
|