course 4.1.2.2
4.1.2.2 | intermediate | 2 sessions
Computers are fast but they're lousy in simulating randomness - an oxymoron in its own right. We will see that random numbers generated by Perl's rand() are actually pseudo-random (PRN) and form a reproducible, seeded sequence. We'll briefly cover linear congruential generators (LCG), one way to create PRNs and talk about their strengths and weaknesses. A brief mention of sub-random sequences will be made in context of even space filling. We'll see how to make use of CPAN modules to harness a variety of PRN algorithms in Perl, including the reliable Mersenne Twister. We'll also spend time looking at how uniform random values are used to generate values distributed according to an arbitrary distributions.
legendcourse codecat.course.level.sessions.session e.g. 1.0.1.8 categories0 | introduction and orientation 1 | perl fundamentals 2 | shell and prompt tools 3 | web development 4 | CPAN Modules 5 | Ruby levelsall ( 0 ) beginner ( 1 ) intermediate ( 2 ) advanced ( 3 ) |
[ Camels are known to spit up to 36 feet in the US and 11 meters everywhere else. ]
|