Questions tagged [prng]

PRNG - Pseudorandom number generator, A pseudorandom number generator (PRNG), also known as a deterministic random bit generator (DRBG),[1] is an algorithm for generating a sequence of numbers that approximates the properties of random numbers.

See more about PRNG on wikipedia.org

232 questions
0
votes
0 answers

Reconstruct function based on Seed value and output

I have a program that I am re-writing in C#. There is a function that I do not have the code for that I would like to recreate in the re-write. Based on my investigation I believe that it is an RNG of some sort. I have isolated the seed value…
dcreight
  • 641
  • 6
  • 18
0
votes
1 answer

combining different instances of a random generator but still maintaining low discrepancy

I am generating about 100 million random numbers to pick from 300 things. I need to set it up so that I have 10 million independent instances (different seed) that picks 10 times each. The goal is for the aggregate results to have very low…
-1
votes
1 answer

L'Ecuyer's MRG32k3a random number generator in CUDA C?

I am facing trouble implementing this. I want to run some monte carlo simulations on gpu cluster and require the Random Number Generator to work for it. I want to print the random numbers generated. Could someone please explain with an example? I am…
-2
votes
1 answer

Generate exact sequence of 35 out of 49 numbers from sample

I was wondering if there is any possibility to find out the RNG for the sequences below and accurately predict future sequences. It's an exact sample of 8 bulks of generated numbers containing reference number, date, time to the second and the…
-2
votes
2 answers

Generating a random double integer

How can I pick a random number from the following set: All positive integers that can be represented exactly by a double precision floating point number (i.e. a Java double). Distribution In my particular use case, I don't need uniform…
Bart van Heukelom
  • 43,244
  • 59
  • 186
  • 301
-2
votes
1 answer

Why is it so difficult to program a true random number generator?

I don't understand why a PRNG is easier to program than a true RNG. Shouldn't a typical processor make short work of producing a truly random number?
Jules
  • 14,200
  • 13
  • 56
  • 101
-4
votes
1 answer

How can I generate random numbers between 0 and a user input number?

I'm pretty new to Java and this website, and I'm sorry if this question has already been asked but if it isn't to hard, an answer would be extremely helpful.
1 2 3
15
16