<?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 Extract upper/lower triangular matrix of sparse (CSR) symmetric matrices in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Extract-upper-lower-triangular-matrix-of-sparse-CSR-symmetric/m-p/817203#M4378</link>
    <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I am trying to use PARDISO to solve a sparse linear least-squares problem Ax=b, where A is a m-by-n matrix with m&amp;gt;n. Let's assume I already constructed A in CSR-format.&lt;BR /&gt;&lt;BR /&gt;In order to solve that system using sparse solvers I learned that it is necessary to compute C=(A' A) and d=(A' b) and then solve Cx=d instead (&lt;A title="Sparse linear least-squares" href="http://software.intel.com/en-us/forums/showthread.php?t=63399"&gt;see here&lt;/A&gt;). So, I compute C using mkl_?csrmultcsr.&lt;BR /&gt;&lt;BR /&gt;The problem: since C is symmetric, PARDISO expects it to be an upper triangular matrix, which it is not after using mkl_?csrmultcsr. So, the matrix checker (iparm(26)=1) fails. &lt;BR /&gt;&lt;BR /&gt;My question: Is there another function in the MKL which extracts the upper/lower triangular matrix of a whole matrix?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thank you in advance for you time and suggestions,&lt;BR /&gt;Nils&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 02 Feb 2012 09:57:52 GMT</pubDate>
    <dc:creator>enpex</dc:creator>
    <dc:date>2012-02-02T09:57:52Z</dc:date>
    <item>
      <title>Extract upper/lower triangular matrix of sparse (CSR) symmetric matrices</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Extract-upper-lower-triangular-matrix-of-sparse-CSR-symmetric/m-p/817203#M4378</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I am trying to use PARDISO to solve a sparse linear least-squares problem Ax=b, where A is a m-by-n matrix with m&amp;gt;n. Let's assume I already constructed A in CSR-format.&lt;BR /&gt;&lt;BR /&gt;In order to solve that system using sparse solvers I learned that it is necessary to compute C=(A' A) and d=(A' b) and then solve Cx=d instead (&lt;A title="Sparse linear least-squares" href="http://software.intel.com/en-us/forums/showthread.php?t=63399"&gt;see here&lt;/A&gt;). So, I compute C using mkl_?csrmultcsr.&lt;BR /&gt;&lt;BR /&gt;The problem: since C is symmetric, PARDISO expects it to be an upper triangular matrix, which it is not after using mkl_?csrmultcsr. So, the matrix checker (iparm(26)=1) fails. &lt;BR /&gt;&lt;BR /&gt;My question: Is there another function in the MKL which extracts the upper/lower triangular matrix of a whole matrix?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thank you in advance for you time and suggestions,&lt;BR /&gt;Nils&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 02 Feb 2012 09:57:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Extract-upper-lower-triangular-matrix-of-sparse-CSR-symmetric/m-p/817203#M4378</guid>
      <dc:creator>enpex</dc:creator>
      <dc:date>2012-02-02T09:57:52Z</dc:date>
    </item>
    <item>
      <title>Extract upper/lower triangular matrix of sparse (CSR) symmetric</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Extract-upper-lower-triangular-matrix-of-sparse-CSR-symmetric/m-p/817204#M4379</link>
      <description>Hi,&lt;DIV&gt;From my point of view the best solution in this case is to set matrix C as unsymmetric and use full format of matrix C.&lt;/DIV&gt;&lt;DIV&gt;With best regards,&lt;/DIV&gt;&lt;DIV&gt;Alexander Kalinkin&lt;/DIV&gt;</description>
      <pubDate>Thu, 02 Feb 2012 10:15:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Extract-upper-lower-triangular-matrix-of-sparse-CSR-symmetric/m-p/817204#M4379</guid>
      <dc:creator>Alexander_K_Intel2</dc:creator>
      <dc:date>2012-02-02T10:15:22Z</dc:date>
    </item>
    <item>
      <title>Extract upper/lower triangular matrix of sparse (CSR) symmetric</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Extract-upper-lower-triangular-matrix-of-sparse-CSR-symmetric/m-p/817205#M4380</link>
      <description>Hi Alex,&lt;BR /&gt;&lt;BR /&gt;Thanks for your answer. This is exactly how I am doing it at the moment. I just wondered if there exists another way. So, know I know - thanks!&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Nils</description>
      <pubDate>Fri, 03 Feb 2012 11:30:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Extract-upper-lower-triangular-matrix-of-sparse-CSR-symmetric/m-p/817205#M4380</guid>
      <dc:creator>enpex</dc:creator>
      <dc:date>2012-02-03T11:30:48Z</dc:date>
    </item>
  </channel>
</rss>

