<?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 Bad Conditioned Linear System in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Bad-Conditioned-Linear-System/m-p/1097975#M23674</link>
    <description>&lt;P&gt;The problem is to calculate the array of functions f(x) defined as:&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;see Figure1&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;and then&lt;/P&gt;

&lt;P&gt;see Figure2&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;Some coefficients of the matrix “A” are in the form:&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;see Figure3&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;For this reason, for large values “x” the matrix “A” becomes singular and the linear system bad conditioned.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Anyway, in double precision if “x &amp;gt; 706” the calculation of the coefficient gives underflow.&lt;/P&gt;

&lt;P&gt;Matrix preconditioning seems not effective.&lt;/P&gt;

&lt;P&gt;Are there math trick to overcome the problem?&lt;/P&gt;</description>
    <pubDate>Thu, 04 May 2017 07:33:36 GMT</pubDate>
    <dc:creator>Gianluca_G_1</dc:creator>
    <dc:date>2017-05-04T07:33:36Z</dc:date>
    <item>
      <title>Bad Conditioned Linear System</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Bad-Conditioned-Linear-System/m-p/1097975#M23674</link>
      <description>&lt;P&gt;The problem is to calculate the array of functions f(x) defined as:&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;see Figure1&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;and then&lt;/P&gt;

&lt;P&gt;see Figure2&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;Some coefficients of the matrix “A” are in the form:&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;see Figure3&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;For this reason, for large values “x” the matrix “A” becomes singular and the linear system bad conditioned.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Anyway, in double precision if “x &amp;gt; 706” the calculation of the coefficient gives underflow.&lt;/P&gt;

&lt;P&gt;Matrix preconditioning seems not effective.&lt;/P&gt;

&lt;P&gt;Are there math trick to overcome the problem?&lt;/P&gt;</description>
      <pubDate>Thu, 04 May 2017 07:33:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Bad-Conditioned-Linear-System/m-p/1097975#M23674</guid>
      <dc:creator>Gianluca_G_1</dc:creator>
      <dc:date>2017-05-04T07:33:36Z</dc:date>
    </item>
    <item>
      <title>Hi Gianluca,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Bad-Conditioned-Linear-System/m-p/1097976#M23675</link>
      <description>&lt;P&gt;Hi Gianluca,&lt;/P&gt;

&lt;P&gt;Have you tried to obtain the LU decomposition and next use solve_triangular?&lt;/P&gt;

&lt;P&gt;You can either do it manually with&amp;nbsp;scipy.linalg.lu and&amp;nbsp;scipy.linalg.solve_triangular or use the function &lt;A href="https://software.intel.com/sites/products/documentation/doclib/mkl_sa/11/mkl_lapack_examples/dgesv.htm"&gt;dgesv&lt;/A&gt;. The first option will allow you to control better the middle steps, the second option is more confortable.&lt;/P&gt;

&lt;P&gt;Note that if the matrix is defined positive, you can use the cholesky factorization instead of the LU.&lt;/P&gt;</description>
      <pubDate>Mon, 08 May 2017 07:35:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Bad-Conditioned-Linear-System/m-p/1097976#M23675</guid>
      <dc:creator>Ramon_A_</dc:creator>
      <dc:date>2017-05-08T07:35:26Z</dc:date>
    </item>
    <item>
      <title>At the end, we have solved</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Bad-Conditioned-Linear-System/m-p/1097977#M23676</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size:11.0pt;font-family:&amp;quot;Calibri&amp;quot;,sans-serif;color:#1F497D"&gt;At the end, we have solved the problem preconditioning the linear system coefficient matrix.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size:11.0pt;font-family:&amp;quot;Calibri&amp;quot;,sans-serif;color:#1F497D"&gt;Thank you very much&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size:11.0pt;font-family:&amp;quot;Calibri&amp;quot;,sans-serif;color:#1F497D"&gt;Gianluca&lt;/SPAN&gt;&lt;BR /&gt;
	&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 May 2017 11:11:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Bad-Conditioned-Linear-System/m-p/1097977#M23676</guid>
      <dc:creator>Gianluca_G_1</dc:creator>
      <dc:date>2017-05-08T11:11:23Z</dc:date>
    </item>
  </channel>
</rss>

