<?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 Dear customer, in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Efficient-calculation-of-vT-A-v/m-p/1124456#M25150</link>
    <description>&lt;P&gt;Dear customer,&lt;/P&gt;

&lt;P&gt;The &lt;SPAN style="font-size: 13.008px;"&gt;quadratic form x'*A*x is actually calculated as&lt;/SPAN&gt;&amp;nbsp;a sum of&amp;nbsp;&lt;CODE&gt;n^2&lt;/CODE&gt;&amp;nbsp;terms&amp;nbsp;&lt;CODE&gt;A(i,j)*x(i)*x(j)&lt;/CODE&gt;, where&amp;nbsp;&lt;CODE&gt;i&lt;/CODE&gt;&amp;nbsp;and&amp;nbsp;&lt;CODE&gt;j&lt;/CODE&gt;&amp;nbsp;runs from&amp;nbsp;&lt;CODE&gt;1&lt;/CODE&gt;&amp;nbsp;to&amp;nbsp;&lt;CODE&gt;n.&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Are you going to use CSR format for matrix A? If so, you could split the quadratic form into two equations. You could use &lt;A href="https://software.intel.com/en-us/node/468544"&gt;mkl_?csrsymv&lt;/A&gt; to calculate y:=A*x first and then use &lt;A href="https://software.intel.com/en-us/node/468398"&gt;?dot&lt;/A&gt; to calculate sum of dot multiplication of two vectors res=x' * y. Hope it would be useful to you.&lt;/P&gt;

&lt;P&gt;Best regards,&lt;BR /&gt;
	Fiona&lt;/P&gt;</description>
    <pubDate>Tue, 03 Jan 2017 02:11:24 GMT</pubDate>
    <dc:creator>Zhen_Z_Intel</dc:creator>
    <dc:date>2017-01-03T02:11:24Z</dc:date>
    <item>
      <title>Efficient calculation of vT A v</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Efficient-calculation-of-vT-A-v/m-p/1124455#M25149</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;What is the most efficient way to calculate v&lt;SUP&gt;T&lt;/SUP&gt;Av where A is a CRS sparse matrix and v is a vector using Intel MKL (Fortran)?&lt;/P&gt;

&lt;P&gt;Thanks in advance.&lt;/P&gt;

&lt;P&gt;Carlos&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jan 2017 17:10:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Efficient-calculation-of-vT-A-v/m-p/1124455#M25149</guid>
      <dc:creator>Carlos_C_</dc:creator>
      <dc:date>2017-01-02T17:10:36Z</dc:date>
    </item>
    <item>
      <title>Dear customer,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Efficient-calculation-of-vT-A-v/m-p/1124456#M25150</link>
      <description>&lt;P&gt;Dear customer,&lt;/P&gt;

&lt;P&gt;The &lt;SPAN style="font-size: 13.008px;"&gt;quadratic form x'*A*x is actually calculated as&lt;/SPAN&gt;&amp;nbsp;a sum of&amp;nbsp;&lt;CODE&gt;n^2&lt;/CODE&gt;&amp;nbsp;terms&amp;nbsp;&lt;CODE&gt;A(i,j)*x(i)*x(j)&lt;/CODE&gt;, where&amp;nbsp;&lt;CODE&gt;i&lt;/CODE&gt;&amp;nbsp;and&amp;nbsp;&lt;CODE&gt;j&lt;/CODE&gt;&amp;nbsp;runs from&amp;nbsp;&lt;CODE&gt;1&lt;/CODE&gt;&amp;nbsp;to&amp;nbsp;&lt;CODE&gt;n.&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Are you going to use CSR format for matrix A? If so, you could split the quadratic form into two equations. You could use &lt;A href="https://software.intel.com/en-us/node/468544"&gt;mkl_?csrsymv&lt;/A&gt; to calculate y:=A*x first and then use &lt;A href="https://software.intel.com/en-us/node/468398"&gt;?dot&lt;/A&gt; to calculate sum of dot multiplication of two vectors res=x' * y. Hope it would be useful to you.&lt;/P&gt;

&lt;P&gt;Best regards,&lt;BR /&gt;
	Fiona&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2017 02:11:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Efficient-calculation-of-vT-A-v/m-p/1124456#M25150</guid>
      <dc:creator>Zhen_Z_Intel</dc:creator>
      <dc:date>2017-01-03T02:11:24Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Efficient-calculation-of-vT-A-v/m-p/1124457#M25151</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Thanks for the reply, I was wondering if there was a built-in function for such calculation in MKL, thus my question.&lt;/P&gt;

&lt;P&gt;Best regards&lt;/P&gt;

&lt;P&gt;Carlos&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2017 15:49:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Efficient-calculation-of-vT-A-v/m-p/1124457#M25151</guid>
      <dc:creator>Carlos_C_</dc:creator>
      <dc:date>2017-01-03T15:49:03Z</dc:date>
    </item>
    <item>
      <title>Dear customer,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Efficient-calculation-of-vT-A-v/m-p/1124458#M25152</link>
      <description>&lt;P&gt;Dear customer,&lt;/P&gt;

&lt;P&gt;I am afraid there might no real quadratic form function for matrix with&amp;nbsp;sparse storage format. The good way is to separate calculation. Thanks.&lt;/P&gt;

&lt;P&gt;Best regards,&lt;BR /&gt;
	Fiona&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jan 2017 02:10:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Efficient-calculation-of-vT-A-v/m-p/1124458#M25152</guid>
      <dc:creator>Zhen_Z_Intel</dc:creator>
      <dc:date>2017-01-04T02:10:36Z</dc:date>
    </item>
  </channel>
</rss>

