Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^3: PRNG/TRNG Cesaro's theorem

by RonW (Parson)
on Oct 09, 2017 at 22:50 UTC ( #1201057=note: print w/replies, xml ) Need Help??


in reply to Re^2: PRNG/TRNG Cesaro's theorem
in thread PRNG/TRNG Cesaro's theorem

I dont know how to write it so it generates the numbers in pairs however.

In your loop, call the RNG twice:

for (1 .. 500) { my $x = rng(); my $y = rng(); ... }

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2019-05-22 16:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you enjoy 3D movies?



    Results (140 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!