Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Rand() with ?log10? distribution?

by v-zor (Initiate)
on Jun 10, 2013 at 01:31 UTC ( #1037972=note: print w/replies, xml ) Need Help??


in reply to Rand() with ?log10? distribution?

You would need a nextInt function as in Java or Python, docs are here http://docs.python.org/2/library/random.html You can call python or write one with a $randomnumber * $x or $randomnumber + $x.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1037972]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2017-12-17 12:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (464 votes). Check out past polls.

    Notices?