| 1 | package Math::BivariateCDF; | ||||||||||
| 2 | |||||||||||
| 3 | 1 | ▶ | use 5.014002; | ||||||||
|
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 | 1 | ▶ | use Carp; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 7 | |||||||||||
| 8 | 1 | require Exporter; | |||||||||
| 9 | 1 | ▶ | use AutoLoader; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 10 | |||||||||||
| 11 | 1 | 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 | 1 | 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 | 1 | our @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } ); | |||||||||
| 31 | |||||||||||
| 32 | 1 | our @EXPORT = qw( | |||||||||
| 33 | |||||||||||
| 34 | ); | ||||||||||
| 35 | |||||||||||
| 36 | 1 | 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 | ▶ | my $constname; | ||||||||
|
Subroutine
AUTOLOAD: not called CC=3 SCAR=21.1
| |||||||||||
| 43 | 0 | our $AUTOLOAD; | |||||||||
| 44 | 0 | ($constname = $AUTOLOAD) =~ s/.*:://; | |||||||||
| 45 | 0 | ▶ | croak "&Math::BivariateCDF::constant not defined" if $constname eq 'constant'; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 46 | 0 | my ($error, $val) = constant($constname); | |||||||||
| 47 | 0 | ▶ | if ($error) { croak $error; } | ||||||||
|
Branch: 1 branch
| |||||||||||
| 48 | { | ||||||||||
| 49 | 1 | ▶ | no strict 'refs'; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.2
| |||||||||||
| 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 | ▶ | *$AUTOLOAD = sub { $val }; | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 56 | #XXX } | ||||||||||
| 57 | } | ||||||||||
| 58 | 0 | goto &$AUTOLOAD; | |||||||||
| 59 | } | ||||||||||
| 60 | |||||||||||
| 61 | 1 | require XSLoader; | |||||||||
| 62 | 1 | 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 | 1; | |||||||||
| 69 | __END__ | ||||||||||