Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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 wandering the Monastery: (9)
As of 2017-09-25 17:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (284 votes). Check out past polls.

    Notices?