| 1 | package App::t1generate; | ||
| 2 | |||
| 3 | 1 | ▶ | use 5.006; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | =head1 NAME | ||
| 8 | |||
| 9 | App::t1generate - The generator of random numbers obeying the Cauchy distribution (t distribution with df = 1). | ||
| 10 | |||
| 11 | =head1 VERSION | ||
| 12 | |||
| 13 | Version 0.24 | ||
| 14 | |||
| 15 | =cut | ||
| 16 | |||
| 17 | 1 | our $VERSION = '0.24'; | |
| 18 | |||
| 19 | |||
| 20 | =head1 SYNOPSIS | ||
| 21 | |||
| 22 | t1generate [B<-g> how_many] [B<-s> seed] [B<-.> digits] [B<-1>] | ||
| 23 | |||
| 24 | t1generate [B<--help> [ja] ] [B<--version>] | ||
| 25 | |||
| 26 | =head1 DESCRIPTION | ||
| 27 | |||
| 28 | Generates random variables obeying the Cauchy distribution (same to the t distribution with df = 1). | ||
| 29 | |||
| 30 | =head1 OPTION | ||
| 31 | |||
| 32 | =over 4 | ||
| 33 | |||
| 34 | =item B<-g> N | ||
| 35 | |||
| 36 | The number of variables to be generated. | ||
| 37 | |||
| 38 | =item B<-s> N | ||
| 39 | |||
| 40 | Random seed specification. | ||
| 41 | |||
| 42 | =item B<-.> N | ||
| 43 | |||
| 44 | Digits after decimal points in the output. | ||
| 45 | |||
| 46 | =item B<-1> | ||
| 47 | |||
| 48 | No secondary information such as seed and sums in the output. | ||
| 49 | |||
| 50 | =item B<--help> | ||
| 51 | |||
| 52 | Print this online help manual of this command "t1generate". Similar to "perldoc `which [-t] t1generate` ". | ||
| 53 | |||
| 54 | =item B<--help ja> | ||
| 55 | |||
| 56 | Shows Japanese online help manual. | ||
| 57 | |||
| 58 | =item B<--version> | ||
| 59 | |||
| 60 | Shows the version information of this program. | ||
| 61 | |||
| 62 | =back | ||
| 63 | |||
| 64 | =head1 HISTORY | ||
| 65 | |||
| 66 | This program has been made since 2016-08-16 (Tue) | ||
| 67 | as a part of TSV hacking toolset for table data. | ||
| 68 | |||
| 69 | |||
| 70 | =head1 AUTHOR | ||
| 71 | |||
| 72 | "Toshiyuki Shimono", C<< <bin4tsv at gmail.com> >> | ||
| 73 | |||
| 74 | =head1 BUGS | ||
| 75 | |||
| 76 | Please report any bugs or feature requests to C<bug-app-t1generate at rt.cpan.org>, or through | ||
| 77 | the web interface at L<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=App-t1generate>. I will be notified, and then you'll | ||
| 78 | automatically be notified of progress on your bug as I make changes. | ||
| 79 | |||
| 80 | |||
| 81 | |||
| 82 | |||
| 83 | =head1 SUPPORT | ||
| 84 | |||
| 85 | You can find documentation for this module with the perldoc command. | ||
| 86 | |||
| 87 | perldoc App::t1generate | ||
| 88 | |||
| 89 | |||
| 90 | You can also look for information at: | ||
| 91 | |||
| 92 | =over 4 | ||
| 93 | |||
| 94 | =item * RT: CPAN's request tracker (report bugs here) | ||
| 95 | |||
| 96 | L<http://rt.cpan.org/NoAuth/Bugs.html?Dist=App-t1generate> | ||
| 97 | |||
| 98 | =item * AnnoCPAN: Annotated CPAN documentation | ||
| 99 | |||
| 100 | L<http://annocpan.org/dist/App-t1generate> | ||
| 101 | |||
| 102 | =item * CPAN Ratings | ||
| 103 | |||
| 104 | L<http://cpanratings.perl.org/d/App-t1generate> | ||
| 105 | |||
| 106 | =item * Search CPAN | ||
| 107 | |||
| 108 | L<http://search.cpan.org/dist/App-t1generate/> | ||
| 109 | |||
| 110 | =back | ||
| 111 | |||
| 112 | |||
| 113 | =head1 ACKNOWLEDGEMENTS | ||
| 114 | |||
| 115 | |||
| 116 | =head1 LICENSE AND COPYRIGHT | ||
| 117 | |||
| 118 | Copyright 2018 "Toshiyuki Shimono". | ||
| 119 | |||
| 120 | This program is free software: you can redistribute it and/or modify | ||
| 121 | it under the terms of the GNU General Public License as published by | ||
| 122 | the Free Software Foundation, either version 3 of the License, or | ||
| 123 | (at your option) any later version. | ||
| 124 | |||
| 125 | This program is distributed in the hope that it will be useful, | ||
| 126 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 127 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 128 | GNU General Public License for more details. | ||
| 129 | |||
| 130 | You should have received a copy of the GNU General Public License | ||
| 131 | along with this program. If not, see L<http://www.gnu.org/licenses/>. | ||
| 132 | |||
| 133 | |||
| 134 | =cut | ||
| 135 | |||
| 136 | 1 | 1; # End of App::t1generate | |