I'm trying to make a C version of many of the things I have in MATLAB, and I timed the eigenvalue decomposition using matlab's eig vs a dsyev call, and MATLAB's is faster. For example:
10 x 10: 0.003246 seconds with eig, 0.013897 s with dsyev in C
100 x 100: 0.001516 seconds with eig, 0.001764 s with dsyev in C
1000 x 1000: 0.304438 seconds with eig, 0.356483 s with dsyev in C
I was under the impression that MATLAB just uses LAPACK calls for this low level stuff. Is there more to the picture?
Thanks!