- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When calling vdRngUniform what is the difference in the algorithm between VSL_RNG_METHOD_UNIFORM_STD_ACCURATE and VSL_RNG_METHOD_UNIFORM_STD? I could not find this information anywhere. I am particularly interested to know how the symmetry of the distribution and its bounds are affected if the less accurate method is used, but knowing what the algorithm is would be a good start).
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for reaching out to us!
Please refer to the below link for information related to generating random numbers with different types of distribution and Modes of random number generation.
However, we are escalating this thread to the Subject Matter Expert who will guide you further.
Have a Good day!
Thanks & Regards
Goutham
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, Could You please check the Accurate and Fast modes of RNG description following the link:
In particular: "For example, random numbers xi obtained as output of the relevant generator that are uniformly distributed on [a, b) are assumed to satisfy the following condition: xi∈[a, b) for all indices i and for all values of a and b. However, because of the specificity of floating-point calculations and rounding modes, some continuous distribution generators may produce random numbers lying beyond the definitional domain for some particular values of distribution parameters. This is not acceptable in applications for which accuracy of calculations is critical...."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for your help! The description says:
"Fast mode provides high performance of generation and also guarantees that generated random numbers belong to the definitional domain except for some specific values of distribution parameters."
This gives an idea, but which parameters are safe to use with fast mode and which are not in terms of respecting the bounds? Would a and b (the bounds) being exactly representable in finite precision be sufficient or is the situation more complicated than this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
the safety "of using the fast method depends not only on the parameters a and b, but also on
• implementation
• the type of generator used
• rounding modes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The issue is closing and we will no longer respond to this thread. If you require additional assistance from Intel, please start a new thread. Any further interaction in this thread will be considered community only.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page