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

Data conversion problem http://forum.alglib.net/viewtopic.php?f=2&t=399 
Page 1 of 1 
Author:  andry_gasy [ Mon Jul 11, 2011 3:03 pm ] 
Post subject:  Data conversion problem 
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<=nbmax1;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. 
Author:  andry_gasy [ Tue Jul 12, 2011 2:05 pm ] 
Post subject:  Re: Data conversion problem 
Sorry, I didn't read the manual. I found the answer there!! 
Page 1 of 1  All times are UTC 
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ 