line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Math::BivariateCDF; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
16851
|
use 5.014002; |
|
1
|
|
|
|
|
2
|
|
4
|
1
|
|
|
1
|
|
4
|
use strict; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
24
|
|
5
|
1
|
|
|
1
|
|
3
|
use warnings; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
23
|
|
6
|
1
|
|
|
1
|
|
6
|
use Carp; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
70
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
require Exporter; |
9
|
1
|
|
|
1
|
|
665
|
use AutoLoader; |
|
1
|
|
|
|
|
1290
|
|
|
1
|
|
|
|
|
4
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
our @ISA = qw(Exporter); |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
# Items to export into callers namespace by default. Note: do not export |
14
|
|
|
|
|
|
|
# names by default without a very good reason. Use EXPORT_OK instead. |
15
|
|
|
|
|
|
|
# Do not simply export all your public functions/methods/constants. |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
# This allows declaration use Math::BivariateCDF ':all'; |
18
|
|
|
|
|
|
|
# If you do not need this, moving things directly into @EXPORT or @EXPORT_OK |
19
|
|
|
|
|
|
|
# will save memory. |
20
|
|
|
|
|
|
|
our %EXPORT_TAGS = ( 'all' => [ qw( |
21
|
|
|
|
|
|
|
bivariate_normal_cdf_values |
22
|
|
|
|
|
|
|
bivnor |
23
|
|
|
|
|
|
|
gauss |
24
|
|
|
|
|
|
|
r8_abs |
25
|
|
|
|
|
|
|
r8_max |
26
|
|
|
|
|
|
|
r8_min |
27
|
|
|
|
|
|
|
timestamp |
28
|
|
|
|
|
|
|
) ] ); |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
our @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } ); |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
our @EXPORT = qw( |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
); |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
our $VERSION = '0.01_1'; |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
sub AUTOLOAD { |
39
|
|
|
|
|
|
|
# This AUTOLOAD is used to 'autoload' constants from the constant() |
40
|
|
|
|
|
|
|
# XS function. |
41
|
|
|
|
|
|
|
|
42
|
0
|
|
|
0
|
|
|
my $constname; |
43
|
0
|
|
|
|
|
|
our $AUTOLOAD; |
44
|
0
|
|
|
|
|
|
($constname = $AUTOLOAD) =~ s/.*:://; |
45
|
0
|
0
|
|
|
|
|
croak "&Math::BivariateCDF::constant not defined" if $constname eq 'constant'; |
46
|
0
|
|
|
|
|
|
my ($error, $val) = constant($constname); |
47
|
0
|
0
|
|
|
|
|
if ($error) { croak $error; } |
|
0
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
{ |
49
|
1
|
|
|
1
|
|
173
|
no strict 'refs'; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
95
|
|
|
0
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
# Fixed between 5.005_53 and 5.005_61 |
51
|
|
|
|
|
|
|
#XXX if ($] >= 5.00561) { |
52
|
|
|
|
|
|
|
#XXX *$AUTOLOAD = sub () { $val }; |
53
|
|
|
|
|
|
|
#XXX } |
54
|
|
|
|
|
|
|
#XXX else { |
55
|
0
|
|
|
0
|
|
|
*$AUTOLOAD = sub { $val }; |
|
0
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
#XXX } |
57
|
|
|
|
|
|
|
} |
58
|
0
|
|
|
|
|
|
goto &$AUTOLOAD; |
59
|
|
|
|
|
|
|
} |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
require XSLoader; |
62
|
|
|
|
|
|
|
XSLoader::load('Math::BivariateCDF', $VERSION); |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
# Preloaded methods go here. |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
# Autoload methods go after =cut, and are processed by the autosplit program. |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
1; |
69
|
|
|
|
|
|
|
__END__ |