<?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 Hi Baskin,  in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/LU-factorization-of-band-matrix/m-p/1041181#M20715</link>
    <description>&lt;P&gt;Hi Baskin,&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks for the updating and sharing the result.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;

&lt;P&gt;Ying&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 04 Nov 2014 06:09:05 GMT</pubDate>
    <dc:creator>Ying_H_Intel</dc:creator>
    <dc:date>2014-11-04T06:09:05Z</dc:date>
    <item>
      <title>LU factorization of band matrix</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/LU-factorization-of-band-matrix/m-p/1041178#M20712</link>
      <description>&lt;P&gt;I try to use&amp;nbsp;&lt;A href="https://software.intel.com/sites/products/documentation/doclib/iss/2013/mkl/mklman/GUID-03E2AA41-0886-485D-B0D7-1C2186119220.htm"&gt;https://software.intel.com/sites/products/documentation/doclib/iss/2013/mkl/mklman/GUID-03E2AA41-0886-485D-B0D7-1C2186119220.htm&lt;/A&gt;&amp;nbsp;routine for band matrix factorization. I've wrote simple application that factorizes 4*4 matrix. However, I can't undertand relation between elements of matrix L and multipliers used during factorization m&lt;SUB&gt;i,j.&amp;nbsp;&lt;/SUB&gt;Those mutipliers represent correct columns of matrix L, but order of elements m&lt;SUB&gt;i,j&lt;/SUB&gt;&amp;nbsp;in the column is not correct. I assume, some permutation of rows should be performed based on &lt;EM&gt;ipiv&amp;nbsp;&lt;/EM&gt;vector.&amp;nbsp;&lt;BR /&gt;
	Initial matrix:&lt;/P&gt;

&lt;P&gt;-0.230 -6.980 &amp;nbsp;0.000 &amp;nbsp;0.000&lt;BR /&gt;
	&amp;nbsp;2.540 &amp;nbsp;2.460 &amp;nbsp;2.560 &amp;nbsp;0.000&lt;BR /&gt;
	-3.660 -2.730 &amp;nbsp;2.460 -4.780&lt;BR /&gt;
	&amp;nbsp;0.000 -2.130 &amp;nbsp;4.070 -3.820&lt;BR /&gt;
	&lt;BR /&gt;
	Result of dgbtrf:&lt;BR /&gt;
	&amp;nbsp;0.000 &amp;nbsp;0.000 &amp;nbsp;0.000 -4.780&lt;BR /&gt;
	&amp;nbsp;0.000 &amp;nbsp;0.000 &amp;nbsp;2.460 &amp;nbsp;0.300&lt;BR /&gt;
	&amp;nbsp;0.000 -2.730 -0.155 -3.292&lt;BR /&gt;
	-3.660 -6.808 &amp;nbsp;4.254 -0.727&lt;BR /&gt;
	-0.694 -0.083 &amp;nbsp;0.968 &amp;nbsp;0.000&lt;BR /&gt;
	&amp;nbsp;0.063 &amp;nbsp;0.313 &amp;nbsp;0.000 &amp;nbsp;0.000&lt;BR /&gt;
	&lt;BR /&gt;
	Permutation vector: 3 3 3 4&lt;BR /&gt;
	&lt;BR /&gt;
	In this case&amp;nbsp;&lt;BR /&gt;
	m&lt;SUB&gt;21&lt;/SUB&gt;&amp;nbsp;=&amp;nbsp;&lt;SPAN style="line-height: 19.5120010375977px;"&gt;-0.694 m&lt;SUB&gt;32&lt;/SUB&gt;&amp;nbsp;=&amp;nbsp;-0.083 m&lt;SUB&gt;43&lt;/SUB&gt;=&amp;nbsp;0.968&lt;BR /&gt;
	m&lt;SUB&gt;31&lt;/SUB&gt;&amp;nbsp;=&amp;nbsp;&amp;nbsp;0.063 m&lt;SUB&gt;42&lt;/SUB&gt;&amp;nbsp;=&amp;nbsp;0.313&lt;BR /&gt;
	Those values form matrix L_result:&lt;/SPAN&gt;&lt;BR /&gt;
	&amp;nbsp;1.000 &amp;nbsp;0.000 &amp;nbsp;0.000 &amp;nbsp;0.000&lt;BR /&gt;
	&lt;STRONG&gt;-0.694&lt;/STRONG&gt; &amp;nbsp;1.000 &amp;nbsp;0.000 &amp;nbsp;0.000&lt;BR /&gt;
	&lt;STRONG&gt;&amp;nbsp;0.063 -0.083&lt;/STRONG&gt; &amp;nbsp;1.000 &amp;nbsp;0.000&lt;BR /&gt;
	&amp;nbsp;0.000 &amp;nbsp;0.313 &amp;nbsp;0.968 &amp;nbsp;1.000&lt;BR /&gt;
	&lt;BR /&gt;
	However, the correct answer is L_correct:&lt;BR /&gt;
	&amp;nbsp;1.000 &amp;nbsp;0.000 &amp;nbsp;0.000 &amp;nbsp;0.000&lt;BR /&gt;
	&lt;STRONG&gt;&amp;nbsp;0.063&lt;/STRONG&gt; &amp;nbsp;1.000 &amp;nbsp;0.000 &amp;nbsp;0.000&lt;BR /&gt;
	&lt;STRONG&gt;-0.694 -0.083&lt;/STRONG&gt; &amp;nbsp;1.000 &amp;nbsp;0.000&lt;BR /&gt;
	&amp;nbsp;0.000 &amp;nbsp;0.313 &amp;nbsp;0.968 &amp;nbsp;1.000&lt;BR /&gt;
	&lt;BR /&gt;
	Could you explain how L_result should be transformed into L_correct in general case?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Oct 2014 09:41:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/LU-factorization-of-band-matrix/m-p/1041178#M20712</guid>
      <dc:creator>baskin</dc:creator>
      <dc:date>2014-10-30T09:41:22Z</dc:date>
    </item>
    <item>
      <title>Hi Baskin, </title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/LU-factorization-of-band-matrix/m-p/1041179#M20713</link>
      <description>&lt;P&gt;Hi Baskin,&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Could you please attach your code and tell which platform you are working?&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Best Regards,&lt;/P&gt;

&lt;P&gt;Ying&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Nov 2014 05:58:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/LU-factorization-of-band-matrix/m-p/1041179#M20713</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2014-11-03T05:58:46Z</dc:date>
    </item>
    <item>
      <title>Hi Ying,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/LU-factorization-of-band-matrix/m-p/1041180#M20714</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN style="color: rgb(102, 102, 102); font-family: Verdana, Arial, Tahoma, Helvetica, sans-serif; font-size: 12px; line-height: 18px;"&gt;Ying,&lt;BR /&gt;
	&lt;BR /&gt;
	Thank you for reply. I have solved my problem. I didn't understand output of gbtrf - the meaning of coefficients m&lt;SUB&gt;i,j&lt;/SUB&gt;. The explanation is pretty simple. LU factorization with partial pivoting requires swap of rows. For dense matrices, full rows are swapped( i.e columns from 1 to n). In gbtrf routine swap is performed using only "right" part of the row. For example, if you already found 10 columns, at step 11 you are going to swap rows 11 and 16(row 16 contains maximum element), then you should swap elements in row 11 starting from column 11, in row 16 starting from column 11 too. For dense matrix, you would swap elements starting from column 1.&lt;/SPAN&gt;&lt;BR /&gt;
	&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Nov 2014 18:17:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/LU-factorization-of-band-matrix/m-p/1041180#M20714</guid>
      <dc:creator>baskin</dc:creator>
      <dc:date>2014-11-03T18:17:32Z</dc:date>
    </item>
    <item>
      <title>Hi Baskin, </title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/LU-factorization-of-band-matrix/m-p/1041181#M20715</link>
      <description>&lt;P&gt;Hi Baskin,&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks for the updating and sharing the result.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;

&lt;P&gt;Ying&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Nov 2014 06:09:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/LU-factorization-of-band-matrix/m-p/1041181#M20715</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2014-11-04T06:09:05Z</dc:date>
    </item>
  </channel>
</rss>

