App::cointoss - The command "cointoss" for a Bernoulli and a binomial distribution as well is provided.
cointoss [-p success_probability] [-b trials] [-g how_many] [-s seed] [-1]
cointoss [--help [ja] ] [--version]
Generates random numbers obeying Bernoulli and a binomial distribution.
- -b N
The number of trials for a binomial distribution. It is the Bernoulli distribution when N=1.
- -g N or -g N,N
How many random numbers you want. Given N,N or NxN form, a random matrix will be yielded.
- -p N
The success probability for the binomial distribution.
- -s N
The random seed. The residual divided by 2**32 is essential.
The secondary information such as the random seed used will be suppressed.
Shows this online help manual.
- --help ja
Shows the Japanese online help manual.
Shows the version number of this program.
This program has been made since 2016-08-08 (Mon) as a part of TSV hacking toolset for table data.
<bin4tsv at gmail.com>
Please report any bugs or feature requests to
bug-app-cointoss at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=App-cointoss. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
You can find documentation for this module with the perldoc command.
You can also look for information at:
RT: CPAN's request tracker (report bugs here)
AnnoCPAN: Annotated CPAN documentation
Copyright 2018 "Toshiyuki Shimono".
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.