<?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 Quote:Michael W. wrote: in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Eigenvalue-decomposition-with-CSR-sparse-matrix/m-p/935618#M14088</link>
    <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Michael W. wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;... I use dsyevd to compute the eigenvalues and eigenvectors of a large matrix A (n = 22000). Matrix A is stored as CSR sparse matrix.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;There is something amiss here. &lt;/SPAN&gt;&lt;/P&gt;

&lt;OL&gt;
	&lt;LI&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;The ?syevd routines operate on a matrix kept in dense-storage form. &lt;/SPAN&gt;&lt;/LI&gt;
	&lt;LI&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;You cannot pass a matrix stored in CSR form to such a routine. &lt;/SPAN&gt;&lt;/LI&gt;
	&lt;LI&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;A banded matrix is sparse, but not vice versa. If you know that the matrix is banded, look for an eigenvalue/vector routine that is tailored to such matrices, rather than to the more general sparse matrix type.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;</description>
    <pubDate>Tue, 04 Mar 2014 15:25:00 GMT</pubDate>
    <dc:creator>mecej4</dc:creator>
    <dc:date>2014-03-04T15:25:00Z</dc:date>
    <item>
      <title>Eigenvalue decomposition with CSR sparse matrix</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Eigenvalue-decomposition-with-CSR-sparse-matrix/m-p/935616#M14086</link>
      <description>&lt;P&gt;&lt;SPAN style="font: 13px/19.51px Arial, 宋体, Tahoma, Helvetica, sans-serif; color: rgb(83, 87, 94); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: rgb(255, 255, 255); -webkit-text-stroke-width: 0px;"&gt;Hi, &lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font: 13px/19.51px Arial, 宋体, Tahoma, Helvetica, sans-serif; color: rgb(83, 87, 94); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: rgb(255, 255, 255); -webkit-text-stroke-width: 0px;"&gt;at the moment I use dsyevd to compute the eigenvalues and eigenvectors of a large matrix A (n = 22000). This takes about half an hour. I know that they are a lot of zeros in matrix A (90% are zeros). Matrix A is stored as CSR sparse matrix. &lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font: 13px/19.51px Arial, 宋体, Tahoma, Helvetica, sans-serif; color: rgb(83, 87, 94); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: rgb(255, 255, 255); -webkit-text-stroke-width: 0px;"&gt;- Is there a function to compute the eigenvalues and eigenvectors of a CSR sparse matrix? &lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font: 13px/19.51px Arial, 宋体, Tahoma, Helvetica, sans-serif; color: rgb(83, 87, 94); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: rgb(255, 255, 255); -webkit-text-stroke-width: 0px;"&gt;- Is there a function to convert a CSR sparse matrix to a band matrix? Then I could use dsbevd. &lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font: 13px/19.51px Arial, 宋体, Tahoma, Helvetica, sans-serif; color: rgb(83, 87, 94); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: rgb(255, 255, 255); -webkit-text-stroke-width: 0px;"&gt;Regards Michael&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Mar 2014 10:42:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Eigenvalue-decomposition-with-CSR-sparse-matrix/m-p/935616#M14086</guid>
      <dc:creator>Michael_W_1</dc:creator>
      <dc:date>2014-03-04T10:42:22Z</dc:date>
    </item>
    <item>
      <title>yes, since the version 11.0</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Eigenvalue-decomposition-with-CSR-sparse-matrix/m-p/935617#M14087</link>
      <description>&lt;P&gt;yes, since the version 11.0 mkl contains the&amp;nbsp;Extended Eigensolver Routines -- please see reference manual for more details. These routines support CSR format too.&lt;/P&gt;

&lt;P&gt;there are no routines convert CSR-&amp;gt;Band format, ut there are a number of routines conversion csr&amp;lt;-&amp;gt;dense&lt;/P&gt;</description>
      <pubDate>Tue, 04 Mar 2014 15:10:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Eigenvalue-decomposition-with-CSR-sparse-matrix/m-p/935617#M14087</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2014-03-04T15:10:18Z</dc:date>
    </item>
    <item>
      <title>Quote:Michael W. wrote:</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Eigenvalue-decomposition-with-CSR-sparse-matrix/m-p/935618#M14088</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Michael W. wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;... I use dsyevd to compute the eigenvalues and eigenvectors of a large matrix A (n = 22000). Matrix A is stored as CSR sparse matrix.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;There is something amiss here. &lt;/SPAN&gt;&lt;/P&gt;

&lt;OL&gt;
	&lt;LI&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;The ?syevd routines operate on a matrix kept in dense-storage form. &lt;/SPAN&gt;&lt;/LI&gt;
	&lt;LI&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;You cannot pass a matrix stored in CSR form to such a routine. &lt;/SPAN&gt;&lt;/LI&gt;
	&lt;LI&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;A banded matrix is sparse, but not vice versa. If you know that the matrix is banded, look for an eigenvalue/vector routine that is tailored to such matrices, rather than to the more general sparse matrix type.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Tue, 04 Mar 2014 15:25:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Eigenvalue-decomposition-with-CSR-sparse-matrix/m-p/935618#M14088</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2014-03-04T15:25:00Z</dc:date>
    </item>
    <item>
      <title>Quote:Michael W. wrote:A = B</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Eigenvalue-decomposition-with-CSR-sparse-matrix/m-p/935619#M14089</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Michael W. wrote:&lt;BR /&gt;&lt;SPAN style="font-family: Arial, Helvetica, sans-serif; font-size: 11.818181991577148px; line-height: 16.363636016845703px;"&gt;A = B x B'&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;That is very useful information. The eigenvalues of A = B.B' are obtainable from the non-zero&amp;nbsp;&lt;STRONG&gt;singular values&lt;/STRONG&gt; of B. There are several routines available to compute the SVD (&lt;STRONG&gt;S&lt;/STRONG&gt;ingular &lt;STRONG&gt;V&lt;/STRONG&gt;alue &lt;STRONG&gt;D&lt;/STRONG&gt;ecomposition) of a dense matrix; see, for example, ?gesvd() in Lapack/MKL. You are probably in need of only the singular values and may look for a routine that allows you to specify that the singular vectors are unwanted.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Mar 2014 19:11:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Eigenvalue-decomposition-with-CSR-sparse-matrix/m-p/935619#M14089</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2014-03-06T19:11:00Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Eigenvalue-decomposition-with-CSR-sparse-matrix/m-p/935620#M14090</link>
      <description>&lt;P&gt;&lt;SPAN lang="EN" style="color: rgb(83, 87, 94); font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.5pt; mso-ansi-language: EN;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN lang="EN" style="color: rgb(83, 87, 94); font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.5pt; mso-ansi-language: EN;"&gt;1. What I have as Input is CSR sparse Matrix B (number of rows: 20000, number of columns 100000)&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN lang="EN" style="color: rgb(83, 87, 94); font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.5pt; mso-ansi-language: EN;"&gt;2. Intermediate result A = B x B'&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN lang="EN" style="color: rgb(83, 87, 94); font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.5pt; mso-ansi-language: EN;"&gt;3. Intermediate result V, D = dsyevd(A) where V are the eigenvectors and D are the eigenvalues&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN lang="EN" style="color: rgb(83, 87, 94); font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.5pt; mso-ansi-language: EN;"&gt;4. Intermediate result E: diagonal Matrix. The elements on the diagonal are the inverse values of D.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN lang="EN" style="color: rgb(83, 87, 94); font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.5pt; mso-ansi-language: EN;"&gt;5. Final Result W = V x E&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN lang="EN" style="color: rgb(83, 87, 94); font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.5pt; mso-ansi-language: EN;"&gt;So if you know a faster to compute W from B, please let me know.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN lang="EN" style="color: rgb(83, 87, 94); font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.5pt; mso-ansi-language: EN;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN lang="EN" style="color: rgb(83, 87, 94); font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.5pt; mso-ansi-language: EN;"&gt;Michael&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Mar 2014 10:22:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Eigenvalue-decomposition-with-CSR-sparse-matrix/m-p/935620#M14090</guid>
      <dc:creator>Michael_W_1</dc:creator>
      <dc:date>2014-03-10T10:22:00Z</dc:date>
    </item>
  </channel>
</rss>

