<?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 Avoid matrix inversion is it always possible? in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Avoid-matrix-inversion-is-it-always-possible/m-p/1153558#M27364</link>
    <description>&lt;P&gt;We need to solve a linear system with a dense matrix of complex numbers.&lt;/P&gt;

&lt;P&gt;When the size of the matrix is lower than 4 GB (Microsoft limits for 64 bit systems) we can use MKL routines directly to solve:&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;&lt;A&gt;{x} = {b}&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Instead when the matrix is bigger than 4 GB we divide the matrix in blocks:&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="F01.png"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/9751i9B8F498F08492F2D/image-size/large?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="F01.png" alt="F01.png" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;The linear system becomes:&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="F02.png"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/9752iB72C7CB85808A33A/image-size/large?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="F02.png" alt="F02.png" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;From (1) we obtain:&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="F03.png"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/9753i1349CA38649519E3/image-size/large?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="F03.png" alt="F03.png" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Solving equation (6) the solution x2 is obtained.&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Using x2 in (3) it is easy to calculate x1.&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;This algorithm is interesting but introduces a matrix inversion.&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;This is a big problem when the linear system is ill conditioned.&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Any suggestion to solve the problem avoiding the matrix inversion?&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Thankyou&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Gianluca&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 08 Nov 2017 16:13:01 GMT</pubDate>
    <dc:creator>Gianluca_G_1</dc:creator>
    <dc:date>2017-11-08T16:13:01Z</dc:date>
    <item>
      <title>Avoid matrix inversion is it always possible?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Avoid-matrix-inversion-is-it-always-possible/m-p/1153558#M27364</link>
      <description>&lt;P&gt;We need to solve a linear system with a dense matrix of complex numbers.&lt;/P&gt;

&lt;P&gt;When the size of the matrix is lower than 4 GB (Microsoft limits for 64 bit systems) we can use MKL routines directly to solve:&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;&lt;A&gt;{x} = {b}&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Instead when the matrix is bigger than 4 GB we divide the matrix in blocks:&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="F01.png"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/9751i9B8F498F08492F2D/image-size/large?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="F01.png" alt="F01.png" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;The linear system becomes:&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="F02.png"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/9752iB72C7CB85808A33A/image-size/large?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="F02.png" alt="F02.png" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;From (1) we obtain:&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="F03.png"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/9753i1349CA38649519E3/image-size/large?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="F03.png" alt="F03.png" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Solving equation (6) the solution x2 is obtained.&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Using x2 in (3) it is easy to calculate x1.&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;This algorithm is interesting but introduces a matrix inversion.&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;This is a big problem when the linear system is ill conditioned.&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Any suggestion to solve the problem avoiding the matrix inversion?&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Thankyou&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Gianluca&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2017 16:13:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Avoid-matrix-inversion-is-it-always-possible/m-p/1153558#M27364</guid>
      <dc:creator>Gianluca_G_1</dc:creator>
      <dc:date>2017-11-08T16:13:01Z</dc:date>
    </item>
    <item>
      <title>Answered on initial thread</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Avoid-matrix-inversion-is-it-always-possible/m-p/1153559#M27365</link>
      <description>&lt;P&gt;Answered on initial thread &lt;A href="https://software.intel.com/en-us/forums/intel-math-kernel-library/topic/748079#comment-1914725"&gt;https://software.intel.com/en-us/forums/intel-math-kernel-library/topic/748079#comment-1914725&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Alex&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2017 16:19:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Avoid-matrix-inversion-is-it-always-possible/m-p/1153559#M27365</guid>
      <dc:creator>Alexander_K_Intel2</dc:creator>
      <dc:date>2017-11-08T16:19:43Z</dc:date>
    </item>
  </channel>
</rss>

