Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Rolling a biased die

by MeowChow (Vicar)
on Apr 12, 2002 at 04:34 UTC ( [id://158482]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my %bias = (
      1 => 3.1,
    ...
      5 => 1.321249563,
      6 => 1.0142,
    );
    
  2. or download this
    my @distribution = (
      3.1,
    ...
      6.8234,
      ... and so on
    );
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://158482]
Approved by grep
Front-paged by theorbtwo
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2024-04-19 17:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found