matrix storage order

matrix storage order

Hi,

I'm calling MKL functions from C++.
I would know how the functions store results in the matrixes. In the documents it says that is column major (but seems that is something wrong or not corrected).
For example, in the case of 3x3 matrix in input, when I call ztrevc to find eigenvectors, I get in output vl (and vr). I want to know if vr[0], vr[1] and vr[2] is the first vector (or the first column of the vectors' matrix) or vr[0], vr[3], vr[6] is the correct form.
Thank you.

1 post / 0 new
For more complete information about compiler optimizations, see our Optimization Notice.