NAME

cointoss

VERSION

0.12 (2018-07-03)

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>

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