Hey there!
the CImg library offers SVD calculation. however, i'm always getting a
* glibc detected * ./projective_template: free(): invalid next size (fast): 0x089165b8 *
error. I couldn't find proper documentation on the function. my matrix is 8 by 9 and that's the code:
CImg<float> A(8,9);
....filling the matrix....
CImg<float> U(8,8);
CImg<float> S(8,9);
CImg<float> V(9,9);
cout<<"calculating SVD now...\n";
A.SVD(U,S,V); cout<<"calculated SVD...\n";
anyone knows what's wrong?
thanks!