<?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 ?dtsvb solves a diagonally in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-from-C/m-p/969283#M16445</link>
    <description>&lt;P&gt;?dtsvb solves a diagonally dominant triangular matrix with multiple right-hand-sides. The first argument to the function, const MKL_INT *n, is the order of matrix A, also the number of rows of matrix B. See the documentation: &lt;A href="http://software.intel.com/en-us/node/468892" target="_blank"&gt;http://software.intel.com/en-us/node/468892&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;BR /&gt;
	&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 02 Apr 2014 20:42:28 GMT</pubDate>
    <dc:creator>Zhang_Z_Intel</dc:creator>
    <dc:date>2014-04-02T20:42:28Z</dc:date>
    <item>
      <title>MKL from C</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-from-C/m-p/969282#M16444</link>
      <description>&lt;P&gt;I am having trouble understanding C interface for MKL. In particular the const modifier. I need to use tridiagonal solver&amp;nbsp;&lt;SPAN class="option"&gt;?dtsvb which should have C interface:&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN class="kwd"&gt;void&lt;/SPAN&gt; &lt;SPAN class="kwd"&gt;ddtsvb&lt;/SPAN&gt; &lt;SPAN class="delim"&gt;(&lt;/SPAN&gt;&lt;SPAN class="kwd"&gt;const&lt;/SPAN&gt; &lt;SPAN class="kwd"&gt;MKL_INT&lt;/SPAN&gt; &lt;SPAN class="kwd"&gt;*&lt;/SPAN&gt; &lt;SPAN class="var"&gt;n&lt;/SPAN&gt;&lt;SPAN class="sep"&gt;,&lt;/SPAN&gt; &lt;SPAN class="kwd"&gt;const&lt;/SPAN&gt; &lt;SPAN class="kwd"&gt;MKL_INT&lt;/SPAN&gt; &lt;SPAN class="kwd"&gt;*&lt;/SPAN&gt; &lt;SPAN class="var"&gt;nrhs&lt;/SPAN&gt;&lt;SPAN class="sep"&gt;,&lt;/SPAN&gt; &lt;SPAN class="kwd"&gt;double&lt;/SPAN&gt; &lt;SPAN class="kwd"&gt;*&lt;/SPAN&gt; &lt;SPAN class="var"&gt;dl&lt;/SPAN&gt;&lt;SPAN class="sep"&gt;,&lt;/SPAN&gt; &lt;SPAN class="kwd"&gt;double&lt;/SPAN&gt; &lt;SPAN class="kwd"&gt;*&lt;/SPAN&gt; &lt;SPAN class="var"&gt;d&lt;/SPAN&gt;&lt;SPAN class="sep"&gt;,&lt;/SPAN&gt; &lt;SPAN class="kwd"&gt;const&lt;/SPAN&gt; &lt;SPAN class="kwd"&gt;double&lt;/SPAN&gt; &lt;SPAN class="kwd"&gt;*&lt;/SPAN&gt; &lt;SPAN class="var"&gt;du&lt;/SPAN&gt;&lt;SPAN class="sep"&gt;,&lt;/SPAN&gt; &lt;SPAN class="kwd"&gt;double&lt;/SPAN&gt; &lt;SPAN class="kwd"&gt;*&lt;/SPAN&gt; &lt;SPAN class="var"&gt;b&lt;/SPAN&gt;&lt;SPAN class="sep"&gt;,&lt;/SPAN&gt; &lt;SPAN class="kwd"&gt;const&lt;/SPAN&gt; &lt;SPAN class="kwd"&gt;MKL_INT&lt;/SPAN&gt; &lt;SPAN class="kwd"&gt;*&lt;/SPAN&gt; &lt;SPAN class="var"&gt;ldb&lt;/SPAN&gt;&lt;SPAN class="sep"&gt;,&lt;/SPAN&gt; &lt;SPAN class="kwd"&gt;MKL_INT&lt;/SPAN&gt; &lt;SPAN class="kwd"&gt;*&lt;/SPAN&gt; &lt;SPAN class="var"&gt;info&lt;/SPAN&gt; &lt;SPAN class="delim"&gt;);&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;However, I have no idea what const MKL_INT * n stands for. Can someone provide a clear example of how the function ddtsvb is called?&lt;/P&gt;

&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Apr 2014 19:20:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-from-C/m-p/969282#M16444</guid>
      <dc:creator>Leos_P_</dc:creator>
      <dc:date>2014-04-02T19:20:14Z</dc:date>
    </item>
    <item>
      <title>?dtsvb solves a diagonally</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-from-C/m-p/969283#M16445</link>
      <description>&lt;P&gt;?dtsvb solves a diagonally dominant triangular matrix with multiple right-hand-sides. The first argument to the function, const MKL_INT *n, is the order of matrix A, also the number of rows of matrix B. See the documentation: &lt;A href="http://software.intel.com/en-us/node/468892" target="_blank"&gt;http://software.intel.com/en-us/node/468892&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;BR /&gt;
	&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Apr 2014 20:42:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-from-C/m-p/969283#M16445</guid>
      <dc:creator>Zhang_Z_Intel</dc:creator>
      <dc:date>2014-04-02T20:42:28Z</dc:date>
    </item>
    <item>
      <title>I know what it does, I use it</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-from-C/m-p/969284#M16446</link>
      <description>&lt;P&gt;Thank you, but I know what it does, I use it in Fortran code, now I need to use it in C code. I just do not know what const modifier is supposed to mean:&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 10.285714149475098px;"&gt;ddtsvb (&amp;amp;n, &amp;amp;nrhs, dl, d, const du, b, const &amp;amp;ldb, &amp;amp;info );?&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 10.285714149475098px;"&gt;OR what is const supposed to do? In this regard the documentation is not clear.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Also I am not sure about arrays in MKL and C, C has zero based arrays, Fortran 1 based. How does MKL address that? Do I have to use arrays by one larger so that it can be used as 1 based ie. array[1+CSize] so that MKL can use array [1:CSize]?&lt;/P&gt;</description>
      <pubDate>Wed, 02 Apr 2014 21:15:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-from-C/m-p/969284#M16446</guid>
      <dc:creator>Leos_P_</dc:creator>
      <dc:date>2014-04-02T21:15:00Z</dc:date>
    </item>
    <item>
      <title>The `const' modifier is a C</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-from-C/m-p/969285#M16447</link>
      <description>&lt;P&gt;The `const' modifier is a C language artifact. It is a guarantee made to the code that calls the C function, that the value of the argument is not changed when the function returns. In this particular example, arguments n, nrhs, du, and ldb are input-only arguments. The function does not overwrite them when it returns. In contrast, dl, b, and info are output arguments, so they are not `const'. When you call the function, you plug in only the names of the arguments, for example,&lt;/P&gt;

&lt;P&gt;ddtsvb (&amp;amp;n, &amp;amp;nrhs, dl, d, du, b, &amp;amp;ldb, &amp;amp;info);&lt;/P&gt;

&lt;P&gt;Arrays in the C interface always use 0-based indexing. This doesn't change the size of the array. It only affects indexing. For example, the first element of a Fortran array is located at position 1 (e.g. A(1) ), the first element of a C array is located at position 0 (e.g. A[0]).&lt;/P&gt;</description>
      <pubDate>Wed, 02 Apr 2014 23:00:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-from-C/m-p/969285#M16447</guid>
      <dc:creator>Zhang_Z_Intel</dc:creator>
      <dc:date>2014-04-02T23:00:54Z</dc:date>
    </item>
  </channel>
</rss>

