NAME

App::cointoss - The command "cointoss" for a Bernoulli and a binomial distribution as well is provided.

VERSION

Version 0.12

SYNOPSIS

cointoss [-p success_probability] [-b trials] [-g how_many] [-s seed] [-1]

cointoss [--help [ja] ] [--version]

DESCRIPTION

Generates random numbers obeying Bernoulli and a binomial distribution.

OPTION

-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.

-1

The secondary information such as the random seed used will be suppressed.

--help

Shows this online help manual.

--help ja

Shows the Japanese online help manual.

--vesrion

Shows the version number of this program.

HISTORY

This program has been made since 2016-08-08 (Mon) as a part of TSV hacking toolset for table data.

AUTHOR

"Toshiyuki Shimono", <bin4tsv at gmail.com>

BUGS

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.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc App::cointoss

You can also look for information at:

LICENSE AND COPYRIGHT

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/.