<?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 Re: Sobol Sequences / Gaussian in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Sobol-Sequences-Gaussian/m-p/938221#M14286</link>
    <description>Or you can try:&lt;BR /&gt;#define SEED 7</description>
    <pubDate>Thu, 30 Mar 2006 12:51:35 GMT</pubDate>
    <dc:creator>ttppo</dc:creator>
    <dc:date>2006-03-30T12:51:35Z</dc:date>
    <item>
      <title>Sobol Sequences / Gaussian</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Sobol-Sequences-Gaussian/m-p/938217#M14282</link>
      <description>I'm trying to generate N-dimensional Gaussian Sobol sequences with mean 0 and std. dev of 1, but I'm noticing that the sample mean of the Nth dimension is quite off. Additionally, this column has no values that are &amp;gt;0, whereas all other columns seem to be properly distributed. Any ideas?&lt;BR /&gt;&lt;BR /&gt;For example (check of return values removed for brevity):&lt;BR /&gt;&lt;BR /&gt;const int METHOD=0, DIMENS=5, SAMPLES=100000;&lt;BR /&gt;&lt;BR /&gt;VSLStreamStatePtr stream;&lt;BR /&gt;vslNewStream( &amp;amp;stream, VSL_BRNG_SOBOL, DIMENS );&lt;BR /&gt;&lt;BR /&gt;double *MAT = new double[DIMENS*SAMPLES];&lt;BR /&gt;vdRngGaussian( METHOD, stream, DIMENS*SAMPLES, MAT, 0.0, 1.0 );&lt;BR /&gt;&lt;BR /&gt;// if MAT is written to csv file, loaded into excel&lt;BR /&gt;// and sorted by column, it becomes apparent that&lt;BR /&gt;// the maximum value of the last column (5 in this case)&lt;BR /&gt;// is never &amp;gt;0. the mean of this column is also not close&lt;BR /&gt;// to 0 as one should expect(?). all other columns are&lt;BR /&gt;// distributed between -4 and 4, while column 5 is between&lt;BR /&gt;// 0 and 4.</description>
      <pubDate>Thu, 30 Mar 2006 09:37:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Sobol-Sequences-Gaussian/m-p/938217#M14282</guid>
      <dc:creator>pdonahue</dc:creator>
      <dc:date>2006-03-30T09:37:32Z</dc:date>
    </item>
    <item>
      <title>Re: Sobol Sequences / Gaussian</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Sobol-Sequences-Gaussian/m-p/938218#M14283</link>
      <description>Please try it:&lt;BR /&gt;&lt;BR /&gt;#define SEED 1&lt;BR /&gt;&lt;BR /&gt;.......................&lt;BR /&gt;&lt;BR /&gt;double a=0.0,sigma=1.0;&lt;BR /&gt;&lt;BR /&gt;.......................&lt;BR /&gt;&lt;BR /&gt;/***** Initialize *****/&lt;BR /&gt;vslNewStream( &amp;amp;stream, VSL_BRNG_SOBOL, SEED );//Not vslNewStream( &amp;amp;stream, VSL_BRNG_SOBOL, DIMENS );&lt;BR /&gt;&lt;BR /&gt;/***** Call RNG *****/&lt;BR /&gt;vdRngGaussian( METHOD, stream, DIMENS*SAMPLES, MAT, a, sigma );&lt;BR /&gt;&lt;BR /&gt;.........................&lt;BR /&gt;&lt;BR /&gt;.........................&lt;BR /&gt;/***** Deinitialize *****/&lt;BR /&gt;vslDeleteStream( &amp;amp;stream );</description>
      <pubDate>Thu, 30 Mar 2006 12:19:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Sobol-Sequences-Gaussian/m-p/938218#M14283</guid>
      <dc:creator>ttppo</dc:creator>
      <dc:date>2006-03-30T12:19:37Z</dc:date>
    </item>
    <item>
      <title>Re: Sobol Sequences / Gaussian</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Sobol-Sequences-Gaussian/m-p/938219#M14284</link>
      <description>vslNewStream( &amp;amp;stream, VSL_BRNG_SOBOL, SEED );/*Not vslNewStream( &amp;amp;stream, VSL_BRNG_SOBOL, DIMENS );*/</description>
      <pubDate>Thu, 30 Mar 2006 12:21:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Sobol-Sequences-Gaussian/m-p/938219#M14284</guid>
      <dc:creator>ttppo</dc:creator>
      <dc:date>2006-03-30T12:21:56Z</dc:date>
    </item>
    <item>
      <title>Re: Sobol Sequences / Gaussian</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Sobol-Sequences-Gaussian/m-p/938220#M14285</link>
      <description>vslNewStream( &amp;amp;stream, BRNG, SEED );&lt;BR /&gt;vdRngGaussian( METHOD, stream, N, r, a, sigma );&lt;BR /&gt;In the case of vdRngGaussian(...) called only once:&lt;BR /&gt;In fact, the "random" values are always fixed and not changed, if BRNG and SEED are not change.&lt;BR /&gt;&lt;BR /&gt;But you can call vdRngGaussian() many times to generate the random values.</description>
      <pubDate>Thu, 30 Mar 2006 12:32:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Sobol-Sequences-Gaussian/m-p/938220#M14285</guid>
      <dc:creator>ttppo</dc:creator>
      <dc:date>2006-03-30T12:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: Sobol Sequences / Gaussian</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Sobol-Sequences-Gaussian/m-p/938221#M14286</link>
      <description>Or you can try:&lt;BR /&gt;#define SEED 7</description>
      <pubDate>Thu, 30 Mar 2006 12:51:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Sobol-Sequences-Gaussian/m-p/938221#M14286</guid>
      <dc:creator>ttppo</dc:creator>
      <dc:date>2006-03-30T12:51:35Z</dc:date>
    </item>
    <item>
      <title>Re: Sobol Sequences / Gaussian</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Sobol-Sequences-Gaussian/m-p/938222#M14287</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV align="left"&gt;&lt;SPAN class="841443209-30032006"&gt;&lt;FONT size="2"&gt;Box-Muller methodfor generation of one Gaussian random number uses a pair of uniform random variates. &lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="841443209-30032006"&gt;&lt;FONT size="2"&gt;So, in order to obtain N samples of normally distributed random vectors of dimension DIM one needs to &lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="841443209-30032006"&gt;&lt;FONT size="2"&gt;initialize Sobol quasi-random number generator with dimension (seed)2*DIM:&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV align="left"&gt;&lt;SPAN class="841443209-30032006"&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV align="left"&gt;&lt;SPAN class="841443209-30032006"&gt;&lt;SPAN class="841443209-30032006"&gt;&lt;FONT size="2"&gt;#define BRNG VSL_BRNG_SOBOL&lt;BR /&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="841443209-30032006"&gt;&lt;FONT size="2"&gt;#define SEED 10&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV align="left"&gt;&lt;SPAN class="841443209-30032006"&gt;#define METHOD 0&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV align="left"&gt;&lt;SPAN class="841443209-30032006"&gt;&lt;FONT size="2"&gt;#define DIMENS 5&lt;BR /&gt;#define N 1000&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV align="left"&gt;&lt;SPAN class="841443209-30032006"&gt;&lt;FONT size="2"&gt;...&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV align="left"&gt;&lt;FONT size="2"&gt;vslNewStream( &amp;amp;stream, BRNG, SEED );&lt;BR /&gt;vdRngGaussian( METHOD, stream, DIMENS*N, r, 0.0, 1.0 );&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV align="left"&gt;&lt;FONT size="2"&gt;vslDeleteStream( &amp;amp;stream );&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV align="left"&gt;&lt;SPAN class="841443209-30032006"&gt;&lt;FONT size="2"&gt;...&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV align="left"&gt;&lt;SPAN class="841443209-30032006"&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV align="left"&gt;&lt;SPAN class="841443209-30032006"&gt;&lt;FONT size="2"&gt;Please, find additional information about methods of generation of Gaussian rundom numbers and quasi-random random generators &lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="841443209-30032006"&gt;&lt;FONT size="2"&gt;implemented in VSL &lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV align="left"&gt;&lt;FONT size="2"&gt;&lt;SPAN class="841443209-30032006"&gt;in VSLNotes &lt;/SPAN&gt;&lt;SPAN class="841443209-30032006"&gt;&lt;A target="_blank" href="http://www.intel.com/software/products/mkl/docs/vslnotes.pdf"&gt;http://www.intel.com/software/products/mkl/docs/vslnotes.pdf&lt;/A&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV align="left"&gt;&lt;FONT size="2"&gt;&lt;SPAN class="841443209-30032006"&gt;and MKL Manual &lt;/SPAN&gt;&lt;SPAN class="841443209-30032006"&gt;&lt;A target="_blank" href="http://www.intel.com/software/products/mkl/docs/mklman.htm"&gt;http://www.intel.com/software/products/mkl/docs/mklman.htm&lt;/A&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 30 Mar 2006 19:39:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Sobol-Sequences-Gaussian/m-p/938222#M14287</guid>
      <dc:creator>Andrey_N_Intel</dc:creator>
      <dc:date>2006-03-30T19:39:26Z</dc:date>
    </item>
  </channel>
</rss>

