<?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 Thanks! in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dsytrd-dsteqr-How-to-properly-computing-all-eigenvalues-and/m-p/975451#M17039</link>
    <description>Thank You very much for help. Zbigniew</description>
    <pubDate>Mon, 03 Oct 2005 23:17:18 GMT</pubDate>
    <dc:creator>zbigniew_g</dc:creator>
    <dc:date>2005-10-03T23:17:18Z</dc:date>
    <item>
      <title>dsytrd &amp; dsteqr - How to properly computing all eigenvalues and eigenvectors?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dsytrd-dsteqr-How-to-properly-computing-all-eigenvalues-and/m-p/975449#M17037</link>
      <description>&lt;DIV&gt;I am beginner andI tried to test dsteqr (?steqr) for computing eigenvalues and eigenvectors. I previously tried to reduce symmetric matrix to tridiagonal formusing dsytrd (?sytrd), but the result does not looks good. How to compute eigenvalues and eigenvectors for matrix (3*3) like eg. A[9] = {1, 2, 3, 2, 5, 6, 3, 6, 9}? Can somebody help me? Thanks for every help! Regards, Zbigniew&lt;/DIV&gt;</description>
      <pubDate>Fri, 16 Sep 2005 23:42:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dsytrd-dsteqr-How-to-properly-computing-all-eigenvalues-and/m-p/975449#M17037</guid>
      <dc:creator>zbigniew_g</dc:creator>
      <dc:date>2005-09-16T23:42:36Z</dc:date>
    </item>
    <item>
      <title>dsytrd &amp; dsteqr - How to properly computing all eigenvalues and</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dsytrd-dsteqr-How-to-properly-computing-all-eigenvalues-and/m-p/975450#M17038</link>
      <description>&lt;DIV&gt;
&lt;DIV&gt;I'd recommend to use dsyev routine for computing all eigenvalues and eigenvectors of symmetric matrices. Here is an C example &lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT color="#0000ff" size="2"&gt;
&lt;P&gt;#include&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt; "mkl_lapack.h"&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" size="2"&gt;
&lt;P&gt;int&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt; main(){&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" size="2"&gt;int&lt;/FONT&gt;&lt;FONT size="2"&gt; m=3;&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" size="2"&gt;double&lt;/FONT&gt;&lt;FONT size="2"&gt; a[9] = {294.0, -180.0, 108.0, -180.0, -25.0, 240.0, 108.0, 240.0, 231.0};&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" size="2"&gt;char&lt;/FONT&gt;&lt;FONT size="2"&gt; jobz='v', uplo='l';&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" size="2"&gt;int&lt;/FONT&gt;&lt;FONT size="2"&gt; info, n=3, lwork=18, i, j;&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" size="2"&gt;double&lt;/FONT&gt;&lt;FONT size="2"&gt; w[3], work[18];&lt;P&gt;&lt;/P&gt;
&lt;P&gt;dsyev(&amp;amp;jobz, &amp;amp;uplo, &amp;amp;n, a, &amp;amp;n, w, work, &amp;amp;lwork, &amp;amp;info);&lt;/P&gt;
&lt;P&gt;printf(" Eigenvalues computed 
");&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" size="2"&gt;for&lt;/FONT&gt;&lt;FONT size="2"&gt;(i=0; i&amp;lt;3; i++) {&lt;P&gt;&lt;/P&gt;
&lt;P&gt;printf("%.5f 
", w&lt;I&gt;);&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;};&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;The input/output arraya if jobz= 'V' andinfo = 0, contains the orthonormal eigenvectors of the matrix A. You are not able to use dsteqr for the matrix given by yousince dsteqr is only for tridiagonal matrices and accepts onlythe main and subdiagonals as input parameters. So you have to use the following lapack routines dsytrd, dorgtr and dsteqr for solving the full eigenvalue problemfor dense symmetric matrix as it isimplemented in dsyev routine. Besides dsyev routine is doing a scaling of input matrix if it is necessary to get thehigh accuracy.&lt;BR /&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 03 Oct 2005 13:45:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dsytrd-dsteqr-How-to-properly-computing-all-eigenvalues-and/m-p/975450#M17038</guid>
      <dc:creator>Sergey_K_Intel1</dc:creator>
      <dc:date>2005-10-03T13:45:58Z</dc:date>
    </item>
    <item>
      <title>Thanks!</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dsytrd-dsteqr-How-to-properly-computing-all-eigenvalues-and/m-p/975451#M17039</link>
      <description>Thank You very much for help. Zbigniew</description>
      <pubDate>Mon, 03 Oct 2005 23:17:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dsytrd-dsteqr-How-to-properly-computing-all-eigenvalues-and/m-p/975451#M17039</guid>
      <dc:creator>zbigniew_g</dc:creator>
      <dc:date>2005-10-03T23:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: Thanks!</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dsytrd-dsteqr-How-to-properly-computing-all-eigenvalues-and/m-p/975452#M17040</link>
      <description>Hi Zbigniew,&lt;BR /&gt;&lt;BR /&gt;I need to do exactly the same as you, and the example is excelent, my problem is in the compilation process, I am linking the wrong libraries (using MSVC 8), can you tell me please, which files.lib are you including to compile the example....&lt;BR /&gt;&lt;BR /&gt;thanks in advances...&lt;BR /&gt;&lt;BR /&gt;Fernando.&lt;BR /&gt;&lt;BR /&gt;So far I got: error LNK2019: unresolved external symbol _omp_in_parallel referenced in function _MKL_Get_Max_Threads&lt;BR /&gt;</description>
      <pubDate>Mon, 19 Nov 2007 14:02:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dsytrd-dsteqr-How-to-properly-computing-all-eigenvalues-and/m-p/975452#M17040</guid>
      <dc:creator>pizarro_fernando</dc:creator>
      <dc:date>2007-11-19T14:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: Thanks!</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dsytrd-dsteqr-How-to-properly-computing-all-eigenvalues-and/m-p/975453#M17041</link>
      <description>&lt;P&gt;Fernando,&lt;/P&gt;
&lt;P&gt;I think, you forgot to link libguide40 (or libguide) to your project.&lt;/P&gt;
&lt;P&gt;Andrey&lt;/P&gt;</description>
      <pubDate>Mon, 19 Nov 2007 16:40:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dsytrd-dsteqr-How-to-properly-computing-all-eigenvalues-and/m-p/975453#M17041</guid>
      <dc:creator>Andrey_G_Intel2</dc:creator>
      <dc:date>2007-11-19T16:40:58Z</dc:date>
    </item>
  </channel>
</rss>

