lib/PDL/Math.xs

filter: Statementstmt 81.7% 121 / 148 Branchbran 32.1% 400 / 1246 Conditioncond n/a MC/DCmcdc n/a Subroutinesub n/a Podpod n/a totaltotal 37.3% 521 / 1394 CC 0 SCAR 0
CC
0
Cov
0%
CRAP 0
« lib/PDL/Ops-pp-r2C.c ↑ Summary lib/PDL/Ops-pp-eq.c »
1  
2 #line 453 "lib/PDL/PP.pm"
3 /*
4 * THIS FILE WAS GENERATED BY PDL::PP from lib/PDL/Math.pd! Do not modify!
5 */
6  
7 #define PDL_FREE_CODE(trans, destroy, comp_free_code, ntpriv_free_code) \
8 if (destroy) { \
9 comp_free_code \
10 } \
11 if ((trans)->dims_redone) { \
12 ntpriv_free_code \
13 }
14  
15 #include "EXTERN.h"
16 #include "perl.h"
17 #include "XSUB.h"
18 #include "pdl.h"
19 #include "pdlcore.h"
20 #define PDL PDL_Math
21 extern Core* PDL; /* Structure hold core C functions */
22 #line 23 "lib/PDL/Math.xs"
23  
24 #include <tgmath.h>
25 #include "protos.h"
26 #include "cpoly.h"
27 pdl_error pdl_run_acos(pdl *a,pdl *b);
28 pdl_error pdl_run_asin(pdl *a,pdl *b);
29 pdl_error pdl_run_atan(pdl *a,pdl *b);
30 pdl_error pdl_run_cosh(pdl *a,pdl *b);
31 pdl_error pdl_run_sinh(pdl *a,pdl *b);
32 pdl_error pdl_run_tan(pdl *a,pdl *b);
33 pdl_error pdl_run_tanh(pdl *a,pdl *b);
34 pdl_error pdl_run_ceil(pdl *a,pdl *b);
35 pdl_error pdl_run_floor(pdl *a,pdl *b);
36 pdl_error pdl_run_rint(pdl *a,pdl *b);
37 pdl_error pdl_run_pow(pdl *a,pdl *b,pdl *c);
38 pdl_error pdl_run_acosh(pdl *a,pdl *b);
39 pdl_error pdl_run_asinh(pdl *a,pdl *b);
40 pdl_error pdl_run_atanh(pdl *a,pdl *b);
41 pdl_error pdl_run_erf(pdl *a,pdl *b);
42 pdl_error pdl_run_erfc(pdl *a,pdl *b);
43 pdl_error pdl_run_bessj0(pdl *a,pdl *b);
44 pdl_error pdl_run_bessj1(pdl *a,pdl *b);
45 pdl_error pdl_run_bessy0(pdl *a,pdl *b);
46 pdl_error pdl_run_bessy1(pdl *a,pdl *b);
47 pdl_error pdl_run_bessjn(pdl *a,pdl *n,pdl *b);
48 pdl_error pdl_run_bessyn(pdl *a,pdl *n,pdl *b);
49 pdl_error pdl_run_lgamma(pdl *a,pdl *b,pdl *s);
50 pdl_error pdl_run_isfinite(pdl *a,pdl *mask);
51 pdl_error pdl_run_erfi(pdl *a,pdl *b);
52 pdl_error pdl_run_ndtri(pdl *a,pdl *b);
53 pdl_error pdl_run_polyroots(pdl *cr,pdl *ci,pdl *rr,pdl *ri);
54 pdl_error pdl_run_polyfromroots(pdl *r,pdl *c);
55 pdl_error pdl_run_polyval(pdl *c,pdl *x,pdl *y);
56 pdl_error pdl_run_csqrt(pdl *i,pdl *o);
57 pdl_error pdl_run_clog(pdl *i,pdl *o);
58 pdl_error pdl_run_cacos(pdl *i,pdl *o);
59 pdl_error pdl_run_casin(pdl *i,pdl *o);
60 pdl_error pdl_run_casinh(pdl *i,pdl *o);
61 pdl_error pdl_run_cacosh(pdl *i,pdl *o);
62 pdl_error pdl_run_catanh(pdl *i,pdl *o);
63 pdl_error pdl_run_csqrt_up(pdl *i,pdl *o);
64  
65 #line 449 "lib/PDL/PP.pm"
66 #include "pdlperl.h"
67 #line 68 "lib/PDL/Math.xs"
68  
69 Core* PDL = NULL; /* Structure hold core C functions */
70  
71 MODULE = PDL::Math PACKAGE = PDL PREFIX=pdl_run_
72  
73 PROTOTYPES: DISABLE
74  
75  
76 void
77 pdl_run_acos(a, b=b)
78 SV *b_SV = items > 1 ? ST(1) : NULL;
79 PREINIT:
80 3 ▶ PDL_XS_PREAMBLE((items == 2) ? 0 : 1);
Branch: 10 branches
BranchTrueFalseTotal
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 2 1 3
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 2 2
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 2 0 2
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 2 0 2
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 2 0 2
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 2 2
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 2 0 2
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 2 2
81 INPUT:
82 pdl *a
83 pdl *b=NO_INIT
84 PPCODE:
85 3 ▶ PDL_XS_INPLACE(a, b)
Branch: 4 branches
BranchTrueFalseTotal
PDL_XS_INPLACE(a, b) 0 3 3
PDL_XS_INPLACE(a, b) 0 0 0
PDL_XS_INPLACE(a, b) 0 3 3
PDL_XS_INPLACE(a, b) 1 2 3
86 3 PDL->barf_if_error(pdl_run_acos(a,b));
87 3 ▶ PDL_XS_RETURN(ST(0) = b_SV)
Branch: 5 branches
BranchTrueFalseTotal
PDL_XS_RETURN(ST(0) = b_SV) 3 0 3
PDL_XS_RETURN(ST(0) = b_SV) 3 0 3
PDL_XS_RETURN(ST(0) = b_SV) 3 0 3
PDL_XS_RETURN(ST(0) = b_SV) 0 3 3
PDL_XS_RETURN(ST(0) = b_SV) 0 0 0
88  
89 void
90 pdl_run_asin(a, b=b)
91 SV *b_SV = items > 1 ? ST(1) : NULL;
92 PREINIT:
93 18 ▶ PDL_XS_PREAMBLE((items == 2) ? 0 : 1);
Branch: 10 branches
BranchTrueFalseTotal
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 16 2 18
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 16 16
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 16 0 16
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 16 0 16
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 16 0 16
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 16 16
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 16 0 16
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 16 16
94 INPUT:
95 pdl *a
96 pdl *b=NO_INIT
97 PPCODE:
98 18 ▶ PDL_XS_INPLACE(a, b)
Branch: 4 branches
BranchTrueFalseTotal
PDL_XS_INPLACE(a, b) 0 18 18
PDL_XS_INPLACE(a, b) 0 0 0
PDL_XS_INPLACE(a, b) 0 18 18
PDL_XS_INPLACE(a, b) 2 16 18
99 18 PDL->barf_if_error(pdl_run_asin(a,b));
100 18 ▶ PDL_XS_RETURN(ST(0) = b_SV)
Branch: 5 branches
BranchTrueFalseTotal
PDL_XS_RETURN(ST(0) = b_SV) 18 0 18
PDL_XS_RETURN(ST(0) = b_SV) 18 0 18
PDL_XS_RETURN(ST(0) = b_SV) 18 0 18
PDL_XS_RETURN(ST(0) = b_SV) 0 18 18
PDL_XS_RETURN(ST(0) = b_SV) 0 0 0
101  
102 void
103 pdl_run_atan(a, b=b)
104 SV *b_SV = items > 1 ? ST(1) : NULL;
105 PREINIT:
106 6 ▶ PDL_XS_PREAMBLE((items == 2) ? 0 : 1);
Branch: 10 branches
BranchTrueFalseTotal
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 5 1 6
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 5 5
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 5 0 5
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 5 0 5
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 5 0 5
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 5 5
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 5 0 5
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 5 5
107 INPUT:
108 pdl *a
109 pdl *b=NO_INIT
110 PPCODE:
111 6 ▶ PDL_XS_INPLACE(a, b)
Branch: 4 branches
BranchTrueFalseTotal
PDL_XS_INPLACE(a, b) 0 6 6
PDL_XS_INPLACE(a, b) 0 0 0
PDL_XS_INPLACE(a, b) 0 6 6
PDL_XS_INPLACE(a, b) 1 5 6
112 6 PDL->barf_if_error(pdl_run_atan(a,b));
113 6 ▶ PDL_XS_RETURN(ST(0) = b_SV)
Branch: 5 branches
BranchTrueFalseTotal
PDL_XS_RETURN(ST(0) = b_SV) 6 0 6
PDL_XS_RETURN(ST(0) = b_SV) 6 0 6
PDL_XS_RETURN(ST(0) = b_SV) 6 0 6
PDL_XS_RETURN(ST(0) = b_SV) 0 6 6
PDL_XS_RETURN(ST(0) = b_SV) 0 0 0
114  
115 void
116 pdl_run_cosh(a, b=b)
117 SV *b_SV = items > 1 ? ST(1) : NULL;
118 PREINIT:
119 1 ▶ PDL_XS_PREAMBLE((items == 2) ? 0 : 1);
Branch: 10 branches
BranchTrueFalseTotal
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 1 1
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
120 INPUT:
121 pdl *a
122 pdl *b=NO_INIT
123 PPCODE:
124 1 ▶ PDL_XS_INPLACE(a, b)
Branch: 4 branches
BranchTrueFalseTotal
PDL_XS_INPLACE(a, b) 0 1 1
PDL_XS_INPLACE(a, b) 0 0 0
PDL_XS_INPLACE(a, b) 0 1 1
PDL_XS_INPLACE(a, b) 1 0 1
125 1 PDL->barf_if_error(pdl_run_cosh(a,b));
126 1 ▶ PDL_XS_RETURN(ST(0) = b_SV)
Branch: 5 branches
BranchTrueFalseTotal
PDL_XS_RETURN(ST(0) = b_SV) 1 0 1
PDL_XS_RETURN(ST(0) = b_SV) 1 0 1
PDL_XS_RETURN(ST(0) = b_SV) 1 0 1
PDL_XS_RETURN(ST(0) = b_SV) 0 1 1
PDL_XS_RETURN(ST(0) = b_SV) 0 0 0
127  
128 void
129 pdl_run_sinh(a, b=b)
130 SV *b_SV = items > 1 ? ST(1) : NULL;
131 PREINIT:
132 2 ▶ PDL_XS_PREAMBLE((items == 2) ? 0 : 1);
Branch: 10 branches
BranchTrueFalseTotal
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 1 1 2
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 1 1
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 1 0 1
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 1 0 1
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 1 0 1
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 1 1
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 1 0 1
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 1 1
133 INPUT:
134 pdl *a
135 pdl *b=NO_INIT
136 PPCODE:
137 2 ▶ PDL_XS_INPLACE(a, b)
Branch: 4 branches
BranchTrueFalseTotal
PDL_XS_INPLACE(a, b) 1 1 2
PDL_XS_INPLACE(a, b) 0 1 1
PDL_XS_INPLACE(a, b) 0 1 1
PDL_XS_INPLACE(a, b) 1 0 1
138 2 PDL->barf_if_error(pdl_run_sinh(a,b));
139 2 ▶ PDL_XS_RETURN(ST(0) = b_SV)
Branch: 5 branches
BranchTrueFalseTotal
PDL_XS_RETURN(ST(0) = b_SV) 2 0 2
PDL_XS_RETURN(ST(0) = b_SV) 2 0 2
PDL_XS_RETURN(ST(0) = b_SV) 2 0 2
PDL_XS_RETURN(ST(0) = b_SV) 0 2 2
PDL_XS_RETURN(ST(0) = b_SV) 0 0 0
140  
141 void
142 pdl_run_tan(a, b=b)
143 SV *b_SV = items > 1 ? ST(1) : NULL;
144 PREINIT:
145 6 ▶ PDL_XS_PREAMBLE((items == 2) ? 0 : 1);
Branch: 10 branches
BranchTrueFalseTotal
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 6 0 6
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 6 6
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 6 0 6
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 6 0 6
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 6 0 6
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 6 6
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 6 0 6
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 6 6
146 INPUT:
147 pdl *a
148 pdl *b=NO_INIT
149 PPCODE:
150 6 ▶ PDL_XS_INPLACE(a, b)
Branch: 4 branches
BranchTrueFalseTotal
PDL_XS_INPLACE(a, b) 0 6 6
PDL_XS_INPLACE(a, b) 0 0 0
PDL_XS_INPLACE(a, b) 0 6 6
PDL_XS_INPLACE(a, b) 0 6 6
151 6 PDL->barf_if_error(pdl_run_tan(a,b));
152 6 ▶ PDL_XS_RETURN(ST(0) = b_SV)
Branch: 5 branches
BranchTrueFalseTotal
PDL_XS_RETURN(ST(0) = b_SV) 6 0 6
PDL_XS_RETURN(ST(0) = b_SV) 6 0 6
PDL_XS_RETURN(ST(0) = b_SV) 6 0 6
PDL_XS_RETURN(ST(0) = b_SV) 0 6 6
PDL_XS_RETURN(ST(0) = b_SV) 0 0 0
153  
154 void
155 pdl_run_tanh(a, b=b)
156 SV *b_SV = items > 1 ? ST(1) : NULL;
157 PREINIT:
158 1 ▶ PDL_XS_PREAMBLE((items == 2) ? 0 : 1);
Branch: 10 branches
BranchTrueFalseTotal
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 1 1
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
159 INPUT:
160 pdl *a
161 pdl *b=NO_INIT
162 PPCODE:
163 1 ▶ PDL_XS_INPLACE(a, b)
Branch: 4 branches
BranchTrueFalseTotal
PDL_XS_INPLACE(a, b) 0 1 1
PDL_XS_INPLACE(a, b) 0 0 0
PDL_XS_INPLACE(a, b) 0 1 1
PDL_XS_INPLACE(a, b) 1 0 1
164 1 PDL->barf_if_error(pdl_run_tanh(a,b));
165 1 ▶ PDL_XS_RETURN(ST(0) = b_SV)
Branch: 5 branches
BranchTrueFalseTotal
PDL_XS_RETURN(ST(0) = b_SV) 1 0 1
PDL_XS_RETURN(ST(0) = b_SV) 1 0 1
PDL_XS_RETURN(ST(0) = b_SV) 1 0 1
PDL_XS_RETURN(ST(0) = b_SV) 0 1 1
PDL_XS_RETURN(ST(0) = b_SV) 0 0 0
166  
167 void
168 pdl_run_ceil(a, b=b)
169 SV *b_SV = items > 1 ? ST(1) : NULL;
170 PREINIT:
171 20 ▶ PDL_XS_PREAMBLE((items == 2) ? 0 : 1);
Branch: 10 branches
BranchTrueFalseTotal
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 20 0 20
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 20 20
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 20 0 20
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 20 0 20
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 20 0 20
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 20 20
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 20 0 20
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 20 20
172 INPUT:
173 pdl *a
174 pdl *b=NO_INIT
175 PPCODE:
176 20 ▶ PDL_XS_INPLACE(a, b)
Branch: 4 branches
BranchTrueFalseTotal
PDL_XS_INPLACE(a, b) 0 20 20
PDL_XS_INPLACE(a, b) 0 0 0
PDL_XS_INPLACE(a, b) 0 20 20
PDL_XS_INPLACE(a, b) 0 20 20
177 20 PDL->barf_if_error(pdl_run_ceil(a,b));
178 20 ▶ PDL_XS_RETURN(ST(0) = b_SV)
Branch: 5 branches
BranchTrueFalseTotal
PDL_XS_RETURN(ST(0) = b_SV) 20 0 20
PDL_XS_RETURN(ST(0) = b_SV) 20 0 20
PDL_XS_RETURN(ST(0) = b_SV) 20 0 20
PDL_XS_RETURN(ST(0) = b_SV) 0 20 20
PDL_XS_RETURN(ST(0) = b_SV) 0 0 0
179  
180 void
181 pdl_run_floor(a, b=b)
182 SV *b_SV = items > 1 ? ST(1) : NULL;
183 PREINIT:
184 90 ▶ PDL_XS_PREAMBLE((items == 2) ? 0 : 1);
Branch: 10 branches
BranchTrueFalseTotal
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 90 0 90
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 90 90
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 90 0 90
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 90 0 90
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 90 0 90
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 90 90
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 90 0 90
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 90 90
185 INPUT:
186 pdl *a
187 pdl *b=NO_INIT
188 PPCODE:
189 90 ▶ PDL_XS_INPLACE(a, b)
Branch: 4 branches
BranchTrueFalseTotal
PDL_XS_INPLACE(a, b) 0 90 90
PDL_XS_INPLACE(a, b) 0 0 0
PDL_XS_INPLACE(a, b) 0 90 90
PDL_XS_INPLACE(a, b) 0 90 90
190 90 PDL->barf_if_error(pdl_run_floor(a,b));
191 90 ▶ PDL_XS_RETURN(ST(0) = b_SV)
Branch: 5 branches
BranchTrueFalseTotal
PDL_XS_RETURN(ST(0) = b_SV) 90 0 90
PDL_XS_RETURN(ST(0) = b_SV) 90 0 90
PDL_XS_RETURN(ST(0) = b_SV) 90 0 90
PDL_XS_RETURN(ST(0) = b_SV) 0 90 90
PDL_XS_RETURN(ST(0) = b_SV) 0 0 0
192  
193 void
194 pdl_run_rint(a, b=b)
195 SV *b_SV = items > 1 ? ST(1) : NULL;
196 PREINIT:
197 7 ▶ PDL_XS_PREAMBLE((items == 2) ? 0 : 1);
Branch: 10 branches
BranchTrueFalseTotal
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 7 0 7
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 7 7
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 7 0 7
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 7 0 7
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 7 0 7
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 7 7
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 7 0 7
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 7 7
198 INPUT:
199 pdl *a
200 pdl *b=NO_INIT
201 PPCODE:
202 7 ▶ PDL_XS_INPLACE(a, b)
Branch: 4 branches
BranchTrueFalseTotal
PDL_XS_INPLACE(a, b) 0 7 7
PDL_XS_INPLACE(a, b) 0 0 0
PDL_XS_INPLACE(a, b) 0 7 7
PDL_XS_INPLACE(a, b) 0 7 7
203 7 PDL->barf_if_error(pdl_run_rint(a,b));
204 7 ▶ PDL_XS_RETURN(ST(0) = b_SV)
Branch: 5 branches
BranchTrueFalseTotal
PDL_XS_RETURN(ST(0) = b_SV) 7 0 7
PDL_XS_RETURN(ST(0) = b_SV) 7 0 7
PDL_XS_RETURN(ST(0) = b_SV) 7 0 7
PDL_XS_RETURN(ST(0) = b_SV) 0 7 7
PDL_XS_RETURN(ST(0) = b_SV) 0 0 0
205  
206 void
207 pdl_run_pow(a, b, c=c)
208 SV *c_SV = items > 2 ? ST(2) : NULL;
209 PREINIT:
210 2 ▶ PDL_XS_PREAMBLE((items == 3) ? 0 : 1);
Branch: 10 branches
BranchTrueFalseTotal
PDL_XS_PREAMBLE((items == 3) ? 0 : 1); 1 1 2
PDL_XS_PREAMBLE((items == 3) ? 0 : 1); 0 1 1
PDL_XS_PREAMBLE((items == 3) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 3) ? 0 : 1); 1 0 1
PDL_XS_PREAMBLE((items == 3) ? 0 : 1); 1 0 1
PDL_XS_PREAMBLE((items == 3) ? 0 : 1); 1 0 1
PDL_XS_PREAMBLE((items == 3) ? 0 : 1); 0 1 1
PDL_XS_PREAMBLE((items == 3) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 3) ? 0 : 1); 1 0 1
PDL_XS_PREAMBLE((items == 3) ? 0 : 1); 0 1 1
211 INPUT:
212 pdl *a
213 pdl *b
214 pdl *c=NO_INIT
215 PPCODE:
216 2 ▶ PDL_XS_INPLACE(a, c)
Branch: 4 branches
BranchTrueFalseTotal
PDL_XS_INPLACE(a, c) 0 2 2
PDL_XS_INPLACE(a, c) 0 0 0
PDL_XS_INPLACE(a, c) 0 2 2
PDL_XS_INPLACE(a, c) 1 1 2
217 2 PDL->barf_if_error(pdl_run_pow(a,b,c));
218 2 ▶ PDL_XS_RETURN(ST(0) = c_SV)
Branch: 5 branches
BranchTrueFalseTotal
PDL_XS_RETURN(ST(0) = c_SV) 2 0 2
PDL_XS_RETURN(ST(0) = c_SV) 2 0 2
PDL_XS_RETURN(ST(0) = c_SV) 2 0 2
PDL_XS_RETURN(ST(0) = c_SV) 0 2 2
PDL_XS_RETURN(ST(0) = c_SV) 0 0 0
219  
220 void
221 pdl_run_acosh(a, b=b)
222 SV *b_SV = items > 1 ? ST(1) : NULL;
223 PREINIT:
224 2 ▶ PDL_XS_PREAMBLE((items == 2) ? 0 : 1);
Branch: 10 branches
BranchTrueFalseTotal
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 1 1 2
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 1 1
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 1 0 1
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 1 0 1
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 1 0 1
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 1 1
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 1 0 1
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 1 1
225 INPUT:
226 pdl *a
227 pdl *b=NO_INIT
228 PPCODE:
229 2 ▶ PDL_XS_INPLACE(a, b)
Branch: 4 branches
BranchTrueFalseTotal
PDL_XS_INPLACE(a, b) 0 2 2
PDL_XS_INPLACE(a, b) 0 0 0
PDL_XS_INPLACE(a, b) 1 1 2
PDL_XS_INPLACE(a, b) 1 0 1
230 2 PDL->barf_if_error(pdl_run_acosh(a,b));
231 2 ▶ PDL_XS_RETURN(ST(0) = b_SV)
Branch: 5 branches
BranchTrueFalseTotal
PDL_XS_RETURN(ST(0) = b_SV) 1 1 2
PDL_XS_RETURN(ST(0) = b_SV) 1 0 1
PDL_XS_RETURN(ST(0) = b_SV) 1 0 1
PDL_XS_RETURN(ST(0) = b_SV) 0 1 1
PDL_XS_RETURN(ST(0) = b_SV) 0 1 1
232  
233 void
234 pdl_run_asinh(a, b=b)
235 SV *b_SV = items > 1 ? ST(1) : NULL;
236 PREINIT:
237 0 ▶ PDL_XS_PREAMBLE((items == 2) ? 0 : 1);
Branch: 10 branches
BranchTrueFalseTotal
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
238 INPUT:
239 pdl *a
240 pdl *b=NO_INIT
241 PPCODE:
242 0 ▶ PDL_XS_INPLACE(a, b)
Branch: 4 branches
BranchTrueFalseTotal
PDL_XS_INPLACE(a, b) 0 0 0
PDL_XS_INPLACE(a, b) 0 0 0
PDL_XS_INPLACE(a, b) 0 0 0
PDL_XS_INPLACE(a, b) 0 0 0
243 0 PDL->barf_if_error(pdl_run_asinh(a,b));
244 0 ▶ PDL_XS_RETURN(ST(0) = b_SV)
Branch: 5 branches
BranchTrueFalseTotal
PDL_XS_RETURN(ST(0) = b_SV) 0 0 0
PDL_XS_RETURN(ST(0) = b_SV) 0 0 0
PDL_XS_RETURN(ST(0) = b_SV) 0 0 0
PDL_XS_RETURN(ST(0) = b_SV) 0 0 0
PDL_XS_RETURN(ST(0) = b_SV) 0 0 0
245  
246 void
247 pdl_run_atanh(a, b=b)
248 SV *b_SV = items > 1 ? ST(1) : NULL;
249 PREINIT:
250 0 ▶ PDL_XS_PREAMBLE((items == 2) ? 0 : 1);
Branch: 10 branches
BranchTrueFalseTotal
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
251 INPUT:
252 pdl *a
253 pdl *b=NO_INIT
254 PPCODE:
255 0 ▶ PDL_XS_INPLACE(a, b)
Branch: 4 branches
BranchTrueFalseTotal
PDL_XS_INPLACE(a, b) 0 0 0
PDL_XS_INPLACE(a, b) 0 0 0
PDL_XS_INPLACE(a, b) 0 0 0
PDL_XS_INPLACE(a, b) 0 0 0
256 0 PDL->barf_if_error(pdl_run_atanh(a,b));
257 0 ▶ PDL_XS_RETURN(ST(0) = b_SV)
Branch: 5 branches
BranchTrueFalseTotal
PDL_XS_RETURN(ST(0) = b_SV) 0 0 0
PDL_XS_RETURN(ST(0) = b_SV) 0 0 0
PDL_XS_RETURN(ST(0) = b_SV) 0 0 0
PDL_XS_RETURN(ST(0) = b_SV) 0 0 0
PDL_XS_RETURN(ST(0) = b_SV) 0 0 0
258  
259 void
260 pdl_run_erf(a, b=b)
261 SV *b_SV = items > 1 ? ST(1) : NULL;
262 PREINIT:
263 7 ▶ PDL_XS_PREAMBLE((items == 2) ? 0 : 1);
Branch: 10 branches
BranchTrueFalseTotal
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 2 5 7
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 2 2
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 2 0 2
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 2 0 2
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 2 0 2
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 2 2
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 2 0 2
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 2 2
264 INPUT:
265 pdl *a
266 pdl *b=NO_INIT
267 PPCODE:
268 7 ▶ PDL_XS_INPLACE(a, b)
Branch: 4 branches
BranchTrueFalseTotal
PDL_XS_INPLACE(a, b) 1 6 7
PDL_XS_INPLACE(a, b) 0 1 1
PDL_XS_INPLACE(a, b) 0 6 6
PDL_XS_INPLACE(a, b) 5 1 6
269 7 PDL->barf_if_error(pdl_run_erf(a,b));
270 7 ▶ PDL_XS_RETURN(ST(0) = b_SV)
Branch: 5 branches
BranchTrueFalseTotal
PDL_XS_RETURN(ST(0) = b_SV) 7 0 7
PDL_XS_RETURN(ST(0) = b_SV) 7 0 7
PDL_XS_RETURN(ST(0) = b_SV) 7 0 7
PDL_XS_RETURN(ST(0) = b_SV) 0 7 7
PDL_XS_RETURN(ST(0) = b_SV) 0 0 0
271  
272 void
273 pdl_run_erfc(a, b=b)
274 SV *b_SV = items > 1 ? ST(1) : NULL;
275 PREINIT:
276 2 ▶ PDL_XS_PREAMBLE((items == 2) ? 0 : 1);
Branch: 10 branches
BranchTrueFalseTotal
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 1 1 2
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 1 1
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 1 0 1
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 1 0 1
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 1 0 1
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 1 1
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 1 0 1
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 1 1
277 INPUT:
278 pdl *a
279 pdl *b=NO_INIT
280 PPCODE:
281 2 ▶ PDL_XS_INPLACE(a, b)
Branch: 4 branches
BranchTrueFalseTotal
PDL_XS_INPLACE(a, b) 1 1 2
PDL_XS_INPLACE(a, b) 0 1 1
PDL_XS_INPLACE(a, b) 0 1 1
PDL_XS_INPLACE(a, b) 1 0 1
282 2 PDL->barf_if_error(pdl_run_erfc(a,b));
283 2 ▶ PDL_XS_RETURN(ST(0) = b_SV)
Branch: 5 branches
BranchTrueFalseTotal
PDL_XS_RETURN(ST(0) = b_SV) 2 0 2
PDL_XS_RETURN(ST(0) = b_SV) 2 0 2
PDL_XS_RETURN(ST(0) = b_SV) 2 0 2
PDL_XS_RETURN(ST(0) = b_SV) 0 2 2
PDL_XS_RETURN(ST(0) = b_SV) 0 0 0
284  
285 void
286 pdl_run_bessj0(a, b=b)
287 SV *b_SV = items > 1 ? ST(1) : NULL;
288 PREINIT:
289 5 ▶ PDL_XS_PREAMBLE((items == 2) ? 0 : 1);
Branch: 10 branches
BranchTrueFalseTotal
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 3 2 5
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 3 3
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 3 0 3
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 3 0 3
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 3 0 3
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 3 3
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 3 0 3
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 3 3
290 INPUT:
291 pdl *a
292 pdl *b=NO_INIT
293 PPCODE:
294 5 ▶ PDL_XS_INPLACE(a, b)
Branch: 4 branches
BranchTrueFalseTotal
PDL_XS_INPLACE(a, b) 2 3 5
PDL_XS_INPLACE(a, b) 1 1 2
PDL_XS_INPLACE(a, b) 0 3 3
PDL_XS_INPLACE(a, b) 2 1 3
295 4 PDL->barf_if_error(pdl_run_bessj0(a,b));
296 4 ▶ PDL_XS_RETURN(ST(0) = b_SV)
Branch: 5 branches
BranchTrueFalseTotal
PDL_XS_RETURN(ST(0) = b_SV) 4 0 4
PDL_XS_RETURN(ST(0) = b_SV) 4 0 4
PDL_XS_RETURN(ST(0) = b_SV) 4 0 4
PDL_XS_RETURN(ST(0) = b_SV) 0 4 4
PDL_XS_RETURN(ST(0) = b_SV) 0 0 0
297  
298 void
299 pdl_run_bessj1(a, b=b)
300 SV *b_SV = items > 1 ? ST(1) : NULL;
301 PREINIT:
302 2 ▶ PDL_XS_PREAMBLE((items == 2) ? 0 : 1);
Branch: 10 branches
BranchTrueFalseTotal
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 2 2
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
303 INPUT:
304 pdl *a
305 pdl *b=NO_INIT
306 PPCODE:
307 2 ▶ PDL_XS_INPLACE(a, b)
Branch: 4 branches
BranchTrueFalseTotal
PDL_XS_INPLACE(a, b) 0 2 2
PDL_XS_INPLACE(a, b) 0 0 0
PDL_XS_INPLACE(a, b) 0 2 2
PDL_XS_INPLACE(a, b) 2 0 2
308 2 PDL->barf_if_error(pdl_run_bessj1(a,b));
309 2 ▶ PDL_XS_RETURN(ST(0) = b_SV)
Branch: 5 branches
BranchTrueFalseTotal
PDL_XS_RETURN(ST(0) = b_SV) 2 0 2
PDL_XS_RETURN(ST(0) = b_SV) 2 0 2
PDL_XS_RETURN(ST(0) = b_SV) 2 0 2
PDL_XS_RETURN(ST(0) = b_SV) 0 2 2
PDL_XS_RETURN(ST(0) = b_SV) 0 0 0
310  
311 void
312 pdl_run_bessy0(a, b=b)
313 SV *b_SV = items > 1 ? ST(1) : NULL;
314 PREINIT:
315 0 ▶ PDL_XS_PREAMBLE((items == 2) ? 0 : 1);
Branch: 10 branches
BranchTrueFalseTotal
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
316 INPUT:
317 pdl *a
318 pdl *b=NO_INIT
319 PPCODE:
320 0 ▶ PDL_XS_INPLACE(a, b)
Branch: 4 branches
BranchTrueFalseTotal
PDL_XS_INPLACE(a, b) 0 0 0
PDL_XS_INPLACE(a, b) 0 0 0
PDL_XS_INPLACE(a, b) 0 0 0
PDL_XS_INPLACE(a, b) 0 0 0
321 0 PDL->barf_if_error(pdl_run_bessy0(a,b));
322 0 ▶ PDL_XS_RETURN(ST(0) = b_SV)
Branch: 5 branches
BranchTrueFalseTotal
PDL_XS_RETURN(ST(0) = b_SV) 0 0 0
PDL_XS_RETURN(ST(0) = b_SV) 0 0 0
PDL_XS_RETURN(ST(0) = b_SV) 0 0 0
PDL_XS_RETURN(ST(0) = b_SV) 0 0 0
PDL_XS_RETURN(ST(0) = b_SV) 0 0 0
323  
324 void
325 pdl_run_bessy1(a, b=b)
326 SV *b_SV = items > 1 ? ST(1) : NULL;
327 PREINIT:
328 0 ▶ PDL_XS_PREAMBLE((items == 2) ? 0 : 1);
Branch: 10 branches
BranchTrueFalseTotal
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
329 INPUT:
330 pdl *a
331 pdl *b=NO_INIT
332 PPCODE:
333 0 ▶ PDL_XS_INPLACE(a, b)
Branch: 4 branches
BranchTrueFalseTotal
PDL_XS_INPLACE(a, b) 0 0 0
PDL_XS_INPLACE(a, b) 0 0 0
PDL_XS_INPLACE(a, b) 0 0 0
PDL_XS_INPLACE(a, b) 0 0 0
334 0 PDL->barf_if_error(pdl_run_bessy1(a,b));
335 0 ▶ PDL_XS_RETURN(ST(0) = b_SV)
Branch: 5 branches
BranchTrueFalseTotal
PDL_XS_RETURN(ST(0) = b_SV) 0 0 0
PDL_XS_RETURN(ST(0) = b_SV) 0 0 0
PDL_XS_RETURN(ST(0) = b_SV) 0 0 0
PDL_XS_RETURN(ST(0) = b_SV) 0 0 0
PDL_XS_RETURN(ST(0) = b_SV) 0 0 0
336  
337 void
338 pdl_run_bessjn(a, n, b=b)
339 SV *b_SV = items > 2 ? ST(2) : NULL;
340 PREINIT:
341 2 ▶ PDL_XS_PREAMBLE((items == 3) ? 0 : 1);
Branch: 10 branches
BranchTrueFalseTotal
PDL_XS_PREAMBLE((items == 3) ? 0 : 1); 1 1 2
PDL_XS_PREAMBLE((items == 3) ? 0 : 1); 0 1 1
PDL_XS_PREAMBLE((items == 3) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 3) ? 0 : 1); 1 0 1
PDL_XS_PREAMBLE((items == 3) ? 0 : 1); 1 0 1
PDL_XS_PREAMBLE((items == 3) ? 0 : 1); 1 0 1
PDL_XS_PREAMBLE((items == 3) ? 0 : 1); 0 1 1
PDL_XS_PREAMBLE((items == 3) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 3) ? 0 : 1); 1 0 1
PDL_XS_PREAMBLE((items == 3) ? 0 : 1); 0 1 1
342 INPUT:
343 pdl *a
344 pdl *n
345 pdl *b=NO_INIT
346 PPCODE:
347 2 ▶ PDL_XS_INPLACE(a, b)
Branch: 4 branches
BranchTrueFalseTotal
PDL_XS_INPLACE(a, b) 0 2 2
PDL_XS_INPLACE(a, b) 0 0 0
PDL_XS_INPLACE(a, b) 0 2 2
PDL_XS_INPLACE(a, b) 1 1 2
348 2 PDL->barf_if_error(pdl_run_bessjn(a,n,b));
349 2 ▶ PDL_XS_RETURN(ST(0) = b_SV)
Branch: 5 branches
BranchTrueFalseTotal
PDL_XS_RETURN(ST(0) = b_SV) 2 0 2
PDL_XS_RETURN(ST(0) = b_SV) 2 0 2
PDL_XS_RETURN(ST(0) = b_SV) 2 0 2
PDL_XS_RETURN(ST(0) = b_SV) 0 2 2
PDL_XS_RETURN(ST(0) = b_SV) 0 0 0
350  
351 void
352 pdl_run_bessyn(a, n, b=b)
353 SV *b_SV = items > 2 ? ST(2) : NULL;
354 PREINIT:
355 2 ▶ PDL_XS_PREAMBLE((items == 3) ? 0 : 1);
Branch: 10 branches
BranchTrueFalseTotal
PDL_XS_PREAMBLE((items == 3) ? 0 : 1); 1 1 2
PDL_XS_PREAMBLE((items == 3) ? 0 : 1); 0 1 1
PDL_XS_PREAMBLE((items == 3) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 3) ? 0 : 1); 1 0 1
PDL_XS_PREAMBLE((items == 3) ? 0 : 1); 1 0 1
PDL_XS_PREAMBLE((items == 3) ? 0 : 1); 1 0 1
PDL_XS_PREAMBLE((items == 3) ? 0 : 1); 0 1 1
PDL_XS_PREAMBLE((items == 3) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 3) ? 0 : 1); 1 0 1
PDL_XS_PREAMBLE((items == 3) ? 0 : 1); 0 1 1
356 INPUT:
357 pdl *a
358 pdl *n
359 pdl *b=NO_INIT
360 PPCODE:
361 2 ▶ PDL_XS_INPLACE(a, b)
Branch: 4 branches
BranchTrueFalseTotal
PDL_XS_INPLACE(a, b) 1 1 2
PDL_XS_INPLACE(a, b) 0 1 1
PDL_XS_INPLACE(a, b) 0 1 1
PDL_XS_INPLACE(a, b) 1 0 1
362 2 PDL->barf_if_error(pdl_run_bessyn(a,n,b));
363 2 ▶ PDL_XS_RETURN(ST(0) = b_SV)
Branch: 5 branches
BranchTrueFalseTotal
PDL_XS_RETURN(ST(0) = b_SV) 2 0 2
PDL_XS_RETURN(ST(0) = b_SV) 2 0 2
PDL_XS_RETURN(ST(0) = b_SV) 2 0 2
PDL_XS_RETURN(ST(0) = b_SV) 0 2 2
PDL_XS_RETURN(ST(0) = b_SV) 0 0 0
364  
365 void
366 pdl_run_lgamma(a, b=PDL_XS_PERLINIT_initsv(b_SV), s=PDL_XS_PERLINIT_initsv(s_SV))
367 SV *b_SV = items > 1 ? ST(1) : NULL;
368 SV *s_SV = items > 2 ? ST(2) : NULL;
369 PREINIT:
370 3 ▶ PDL_XS_PREAMBLE((items == 3) ? 0 : 2);
Branch: 11 branches
BranchTrueFalseTotal
PDL_XS_PREAMBLE((items == 3) ? 0 : 2); 0 3 3
PDL_XS_PREAMBLE((items == 3) ? 0 : 2); 1 2 3
PDL_XS_PREAMBLE((items == 3) ? 0 : 2); 0 1 1
PDL_XS_PREAMBLE((items == 3) ? 0 : 2); 0 0 0
PDL_XS_PREAMBLE((items == 3) ? 0 : 2); 1 0 1
PDL_XS_PREAMBLE((items == 3) ? 0 : 2); 1 0 1
PDL_XS_PREAMBLE((items == 3) ? 0 : 2); 1 0 1
PDL_XS_PREAMBLE((items == 3) ? 0 : 2); 0 1 1
PDL_XS_PREAMBLE((items == 3) ? 0 : 2); 0 0 0
PDL_XS_PREAMBLE((items == 3) ? 0 : 2); 1 0 1
PDL_XS_PREAMBLE((items == 3) ? 0 : 2); 0 1 1
371 INPUT:
372 pdl *a
373 pdl *b
374 pdl *s
375 PPCODE:
376 3 ▶ if (PDL_IS_INPLACE(a)) PDL->pdl_barf("lgamma: a->inplace but not supported");
Branch: 1 branch
BranchTrueFalseTotal
if (PDL_IS_INPLACE(a)) PDL->pdl_barf("lgamma: a->inplace but not supported"); 0 3 3
377 3 PDL->barf_if_error(pdl_run_lgamma(a,b,s));
378 3 ▶ PDL_XS_RETURN(ST(0) = b_SV;ST(1) = s_SV)
Branch: 5 branches
BranchTrueFalseTotal
PDL_XS_RETURN(ST(0) = b_SV;ST(1) = s_SV) 3 0 3
PDL_XS_RETURN(ST(0) = b_SV;ST(1) = s_SV) 3 0 3
PDL_XS_RETURN(ST(0) = b_SV;ST(1) = s_SV) 3 0 3
PDL_XS_RETURN(ST(0) = b_SV;ST(1) = s_SV) 0 3 3
PDL_XS_RETURN(ST(0) = b_SV;ST(1) = s_SV) 0 0 0
379  
380 void
381 pdl_run_isfinite(a, mask=PDL_XS_PERLINIT_initsv(mask_SV))
382 SV *mask_SV = items > 1 ? ST(1) : NULL;
383 PREINIT:
384 90 ▶ PDL_XS_PREAMBLE((items == 2) ? 0 : 1);
Branch: 10 branches
BranchTrueFalseTotal
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 90 0 90
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 90 90
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 90 0 90
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 90 0 90
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 90 0 90
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 90 90
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 90 0 90
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 90 90
385 INPUT:
386 pdl *a
387 pdl *mask
388 PPCODE:
389 90 ▶ if (PDL_IS_INPLACE(a)) PDL->pdl_barf("isfinite: a->inplace but not supported");
Branch: 1 branch
BranchTrueFalseTotal
if (PDL_IS_INPLACE(a)) PDL->pdl_barf("isfinite: a->inplace but not supported"); 0 90 90
390 90 PDL->barf_if_error(pdl_run_isfinite(a,mask));
391 90 ▶ PDL_XS_RETURN(ST(0) = mask_SV)
Branch: 5 branches
BranchTrueFalseTotal
PDL_XS_RETURN(ST(0) = mask_SV) 90 0 90
PDL_XS_RETURN(ST(0) = mask_SV) 90 0 90
PDL_XS_RETURN(ST(0) = mask_SV) 90 0 90
PDL_XS_RETURN(ST(0) = mask_SV) 0 90 90
PDL_XS_RETURN(ST(0) = mask_SV) 0 0 0
392  
393 void
394 pdl_run_erfi(a, b=b)
395 SV *b_SV = items > 1 ? ST(1) : NULL;
396 PREINIT:
397 5 ▶ PDL_XS_PREAMBLE((items == 2) ? 0 : 1);
Branch: 10 branches
BranchTrueFalseTotal
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 4 1 5
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 4 4
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 4 0 4
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 4 0 4
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 4 0 4
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 4 4
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 4 0 4
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 4 4
398 INPUT:
399 pdl *a
400 pdl *b=NO_INIT
401 PPCODE:
402 5 ▶ PDL_XS_INPLACE(a, b)
Branch: 4 branches
BranchTrueFalseTotal
PDL_XS_INPLACE(a, b) 1 4 5
PDL_XS_INPLACE(a, b) 0 1 1
PDL_XS_INPLACE(a, b) 0 4 4
PDL_XS_INPLACE(a, b) 1 3 4
403 5 PDL->barf_if_error(pdl_run_erfi(a,b));
404 5 ▶ PDL_XS_RETURN(ST(0) = b_SV)
Branch: 5 branches
BranchTrueFalseTotal
PDL_XS_RETURN(ST(0) = b_SV) 5 0 5
PDL_XS_RETURN(ST(0) = b_SV) 5 0 5
PDL_XS_RETURN(ST(0) = b_SV) 5 0 5
PDL_XS_RETURN(ST(0) = b_SV) 0 5 5
PDL_XS_RETURN(ST(0) = b_SV) 0 0 0
405  
406 void
407 pdl_run_ndtri(a, b=b)
408 SV *b_SV = items > 1 ? ST(1) : NULL;
409 PREINIT:
410 2 ▶ PDL_XS_PREAMBLE((items == 2) ? 0 : 1);
Branch: 10 branches
BranchTrueFalseTotal
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 2 0 2
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 2 2
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 2 0 2
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 2 0 2
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 2 0 2
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 2 2
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 2 0 2
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 2 2
411 INPUT:
412 pdl *a
413 pdl *b=NO_INIT
414 PPCODE:
415 2 ▶ PDL_XS_INPLACE(a, b)
Branch: 4 branches
BranchTrueFalseTotal
PDL_XS_INPLACE(a, b) 0 2 2
PDL_XS_INPLACE(a, b) 0 0 0
PDL_XS_INPLACE(a, b) 0 2 2
PDL_XS_INPLACE(a, b) 0 2 2
416 2 PDL->barf_if_error(pdl_run_ndtri(a,b));
417 2 ▶ PDL_XS_RETURN(ST(0) = b_SV)
Branch: 5 branches
BranchTrueFalseTotal
PDL_XS_RETURN(ST(0) = b_SV) 2 0 2
PDL_XS_RETURN(ST(0) = b_SV) 2 0 2
PDL_XS_RETURN(ST(0) = b_SV) 2 0 2
PDL_XS_RETURN(ST(0) = b_SV) 0 2 2
PDL_XS_RETURN(ST(0) = b_SV) 0 0 0
418  
419 void
420 _polyroots_int(cr,ci,rr,ri)
421 pdl *cr
422 pdl *ci
423 pdl *rr
424 pdl *ri
425 CODE:
426 16 PDL->barf_if_error(pdl_run_polyroots(cr,ci,rr,ri));
427  
428 void
429 _polyfromroots_int(r,c)
430 pdl *r
431 pdl *c
432 CODE:
433 4 PDL->barf_if_error(pdl_run_polyfromroots(r,c));
434  
435 void
436 _polyval_int(c,x,y)
437 pdl *c
438 pdl *x
439 pdl *y
440 CODE:
441 4 PDL->barf_if_error(pdl_run_polyval(c,x,y));
442  
443 void
444 pdl_run_csqrt(i, o=PDL_XS_PERLINIT_initsv(o_SV))
445 SV *o_SV = items > 1 ? ST(1) : NULL;
446 PREINIT:
447 10 ▶ PDL_XS_PREAMBLE((items == 2) ? 0 : 1);
Branch: 10 branches
BranchTrueFalseTotal
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 9 1 10
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 9 9
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 9 0 9
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 9 0 9
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 9 0 9
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 9 9
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 9 0 9
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 9 9
448 INPUT:
449 pdl *i
450 pdl *o
451 PPCODE:
452 10 ▶ if (PDL_IS_INPLACE(i)) PDL->pdl_barf("csqrt: i->inplace but not supported");
Branch: 1 branch
BranchTrueFalseTotal
if (PDL_IS_INPLACE(i)) PDL->pdl_barf("csqrt: i->inplace but not supported"); 0 10 10
453 10 PDL->barf_if_error(pdl_run_csqrt(i,o));
454 10 ▶ PDL_XS_RETURN(ST(0) = o_SV)
Branch: 5 branches
BranchTrueFalseTotal
PDL_XS_RETURN(ST(0) = o_SV) 10 0 10
PDL_XS_RETURN(ST(0) = o_SV) 10 0 10
PDL_XS_RETURN(ST(0) = o_SV) 10 0 10
PDL_XS_RETURN(ST(0) = o_SV) 0 10 10
PDL_XS_RETURN(ST(0) = o_SV) 0 0 0
455  
456 void
457 pdl_run_clog(i, o=PDL_XS_PERLINIT_initsv(o_SV))
458 SV *o_SV = items > 1 ? ST(1) : NULL;
459 PREINIT:
460 1 ▶ PDL_XS_PREAMBLE((items == 2) ? 0 : 1);
Branch: 10 branches
BranchTrueFalseTotal
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 1 1
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
461 INPUT:
462 pdl *i
463 pdl *o
464 PPCODE:
465 1 ▶ if (PDL_IS_INPLACE(i)) PDL->pdl_barf("clog: i->inplace but not supported");
Branch: 1 branch
BranchTrueFalseTotal
if (PDL_IS_INPLACE(i)) PDL->pdl_barf("clog: i->inplace but not supported"); 0 1 1
466 1 PDL->barf_if_error(pdl_run_clog(i,o));
467 1 ▶ PDL_XS_RETURN(ST(0) = o_SV)
Branch: 5 branches
BranchTrueFalseTotal
PDL_XS_RETURN(ST(0) = o_SV) 1 0 1
PDL_XS_RETURN(ST(0) = o_SV) 1 0 1
PDL_XS_RETURN(ST(0) = o_SV) 1 0 1
PDL_XS_RETURN(ST(0) = o_SV) 0 1 1
PDL_XS_RETURN(ST(0) = o_SV) 0 0 0
468  
469 void
470 pdl_run_cacos(i, o=PDL_XS_PERLINIT_initsv(o_SV))
471 SV *o_SV = items > 1 ? ST(1) : NULL;
472 PREINIT:
473 1 ▶ PDL_XS_PREAMBLE((items == 2) ? 0 : 1);
Branch: 10 branches
BranchTrueFalseTotal
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 1 1
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
474 INPUT:
475 pdl *i
476 pdl *o
477 PPCODE:
478 1 ▶ if (PDL_IS_INPLACE(i)) PDL->pdl_barf("cacos: i->inplace but not supported");
Branch: 1 branch
BranchTrueFalseTotal
if (PDL_IS_INPLACE(i)) PDL->pdl_barf("cacos: i->inplace but not supported"); 0 1 1
479 1 PDL->barf_if_error(pdl_run_cacos(i,o));
480 1 ▶ PDL_XS_RETURN(ST(0) = o_SV)
Branch: 5 branches
BranchTrueFalseTotal
PDL_XS_RETURN(ST(0) = o_SV) 1 0 1
PDL_XS_RETURN(ST(0) = o_SV) 1 0 1
PDL_XS_RETURN(ST(0) = o_SV) 1 0 1
PDL_XS_RETURN(ST(0) = o_SV) 0 1 1
PDL_XS_RETURN(ST(0) = o_SV) 0 0 0
481  
482 void
483 pdl_run_casin(i, o=PDL_XS_PERLINIT_initsv(o_SV))
484 SV *o_SV = items > 1 ? ST(1) : NULL;
485 PREINIT:
486 1 ▶ PDL_XS_PREAMBLE((items == 2) ? 0 : 1);
Branch: 10 branches
BranchTrueFalseTotal
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 1 1
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
487 INPUT:
488 pdl *i
489 pdl *o
490 PPCODE:
491 1 ▶ if (PDL_IS_INPLACE(i)) PDL->pdl_barf("casin: i->inplace but not supported");
Branch: 1 branch
BranchTrueFalseTotal
if (PDL_IS_INPLACE(i)) PDL->pdl_barf("casin: i->inplace but not supported"); 0 1 1
492 1 PDL->barf_if_error(pdl_run_casin(i,o));
493 1 ▶ PDL_XS_RETURN(ST(0) = o_SV)
Branch: 5 branches
BranchTrueFalseTotal
PDL_XS_RETURN(ST(0) = o_SV) 1 0 1
PDL_XS_RETURN(ST(0) = o_SV) 1 0 1
PDL_XS_RETURN(ST(0) = o_SV) 1 0 1
PDL_XS_RETURN(ST(0) = o_SV) 0 1 1
PDL_XS_RETURN(ST(0) = o_SV) 0 0 0
494  
495 void
496 pdl_run_casinh(i, o=PDL_XS_PERLINIT_initsv(o_SV))
497 SV *o_SV = items > 1 ? ST(1) : NULL;
498 PREINIT:
499 0 ▶ PDL_XS_PREAMBLE((items == 2) ? 0 : 1);
Branch: 10 branches
BranchTrueFalseTotal
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
500 INPUT:
501 pdl *i
502 pdl *o
503 PPCODE:
504 0 ▶ if (PDL_IS_INPLACE(i)) PDL->pdl_barf("casinh: i->inplace but not supported");
Branch: 1 branch
BranchTrueFalseTotal
if (PDL_IS_INPLACE(i)) PDL->pdl_barf("casinh: i->inplace but not supported"); 0 0 0
505 0 PDL->barf_if_error(pdl_run_casinh(i,o));
506 0 ▶ PDL_XS_RETURN(ST(0) = o_SV)
Branch: 5 branches
BranchTrueFalseTotal
PDL_XS_RETURN(ST(0) = o_SV) 0 0 0
PDL_XS_RETURN(ST(0) = o_SV) 0 0 0
PDL_XS_RETURN(ST(0) = o_SV) 0 0 0
PDL_XS_RETURN(ST(0) = o_SV) 0 0 0
PDL_XS_RETURN(ST(0) = o_SV) 0 0 0
507  
508 void
509 pdl_run_cacosh(i, o=PDL_XS_PERLINIT_initsv(o_SV))
510 SV *o_SV = items > 1 ? ST(1) : NULL;
511 PREINIT:
512 1 ▶ PDL_XS_PREAMBLE((items == 2) ? 0 : 1);
Branch: 10 branches
BranchTrueFalseTotal
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 1 1
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
513 INPUT:
514 pdl *i
515 pdl *o
516 PPCODE:
517 1 ▶ if (PDL_IS_INPLACE(i)) PDL->pdl_barf("cacosh: i->inplace but not supported");
Branch: 1 branch
BranchTrueFalseTotal
if (PDL_IS_INPLACE(i)) PDL->pdl_barf("cacosh: i->inplace but not supported"); 0 1 1
518 1 PDL->barf_if_error(pdl_run_cacosh(i,o));
519 1 ▶ PDL_XS_RETURN(ST(0) = o_SV)
Branch: 5 branches
BranchTrueFalseTotal
PDL_XS_RETURN(ST(0) = o_SV) 1 0 1
PDL_XS_RETURN(ST(0) = o_SV) 1 0 1
PDL_XS_RETURN(ST(0) = o_SV) 1 0 1
PDL_XS_RETURN(ST(0) = o_SV) 0 1 1
PDL_XS_RETURN(ST(0) = o_SV) 0 0 0
520  
521 void
522 pdl_run_catanh(i, o=PDL_XS_PERLINIT_initsv(o_SV))
523 SV *o_SV = items > 1 ? ST(1) : NULL;
524 PREINIT:
525 0 ▶ PDL_XS_PREAMBLE((items == 2) ? 0 : 1);
Branch: 10 branches
BranchTrueFalseTotal
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
526 INPUT:
527 pdl *i
528 pdl *o
529 PPCODE:
530 0 ▶ if (PDL_IS_INPLACE(i)) PDL->pdl_barf("catanh: i->inplace but not supported");
Branch: 1 branch
BranchTrueFalseTotal
if (PDL_IS_INPLACE(i)) PDL->pdl_barf("catanh: i->inplace but not supported"); 0 0 0
531 0 PDL->barf_if_error(pdl_run_catanh(i,o));
532 0 ▶ PDL_XS_RETURN(ST(0) = o_SV)
Branch: 5 branches
BranchTrueFalseTotal
PDL_XS_RETURN(ST(0) = o_SV) 0 0 0
PDL_XS_RETURN(ST(0) = o_SV) 0 0 0
PDL_XS_RETURN(ST(0) = o_SV) 0 0 0
PDL_XS_RETURN(ST(0) = o_SV) 0 0 0
PDL_XS_RETURN(ST(0) = o_SV) 0 0 0
533  
534 void
535 pdl_run_csqrt_up(i, o=PDL_XS_PERLINIT_initsv(o_SV))
536 SV *o_SV = items > 1 ? ST(1) : NULL;
537 PREINIT:
538 10 ▶ PDL_XS_PREAMBLE((items == 2) ? 0 : 1);
Branch: 10 branches
BranchTrueFalseTotal
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 9 1 10
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 9 9
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 9 0 9
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 9 0 9
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 9 0 9
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 9 9
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 0 0
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 9 0 9
PDL_XS_PREAMBLE((items == 2) ? 0 : 1); 0 9 9
539 INPUT:
540 pdl *i
541 pdl *o
542 PPCODE:
543 10 ▶ if (PDL_IS_INPLACE(i)) PDL->pdl_barf("csqrt_up: i->inplace but not supported");
Branch: 1 branch
BranchTrueFalseTotal
if (PDL_IS_INPLACE(i)) PDL->pdl_barf("csqrt_up: i->inplace but not supported"); 0 10 10
544 10 PDL->barf_if_error(pdl_run_csqrt_up(i,o));
545 10 ▶ PDL_XS_RETURN(ST(0) = o_SV)
Branch: 5 branches
BranchTrueFalseTotal
PDL_XS_RETURN(ST(0) = o_SV) 10 0 10
PDL_XS_RETURN(ST(0) = o_SV) 10 0 10
PDL_XS_RETURN(ST(0) = o_SV) 10 0 10
PDL_XS_RETURN(ST(0) = o_SV) 0 10 10
PDL_XS_RETURN(ST(0) = o_SV) 0 0 0
546  
547  
548 #line 483 "lib/PDL/PP.pm"
549 BOOT:
550 /* Get pointer to structure of core shared C routines */
551 /* make sure PDL::Core is loaded */
552 #line 553 "lib/PDL/Math.xs"
553 71 perl_require_pv ("PDL/Core.pm"); /* make sure PDL::Core is loaded */
554 #ifndef aTHX_
555 #define aTHX_
556 #endif
557 71 ▶ if (SvTRUE (ERRSV)) Perl_croak(aTHX_ "%s",SvPV_nolen (ERRSV));
Branch: 3 branches
BranchTrueFalseTotal
if (SvTRUE (ERRSV)) Perl_croak(aTHX_ "%s",SvPV_nolen (ERRSV)); 71 0 71
if (SvTRUE (ERRSV)) Perl_croak(aTHX_ "%s",SvPV_nolen (ERRSV)); 0 71 71
if (SvTRUE (ERRSV)) Perl_croak(aTHX_ "%s",SvPV_nolen (ERRSV)); 0 0 0
558 71 SV* CoreSV = perl_get_sv("PDL::SHARE",FALSE); /* var with core structure */
559 71 ▶ if (!CoreSV)
Branch: 1 branch
BranchTrueFalseTotal
if (!CoreSV) 0 71 71
560 0 Perl_croak(aTHX_ "We require the PDL::Core module, which was not found");
561 71 ▶ if (!(PDL = INT2PTR(Core*,SvIV( CoreSV )))) /* Core* value */
Branch: 1 branch
BranchTrueFalseTotal
if (!(PDL = INT2PTR(Core*,SvIV( CoreSV )))) /* Core* value */ 0 71 71
562 0 Perl_croak(aTHX_ "Got NULL pointer for PDL");
563 71 ▶ if (PDL->Version != PDL_CORE_VERSION)
Branch: 1 branch
BranchTrueFalseTotal
if (PDL->Version != PDL_CORE_VERSION) 0 71 71
564 0 Perl_croak(aTHX_ "[PDL->Version: %ld PDL_CORE_VERSION: %ld XS_VERSION: %s] PDL::Math needs to be recompiled against the newly installed PDL", (long int)PDL->Version, (long int)PDL_CORE_VERSION, XS_VERSION);
« lib/PDL/Ops-pp-r2C.c ↑ Summary lib/PDL/Ops-pp-eq.c »