Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: biased random number picking

by brx (Pilgrim)
on Jul 12, 2012 at 07:32 UTC ( [id://981316]=note: print w/replies, xml ) Need Help??


in reply to biased random number picking

update : not relevant for your question :)
#my $size = 100; my $first_index = int(rand($size)); my $second_index = (int(rand($size-1)) + 1 + $first_index) % $size;

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (5)
As of 2024-04-19 12:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found