<?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 Random numbers on half-open interval in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Random-numbers-on-half-open-interval/m-p/787237#M1927</link>
    <description>Hello there,&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;is it possible to use the vdrnguniform routine to generate random numbers, e.g., in the &lt;B&gt;half-open&lt;/B&gt;interval (0,1]? I want to exclude zero (because this may cause a division by zero) without biasing the RNG in any other way.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Thanks in advance!&lt;/DIV&gt;&lt;DIV&gt;mgaro&lt;/DIV&gt;</description>
    <pubDate>Thu, 24 Nov 2011 09:35:38 GMT</pubDate>
    <dc:creator>mgaro</dc:creator>
    <dc:date>2011-11-24T09:35:38Z</dc:date>
    <item>
      <title>Random numbers on half-open interval</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Random-numbers-on-half-open-interval/m-p/787237#M1927</link>
      <description>Hello there,&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;is it possible to use the vdrnguniform routine to generate random numbers, e.g., in the &lt;B&gt;half-open&lt;/B&gt;interval (0,1]? I want to exclude zero (because this may cause a division by zero) without biasing the RNG in any other way.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Thanks in advance!&lt;/DIV&gt;&lt;DIV&gt;mgaro&lt;/DIV&gt;</description>
      <pubDate>Thu, 24 Nov 2011 09:35:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Random-numbers-on-half-open-interval/m-p/787237#M1927</guid>
      <dc:creator>mgaro</dc:creator>
      <dc:date>2011-11-24T09:35:38Z</dc:date>
    </item>
    <item>
      <title>Random numbers on half-open interval</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Random-numbers-on-half-open-interval/m-p/787238#M1928</link>
      <description>Hello Mgaro,&lt;BR /&gt;Intel MKL version of Uniform generator v[d|s]RngUniform( method, stream, n, r, a, b )allows generating n numbers uniformly distributed on interval [a, b). By proper setting value of ayou would be able to generate random numbers separated from zero. For example, if you use MT19937 BRNG underneath, please set value of a to L/M wherewhere Lis a positive integer, e.g, 1, and M is 2^32. Generally, value of M is defined by type of BRNG (e.g., for MCG59 value of M is equal to 2^59).Please, let me know if thisapproach works for you.&lt;BR /&gt;Best,&lt;BR /&gt;Andrey&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Nov 2011 13:41:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Random-numbers-on-half-open-interval/m-p/787238#M1928</guid>
      <dc:creator>Andrey_N_Intel</dc:creator>
      <dc:date>2011-11-24T13:41:45Z</dc:date>
    </item>
    <item>
      <title>Random numbers on half-open interval</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Random-numbers-on-half-open-interval/m-p/787239#M1929</link>
      <description>Dear Andrey,&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;thanks a lot, this is exactly what I was looking for! I tried the same kind of workaround but I wasn't sure how to determine the lower bound  now I know (I'm using the MT19937). It works perfectly fine with 2^-32.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Thanks again!&lt;/DIV&gt;&lt;DIV&gt;Best,&lt;/DIV&gt;&lt;DIV&gt;mgaro&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 24 Nov 2011 15:02:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Random-numbers-on-half-open-interval/m-p/787239#M1929</guid>
      <dc:creator>mgaro</dc:creator>
      <dc:date>2011-11-24T15:02:01Z</dc:date>
    </item>
  </channel>
</rss>

