<?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 &amp;quot;I don't know if there is in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Copy-a-submatrix-to-another-matrix/m-p/952504#M15316</link>
    <description>&lt;P&gt;&lt;SPAN style="color: rgb(51, 51, 51); font-family: 'Courier New', Courier, monospace; font-size: 13.600000381469727px; line-height: 20px;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 14.399999618530273px;"&gt;I don't know if there is another routine for this&lt;/SPAN&gt;&lt;SPAN style="color: rgb(51, 51, 51); font-family: 'Courier New', Courier, monospace; font-size: 13.600000381469727px; line-height: 20px;"&gt;dlacpy" &amp;nbsp;-- in the case of SMP system - you can use&amp;nbsp;dlacpy() routine&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="color: rgb(51, 51, 51); font-family: 'Courier New', Courier, monospace; font-size: 13.600000381469727px; line-height: 20px;"&gt;or you really need to use ScaLapack routines for that?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 19 Mar 2014 09:28:43 GMT</pubDate>
    <dc:creator>Gennady_F_Intel</dc:creator>
    <dc:date>2014-03-19T09:28:43Z</dc:date>
    <item>
      <title>Copy a submatrix to another matrix.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Copy-a-submatrix-to-another-matrix/m-p/952503#M15315</link>
      <description>&lt;P&gt;Hi! I want to copy the first 2 columns of a matrix A to the last two columns of another matrix B. A and B is matrices of size&amp;nbsp; 3x3. I found that this can be done with the function &amp;nbsp; &lt;SPAN class="option"&gt;p?lacpy ( I don't know if there is another routine for this)&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;The code I used is&lt;/P&gt;

&lt;PRE class="brush:cpp;"&gt;
#include &amp;lt;stdio.h&amp;gt;           
#include &amp;lt;mkl.h&amp;gt;
#include "mkl_scalapack.h"

int main()
{	
double A[9]={0, 1,2,3,4,5,6,7,8};
	double B[9];
	
	int m=3, n=2, d=1;
char *uplo = "All";

	pdlacpy(uplo, &amp;amp;m, &amp;amp;n, A, 0, 0, ?, B, 0, &amp;amp;d, ?);

}&lt;/PRE&gt;

&lt;P&gt;&lt;SPAN class="option"&gt;I don't understand what d&lt;/SPAN&gt;o we select for the parameters&amp;nbsp; &lt;SPAN class="var"&gt;descb and desca. I read that is "&lt;/SPAN&gt; &lt;SPAN class="keyword"&gt;INTEGER&lt;/SPAN&gt; array, &lt;SPAN class="keyword"&gt;DIMENSION&lt;/SPAN&gt; (&lt;VAR&gt;dlen_&lt;/VAR&gt;). The array descriptor for the distributed matrix A." but I don't understand what does it mean.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thank you very much.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Mar 2014 08:28:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Copy-a-submatrix-to-another-matrix/m-p/952503#M15315</guid>
      <dc:creator>Kydon_G_</dc:creator>
      <dc:date>2014-03-19T08:28:51Z</dc:date>
    </item>
    <item>
      <title>"I don't know if there is</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Copy-a-submatrix-to-another-matrix/m-p/952504#M15316</link>
      <description>&lt;P&gt;&lt;SPAN style="color: rgb(51, 51, 51); font-family: 'Courier New', Courier, monospace; font-size: 13.600000381469727px; line-height: 20px;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 14.399999618530273px;"&gt;I don't know if there is another routine for this&lt;/SPAN&gt;&lt;SPAN style="color: rgb(51, 51, 51); font-family: 'Courier New', Courier, monospace; font-size: 13.600000381469727px; line-height: 20px;"&gt;dlacpy" &amp;nbsp;-- in the case of SMP system - you can use&amp;nbsp;dlacpy() routine&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="color: rgb(51, 51, 51); font-family: 'Courier New', Courier, monospace; font-size: 13.600000381469727px; line-height: 20px;"&gt;or you really need to use ScaLapack routines for that?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Mar 2014 09:28:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Copy-a-submatrix-to-another-matrix/m-p/952504#M15316</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2014-03-19T09:28:43Z</dc:date>
    </item>
    <item>
      <title>The function dlacpy says how</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Copy-a-submatrix-to-another-matrix/m-p/952505#M15317</link>
      <description>&lt;P&gt;The function dlacpy says how to copy the upper/lower triangular part of &lt;VAR&gt;A&lt;/VAR&gt;. or the whole matrix. Please correct me if I am&amp;nbsp; wrong. I want to copy the first two columns of a matrix to the last two columns of another matrix- I don't understand how to do that with the dlacpy. I don't really need&amp;nbsp; to use ScaLapack routines for that, I just want a routine to do that.&lt;/P&gt;

&lt;P&gt;Thank you very much.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Mar 2014 09:59:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Copy-a-submatrix-to-another-matrix/m-p/952505#M15317</guid>
      <dc:creator>Kydon_G_</dc:creator>
      <dc:date>2014-03-19T09:59:25Z</dc:date>
    </item>
  </channel>
</rss>

