<?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 Draw Random Numbers into vector in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Draw-Random-Numbers-into-vector/m-p/767633#M366</link>
    <description>Hello,&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Is there a way to call the random number generator with a STL's vector instead of a pointer to an array?&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;It seems kind of wasteful to copy every time from an array into the vector.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Cheers,&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Elad&lt;/DIV&gt;</description>
    <pubDate>Tue, 14 Aug 2012 14:52:31 GMT</pubDate>
    <dc:creator>Tan__Elad</dc:creator>
    <dc:date>2012-08-14T14:52:31Z</dc:date>
    <item>
      <title>Draw Random Numbers into vector</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Draw-Random-Numbers-into-vector/m-p/767633#M366</link>
      <description>Hello,&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Is there a way to call the random number generator with a STL's vector instead of a pointer to an array?&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;It seems kind of wasteful to copy every time from an array into the vector.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Cheers,&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Elad&lt;/DIV&gt;</description>
      <pubDate>Tue, 14 Aug 2012 14:52:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Draw-Random-Numbers-into-vector/m-p/767633#M366</guid>
      <dc:creator>Tan__Elad</dc:creator>
      <dc:date>2012-08-14T14:52:31Z</dc:date>
    </item>
    <item>
      <title>Draw Random Numbers into vector</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Draw-Random-Numbers-into-vector/m-p/767634#M367</link>
      <description>Hello Elad,&amp;nbsp;&lt;BR /&gt;I wonder&amp;nbsp;if this&amp;nbsp;approach (with&amp;nbsp;caution) would work for you&lt;BR /&gt;&lt;BR /&gt;vector&lt;DOUBLE&gt; v(1000);&lt;BR /&gt;...&lt;BR /&gt;vdRngGaussian( VSL_RNG_METHOD_GAUSSIAN_ICDF, stream, v.size(), (double*)&amp;amp;v[0], 0.0, 1.0 );&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Andrey&lt;/DOUBLE&gt;</description>
      <pubDate>Wed, 15 Aug 2012 05:27:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Draw-Random-Numbers-into-vector/m-p/767634#M367</guid>
      <dc:creator>Andrey_N_Intel</dc:creator>
      <dc:date>2012-08-15T05:27:06Z</dc:date>
    </item>
    <item>
      <title>Draw Random Numbers into vector</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Draw-Random-Numbers-into-vector/m-p/767635#M368</link>
      <description>Worked great!! Thank you!!</description>
      <pubDate>Mon, 20 Aug 2012 15:57:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Draw-Random-Numbers-into-vector/m-p/767635#M368</guid>
      <dc:creator>Tan__Elad</dc:creator>
      <dc:date>2012-08-20T15:57:11Z</dc:date>
    </item>
  </channel>
</rss>

