blib/lib/App/horsekicks.pm

filter: Statementstmt 100% 10 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 13 / 13 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
↑ Summary
1 package App::horsekicks;
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::horsekicks - The great new App::horsekicks!
10  
11 =head1 VERSION
12  
13 Version 0.13
14  
15 =cut
16  
17 1 our $VERSION = '0.13';
18  
19 =head1 VERSION
20  
21 0.13 (2018-07-03)
22  
23 =head1 SYNOPSIS
24  
25 horsekicks [B<-m> mean] [B<-g> how_many] [B<-s> seed] [B<-1>]
26  
27 horsekicks [B<--help> [ja] ] [B<--version>]
28  
29 =head1 DESCRIPTION
30  
31 Generates Poisson random numbers (random variables obeying a Poisson distribution).
32  
33 =head1 OPTION
34  
35 =over 4
36  
37 =item B<-g> N
38  
39 How many random numbers you want in an integer number. "Inf" can be specified. Default value: 8.
40  
41 =item B<-m> N
42  
43 The population mean (average). Default value: 1.0
44  
45 =item B<-s> N
46  
47 Random seed. The residual divided by 2*32 is essential.
48  
49 =item B<-1>
50  
51 No secondary information such as random seed on STDERR.
52  
53 =item B<--help>
54  
55 Help message similar appeared here.
56  
57 =item B<--help ja>
58  
59 Japanese manual of this program is shown.
60  
61 =item B<--version>
62  
63 The version information of this program is displayed.
64  
65 =back
66  
67 =head1 REMARKS
68  
69 The calculation time costs proportional to the specified population mean.
70 And the population mean should be less than 700 because the internal
71 calculation by this program causes exp(-750) = 0 .
72  
73 =head1 HISTORY
74  
75 This program has been made since 2016-07-14 (Wed)
76 as a part of TSV hacking toolset for table data.
77  
78 =head1 AUTHOR
79  
80 "Toshiyuki Shimono", C<< <bin4tsv at gmail.com> >>
81  
82 =head1 BUGS
83  
84 Please report any bugs or feature requests to C<bug-app-horsekicks at rt.cpan.org>, or through
85 the web interface at L<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=App-horsekicks>. I will be notified, and then you'll
86 automatically be notified of progress on your bug as I make changes.
87  
88  
89  
90  
91 =head1 SUPPORT
92  
93 You can find documentation for this module with the perldoc command.
94  
95 perldoc App::horsekicks
96  
97  
98 You can also look for information at:
99  
100 =over 4
101  
102 =item * RT: CPAN's request tracker (report bugs here)
103  
104 L<http://rt.cpan.org/NoAuth/Bugs.html?Dist=App-horsekicks>
105  
106 =item * AnnoCPAN: Annotated CPAN documentation
107  
108 L<http://annocpan.org/dist/App-horsekicks>
109  
110 =item * CPAN Ratings
111  
112 L<http://cpanratings.perl.org/d/App-horsekicks>
113  
114 =item * Search CPAN
115  
116 L<http://search.cpan.org/dist/App-horsekicks/>
117  
118 =back
119  
120  
121 =head1 LICENSE AND COPYRIGHT
122  
123 Copyright 2018 "Toshiyuki Shimono".
124  
125 This program is free software: you can redistribute it and/or modify
126 it under the terms of the GNU General Public License as published by
127 the Free Software Foundation, either version 3 of the License, or
128 (at your option) any later version.
129  
130 This program is distributed in the hope that it will be useful,
131 but WITHOUT ANY WARRANTY; without even the implied warranty of
132 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
133 GNU General Public License for more details.
134  
135 You should have received a copy of the GNU General Public License
136 along with this program. If not, see L<http://www.gnu.org/licenses/>.
137  
138  
139 =cut
140  
141 1 1; # End of App::horsekicks
↑ Summary