<?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 VSL Summary Statistics VSL_SS_MIN does not work in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/VSL-Summary-Statistics-VSL-SS-MIN-does-not-work/m-p/795762#M2667</link>
    <description>Hello Scott,&lt;BR /&gt;Thanks for the communication. It's good to knowthat you resolvedthe parameter initialization issue for computation ofmin/max estimates with Intel MKL VSL Summary Statisticsroutines. Please, feel free to provide your feedback/askmore questions onStatistical Component of Intel MKL,and we will be glad to help.&lt;BR /&gt;Best,&lt;BR /&gt;Andrey&lt;BR /&gt;</description>
    <pubDate>Sat, 02 Jul 2011 14:39:58 GMT</pubDate>
    <dc:creator>Andrey_N_Intel</dc:creator>
    <dc:date>2011-07-02T14:39:58Z</dc:date>
    <item>
      <title>VSL Summary Statistics VSL_SS_MIN does not work</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/VSL-Summary-Statistics-VSL-SS-MIN-does-not-work/m-p/795760#M2665</link>
      <description>Does anyone know why the VSL_SS_MIN routine doesn't work?&lt;BR /&gt;Almost exactly the same code with the VSL_SS_MAX routine works just fine.&lt;BR /&gt;&lt;BR /&gt;If I run the code below, min_est does NOT get a value.&lt;BR /&gt;
If I switch the comments to run the MAX code, max_est gets the value 34 as you would expect.&lt;BR /&gt;&lt;BR /&gt; int status;&lt;BR /&gt; VSLSSTaskPtr task;&lt;BR /&gt; MKL_INT xstorage = VSL_SS_MATRIX_STORAGE_ROWS;&lt;BR /&gt; MKL_INT numCols = 1;&lt;BR /&gt; MKL_INT numRows = 6;&lt;BR /&gt; double Y[] = {5,8,23,4,34,20};&lt;BR /&gt; status = vsldSSNewTask( &amp;amp;task, &amp;amp;numCols, &amp;amp;numRows, &amp;amp;xstorage, Y, 0, 0 );&lt;BR /&gt;&lt;BR /&gt; double min_est[1];&lt;BR /&gt;// double max_est[1];&lt;BR /&gt; status = vsldSSEditTask( task, VSL_SS_ED_MIN, min_est );&lt;BR /&gt;// status = vsldSSEditTask( task, VSL_SS_ED_MAX, max_est );&lt;BR /&gt; status = vsldSSCompute(task, VSL_SS_MIN, VSL_SS_METHOD_FAST );&lt;BR /&gt;// status = vsldSSCompute(task, VSL_SS_MAX, VSL_SS_METHOD_FAST );&lt;BR /&gt;&lt;BR /&gt;thanks, Scott&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 01 Jul 2011 18:12:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/VSL-Summary-Statistics-VSL-SS-MIN-does-not-work/m-p/795760#M2665</guid>
      <dc:creator>tennican</dc:creator>
      <dc:date>2011-07-01T18:12:22Z</dc:date>
    </item>
    <item>
      <title>VSL Summary Statistics VSL_SS_MIN does not work</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/VSL-Summary-Statistics-VSL-SS-MIN-does-not-work/m-p/795761#M2666</link>
      <description>I found the text below in Summary Statistics Library Application Notes below a code example that did NOT initialize its initial values.&lt;BR /&gt;&lt;BR /&gt;"Before the first call to the Compute routine, initialize the initial values of the estimates with reasonable values, such as the values of the first observation."&lt;BR /&gt;&lt;BR /&gt;It turns out that this initialization is required.&lt;BR /&gt;&lt;BR /&gt;So, the code below works fine:&lt;BR /&gt; double min_est = Y[0];&lt;BR /&gt; double max_est = Y[0];&lt;BR /&gt; double mean_est = Y[0];&lt;BR /&gt; status = vsldSSEditTask(task, VSL_SS_ED_MIN, &amp;amp;min_est);&lt;BR /&gt; status = vsldSSEditTask(task, VSL_SS_ED_MAX, &amp;amp;max_est);&lt;BR /&gt; status = vsldSSEditTask(task, VSL_SS_ED_MEAN, &amp;amp;mean_est);&lt;BR /&gt; status = vsldSSCompute(task, VSL_SS_MIN|VSL_SS_MAX|VSL_SS_MEAN, VSL_SS_METHOD_FAST);&lt;BR /&gt;&lt;BR /&gt;Also, notice that the types of the parameters vary depending on the case of the letter in the method names.&lt;BR /&gt;Also, be careful not to mix up VSL_SS_ED_MIN and VSL_SS_MIN.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 01 Jul 2011 22:40:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/VSL-Summary-Statistics-VSL-SS-MIN-does-not-work/m-p/795761#M2666</guid>
      <dc:creator>tennican</dc:creator>
      <dc:date>2011-07-01T22:40:49Z</dc:date>
    </item>
    <item>
      <title>VSL Summary Statistics VSL_SS_MIN does not work</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/VSL-Summary-Statistics-VSL-SS-MIN-does-not-work/m-p/795762#M2667</link>
      <description>Hello Scott,&lt;BR /&gt;Thanks for the communication. It's good to knowthat you resolvedthe parameter initialization issue for computation ofmin/max estimates with Intel MKL VSL Summary Statisticsroutines. Please, feel free to provide your feedback/askmore questions onStatistical Component of Intel MKL,and we will be glad to help.&lt;BR /&gt;Best,&lt;BR /&gt;Andrey&lt;BR /&gt;</description>
      <pubDate>Sat, 02 Jul 2011 14:39:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/VSL-Summary-Statistics-VSL-SS-MIN-does-not-work/m-p/795762#M2667</guid>
      <dc:creator>Andrey_N_Intel</dc:creator>
      <dc:date>2011-07-02T14:39:58Z</dc:date>
    </item>
    <item>
      <title>VSL Summary Statistics VSL_SS_MIN does not work</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/VSL-Summary-Statistics-VSL-SS-MIN-does-not-work/m-p/795763#M2668</link>
      <description>Hi Andrey,&lt;BR /&gt;&lt;BR /&gt;It's great knowing that there are people to help when I get stuck.&lt;BR /&gt;Hopefully, I will be able to help others when I have ramped on the library.&lt;BR /&gt;&lt;BR /&gt;thanks, Scott</description>
      <pubDate>Tue, 05 Jul 2011 18:59:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/VSL-Summary-Statistics-VSL-SS-MIN-does-not-work/m-p/795763#M2668</guid>
      <dc:creator>tennican</dc:creator>
      <dc:date>2011-07-05T18:59:25Z</dc:date>
    </item>
  </channel>
</rss>

