<?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: Find eigenvalues and eigenvectors in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Find-eigenvalues-and-eigenvectors/m-p/849261#M6454</link>
    <description>the "A" matrix is a two-dimensional or one-dimensional array?&lt;BR /&gt;&lt;BR /&gt;&lt;PRE&gt;&lt;FONT face="Courier New"&gt;A = (double**)malloc(n*double*);&lt;/FONT&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;FONT face="Courier New"&gt;for(i=0; i&lt;N&gt;&lt;/N&gt;&lt;/FONT&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;FONT face="Courier New"&gt;  A&lt;I&gt;=(double*)calloc(n,sizeof(double));&lt;/I&gt;&lt;/FONT&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;FONT face="Courier New"&gt; }&lt;/FONT&gt;&lt;/PRE&gt;or&lt;BR /&gt;&lt;PRE&gt;A = (double*)calloc(n,sizeof(double));&lt;BR /&gt;&lt;BR /&gt;&lt;PRE&gt;&lt;FONT face="Arial"&gt;where n = 8 ?????&lt;/FONT&gt;&lt;/PRE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 02 Jul 2007 13:09:16 GMT</pubDate>
    <dc:creator>anacondgame</dc:creator>
    <dc:date>2007-07-02T13:09:16Z</dc:date>
    <item>
      <title>Find eigenvalues and eigenvectors</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Find-eigenvalues-and-eigenvectors/m-p/849258#M6451</link>
      <description>I Have a &lt;SPAN style="font-weight: bold;"&gt;8x8 symmetric matrix A&lt;/SPAN&gt; and I wont compute the eigenvalues and eigenvectors with dsyevd function.&lt;BR /&gt;&lt;BR /&gt;The parameter are following:&lt;BR /&gt;&lt;BR /&gt;&lt;PRE&gt;&lt;FONT face="Courier New"&gt;...&lt;BR /&gt;// Var dichiaration&lt;BR /&gt;&lt;BR /&gt;job = 'V';&lt;/FONT&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;FONT face="Courier New"&gt;uplo = 'L';  &lt;/FONT&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;FONT face="Courier New"&gt;n = 8;&lt;/FONT&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;FONT face="Courier New"&gt;lda = 8;&lt;/FONT&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;FONT face="Courier New"&gt;lwork = 3*pow(n,2)+(5+2*3)*n+1;&lt;/FONT&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;FONT face="Courier New"&gt;liwork = 5*n+2;&lt;BR /&gt;&lt;BR /&gt;// alloc the vectors&lt;BR /&gt;&lt;/FONT&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;FONT face="Courier New"&gt;work = (double*)calloc(lwork,sizeof(&lt;/FONT&gt;&lt;FONT&gt;&lt;FONT face="Courier New"&gt;double&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;));&lt;/FONT&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;FONT face="Courier New"&gt;w = (&lt;/FONT&gt;&lt;FONT&gt;&lt;FONT face="Courier New"&gt;double&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;*)calloc(n,sizeof(&lt;/FONT&gt;&lt;FONT&gt;&lt;FONT face="Courier New"&gt;double&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;));&lt;/FONT&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;FONT face="Courier New"&gt;iwork = (int*)calloc(liwork,sizeof(int));&lt;BR /&gt;&lt;BR /&gt;// call &lt;/FONT&gt;&lt;FONT&gt;&lt;FONT face="Courier New"&gt;dsyevd for compute the eigenvalues and eigenvectors&lt;/FONT&gt;&lt;/FONT&gt;
&lt;/PRE&gt;&lt;PRE&gt;&lt;FONT face="Courier New"&gt;dsyevd(&amp;amp;job,&amp;amp;uplo,&amp;amp;n,A,&amp;amp;lda,w,work,&amp;amp;lwork,iwork,&amp;amp;liwork,&amp;amp;info);&lt;BR /&gt;...&lt;BR /&gt;&lt;/FONT&gt;&lt;/PRE&gt;&lt;BR /&gt;but the output program is incorrect !!? why?&lt;BR /&gt;help me, please!!!&lt;BR /&gt;</description>
      <pubDate>Mon, 02 Jul 2007 09:34:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Find-eigenvalues-and-eigenvectors/m-p/849258#M6451</guid>
      <dc:creator>anacondgame</dc:creator>
      <dc:date>2007-07-02T09:34:10Z</dc:date>
    </item>
    <item>
      <title>Re: Find eigenvalues and eigenvectors</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Find-eigenvalues-and-eigenvectors/m-p/849259#M6452</link>
      <description>&lt;P&gt;(float *)---&amp;gt;(double *) &lt;/P&gt;
&lt;P&gt;or&lt;/P&gt;
&lt;P&gt;dsyevd---&amp;gt;ssyevd&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jul 2007 09:45:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Find-eigenvalues-and-eigenvectors/m-p/849259#M6452</guid>
      <dc:creator>Zhanghong_T_</dc:creator>
      <dc:date>2007-07-02T09:45:57Z</dc:date>
    </item>
    <item>
      <title>Re: Find eigenvalues and eigenvectors</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Find-eigenvalues-and-eigenvectors/m-p/849260#M6453</link>
      <description>sorry, I have been wrong to write...&lt;BR /&gt;but the problem remains!&lt;BR /&gt;</description>
      <pubDate>Mon, 02 Jul 2007 09:54:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Find-eigenvalues-and-eigenvectors/m-p/849260#M6453</guid>
      <dc:creator>anacondgame</dc:creator>
      <dc:date>2007-07-02T09:54:05Z</dc:date>
    </item>
    <item>
      <title>Re: Find eigenvalues and eigenvectors</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Find-eigenvalues-and-eigenvectors/m-p/849261#M6454</link>
      <description>the "A" matrix is a two-dimensional or one-dimensional array?&lt;BR /&gt;&lt;BR /&gt;&lt;PRE&gt;&lt;FONT face="Courier New"&gt;A = (double**)malloc(n*double*);&lt;/FONT&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;FONT face="Courier New"&gt;for(i=0; i&lt;N&gt;&lt;/N&gt;&lt;/FONT&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;FONT face="Courier New"&gt;  A&lt;I&gt;=(double*)calloc(n,sizeof(double));&lt;/I&gt;&lt;/FONT&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;FONT face="Courier New"&gt; }&lt;/FONT&gt;&lt;/PRE&gt;or&lt;BR /&gt;&lt;PRE&gt;A = (double*)calloc(n,sizeof(double));&lt;BR /&gt;&lt;BR /&gt;&lt;PRE&gt;&lt;FONT face="Arial"&gt;where n = 8 ?????&lt;/FONT&gt;&lt;/PRE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 02 Jul 2007 13:09:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Find-eigenvalues-and-eigenvectors/m-p/849261#M6454</guid>
      <dc:creator>anacondgame</dc:creator>
      <dc:date>2007-07-02T13:09:16Z</dc:date>
    </item>
    <item>
      <title>Re: Find eigenvalues and eigenvectors</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Find-eigenvalues-and-eigenvectors/m-p/849262#M6455</link>
      <description>It's a 2-dimensional Fortran array, not a **.&lt;BR /&gt;</description>
      <pubDate>Mon, 02 Jul 2007 13:25:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Find-eigenvalues-and-eigenvectors/m-p/849262#M6455</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2007-07-02T13:25:57Z</dc:date>
    </item>
    <item>
      <title>Re: Find eigenvalues and eigenvectors</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Find-eigenvalues-and-eigenvectors/m-p/849263#M6456</link>
      <description>&lt;P&gt;You can declare an array in C of size n*n of type double for !, and be sure to load in in Fortran style, i.e., column order, as I had stated in an earlier response.&lt;/P&gt;
&lt;P&gt;lda will be set to &lt;STRONG&gt;n&lt;/STRONG&gt; in this case.&lt;/P&gt;
&lt;P&gt;Bruce&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jul 2007 16:55:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Find-eigenvalues-and-eigenvectors/m-p/849263#M6456</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2007-07-02T16:55:49Z</dc:date>
    </item>
  </channel>
</rss>

