<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic SGEEV giving incorrect results in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SGEEV-giving-incorrect-results/m-p/835320#M6025</link>
    <description>Hello,&lt;BR /&gt; I am using SGEEV to calculate the eigenvalues and right eigenvectors of a block diagonal matrix. For some examples SGEEV seems to be giving the wrong result. I have attached the code along with this post. It is almost exactly the same code as the mkl example for sgeev. I have just changed the matrix and the output routine (since I know that the eigenvectors and values are real). If V_r is the right eigenvector and D = diagonal matrix of eigenvalues for matrix A, it can be verified from the output that A*V_r != V_r*D.&lt;BR /&gt;&lt;BR /&gt;I think I might be abusing the interface or just doing something plain wrong. Could someone please clarify whether the issue is with mkl or with my usage of the routine?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance,&lt;BR /&gt;C.S.N</description>
    <pubDate>Tue, 06 Sep 2011 00:52:06 GMT</pubDate>
    <dc:creator>csnatarajan</dc:creator>
    <dc:date>2011-09-06T00:52:06Z</dc:date>
    <item>
      <title>SGEEV giving incorrect results</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SGEEV-giving-incorrect-results/m-p/835320#M6025</link>
      <description>Hello,&lt;BR /&gt; I am using SGEEV to calculate the eigenvalues and right eigenvectors of a block diagonal matrix. For some examples SGEEV seems to be giving the wrong result. I have attached the code along with this post. It is almost exactly the same code as the mkl example for sgeev. I have just changed the matrix and the output routine (since I know that the eigenvectors and values are real). If V_r is the right eigenvector and D = diagonal matrix of eigenvalues for matrix A, it can be verified from the output that A*V_r != V_r*D.&lt;BR /&gt;&lt;BR /&gt;I think I might be abusing the interface or just doing something plain wrong. Could someone please clarify whether the issue is with mkl or with my usage of the routine?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance,&lt;BR /&gt;C.S.N</description>
      <pubDate>Tue, 06 Sep 2011 00:52:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SGEEV-giving-incorrect-results/m-p/835320#M6025</guid>
      <dc:creator>csnatarajan</dc:creator>
      <dc:date>2011-09-06T00:52:06Z</dc:date>
    </item>
    <item>
      <title>SGEEV giving incorrect results</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SGEEV-giving-incorrect-results/m-p/835321#M6026</link>
      <description>You call the Fortran77 routine from C, and pass a one-dimensional array to it. Fortran-77 convention dictates that the matrix be stored in the one-dimensional array by concatenating the columns of the matrix. C, however, has the opposite convention, with rows concatenated. In effect, you computed the &lt;B&gt;left&lt;/B&gt; eigenvectors of the matrix, which are equivalent to the &lt;B&gt;right&lt;/B&gt; eigenvectors of the transpose matrix. &lt;BR /&gt;&lt;BR /&gt;You can adjust for this mismatch in several ways:&lt;BR /&gt;&lt;BR /&gt;1. Enter the matrix in the expected Fortran column-1, column-2, ... order.&lt;BR /&gt;&lt;BR /&gt;2. Call SGEEV('V','N',...) and print VL(:)&lt;BR /&gt;&lt;BR /&gt;3. Use the C-oriented LAPACKE_sgeev routine.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Sep 2011 02:59:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SGEEV-giving-incorrect-results/m-p/835321#M6026</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2011-09-06T02:59:06Z</dc:date>
    </item>
    <item>
      <title>SGEEV giving incorrect results</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SGEEV-giving-incorrect-results/m-p/835322#M6027</link>
      <description>Ah, of course! Thanks mecej4, that clarifies the situation!</description>
      <pubDate>Tue, 06 Sep 2011 06:57:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SGEEV-giving-incorrect-results/m-p/835322#M6027</guid>
      <dc:creator>csnatarajan</dc:creator>
      <dc:date>2011-09-06T06:57:30Z</dc:date>
    </item>
  </channel>
</rss>

