NAME
App::saikoro - A random number (matrix) generator of uniform distributions. Saikoro is a Japanese dice.
VERSION
Version 0.24
SYNOPSIS
saikoro -g I,J -y L..U # I,J,L,U are all numbers.
DESCRIPTION
A random number(matrix) generator from uniform distributions. Generates random uniform variable. Discrete/uniform can be specified.
OPTION
- -g N
-
Get N random variables.
- -g N1,N2
-
Get N1 times N2 variables. N1 for vertical, N2 for horizontal. The form "-g N1xN2" is allowed.
- -~
-
The number specifications N1 and N2 are reversed.
- -y N1,N2
-
Limit the values into the number interval [N1,N2]. The form "-y N1..N2" is also allowed.
- -. N
-
Switch to continuous from discrete. N digits after decimal points by rounding. N=0 means integers
- -1
-
Switch to no secondary information that would be output to STDOUT.
- -s N
-
Random seed specification. Essentially the residual divided by 2**32 is used.
- -/ char
-
Specifies the horizontal separator character.
- --help
-
Print this online help manual of this command "saikoro". Similar to "perldoc `which [-t] saikoro` ".
- --help opt
-
Only shows the option helps. It is easy to read when you are in very necessary.
- --help ja
-
Shows Japanese online help manual.
- --help nopod
-
Print this online manual using the code insdide this program without using the function of Perl POD.
- --version
-
Outputs version information of this program.
EXAMPLES
- saikoro
-
# Outputs 12 random numbers from {1,2,3,4,5,6} horizontally.
- saikoro -~
-
# Outputs 12 random numbers from {1,2,3,4,5,6} vertically.
- saikoro -g 5,8
-
# 5 x 8 matrix whose elements are from {1,2,..,6}.
- saikoro -g 5,8 -y 0,100
-
# 5 x 8 matrix whose elements are from {0, 1, 2,..,100}.
- saikoro -g 5,8 -. 3
-
# Continuous random variables with 3 digits after decimal points.
AUTHOR
"Toshiyuki Shimono", <bin4tsv at gmail.com>
HISTORY
This program has been made since 2016-03-04 (Fri) as a part of TSV hacking toolset for table data.
BUGS
Please report any bugs or feature requests to bug-app-saikoro at rt.cpan.org
, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=App-saikoro. 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::saikoro
You can also look for information at:
RT: CPAN's request tracker (report bugs here)
AnnoCPAN: Annotated CPAN documentation
CPAN Ratings
Search CPAN
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/.