Kraus Philipp wrote:I think there was a little mistake, because "lower" means, that the values must be filled into the upper triangle.
You're joking, right? The MKL example used "Upper" to compensate for the differences between C's row_major and fortran's column_major matrix storage format.
For your example, the matrix
1 0 0
2 2 0
3 3 4
will certainly give the eigenvalues (4,2,1) with Matlab. When you're calling syev with this matrix as "upper", syev will interpret it as the symmetric matrix