<?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 Dear Victor, in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/QR-decomposition-for-transposed-matrices/m-p/921349#M12993</link>
    <description>&lt;P&gt;Dear&amp;nbsp;Victor,&lt;/P&gt;

&lt;P&gt;If you use C as programming language, you could try to call LAPACKE_dgeqrf(). Its first parameter is matrix layout and calling a LAPACKE function with row major data layout versus column major data layout is equivalent to transposing input matrices.&lt;/P&gt;

&lt;P&gt;Also you could try transposition routines provided with MKL,&amp;nbsp;you could find description of these in &lt;A href="http://software.intel.com/en-us/node/468644"&gt;BLAS-like extensions&lt;/A&gt; chapter.&lt;/P&gt;

&lt;P&gt;Thank you for reporting about 10x performance difference between LQ and QR factorization. Could you please let us know a bit more about input sizes of your matrices and your host configuration, so that we could reproduce this and see how we could fix it.&lt;/P&gt;

&lt;P&gt;Thanks, Alexander&lt;/P&gt;</description>
    <pubDate>Wed, 26 Feb 2014 11:35:07 GMT</pubDate>
    <dc:creator>Alexander_K_Intel3</dc:creator>
    <dc:date>2014-02-26T11:35:07Z</dc:date>
    <item>
      <title>QR decomposition for transposed matrices</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/QR-decomposition-for-transposed-matrices/m-p/921348#M12992</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;could you please help with a solution of the following issue.&lt;/P&gt;

&lt;P&gt;There is a simple Z*beta=Y overdetermined linear system with respect to beta and I want to solve it with MKL/QR decomposition. I read manual and found two similar approaches to achieve the goal:&lt;/P&gt;

&lt;OL&gt;
	&lt;LI&gt;one 'sgels(...)' call or&lt;/LI&gt;
	&lt;LI&gt;sequence 'geqrf(...) +&amp;nbsp;ormqr(...) +&amp;nbsp;trsm(...)' of calls&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;&lt;STRONG&gt;The issue is, that matrices in my application are stored in transposed form, i.e.&amp;nbsp;(X')*beta=Y system is under consideration. Is there any possibility to find QR decomposition for transposed?&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&lt;U&gt;Note.&lt;/U&gt;&amp;nbsp;Solution with LQ factorization was tried, but it takes approximately 10 times longer than QR for transposed matrices.&lt;/P&gt;

&lt;P&gt;Thank you in advance.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Feb 2014 09:51:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/QR-decomposition-for-transposed-matrices/m-p/921348#M12992</guid>
      <dc:creator>VICTOR_K_Intel</dc:creator>
      <dc:date>2014-02-21T09:51:02Z</dc:date>
    </item>
    <item>
      <title>Dear Victor,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/QR-decomposition-for-transposed-matrices/m-p/921349#M12993</link>
      <description>&lt;P&gt;Dear&amp;nbsp;Victor,&lt;/P&gt;

&lt;P&gt;If you use C as programming language, you could try to call LAPACKE_dgeqrf(). Its first parameter is matrix layout and calling a LAPACKE function with row major data layout versus column major data layout is equivalent to transposing input matrices.&lt;/P&gt;

&lt;P&gt;Also you could try transposition routines provided with MKL,&amp;nbsp;you could find description of these in &lt;A href="http://software.intel.com/en-us/node/468644"&gt;BLAS-like extensions&lt;/A&gt; chapter.&lt;/P&gt;

&lt;P&gt;Thank you for reporting about 10x performance difference between LQ and QR factorization. Could you please let us know a bit more about input sizes of your matrices and your host configuration, so that we could reproduce this and see how we could fix it.&lt;/P&gt;

&lt;P&gt;Thanks, Alexander&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2014 11:35:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/QR-decomposition-for-transposed-matrices/m-p/921349#M12993</guid>
      <dc:creator>Alexander_K_Intel3</dc:creator>
      <dc:date>2014-02-26T11:35:07Z</dc:date>
    </item>
    <item>
      <title>Alexander,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/QR-decomposition-for-transposed-matrices/m-p/921350#M12994</link>
      <description>&lt;P&gt;Alexander,&lt;/P&gt;

&lt;P&gt;thanks for the detailed answer, I see the work flow now.&lt;/P&gt;

&lt;P&gt;For random matrix 10000x10000 about 2x difference is stably observed (not sure about 10x stability now). But this is not the issue for the moment, just interesting observation, since I thought LQ problem is almost the same as QR one in algorithmic sense.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2014 13:14:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/QR-decomposition-for-transposed-matrices/m-p/921350#M12994</guid>
      <dc:creator>VICTOR_K_Intel</dc:creator>
      <dc:date>2014-02-26T13:14:55Z</dc:date>
    </item>
  </channel>
</rss>

