distribution.pl - Show the distribution of numbers generated
Version 1.0 ($Id$)
Usage: distribution.pl
This script plots the distribution of data generated by ISAAC. It's a pretty simple module but might eventually make something neat, as the data is being plotted randomly. However it's unlikely to do so, since ISAAC is uniformly distributed.
It outputs a file named chart.png in the current working directory. Currently this is hardcoded, but this should probably change in the future.
chart.png
This module uses 10 million numbers for graphing, so hopefully it removes any potential slight nonuniformities caused by the seed.
Currently it just uses an instance seeded once with the time. This isn't quite as good as using an ISAAC instance to initialize another one, since it only begins with one seed value and must do enough mixing to start getting some random-looking data.
Most likely though, the data will just be a uniform-looking graph. If you find otherwise then you've found a bias with ISAAC, and that's a potential security bug. In that case, you should contact Bob Jenkins, author of the algorithm.
Jonathan Yu <jawnsy@cpan.org>
For support details, please look at perldoc Math::Random::ISAAC and use the corresponding support methods.
perldoc Math::Random::ISAAC
This has the same copyright and licensing terms as Math::Random::ISAAC.
Math::Random::ISAAC, Math::Random::ISAAC::PP, Math::Random::ISAAC::XS,
To install Math::Random::ISAAC, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Math::Random::ISAAC
CPAN shell
perl -MCPAN -e shell install Math::Random::ISAAC
For more information on module installation, please visit the detailed CPAN module installation guide.