- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I want to calculate the eigenvalues/eigenvectors of a real symmetric matrix. According to the documentation only the lower triangular part of the input matrix is used. In my understanding this
double buffer[4];
double values[2];
double vectors[4];
double A[2 * 2] = { 1, 0, 2, 3};
ippmEigenValuesVectorsSym_m_64f(A, 2 * sizeof(double), sizeof(double), buffer, vectors, 2 * sizeof(double), sizeof(double), values, 2);
should calculate the eigenvectors/eigenvalues for the matrix:
M=[1, 2;
2, 3];
But this yields the result for M=[1, 0; 0; 3]. Only if i specifing A as A[2*2]={ 1, 2, 0, 3} i get the correct result.
Am i missing somehting here?
Thanks in advance,
Michael
double buffer[4];
double values[2];
double vectors[4];
double A[2 * 2] = { 1, 0, 2, 3};
ippmEigenValuesVectorsSym_m_64f(A, 2 * sizeof(double), sizeof(double), buffer, vectors, 2 * sizeof(double), sizeof(double), values, 2);
should calculate the eigenvectors/eigenvalues for the matrix:
M=[1, 2;
2, 3];
But this yields the result for M=[1, 0; 0; 3]. Only if i specifing A as A[2*2]={ 1, 2, 0, 3} i get the correct result.
Am i missing somehting here?
Thanks in advance,
Michael
Link Copied
0 Replies
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page