Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re^6: How to generate different random numbers?

by Aristotle (Chancellor)
on Sep 08, 2004 at 20:38 UTC ( [id://389462]=note: print w/replies, xml ) Need Help??

in reply to Re^5: How to generate different random numbers?
in thread How to generate distinct random numbers?

the other is chosing a member from an infinite set with replacement.

Any number expressible inside a computer is one out of a finite set.

Using a computer to pick a random number "without" an interval simply means picking some x where 0 <= x <= 2n-1.

Anyone who considers arithmetical methods of producing random digits is, of course, in a state of sin.
John von Neumann

Makeshifts last the longest.

  • Comment on Re^6: How to generate different random numbers?

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://389462]
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (2)
As of 2024-04-20 04:19 GMT
Find Nodes?
    Voting Booth?

    No recent polls found