<?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 Eigenvalues for singular matrices in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Eigenvalues-for-singular-matrices/m-p/848548#M6322</link>
    <description>Hi,&lt;BR /&gt;I am using IPP 5.2 and ippmEigenValuesVectorsSym_m_32f to calculate the eigenvectors of a symmetric matrix. In my case the matrix can sometimes be singular, and that's fine,  but then the function returns ippStsSingularErr and no eigenvectors are calculated. I find this quite strange since e.g Matlab has no problem calculating eigenvectors for singular matrices. &lt;BR /&gt;&lt;BR /&gt;Q1) Does anyone have any workaround for this?&lt;BR /&gt;Q2) Intel, do you plan on or maby already have, solved this in newer versions?&lt;BR /&gt;&lt;BR /&gt;/Per&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 12 Oct 2009 14:41:58 GMT</pubDate>
    <dc:creator>perholm</dc:creator>
    <dc:date>2009-10-12T14:41:58Z</dc:date>
    <item>
      <title>Eigenvalues for singular matrices</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Eigenvalues-for-singular-matrices/m-p/848548#M6322</link>
      <description>Hi,&lt;BR /&gt;I am using IPP 5.2 and ippmEigenValuesVectorsSym_m_32f to calculate the eigenvectors of a symmetric matrix. In my case the matrix can sometimes be singular, and that's fine,  but then the function returns ippStsSingularErr and no eigenvectors are calculated. I find this quite strange since e.g Matlab has no problem calculating eigenvectors for singular matrices. &lt;BR /&gt;&lt;BR /&gt;Q1) Does anyone have any workaround for this?&lt;BR /&gt;Q2) Intel, do you plan on or maby already have, solved this in newer versions?&lt;BR /&gt;&lt;BR /&gt;/Per&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 12 Oct 2009 14:41:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Eigenvalues-for-singular-matrices/m-p/848548#M6322</guid>
      <dc:creator>perholm</dc:creator>
      <dc:date>2009-10-12T14:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: Eigenvalues for singular matrices</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Eigenvalues-for-singular-matrices/m-p/848549#M6323</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="margin-top: 5px; width: 100%;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/447143"&gt;perholm&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;Hi,&lt;BR /&gt;I am using IPP 5.2 and ippmEigenValuesVectorsSym_m_32f to calculate the eigenvectors of a symmetric matrix. In my case the matrix can sometimes be singular, and that's fine, but then the function returns ippStsSingularErr and no eigenvectors are calculated. I find this quite strange since e.g Matlab has no problem calculating eigenvectors for singular matrices. &lt;BR /&gt;&lt;BR /&gt;Q1) Does anyone have any workaround for this?&lt;BR /&gt;Q2) Intel, do you plan on or maby already have, solved this in newer versions?&lt;BR /&gt;&lt;BR /&gt;/Per&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Hi Per, &lt;BR /&gt;&lt;BR /&gt;IPP's ippmEigenValuesVectorsSym function uses QR algorithm for solving eigenvalue problem.&lt;BR /&gt;the algorithm are numerical unstable for badly conditioned matrix (det is close to 0). That's is why there are error condition (ippStsSingularErr)for the function. When Abs(det) &amp;lt; ( 2.2204460492503131e-016, the function willreturn "ippStsSingularErr". As i knew, we haven't planed to change the algorithm at least in recently version, IPP 6.x. &lt;BR /&gt;&lt;BR /&gt;I guess, Matlab use different algorithm for calculating this. &lt;BR /&gt;&lt;BR /&gt;For workaround, you may tryother function like ippsSVDSort, which is in ippsman.pdf and can do singular value decomposition.&lt;BR /&gt; or you maycheck IPP's sister library - math kernal library (MKL, &lt;A href="http://software.intel.com/en-us/intel-mkl/" target="_blank"&gt;http://software.intel.com/en-us/intel-mkl/&lt;/A&gt;, which provide much more functions for Eigenvalue Problem.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Ying &lt;BR /&gt;</description>
      <pubDate>Wed, 14 Oct 2009 07:15:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Eigenvalues-for-singular-matrices/m-p/848549#M6323</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2009-10-14T07:15:28Z</dc:date>
    </item>
    <item>
      <title>Re: Eigenvalues for singular matrices</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Eigenvalues-for-singular-matrices/m-p/848550#M6324</link>
      <description>Actually, QR algorithm is quite stable, at least, it's known as most stable among other algorithms. You should try MKL, there's no problem for MKL to solve eigenproblem with the singular matrix.&lt;BR /&gt;&lt;BR /&gt;You may look at the example of the MKL eigensolver usage at &lt;A href="http://software.intel.com/sites/products/documentation/hpc/mkl/lapack/mkl_lapack_examples/ssyev_ex.c.htm" target="_blank"&gt;http://software.intel.com/sites/products/documentation/hpc/mkl/lapack/mkl_lapack_examples/ssyev_ex.c.htm&lt;/A&gt;.&lt;BR /&gt;&lt;BR /&gt;Michael.</description>
      <pubDate>Thu, 03 Dec 2009 15:12:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Eigenvalues-for-singular-matrices/m-p/848550#M6324</guid>
      <dc:creator>Michael_C_Intel4</dc:creator>
      <dc:date>2009-12-03T15:12:47Z</dc:date>
    </item>
  </channel>
</rss>

