boxmuller
0.24 -- 2018-07-03
boxmuller [-m mean] [-v variance | -d standard_deviation] [-g how_many_you_want] [-. digits_after_decimal_point] [-s random_seed] [-L(log normal)] [-@ seconds] [-1] [-:]
boxmuller [--help [ja|en] [opt] [nopod]] [--version]
Generates Gaussian random variables by Box-Muller method. The used random seed and the sums of the generated numbers and the square of them are also provided to STDERR.
Population Mean (average). Default value is 0.
Population Standard Deviation. Default value is 1.
Population Variance. Default value is 1. If -d is given, -v would be nullified.
The digits to be shown after the decimal point. Without this specification 14 digits after the decimal point may be shown.
How many numbers to be produced. Default value is 6. "Inf" (Infinity) can be given.
Random seed specification. The residual divided by 2**32 is essential.
Outputs variables from the log normal distribution instead of the normal distribution.
Only output the random number without other secondary information.
Attaches serial number beginning from 1.
Waiting time in seconds for each output line, that can be spedicifed 6 digits after the decimal points (microsecond).
Print this online help manual of this command "boxmuller". Similar to "perldoc `which [-t] boxmuller` ".
Only shows the option helps. It is easy to read when you are in very necessary.
Shows Japanese online help manual.
Print this online manual using the code insdide this program without using the function of Perl POD.
Version information output.
# Generates some random numbers from the stardard normal distribution.
# Generates 12 random numbers from the normal distribution with the population mean 10, the population variance 2.
# Generates Log normal distribution. In this case the popular median is exp(3) = 20.09.
# Generate each random number every 0.3 seconds.
Toshiyuki Shimono bin4tsv@gmail.com
This program has been made since 2016-07-07 (Thu) as a part of TSV hacking toolset for table data.
To install Bin::Gen::Rand, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Bin::Gen::Rand
CPAN shell
perl -MCPAN -e shell install Bin::Gen::Rand
For more information on module installation, please visit the detailed CPAN module installation guide.