File Coverage

blib/lib/PDL/NDBin/Utils_PP.pm
Criterion Covered Total %
statement 9 9 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 13 13 100.0


line stmt bran cond sub pod time code
1              
2             #
3             # GENERATED WITH PDL::PP! Don't modify!
4             #
5             package PDL::NDBin::Utils_PP;
6              
7             @EXPORT_OK = qw( PDL::PP _validate_grid );
8             %EXPORT_TAGS = (Func=>[@EXPORT_OK]);
9              
10 3     3   21 use PDL::Core;
  3         5  
  3         18  
11 3     3   765 use PDL::Exporter;
  3         5  
  3         26  
12 3     3   107 use DynaLoader;
  3         7  
  3         234  
13              
14              
15              
16             $PDL::NDBin::Utils_PP::VERSION = 0.020;
17             @ISA = ( 'PDL::Exporter','DynaLoader' );
18             push @PDL::Core::PP, __PACKAGE__;
19             bootstrap PDL::NDBin::Utils_PP $VERSION;
20              
21              
22       3     BEGIN {
23              
24             # ABSTRACT: XS utils for PDL::NDBin
25              
26             =head1 NAME
27              
28             PDL::NDBin::Utils_PP - XS utils for PDL::NDBin
29              
30             =head1 DESCRIPTION
31              
32             This module contains internal utilities for PDL::NDBin. The
33             subroutines are not intended to be called by the user.
34              
35             =cut
36              
37             # silence Test::Pod::Coverage warning
38             =for Pod::Coverage set_boundscheck set_debugging
39              
40             =cut
41              
42              
43              
44             }
45              
46              
47              
48              
49              
50             =head1 FUNCTIONS
51              
52              
53              
54             =cut
55              
56              
57              
58              
59              
60              
61             =head2 _validate_grid
62              
63             =for sig
64              
65             Signature: (grid(n))
66              
67             Validate a grid.
68              
69             This function throws an exception if a grid is not monotonically increasing or decreasing.
70              
71             =for bad
72              
73             _validate_grid does not process bad values.
74             It will set the bad-value flag of all output piddles if the flag is set for any of the input piddles.
75              
76              
77             =cut
78              
79              
80              
81              
82              
83              
84             *_validate_grid = \&PDL::_validate_grid;
85              
86              
87              
88             ;
89              
90              
91              
92             # Exit with OK status
93              
94             1;
95              
96