<?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 weighted sum of two matrices in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/weighted-sum-of-two-matrices/m-p/1175494#M28897</link>
    <description>&lt;P&gt;How do I do this using Intel MKL?&lt;/P&gt;&lt;P&gt;res(:,:,:,i+j+k) = var(:,:,:,1)*op(1)+var(:,:,:,2)*op(2)&lt;/P&gt;&lt;P&gt;In this example, 'res' is a matrix with 4 dimensions, of which the last one is only two.&lt;/P&gt;&lt;P&gt;'op' is a vector two elements long.&lt;/P&gt;&lt;P&gt;I have found &amp;nbsp;https://software.intel.com/en-us/mkl-developer-reference-c-mkl-sparse-mm which is good as there are two scalars which the matrices are multiplied by. However, there is A, B, and C in the documentation whereas I have only two matrices.&lt;/P&gt;&lt;P&gt;Also if you could please recommend some literature that introduces me to Intel MKL with problem sets to practice by myself, I would be happy to give it a go. I find Intel MKL confusing and now I get most of the answers by searching 'do something intel mkl' replacing 'do something' with what I need. Perhaps this is not very efficient...&lt;/P&gt;</description>
    <pubDate>Wed, 03 Jul 2019 00:33:59 GMT</pubDate>
    <dc:creator>Sveta</dc:creator>
    <dc:date>2019-07-03T00:33:59Z</dc:date>
    <item>
      <title>weighted sum of two matrices</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/weighted-sum-of-two-matrices/m-p/1175494#M28897</link>
      <description>&lt;P&gt;How do I do this using Intel MKL?&lt;/P&gt;&lt;P&gt;res(:,:,:,i+j+k) = var(:,:,:,1)*op(1)+var(:,:,:,2)*op(2)&lt;/P&gt;&lt;P&gt;In this example, 'res' is a matrix with 4 dimensions, of which the last one is only two.&lt;/P&gt;&lt;P&gt;'op' is a vector two elements long.&lt;/P&gt;&lt;P&gt;I have found &amp;nbsp;https://software.intel.com/en-us/mkl-developer-reference-c-mkl-sparse-mm which is good as there are two scalars which the matrices are multiplied by. However, there is A, B, and C in the documentation whereas I have only two matrices.&lt;/P&gt;&lt;P&gt;Also if you could please recommend some literature that introduces me to Intel MKL with problem sets to practice by myself, I would be happy to give it a go. I find Intel MKL confusing and now I get most of the answers by searching 'do something intel mkl' replacing 'do something' with what I need. Perhaps this is not very efficient...&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2019 00:33:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/weighted-sum-of-two-matrices/m-p/1175494#M28897</guid>
      <dc:creator>Sveta</dc:creator>
      <dc:date>2019-07-03T00:33:59Z</dc:date>
    </item>
  </channel>
</rss>

