<?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 Re: Update in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Band-matrix-storage-issue/m-p/923392#M13197</link>
    <description>Glad we could help :-) --Bruce</description>
    <pubDate>Thu, 16 Dec 2004 03:30:55 GMT</pubDate>
    <dc:creator>Intel_C_Intel</dc:creator>
    <dc:date>2004-12-16T03:30:55Z</dc:date>
    <item>
      <title>Band matrix storage issue</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Band-matrix-storage-issue/m-p/923390#M13195</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;I get wrong result while computing eigenvalues of a symmetric matrix in band storage using LAPACK routine "dsbev".&lt;BR /&gt;Here is code example. Consider matrix A=E. A is in band storage AB with one additional zero super-diagonal.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;#include "include/mkl.h"&lt;BR /&gt;#define N 4&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;int main() {&lt;/DIV&gt;
&lt;DIV&gt;double AB[2]&lt;N&gt;={0,0,0,0,1,1,1,1};&lt;BR /&gt;int n=N;&lt;BR /&gt;int ldab=2;&lt;BR /&gt;int kd=1;&lt;BR /&gt;int lwork=3*N;&lt;BR /&gt;int ldz=1;&lt;BR /&gt;int info;&lt;BR /&gt;double work[3*N];&lt;BR /&gt;double w&lt;N&gt;;&lt;BR /&gt;double z[1];&lt;BR /&gt;dsbev ("N", "U", &amp;amp;n, &amp;amp;kd, *AB, &amp;amp;ldab, w, z, &amp;amp;ldz, work, &amp;amp;info);&lt;/N&gt;&lt;/N&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;printf( "Eigenvalues: %g %g %g %g
", w[0], w[1], w[2], w[3]);&lt;BR /&gt;
&lt;DIV&gt;return 0;&lt;BR /&gt;}&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;The solution of MKL is:&lt;BR /&gt;-0.801938 0 0.554958 2.24698&lt;BR /&gt;But as we all know correct result is 1 1 1 1&lt;BR /&gt;What's wrong here?&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Thank you.&lt;/DIV&gt;&lt;P&gt;Message Edited by galuha@gmail.com on &lt;SPAN class="date_text"&gt;12-13-2004&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;06:50 PM&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Dec 2004 10:43:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Band-matrix-storage-issue/m-p/923390#M13195</guid>
      <dc:creator>galuha</dc:creator>
      <dc:date>2004-12-14T10:43:27Z</dc:date>
    </item>
    <item>
      <title>Update</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Band-matrix-storage-issue/m-p/923391#M13196</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Sorry for stupid question, just woke up with fresh head and fixed it&lt;/DIV&gt;</description>
      <pubDate>Tue, 14 Dec 2004 18:01:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Band-matrix-storage-issue/m-p/923391#M13196</guid>
      <dc:creator>galuha</dc:creator>
      <dc:date>2004-12-14T18:01:08Z</dc:date>
    </item>
    <item>
      <title>Re: Update</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Band-matrix-storage-issue/m-p/923392#M13197</link>
      <description>Glad we could help :-) --Bruce</description>
      <pubDate>Thu, 16 Dec 2004 03:30:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Band-matrix-storage-issue/m-p/923392#M13197</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2004-12-16T03:30:55Z</dc:date>
    </item>
  </channel>
</rss>

