<?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 I cannot help you as to zero in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-csradd/m-p/1036151#M20420</link>
    <description>&lt;P&gt;I cannot help you as to zero-based indexing, other than to point out something for you to consider: although some programming languages default to zero-based indexing, in mathematics and physics it is more common to use 1-based indices. For example, we use &lt;EM&gt;x&lt;/EM&gt;&lt;SUB&gt;1&lt;/SUB&gt;, &lt;EM&gt;x&lt;/EM&gt;&lt;SUB&gt;2&lt;/SUB&gt; and &lt;EM&gt;x&lt;/EM&gt;&lt;SUB&gt;3&lt;/SUB&gt; as position coordinates rather than&amp;nbsp;&lt;EM&gt;x&lt;/EM&gt;&lt;SUB&gt;0&lt;/SUB&gt;,&amp;nbsp;&lt;EM&gt;x&lt;/EM&gt;&lt;SUB&gt;1&lt;/SUB&gt;&amp;nbsp;and &lt;I&gt;x&lt;SUB&gt;2&amp;nbsp;&lt;/SUB&gt;&lt;/I&gt;. What are the natural indices in your subject domain?&lt;/P&gt;

&lt;P&gt;MKL provides the following Fortran examples in examples_core.zip:&lt;/P&gt;

&lt;P&gt;spblasf/source/zcsr_addition.f&lt;BR /&gt;
	spblasf/source/dcsr_addition.f&lt;BR /&gt;
	spblasf/source/scsr_addition.f&lt;BR /&gt;
	spblasf/source/ccsr_addition.f&lt;/P&gt;

&lt;P&gt;As it is, addition of sparse matrices is not a complicated subject. An entry in the result matrix C is non-zero if either or both of the corresponding entries in A and B are non-zero. If only one of the two is non-zero, we copy the value to C; when both are non-zero, we place the sum in C.&lt;/P&gt;</description>
    <pubDate>Mon, 09 Jun 2014 22:38:00 GMT</pubDate>
    <dc:creator>mecej4</dc:creator>
    <dc:date>2014-06-09T22:38:00Z</dc:date>
    <item>
      <title>mkl_?csradd</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-csradd/m-p/1036150#M20419</link>
      <description>&lt;P&gt;Dear all&lt;/P&gt;

&lt;P&gt;looks as if I need to use &lt;SPAN class="option"&gt;mkl_?csradd&lt;/SPAN&gt; (C++).&lt;/P&gt;

&lt;P&gt;However, my csr matrix is zero based; &lt;SPAN class="option"&gt;mkl_?csradd does only support one based sparse matrices.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;I would appreciate any suggestions for a pragmatic solution.&lt;/P&gt;

&lt;P&gt;A simple application example of &lt;SPAN class="option"&gt;mkl_?csradd &lt;/SPAN&gt;would be nice, too.&lt;/P&gt;

&lt;P&gt;Kind regards&lt;/P&gt;

&lt;P&gt;Wolfram&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jun 2014 21:22:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-csradd/m-p/1036150#M20419</guid>
      <dc:creator>Wolfram_R_</dc:creator>
      <dc:date>2014-06-09T21:22:56Z</dc:date>
    </item>
    <item>
      <title>I cannot help you as to zero</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-csradd/m-p/1036151#M20420</link>
      <description>&lt;P&gt;I cannot help you as to zero-based indexing, other than to point out something for you to consider: although some programming languages default to zero-based indexing, in mathematics and physics it is more common to use 1-based indices. For example, we use &lt;EM&gt;x&lt;/EM&gt;&lt;SUB&gt;1&lt;/SUB&gt;, &lt;EM&gt;x&lt;/EM&gt;&lt;SUB&gt;2&lt;/SUB&gt; and &lt;EM&gt;x&lt;/EM&gt;&lt;SUB&gt;3&lt;/SUB&gt; as position coordinates rather than&amp;nbsp;&lt;EM&gt;x&lt;/EM&gt;&lt;SUB&gt;0&lt;/SUB&gt;,&amp;nbsp;&lt;EM&gt;x&lt;/EM&gt;&lt;SUB&gt;1&lt;/SUB&gt;&amp;nbsp;and &lt;I&gt;x&lt;SUB&gt;2&amp;nbsp;&lt;/SUB&gt;&lt;/I&gt;. What are the natural indices in your subject domain?&lt;/P&gt;

&lt;P&gt;MKL provides the following Fortran examples in examples_core.zip:&lt;/P&gt;

&lt;P&gt;spblasf/source/zcsr_addition.f&lt;BR /&gt;
	spblasf/source/dcsr_addition.f&lt;BR /&gt;
	spblasf/source/scsr_addition.f&lt;BR /&gt;
	spblasf/source/ccsr_addition.f&lt;/P&gt;

&lt;P&gt;As it is, addition of sparse matrices is not a complicated subject. An entry in the result matrix C is non-zero if either or both of the corresponding entries in A and B are non-zero. If only one of the two is non-zero, we copy the value to C; when both are non-zero, we place the sum in C.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jun 2014 22:38:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-csradd/m-p/1036151#M20420</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2014-06-09T22:38:00Z</dc:date>
    </item>
  </channel>
</rss>

