xs/CDF_wrap.2.8.c

filter: Statementstmt 0.0% 0 / 2945 Branchbran 0.0% 0 / 1796 Conditioncond n/a MC/DCmcdc n/a Subroutinesub n/a Podpod n/a totaltotal 0.0% 0 / 4741 CC 0 SCAR 0
CC
0
Cov
0%
CRAP 0
« xs/CBLAS_wrap.2.8.c ↑ Summary xs/Chebyshev_wrap.2.8.c »
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (https://www.swig.org).
3 * Version 4.2.0
4 *
5 * Do not make changes to this file unless you know what you are doing - modify
6 * the SWIG interface file instead.
7 * ----------------------------------------------------------------------------- */
8  
9  
10 #define SWIG_VERSION 0x040200
11 #define SWIGPERL
12 #define SWIG_CASTRANK_MODE
13  
14 /* -----------------------------------------------------------------------------
15 * This section contains generic SWIG labels for method/variable
16 * declarations/attributes, and other compiler dependent labels.
17 * ----------------------------------------------------------------------------- */
18  
19 /* template workaround for compilers that cannot correctly implement the C++ standard */
20 #ifndef SWIGTEMPLATEDISAMBIGUATOR
21 # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
22 # define SWIGTEMPLATEDISAMBIGUATOR template
23 # elif defined(__HP_aCC)
24 /* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */
25 /* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */
26 # define SWIGTEMPLATEDISAMBIGUATOR template
27 # else
28 # define SWIGTEMPLATEDISAMBIGUATOR
29 # endif
30 #endif
31  
32 /* inline attribute */
33 #ifndef SWIGINLINE
34 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
35 # define SWIGINLINE inline
36 # else
37 # define SWIGINLINE
38 # endif
39 #endif
40  
41 /* attribute recognised by some compilers to avoid 'unused' warnings */
42 #ifndef SWIGUNUSED
43 # if defined(__GNUC__)
44 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
45 # define SWIGUNUSED __attribute__ ((__unused__))
46 # else
47 # define SWIGUNUSED
48 # endif
49 # elif defined(__ICC)
50 # define SWIGUNUSED __attribute__ ((__unused__))
51 # else
52 # define SWIGUNUSED
53 # endif
54 #endif
55  
56 #ifndef SWIG_MSC_UNSUPPRESS_4505
57 # if defined(_MSC_VER)
58 # pragma warning(disable : 4505) /* unreferenced local function has been removed */
59 # endif
60 #endif
61  
62 #ifndef SWIGUNUSEDPARM
63 # ifdef __cplusplus
64 # define SWIGUNUSEDPARM(p)
65 # else
66 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
67 # endif
68 #endif
69  
70 /* internal SWIG method */
71 #ifndef SWIGINTERN
72 # define SWIGINTERN static SWIGUNUSED
73 #endif
74  
75 /* internal inline SWIG method */
76 #ifndef SWIGINTERNINLINE
77 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
78 #endif
79  
80 /* exporting methods */
81 #if defined(__GNUC__)
82 # if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
83 # ifndef GCC_HASCLASSVISIBILITY
84 # define GCC_HASCLASSVISIBILITY
85 # endif
86 # endif
87 #endif
88  
89 #ifndef SWIGEXPORT
90 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
91 # if defined(STATIC_LINKED)
92 # define SWIGEXPORT
93 # else
94 # define SWIGEXPORT __declspec(dllexport)
95 # endif
96 # else
97 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
98 # define SWIGEXPORT __attribute__ ((visibility("default")))
99 # else
100 # define SWIGEXPORT
101 # endif
102 # endif
103 #endif
104  
105 /* calling conventions for Windows */
106 #ifndef SWIGSTDCALL
107 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
108 # define SWIGSTDCALL __stdcall
109 # else
110 # define SWIGSTDCALL
111 # endif
112 #endif
113  
114 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
115 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
116 # define _CRT_SECURE_NO_DEPRECATE
117 #endif
118  
119 /* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */
120 #if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
121 # define _SCL_SECURE_NO_DEPRECATE
122 #endif
123  
124 /* Deal with Apple's deprecated 'AssertMacros.h' from Carbon-framework */
125 #if defined(__APPLE__) && !defined(__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES)
126 # define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0
127 #endif
128  
129 /* Intel's compiler complains if a variable which was never initialised is
130 * cast to void, which is a common idiom which we use to indicate that we
131 * are aware a variable isn't used. So we just silence that warning.
132 * See: https://github.com/swig/swig/issues/192 for more discussion.
133 */
134 #ifdef __INTEL_COMPILER
135 # pragma warning disable 592
136 #endif
137  
138 #if __cplusplus >=201103L
139 # define SWIG_NULLPTR nullptr
140 #else
141 # define SWIG_NULLPTR NULL
142 #endif
143  
144 /* -----------------------------------------------------------------------------
145 * swigrun.swg
146 *
147 * This file contains generic C API SWIG runtime support for pointer
148 * type checking.
149 * ----------------------------------------------------------------------------- */
150  
151 /* This should only be incremented when either the layout of swig_type_info changes,
152 or for whatever reason, the runtime changes incompatibly */
153 #define SWIG_RUNTIME_VERSION "4"
154  
155 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
156 #ifdef SWIG_TYPE_TABLE
157 # define SWIG_QUOTE_STRING(x) #x
158 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
159 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
160 #else
161 # define SWIG_TYPE_TABLE_NAME
162 #endif
163  
164 /*
165 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
166 creating a static or dynamic library from the SWIG runtime code.
167 In 99.9% of the cases, SWIG just needs to declare them as 'static'.
168  
169 But only do this if strictly necessary, ie, if you have problems
170 with your compiler or suchlike.
171 */
172  
173 #ifndef SWIGRUNTIME
174 # define SWIGRUNTIME SWIGINTERN
175 #endif
176  
177 #ifndef SWIGRUNTIMEINLINE
178 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
179 #endif
180  
181 /* Generic buffer size */
182 #ifndef SWIG_BUFFER_SIZE
183 # define SWIG_BUFFER_SIZE 1024
184 #endif
185  
186 /* Flags for pointer conversions */
187 #define SWIG_POINTER_DISOWN 0x1
188 #define SWIG_CAST_NEW_MEMORY 0x2
189 #define SWIG_POINTER_NO_NULL 0x4
190 #define SWIG_POINTER_CLEAR 0x8
191 #define SWIG_POINTER_RELEASE (SWIG_POINTER_CLEAR | SWIG_POINTER_DISOWN)
192  
193 /* Flags for new pointer objects */
194 #define SWIG_POINTER_OWN 0x1
195  
196  
197 /*
198 Flags/methods for returning states.
199  
200 The SWIG conversion methods, as ConvertPtr, return an integer
201 that tells if the conversion was successful or not. And if not,
202 an error code can be returned (see swigerrors.swg for the codes).
203  
204 Use the following macros/flags to set or process the returning
205 states.
206  
207 In old versions of SWIG, code such as the following was usually written:
208  
209 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
210 // success code
211 } else {
212 //fail code
213 }
214  
215 Now you can be more explicit:
216  
217 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
218 if (SWIG_IsOK(res)) {
219 // success code
220 } else {
221 // fail code
222 }
223  
224 which is the same really, but now you can also do
225  
226 Type *ptr;
227 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
228 if (SWIG_IsOK(res)) {
229 // success code
230 if (SWIG_IsNewObj(res) {
231 ...
232 delete *ptr;
233 } else {
234 ...
235 }
236 } else {
237 // fail code
238 }
239  
240 I.e., now SWIG_ConvertPtr can return new objects and you can
241 identify the case and take care of the deallocation. Of course that
242 also requires SWIG_ConvertPtr to return new result values, such as
243  
244 int SWIG_ConvertPtr(obj, ptr,...) {
245 if (<obj is ok>) {
246 if (<need new object>) {
247 *ptr = <ptr to new allocated object>;
248 return SWIG_NEWOBJ;
249 } else {
250 *ptr = <ptr to old object>;
251 return SWIG_OLDOBJ;
252 }
253 } else {
254 return SWIG_BADOBJ;
255 }
256 }
257  
258 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
259 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
260 SWIG errors code.
261  
262 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
263 allows returning the 'cast rank', for example, if you have this
264  
265 int food(double)
266 int fooi(int);
267  
268 and you call
269  
270 food(1) // cast rank '1' (1 -> 1.0)
271 fooi(1) // cast rank '0'
272  
273 just use the SWIG_AddCast()/SWIG_CheckState()
274 */
275  
276 #define SWIG_OK (0)
277 /* Runtime errors are < 0 */
278 #define SWIG_ERROR (-1)
279 /* Errors in range -1 to -99 are in swigerrors.swg (errors for all languages including those not using the runtime) */
280 /* Errors in range -100 to -199 are language specific errors defined in *errors.swg */
281 /* Errors < -200 are generic runtime specific errors */
282 #define SWIG_ERROR_RELEASE_NOT_OWNED (-200)
283  
284 #define SWIG_IsOK(r) (r >= 0)
285 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
286  
287 /* The CastRankLimit says how many bits are used for the cast rank */
288 #define SWIG_CASTRANKLIMIT (1 << 8)
289 /* The NewMask denotes the object was created (using new/malloc) */
290 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
291 /* The TmpMask is for in/out typemaps that use temporary objects */
292 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
293 /* Simple returning values */
294 #define SWIG_BADOBJ (SWIG_ERROR)
295 #define SWIG_OLDOBJ (SWIG_OK)
296 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
297 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
298 /* Check, add and del object mask methods */
299 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
300 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
301 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
302 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
303 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
304 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
305  
306 /* Cast-Rank Mode */
307 #if defined(SWIG_CASTRANK_MODE)
308 # ifndef SWIG_TypeRank
309 # define SWIG_TypeRank unsigned long
310 # endif
311 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
312 # define SWIG_MAXCASTRANK (2)
313 # endif
314 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
315 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
316 0 SWIGINTERNINLINE int SWIG_AddCast(int r) {
317 0 ▶ return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
Branch: 2 branches
BranchTrueFalseTotal
return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r; 0 0 0
return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r; 0 0 0
318 }
319 SWIGINTERNINLINE int SWIG_CheckState(int r) {
320 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
321 }
322 #else /* no cast-rank mode */
323 # define SWIG_AddCast(r) (r)
324 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
325 #endif
326  
327 /* C99 and C++11 should provide snprintf, but define SWIG_NO_SNPRINTF
328 * if you're missing it.
329 */
330 #if ((defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L) || \
331 (defined __cplusplus && __cplusplus >= 201103L) || \
332 defined SWIG_HAVE_SNPRINTF) && \
333 !defined SWIG_NO_SNPRINTF
334 # define SWIG_snprintf(O,S,F,A) snprintf(O,S,F,A)
335 # define SWIG_snprintf2(O,S,F,A,B) snprintf(O,S,F,A,B)
336 #else
337 /* Fallback versions ignore the buffer size, but most of our uses either have a
338 * fixed maximum possible size or dynamically allocate a buffer that's large
339 * enough.
340 */
341 # define SWIG_snprintf(O,S,F,A) sprintf(O,F,A)
342 # define SWIG_snprintf2(O,S,F,A,B) sprintf(O,F,A,B)
343 #endif
344  
345 #include <string.h>
346  
347 #ifdef __cplusplus
348 extern "C" {
349 #endif
350  
351 typedef void *(*swig_converter_func)(void *, int *);
352 typedef struct swig_type_info *(*swig_dycast_func)(void **);
353  
354 /* Structure to store information on one type */
355 typedef struct swig_type_info {
356 const char *name; /* mangled name of this type */
357 const char *str; /* human readable name of this type */
358 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
359 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
360 void *clientdata; /* language specific type data */
361 int owndata; /* flag if the structure owns the clientdata */
362 } swig_type_info;
363  
364 /* Structure to store a type and conversion function used for casting */
365 typedef struct swig_cast_info {
366 swig_type_info *type; /* pointer to type that is equivalent to this type */
367 swig_converter_func converter; /* function to cast the void pointers */
368 struct swig_cast_info *next; /* pointer to next cast in linked list */
369 struct swig_cast_info *prev; /* pointer to the previous cast */
370 } swig_cast_info;
371  
372 /* Structure used to store module information
373 * Each module generates one structure like this, and the runtime collects
374 * all of these structures and stores them in a circularly linked list.*/
375 typedef struct swig_module_info {
376 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
377 size_t size; /* Number of types in this module */
378 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
379 swig_type_info **type_initial; /* Array of initially generated type structures */
380 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
381 void *clientdata; /* Language specific module data */
382 } swig_module_info;
383  
384 /*
385 Compare two type names skipping the space characters, therefore
386 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
387  
388 Return 0 when the two name types are equivalent, as in
389 strncmp, but skipping ' '.
390 */
391 SWIGRUNTIME int
392 0 SWIG_TypeNameComp(const char *f1, const char *l1,
393 const char *f2, const char *l2) {
394 0 ▶ for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
Branch: 2 branches
BranchTrueFalseTotal
for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) { 0 0 0
for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) { 0 0 0
395 0 ▶ while ((*f1 == ' ') && (f1 != l1)) ++f1;
Branch: 2 branches
BranchTrueFalseTotal
while ((*f1 == ' ') && (f1 != l1)) ++f1; 0 0 0
while ((*f1 == ' ') && (f1 != l1)) ++f1; 0 0 0
396 0 ▶ while ((*f2 == ' ') && (f2 != l2)) ++f2;
Branch: 2 branches
BranchTrueFalseTotal
while ((*f2 == ' ') && (f2 != l2)) ++f2; 0 0 0
while ((*f2 == ' ') && (f2 != l2)) ++f2; 0 0 0
397 0 ▶ if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
Branch: 2 branches
BranchTrueFalseTotal
if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1; 0 0 0
if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1; 0 0 0
398 }
399 0 return (int)((l1 - f1) - (l2 - f2));
400 }
401  
402 /*
403 Check type equivalence in a name list like <name1>|<name2>|...
404 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
405 */
406 SWIGRUNTIME int
407 0 SWIG_TypeCmp(const char *nb, const char *tb) {
408 0 int equiv = 1;
409 0 const char* te = tb + strlen(tb);
410 0 const char* ne = nb;
411 0 ▶ while (equiv != 0 && *ne) {
Branch: 2 branches
BranchTrueFalseTotal
while (equiv != 0 && *ne) { 0 0 0
while (equiv != 0 && *ne) { 0 0 0
412 0 ▶ for (nb = ne; *ne; ++ne) {
Branch: 1 branch
BranchTrueFalseTotal
for (nb = ne; *ne; ++ne) { 0 0 0
413 0 ▶ if (*ne == '|') break;
Branch: 1 branch
BranchTrueFalseTotal
if (*ne == '|') break; 0 0 0
414 }
415 0 equiv = SWIG_TypeNameComp(nb, ne, tb, te);
416 0 ▶ if (*ne) ++ne;
Branch: 1 branch
BranchTrueFalseTotal
if (*ne) ++ne; 0 0 0
417 }
418 0 return equiv;
419 }
420  
421 /*
422 Check type equivalence in a name list like <name1>|<name2>|...
423 Return 0 if not equal, 1 if equal
424 */
425 SWIGRUNTIME int
426 0 SWIG_TypeEquiv(const char *nb, const char *tb) {
427 0 return SWIG_TypeCmp(nb, tb) == 0 ? 1 : 0;
428 }
429  
430 /*
431 Check the typename
432 */
433 SWIGRUNTIME swig_cast_info *
434 0 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
435 0 ▶ if (ty) {
Branch: 1 branch
BranchTrueFalseTotal
if (ty) { 0 0 0
436 0 swig_cast_info *iter = ty->cast;
437 0 ▶ while (iter) {
Branch: 1 branch
BranchTrueFalseTotal
while (iter) { 0 0 0
438 0 ▶ if (strcmp(iter->type->name, c) == 0) {
Branch: 1 branch
BranchTrueFalseTotal
if (strcmp(iter->type->name, c) == 0) { 0 0 0
439 0 ▶ if (iter == ty->cast)
Branch: 1 branch
BranchTrueFalseTotal
if (iter == ty->cast) 0 0 0
440 0 return iter;
441 /* Move iter to the top of the linked list */
442 0 iter->prev->next = iter->next;
443 0 ▶ if (iter->next)
Branch: 1 branch
BranchTrueFalseTotal
if (iter->next) 0 0 0
444 0 iter->next->prev = iter->prev;
445 0 iter->next = ty->cast;
446 0 iter->prev = 0;
447 0 ▶ if (ty->cast) ty->cast->prev = iter;
Branch: 1 branch
BranchTrueFalseTotal
if (ty->cast) ty->cast->prev = iter; 0 0 0
448 0 ty->cast = iter;
449 0 return iter;
450 }
451 0 iter = iter->next;
452 }
453 }
454 0 return 0;
455 }
456  
457 /*
458 Identical to SWIG_TypeCheck, except strcmp is replaced with a pointer comparison
459 */
460 SWIGRUNTIME swig_cast_info *
461 0 SWIG_TypeCheckStruct(const swig_type_info *from, swig_type_info *ty) {
462 0 ▶ if (ty) {
Branch: 1 branch
BranchTrueFalseTotal
if (ty) { 0 0 0
463 0 swig_cast_info *iter = ty->cast;
464 0 ▶ while (iter) {
Branch: 1 branch
BranchTrueFalseTotal
while (iter) { 0 0 0
465 0 ▶ if (iter->type == from) {
Branch: 1 branch
BranchTrueFalseTotal
if (iter->type == from) { 0 0 0
466 0 ▶ if (iter == ty->cast)
Branch: 1 branch
BranchTrueFalseTotal
if (iter == ty->cast) 0 0 0
467 0 return iter;
468 /* Move iter to the top of the linked list */
469 0 iter->prev->next = iter->next;
470 0 ▶ if (iter->next)
Branch: 1 branch
BranchTrueFalseTotal
if (iter->next) 0 0 0
471 0 iter->next->prev = iter->prev;
472 0 iter->next = ty->cast;
473 0 iter->prev = 0;
474 0 ▶ if (ty->cast) ty->cast->prev = iter;
Branch: 1 branch
BranchTrueFalseTotal
if (ty->cast) ty->cast->prev = iter; 0 0 0
475 0 ty->cast = iter;
476 0 return iter;
477 }
478 0 iter = iter->next;
479 }
480 }
481 0 return 0;
482 }
483  
484 /*
485 Cast a pointer up an inheritance hierarchy
486 */
487 SWIGRUNTIMEINLINE void *
488 0 SWIG_TypeCast(swig_cast_info *ty, void *ptr, int *newmemory) {
489 0 ▶ return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr, newmemory);
Branch: 2 branches
BranchTrueFalseTotal
return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr, newmemory); 0 0 0
return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr, newmemory); 0 0 0
490 }
491  
492 /*
493 Dynamic pointer casting. Down an inheritance hierarchy
494 */
495 SWIGRUNTIME swig_type_info *
496 0 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
497 0 swig_type_info *lastty = ty;
498 0 ▶ if (!ty || !ty->dcast) return ty;
Branch: 2 branches
BranchTrueFalseTotal
if (!ty || !ty->dcast) return ty; 0 0 0
if (!ty || !ty->dcast) return ty; 0 0 0
499 0 ▶ while (ty && (ty->dcast)) {
Branch: 2 branches
BranchTrueFalseTotal
while (ty && (ty->dcast)) { 0 0 0
while (ty && (ty->dcast)) { 0 0 0
500 0 ty = (*ty->dcast)(ptr);
501 0 ▶ if (ty) lastty = ty;
Branch: 1 branch
BranchTrueFalseTotal
if (ty) lastty = ty; 0 0 0
502 }
503 0 return lastty;
504 }
505  
506 /*
507 Return the name associated with this type
508 */
509 SWIGRUNTIMEINLINE const char *
510 SWIG_TypeName(const swig_type_info *ty) {
511 return ty->name;
512 }
513  
514 /*
515 Return the pretty name associated with this type,
516 that is an unmangled type name in a form presentable to the user.
517 */
518 SWIGRUNTIME const char *
519 0 SWIG_TypePrettyName(const swig_type_info *type) {
520 /* The "str" field contains the equivalent pretty names of the
521 type, separated by vertical-bar characters. Choose the last
522 name. It should be the most specific; a fully resolved name
523 but not necessarily with default template parameters expanded. */
524 0 ▶ if (!type) return NULL;
Branch: 1 branch
BranchTrueFalseTotal
if (!type) return NULL; 0 0 0
525 0 ▶ if (type->str != NULL) {
Branch: 1 branch
BranchTrueFalseTotal
if (type->str != NULL) { 0 0 0
526 0 const char *last_name = type->str;
527 const char *s;
528 0 ▶ for (s = type->str; *s; s++)
Branch: 1 branch
BranchTrueFalseTotal
for (s = type->str; *s; s++) 0 0 0
529 0 ▶ if (*s == '|') last_name = s+1;
Branch: 1 branch
BranchTrueFalseTotal
if (*s == '|') last_name = s+1; 0 0 0
530 0 return last_name;
531 }
532 else
533 0 return type->name;
534 }
535  
536 /*
537 Set the clientdata field for a type
538 */
539 SWIGRUNTIME void
540 0 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
541 0 swig_cast_info *cast = ti->cast;
542 /* if (ti->clientdata == clientdata) return; */
543 0 ti->clientdata = clientdata;
544  
545 0 ▶ while (cast) {
Branch: 1 branch
BranchTrueFalseTotal
while (cast) { 0 0 0
546 0 ▶ if (!cast->converter) {
Branch: 1 branch
BranchTrueFalseTotal
if (!cast->converter) { 0 0 0
547 0 swig_type_info *tc = cast->type;
548 0 ▶ if (!tc->clientdata) {
Branch: 1 branch
BranchTrueFalseTotal
if (!tc->clientdata) { 0 0 0
549 0 SWIG_TypeClientData(tc, clientdata);
550 }
551 }
552 0 cast = cast->next;
553 }
554 0 }
555 SWIGRUNTIME void
556 0 SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
557 0 SWIG_TypeClientData(ti, clientdata);
558 0 ti->owndata = 1;
559 0 }
560  
561 /*
562 Search for a swig_type_info structure only by mangled name
563 Search is a O(log #types)
564  
565 We start searching at module start, and finish searching when start == end.
566 Note: if start == end at the beginning of the function, we go all the way around
567 the circular list.
568 */
569 SWIGRUNTIME swig_type_info *
570 0 SWIG_MangledTypeQueryModule(swig_module_info *start,
571 swig_module_info *end,
572 const char *name) {
573 0 swig_module_info *iter = start;
574 do {
575 0 ▶ if (iter->size) {
Branch: 1 branch
BranchTrueFalseTotal
if (iter->size) { 0 0 0
576 0 size_t l = 0;
577 0 size_t r = iter->size - 1;
578 do {
579 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
580 0 size_t i = (l + r) >> 1;
581 0 const char *iname = iter->types[i]->name;
582 0 ▶ if (iname) {
Branch: 1 branch
BranchTrueFalseTotal
if (iname) { 0 0 0
583 0 int compare = strcmp(name, iname);
584 0 ▶ if (compare == 0) {
Branch: 1 branch
BranchTrueFalseTotal
if (compare == 0) { 0 0 0
585 0 return iter->types[i];
586 0 ▶ } else if (compare < 0) {
Branch: 1 branch
BranchTrueFalseTotal
} else if (compare < 0) { 0 0 0
587 0 ▶ if (i) {
Branch: 1 branch
BranchTrueFalseTotal
if (i) { 0 0 0
588 0 r = i - 1;
589 } else {
590 0 break;
591 }
592 0 ▶ } else if (compare > 0) {
Branch: 1 branch
BranchTrueFalseTotal
} else if (compare > 0) { 0 0 0
593 0 l = i + 1;
594 }
595 } else {
596 0 break; /* should never happen */
597 }
598 0 ▶ } while (l <= r);
Branch: 1 branch
BranchTrueFalseTotal
} while (l <= r); 0 0 0
599 }
600 0 iter = iter->next;
601 0 ▶ } while (iter != end);
Branch: 1 branch
BranchTrueFalseTotal
} while (iter != end); 0 0 0
602 0 return 0;
603 }
604  
605 /*
606 Search for a swig_type_info structure for either a mangled name or a human readable name.
607 It first searches the mangled names of the types, which is a O(log #types)
608 If a type is not found it then searches the human readable names, which is O(#types).
609  
610 We start searching at module start, and finish searching when start == end.
611 Note: if start == end at the beginning of the function, we go all the way around
612 the circular list.
613 */
614 SWIGRUNTIME swig_type_info *
615 0 SWIG_TypeQueryModule(swig_module_info *start,
616 swig_module_info *end,
617 const char *name) {
618 /* STEP 1: Search the name field using binary search */
619 0 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
620 0 ▶ if (ret) {
Branch: 1 branch
BranchTrueFalseTotal
if (ret) { 0 0 0
621 0 return ret;
622 } else {
623 /* STEP 2: If the type hasn't been found, do a complete search
624 of the str field (the human readable name) */
625 0 swig_module_info *iter = start;
626 do {
627 0 size_t i = 0;
628 0 ▶ for (; i < iter->size; ++i) {
Branch: 1 branch
BranchTrueFalseTotal
for (; i < iter->size; ++i) { 0 0 0
629 0 ▶ if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
Branch: 2 branches
BranchTrueFalseTotal
if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name))) 0 0 0
if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name))) 0 0 0
630 0 return iter->types[i];
631 }
632 0 iter = iter->next;
633 0 ▶ } while (iter != end);
Branch: 1 branch
BranchTrueFalseTotal
} while (iter != end); 0 0 0
634 }
635  
636 /* neither found a match */
637 0 return 0;
638 }
639  
640 /*
641 Pack binary data into a string
642 */
643 SWIGRUNTIME char *
644 0 SWIG_PackData(char *c, void *ptr, size_t sz) {
645 static const char hex[17] = "0123456789abcdef";
646 0 const unsigned char *u = (unsigned char *) ptr;
647 0 const unsigned char *eu = u + sz;
648 0 ▶ for (; u != eu; ++u) {
Branch: 1 branch
BranchTrueFalseTotal
for (; u != eu; ++u) { 0 0 0
649 0 unsigned char uu = *u;
650 0 *(c++) = hex[(uu & 0xf0) >> 4];
651 0 *(c++) = hex[uu & 0xf];
652 }
653 0 return c;
654 }
655  
656 /*
657 Unpack binary data from a string
658 */
659 SWIGRUNTIME const char *
660 0 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
661 0 unsigned char *u = (unsigned char *) ptr;
662 0 const unsigned char *eu = u + sz;
663 0 ▶ for (; u != eu; ++u) {
Branch: 1 branch
BranchTrueFalseTotal
for (; u != eu; ++u) { 0 0 0
664 0 char d = *(c++);
665 unsigned char uu;
666 0 ▶ if ((d >= '0') && (d <= '9'))
Branch: 2 branches
BranchTrueFalseTotal
if ((d >= '0') && (d <= '9')) 0 0 0
if ((d >= '0') && (d <= '9')) 0 0 0
667 0 uu = (unsigned char)((d - '0') << 4);
668 0 ▶ else if ((d >= 'a') && (d <= 'f'))
Branch: 2 branches
BranchTrueFalseTotal
else if ((d >= 'a') && (d <= 'f')) 0 0 0
else if ((d >= 'a') && (d <= 'f')) 0 0 0
669 0 uu = (unsigned char)((d - ('a'-10)) << 4);
670 else
671 0 return (char *) 0;
672 0 d = *(c++);
673 0 ▶ if ((d >= '0') && (d <= '9'))
Branch: 2 branches
BranchTrueFalseTotal
if ((d >= '0') && (d <= '9')) 0 0 0
if ((d >= '0') && (d <= '9')) 0 0 0
674 0 uu |= (unsigned char)(d - '0');
675 0 ▶ else if ((d >= 'a') && (d <= 'f'))
Branch: 2 branches
BranchTrueFalseTotal
else if ((d >= 'a') && (d <= 'f')) 0 0 0
else if ((d >= 'a') && (d <= 'f')) 0 0 0
676 0 uu |= (unsigned char)(d - ('a'-10));
677 else
678 0 return (char *) 0;
679 0 *u = uu;
680 }
681 0 return c;
682 }
683  
684 /*
685 Pack 'void *' into a string buffer.
686 */
687 SWIGRUNTIME char *
688 0 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
689 0 char *r = buff;
690 0 ▶ if ((2*sizeof(void *) + 2) > bsz) return 0;
Branch: 1 branch
BranchTrueFalseTotal
if ((2*sizeof(void *) + 2) > bsz) return 0; 0 0 0
691 0 *(r++) = '_';
692 0 r = SWIG_PackData(r,&ptr,sizeof(void *));
693 0 ▶ if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
Branch: 1 branch
BranchTrueFalseTotal
if (strlen(name) + 1 > (bsz - (r - buff))) return 0; 0 0 0
694 0 strcpy(r,name);
695 0 return buff;
696 }
697  
698 SWIGRUNTIME const char *
699 0 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
700 0 ▶ if (*c != '_') {
Branch: 1 branch
BranchTrueFalseTotal
if (*c != '_') { 0 0 0
701 0 ▶ if (strcmp(c,"NULL") == 0) {
Branch: 1 branch
BranchTrueFalseTotal
if (strcmp(c,"NULL") == 0) { 0 0 0
702 0 *ptr = (void *) 0;
703 0 return name;
704 } else {
705 0 return 0;
706 }
707 }
708 0 return SWIG_UnpackData(++c,ptr,sizeof(void *));
709 }
710  
711 SWIGRUNTIME char *
712 0 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
713 0 char *r = buff;
714 0 ▶ size_t lname = (name ? strlen(name) : 0);
Branch: 1 branch
BranchTrueFalseTotal
size_t lname = (name ? strlen(name) : 0); 0 0 0
715 0 ▶ if ((2*sz + 2 + lname) > bsz) return 0;
Branch: 1 branch
BranchTrueFalseTotal
if ((2*sz + 2 + lname) > bsz) return 0; 0 0 0
716 0 *(r++) = '_';
717 0 r = SWIG_PackData(r,ptr,sz);
718 0 ▶ if (lname) {
Branch: 1 branch
BranchTrueFalseTotal
if (lname) { 0 0 0
719 0 strncpy(r,name,lname+1);
720 } else {
721 0 *r = 0;
722 }
723 0 return buff;
724 }
725  
726 SWIGRUNTIME const char *
727 0 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
728 0 ▶ if (*c != '_') {
Branch: 1 branch
BranchTrueFalseTotal
if (*c != '_') { 0 0 0
729 0 ▶ if (strcmp(c,"NULL") == 0) {
Branch: 1 branch
BranchTrueFalseTotal
if (strcmp(c,"NULL") == 0) { 0 0 0
730 0 memset(ptr,0,sz);
731 0 return name;
732 } else {
733 0 return 0;
734 }
735 }
736 0 return SWIG_UnpackData(++c,ptr,sz);
737 }
738  
739 #ifdef __cplusplus
740 }
741 #endif
742  
743 /* SWIG Errors applicable to all language modules, values are reserved from -1 to -99 */
744 #define SWIG_UnknownError -1
745 #define SWIG_IOError -2
746 #define SWIG_RuntimeError -3
747 #define SWIG_IndexError -4
748 #define SWIG_TypeError -5
749 #define SWIG_DivisionByZero -6
750 #define SWIG_OverflowError -7
751 #define SWIG_SyntaxError -8
752 #define SWIG_ValueError -9
753 #define SWIG_SystemError -10
754 #define SWIG_AttributeError -11
755 #define SWIG_MemoryError -12
756 #define SWIG_NullReferenceError -13
757  
758  
759 #ifdef __cplusplus
760 /* Needed on some windows machines---since MS plays funny games with the header files under C++ */
761 #include <math.h>
762 #include <stdlib.h>
763 extern "C" {
764 #endif
765  
766 #if __GNUC__ >= 10
767 #if defined(__cplusplus)
768 #pragma GCC diagnostic push
769 #pragma GCC diagnostic ignored "-Wvolatile"
770 #endif
771 #endif
772  
773 #include "EXTERN.h"
774 #include "perl.h"
775 #include "XSUB.h"
776  
777 #if __GNUC__ >= 10
778 #if defined(__cplusplus)
779 #pragma GCC diagnostic pop
780 #endif
781 #endif
782  
783 /* PERL_REVISION was added in Perl 5.6. */
784 #if !defined PERL_REVISION || (PERL_REVISION-0 == 5 && PERL_VERSION-0 < 8)
785 # error SWIG requires Perl >= 5.8.0
786 #endif
787  
788 #if defined(WIN32) && defined(PERL_OBJECT) && !defined(PerlIO_exportFILE)
789 #define PerlIO_exportFILE(fh,fl) (FILE*)(fh)
790 #endif
791  
792 #ifndef SvIOK_UV
793 # define SvIOK_UV(sv) (SvIOK(sv) && (SvUVX(sv) == SvIVX(sv)))
794 #endif
795  
796 #ifndef SvUOK
797 # define SvUOK(sv) SvIOK_UV(sv)
798 #endif
799  
800 #ifndef IVSIZE
801 # ifdef LONGSIZE
802 # define IVSIZE LONGSIZE
803 # else
804 # define IVSIZE 4 /* A bold guess, but the best we can make. */
805 # endif
806 #endif
807  
808 #ifndef INT2PTR
809 # if (IVSIZE == PTRSIZE) && (UVSIZE == PTRSIZE)
810 # define PTRV UV
811 # define INT2PTR(any,d) (any)(d)
812 # else
813 # if PTRSIZE == LONGSIZE
814 # define PTRV unsigned long
815 # else
816 # define PTRV unsigned
817 # endif
818 # define INT2PTR(any,d) (any)(PTRV)(d)
819 # endif
820  
821 # define NUM2PTR(any,d) (any)(PTRV)(d)
822 # define PTR2IV(p) INT2PTR(IV,p)
823 # define PTR2UV(p) INT2PTR(UV,p)
824 # define PTR2NV(p) NUM2PTR(NV,p)
825  
826 # if PTRSIZE == LONGSIZE
827 # define PTR2ul(p) (unsigned long)(p)
828 # else
829 # define PTR2ul(p) INT2PTR(unsigned long,p)
830 # endif
831 #endif /* !INT2PTR */
832  
833 #ifndef SvPV_nolen
834 # define SvPV_nolen(x) SvPV(x,PL_na)
835 #endif
836  
837 #ifndef get_sv
838 # define get_sv perl_get_sv
839 #endif
840  
841 #ifndef ERRSV
842 # define ERRSV get_sv("@",FALSE)
843 #endif
844  
845 #ifndef pTHX_
846 #define pTHX_
847 #endif
848  
849 #include <string.h>
850 #ifdef __cplusplus
851 }
852 #endif
853  
854 /* -----------------------------------------------------------------------------
855 * error manipulation
856 * ----------------------------------------------------------------------------- */
857  
858 SWIGINTERN const char*
859 0 SWIG_Perl_ErrorType(int code) {
860 0 switch(code) {
861 0 case SWIG_MemoryError:
862 0 return "MemoryError";
863 0 case SWIG_IOError:
864 0 return "IOError";
865 0 case SWIG_RuntimeError:
866 0 return "RuntimeError";
867 0 case SWIG_IndexError:
868 0 return "IndexError";
869 0 case SWIG_TypeError:
870 0 return "TypeError";
871 0 case SWIG_DivisionByZero:
872 0 return "ZeroDivisionError";
873 0 case SWIG_OverflowError:
874 0 return "OverflowError";
875 0 case SWIG_SyntaxError:
876 0 return "SyntaxError";
877 0 case SWIG_ValueError:
878 0 return "ValueError";
879 0 case SWIG_SystemError:
880 0 return "SystemError";
881 0 case SWIG_AttributeError:
882 0 return "AttributeError";
883 0 default:
884 0 return "RuntimeError";
885 }
886 }
887  
888  
889 /* -----------------------------------------------------------------------------
890 * perlrun.swg
891 *
892 * This file contains the runtime support for Perl modules
893 * and includes code for managing global variables and pointer
894 * type checking.
895 * ----------------------------------------------------------------------------- */
896  
897 #define SWIG_PERL_OBJECT_DECL
898 #define SWIG_PERL_OBJECT_CALL
899  
900 /* Common SWIG API */
901  
902 /* for raw pointers */
903 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Perl_ConvertPtr(SWIG_PERL_OBJECT_CALL obj, pp, type, flags)
904 #define SWIG_ConvertPtrAndOwn(obj, pp, type, flags,own) SWIG_Perl_ConvertPtrAndOwn(SWIG_PERL_OBJECT_CALL obj, pp, type, flags, own)
905 #define SWIG_NewPointerObj(p, type, flags) SWIG_Perl_NewPointerObj(SWIG_PERL_OBJECT_CALL p, type, flags)
906 #define SWIG_AcquirePtr(ptr, src) SWIG_Perl_AcquirePtr(ptr, src)
907 #define swig_owntype int
908  
909 /* for raw packed data */
910 #define SWIG_ConvertPacked(obj, p, s, type) SWIG_Perl_ConvertPacked(SWIG_PERL_OBJECT_CALL obj, p, s, type)
911 #define SWIG_NewPackedObj(p, s, type) SWIG_Perl_NewPackedObj(SWIG_PERL_OBJECT_CALL p, s, type)
912  
913 /* for class or struct pointers */
914 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
915 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
916  
917 /* for C or C++ function pointers */
918 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_ConvertPtr(obj, pptr, type, 0)
919 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_NewPointerObj(ptr, type, 0)
920  
921 /* for C++ member pointers, ie, member methods */
922 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_ConvertPacked(obj, ptr, sz, ty)
923 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_NewPackedObj(ptr, sz, type)
924  
925  
926 /* Runtime API */
927  
928 #define SWIG_GetModule(clientdata) SWIG_Perl_GetModule(clientdata)
929 #define SWIG_SetModule(clientdata, pointer) SWIG_Perl_SetModule(pointer)
930  
931  
932 /* Error manipulation */
933  
934 #define SWIG_ErrorType(code) SWIG_Perl_ErrorType(code)
935 #define SWIG_Error(code, msg) sv_setpvf(get_sv("@", GV_ADD), "%s %s", SWIG_ErrorType(code), msg)
936 #define SWIG_fail goto fail
937  
938 /* Perl-specific SWIG API */
939  
940 #define SWIG_MakePtr(sv, ptr, type, flags) SWIG_Perl_MakePtr(SWIG_PERL_OBJECT_CALL sv, ptr, type, flags)
941 #define SWIG_MakePackedObj(sv, p, s, type) SWIG_Perl_MakePackedObj(SWIG_PERL_OBJECT_CALL sv, p, s, type)
942 #define SWIG_SetError(str) SWIG_Error(SWIG_RuntimeError, str)
943  
944  
945 #define SWIG_PERL_DECL_ARGS_1(arg1) (SWIG_PERL_OBJECT_DECL arg1)
946 #define SWIG_PERL_CALL_ARGS_1(arg1) (SWIG_PERL_OBJECT_CALL arg1)
947 #define SWIG_PERL_DECL_ARGS_2(arg1, arg2) (SWIG_PERL_OBJECT_DECL arg1, arg2)
948 #define SWIG_PERL_CALL_ARGS_2(arg1, arg2) (SWIG_PERL_OBJECT_CALL arg1, arg2)
949  
950 /* -----------------------------------------------------------------------------
951 * pointers/data manipulation
952 * ----------------------------------------------------------------------------- */
953  
954 /* For backward compatibility only */
955 #define SWIG_POINTER_EXCEPTION 0
956  
957 #ifdef __cplusplus
958 extern "C" {
959 #endif
960  
961 #define SWIG_OWNER SWIG_POINTER_OWN
962 #define SWIG_SHADOW SWIG_OWNER << 1
963  
964 #define SWIG_MAYBE_PERL_OBJECT SWIG_PERL_OBJECT_DECL
965  
966 /* SWIG Perl macros */
967  
968 /* Macro to declare an XS function */
969 #ifndef XSPROTO
970 # define XSPROTO(name) void name(pTHX_ CV* cv)
971 #endif
972  
973 /* Macro to call an XS function */
974 #ifndef MULTIPLICITY
975 # define SWIG_CALLXS(_name) _name(cv)
976 #else
977 # define SWIG_CALLXS(_name) _name(PERL_GET_THX, cv)
978 #endif
979  
980 #define MAGIC_PPERL
981 #define SWIGCLASS_STATIC static SWIGUNUSED
982  
983 #ifndef MULTIPLICITY
984 #define SWIG_MAGIC(a,b) (SV *a, MAGIC *b)
985  
986 #ifdef __cplusplus
987 extern "C" {
988 #endif
989 typedef int (*SwigMagicFunc)(SV *, MAGIC *);
990 #ifdef __cplusplus
991 }
992 #endif
993  
994 #else /* MULTIPLICITY */
995  
996 #define SWIG_MAGIC(a,b) (struct interpreter *interp, SV *a, MAGIC *b)
997  
998 #ifdef __cplusplus
999 extern "C" {
1000 #endif
1001 typedef int (*SwigMagicFunc)(struct interpreter *, SV *, MAGIC *);
1002 #ifdef __cplusplus
1003 }
1004 #endif
1005  
1006 #endif /* MULTIPLICITY */
1007  
1008 0 static void SWIGUNUSED SWIG_croak_null()
1009 {
1010 0 SV *err = get_sv("@", GV_ADD);
1011 0 ▶ if (sv_isobject(err))
Branch: 1 branch
BranchTrueFalseTotal
if (sv_isobject(err)) 0 0 0
1012 0 croak(0);
1013 else
1014 0 croak("%s", SvPV_nolen(err));
1015 }
1016  
1017  
1018 /*
1019 Define how strict is the cast between strings and integers/doubles
1020 when overloading between these types occurs.
1021
1022 The default is making it as strict as possible by using SWIG_AddCast
1023 when needed.
1024
1025 You can use -DSWIG_PERL_NO_STRICT_STR2NUM at compilation time to
1026 disable the SWIG_AddCast, making the casting between string and
1027 numbers less strict.
1028  
1029 In the end, we try to solve the overloading between strings and
1030 numerical types in the more natural way, but if you can avoid it,
1031 well, avoid it using %rename, for example.
1032 */
1033 #ifndef SWIG_PERL_NO_STRICT_STR2NUM
1034 # ifndef SWIG_PERL_STRICT_STR2NUM
1035 # define SWIG_PERL_STRICT_STR2NUM
1036 # endif
1037 #endif
1038 #ifdef SWIG_PERL_STRICT_STR2NUM
1039 /* string takes precedence */
1040 #define SWIG_Str2NumCast(x) SWIG_AddCast(x)
1041 #else
1042 /* number takes precedence */
1043 #define SWIG_Str2NumCast(x) x
1044 #endif
1045  
1046  
1047  
1048 #include <stdlib.h>
1049  
1050 SWIGRUNTIME const char *
1051 0 SWIG_Perl_TypeProxyName(const swig_type_info *type) {
1052 0 ▶ if (!type) return NULL;
Branch: 1 branch
BranchTrueFalseTotal
if (!type) return NULL; 0 0 0
1053 0 ▶ if (type->clientdata != NULL) {
Branch: 1 branch
BranchTrueFalseTotal
if (type->clientdata != NULL) { 0 0 0
1054 0 return (const char*) type->clientdata;
1055 }
1056 else {
1057 0 return type->name;
1058 }
1059 }
1060  
1061 /* Identical to SWIG_TypeCheck, except for strcmp comparison */
1062 SWIGRUNTIME swig_cast_info *
1063 0 SWIG_TypeProxyCheck(const char *c, swig_type_info *ty) {
1064 0 ▶ if (ty) {
Branch: 1 branch
BranchTrueFalseTotal
if (ty) { 0 0 0
1065 0 swig_cast_info *iter = ty->cast;
1066 0 ▶ while (iter) {
Branch: 1 branch
BranchTrueFalseTotal
while (iter) { 0 0 0
1067 0 ▶ if (strcmp(SWIG_Perl_TypeProxyName(iter->type), c) == 0) {
Branch: 1 branch
BranchTrueFalseTotal
if (strcmp(SWIG_Perl_TypeProxyName(iter->type), c) == 0) { 0 0 0
1068 0 ▶ if (iter == ty->cast)
Branch: 1 branch
BranchTrueFalseTotal
if (iter == ty->cast) 0 0 0
1069 0 return iter;
1070 /* Move iter to the top of the linked list */
1071 0 iter->prev->next = iter->next;
1072 0 ▶ if (iter->next)
Branch: 1 branch
BranchTrueFalseTotal
if (iter->next) 0 0 0
1073 0 iter->next->prev = iter->prev;
1074 0 iter->next = ty->cast;
1075 0 iter->prev = 0;
1076 0 ▶ if (ty->cast) ty->cast->prev = iter;
Branch: 1 branch
BranchTrueFalseTotal
if (ty->cast) ty->cast->prev = iter; 0 0 0
1077 0 ty->cast = iter;
1078 0 return iter;
1079 }
1080 0 iter = iter->next;
1081 }
1082 }
1083 0 return 0;
1084 }
1085  
1086 /* Acquire a pointer value */
1087  
1088 SWIGRUNTIME int
1089 0 SWIG_Perl_AcquirePtr(SWIG_MAYBE_PERL_OBJECT SV *SWIGUNUSEDPARM(sv), int SWIGUNUSEDPARM(own)) {
1090 /* TODO */
1091 0 return 0;
1092 }
1093  
1094 /* Function for getting a pointer value */
1095  
1096 SWIGRUNTIME int
1097 0 SWIG_Perl_ConvertPtrAndOwn(SWIG_MAYBE_PERL_OBJECT SV *sv, void **ptr, swig_type_info *_t, int flags, int *own) {
1098 swig_cast_info *tc;
1099 0 void *voidptr = (void *)0;
1100 0 SV *tsv = 0;
1101 0 int check_owned_pointer_release = (flags & SWIG_POINTER_RELEASE) == SWIG_POINTER_RELEASE;
1102  
1103 0 ▶ if (own)
Branch: 1 branch
BranchTrueFalseTotal
if (own) 0 0 0
1104 0 *own = 0;
1105  
1106 /* If magical, apply more magic */
1107 0 ▶ if (SvGMAGICAL(sv))
Branch: 1 branch
BranchTrueFalseTotal
if (SvGMAGICAL(sv)) 0 0 0
1108 0 mg_get(sv);
1109  
1110 /* Check to see if this is an object */
1111 0 ▶ if (sv_isobject(sv)) {
Branch: 1 branch
BranchTrueFalseTotal
if (sv_isobject(sv)) { 0 0 0
1112 0 IV tmp = 0;
1113 0 tsv = (SV*) SvRV(sv);
1114 0 ▶ if ((SvTYPE(tsv) == SVt_PVHV)) {
Branch: 1 branch
BranchTrueFalseTotal
if ((SvTYPE(tsv) == SVt_PVHV)) { 0 0 0
1115 MAGIC *mg;
1116 0 ▶ if (SvMAGICAL(tsv)) {
Branch: 1 branch
BranchTrueFalseTotal
if (SvMAGICAL(tsv)) { 0 0 0
1117 0 mg = mg_find(tsv,'P');
1118 0 ▶ if (mg) {
Branch: 1 branch
BranchTrueFalseTotal
if (mg) { 0 0 0
1119 0 sv = mg->mg_obj;
1120 0 ▶ if (sv_isobject(sv)) {
Branch: 1 branch
BranchTrueFalseTotal
if (sv_isobject(sv)) { 0 0 0
1121 0 tsv = (SV*)SvRV(sv);
1122 0 tmp = SvIV(tsv);
1123 }
1124 }
1125 } else {
1126 0 return SWIG_ERROR;
1127 }
1128 } else {
1129 0 tmp = SvIV(tsv);
1130 }
1131 0 voidptr = INT2PTR(void *,tmp);
1132 0 ▶ } else if (! SvOK(sv)) { /* Check for undef */
Branch: 1 branch
BranchTrueFalseTotal
} else if (! SvOK(sv)) { /* Check for undef */ 0 0 0
1133 0 *(ptr) = (void *) 0;
1134 0 ▶ return (flags & SWIG_POINTER_NO_NULL) ? SWIG_NullReferenceError : SWIG_OK;
Branch: 1 branch
BranchTrueFalseTotal
return (flags & SWIG_POINTER_NO_NULL) ? SWIG_NullReferenceError : SWIG_OK; 0 0 0
1135 0 ▶ } else if (SvTYPE(sv) == SVt_RV) { /* Check for NULL pointer */
Branch: 1 branch
BranchTrueFalseTotal
} else if (SvTYPE(sv) == SVt_RV) { /* Check for NULL pointer */ 0 0 0
1136 0 ▶ if (!SvROK(sv)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SvROK(sv)) { 0 0 0
1137 /* In Perl 5.12 and later, SVt_RV == SVt_IV, so sv could be a valid integer value. */
1138 0 ▶ if (SvIOK(sv)) {
Branch: 1 branch
BranchTrueFalseTotal
if (SvIOK(sv)) { 0 0 0
1139 0 return SWIG_ERROR;
1140 } else {
1141 /* NULL pointer (reference to undef). */
1142 0 *(ptr) = (void *) 0;
1143 0 return SWIG_OK;
1144 }
1145 } else {
1146 0 return SWIG_ERROR;
1147 }
1148 } else { /* Don't know what it is */
1149 0 return SWIG_ERROR;
1150 }
1151 0 ▶ if (_t) {
Branch: 1 branch
BranchTrueFalseTotal
if (_t) { 0 0 0
1152 /* Now see if the types match */
1153 0 ▶ char *_c = HvNAME(SvSTASH(SvRV(sv)));
Branch: 6 branches
BranchTrueFalseTotal
char *_c = HvNAME(SvSTASH(SvRV(sv))); 0 0 0
char *_c = HvNAME(SvSTASH(SvRV(sv))); 0 0 0
char *_c = HvNAME(SvSTASH(SvRV(sv))); 0 0 0
char *_c = HvNAME(SvSTASH(SvRV(sv))); 0 0 0
char *_c = HvNAME(SvSTASH(SvRV(sv))); 0 0 0
char *_c = HvNAME(SvSTASH(SvRV(sv))); 0 0 0
1154 0 tc = SWIG_TypeProxyCheck(_c,_t);
1155 #ifdef SWIG_DIRECTORS
1156 if (!tc && !sv_derived_from(sv,SWIG_Perl_TypeProxyName(_t))) {
1157 #else
1158 0 ▶ if (!tc) {
Branch: 1 branch
BranchTrueFalseTotal
if (!tc) { 0 0 0
1159 #endif
1160 0 return SWIG_ERROR;
1161 }
1162 {
1163 0 int newmemory = 0;
1164 0 *ptr = SWIG_TypeCast(tc,voidptr,&newmemory);
1165 0 ▶ if (newmemory == SWIG_CAST_NEW_MEMORY) {
Branch: 1 branch
BranchTrueFalseTotal
if (newmemory == SWIG_CAST_NEW_MEMORY) { 0 0 0
1166 assert(own); /* badly formed typemap which will lead to a memory leak - it must set and use own to delete *ptr */
1167 0 ▶ if (own)
Branch: 1 branch
BranchTrueFalseTotal
if (own) 0 0 0
1168 0 *own = *own | SWIG_CAST_NEW_MEMORY;
1169 }
1170 }
1171 } else {
1172 0 *ptr = voidptr;
1173 }
1174  
1175 /*
1176 * DISOWN implementation: we need a perl guru to check this one.
1177 */
1178 0 ▶ if (tsv && ((flags & SWIG_POINTER_DISOWN) || check_owned_pointer_release)) {
Branch: 3 branches
BranchTrueFalseTotal
if (tsv && ((flags & SWIG_POINTER_DISOWN) || check_owned_pointer_release)) { 0 0 0
if (tsv && ((flags & SWIG_POINTER_DISOWN) || check_owned_pointer_release)) { 0 0 0
if (tsv && ((flags & SWIG_POINTER_DISOWN) || check_owned_pointer_release)) { 0 0 0
1179 /*
1180 * almost copy paste code from below SWIG_POINTER_OWN setting
1181 */
1182 0 SV *obj = sv;
1183 0 HV *stash = SvSTASH(SvRV(obj));
1184 0 GV *gv = *(GV**)hv_fetch(stash, "OWNER", 5, TRUE);
1185 0 int owned = 0;
1186 0 ▶ if (isGV(gv)) {
Branch: 1 branch
BranchTrueFalseTotal
if (isGV(gv)) { 0 0 0
1187 0 ▶ HV *hv = GvHVn(gv);
Branch: 1 branch
BranchTrueFalseTotal
HV *hv = GvHVn(gv); 0 0 0
1188 /*
1189 * To set ownership (see below), a newSViv(1) entry is added.
1190 * Hence, to remove ownership, we delete the entry.
1191 */
1192 0 ▶ if (hv_exists_ent(hv, obj, 0)) {
Branch: 1 branch
BranchTrueFalseTotal
if (hv_exists_ent(hv, obj, 0)) { 0 0 0
1193 0 owned = 1;
1194 0 ▶ if (flags & SWIG_POINTER_DISOWN) {
Branch: 1 branch
BranchTrueFalseTotal
if (flags & SWIG_POINTER_DISOWN) { 0 0 0
1195 0 hv_delete_ent(hv, obj, 0, 0);
1196 }
1197 }
1198 }
1199 0 ▶ if (check_owned_pointer_release && !owned) {
Branch: 2 branches
BranchTrueFalseTotal
if (check_owned_pointer_release && !owned) { 0 0 0
if (check_owned_pointer_release && !owned) { 0 0 0
1200 0 return SWIG_ERROR_RELEASE_NOT_OWNED;
1201 }
1202 }
1203  
1204 0 ▶ if (tsv && (flags & SWIG_POINTER_CLEAR)) {
Branch: 2 branches
BranchTrueFalseTotal
if (tsv && (flags & SWIG_POINTER_CLEAR)) { 0 0 0
if (tsv && (flags & SWIG_POINTER_CLEAR)) { 0 0 0
1205 0 SvIV_set(tsv, 0);
1206 }
1207  
1208 0 return SWIG_OK;
1209 }
1210  
1211 SWIGRUNTIME int
1212 0 SWIG_Perl_ConvertPtr(SWIG_MAYBE_PERL_OBJECT SV *sv, void **ptr, swig_type_info *_t, int flags) {
1213 0 return SWIG_Perl_ConvertPtrAndOwn(sv, ptr, _t, flags, 0);
1214 }
1215  
1216 SWIGRUNTIME void
1217 0 SWIG_Perl_MakePtr(SWIG_MAYBE_PERL_OBJECT SV *sv, void *ptr, swig_type_info *t, int flags) {
1218 0 ▶ if (ptr && (flags & (SWIG_SHADOW | SWIG_POINTER_OWN))) {
Branch: 2 branches
BranchTrueFalseTotal
if (ptr && (flags & (SWIG_SHADOW | SWIG_POINTER_OWN))) { 0 0 0
if (ptr && (flags & (SWIG_SHADOW | SWIG_POINTER_OWN))) { 0 0 0
1219 SV *self;
1220 0 SV *obj=newSV(0);
1221 0 HV *hash=newHV();
1222 HV *stash;
1223 0 sv_setref_pv(obj, SWIG_Perl_TypeProxyName(t), ptr);
1224 0 stash=SvSTASH(SvRV(obj));
1225 0 ▶ if (flags & SWIG_POINTER_OWN) {
Branch: 1 branch
BranchTrueFalseTotal
if (flags & SWIG_POINTER_OWN) { 0 0 0
1226 HV *hv;
1227 0 GV *gv = *(GV**)hv_fetch(stash, "OWNER", 5, TRUE);
1228 0 ▶ if (!isGV(gv))
Branch: 1 branch
BranchTrueFalseTotal
if (!isGV(gv)) 0 0 0
1229 0 gv_init(gv, stash, "OWNER", 5, FALSE);
1230 0 ▶ hv=GvHVn(gv);
Branch: 1 branch
BranchTrueFalseTotal
hv=GvHVn(gv); 0 0 0
1231 0 hv_store_ent(hv, obj, newSViv(1), 0);
1232 }
1233 0 sv_magic((SV *)hash, (SV *)obj, 'P', Nullch, 0);
1234 0 SvREFCNT_dec(obj);
1235 0 self=newRV_noinc((SV *)hash);
1236 0 sv_setsv(sv, self);
1237 0 SvREFCNT_dec((SV *)self);
1238 0 sv_bless(sv, stash);
1239 }
1240 else {
1241 0 sv_setref_pv(sv, SWIG_Perl_TypeProxyName(t), ptr);
1242 }
1243 0 }
1244  
1245 SWIGRUNTIMEINLINE SV *
1246 0 SWIG_Perl_NewPointerObj(SWIG_MAYBE_PERL_OBJECT void *ptr, swig_type_info *t, int flags) {
1247 0 SV *result = sv_newmortal();
1248 0 SWIG_MakePtr(result, ptr, t, flags);
1249 0 return result;
1250 }
1251  
1252 SWIGRUNTIME void
1253 0 SWIG_Perl_MakePackedObj(SWIG_MAYBE_PERL_OBJECT SV *sv, void *ptr, int sz, swig_type_info *type) {
1254 char result[1024];
1255 0 char *r = result;
1256 0 ▶ if ((2*sz + 1 + strlen(SWIG_Perl_TypeProxyName(type))) > 1000) return;
Branch: 1 branch
BranchTrueFalseTotal
if ((2*sz + 1 + strlen(SWIG_Perl_TypeProxyName(type))) > 1000) return; 0 0 0
1257 0 *(r++) = '_';
1258 0 r = SWIG_PackData(r,ptr,sz);
1259 0 strcpy(r,SWIG_Perl_TypeProxyName(type));
1260 0 sv_setpv(sv, result);
1261 }
1262  
1263 SWIGRUNTIME SV *
1264 0 SWIG_Perl_NewPackedObj(SWIG_MAYBE_PERL_OBJECT void *ptr, int sz, swig_type_info *type) {
1265 0 SV *result = sv_newmortal();
1266 0 SWIG_Perl_MakePackedObj(result, ptr, sz, type);
1267 0 return result;
1268 }
1269  
1270 /* Convert a packed pointer value */
1271 SWIGRUNTIME int
1272 0 SWIG_Perl_ConvertPacked(SWIG_MAYBE_PERL_OBJECT SV *obj, void *ptr, int sz, swig_type_info *ty) {
1273 swig_cast_info *tc;
1274 0 const char *c = 0;
1275  
1276 0 ▶ if ((!obj) || (!SvOK(obj))) return SWIG_ERROR;
Branch: 2 branches
BranchTrueFalseTotal
if ((!obj) || (!SvOK(obj))) return SWIG_ERROR; 0 0 0
if ((!obj) || (!SvOK(obj))) return SWIG_ERROR; 0 0 0
1277 0 c = SvPV_nolen(obj);
1278 /* Pointer values must start with leading underscore */
1279 0 ▶ if (*c != '_') return SWIG_ERROR;
Branch: 1 branch
BranchTrueFalseTotal
if (*c != '_') return SWIG_ERROR; 0 0 0
1280 0 c++;
1281 0 c = SWIG_UnpackData(c,ptr,sz);
1282 0 ▶ if (ty) {
Branch: 1 branch
BranchTrueFalseTotal
if (ty) { 0 0 0
1283 0 tc = SWIG_TypeCheck(c,ty);
1284 0 ▶ if (!tc) return SWIG_ERROR;
Branch: 1 branch
BranchTrueFalseTotal
if (!tc) return SWIG_ERROR; 0 0 0
1285 }
1286 0 return SWIG_OK;
1287 }
1288  
1289  
1290 /* Macros for low-level exception handling */
1291 #define SWIG_croak(x) { SWIG_Error(SWIG_RuntimeError, x); SWIG_fail; }
1292  
1293  
1294 typedef XSPROTO(SwigPerlWrapper);
1295 typedef SwigPerlWrapper *SwigPerlWrapperPtr;
1296  
1297 /* Structure for command table */
1298 typedef struct {
1299 const char *name;
1300 SwigPerlWrapperPtr wrapper;
1301 } swig_command_info;
1302  
1303 /* Information for constant table */
1304  
1305 #define SWIG_INT 1
1306 #define SWIG_FLOAT 2
1307 #define SWIG_STRING 3
1308 #define SWIG_POINTER 4
1309 #define SWIG_BINARY 5
1310  
1311 /* Constant information structure */
1312 typedef struct swig_constant_info {
1313 int type;
1314 const char *name;
1315 long lvalue;
1316 double dvalue;
1317 void *pvalue;
1318 swig_type_info **ptype;
1319 } swig_constant_info;
1320  
1321  
1322 /* Structure for variable table */
1323 typedef struct {
1324 const char *name;
1325 SwigMagicFunc set;
1326 SwigMagicFunc get;
1327 swig_type_info **type;
1328 } swig_variable_info;
1329  
1330 /* Magic variable code */
1331 #ifdef __cplusplus
1332 # define swig_create_magic(s,a,b,c) _swig_create_magic(s,const_cast<char*>(a),b,c)
1333 #else
1334 # define swig_create_magic(s,a,b,c) _swig_create_magic(s,(char*)(a),b,c)
1335 #endif
1336 #ifndef MULTIPLICITY
1337 0 SWIGRUNTIME void _swig_create_magic(SV *sv, char *name, int (*set)(SV *, MAGIC *), int (*get)(SV *,MAGIC *))
1338 #else
1339 SWIGRUNTIME void _swig_create_magic(SV *sv, char *name, int (*set)(struct interpreter*, SV *, MAGIC *), int (*get)(struct interpreter*, SV *,MAGIC *))
1340 #endif
1341 {
1342 MAGIC *mg;
1343 0 sv_magic(sv,sv,'U',name,(I32)strlen(name));
1344 0 mg = mg_find(sv,'U');
1345 0 mg->mg_virtual = (MGVTBL *) malloc(sizeof(MGVTBL));
1346 0 mg->mg_virtual->svt_get = (SwigMagicFunc) get;
1347 0 mg->mg_virtual->svt_set = (SwigMagicFunc) set;
1348 0 mg->mg_virtual->svt_len = 0;
1349 0 mg->mg_virtual->svt_clear = 0;
1350 0 mg->mg_virtual->svt_free = 0;
1351 0 }
1352  
1353  
1354 SWIGRUNTIME swig_module_info *
1355 0 SWIG_Perl_GetModule(void *SWIGUNUSEDPARM(clientdata)) {
1356 static void *type_pointer = (void *)0;
1357 SV *pointer;
1358  
1359 /* first check if pointer already created */
1360 0 ▶ if (!type_pointer) {
Branch: 1 branch
BranchTrueFalseTotal
if (!type_pointer) { 0 0 0
1361 0 pointer = get_sv("swig_runtime_data::type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME, FALSE | GV_ADDMULTI);
1362 0 ▶ if (pointer && SvOK(pointer)) {
Branch: 2 branches
BranchTrueFalseTotal
if (pointer && SvOK(pointer)) { 0 0 0
if (pointer && SvOK(pointer)) { 0 0 0
1363 0 type_pointer = INT2PTR(swig_type_info **, SvIV(pointer));
1364 }
1365 }
1366  
1367 0 return (swig_module_info *) type_pointer;
1368 }
1369  
1370 SWIGRUNTIME void
1371 0 SWIG_Perl_SetModule(swig_module_info *module) {
1372 SV *pointer;
1373  
1374 /* create a new pointer */
1375 0 pointer = get_sv("swig_runtime_data::type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME, TRUE | GV_ADDMULTI);
1376 0 sv_setiv(pointer, PTR2IV(module));
1377 0 }
1378  
1379 #ifdef __cplusplus
1380 }
1381 #endif
1382  
1383 /* Workaround perl5 global namespace pollution. Note that undefining library
1384 * functions like fopen will not solve the problem on all platforms as fopen
1385 * might be a macro on Windows but not necessarily on other operating systems. */
1386 #ifdef do_open
1387 #undef do_open
1388 #endif
1389 #ifdef do_close
1390 #undef do_close
1391 #endif
1392 #ifdef do_exec
1393 #undef do_exec
1394 #endif
1395 #ifdef scalar
1396 #undef scalar
1397 #endif
1398 #ifdef list
1399 #undef list
1400 #endif
1401 #ifdef apply
1402 #undef apply
1403 #endif
1404 #ifdef convert
1405 #undef convert
1406 #endif
1407 #ifdef Error
1408 #undef Error
1409 #endif
1410 #ifdef form
1411 #undef form
1412 #endif
1413 #ifdef vform
1414 #undef vform
1415 #endif
1416 #ifdef LABEL
1417 #undef LABEL
1418 #endif
1419 #ifdef METHOD
1420 #undef METHOD
1421 #endif
1422 #ifdef Move
1423 #undef Move
1424 #endif
1425 #ifdef yylex
1426 #undef yylex
1427 #endif
1428 #ifdef yyparse
1429 #undef yyparse
1430 #endif
1431 #ifdef yyerror
1432 #undef yyerror
1433 #endif
1434 #ifdef invert
1435 #undef invert
1436 #endif
1437 #ifdef ref
1438 #undef ref
1439 #endif
1440 #ifdef read
1441 #undef read
1442 #endif
1443 #ifdef write
1444 #undef write
1445 #endif
1446 #ifdef eof
1447 #undef eof
1448 #endif
1449 #ifdef close
1450 #undef close
1451 #endif
1452 #ifdef rewind
1453 #undef rewind
1454 #endif
1455 #ifdef free
1456 #undef free
1457 #endif
1458 #ifdef malloc
1459 #undef malloc
1460 #endif
1461 #ifdef calloc
1462 #undef calloc
1463 #endif
1464 #ifdef Stat
1465 #undef Stat
1466 #endif
1467 #ifdef check
1468 #undef check
1469 #endif
1470 #ifdef seekdir
1471 #undef seekdir
1472 #endif
1473 #ifdef open
1474 #undef open
1475 #endif
1476 #ifdef readdir
1477 #undef readdir
1478 #endif
1479 #ifdef bind
1480 #undef bind
1481 #endif
1482 #ifdef access
1483 #undef access
1484 #endif
1485 #ifdef stat
1486 #undef stat
1487 #endif
1488 #ifdef seed
1489 #undef seed
1490 #endif
1491  
1492 #ifdef bool
1493 /* Leave if macro is from C99 stdbool.h */
1494 #ifndef __bool_true_false_are_defined
1495 #undef bool
1496 #endif
1497 #endif
1498  
1499  
1500  
1501  
1502 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
1503  
1504 #define SWIG_contract_assert(expr, msg) do { if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } } while (0)
1505  
1506  
1507  
1508 /* -------- TYPES TABLE (BEGIN) -------- */
1509  
1510 #define SWIGTYPE_p_FILE swig_types[0]
1511 #define SWIGTYPE_p_char swig_types[1]
1512 #define SWIGTYPE_p_f_p_q_const__char_p_q_const__char_int_int__void swig_types[2]
1513 #define SWIGTYPE_p_f_p_q_const__char_p_q_const__char_int_p_q_const__char__void swig_types[3]
1514 static swig_type_info *swig_types[5];
1515 static swig_module_info swig_module = {swig_types, 4, 0, 0, 0, 0};
1516 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1517 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
1518  
1519 /* -------- TYPES TABLE (END) -------- */
1520  
1521 #define SWIG_init boot_Math__GSL__CDF
1522  
1523 #define SWIG_name "Math::GSL::CDFc::boot_Math__GSL__CDF"
1524 #define SWIG_prefix "Math::GSL::CDFc::"
1525  
1526 #define SWIG_as_voidptr(a) (void *)((const void *)(a))
1527 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),(void**)(a))
1528  
1529  
1530 #ifdef __cplusplus
1531 extern "C"
1532 #endif
1533 #ifndef MULTIPLICITY
1534 SWIGEXPORT void SWIG_init (CV* cv);
1535 #else
1536 SWIGEXPORT void SWIG_init (pTHXo_ CV* cv);
1537 #endif
1538  
1539  
1540 SWIGINTERNINLINE SV *
1541 0 SWIG_From_double SWIG_PERL_DECL_ARGS_1(double value)
1542 {
1543 0 return sv_2mortal(newSVnv(value));
1544 }
1545  
1546  
1547 SWIGINTERNINLINE SV *
1548 0 SWIG_From_long SWIG_PERL_DECL_ARGS_1(long value)
1549 {
1550 SV *sv;
1551 if (IVSIZE >= sizeof(value) || (value >= IV_MIN && value <= IV_MAX))
1552 0 sv = newSViv(value);
1553 else
1554 sv = newSVpvf("%ld", value);
1555 0 return sv_2mortal(sv);
1556 }
1557  
1558  
1559 SWIGINTERNINLINE SV *
1560 0 SWIG_From_int SWIG_PERL_DECL_ARGS_1(int value)
1561 {
1562 0 return SWIG_From_long SWIG_PERL_CALL_ARGS_1(value);
1563 }
1564  
1565  
1566 SWIGINTERN swig_type_info*
1567 0 SWIG_pchar_descriptor(void)
1568 {
1569 static int init = 0;
1570 static swig_type_info* info = 0;
1571 0 ▶ if (!init) {
Branch: 1 branch
BranchTrueFalseTotal
if (!init) { 0 0 0
1572 0 info = SWIG_TypeQuery("_p_char");
1573 0 init = 1;
1574 }
1575 0 return info;
1576 }
1577  
1578  
1579 SWIGINTERN int
1580 0 SWIG_AsCharPtrAndSize(SV *obj, char** cptr, size_t* psize, int *alloc)
1581 {
1582 0 ▶ if (SvMAGICAL(obj)) {
Branch: 1 branch
BranchTrueFalseTotal
if (SvMAGICAL(obj)) { 0 0 0
1583 0 SV *tmp = sv_newmortal();
1584 0 ▶ SvSetSV(tmp, obj);
Branch: 1 branch
BranchTrueFalseTotal
SvSetSV(tmp, obj); 0 0 0
1585 0 obj = tmp;
1586 }
1587 0 ▶ if (SvPOK(obj)) {
Branch: 1 branch
BranchTrueFalseTotal
if (SvPOK(obj)) { 0 0 0
1588 0 STRLEN len = 0;
1589 0 char *cstr = SvPV(obj, len);
1590 0 size_t size = len + 1;
1591 0 ▶ if (cptr) {
Branch: 1 branch
BranchTrueFalseTotal
if (cptr) { 0 0 0
1592 0 ▶ if (alloc) {
Branch: 1 branch
BranchTrueFalseTotal
if (alloc) { 0 0 0
1593 0 ▶ if (*alloc == SWIG_NEWOBJ) {
Branch: 1 branch
BranchTrueFalseTotal
if (*alloc == SWIG_NEWOBJ) { 0 0 0
1594 0 *cptr = (char *)memcpy(malloc((size)*sizeof(char)), cstr, sizeof(char)*(size));
1595 } else {
1596 0 *cptr = cstr;
1597 0 *alloc = SWIG_OLDOBJ;
1598 }
1599 }
1600 }
1601 0 ▶ if (psize) *psize = size;
Branch: 1 branch
BranchTrueFalseTotal
if (psize) *psize = size; 0 0 0
1602 0 return SWIG_OK;
1603 } else {
1604 0 swig_type_info* pchar_descriptor = SWIG_pchar_descriptor();
1605 0 ▶ if (pchar_descriptor) {
Branch: 1 branch
BranchTrueFalseTotal
if (pchar_descriptor) { 0 0 0
1606 0 char* vptr = 0;
1607 0 ▶ if (SWIG_ConvertPtr(obj, (void**)&vptr, pchar_descriptor, 0) == SWIG_OK) {
Branch: 1 branch
BranchTrueFalseTotal
if (SWIG_ConvertPtr(obj, (void**)&vptr, pchar_descriptor, 0) == SWIG_OK) { 0 0 0
1608 0 ▶ if (cptr) *cptr = vptr;
Branch: 1 branch
BranchTrueFalseTotal
if (cptr) *cptr = vptr; 0 0 0
1609 0 ▶ if (psize) *psize = vptr ? (strlen(vptr) + 1) : 0;
Branch: 2 branches
BranchTrueFalseTotal
if (psize) *psize = vptr ? (strlen(vptr) + 1) : 0; 0 0 0
if (psize) *psize = vptr ? (strlen(vptr) + 1) : 0; 0 0 0
1610 0 ▶ if (alloc) *alloc = SWIG_OLDOBJ;
Branch: 1 branch
BranchTrueFalseTotal
if (alloc) *alloc = SWIG_OLDOBJ; 0 0 0
1611 0 return SWIG_OK;
1612 }
1613 }
1614 }
1615 0 return SWIG_TypeError;
1616 }
1617  
1618  
1619  
1620  
1621  
1622 #include <limits.h>
1623 #if !defined(SWIG_NO_LLONG_MAX)
1624 # if !defined(LLONG_MAX) && defined(__GNUC__) && defined (__LONG_LONG_MAX__)
1625 # define LLONG_MAX __LONG_LONG_MAX__
1626 # define LLONG_MIN (-LLONG_MAX - 1LL)
1627 # define ULLONG_MAX (LLONG_MAX * 2ULL + 1ULL)
1628 # endif
1629 #endif
1630  
1631  
1632 #include <stdlib.h>
1633 #ifdef _MSC_VER
1634 # ifndef strtoull
1635 # define strtoull _strtoui64
1636 # endif
1637 # ifndef strtoll
1638 # define strtoll _strtoi64
1639 # endif
1640 #endif
1641  
1642  
1643 SWIGINTERN int
1644 0 SWIG_AsVal_double SWIG_PERL_DECL_ARGS_2(SV *obj, double *val)
1645 {
1646 0 ▶ if (SvNIOK(obj)) {
Branch: 1 branch
BranchTrueFalseTotal
if (SvNIOK(obj)) { 0 0 0
1647 0 ▶ if (val) *val = SvNV(obj);
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = SvNV(obj); 0 0 0
1648 0 return SWIG_OK;
1649 0 ▶ } else if (SvIOK(obj)) {
Branch: 1 branch
BranchTrueFalseTotal
} else if (SvIOK(obj)) { 0 0 0
1650 0 ▶ if (val) *val = (double) SvIV(obj);
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = (double) SvIV(obj); 0 0 0
1651 0 return SWIG_AddCast(SWIG_OK);
1652 } else {
1653 0 const char *nptr = SvPV_nolen(obj);
1654 0 ▶ if (nptr) {
Branch: 1 branch
BranchTrueFalseTotal
if (nptr) { 0 0 0
1655 char *endptr;
1656 double v;
1657 0 errno = 0;
1658 0 v = strtod(nptr, &endptr);
1659 0 ▶ if (errno == ERANGE) {
Branch: 1 branch
BranchTrueFalseTotal
if (errno == ERANGE) { 0 0 0
1660 0 errno = 0;
1661 0 return SWIG_OverflowError;
1662 } else {
1663 0 ▶ if (*endptr == '\0') {
Branch: 1 branch
BranchTrueFalseTotal
if (*endptr == '\0') { 0 0 0
1664 0 ▶ if (val) *val = v;
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = v; 0 0 0
1665 0 return SWIG_Str2NumCast(SWIG_OK);
1666 }
1667 }
1668 }
1669 }
1670 0 return SWIG_TypeError;
1671 }
1672  
1673  
1674 #include <float.h>
1675  
1676  
1677 #include <math.h>
1678  
1679  
1680 SWIGINTERNINLINE int
1681 0 SWIG_CanCastAsInteger(double *d, double min, double max) {
1682 0 double x = *d;
1683 0 ▶ if ((min <= x && x <= max)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((min <= x && x <= max)) { 0 0 0
if ((min <= x && x <= max)) { 0 0 0
1684 double fx, cx, rd;
1685 0 errno = 0;
1686 0 fx = floor(x);
1687 0 cx = ceil(x);
1688 0 ▶ rd = ((x - fx) < 0.5) ? fx : cx; /* simple rint */
Branch: 1 branch
BranchTrueFalseTotal
rd = ((x - fx) < 0.5) ? fx : cx; /* simple rint */ 0 0 0
1689 0 ▶ if ((errno == EDOM) || (errno == ERANGE)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((errno == EDOM) || (errno == ERANGE)) { 0 0 0
if ((errno == EDOM) || (errno == ERANGE)) { 0 0 0
1690 0 errno = 0;
1691 } else {
1692 double summ, reps, diff;
1693 0 ▶ if (rd < x) {
Branch: 1 branch
BranchTrueFalseTotal
if (rd < x) { 0 0 0
1694 0 diff = x - rd;
1695 0 ▶ } else if (rd > x) {
Branch: 1 branch
BranchTrueFalseTotal
} else if (rd > x) { 0 0 0
1696 0 diff = rd - x;
1697 } else {
1698 0 return 1;
1699 }
1700 0 summ = rd + x;
1701 0 reps = diff/summ;
1702 0 ▶ if (reps < 8*DBL_EPSILON) {
Branch: 1 branch
BranchTrueFalseTotal
if (reps < 8*DBL_EPSILON) { 0 0 0
1703 0 *d = rd;
1704 0 return 1;
1705 }
1706 }
1707 }
1708 0 return 0;
1709 }
1710  
1711  
1712 SWIGINTERN int
1713 0 SWIG_AsVal_long SWIG_PERL_DECL_ARGS_2(SV *obj, long* val)
1714 {
1715 0 ▶ if (SvUOK(obj)) {
Branch: 1 branch
BranchTrueFalseTotal
if (SvUOK(obj)) { 0 0 0
1716 0 UV v = SvUV(obj);
1717 0 ▶ if (UVSIZE < sizeof(*val) || v <= LONG_MAX) {
Branch: 1 branch
BranchTrueFalseTotal
if (UVSIZE < sizeof(*val) || v <= LONG_MAX) { 0 0 0
1718 0 ▶ if (val) *val = v;
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = v; 0 0 0
1719 0 return SWIG_OK;
1720 }
1721 0 return SWIG_OverflowError;
1722 0 ▶ } else if (SvIOK(obj)) {
Branch: 1 branch
BranchTrueFalseTotal
} else if (SvIOK(obj)) { 0 0 0
1723 0 IV v = SvIV(obj);
1724 if (IVSIZE <= sizeof(*val) || (v >= LONG_MIN && v <= LONG_MAX)) {
1725 0 ▶ if(val) *val = v;
Branch: 1 branch
BranchTrueFalseTotal
if(val) *val = v; 0 0 0
1726 0 return SWIG_OK;
1727 }
1728 return SWIG_OverflowError;
1729 } else {
1730 0 int dispatch = 0;
1731 0 const char *nptr = SvPV_nolen(obj);
1732 0 ▶ if (nptr) {
Branch: 1 branch
BranchTrueFalseTotal
if (nptr) { 0 0 0
1733 char *endptr;
1734 long v;
1735 0 errno = 0;
1736 0 v = strtol(nptr, &endptr,0);
1737 0 ▶ if (errno == ERANGE) {
Branch: 1 branch
BranchTrueFalseTotal
if (errno == ERANGE) { 0 0 0
1738 0 errno = 0;
1739 0 return SWIG_OverflowError;
1740 } else {
1741 0 ▶ if (*endptr == '\0') {
Branch: 1 branch
BranchTrueFalseTotal
if (*endptr == '\0') { 0 0 0
1742 0 ▶ if (val) *val = v;
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = v; 0 0 0
1743 0 return SWIG_Str2NumCast(SWIG_OK);
1744 }
1745 }
1746 }
1747 0 ▶ if (!dispatch) {
Branch: 1 branch
BranchTrueFalseTotal
if (!dispatch) { 0 0 0
1748 double d;
1749 0 int res = SWIG_AddCast(SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(obj,&d));
1750 0 ▶ if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, LONG_MIN, LONG_MAX)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, LONG_MIN, LONG_MAX)) { 0 0 0
if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, LONG_MIN, LONG_MAX)) { 0 0 0
1751 0 ▶ if (val) *val = (long)(d);
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = (long)(d); 0 0 0
1752 0 return res;
1753 }
1754 }
1755 }
1756 0 return SWIG_TypeError;
1757 }
1758  
1759  
1760 SWIGINTERN int
1761 0 SWIG_AsVal_int SWIG_PERL_DECL_ARGS_2(SV * obj, int *val)
1762 {
1763 long v;
1764 0 int res = SWIG_AsVal_long SWIG_PERL_CALL_ARGS_2(obj, &v);
1765 0 ▶ if (SWIG_IsOK(res)) {
Branch: 1 branch
BranchTrueFalseTotal
if (SWIG_IsOK(res)) { 0 0 0
1766 0 ▶ if ((v < INT_MIN || v > INT_MAX)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((v < INT_MIN || v > INT_MAX)) { 0 0 0
if ((v < INT_MIN || v > INT_MAX)) { 0 0 0
1767 0 return SWIG_OverflowError;
1768 } else {
1769 0 ▶ if (val) *val = (int)(v);
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = (int)(v); 0 0 0
1770 }
1771 }
1772 0 return res;
1773 }
1774  
1775  
1776 SWIGINTERNINLINE SV *
1777 0 SWIG_FromCharPtrAndSize(const char* carray, size_t size)
1778 {
1779 0 SV *obj = sv_newmortal();
1780 0 ▶ if (carray) {
Branch: 1 branch
BranchTrueFalseTotal
if (carray) { 0 0 0
1781 0 sv_setpvn(obj, carray, size);
1782 } else {
1783 0 sv_setsv(obj, &PL_sv_undef);
1784 }
1785 0 return obj;
1786 }
1787  
1788  
1789 SWIGINTERNINLINE SV *
1790 0 SWIG_FromCharPtr(const char *cptr)
1791 {
1792 0 ▶ return SWIG_FromCharPtrAndSize(cptr, (cptr ? strlen(cptr) : 0));
Branch: 1 branch
BranchTrueFalseTotal
return SWIG_FromCharPtrAndSize(cptr, (cptr ? strlen(cptr) : 0)); 0 0 0
1793 }
1794  
1795  
1796 #include "gsl/gsl_nan.h"
1797 #include "gsl/gsl_errno.h"
1798 #include "gsl/gsl_math.h"
1799 #include "gsl/gsl_monte.h"
1800  
1801  
1802 struct perl_array {
1803 I32 len;
1804 AV *array;
1805 };
1806  
1807  
1808  
1809 enum awType { awDouble, awFloat, awInt, awUnsigned };
1810  
1811 typedef struct {
1812 I32 size;
1813 enum awType type;
1814 void * data;
1815 } array_wrapper;
1816  
1817 0 array_wrapper * array_wrapper_alloc(int numelem, enum awType type){
1818 0 array_wrapper * rv = malloc(sizeof(array_wrapper));
1819  
1820 0 ▶ if (rv == NULL)
Branch: 1 branch
BranchTrueFalseTotal
if (rv == NULL) 0 0 0
1821 0 croak("array_wrapper_alloc: can't malloc wrapper\n");
1822  
1823 0 switch (type){
1824 0 case awDouble:
1825 0 rv->data = malloc(sizeof(double) * numelem);
1826 0 break;
1827 0 case awFloat:
1828 0 rv->data = malloc(sizeof(float) * numelem);
1829 0 break;
1830 0 case awInt:
1831 0 rv->data = malloc(sizeof(int) * numelem);
1832 0 break;
1833 0 case awUnsigned:
1834 0 rv->data = malloc(sizeof(unsigned int) * numelem);
1835 0 break;
1836 0 default:
1837 0 croak("array_wrapper_alloc: type should be awDouble, awFloat, awInt, or awUnsigned");
1838 }
1839  
1840 0 ▶ if (rv->data == NULL)
Branch: 1 branch
BranchTrueFalseTotal
if (rv->data == NULL) 0 0 0
1841 0 croak("array_wrapper_alloc: can't malloc data");
1842  
1843 0 rv->size = numelem;
1844 0 rv->type = type;
1845 0 return rv;
1846 }
1847  
1848 0 void array_wrapper_free(array_wrapper * daw){
1849 0 free(daw->data);
1850 0 free(daw);
1851 0 }
1852  
1853  
1854 /* structure to hold required information while the gsl function call
1855 for each callback
1856 */
1857 struct gsl_function_perl {
1858 gsl_function C_gsl_function;
1859 SV * function;
1860 SV * params;
1861 };
1862  
1863 struct gsl_function_fdf_perl {
1864 gsl_function_fdf C_gsl_function_fdf;
1865 SV * f;
1866 SV * df;
1867 SV * fdf;
1868 SV * params;
1869 };
1870  
1871 struct gsl_monte_function_perl {
1872 gsl_monte_function C_gsl_monte_function;
1873 SV * f;
1874 SV * dim;
1875 SV * params;
1876 };
1877  
1878 0 void gsl_function_perl_free(struct gsl_function_perl * perl_f){
1879 0 ▶ if (perl_f != NULL) {
Branch: 1 branch
BranchTrueFalseTotal
if (perl_f != NULL) { 0 0 0
1880 0 SvREFCNT_dec(perl_f->function);
1881 0 SvREFCNT_dec(perl_f->params);
1882 0 Safefree(perl_f);
1883 }
1884 0 }
1885  
1886 0 void gsl_function_fdf_perl_free(struct gsl_function_fdf_perl * perl_fdf){
1887 0 ▶ if (perl_fdf != NULL) {
Branch: 1 branch
BranchTrueFalseTotal
if (perl_fdf != NULL) { 0 0 0
1888 0 SvREFCNT_dec(perl_fdf->f);
1889 0 SvREFCNT_dec(perl_fdf->df);
1890 0 SvREFCNT_dec(perl_fdf->fdf);
1891 0 SvREFCNT_dec(perl_fdf->params);
1892 0 Safefree(perl_fdf);
1893 }
1894 0 }
1895  
1896 /* These functions (C callbacks) calls the perl callbacks.
1897 Info for perl callback can be found using the 'void*params' parameter
1898 */
1899 0 double call_gsl_function_x_params(SV* function, double x, SV *params){
1900 unsigned int count;
1901 double y;
1902 0 dSP;
1903  
1904 //fprintf(stderr, "LOOKUP CALLBACK\n");
1905 0 ENTER;
1906 0 SAVETMPS;
1907  
1908 0 ▶ PUSHMARK(SP);
Branch: 1 branch
BranchTrueFalseTotal
PUSHMARK(SP); 0 0 0
1909 0 ▶ XPUSHs(sv_2mortal(newSVnv((double)x)));
Branch: 1 branch
BranchTrueFalseTotal
XPUSHs(sv_2mortal(newSVnv((double)x))); 0 0 0
1910 0 ▶ XPUSHs(params);
Branch: 1 branch
BranchTrueFalseTotal
XPUSHs(params); 0 0 0
1911 0 PUTBACK; /* make local stack pointer global */
1912  
1913 0 count = call_sv(function, G_SCALAR);
1914 0 SPAGAIN;
1915  
1916 0 ▶ if (count != 1)
Branch: 1 branch
BranchTrueFalseTotal
if (count != 1) 0 0 0
1917 0 croak("Expected to call subroutine in scalar context!");
1918  
1919 0 y = POPn;
1920  
1921 0 PUTBACK; /* make local stack pointer global */
1922 0 ▶ FREETMPS;
Branch: 1 branch
BranchTrueFalseTotal
FREETMPS; 0 0 0
1923 0 LEAVE;
1924  
1925 0 return y;
1926 }
1927  
1928 0 double call_gsl_function(double x , void *params){
1929 0 struct gsl_function_perl *F=(struct gsl_function_perl*)params;
1930 0 return call_gsl_function_x_params( F->function, x, F->params );
1931 }
1932  
1933 0 double call_gsl_function_fdf_f(double x , void *params){
1934 0 struct gsl_function_fdf_perl *F=(struct gsl_function_fdf_perl*)params;
1935 0 return call_gsl_function_x_params( F->f, x, F->params );
1936 }
1937  
1938 0 double call_gsl_function_fdf_df(double x , void *params){
1939 0 struct gsl_function_fdf_perl *F=(struct gsl_function_fdf_perl*)params;
1940 0 return call_gsl_function_x_params( F->df, x, F->params );
1941 }
1942  
1943 0 void call_gsl_function_fdf_fdf(double x , void *params, double *f, double *df ){
1944 0 struct gsl_function_fdf_perl *F=(struct gsl_function_fdf_perl*)params;
1945  
1946 0 dSP;
1947  
1948 0 ENTER;
1949 0 SAVETMPS;
1950  
1951 0 ▶ PUSHMARK(SP);
Branch: 1 branch
BranchTrueFalseTotal
PUSHMARK(SP); 0 0 0
1952 0 ▶ EXTEND(SP, 2);
Branch: 1 branch
BranchTrueFalseTotal
EXTEND(SP, 2); 0 0 0
1953 0 PUSHs(sv_2mortal(newSVnv((double)x)));
1954 0 PUSHs(F->params);
1955 0 PUTBACK; /* make local stack pointer global */
1956  
1957 {
1958 0 unsigned int count = call_sv(F->fdf, G_ARRAY);
1959 0 SPAGAIN;
1960  
1961 0 ▶ if (count != 2)
Branch: 1 branch
BranchTrueFalseTotal
if (count != 2) 0 0 0
1962 0 croak( "Expected two return values, got %d", count );
1963 }
1964  
1965 0 *df = POPn;
1966 0 *f = POPn;
1967  
1968 0 PUTBACK; /* make local stack pointer global */
1969 0 ▶ FREETMPS;
Branch: 1 branch
BranchTrueFalseTotal
FREETMPS; 0 0 0
1970 0 LEAVE;
1971 0 }
1972  
1973 0 double call_gsl_monte_function(double *x_array , size_t dim, void *params){
1974 0 struct gsl_monte_function_perl *F=(struct gsl_monte_function_perl*)params;
1975 unsigned int count;
1976 unsigned int i;
1977 AV* perl_array;
1978 double y;
1979 0 dSP;
1980  
1981 //fprintf(stderr, "LOOKUP CALLBACK\n");
1982 0 ENTER;
1983 0 SAVETMPS;
1984  
1985 0 ▶ PUSHMARK(SP);
Branch: 1 branch
BranchTrueFalseTotal
PUSHMARK(SP); 0 0 0
1986 0 perl_array=newAV();
1987 0 sv_2mortal((SV*)perl_array);
1988 0 ▶ XPUSHs(sv_2mortal(newRV((SV *)perl_array)));
Branch: 1 branch
BranchTrueFalseTotal
XPUSHs(sv_2mortal(newRV((SV *)perl_array))); 0 0 0
1989 0 ▶ for(i=0; i<dim; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for(i=0; i<dim; i++) { 0 0 0
1990 /* no mortal : it is referenced by the array */
1991 0 av_push(perl_array, newSVnv(x_array[i]));
1992 }
1993 0 ▶ XPUSHs(sv_2mortal(newSViv(dim)));
Branch: 1 branch
BranchTrueFalseTotal
XPUSHs(sv_2mortal(newSViv(dim))); 0 0 0
1994 0 ▶ XPUSHs(F->params);
Branch: 1 branch
BranchTrueFalseTotal
XPUSHs(F->params); 0 0 0
1995 0 PUTBACK; /* make local stack pointer global */
1996  
1997 0 count = call_sv(F->f, G_SCALAR);
1998 0 SPAGAIN;
1999  
2000 0 ▶ if (count != 1)
Branch: 1 branch
BranchTrueFalseTotal
if (count != 1) 0 0 0
2001 0 croak("Expected to call subroutine in scalar context!");
2002  
2003 0 y = POPn;
2004  
2005 0 PUTBACK; /* make local stack pointer global */
2006 0 ▶ FREETMPS;
Branch: 1 branch
BranchTrueFalseTotal
FREETMPS; 0 0 0
2007 0 LEAVE;
2008  
2009 0 return y;
2010 }
2011  
2012  
2013 0 void gsl_function_fdf_extract( char* param_name, HV* hash, SV* func[] ) {
2014 static const char *keys[3] = { "f", "df", "fdf" };
2015  
2016 int ikey;
2017  
2018 0 ▶ for ( ikey = 0 ; ikey < 3 ; ++ikey ) {
Branch: 1 branch
BranchTrueFalseTotal
for ( ikey = 0 ; ikey < 3 ; ++ikey ) { 0 0 0
2019 0 func[ikey] = 0;
2020 0 const char* key = keys[ikey];
2021 /* it just so happens that strlen(keys[ikey]) == ikey + 1 */
2022 0 SV** pp_sv = hv_fetch( hash, key, ikey+1, 0 );
2023 SV* function;
2024  
2025 0 ▶ if ( !pp_sv )
Branch: 1 branch
BranchTrueFalseTotal
if ( !pp_sv ) 0 0 0
2026 0 croak("Math::GSL : %s: missing key %s!", param_name, key);
2027  
2028 0 function = *pp_sv;
2029  
2030 0 ▶ if ( SvPOK(function) || ( SvROK( function ) && SvTYPE(SvRV(function)) == SVt_PVCV ) ) {
Branch: 3 branches
BranchTrueFalseTotal
if ( SvPOK(function) || ( SvROK( function ) && SvTYPE(SvRV(function)) == SVt_PVCV ) ) { 0 0 0
if ( SvPOK(function) || ( SvROK( function ) && SvTYPE(SvRV(function)) == SVt_PVCV ) ) { 0 0 0
if ( SvPOK(function) || ( SvROK( function ) && SvTYPE(SvRV(function)) == SVt_PVCV ) ) { 0 0 0
2031 /* hold on to SV after the enclosing hash goes away */
2032 0 SvREFCNT_inc( function );
2033 0 func[ikey] = function;
2034 }
2035 else {
2036 0 croak( "Math::GSL : %s: key %s is not a reference to code!", param_name, key);
2037 }
2038 }
2039 0 }
2040  
2041  
2042  
2043 #include "gsl/gsl_cdf.h"
2044  
2045  
2046 SWIGINTERN int
2047 0 SWIG_AsVal_unsigned_SS_long SWIG_PERL_DECL_ARGS_2(SV *obj, unsigned long *val)
2048 {
2049 0 ▶ if (SvUOK(obj)) {
Branch: 1 branch
BranchTrueFalseTotal
if (SvUOK(obj)) { 0 0 0
2050 0 UV v = SvUV(obj);
2051 if (UVSIZE <= sizeof(*val) || v <= ULONG_MAX) {
2052 0 ▶ if (val) *val = v;
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = v; 0 0 0
2053 0 return SWIG_OK;
2054 }
2055 return SWIG_OverflowError;
2056 0 ▶ } else if (SvIOK(obj)) {
Branch: 1 branch
BranchTrueFalseTotal
} else if (SvIOK(obj)) { 0 0 0
2057 0 IV v = SvIV(obj);
2058 0 ▶ if (v >= 0 && (IVSIZE <= sizeof(*val) || v <= ULONG_MAX)) {
Branch: 1 branch
BranchTrueFalseTotal
if (v >= 0 && (IVSIZE <= sizeof(*val) || v <= ULONG_MAX)) { 0 0 0
2059 0 ▶ if (val) *val = v;
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = v; 0 0 0
2060 0 return SWIG_OK;
2061 }
2062 0 return SWIG_OverflowError;
2063 } else {
2064 0 int dispatch = 0;
2065 0 const char *nptr = SvPV_nolen(obj);
2066 0 ▶ if (nptr) {
Branch: 1 branch
BranchTrueFalseTotal
if (nptr) { 0 0 0
2067 char *endptr;
2068 unsigned long v;
2069 0 errno = 0;
2070 0 v = strtoul(nptr, &endptr,0);
2071 0 ▶ if (errno == ERANGE) {
Branch: 1 branch
BranchTrueFalseTotal
if (errno == ERANGE) { 0 0 0
2072 0 errno = 0;
2073 0 return SWIG_OverflowError;
2074 } else {
2075 0 ▶ if (*endptr == '\0') {
Branch: 1 branch
BranchTrueFalseTotal
if (*endptr == '\0') { 0 0 0
2076 0 ▶ if (val) *val = v;
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = v; 0 0 0
2077 0 return SWIG_Str2NumCast(SWIG_OK);
2078 }
2079 }
2080 }
2081 0 ▶ if (!dispatch) {
Branch: 1 branch
BranchTrueFalseTotal
if (!dispatch) { 0 0 0
2082 double d;
2083 0 int res = SWIG_AddCast(SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(obj,&d));
2084 0 ▶ if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, 0, ULONG_MAX)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, 0, ULONG_MAX)) { 0 0 0
if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, 0, ULONG_MAX)) { 0 0 0
2085 0 ▶ if (val) *val = (unsigned long)(d);
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = (unsigned long)(d); 0 0 0
2086 0 return res;
2087 }
2088 }
2089 }
2090 0 return SWIG_TypeError;
2091 }
2092  
2093  
2094 SWIGINTERN int
2095 0 SWIG_AsVal_unsigned_SS_int SWIG_PERL_DECL_ARGS_2(SV * obj, unsigned int *val)
2096 {
2097 unsigned long v;
2098 0 int res = SWIG_AsVal_unsigned_SS_long SWIG_PERL_CALL_ARGS_2(obj, &v);
2099 0 ▶ if (SWIG_IsOK(res)) {
Branch: 1 branch
BranchTrueFalseTotal
if (SWIG_IsOK(res)) { 0 0 0
2100 0 ▶ if ((v > UINT_MAX)) {
Branch: 1 branch
BranchTrueFalseTotal
if ((v > UINT_MAX)) { 0 0 0
2101 0 return SWIG_OverflowError;
2102 } else {
2103 0 ▶ if (val) *val = (unsigned int)(v);
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = (unsigned int)(v); 0 0 0
2104 }
2105 }
2106 0 return res;
2107 }
2108  
2109 #ifdef __cplusplus
2110 extern "C" {
2111 #endif
2112  
2113 #define MAGIC_CLASS
2114 0 SWIGCLASS_STATIC int swig_magic_readonly(pTHX_ SV *SWIGUNUSEDPARM(sv), MAGIC *SWIGUNUSEDPARM(mg)) {
2115 MAGIC_PPERL
2116 0 croak("Value is read-only.");
2117 return 0;
2118 }
2119  
2120 #ifdef __cplusplus
2121 }
2122 #endif
2123  
2124 #ifdef __cplusplus
2125 extern "C" {
2126 #endif
2127 0 XS(_wrap_gsl_error) {
2128 {
2129 0 char *arg1 = (char *) 0 ;
2130 0 char *arg2 = (char *) 0 ;
2131 int arg3 ;
2132 int arg4 ;
2133 int res1 ;
2134 0 char *buf1 = 0 ;
2135 0 int alloc1 = 0 ;
2136 int res2 ;
2137 0 char *buf2 = 0 ;
2138 0 int alloc2 = 0 ;
2139 int val3 ;
2140 0 int ecode3 = 0 ;
2141 int val4 ;
2142 0 int ecode4 = 0 ;
2143 0 int argvi = 0;
2144 0 dXSARGS;
2145
2146 0 ▶ if ((items < 4) || (items > 4)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 4) || (items > 4)) { 0 0 0
if ((items < 4) || (items > 4)) { 0 0 0
2147 0 SWIG_croak("Usage: gsl_error(reason,file,line,gsl_errno);");
2148 }
2149 0 res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
2150 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2151 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_error" "', argument " "1"" of type '" "char const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_error" "', argument " "1"" of type '" "char const *""'"); 0 0 0
2152 }
2153 0 arg1 = (char *)(buf1);
2154 0 res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
2155 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
2156 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_error" "', argument " "2"" of type '" "char const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_error" "', argument " "2"" of type '" "char const *""'"); 0 0 0
2157 }
2158 0 arg2 = (char *)(buf2);
2159 0 ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
2160 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
2161 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_error" "', argument " "3"" of type '" "int""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_error" "', argument " "3"" of type '" "int""'"); 0 0 0
2162 }
2163 0 arg3 = (int)(val3);
2164 0 ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
2165 0 ▶ if (!SWIG_IsOK(ecode4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode4)) { 0 0 0
2166 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_error" "', argument " "4"" of type '" "int""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_error" "', argument " "4"" of type '" "int""'"); 0 0 0
2167 }
2168 0 arg4 = (int)(val4);
2169 0 gsl_error((char const *)arg1,(char const *)arg2,arg3,arg4);
2170 0 ST(argvi) = &PL_sv_undef;
2171 0 ▶ if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc1 == SWIG_NEWOBJ) free((char*)buf1); 0 0 0
2172 0 ▶ if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); 0 0 0
2173
2174
2175 0 XSRETURN(argvi);
2176 0 fail:
2177 0 ▶ if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc1 == SWIG_NEWOBJ) free((char*)buf1); 0 0 0
2178 0 ▶ if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); 0 0 0
2179
2180
2181 0 SWIG_croak_null();
2182 }
2183 }
2184  
2185  
2186 0 XS(_wrap_gsl_stream_printf) {
2187 {
2188 0 char *arg1 = (char *) 0 ;
2189 0 char *arg2 = (char *) 0 ;
2190 int arg3 ;
2191 0 char *arg4 = (char *) 0 ;
2192 int res1 ;
2193 0 char *buf1 = 0 ;
2194 0 int alloc1 = 0 ;
2195 int res2 ;
2196 0 char *buf2 = 0 ;
2197 0 int alloc2 = 0 ;
2198 int val3 ;
2199 0 int ecode3 = 0 ;
2200 int res4 ;
2201 0 char *buf4 = 0 ;
2202 0 int alloc4 = 0 ;
2203 0 int argvi = 0;
2204 0 dXSARGS;
2205
2206 0 ▶ if ((items < 4) || (items > 4)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 4) || (items > 4)) { 0 0 0
if ((items < 4) || (items > 4)) { 0 0 0
2207 0 SWIG_croak("Usage: gsl_stream_printf(label,file,line,reason);");
2208 }
2209 0 res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
2210 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2211 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_stream_printf" "', argument " "1"" of type '" "char const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_stream_printf" "', argument " "1"" of type '" "char const *""'"); 0 0 0
2212 }
2213 0 arg1 = (char *)(buf1);
2214 0 res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
2215 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
2216 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_stream_printf" "', argument " "2"" of type '" "char const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_stream_printf" "', argument " "2"" of type '" "char const *""'"); 0 0 0
2217 }
2218 0 arg2 = (char *)(buf2);
2219 0 ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
2220 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
2221 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_stream_printf" "', argument " "3"" of type '" "int""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_stream_printf" "', argument " "3"" of type '" "int""'"); 0 0 0
2222 }
2223 0 arg3 = (int)(val3);
2224 0 res4 = SWIG_AsCharPtrAndSize(ST(3), &buf4, NULL, &alloc4);
2225 0 ▶ if (!SWIG_IsOK(res4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res4)) { 0 0 0
2226 0 ▶ SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_stream_printf" "', argument " "4"" of type '" "char const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_stream_printf" "', argument " "4"" of type '" "char const *""'"); 0 0 0
2227 }
2228 0 arg4 = (char *)(buf4);
2229 0 gsl_stream_printf((char const *)arg1,(char const *)arg2,arg3,(char const *)arg4);
2230 0 ST(argvi) = &PL_sv_undef;
2231 0 ▶ if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc1 == SWIG_NEWOBJ) free((char*)buf1); 0 0 0
2232 0 ▶ if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); 0 0 0
2233
2234 0 ▶ if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc4 == SWIG_NEWOBJ) free((char*)buf4); 0 0 0
2235 0 XSRETURN(argvi);
2236 0 fail:
2237 0 ▶ if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc1 == SWIG_NEWOBJ) free((char*)buf1); 0 0 0
2238 0 ▶ if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); 0 0 0
2239
2240 0 ▶ if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc4 == SWIG_NEWOBJ) free((char*)buf4); 0 0 0
2241 0 SWIG_croak_null();
2242 }
2243 }
2244  
2245  
2246 0 XS(_wrap_gsl_strerror) {
2247 {
2248 int arg1 ;
2249 int val1 ;
2250 0 int ecode1 = 0 ;
2251 0 int argvi = 0;
2252 0 char *result = 0 ;
2253 0 dXSARGS;
2254
2255 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
2256 0 SWIG_croak("Usage: gsl_strerror(gsl_errno);");
2257 }
2258 0 ecode1 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
2259 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
2260 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_strerror" "', argument " "1"" of type '" "int""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_strerror" "', argument " "1"" of type '" "int""'"); 0 0 0
2261 }
2262 0 arg1 = (int)(val1);
2263 0 result = (char *)gsl_strerror(arg1);
2264 0 ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
2265
2266 0 XSRETURN(argvi);
2267 0 fail:
2268
2269 0 SWIG_croak_null();
2270 }
2271 }
2272  
2273  
2274 0 XS(_wrap_gsl_set_error_handler) {
2275 {
2276 0 gsl_error_handler_t *arg1 = (gsl_error_handler_t *) 0 ;
2277 0 int argvi = 0;
2278 0 gsl_error_handler_t *result = 0 ;
2279 0 dXSARGS;
2280
2281 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
2282 0 SWIG_croak("Usage: gsl_set_error_handler(new_handler);");
2283 }
2284 {
2285 0 int res = SWIG_ConvertFunctionPtr(ST(0), (void**)(&arg1), SWIGTYPE_p_f_p_q_const__char_p_q_const__char_int_int__void);
2286 0 ▶ if (!SWIG_IsOK(res)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res)) { 0 0 0
2287 0 ▶ SWIG_exception_fail(SWIG_ArgError(res), "in method '" "gsl_set_error_handler" "', argument " "1"" of type '" "gsl_error_handler_t *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res), "in method '" "gsl_set_error_handler" "', argument " "1"" of type '" "gsl_error_handler_t *""'"); 0 0 0
2288 }
2289 }
2290 0 result = (gsl_error_handler_t *)gsl_set_error_handler(arg1);
2291 0 ST(argvi) = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_q_const__char_p_q_const__char_int_int__void); argvi++ ;
2292
2293 0 XSRETURN(argvi);
2294 0 fail:
2295
2296 0 SWIG_croak_null();
2297 }
2298 }
2299  
2300  
2301 0 XS(_wrap_gsl_set_error_handler_off) {
2302 {
2303 0 int argvi = 0;
2304 0 gsl_error_handler_t *result = 0 ;
2305 0 dXSARGS;
2306
2307 0 ▶ if ((items < 0) || (items > 0)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 0) || (items > 0)) { 0 0 0
if ((items < 0) || (items > 0)) { 0 0 0
2308 0 SWIG_croak("Usage: gsl_set_error_handler_off();");
2309 }
2310 0 result = (gsl_error_handler_t *)gsl_set_error_handler_off();
2311 0 ST(argvi) = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_q_const__char_p_q_const__char_int_int__void); argvi++ ;
2312 0 XSRETURN(argvi);
2313 0 fail:
2314 0 SWIG_croak_null();
2315 }
2316 }
2317  
2318  
2319 0 XS(_wrap_gsl_set_stream_handler) {
2320 {
2321 0 gsl_stream_handler_t *arg1 = (gsl_stream_handler_t *) 0 ;
2322 0 int argvi = 0;
2323 0 gsl_stream_handler_t *result = 0 ;
2324 0 dXSARGS;
2325
2326 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
2327 0 SWIG_croak("Usage: gsl_set_stream_handler(new_handler);");
2328 }
2329 {
2330 0 int res = SWIG_ConvertFunctionPtr(ST(0), (void**)(&arg1), SWIGTYPE_p_f_p_q_const__char_p_q_const__char_int_p_q_const__char__void);
2331 0 ▶ if (!SWIG_IsOK(res)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res)) { 0 0 0
2332 0 ▶ SWIG_exception_fail(SWIG_ArgError(res), "in method '" "gsl_set_stream_handler" "', argument " "1"" of type '" "gsl_stream_handler_t *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res), "in method '" "gsl_set_stream_handler" "', argument " "1"" of type '" "gsl_stream_handler_t *""'"); 0 0 0
2333 }
2334 }
2335 0 result = (gsl_stream_handler_t *)gsl_set_stream_handler(arg1);
2336 0 ST(argvi) = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_q_const__char_p_q_const__char_int_p_q_const__char__void); argvi++ ;
2337
2338 0 XSRETURN(argvi);
2339 0 fail:
2340
2341 0 SWIG_croak_null();
2342 }
2343 }
2344  
2345  
2346 0 XS(_wrap_gsl_set_stream) {
2347 {
2348 0 FILE *arg1 = (FILE *) 0 ;
2349 0 void *argp1 = 0 ;
2350 0 int res1 = 0 ;
2351 0 int argvi = 0;
2352 0 FILE *result = 0 ;
2353 0 dXSARGS;
2354
2355 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
2356 0 SWIG_croak("Usage: gsl_set_stream(new_stream);");
2357 }
2358 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_FILE, 0 | 0 );
2359 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2360 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_set_stream" "', argument " "1"" of type '" "FILE *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_set_stream" "', argument " "1"" of type '" "FILE *""'"); 0 0 0
2361 }
2362 0 arg1 = (FILE *)(argp1);
2363 0 result = (FILE *)gsl_set_stream(arg1);
2364 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FILE, 0 | 0); argvi++ ;
2365
2366 0 XSRETURN(argvi);
2367 0 fail:
2368
2369 0 SWIG_croak_null();
2370 }
2371 }
2372  
2373  
2374 0 XS(_wrap_gsl_cdf_ugaussian_P) {
2375 {
2376 double arg1 ;
2377 double val1 ;
2378 0 int ecode1 = 0 ;
2379 0 int argvi = 0;
2380 double result;
2381 0 dXSARGS;
2382
2383 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
2384 0 SWIG_croak("Usage: gsl_cdf_ugaussian_P(x);");
2385 }
2386 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
2387 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
2388 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_ugaussian_P" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_ugaussian_P" "', argument " "1"" of type '" "double""'"); 0 0 0
2389 }
2390 0 arg1 = (double)(val1);
2391 0 result = (double)gsl_cdf_ugaussian_P(arg1);
2392 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
2393
2394 0 XSRETURN(argvi);
2395 0 fail:
2396
2397 0 SWIG_croak_null();
2398 }
2399 }
2400  
2401  
2402 0 XS(_wrap_gsl_cdf_ugaussian_Q) {
2403 {
2404 double arg1 ;
2405 double val1 ;
2406 0 int ecode1 = 0 ;
2407 0 int argvi = 0;
2408 double result;
2409 0 dXSARGS;
2410
2411 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
2412 0 SWIG_croak("Usage: gsl_cdf_ugaussian_Q(x);");
2413 }
2414 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
2415 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
2416 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_ugaussian_Q" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_ugaussian_Q" "', argument " "1"" of type '" "double""'"); 0 0 0
2417 }
2418 0 arg1 = (double)(val1);
2419 0 result = (double)gsl_cdf_ugaussian_Q(arg1);
2420 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
2421
2422 0 XSRETURN(argvi);
2423 0 fail:
2424
2425 0 SWIG_croak_null();
2426 }
2427 }
2428  
2429  
2430 0 XS(_wrap_gsl_cdf_ugaussian_Pinv) {
2431 {
2432 double arg1 ;
2433 double val1 ;
2434 0 int ecode1 = 0 ;
2435 0 int argvi = 0;
2436 double result;
2437 0 dXSARGS;
2438
2439 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
2440 0 SWIG_croak("Usage: gsl_cdf_ugaussian_Pinv(P);");
2441 }
2442 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
2443 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
2444 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_ugaussian_Pinv" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_ugaussian_Pinv" "', argument " "1"" of type '" "double""'"); 0 0 0
2445 }
2446 0 arg1 = (double)(val1);
2447 0 result = (double)gsl_cdf_ugaussian_Pinv(arg1);
2448 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
2449
2450 0 XSRETURN(argvi);
2451 0 fail:
2452
2453 0 SWIG_croak_null();
2454 }
2455 }
2456  
2457  
2458 0 XS(_wrap_gsl_cdf_ugaussian_Qinv) {
2459 {
2460 double arg1 ;
2461 double val1 ;
2462 0 int ecode1 = 0 ;
2463 0 int argvi = 0;
2464 double result;
2465 0 dXSARGS;
2466
2467 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
2468 0 SWIG_croak("Usage: gsl_cdf_ugaussian_Qinv(Q);");
2469 }
2470 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
2471 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
2472 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_ugaussian_Qinv" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_ugaussian_Qinv" "', argument " "1"" of type '" "double""'"); 0 0 0
2473 }
2474 0 arg1 = (double)(val1);
2475 0 result = (double)gsl_cdf_ugaussian_Qinv(arg1);
2476 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
2477
2478 0 XSRETURN(argvi);
2479 0 fail:
2480
2481 0 SWIG_croak_null();
2482 }
2483 }
2484  
2485  
2486 0 XS(_wrap_gsl_cdf_gaussian_P) {
2487 {
2488 double arg1 ;
2489 double arg2 ;
2490 double val1 ;
2491 0 int ecode1 = 0 ;
2492 double val2 ;
2493 0 int ecode2 = 0 ;
2494 0 int argvi = 0;
2495 double result;
2496 0 dXSARGS;
2497
2498 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
2499 0 SWIG_croak("Usage: gsl_cdf_gaussian_P(x,sigma);");
2500 }
2501 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
2502 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
2503 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_gaussian_P" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_gaussian_P" "', argument " "1"" of type '" "double""'"); 0 0 0
2504 }
2505 0 arg1 = (double)(val1);
2506 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
2507 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
2508 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_gaussian_P" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_gaussian_P" "', argument " "2"" of type '" "double""'"); 0 0 0
2509 }
2510 0 arg2 = (double)(val2);
2511 0 result = (double)gsl_cdf_gaussian_P(arg1,arg2);
2512 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
2513
2514
2515 0 XSRETURN(argvi);
2516 0 fail:
2517
2518
2519 0 SWIG_croak_null();
2520 }
2521 }
2522  
2523  
2524 0 XS(_wrap_gsl_cdf_gaussian_Q) {
2525 {
2526 double arg1 ;
2527 double arg2 ;
2528 double val1 ;
2529 0 int ecode1 = 0 ;
2530 double val2 ;
2531 0 int ecode2 = 0 ;
2532 0 int argvi = 0;
2533 double result;
2534 0 dXSARGS;
2535
2536 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
2537 0 SWIG_croak("Usage: gsl_cdf_gaussian_Q(x,sigma);");
2538 }
2539 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
2540 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
2541 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_gaussian_Q" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_gaussian_Q" "', argument " "1"" of type '" "double""'"); 0 0 0
2542 }
2543 0 arg1 = (double)(val1);
2544 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
2545 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
2546 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_gaussian_Q" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_gaussian_Q" "', argument " "2"" of type '" "double""'"); 0 0 0
2547 }
2548 0 arg2 = (double)(val2);
2549 0 result = (double)gsl_cdf_gaussian_Q(arg1,arg2);
2550 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
2551
2552
2553 0 XSRETURN(argvi);
2554 0 fail:
2555
2556
2557 0 SWIG_croak_null();
2558 }
2559 }
2560  
2561  
2562 0 XS(_wrap_gsl_cdf_gaussian_Pinv) {
2563 {
2564 double arg1 ;
2565 double arg2 ;
2566 double val1 ;
2567 0 int ecode1 = 0 ;
2568 double val2 ;
2569 0 int ecode2 = 0 ;
2570 0 int argvi = 0;
2571 double result;
2572 0 dXSARGS;
2573
2574 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
2575 0 SWIG_croak("Usage: gsl_cdf_gaussian_Pinv(P,sigma);");
2576 }
2577 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
2578 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
2579 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_gaussian_Pinv" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_gaussian_Pinv" "', argument " "1"" of type '" "double""'"); 0 0 0
2580 }
2581 0 arg1 = (double)(val1);
2582 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
2583 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
2584 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_gaussian_Pinv" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_gaussian_Pinv" "', argument " "2"" of type '" "double""'"); 0 0 0
2585 }
2586 0 arg2 = (double)(val2);
2587 0 result = (double)gsl_cdf_gaussian_Pinv(arg1,arg2);
2588 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
2589
2590
2591 0 XSRETURN(argvi);
2592 0 fail:
2593
2594
2595 0 SWIG_croak_null();
2596 }
2597 }
2598  
2599  
2600 0 XS(_wrap_gsl_cdf_gaussian_Qinv) {
2601 {
2602 double arg1 ;
2603 double arg2 ;
2604 double val1 ;
2605 0 int ecode1 = 0 ;
2606 double val2 ;
2607 0 int ecode2 = 0 ;
2608 0 int argvi = 0;
2609 double result;
2610 0 dXSARGS;
2611
2612 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
2613 0 SWIG_croak("Usage: gsl_cdf_gaussian_Qinv(Q,sigma);");
2614 }
2615 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
2616 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
2617 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_gaussian_Qinv" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_gaussian_Qinv" "', argument " "1"" of type '" "double""'"); 0 0 0
2618 }
2619 0 arg1 = (double)(val1);
2620 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
2621 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
2622 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_gaussian_Qinv" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_gaussian_Qinv" "', argument " "2"" of type '" "double""'"); 0 0 0
2623 }
2624 0 arg2 = (double)(val2);
2625 0 result = (double)gsl_cdf_gaussian_Qinv(arg1,arg2);
2626 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
2627
2628
2629 0 XSRETURN(argvi);
2630 0 fail:
2631
2632
2633 0 SWIG_croak_null();
2634 }
2635 }
2636  
2637  
2638 0 XS(_wrap_gsl_cdf_gamma_P) {
2639 {
2640 double arg1 ;
2641 double arg2 ;
2642 double arg3 ;
2643 double val1 ;
2644 0 int ecode1 = 0 ;
2645 double val2 ;
2646 0 int ecode2 = 0 ;
2647 double val3 ;
2648 0 int ecode3 = 0 ;
2649 0 int argvi = 0;
2650 double result;
2651 0 dXSARGS;
2652
2653 0 ▶ if ((items < 3) || (items > 3)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 3) || (items > 3)) { 0 0 0
if ((items < 3) || (items > 3)) { 0 0 0
2654 0 SWIG_croak("Usage: gsl_cdf_gamma_P(x,a,b);");
2655 }
2656 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
2657 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
2658 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_gamma_P" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_gamma_P" "', argument " "1"" of type '" "double""'"); 0 0 0
2659 }
2660 0 arg1 = (double)(val1);
2661 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
2662 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
2663 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_gamma_P" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_gamma_P" "', argument " "2"" of type '" "double""'"); 0 0 0
2664 }
2665 0 arg2 = (double)(val2);
2666 0 ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
2667 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
2668 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_gamma_P" "', argument " "3"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_gamma_P" "', argument " "3"" of type '" "double""'"); 0 0 0
2669 }
2670 0 arg3 = (double)(val3);
2671 0 result = (double)gsl_cdf_gamma_P(arg1,arg2,arg3);
2672 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
2673
2674
2675
2676 0 XSRETURN(argvi);
2677 0 fail:
2678
2679
2680
2681 0 SWIG_croak_null();
2682 }
2683 }
2684  
2685  
2686 0 XS(_wrap_gsl_cdf_gamma_Q) {
2687 {
2688 double arg1 ;
2689 double arg2 ;
2690 double arg3 ;
2691 double val1 ;
2692 0 int ecode1 = 0 ;
2693 double val2 ;
2694 0 int ecode2 = 0 ;
2695 double val3 ;
2696 0 int ecode3 = 0 ;
2697 0 int argvi = 0;
2698 double result;
2699 0 dXSARGS;
2700
2701 0 ▶ if ((items < 3) || (items > 3)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 3) || (items > 3)) { 0 0 0
if ((items < 3) || (items > 3)) { 0 0 0
2702 0 SWIG_croak("Usage: gsl_cdf_gamma_Q(x,a,b);");
2703 }
2704 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
2705 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
2706 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_gamma_Q" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_gamma_Q" "', argument " "1"" of type '" "double""'"); 0 0 0
2707 }
2708 0 arg1 = (double)(val1);
2709 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
2710 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
2711 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_gamma_Q" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_gamma_Q" "', argument " "2"" of type '" "double""'"); 0 0 0
2712 }
2713 0 arg2 = (double)(val2);
2714 0 ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
2715 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
2716 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_gamma_Q" "', argument " "3"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_gamma_Q" "', argument " "3"" of type '" "double""'"); 0 0 0
2717 }
2718 0 arg3 = (double)(val3);
2719 0 result = (double)gsl_cdf_gamma_Q(arg1,arg2,arg3);
2720 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
2721
2722
2723
2724 0 XSRETURN(argvi);
2725 0 fail:
2726
2727
2728
2729 0 SWIG_croak_null();
2730 }
2731 }
2732  
2733  
2734 0 XS(_wrap_gsl_cdf_gamma_Pinv) {
2735 {
2736 double arg1 ;
2737 double arg2 ;
2738 double arg3 ;
2739 double val1 ;
2740 0 int ecode1 = 0 ;
2741 double val2 ;
2742 0 int ecode2 = 0 ;
2743 double val3 ;
2744 0 int ecode3 = 0 ;
2745 0 int argvi = 0;
2746 double result;
2747 0 dXSARGS;
2748
2749 0 ▶ if ((items < 3) || (items > 3)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 3) || (items > 3)) { 0 0 0
if ((items < 3) || (items > 3)) { 0 0 0
2750 0 SWIG_croak("Usage: gsl_cdf_gamma_Pinv(P,a,b);");
2751 }
2752 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
2753 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
2754 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_gamma_Pinv" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_gamma_Pinv" "', argument " "1"" of type '" "double""'"); 0 0 0
2755 }
2756 0 arg1 = (double)(val1);
2757 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
2758 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
2759 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_gamma_Pinv" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_gamma_Pinv" "', argument " "2"" of type '" "double""'"); 0 0 0
2760 }
2761 0 arg2 = (double)(val2);
2762 0 ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
2763 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
2764 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_gamma_Pinv" "', argument " "3"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_gamma_Pinv" "', argument " "3"" of type '" "double""'"); 0 0 0
2765 }
2766 0 arg3 = (double)(val3);
2767 0 result = (double)gsl_cdf_gamma_Pinv(arg1,arg2,arg3);
2768 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
2769
2770
2771
2772 0 XSRETURN(argvi);
2773 0 fail:
2774
2775
2776
2777 0 SWIG_croak_null();
2778 }
2779 }
2780  
2781  
2782 0 XS(_wrap_gsl_cdf_gamma_Qinv) {
2783 {
2784 double arg1 ;
2785 double arg2 ;
2786 double arg3 ;
2787 double val1 ;
2788 0 int ecode1 = 0 ;
2789 double val2 ;
2790 0 int ecode2 = 0 ;
2791 double val3 ;
2792 0 int ecode3 = 0 ;
2793 0 int argvi = 0;
2794 double result;
2795 0 dXSARGS;
2796
2797 0 ▶ if ((items < 3) || (items > 3)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 3) || (items > 3)) { 0 0 0
if ((items < 3) || (items > 3)) { 0 0 0
2798 0 SWIG_croak("Usage: gsl_cdf_gamma_Qinv(Q,a,b);");
2799 }
2800 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
2801 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
2802 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_gamma_Qinv" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_gamma_Qinv" "', argument " "1"" of type '" "double""'"); 0 0 0
2803 }
2804 0 arg1 = (double)(val1);
2805 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
2806 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
2807 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_gamma_Qinv" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_gamma_Qinv" "', argument " "2"" of type '" "double""'"); 0 0 0
2808 }
2809 0 arg2 = (double)(val2);
2810 0 ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
2811 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
2812 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_gamma_Qinv" "', argument " "3"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_gamma_Qinv" "', argument " "3"" of type '" "double""'"); 0 0 0
2813 }
2814 0 arg3 = (double)(val3);
2815 0 result = (double)gsl_cdf_gamma_Qinv(arg1,arg2,arg3);
2816 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
2817
2818
2819
2820 0 XSRETURN(argvi);
2821 0 fail:
2822
2823
2824
2825 0 SWIG_croak_null();
2826 }
2827 }
2828  
2829  
2830 0 XS(_wrap_gsl_cdf_cauchy_P) {
2831 {
2832 double arg1 ;
2833 double arg2 ;
2834 double val1 ;
2835 0 int ecode1 = 0 ;
2836 double val2 ;
2837 0 int ecode2 = 0 ;
2838 0 int argvi = 0;
2839 double result;
2840 0 dXSARGS;
2841
2842 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
2843 0 SWIG_croak("Usage: gsl_cdf_cauchy_P(x,a);");
2844 }
2845 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
2846 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
2847 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_cauchy_P" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_cauchy_P" "', argument " "1"" of type '" "double""'"); 0 0 0
2848 }
2849 0 arg1 = (double)(val1);
2850 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
2851 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
2852 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_cauchy_P" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_cauchy_P" "', argument " "2"" of type '" "double""'"); 0 0 0
2853 }
2854 0 arg2 = (double)(val2);
2855 0 result = (double)gsl_cdf_cauchy_P(arg1,arg2);
2856 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
2857
2858
2859 0 XSRETURN(argvi);
2860 0 fail:
2861
2862
2863 0 SWIG_croak_null();
2864 }
2865 }
2866  
2867  
2868 0 XS(_wrap_gsl_cdf_cauchy_Q) {
2869 {
2870 double arg1 ;
2871 double arg2 ;
2872 double val1 ;
2873 0 int ecode1 = 0 ;
2874 double val2 ;
2875 0 int ecode2 = 0 ;
2876 0 int argvi = 0;
2877 double result;
2878 0 dXSARGS;
2879
2880 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
2881 0 SWIG_croak("Usage: gsl_cdf_cauchy_Q(x,a);");
2882 }
2883 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
2884 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
2885 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_cauchy_Q" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_cauchy_Q" "', argument " "1"" of type '" "double""'"); 0 0 0
2886 }
2887 0 arg1 = (double)(val1);
2888 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
2889 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
2890 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_cauchy_Q" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_cauchy_Q" "', argument " "2"" of type '" "double""'"); 0 0 0
2891 }
2892 0 arg2 = (double)(val2);
2893 0 result = (double)gsl_cdf_cauchy_Q(arg1,arg2);
2894 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
2895
2896
2897 0 XSRETURN(argvi);
2898 0 fail:
2899
2900
2901 0 SWIG_croak_null();
2902 }
2903 }
2904  
2905  
2906 0 XS(_wrap_gsl_cdf_cauchy_Pinv) {
2907 {
2908 double arg1 ;
2909 double arg2 ;
2910 double val1 ;
2911 0 int ecode1 = 0 ;
2912 double val2 ;
2913 0 int ecode2 = 0 ;
2914 0 int argvi = 0;
2915 double result;
2916 0 dXSARGS;
2917
2918 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
2919 0 SWIG_croak("Usage: gsl_cdf_cauchy_Pinv(P,a);");
2920 }
2921 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
2922 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
2923 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_cauchy_Pinv" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_cauchy_Pinv" "', argument " "1"" of type '" "double""'"); 0 0 0
2924 }
2925 0 arg1 = (double)(val1);
2926 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
2927 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
2928 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_cauchy_Pinv" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_cauchy_Pinv" "', argument " "2"" of type '" "double""'"); 0 0 0
2929 }
2930 0 arg2 = (double)(val2);
2931 0 result = (double)gsl_cdf_cauchy_Pinv(arg1,arg2);
2932 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
2933
2934
2935 0 XSRETURN(argvi);
2936 0 fail:
2937
2938
2939 0 SWIG_croak_null();
2940 }
2941 }
2942  
2943  
2944 0 XS(_wrap_gsl_cdf_cauchy_Qinv) {
2945 {
2946 double arg1 ;
2947 double arg2 ;
2948 double val1 ;
2949 0 int ecode1 = 0 ;
2950 double val2 ;
2951 0 int ecode2 = 0 ;
2952 0 int argvi = 0;
2953 double result;
2954 0 dXSARGS;
2955
2956 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
2957 0 SWIG_croak("Usage: gsl_cdf_cauchy_Qinv(Q,a);");
2958 }
2959 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
2960 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
2961 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_cauchy_Qinv" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_cauchy_Qinv" "', argument " "1"" of type '" "double""'"); 0 0 0
2962 }
2963 0 arg1 = (double)(val1);
2964 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
2965 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
2966 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_cauchy_Qinv" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_cauchy_Qinv" "', argument " "2"" of type '" "double""'"); 0 0 0
2967 }
2968 0 arg2 = (double)(val2);
2969 0 result = (double)gsl_cdf_cauchy_Qinv(arg1,arg2);
2970 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
2971
2972
2973 0 XSRETURN(argvi);
2974 0 fail:
2975
2976
2977 0 SWIG_croak_null();
2978 }
2979 }
2980  
2981  
2982 0 XS(_wrap_gsl_cdf_laplace_P) {
2983 {
2984 double arg1 ;
2985 double arg2 ;
2986 double val1 ;
2987 0 int ecode1 = 0 ;
2988 double val2 ;
2989 0 int ecode2 = 0 ;
2990 0 int argvi = 0;
2991 double result;
2992 0 dXSARGS;
2993
2994 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
2995 0 SWIG_croak("Usage: gsl_cdf_laplace_P(x,a);");
2996 }
2997 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
2998 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
2999 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_laplace_P" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_laplace_P" "', argument " "1"" of type '" "double""'"); 0 0 0
3000 }
3001 0 arg1 = (double)(val1);
3002 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
3003 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
3004 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_laplace_P" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_laplace_P" "', argument " "2"" of type '" "double""'"); 0 0 0
3005 }
3006 0 arg2 = (double)(val2);
3007 0 result = (double)gsl_cdf_laplace_P(arg1,arg2);
3008 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
3009
3010
3011 0 XSRETURN(argvi);
3012 0 fail:
3013
3014
3015 0 SWIG_croak_null();
3016 }
3017 }
3018  
3019  
3020 0 XS(_wrap_gsl_cdf_laplace_Q) {
3021 {
3022 double arg1 ;
3023 double arg2 ;
3024 double val1 ;
3025 0 int ecode1 = 0 ;
3026 double val2 ;
3027 0 int ecode2 = 0 ;
3028 0 int argvi = 0;
3029 double result;
3030 0 dXSARGS;
3031
3032 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
3033 0 SWIG_croak("Usage: gsl_cdf_laplace_Q(x,a);");
3034 }
3035 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
3036 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
3037 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_laplace_Q" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_laplace_Q" "', argument " "1"" of type '" "double""'"); 0 0 0
3038 }
3039 0 arg1 = (double)(val1);
3040 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
3041 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
3042 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_laplace_Q" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_laplace_Q" "', argument " "2"" of type '" "double""'"); 0 0 0
3043 }
3044 0 arg2 = (double)(val2);
3045 0 result = (double)gsl_cdf_laplace_Q(arg1,arg2);
3046 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
3047
3048
3049 0 XSRETURN(argvi);
3050 0 fail:
3051
3052
3053 0 SWIG_croak_null();
3054 }
3055 }
3056  
3057  
3058 0 XS(_wrap_gsl_cdf_laplace_Pinv) {
3059 {
3060 double arg1 ;
3061 double arg2 ;
3062 double val1 ;
3063 0 int ecode1 = 0 ;
3064 double val2 ;
3065 0 int ecode2 = 0 ;
3066 0 int argvi = 0;
3067 double result;
3068 0 dXSARGS;
3069
3070 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
3071 0 SWIG_croak("Usage: gsl_cdf_laplace_Pinv(P,a);");
3072 }
3073 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
3074 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
3075 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_laplace_Pinv" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_laplace_Pinv" "', argument " "1"" of type '" "double""'"); 0 0 0
3076 }
3077 0 arg1 = (double)(val1);
3078 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
3079 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
3080 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_laplace_Pinv" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_laplace_Pinv" "', argument " "2"" of type '" "double""'"); 0 0 0
3081 }
3082 0 arg2 = (double)(val2);
3083 0 result = (double)gsl_cdf_laplace_Pinv(arg1,arg2);
3084 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
3085
3086
3087 0 XSRETURN(argvi);
3088 0 fail:
3089
3090
3091 0 SWIG_croak_null();
3092 }
3093 }
3094  
3095  
3096 0 XS(_wrap_gsl_cdf_laplace_Qinv) {
3097 {
3098 double arg1 ;
3099 double arg2 ;
3100 double val1 ;
3101 0 int ecode1 = 0 ;
3102 double val2 ;
3103 0 int ecode2 = 0 ;
3104 0 int argvi = 0;
3105 double result;
3106 0 dXSARGS;
3107
3108 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
3109 0 SWIG_croak("Usage: gsl_cdf_laplace_Qinv(Q,a);");
3110 }
3111 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
3112 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
3113 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_laplace_Qinv" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_laplace_Qinv" "', argument " "1"" of type '" "double""'"); 0 0 0
3114 }
3115 0 arg1 = (double)(val1);
3116 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
3117 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
3118 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_laplace_Qinv" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_laplace_Qinv" "', argument " "2"" of type '" "double""'"); 0 0 0
3119 }
3120 0 arg2 = (double)(val2);
3121 0 result = (double)gsl_cdf_laplace_Qinv(arg1,arg2);
3122 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
3123
3124
3125 0 XSRETURN(argvi);
3126 0 fail:
3127
3128
3129 0 SWIG_croak_null();
3130 }
3131 }
3132  
3133  
3134 0 XS(_wrap_gsl_cdf_rayleigh_P) {
3135 {
3136 double arg1 ;
3137 double arg2 ;
3138 double val1 ;
3139 0 int ecode1 = 0 ;
3140 double val2 ;
3141 0 int ecode2 = 0 ;
3142 0 int argvi = 0;
3143 double result;
3144 0 dXSARGS;
3145
3146 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
3147 0 SWIG_croak("Usage: gsl_cdf_rayleigh_P(x,sigma);");
3148 }
3149 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
3150 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
3151 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_rayleigh_P" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_rayleigh_P" "', argument " "1"" of type '" "double""'"); 0 0 0
3152 }
3153 0 arg1 = (double)(val1);
3154 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
3155 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
3156 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_rayleigh_P" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_rayleigh_P" "', argument " "2"" of type '" "double""'"); 0 0 0
3157 }
3158 0 arg2 = (double)(val2);
3159 0 result = (double)gsl_cdf_rayleigh_P(arg1,arg2);
3160 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
3161
3162
3163 0 XSRETURN(argvi);
3164 0 fail:
3165
3166
3167 0 SWIG_croak_null();
3168 }
3169 }
3170  
3171  
3172 0 XS(_wrap_gsl_cdf_rayleigh_Q) {
3173 {
3174 double arg1 ;
3175 double arg2 ;
3176 double val1 ;
3177 0 int ecode1 = 0 ;
3178 double val2 ;
3179 0 int ecode2 = 0 ;
3180 0 int argvi = 0;
3181 double result;
3182 0 dXSARGS;
3183
3184 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
3185 0 SWIG_croak("Usage: gsl_cdf_rayleigh_Q(x,sigma);");
3186 }
3187 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
3188 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
3189 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_rayleigh_Q" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_rayleigh_Q" "', argument " "1"" of type '" "double""'"); 0 0 0
3190 }
3191 0 arg1 = (double)(val1);
3192 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
3193 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
3194 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_rayleigh_Q" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_rayleigh_Q" "', argument " "2"" of type '" "double""'"); 0 0 0
3195 }
3196 0 arg2 = (double)(val2);
3197 0 result = (double)gsl_cdf_rayleigh_Q(arg1,arg2);
3198 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
3199
3200
3201 0 XSRETURN(argvi);
3202 0 fail:
3203
3204
3205 0 SWIG_croak_null();
3206 }
3207 }
3208  
3209  
3210 0 XS(_wrap_gsl_cdf_rayleigh_Pinv) {
3211 {
3212 double arg1 ;
3213 double arg2 ;
3214 double val1 ;
3215 0 int ecode1 = 0 ;
3216 double val2 ;
3217 0 int ecode2 = 0 ;
3218 0 int argvi = 0;
3219 double result;
3220 0 dXSARGS;
3221
3222 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
3223 0 SWIG_croak("Usage: gsl_cdf_rayleigh_Pinv(P,sigma);");
3224 }
3225 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
3226 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
3227 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_rayleigh_Pinv" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_rayleigh_Pinv" "', argument " "1"" of type '" "double""'"); 0 0 0
3228 }
3229 0 arg1 = (double)(val1);
3230 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
3231 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
3232 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_rayleigh_Pinv" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_rayleigh_Pinv" "', argument " "2"" of type '" "double""'"); 0 0 0
3233 }
3234 0 arg2 = (double)(val2);
3235 0 result = (double)gsl_cdf_rayleigh_Pinv(arg1,arg2);
3236 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
3237
3238
3239 0 XSRETURN(argvi);
3240 0 fail:
3241
3242
3243 0 SWIG_croak_null();
3244 }
3245 }
3246  
3247  
3248 0 XS(_wrap_gsl_cdf_rayleigh_Qinv) {
3249 {
3250 double arg1 ;
3251 double arg2 ;
3252 double val1 ;
3253 0 int ecode1 = 0 ;
3254 double val2 ;
3255 0 int ecode2 = 0 ;
3256 0 int argvi = 0;
3257 double result;
3258 0 dXSARGS;
3259
3260 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
3261 0 SWIG_croak("Usage: gsl_cdf_rayleigh_Qinv(Q,sigma);");
3262 }
3263 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
3264 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
3265 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_rayleigh_Qinv" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_rayleigh_Qinv" "', argument " "1"" of type '" "double""'"); 0 0 0
3266 }
3267 0 arg1 = (double)(val1);
3268 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
3269 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
3270 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_rayleigh_Qinv" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_rayleigh_Qinv" "', argument " "2"" of type '" "double""'"); 0 0 0
3271 }
3272 0 arg2 = (double)(val2);
3273 0 result = (double)gsl_cdf_rayleigh_Qinv(arg1,arg2);
3274 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
3275
3276
3277 0 XSRETURN(argvi);
3278 0 fail:
3279
3280
3281 0 SWIG_croak_null();
3282 }
3283 }
3284  
3285  
3286 0 XS(_wrap_gsl_cdf_chisq_P) {
3287 {
3288 double arg1 ;
3289 double arg2 ;
3290 double val1 ;
3291 0 int ecode1 = 0 ;
3292 double val2 ;
3293 0 int ecode2 = 0 ;
3294 0 int argvi = 0;
3295 double result;
3296 0 dXSARGS;
3297
3298 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
3299 0 SWIG_croak("Usage: gsl_cdf_chisq_P(x,nu);");
3300 }
3301 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
3302 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
3303 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_chisq_P" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_chisq_P" "', argument " "1"" of type '" "double""'"); 0 0 0
3304 }
3305 0 arg1 = (double)(val1);
3306 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
3307 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
3308 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_chisq_P" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_chisq_P" "', argument " "2"" of type '" "double""'"); 0 0 0
3309 }
3310 0 arg2 = (double)(val2);
3311 0 result = (double)gsl_cdf_chisq_P(arg1,arg2);
3312 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
3313
3314
3315 0 XSRETURN(argvi);
3316 0 fail:
3317
3318
3319 0 SWIG_croak_null();
3320 }
3321 }
3322  
3323  
3324 0 XS(_wrap_gsl_cdf_chisq_Q) {
3325 {
3326 double arg1 ;
3327 double arg2 ;
3328 double val1 ;
3329 0 int ecode1 = 0 ;
3330 double val2 ;
3331 0 int ecode2 = 0 ;
3332 0 int argvi = 0;
3333 double result;
3334 0 dXSARGS;
3335
3336 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
3337 0 SWIG_croak("Usage: gsl_cdf_chisq_Q(x,nu);");
3338 }
3339 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
3340 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
3341 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_chisq_Q" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_chisq_Q" "', argument " "1"" of type '" "double""'"); 0 0 0
3342 }
3343 0 arg1 = (double)(val1);
3344 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
3345 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
3346 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_chisq_Q" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_chisq_Q" "', argument " "2"" of type '" "double""'"); 0 0 0
3347 }
3348 0 arg2 = (double)(val2);
3349 0 result = (double)gsl_cdf_chisq_Q(arg1,arg2);
3350 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
3351
3352
3353 0 XSRETURN(argvi);
3354 0 fail:
3355
3356
3357 0 SWIG_croak_null();
3358 }
3359 }
3360  
3361  
3362 0 XS(_wrap_gsl_cdf_chisq_Pinv) {
3363 {
3364 double arg1 ;
3365 double arg2 ;
3366 double val1 ;
3367 0 int ecode1 = 0 ;
3368 double val2 ;
3369 0 int ecode2 = 0 ;
3370 0 int argvi = 0;
3371 double result;
3372 0 dXSARGS;
3373
3374 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
3375 0 SWIG_croak("Usage: gsl_cdf_chisq_Pinv(P,nu);");
3376 }
3377 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
3378 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
3379 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_chisq_Pinv" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_chisq_Pinv" "', argument " "1"" of type '" "double""'"); 0 0 0
3380 }
3381 0 arg1 = (double)(val1);
3382 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
3383 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
3384 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_chisq_Pinv" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_chisq_Pinv" "', argument " "2"" of type '" "double""'"); 0 0 0
3385 }
3386 0 arg2 = (double)(val2);
3387 0 result = (double)gsl_cdf_chisq_Pinv(arg1,arg2);
3388 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
3389
3390
3391 0 XSRETURN(argvi);
3392 0 fail:
3393
3394
3395 0 SWIG_croak_null();
3396 }
3397 }
3398  
3399  
3400 0 XS(_wrap_gsl_cdf_chisq_Qinv) {
3401 {
3402 double arg1 ;
3403 double arg2 ;
3404 double val1 ;
3405 0 int ecode1 = 0 ;
3406 double val2 ;
3407 0 int ecode2 = 0 ;
3408 0 int argvi = 0;
3409 double result;
3410 0 dXSARGS;
3411
3412 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
3413 0 SWIG_croak("Usage: gsl_cdf_chisq_Qinv(Q,nu);");
3414 }
3415 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
3416 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
3417 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_chisq_Qinv" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_chisq_Qinv" "', argument " "1"" of type '" "double""'"); 0 0 0
3418 }
3419 0 arg1 = (double)(val1);
3420 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
3421 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
3422 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_chisq_Qinv" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_chisq_Qinv" "', argument " "2"" of type '" "double""'"); 0 0 0
3423 }
3424 0 arg2 = (double)(val2);
3425 0 result = (double)gsl_cdf_chisq_Qinv(arg1,arg2);
3426 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
3427
3428
3429 0 XSRETURN(argvi);
3430 0 fail:
3431
3432
3433 0 SWIG_croak_null();
3434 }
3435 }
3436  
3437  
3438 0 XS(_wrap_gsl_cdf_exponential_P) {
3439 {
3440 double arg1 ;
3441 double arg2 ;
3442 double val1 ;
3443 0 int ecode1 = 0 ;
3444 double val2 ;
3445 0 int ecode2 = 0 ;
3446 0 int argvi = 0;
3447 double result;
3448 0 dXSARGS;
3449
3450 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
3451 0 SWIG_croak("Usage: gsl_cdf_exponential_P(x,mu);");
3452 }
3453 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
3454 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
3455 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_exponential_P" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_exponential_P" "', argument " "1"" of type '" "double""'"); 0 0 0
3456 }
3457 0 arg1 = (double)(val1);
3458 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
3459 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
3460 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_exponential_P" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_exponential_P" "', argument " "2"" of type '" "double""'"); 0 0 0
3461 }
3462 0 arg2 = (double)(val2);
3463 0 result = (double)gsl_cdf_exponential_P(arg1,arg2);
3464 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
3465
3466
3467 0 XSRETURN(argvi);
3468 0 fail:
3469
3470
3471 0 SWIG_croak_null();
3472 }
3473 }
3474  
3475  
3476 0 XS(_wrap_gsl_cdf_exponential_Q) {
3477 {
3478 double arg1 ;
3479 double arg2 ;
3480 double val1 ;
3481 0 int ecode1 = 0 ;
3482 double val2 ;
3483 0 int ecode2 = 0 ;
3484 0 int argvi = 0;
3485 double result;
3486 0 dXSARGS;
3487
3488 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
3489 0 SWIG_croak("Usage: gsl_cdf_exponential_Q(x,mu);");
3490 }
3491 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
3492 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
3493 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_exponential_Q" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_exponential_Q" "', argument " "1"" of type '" "double""'"); 0 0 0
3494 }
3495 0 arg1 = (double)(val1);
3496 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
3497 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
3498 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_exponential_Q" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_exponential_Q" "', argument " "2"" of type '" "double""'"); 0 0 0
3499 }
3500 0 arg2 = (double)(val2);
3501 0 result = (double)gsl_cdf_exponential_Q(arg1,arg2);
3502 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
3503
3504
3505 0 XSRETURN(argvi);
3506 0 fail:
3507
3508
3509 0 SWIG_croak_null();
3510 }
3511 }
3512  
3513  
3514 0 XS(_wrap_gsl_cdf_exponential_Pinv) {
3515 {
3516 double arg1 ;
3517 double arg2 ;
3518 double val1 ;
3519 0 int ecode1 = 0 ;
3520 double val2 ;
3521 0 int ecode2 = 0 ;
3522 0 int argvi = 0;
3523 double result;
3524 0 dXSARGS;
3525
3526 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
3527 0 SWIG_croak("Usage: gsl_cdf_exponential_Pinv(P,mu);");
3528 }
3529 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
3530 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
3531 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_exponential_Pinv" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_exponential_Pinv" "', argument " "1"" of type '" "double""'"); 0 0 0
3532 }
3533 0 arg1 = (double)(val1);
3534 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
3535 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
3536 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_exponential_Pinv" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_exponential_Pinv" "', argument " "2"" of type '" "double""'"); 0 0 0
3537 }
3538 0 arg2 = (double)(val2);
3539 0 result = (double)gsl_cdf_exponential_Pinv(arg1,arg2);
3540 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
3541
3542
3543 0 XSRETURN(argvi);
3544 0 fail:
3545
3546
3547 0 SWIG_croak_null();
3548 }
3549 }
3550  
3551  
3552 0 XS(_wrap_gsl_cdf_exponential_Qinv) {
3553 {
3554 double arg1 ;
3555 double arg2 ;
3556 double val1 ;
3557 0 int ecode1 = 0 ;
3558 double val2 ;
3559 0 int ecode2 = 0 ;
3560 0 int argvi = 0;
3561 double result;
3562 0 dXSARGS;
3563
3564 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
3565 0 SWIG_croak("Usage: gsl_cdf_exponential_Qinv(Q,mu);");
3566 }
3567 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
3568 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
3569 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_exponential_Qinv" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_exponential_Qinv" "', argument " "1"" of type '" "double""'"); 0 0 0
3570 }
3571 0 arg1 = (double)(val1);
3572 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
3573 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
3574 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_exponential_Qinv" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_exponential_Qinv" "', argument " "2"" of type '" "double""'"); 0 0 0
3575 }
3576 0 arg2 = (double)(val2);
3577 0 result = (double)gsl_cdf_exponential_Qinv(arg1,arg2);
3578 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
3579
3580
3581 0 XSRETURN(argvi);
3582 0 fail:
3583
3584
3585 0 SWIG_croak_null();
3586 }
3587 }
3588  
3589  
3590 0 XS(_wrap_gsl_cdf_exppow_P) {
3591 {
3592 double arg1 ;
3593 double arg2 ;
3594 double arg3 ;
3595 double val1 ;
3596 0 int ecode1 = 0 ;
3597 double val2 ;
3598 0 int ecode2 = 0 ;
3599 double val3 ;
3600 0 int ecode3 = 0 ;
3601 0 int argvi = 0;
3602 double result;
3603 0 dXSARGS;
3604
3605 0 ▶ if ((items < 3) || (items > 3)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 3) || (items > 3)) { 0 0 0
if ((items < 3) || (items > 3)) { 0 0 0
3606 0 SWIG_croak("Usage: gsl_cdf_exppow_P(x,a,b);");
3607 }
3608 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
3609 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
3610 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_exppow_P" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_exppow_P" "', argument " "1"" of type '" "double""'"); 0 0 0
3611 }
3612 0 arg1 = (double)(val1);
3613 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
3614 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
3615 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_exppow_P" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_exppow_P" "', argument " "2"" of type '" "double""'"); 0 0 0
3616 }
3617 0 arg2 = (double)(val2);
3618 0 ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
3619 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
3620 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_exppow_P" "', argument " "3"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_exppow_P" "', argument " "3"" of type '" "double""'"); 0 0 0
3621 }
3622 0 arg3 = (double)(val3);
3623 0 result = (double)gsl_cdf_exppow_P(arg1,arg2,arg3);
3624 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
3625
3626
3627
3628 0 XSRETURN(argvi);
3629 0 fail:
3630
3631
3632
3633 0 SWIG_croak_null();
3634 }
3635 }
3636  
3637  
3638 0 XS(_wrap_gsl_cdf_exppow_Q) {
3639 {
3640 double arg1 ;
3641 double arg2 ;
3642 double arg3 ;
3643 double val1 ;
3644 0 int ecode1 = 0 ;
3645 double val2 ;
3646 0 int ecode2 = 0 ;
3647 double val3 ;
3648 0 int ecode3 = 0 ;
3649 0 int argvi = 0;
3650 double result;
3651 0 dXSARGS;
3652
3653 0 ▶ if ((items < 3) || (items > 3)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 3) || (items > 3)) { 0 0 0
if ((items < 3) || (items > 3)) { 0 0 0
3654 0 SWIG_croak("Usage: gsl_cdf_exppow_Q(x,a,b);");
3655 }
3656 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
3657 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
3658 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_exppow_Q" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_exppow_Q" "', argument " "1"" of type '" "double""'"); 0 0 0
3659 }
3660 0 arg1 = (double)(val1);
3661 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
3662 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
3663 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_exppow_Q" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_exppow_Q" "', argument " "2"" of type '" "double""'"); 0 0 0
3664 }
3665 0 arg2 = (double)(val2);
3666 0 ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
3667 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
3668 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_exppow_Q" "', argument " "3"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_exppow_Q" "', argument " "3"" of type '" "double""'"); 0 0 0
3669 }
3670 0 arg3 = (double)(val3);
3671 0 result = (double)gsl_cdf_exppow_Q(arg1,arg2,arg3);
3672 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
3673
3674
3675
3676 0 XSRETURN(argvi);
3677 0 fail:
3678
3679
3680
3681 0 SWIG_croak_null();
3682 }
3683 }
3684  
3685  
3686 0 XS(_wrap_gsl_cdf_tdist_P) {
3687 {
3688 double arg1 ;
3689 double arg2 ;
3690 double val1 ;
3691 0 int ecode1 = 0 ;
3692 double val2 ;
3693 0 int ecode2 = 0 ;
3694 0 int argvi = 0;
3695 double result;
3696 0 dXSARGS;
3697
3698 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
3699 0 SWIG_croak("Usage: gsl_cdf_tdist_P(x,nu);");
3700 }
3701 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
3702 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
3703 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_tdist_P" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_tdist_P" "', argument " "1"" of type '" "double""'"); 0 0 0
3704 }
3705 0 arg1 = (double)(val1);
3706 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
3707 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
3708 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_tdist_P" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_tdist_P" "', argument " "2"" of type '" "double""'"); 0 0 0
3709 }
3710 0 arg2 = (double)(val2);
3711 0 result = (double)gsl_cdf_tdist_P(arg1,arg2);
3712 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
3713
3714
3715 0 XSRETURN(argvi);
3716 0 fail:
3717
3718
3719 0 SWIG_croak_null();
3720 }
3721 }
3722  
3723  
3724 0 XS(_wrap_gsl_cdf_tdist_Q) {
3725 {
3726 double arg1 ;
3727 double arg2 ;
3728 double val1 ;
3729 0 int ecode1 = 0 ;
3730 double val2 ;
3731 0 int ecode2 = 0 ;
3732 0 int argvi = 0;
3733 double result;
3734 0 dXSARGS;
3735
3736 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
3737 0 SWIG_croak("Usage: gsl_cdf_tdist_Q(x,nu);");
3738 }
3739 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
3740 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
3741 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_tdist_Q" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_tdist_Q" "', argument " "1"" of type '" "double""'"); 0 0 0
3742 }
3743 0 arg1 = (double)(val1);
3744 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
3745 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
3746 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_tdist_Q" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_tdist_Q" "', argument " "2"" of type '" "double""'"); 0 0 0
3747 }
3748 0 arg2 = (double)(val2);
3749 0 result = (double)gsl_cdf_tdist_Q(arg1,arg2);
3750 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
3751
3752
3753 0 XSRETURN(argvi);
3754 0 fail:
3755
3756
3757 0 SWIG_croak_null();
3758 }
3759 }
3760  
3761  
3762 0 XS(_wrap_gsl_cdf_tdist_Pinv) {
3763 {
3764 double arg1 ;
3765 double arg2 ;
3766 double val1 ;
3767 0 int ecode1 = 0 ;
3768 double val2 ;
3769 0 int ecode2 = 0 ;
3770 0 int argvi = 0;
3771 double result;
3772 0 dXSARGS;
3773
3774 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
3775 0 SWIG_croak("Usage: gsl_cdf_tdist_Pinv(P,nu);");
3776 }
3777 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
3778 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
3779 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_tdist_Pinv" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_tdist_Pinv" "', argument " "1"" of type '" "double""'"); 0 0 0
3780 }
3781 0 arg1 = (double)(val1);
3782 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
3783 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
3784 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_tdist_Pinv" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_tdist_Pinv" "', argument " "2"" of type '" "double""'"); 0 0 0
3785 }
3786 0 arg2 = (double)(val2);
3787 0 result = (double)gsl_cdf_tdist_Pinv(arg1,arg2);
3788 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
3789
3790
3791 0 XSRETURN(argvi);
3792 0 fail:
3793
3794
3795 0 SWIG_croak_null();
3796 }
3797 }
3798  
3799  
3800 0 XS(_wrap_gsl_cdf_tdist_Qinv) {
3801 {
3802 double arg1 ;
3803 double arg2 ;
3804 double val1 ;
3805 0 int ecode1 = 0 ;
3806 double val2 ;
3807 0 int ecode2 = 0 ;
3808 0 int argvi = 0;
3809 double result;
3810 0 dXSARGS;
3811
3812 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
3813 0 SWIG_croak("Usage: gsl_cdf_tdist_Qinv(Q,nu);");
3814 }
3815 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
3816 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
3817 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_tdist_Qinv" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_tdist_Qinv" "', argument " "1"" of type '" "double""'"); 0 0 0
3818 }
3819 0 arg1 = (double)(val1);
3820 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
3821 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
3822 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_tdist_Qinv" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_tdist_Qinv" "', argument " "2"" of type '" "double""'"); 0 0 0
3823 }
3824 0 arg2 = (double)(val2);
3825 0 result = (double)gsl_cdf_tdist_Qinv(arg1,arg2);
3826 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
3827
3828
3829 0 XSRETURN(argvi);
3830 0 fail:
3831
3832
3833 0 SWIG_croak_null();
3834 }
3835 }
3836  
3837  
3838 0 XS(_wrap_gsl_cdf_fdist_P) {
3839 {
3840 double arg1 ;
3841 double arg2 ;
3842 double arg3 ;
3843 double val1 ;
3844 0 int ecode1 = 0 ;
3845 double val2 ;
3846 0 int ecode2 = 0 ;
3847 double val3 ;
3848 0 int ecode3 = 0 ;
3849 0 int argvi = 0;
3850 double result;
3851 0 dXSARGS;
3852
3853 0 ▶ if ((items < 3) || (items > 3)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 3) || (items > 3)) { 0 0 0
if ((items < 3) || (items > 3)) { 0 0 0
3854 0 SWIG_croak("Usage: gsl_cdf_fdist_P(x,nu1,nu2);");
3855 }
3856 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
3857 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
3858 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_fdist_P" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_fdist_P" "', argument " "1"" of type '" "double""'"); 0 0 0
3859 }
3860 0 arg1 = (double)(val1);
3861 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
3862 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
3863 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_fdist_P" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_fdist_P" "', argument " "2"" of type '" "double""'"); 0 0 0
3864 }
3865 0 arg2 = (double)(val2);
3866 0 ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
3867 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
3868 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_fdist_P" "', argument " "3"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_fdist_P" "', argument " "3"" of type '" "double""'"); 0 0 0
3869 }
3870 0 arg3 = (double)(val3);
3871 0 result = (double)gsl_cdf_fdist_P(arg1,arg2,arg3);
3872 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
3873
3874
3875
3876 0 XSRETURN(argvi);
3877 0 fail:
3878
3879
3880
3881 0 SWIG_croak_null();
3882 }
3883 }
3884  
3885  
3886 0 XS(_wrap_gsl_cdf_fdist_Q) {
3887 {
3888 double arg1 ;
3889 double arg2 ;
3890 double arg3 ;
3891 double val1 ;
3892 0 int ecode1 = 0 ;
3893 double val2 ;
3894 0 int ecode2 = 0 ;
3895 double val3 ;
3896 0 int ecode3 = 0 ;
3897 0 int argvi = 0;
3898 double result;
3899 0 dXSARGS;
3900
3901 0 ▶ if ((items < 3) || (items > 3)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 3) || (items > 3)) { 0 0 0
if ((items < 3) || (items > 3)) { 0 0 0
3902 0 SWIG_croak("Usage: gsl_cdf_fdist_Q(x,nu1,nu2);");
3903 }
3904 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
3905 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
3906 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_fdist_Q" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_fdist_Q" "', argument " "1"" of type '" "double""'"); 0 0 0
3907 }
3908 0 arg1 = (double)(val1);
3909 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
3910 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
3911 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_fdist_Q" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_fdist_Q" "', argument " "2"" of type '" "double""'"); 0 0 0
3912 }
3913 0 arg2 = (double)(val2);
3914 0 ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
3915 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
3916 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_fdist_Q" "', argument " "3"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_fdist_Q" "', argument " "3"" of type '" "double""'"); 0 0 0
3917 }
3918 0 arg3 = (double)(val3);
3919 0 result = (double)gsl_cdf_fdist_Q(arg1,arg2,arg3);
3920 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
3921
3922
3923
3924 0 XSRETURN(argvi);
3925 0 fail:
3926
3927
3928
3929 0 SWIG_croak_null();
3930 }
3931 }
3932  
3933  
3934 0 XS(_wrap_gsl_cdf_fdist_Pinv) {
3935 {
3936 double arg1 ;
3937 double arg2 ;
3938 double arg3 ;
3939 double val1 ;
3940 0 int ecode1 = 0 ;
3941 double val2 ;
3942 0 int ecode2 = 0 ;
3943 double val3 ;
3944 0 int ecode3 = 0 ;
3945 0 int argvi = 0;
3946 double result;
3947 0 dXSARGS;
3948
3949 0 ▶ if ((items < 3) || (items > 3)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 3) || (items > 3)) { 0 0 0
if ((items < 3) || (items > 3)) { 0 0 0
3950 0 SWIG_croak("Usage: gsl_cdf_fdist_Pinv(P,nu1,nu2);");
3951 }
3952 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
3953 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
3954 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_fdist_Pinv" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_fdist_Pinv" "', argument " "1"" of type '" "double""'"); 0 0 0
3955 }
3956 0 arg1 = (double)(val1);
3957 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
3958 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
3959 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_fdist_Pinv" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_fdist_Pinv" "', argument " "2"" of type '" "double""'"); 0 0 0
3960 }
3961 0 arg2 = (double)(val2);
3962 0 ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
3963 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
3964 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_fdist_Pinv" "', argument " "3"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_fdist_Pinv" "', argument " "3"" of type '" "double""'"); 0 0 0
3965 }
3966 0 arg3 = (double)(val3);
3967 0 result = (double)gsl_cdf_fdist_Pinv(arg1,arg2,arg3);
3968 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
3969
3970
3971
3972 0 XSRETURN(argvi);
3973 0 fail:
3974
3975
3976
3977 0 SWIG_croak_null();
3978 }
3979 }
3980  
3981  
3982 0 XS(_wrap_gsl_cdf_fdist_Qinv) {
3983 {
3984 double arg1 ;
3985 double arg2 ;
3986 double arg3 ;
3987 double val1 ;
3988 0 int ecode1 = 0 ;
3989 double val2 ;
3990 0 int ecode2 = 0 ;
3991 double val3 ;
3992 0 int ecode3 = 0 ;
3993 0 int argvi = 0;
3994 double result;
3995 0 dXSARGS;
3996
3997 0 ▶ if ((items < 3) || (items > 3)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 3) || (items > 3)) { 0 0 0
if ((items < 3) || (items > 3)) { 0 0 0
3998 0 SWIG_croak("Usage: gsl_cdf_fdist_Qinv(Q,nu1,nu2);");
3999 }
4000 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
4001 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
4002 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_fdist_Qinv" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_fdist_Qinv" "', argument " "1"" of type '" "double""'"); 0 0 0
4003 }
4004 0 arg1 = (double)(val1);
4005 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
4006 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
4007 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_fdist_Qinv" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_fdist_Qinv" "', argument " "2"" of type '" "double""'"); 0 0 0
4008 }
4009 0 arg2 = (double)(val2);
4010 0 ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
4011 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
4012 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_fdist_Qinv" "', argument " "3"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_fdist_Qinv" "', argument " "3"" of type '" "double""'"); 0 0 0
4013 }
4014 0 arg3 = (double)(val3);
4015 0 result = (double)gsl_cdf_fdist_Qinv(arg1,arg2,arg3);
4016 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
4017
4018
4019
4020 0 XSRETURN(argvi);
4021 0 fail:
4022
4023
4024
4025 0 SWIG_croak_null();
4026 }
4027 }
4028  
4029  
4030 0 XS(_wrap_gsl_cdf_beta_P) {
4031 {
4032 double arg1 ;
4033 double arg2 ;
4034 double arg3 ;
4035 double val1 ;
4036 0 int ecode1 = 0 ;
4037 double val2 ;
4038 0 int ecode2 = 0 ;
4039 double val3 ;
4040 0 int ecode3 = 0 ;
4041 0 int argvi = 0;
4042 double result;
4043 0 dXSARGS;
4044
4045 0 ▶ if ((items < 3) || (items > 3)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 3) || (items > 3)) { 0 0 0
if ((items < 3) || (items > 3)) { 0 0 0
4046 0 SWIG_croak("Usage: gsl_cdf_beta_P(x,a,b);");
4047 }
4048 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
4049 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
4050 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_beta_P" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_beta_P" "', argument " "1"" of type '" "double""'"); 0 0 0
4051 }
4052 0 arg1 = (double)(val1);
4053 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
4054 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
4055 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_beta_P" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_beta_P" "', argument " "2"" of type '" "double""'"); 0 0 0
4056 }
4057 0 arg2 = (double)(val2);
4058 0 ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
4059 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
4060 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_beta_P" "', argument " "3"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_beta_P" "', argument " "3"" of type '" "double""'"); 0 0 0
4061 }
4062 0 arg3 = (double)(val3);
4063 0 result = (double)gsl_cdf_beta_P(arg1,arg2,arg3);
4064 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
4065
4066
4067
4068 0 XSRETURN(argvi);
4069 0 fail:
4070
4071
4072
4073 0 SWIG_croak_null();
4074 }
4075 }
4076  
4077  
4078 0 XS(_wrap_gsl_cdf_beta_Q) {
4079 {
4080 double arg1 ;
4081 double arg2 ;
4082 double arg3 ;
4083 double val1 ;
4084 0 int ecode1 = 0 ;
4085 double val2 ;
4086 0 int ecode2 = 0 ;
4087 double val3 ;
4088 0 int ecode3 = 0 ;
4089 0 int argvi = 0;
4090 double result;
4091 0 dXSARGS;
4092
4093 0 ▶ if ((items < 3) || (items > 3)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 3) || (items > 3)) { 0 0 0
if ((items < 3) || (items > 3)) { 0 0 0
4094 0 SWIG_croak("Usage: gsl_cdf_beta_Q(x,a,b);");
4095 }
4096 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
4097 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
4098 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_beta_Q" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_beta_Q" "', argument " "1"" of type '" "double""'"); 0 0 0
4099 }
4100 0 arg1 = (double)(val1);
4101 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
4102 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
4103 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_beta_Q" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_beta_Q" "', argument " "2"" of type '" "double""'"); 0 0 0
4104 }
4105 0 arg2 = (double)(val2);
4106 0 ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
4107 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
4108 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_beta_Q" "', argument " "3"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_beta_Q" "', argument " "3"" of type '" "double""'"); 0 0 0
4109 }
4110 0 arg3 = (double)(val3);
4111 0 result = (double)gsl_cdf_beta_Q(arg1,arg2,arg3);
4112 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
4113
4114
4115
4116 0 XSRETURN(argvi);
4117 0 fail:
4118
4119
4120
4121 0 SWIG_croak_null();
4122 }
4123 }
4124  
4125  
4126 0 XS(_wrap_gsl_cdf_beta_Pinv) {
4127 {
4128 double arg1 ;
4129 double arg2 ;
4130 double arg3 ;
4131 double val1 ;
4132 0 int ecode1 = 0 ;
4133 double val2 ;
4134 0 int ecode2 = 0 ;
4135 double val3 ;
4136 0 int ecode3 = 0 ;
4137 0 int argvi = 0;
4138 double result;
4139 0 dXSARGS;
4140
4141 0 ▶ if ((items < 3) || (items > 3)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 3) || (items > 3)) { 0 0 0
if ((items < 3) || (items > 3)) { 0 0 0
4142 0 SWIG_croak("Usage: gsl_cdf_beta_Pinv(P,a,b);");
4143 }
4144 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
4145 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
4146 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_beta_Pinv" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_beta_Pinv" "', argument " "1"" of type '" "double""'"); 0 0 0
4147 }
4148 0 arg1 = (double)(val1);
4149 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
4150 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
4151 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_beta_Pinv" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_beta_Pinv" "', argument " "2"" of type '" "double""'"); 0 0 0
4152 }
4153 0 arg2 = (double)(val2);
4154 0 ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
4155 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
4156 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_beta_Pinv" "', argument " "3"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_beta_Pinv" "', argument " "3"" of type '" "double""'"); 0 0 0
4157 }
4158 0 arg3 = (double)(val3);
4159 0 result = (double)gsl_cdf_beta_Pinv(arg1,arg2,arg3);
4160 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
4161
4162
4163
4164 0 XSRETURN(argvi);
4165 0 fail:
4166
4167
4168
4169 0 SWIG_croak_null();
4170 }
4171 }
4172  
4173  
4174 0 XS(_wrap_gsl_cdf_beta_Qinv) {
4175 {
4176 double arg1 ;
4177 double arg2 ;
4178 double arg3 ;
4179 double val1 ;
4180 0 int ecode1 = 0 ;
4181 double val2 ;
4182 0 int ecode2 = 0 ;
4183 double val3 ;
4184 0 int ecode3 = 0 ;
4185 0 int argvi = 0;
4186 double result;
4187 0 dXSARGS;
4188
4189 0 ▶ if ((items < 3) || (items > 3)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 3) || (items > 3)) { 0 0 0
if ((items < 3) || (items > 3)) { 0 0 0
4190 0 SWIG_croak("Usage: gsl_cdf_beta_Qinv(Q,a,b);");
4191 }
4192 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
4193 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
4194 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_beta_Qinv" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_beta_Qinv" "', argument " "1"" of type '" "double""'"); 0 0 0
4195 }
4196 0 arg1 = (double)(val1);
4197 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
4198 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
4199 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_beta_Qinv" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_beta_Qinv" "', argument " "2"" of type '" "double""'"); 0 0 0
4200 }
4201 0 arg2 = (double)(val2);
4202 0 ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
4203 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
4204 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_beta_Qinv" "', argument " "3"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_beta_Qinv" "', argument " "3"" of type '" "double""'"); 0 0 0
4205 }
4206 0 arg3 = (double)(val3);
4207 0 result = (double)gsl_cdf_beta_Qinv(arg1,arg2,arg3);
4208 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
4209
4210
4211
4212 0 XSRETURN(argvi);
4213 0 fail:
4214
4215
4216
4217 0 SWIG_croak_null();
4218 }
4219 }
4220  
4221  
4222 0 XS(_wrap_gsl_cdf_flat_P) {
4223 {
4224 double arg1 ;
4225 double arg2 ;
4226 double arg3 ;
4227 double val1 ;
4228 0 int ecode1 = 0 ;
4229 double val2 ;
4230 0 int ecode2 = 0 ;
4231 double val3 ;
4232 0 int ecode3 = 0 ;
4233 0 int argvi = 0;
4234 double result;
4235 0 dXSARGS;
4236
4237 0 ▶ if ((items < 3) || (items > 3)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 3) || (items > 3)) { 0 0 0
if ((items < 3) || (items > 3)) { 0 0 0
4238 0 SWIG_croak("Usage: gsl_cdf_flat_P(x,a,b);");
4239 }
4240 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
4241 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
4242 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_flat_P" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_flat_P" "', argument " "1"" of type '" "double""'"); 0 0 0
4243 }
4244 0 arg1 = (double)(val1);
4245 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
4246 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
4247 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_flat_P" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_flat_P" "', argument " "2"" of type '" "double""'"); 0 0 0
4248 }
4249 0 arg2 = (double)(val2);
4250 0 ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
4251 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
4252 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_flat_P" "', argument " "3"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_flat_P" "', argument " "3"" of type '" "double""'"); 0 0 0
4253 }
4254 0 arg3 = (double)(val3);
4255 0 result = (double)gsl_cdf_flat_P(arg1,arg2,arg3);
4256 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
4257
4258
4259
4260 0 XSRETURN(argvi);
4261 0 fail:
4262
4263
4264
4265 0 SWIG_croak_null();
4266 }
4267 }
4268  
4269  
4270 0 XS(_wrap_gsl_cdf_flat_Q) {
4271 {
4272 double arg1 ;
4273 double arg2 ;
4274 double arg3 ;
4275 double val1 ;
4276 0 int ecode1 = 0 ;
4277 double val2 ;
4278 0 int ecode2 = 0 ;
4279 double val3 ;
4280 0 int ecode3 = 0 ;
4281 0 int argvi = 0;
4282 double result;
4283 0 dXSARGS;
4284
4285 0 ▶ if ((items < 3) || (items > 3)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 3) || (items > 3)) { 0 0 0
if ((items < 3) || (items > 3)) { 0 0 0
4286 0 SWIG_croak("Usage: gsl_cdf_flat_Q(x,a,b);");
4287 }
4288 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
4289 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
4290 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_flat_Q" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_flat_Q" "', argument " "1"" of type '" "double""'"); 0 0 0
4291 }
4292 0 arg1 = (double)(val1);
4293 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
4294 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
4295 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_flat_Q" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_flat_Q" "', argument " "2"" of type '" "double""'"); 0 0 0
4296 }
4297 0 arg2 = (double)(val2);
4298 0 ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
4299 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
4300 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_flat_Q" "', argument " "3"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_flat_Q" "', argument " "3"" of type '" "double""'"); 0 0 0
4301 }
4302 0 arg3 = (double)(val3);
4303 0 result = (double)gsl_cdf_flat_Q(arg1,arg2,arg3);
4304 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
4305
4306
4307
4308 0 XSRETURN(argvi);
4309 0 fail:
4310
4311
4312
4313 0 SWIG_croak_null();
4314 }
4315 }
4316  
4317  
4318 0 XS(_wrap_gsl_cdf_flat_Pinv) {
4319 {
4320 double arg1 ;
4321 double arg2 ;
4322 double arg3 ;
4323 double val1 ;
4324 0 int ecode1 = 0 ;
4325 double val2 ;
4326 0 int ecode2 = 0 ;
4327 double val3 ;
4328 0 int ecode3 = 0 ;
4329 0 int argvi = 0;
4330 double result;
4331 0 dXSARGS;
4332
4333 0 ▶ if ((items < 3) || (items > 3)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 3) || (items > 3)) { 0 0 0
if ((items < 3) || (items > 3)) { 0 0 0
4334 0 SWIG_croak("Usage: gsl_cdf_flat_Pinv(P,a,b);");
4335 }
4336 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
4337 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
4338 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_flat_Pinv" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_flat_Pinv" "', argument " "1"" of type '" "double""'"); 0 0 0
4339 }
4340 0 arg1 = (double)(val1);
4341 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
4342 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
4343 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_flat_Pinv" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_flat_Pinv" "', argument " "2"" of type '" "double""'"); 0 0 0
4344 }
4345 0 arg2 = (double)(val2);
4346 0 ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
4347 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
4348 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_flat_Pinv" "', argument " "3"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_flat_Pinv" "', argument " "3"" of type '" "double""'"); 0 0 0
4349 }
4350 0 arg3 = (double)(val3);
4351 0 result = (double)gsl_cdf_flat_Pinv(arg1,arg2,arg3);
4352 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
4353
4354
4355
4356 0 XSRETURN(argvi);
4357 0 fail:
4358
4359
4360
4361 0 SWIG_croak_null();
4362 }
4363 }
4364  
4365  
4366 0 XS(_wrap_gsl_cdf_flat_Qinv) {
4367 {
4368 double arg1 ;
4369 double arg2 ;
4370 double arg3 ;
4371 double val1 ;
4372 0 int ecode1 = 0 ;
4373 double val2 ;
4374 0 int ecode2 = 0 ;
4375 double val3 ;
4376 0 int ecode3 = 0 ;
4377 0 int argvi = 0;
4378 double result;
4379 0 dXSARGS;
4380
4381 0 ▶ if ((items < 3) || (items > 3)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 3) || (items > 3)) { 0 0 0
if ((items < 3) || (items > 3)) { 0 0 0
4382 0 SWIG_croak("Usage: gsl_cdf_flat_Qinv(Q,a,b);");
4383 }
4384 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
4385 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
4386 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_flat_Qinv" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_flat_Qinv" "', argument " "1"" of type '" "double""'"); 0 0 0
4387 }
4388 0 arg1 = (double)(val1);
4389 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
4390 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
4391 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_flat_Qinv" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_flat_Qinv" "', argument " "2"" of type '" "double""'"); 0 0 0
4392 }
4393 0 arg2 = (double)(val2);
4394 0 ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
4395 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
4396 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_flat_Qinv" "', argument " "3"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_flat_Qinv" "', argument " "3"" of type '" "double""'"); 0 0 0
4397 }
4398 0 arg3 = (double)(val3);
4399 0 result = (double)gsl_cdf_flat_Qinv(arg1,arg2,arg3);
4400 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
4401
4402
4403
4404 0 XSRETURN(argvi);
4405 0 fail:
4406
4407
4408
4409 0 SWIG_croak_null();
4410 }
4411 }
4412  
4413  
4414 0 XS(_wrap_gsl_cdf_lognormal_P) {
4415 {
4416 double arg1 ;
4417 double arg2 ;
4418 double arg3 ;
4419 double val1 ;
4420 0 int ecode1 = 0 ;
4421 double val2 ;
4422 0 int ecode2 = 0 ;
4423 double val3 ;
4424 0 int ecode3 = 0 ;
4425 0 int argvi = 0;
4426 double result;
4427 0 dXSARGS;
4428
4429 0 ▶ if ((items < 3) || (items > 3)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 3) || (items > 3)) { 0 0 0
if ((items < 3) || (items > 3)) { 0 0 0
4430 0 SWIG_croak("Usage: gsl_cdf_lognormal_P(x,zeta,sigma);");
4431 }
4432 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
4433 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
4434 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_lognormal_P" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_lognormal_P" "', argument " "1"" of type '" "double""'"); 0 0 0
4435 }
4436 0 arg1 = (double)(val1);
4437 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
4438 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
4439 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_lognormal_P" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_lognormal_P" "', argument " "2"" of type '" "double""'"); 0 0 0
4440 }
4441 0 arg2 = (double)(val2);
4442 0 ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
4443 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
4444 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_lognormal_P" "', argument " "3"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_lognormal_P" "', argument " "3"" of type '" "double""'"); 0 0 0
4445 }
4446 0 arg3 = (double)(val3);
4447 0 result = (double)gsl_cdf_lognormal_P(arg1,arg2,arg3);
4448 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
4449
4450
4451
4452 0 XSRETURN(argvi);
4453 0 fail:
4454
4455
4456
4457 0 SWIG_croak_null();
4458 }
4459 }
4460  
4461  
4462 0 XS(_wrap_gsl_cdf_lognormal_Q) {
4463 {
4464 double arg1 ;
4465 double arg2 ;
4466 double arg3 ;
4467 double val1 ;
4468 0 int ecode1 = 0 ;
4469 double val2 ;
4470 0 int ecode2 = 0 ;
4471 double val3 ;
4472 0 int ecode3 = 0 ;
4473 0 int argvi = 0;
4474 double result;
4475 0 dXSARGS;
4476
4477 0 ▶ if ((items < 3) || (items > 3)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 3) || (items > 3)) { 0 0 0
if ((items < 3) || (items > 3)) { 0 0 0
4478 0 SWIG_croak("Usage: gsl_cdf_lognormal_Q(x,zeta,sigma);");
4479 }
4480 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
4481 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
4482 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_lognormal_Q" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_lognormal_Q" "', argument " "1"" of type '" "double""'"); 0 0 0
4483 }
4484 0 arg1 = (double)(val1);
4485 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
4486 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
4487 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_lognormal_Q" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_lognormal_Q" "', argument " "2"" of type '" "double""'"); 0 0 0
4488 }
4489 0 arg2 = (double)(val2);
4490 0 ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
4491 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
4492 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_lognormal_Q" "', argument " "3"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_lognormal_Q" "', argument " "3"" of type '" "double""'"); 0 0 0
4493 }
4494 0 arg3 = (double)(val3);
4495 0 result = (double)gsl_cdf_lognormal_Q(arg1,arg2,arg3);
4496 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
4497
4498
4499
4500 0 XSRETURN(argvi);
4501 0 fail:
4502
4503
4504
4505 0 SWIG_croak_null();
4506 }
4507 }
4508  
4509  
4510 0 XS(_wrap_gsl_cdf_lognormal_Pinv) {
4511 {
4512 double arg1 ;
4513 double arg2 ;
4514 double arg3 ;
4515 double val1 ;
4516 0 int ecode1 = 0 ;
4517 double val2 ;
4518 0 int ecode2 = 0 ;
4519 double val3 ;
4520 0 int ecode3 = 0 ;
4521 0 int argvi = 0;
4522 double result;
4523 0 dXSARGS;
4524
4525 0 ▶ if ((items < 3) || (items > 3)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 3) || (items > 3)) { 0 0 0
if ((items < 3) || (items > 3)) { 0 0 0
4526 0 SWIG_croak("Usage: gsl_cdf_lognormal_Pinv(P,zeta,sigma);");
4527 }
4528 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
4529 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
4530 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_lognormal_Pinv" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_lognormal_Pinv" "', argument " "1"" of type '" "double""'"); 0 0 0
4531 }
4532 0 arg1 = (double)(val1);
4533 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
4534 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
4535 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_lognormal_Pinv" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_lognormal_Pinv" "', argument " "2"" of type '" "double""'"); 0 0 0
4536 }
4537 0 arg2 = (double)(val2);
4538 0 ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
4539 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
4540 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_lognormal_Pinv" "', argument " "3"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_lognormal_Pinv" "', argument " "3"" of type '" "double""'"); 0 0 0
4541 }
4542 0 arg3 = (double)(val3);
4543 0 result = (double)gsl_cdf_lognormal_Pinv(arg1,arg2,arg3);
4544 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
4545
4546
4547
4548 0 XSRETURN(argvi);
4549 0 fail:
4550
4551
4552
4553 0 SWIG_croak_null();
4554 }
4555 }
4556  
4557  
4558 0 XS(_wrap_gsl_cdf_lognormal_Qinv) {
4559 {
4560 double arg1 ;
4561 double arg2 ;
4562 double arg3 ;
4563 double val1 ;
4564 0 int ecode1 = 0 ;
4565 double val2 ;
4566 0 int ecode2 = 0 ;
4567 double val3 ;
4568 0 int ecode3 = 0 ;
4569 0 int argvi = 0;
4570 double result;
4571 0 dXSARGS;
4572
4573 0 ▶ if ((items < 3) || (items > 3)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 3) || (items > 3)) { 0 0 0
if ((items < 3) || (items > 3)) { 0 0 0
4574 0 SWIG_croak("Usage: gsl_cdf_lognormal_Qinv(Q,zeta,sigma);");
4575 }
4576 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
4577 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
4578 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_lognormal_Qinv" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_lognormal_Qinv" "', argument " "1"" of type '" "double""'"); 0 0 0
4579 }
4580 0 arg1 = (double)(val1);
4581 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
4582 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
4583 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_lognormal_Qinv" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_lognormal_Qinv" "', argument " "2"" of type '" "double""'"); 0 0 0
4584 }
4585 0 arg2 = (double)(val2);
4586 0 ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
4587 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
4588 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_lognormal_Qinv" "', argument " "3"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_lognormal_Qinv" "', argument " "3"" of type '" "double""'"); 0 0 0
4589 }
4590 0 arg3 = (double)(val3);
4591 0 result = (double)gsl_cdf_lognormal_Qinv(arg1,arg2,arg3);
4592 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
4593
4594
4595
4596 0 XSRETURN(argvi);
4597 0 fail:
4598
4599
4600
4601 0 SWIG_croak_null();
4602 }
4603 }
4604  
4605  
4606 0 XS(_wrap_gsl_cdf_gumbel1_P) {
4607 {
4608 double arg1 ;
4609 double arg2 ;
4610 double arg3 ;
4611 double val1 ;
4612 0 int ecode1 = 0 ;
4613 double val2 ;
4614 0 int ecode2 = 0 ;
4615 double val3 ;
4616 0 int ecode3 = 0 ;
4617 0 int argvi = 0;
4618 double result;
4619 0 dXSARGS;
4620
4621 0 ▶ if ((items < 3) || (items > 3)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 3) || (items > 3)) { 0 0 0
if ((items < 3) || (items > 3)) { 0 0 0
4622 0 SWIG_croak("Usage: gsl_cdf_gumbel1_P(x,a,b);");
4623 }
4624 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
4625 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
4626 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_gumbel1_P" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_gumbel1_P" "', argument " "1"" of type '" "double""'"); 0 0 0
4627 }
4628 0 arg1 = (double)(val1);
4629 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
4630 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
4631 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_gumbel1_P" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_gumbel1_P" "', argument " "2"" of type '" "double""'"); 0 0 0
4632 }
4633 0 arg2 = (double)(val2);
4634 0 ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
4635 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
4636 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_gumbel1_P" "', argument " "3"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_gumbel1_P" "', argument " "3"" of type '" "double""'"); 0 0 0
4637 }
4638 0 arg3 = (double)(val3);
4639 0 result = (double)gsl_cdf_gumbel1_P(arg1,arg2,arg3);
4640 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
4641
4642
4643
4644 0 XSRETURN(argvi);
4645 0 fail:
4646
4647
4648
4649 0 SWIG_croak_null();
4650 }
4651 }
4652  
4653  
4654 0 XS(_wrap_gsl_cdf_gumbel1_Q) {
4655 {
4656 double arg1 ;
4657 double arg2 ;
4658 double arg3 ;
4659 double val1 ;
4660 0 int ecode1 = 0 ;
4661 double val2 ;
4662 0 int ecode2 = 0 ;
4663 double val3 ;
4664 0 int ecode3 = 0 ;
4665 0 int argvi = 0;
4666 double result;
4667 0 dXSARGS;
4668
4669 0 ▶ if ((items < 3) || (items > 3)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 3) || (items > 3)) { 0 0 0
if ((items < 3) || (items > 3)) { 0 0 0
4670 0 SWIG_croak("Usage: gsl_cdf_gumbel1_Q(x,a,b);");
4671 }
4672 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
4673 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
4674 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_gumbel1_Q" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_gumbel1_Q" "', argument " "1"" of type '" "double""'"); 0 0 0
4675 }
4676 0 arg1 = (double)(val1);
4677 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
4678 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
4679 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_gumbel1_Q" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_gumbel1_Q" "', argument " "2"" of type '" "double""'"); 0 0 0
4680 }
4681 0 arg2 = (double)(val2);
4682 0 ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
4683 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
4684 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_gumbel1_Q" "', argument " "3"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_gumbel1_Q" "', argument " "3"" of type '" "double""'"); 0 0 0
4685 }
4686 0 arg3 = (double)(val3);
4687 0 result = (double)gsl_cdf_gumbel1_Q(arg1,arg2,arg3);
4688 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
4689
4690
4691
4692 0 XSRETURN(argvi);
4693 0 fail:
4694
4695
4696
4697 0 SWIG_croak_null();
4698 }
4699 }
4700  
4701  
4702 0 XS(_wrap_gsl_cdf_gumbel1_Pinv) {
4703 {
4704 double arg1 ;
4705 double arg2 ;
4706 double arg3 ;
4707 double val1 ;
4708 0 int ecode1 = 0 ;
4709 double val2 ;
4710 0 int ecode2 = 0 ;
4711 double val3 ;
4712 0 int ecode3 = 0 ;
4713 0 int argvi = 0;
4714 double result;
4715 0 dXSARGS;
4716
4717 0 ▶ if ((items < 3) || (items > 3)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 3) || (items > 3)) { 0 0 0
if ((items < 3) || (items > 3)) { 0 0 0
4718 0 SWIG_croak("Usage: gsl_cdf_gumbel1_Pinv(P,a,b);");
4719 }
4720 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
4721 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
4722 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_gumbel1_Pinv" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_gumbel1_Pinv" "', argument " "1"" of type '" "double""'"); 0 0 0
4723 }
4724 0 arg1 = (double)(val1);
4725 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
4726 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
4727 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_gumbel1_Pinv" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_gumbel1_Pinv" "', argument " "2"" of type '" "double""'"); 0 0 0
4728 }
4729 0 arg2 = (double)(val2);
4730 0 ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
4731 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
4732 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_gumbel1_Pinv" "', argument " "3"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_gumbel1_Pinv" "', argument " "3"" of type '" "double""'"); 0 0 0
4733 }
4734 0 arg3 = (double)(val3);
4735 0 result = (double)gsl_cdf_gumbel1_Pinv(arg1,arg2,arg3);
4736 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
4737
4738
4739
4740 0 XSRETURN(argvi);
4741 0 fail:
4742
4743
4744
4745 0 SWIG_croak_null();
4746 }
4747 }
4748  
4749  
4750 0 XS(_wrap_gsl_cdf_gumbel1_Qinv) {
4751 {
4752 double arg1 ;
4753 double arg2 ;
4754 double arg3 ;
4755 double val1 ;
4756 0 int ecode1 = 0 ;
4757 double val2 ;
4758 0 int ecode2 = 0 ;
4759 double val3 ;
4760 0 int ecode3 = 0 ;
4761 0 int argvi = 0;
4762 double result;
4763 0 dXSARGS;
4764
4765 0 ▶ if ((items < 3) || (items > 3)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 3) || (items > 3)) { 0 0 0
if ((items < 3) || (items > 3)) { 0 0 0
4766 0 SWIG_croak("Usage: gsl_cdf_gumbel1_Qinv(Q,a,b);");
4767 }
4768 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
4769 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
4770 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_gumbel1_Qinv" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_gumbel1_Qinv" "', argument " "1"" of type '" "double""'"); 0 0 0
4771 }
4772 0 arg1 = (double)(val1);
4773 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
4774 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
4775 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_gumbel1_Qinv" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_gumbel1_Qinv" "', argument " "2"" of type '" "double""'"); 0 0 0
4776 }
4777 0 arg2 = (double)(val2);
4778 0 ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
4779 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
4780 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_gumbel1_Qinv" "', argument " "3"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_gumbel1_Qinv" "', argument " "3"" of type '" "double""'"); 0 0 0
4781 }
4782 0 arg3 = (double)(val3);
4783 0 result = (double)gsl_cdf_gumbel1_Qinv(arg1,arg2,arg3);
4784 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
4785
4786
4787
4788 0 XSRETURN(argvi);
4789 0 fail:
4790
4791
4792
4793 0 SWIG_croak_null();
4794 }
4795 }
4796  
4797  
4798 0 XS(_wrap_gsl_cdf_gumbel2_P) {
4799 {
4800 double arg1 ;
4801 double arg2 ;
4802 double arg3 ;
4803 double val1 ;
4804 0 int ecode1 = 0 ;
4805 double val2 ;
4806 0 int ecode2 = 0 ;
4807 double val3 ;
4808 0 int ecode3 = 0 ;
4809 0 int argvi = 0;
4810 double result;
4811 0 dXSARGS;
4812
4813 0 ▶ if ((items < 3) || (items > 3)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 3) || (items > 3)) { 0 0 0
if ((items < 3) || (items > 3)) { 0 0 0
4814 0 SWIG_croak("Usage: gsl_cdf_gumbel2_P(x,a,b);");
4815 }
4816 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
4817 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
4818 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_gumbel2_P" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_gumbel2_P" "', argument " "1"" of type '" "double""'"); 0 0 0
4819 }
4820 0 arg1 = (double)(val1);
4821 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
4822 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
4823 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_gumbel2_P" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_gumbel2_P" "', argument " "2"" of type '" "double""'"); 0 0 0
4824 }
4825 0 arg2 = (double)(val2);
4826 0 ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
4827 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
4828 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_gumbel2_P" "', argument " "3"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_gumbel2_P" "', argument " "3"" of type '" "double""'"); 0 0 0
4829 }
4830 0 arg3 = (double)(val3);
4831 0 result = (double)gsl_cdf_gumbel2_P(arg1,arg2,arg3);
4832 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
4833
4834
4835
4836 0 XSRETURN(argvi);
4837 0 fail:
4838
4839
4840
4841 0 SWIG_croak_null();
4842 }
4843 }
4844  
4845  
4846 0 XS(_wrap_gsl_cdf_gumbel2_Q) {
4847 {
4848 double arg1 ;
4849 double arg2 ;
4850 double arg3 ;
4851 double val1 ;
4852 0 int ecode1 = 0 ;
4853 double val2 ;
4854 0 int ecode2 = 0 ;
4855 double val3 ;
4856 0 int ecode3 = 0 ;
4857 0 int argvi = 0;
4858 double result;
4859 0 dXSARGS;
4860
4861 0 ▶ if ((items < 3) || (items > 3)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 3) || (items > 3)) { 0 0 0
if ((items < 3) || (items > 3)) { 0 0 0
4862 0 SWIG_croak("Usage: gsl_cdf_gumbel2_Q(x,a,b);");
4863 }
4864 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
4865 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
4866 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_gumbel2_Q" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_gumbel2_Q" "', argument " "1"" of type '" "double""'"); 0 0 0
4867 }
4868 0 arg1 = (double)(val1);
4869 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
4870 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
4871 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_gumbel2_Q" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_gumbel2_Q" "', argument " "2"" of type '" "double""'"); 0 0 0
4872 }
4873 0 arg2 = (double)(val2);
4874 0 ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
4875 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
4876 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_gumbel2_Q" "', argument " "3"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_gumbel2_Q" "', argument " "3"" of type '" "double""'"); 0 0 0
4877 }
4878 0 arg3 = (double)(val3);
4879 0 result = (double)gsl_cdf_gumbel2_Q(arg1,arg2,arg3);
4880 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
4881
4882
4883
4884 0 XSRETURN(argvi);
4885 0 fail:
4886
4887
4888
4889 0 SWIG_croak_null();
4890 }
4891 }
4892  
4893  
4894 0 XS(_wrap_gsl_cdf_gumbel2_Pinv) {
4895 {
4896 double arg1 ;
4897 double arg2 ;
4898 double arg3 ;
4899 double val1 ;
4900 0 int ecode1 = 0 ;
4901 double val2 ;
4902 0 int ecode2 = 0 ;
4903 double val3 ;
4904 0 int ecode3 = 0 ;
4905 0 int argvi = 0;
4906 double result;
4907 0 dXSARGS;
4908
4909 0 ▶ if ((items < 3) || (items > 3)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 3) || (items > 3)) { 0 0 0
if ((items < 3) || (items > 3)) { 0 0 0
4910 0 SWIG_croak("Usage: gsl_cdf_gumbel2_Pinv(P,a,b);");
4911 }
4912 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
4913 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
4914 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_gumbel2_Pinv" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_gumbel2_Pinv" "', argument " "1"" of type '" "double""'"); 0 0 0
4915 }
4916 0 arg1 = (double)(val1);
4917 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
4918 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
4919 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_gumbel2_Pinv" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_gumbel2_Pinv" "', argument " "2"" of type '" "double""'"); 0 0 0
4920 }
4921 0 arg2 = (double)(val2);
4922 0 ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
4923 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
4924 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_gumbel2_Pinv" "', argument " "3"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_gumbel2_Pinv" "', argument " "3"" of type '" "double""'"); 0 0 0
4925 }
4926 0 arg3 = (double)(val3);
4927 0 result = (double)gsl_cdf_gumbel2_Pinv(arg1,arg2,arg3);
4928 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
4929
4930
4931
4932 0 XSRETURN(argvi);
4933 0 fail:
4934
4935
4936
4937 0 SWIG_croak_null();
4938 }
4939 }
4940  
4941  
4942 0 XS(_wrap_gsl_cdf_gumbel2_Qinv) {
4943 {
4944 double arg1 ;
4945 double arg2 ;
4946 double arg3 ;
4947 double val1 ;
4948 0 int ecode1 = 0 ;
4949 double val2 ;
4950 0 int ecode2 = 0 ;
4951 double val3 ;
4952 0 int ecode3 = 0 ;
4953 0 int argvi = 0;
4954 double result;
4955 0 dXSARGS;
4956
4957 0 ▶ if ((items < 3) || (items > 3)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 3) || (items > 3)) { 0 0 0
if ((items < 3) || (items > 3)) { 0 0 0
4958 0 SWIG_croak("Usage: gsl_cdf_gumbel2_Qinv(Q,a,b);");
4959 }
4960 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
4961 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
4962 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_gumbel2_Qinv" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_gumbel2_Qinv" "', argument " "1"" of type '" "double""'"); 0 0 0
4963 }
4964 0 arg1 = (double)(val1);
4965 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
4966 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
4967 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_gumbel2_Qinv" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_gumbel2_Qinv" "', argument " "2"" of type '" "double""'"); 0 0 0
4968 }
4969 0 arg2 = (double)(val2);
4970 0 ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
4971 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
4972 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_gumbel2_Qinv" "', argument " "3"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_gumbel2_Qinv" "', argument " "3"" of type '" "double""'"); 0 0 0
4973 }
4974 0 arg3 = (double)(val3);
4975 0 result = (double)gsl_cdf_gumbel2_Qinv(arg1,arg2,arg3);
4976 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
4977
4978
4979
4980 0 XSRETURN(argvi);
4981 0 fail:
4982
4983
4984
4985 0 SWIG_croak_null();
4986 }
4987 }
4988  
4989  
4990 0 XS(_wrap_gsl_cdf_weibull_P) {
4991 {
4992 double arg1 ;
4993 double arg2 ;
4994 double arg3 ;
4995 double val1 ;
4996 0 int ecode1 = 0 ;
4997 double val2 ;
4998 0 int ecode2 = 0 ;
4999 double val3 ;
5000 0 int ecode3 = 0 ;
5001 0 int argvi = 0;
5002 double result;
5003 0 dXSARGS;
5004
5005 0 ▶ if ((items < 3) || (items > 3)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 3) || (items > 3)) { 0 0 0
if ((items < 3) || (items > 3)) { 0 0 0
5006 0 SWIG_croak("Usage: gsl_cdf_weibull_P(x,a,b);");
5007 }
5008 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
5009 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
5010 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_weibull_P" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_weibull_P" "', argument " "1"" of type '" "double""'"); 0 0 0
5011 }
5012 0 arg1 = (double)(val1);
5013 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5014 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
5015 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_weibull_P" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_weibull_P" "', argument " "2"" of type '" "double""'"); 0 0 0
5016 }
5017 0 arg2 = (double)(val2);
5018 0 ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
5019 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
5020 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_weibull_P" "', argument " "3"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_weibull_P" "', argument " "3"" of type '" "double""'"); 0 0 0
5021 }
5022 0 arg3 = (double)(val3);
5023 0 result = (double)gsl_cdf_weibull_P(arg1,arg2,arg3);
5024 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
5025
5026
5027
5028 0 XSRETURN(argvi);
5029 0 fail:
5030
5031
5032
5033 0 SWIG_croak_null();
5034 }
5035 }
5036  
5037  
5038 0 XS(_wrap_gsl_cdf_weibull_Q) {
5039 {
5040 double arg1 ;
5041 double arg2 ;
5042 double arg3 ;
5043 double val1 ;
5044 0 int ecode1 = 0 ;
5045 double val2 ;
5046 0 int ecode2 = 0 ;
5047 double val3 ;
5048 0 int ecode3 = 0 ;
5049 0 int argvi = 0;
5050 double result;
5051 0 dXSARGS;
5052
5053 0 ▶ if ((items < 3) || (items > 3)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 3) || (items > 3)) { 0 0 0
if ((items < 3) || (items > 3)) { 0 0 0
5054 0 SWIG_croak("Usage: gsl_cdf_weibull_Q(x,a,b);");
5055 }
5056 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
5057 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
5058 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_weibull_Q" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_weibull_Q" "', argument " "1"" of type '" "double""'"); 0 0 0
5059 }
5060 0 arg1 = (double)(val1);
5061 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5062 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
5063 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_weibull_Q" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_weibull_Q" "', argument " "2"" of type '" "double""'"); 0 0 0
5064 }
5065 0 arg2 = (double)(val2);
5066 0 ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
5067 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
5068 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_weibull_Q" "', argument " "3"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_weibull_Q" "', argument " "3"" of type '" "double""'"); 0 0 0
5069 }
5070 0 arg3 = (double)(val3);
5071 0 result = (double)gsl_cdf_weibull_Q(arg1,arg2,arg3);
5072 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
5073
5074
5075
5076 0 XSRETURN(argvi);
5077 0 fail:
5078
5079
5080
5081 0 SWIG_croak_null();
5082 }
5083 }
5084  
5085  
5086 0 XS(_wrap_gsl_cdf_weibull_Pinv) {
5087 {
5088 double arg1 ;
5089 double arg2 ;
5090 double arg3 ;
5091 double val1 ;
5092 0 int ecode1 = 0 ;
5093 double val2 ;
5094 0 int ecode2 = 0 ;
5095 double val3 ;
5096 0 int ecode3 = 0 ;
5097 0 int argvi = 0;
5098 double result;
5099 0 dXSARGS;
5100
5101 0 ▶ if ((items < 3) || (items > 3)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 3) || (items > 3)) { 0 0 0
if ((items < 3) || (items > 3)) { 0 0 0
5102 0 SWIG_croak("Usage: gsl_cdf_weibull_Pinv(P,a,b);");
5103 }
5104 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
5105 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
5106 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_weibull_Pinv" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_weibull_Pinv" "', argument " "1"" of type '" "double""'"); 0 0 0
5107 }
5108 0 arg1 = (double)(val1);
5109 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5110 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
5111 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_weibull_Pinv" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_weibull_Pinv" "', argument " "2"" of type '" "double""'"); 0 0 0
5112 }
5113 0 arg2 = (double)(val2);
5114 0 ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
5115 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
5116 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_weibull_Pinv" "', argument " "3"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_weibull_Pinv" "', argument " "3"" of type '" "double""'"); 0 0 0
5117 }
5118 0 arg3 = (double)(val3);
5119 0 result = (double)gsl_cdf_weibull_Pinv(arg1,arg2,arg3);
5120 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
5121
5122
5123
5124 0 XSRETURN(argvi);
5125 0 fail:
5126
5127
5128
5129 0 SWIG_croak_null();
5130 }
5131 }
5132  
5133  
5134 0 XS(_wrap_gsl_cdf_weibull_Qinv) {
5135 {
5136 double arg1 ;
5137 double arg2 ;
5138 double arg3 ;
5139 double val1 ;
5140 0 int ecode1 = 0 ;
5141 double val2 ;
5142 0 int ecode2 = 0 ;
5143 double val3 ;
5144 0 int ecode3 = 0 ;
5145 0 int argvi = 0;
5146 double result;
5147 0 dXSARGS;
5148
5149 0 ▶ if ((items < 3) || (items > 3)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 3) || (items > 3)) { 0 0 0
if ((items < 3) || (items > 3)) { 0 0 0
5150 0 SWIG_croak("Usage: gsl_cdf_weibull_Qinv(Q,a,b);");
5151 }
5152 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
5153 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
5154 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_weibull_Qinv" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_weibull_Qinv" "', argument " "1"" of type '" "double""'"); 0 0 0
5155 }
5156 0 arg1 = (double)(val1);
5157 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5158 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
5159 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_weibull_Qinv" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_weibull_Qinv" "', argument " "2"" of type '" "double""'"); 0 0 0
5160 }
5161 0 arg2 = (double)(val2);
5162 0 ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
5163 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
5164 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_weibull_Qinv" "', argument " "3"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_weibull_Qinv" "', argument " "3"" of type '" "double""'"); 0 0 0
5165 }
5166 0 arg3 = (double)(val3);
5167 0 result = (double)gsl_cdf_weibull_Qinv(arg1,arg2,arg3);
5168 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
5169
5170
5171
5172 0 XSRETURN(argvi);
5173 0 fail:
5174
5175
5176
5177 0 SWIG_croak_null();
5178 }
5179 }
5180  
5181  
5182 0 XS(_wrap_gsl_cdf_pareto_P) {
5183 {
5184 double arg1 ;
5185 double arg2 ;
5186 double arg3 ;
5187 double val1 ;
5188 0 int ecode1 = 0 ;
5189 double val2 ;
5190 0 int ecode2 = 0 ;
5191 double val3 ;
5192 0 int ecode3 = 0 ;
5193 0 int argvi = 0;
5194 double result;
5195 0 dXSARGS;
5196
5197 0 ▶ if ((items < 3) || (items > 3)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 3) || (items > 3)) { 0 0 0
if ((items < 3) || (items > 3)) { 0 0 0
5198 0 SWIG_croak("Usage: gsl_cdf_pareto_P(x,a,b);");
5199 }
5200 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
5201 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
5202 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_pareto_P" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_pareto_P" "', argument " "1"" of type '" "double""'"); 0 0 0
5203 }
5204 0 arg1 = (double)(val1);
5205 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5206 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
5207 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_pareto_P" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_pareto_P" "', argument " "2"" of type '" "double""'"); 0 0 0
5208 }
5209 0 arg2 = (double)(val2);
5210 0 ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
5211 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
5212 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_pareto_P" "', argument " "3"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_pareto_P" "', argument " "3"" of type '" "double""'"); 0 0 0
5213 }
5214 0 arg3 = (double)(val3);
5215 0 result = (double)gsl_cdf_pareto_P(arg1,arg2,arg3);
5216 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
5217
5218
5219
5220 0 XSRETURN(argvi);
5221 0 fail:
5222
5223
5224
5225 0 SWIG_croak_null();
5226 }
5227 }
5228  
5229  
5230 0 XS(_wrap_gsl_cdf_pareto_Q) {
5231 {
5232 double arg1 ;
5233 double arg2 ;
5234 double arg3 ;
5235 double val1 ;
5236 0 int ecode1 = 0 ;
5237 double val2 ;
5238 0 int ecode2 = 0 ;
5239 double val3 ;
5240 0 int ecode3 = 0 ;
5241 0 int argvi = 0;
5242 double result;
5243 0 dXSARGS;
5244
5245 0 ▶ if ((items < 3) || (items > 3)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 3) || (items > 3)) { 0 0 0
if ((items < 3) || (items > 3)) { 0 0 0
5246 0 SWIG_croak("Usage: gsl_cdf_pareto_Q(x,a,b);");
5247 }
5248 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
5249 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
5250 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_pareto_Q" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_pareto_Q" "', argument " "1"" of type '" "double""'"); 0 0 0
5251 }
5252 0 arg1 = (double)(val1);
5253 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5254 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
5255 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_pareto_Q" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_pareto_Q" "', argument " "2"" of type '" "double""'"); 0 0 0
5256 }
5257 0 arg2 = (double)(val2);
5258 0 ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
5259 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
5260 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_pareto_Q" "', argument " "3"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_pareto_Q" "', argument " "3"" of type '" "double""'"); 0 0 0
5261 }
5262 0 arg3 = (double)(val3);
5263 0 result = (double)gsl_cdf_pareto_Q(arg1,arg2,arg3);
5264 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
5265
5266
5267
5268 0 XSRETURN(argvi);
5269 0 fail:
5270
5271
5272
5273 0 SWIG_croak_null();
5274 }
5275 }
5276  
5277  
5278 0 XS(_wrap_gsl_cdf_pareto_Pinv) {
5279 {
5280 double arg1 ;
5281 double arg2 ;
5282 double arg3 ;
5283 double val1 ;
5284 0 int ecode1 = 0 ;
5285 double val2 ;
5286 0 int ecode2 = 0 ;
5287 double val3 ;
5288 0 int ecode3 = 0 ;
5289 0 int argvi = 0;
5290 double result;
5291 0 dXSARGS;
5292
5293 0 ▶ if ((items < 3) || (items > 3)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 3) || (items > 3)) { 0 0 0
if ((items < 3) || (items > 3)) { 0 0 0
5294 0 SWIG_croak("Usage: gsl_cdf_pareto_Pinv(P,a,b);");
5295 }
5296 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
5297 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
5298 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_pareto_Pinv" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_pareto_Pinv" "', argument " "1"" of type '" "double""'"); 0 0 0
5299 }
5300 0 arg1 = (double)(val1);
5301 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5302 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
5303 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_pareto_Pinv" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_pareto_Pinv" "', argument " "2"" of type '" "double""'"); 0 0 0
5304 }
5305 0 arg2 = (double)(val2);
5306 0 ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
5307 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
5308 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_pareto_Pinv" "', argument " "3"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_pareto_Pinv" "', argument " "3"" of type '" "double""'"); 0 0 0
5309 }
5310 0 arg3 = (double)(val3);
5311 0 result = (double)gsl_cdf_pareto_Pinv(arg1,arg2,arg3);
5312 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
5313
5314
5315
5316 0 XSRETURN(argvi);
5317 0 fail:
5318
5319
5320
5321 0 SWIG_croak_null();
5322 }
5323 }
5324  
5325  
5326 0 XS(_wrap_gsl_cdf_pareto_Qinv) {
5327 {
5328 double arg1 ;
5329 double arg2 ;
5330 double arg3 ;
5331 double val1 ;
5332 0 int ecode1 = 0 ;
5333 double val2 ;
5334 0 int ecode2 = 0 ;
5335 double val3 ;
5336 0 int ecode3 = 0 ;
5337 0 int argvi = 0;
5338 double result;
5339 0 dXSARGS;
5340
5341 0 ▶ if ((items < 3) || (items > 3)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 3) || (items > 3)) { 0 0 0
if ((items < 3) || (items > 3)) { 0 0 0
5342 0 SWIG_croak("Usage: gsl_cdf_pareto_Qinv(Q,a,b);");
5343 }
5344 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
5345 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
5346 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_pareto_Qinv" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_pareto_Qinv" "', argument " "1"" of type '" "double""'"); 0 0 0
5347 }
5348 0 arg1 = (double)(val1);
5349 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5350 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
5351 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_pareto_Qinv" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_pareto_Qinv" "', argument " "2"" of type '" "double""'"); 0 0 0
5352 }
5353 0 arg2 = (double)(val2);
5354 0 ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
5355 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
5356 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_pareto_Qinv" "', argument " "3"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_pareto_Qinv" "', argument " "3"" of type '" "double""'"); 0 0 0
5357 }
5358 0 arg3 = (double)(val3);
5359 0 result = (double)gsl_cdf_pareto_Qinv(arg1,arg2,arg3);
5360 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
5361
5362
5363
5364 0 XSRETURN(argvi);
5365 0 fail:
5366
5367
5368
5369 0 SWIG_croak_null();
5370 }
5371 }
5372  
5373  
5374 0 XS(_wrap_gsl_cdf_logistic_P) {
5375 {
5376 double arg1 ;
5377 double arg2 ;
5378 double val1 ;
5379 0 int ecode1 = 0 ;
5380 double val2 ;
5381 0 int ecode2 = 0 ;
5382 0 int argvi = 0;
5383 double result;
5384 0 dXSARGS;
5385
5386 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
5387 0 SWIG_croak("Usage: gsl_cdf_logistic_P(x,a);");
5388 }
5389 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
5390 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
5391 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_logistic_P" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_logistic_P" "', argument " "1"" of type '" "double""'"); 0 0 0
5392 }
5393 0 arg1 = (double)(val1);
5394 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5395 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
5396 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_logistic_P" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_logistic_P" "', argument " "2"" of type '" "double""'"); 0 0 0
5397 }
5398 0 arg2 = (double)(val2);
5399 0 result = (double)gsl_cdf_logistic_P(arg1,arg2);
5400 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
5401
5402
5403 0 XSRETURN(argvi);
5404 0 fail:
5405
5406
5407 0 SWIG_croak_null();
5408 }
5409 }
5410  
5411  
5412 0 XS(_wrap_gsl_cdf_logistic_Q) {
5413 {
5414 double arg1 ;
5415 double arg2 ;
5416 double val1 ;
5417 0 int ecode1 = 0 ;
5418 double val2 ;
5419 0 int ecode2 = 0 ;
5420 0 int argvi = 0;
5421 double result;
5422 0 dXSARGS;
5423
5424 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
5425 0 SWIG_croak("Usage: gsl_cdf_logistic_Q(x,a);");
5426 }
5427 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
5428 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
5429 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_logistic_Q" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_logistic_Q" "', argument " "1"" of type '" "double""'"); 0 0 0
5430 }
5431 0 arg1 = (double)(val1);
5432 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5433 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
5434 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_logistic_Q" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_logistic_Q" "', argument " "2"" of type '" "double""'"); 0 0 0
5435 }
5436 0 arg2 = (double)(val2);
5437 0 result = (double)gsl_cdf_logistic_Q(arg1,arg2);
5438 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
5439
5440
5441 0 XSRETURN(argvi);
5442 0 fail:
5443
5444
5445 0 SWIG_croak_null();
5446 }
5447 }
5448  
5449  
5450 0 XS(_wrap_gsl_cdf_logistic_Pinv) {
5451 {
5452 double arg1 ;
5453 double arg2 ;
5454 double val1 ;
5455 0 int ecode1 = 0 ;
5456 double val2 ;
5457 0 int ecode2 = 0 ;
5458 0 int argvi = 0;
5459 double result;
5460 0 dXSARGS;
5461
5462 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
5463 0 SWIG_croak("Usage: gsl_cdf_logistic_Pinv(P,a);");
5464 }
5465 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
5466 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
5467 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_logistic_Pinv" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_logistic_Pinv" "', argument " "1"" of type '" "double""'"); 0 0 0
5468 }
5469 0 arg1 = (double)(val1);
5470 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5471 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
5472 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_logistic_Pinv" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_logistic_Pinv" "', argument " "2"" of type '" "double""'"); 0 0 0
5473 }
5474 0 arg2 = (double)(val2);
5475 0 result = (double)gsl_cdf_logistic_Pinv(arg1,arg2);
5476 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
5477
5478
5479 0 XSRETURN(argvi);
5480 0 fail:
5481
5482
5483 0 SWIG_croak_null();
5484 }
5485 }
5486  
5487  
5488 0 XS(_wrap_gsl_cdf_logistic_Qinv) {
5489 {
5490 double arg1 ;
5491 double arg2 ;
5492 double val1 ;
5493 0 int ecode1 = 0 ;
5494 double val2 ;
5495 0 int ecode2 = 0 ;
5496 0 int argvi = 0;
5497 double result;
5498 0 dXSARGS;
5499
5500 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
5501 0 SWIG_croak("Usage: gsl_cdf_logistic_Qinv(Q,a);");
5502 }
5503 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
5504 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
5505 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_logistic_Qinv" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_logistic_Qinv" "', argument " "1"" of type '" "double""'"); 0 0 0
5506 }
5507 0 arg1 = (double)(val1);
5508 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5509 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
5510 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_logistic_Qinv" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_logistic_Qinv" "', argument " "2"" of type '" "double""'"); 0 0 0
5511 }
5512 0 arg2 = (double)(val2);
5513 0 result = (double)gsl_cdf_logistic_Qinv(arg1,arg2);
5514 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
5515
5516
5517 0 XSRETURN(argvi);
5518 0 fail:
5519
5520
5521 0 SWIG_croak_null();
5522 }
5523 }
5524  
5525  
5526 0 XS(_wrap_gsl_cdf_binomial_P) {
5527 {
5528 unsigned int arg1 ;
5529 double arg2 ;
5530 unsigned int arg3 ;
5531 unsigned int val1 ;
5532 0 int ecode1 = 0 ;
5533 double val2 ;
5534 0 int ecode2 = 0 ;
5535 unsigned int val3 ;
5536 0 int ecode3 = 0 ;
5537 0 int argvi = 0;
5538 double result;
5539 0 dXSARGS;
5540
5541 0 ▶ if ((items < 3) || (items > 3)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 3) || (items > 3)) { 0 0 0
if ((items < 3) || (items > 3)) { 0 0 0
5542 0 SWIG_croak("Usage: gsl_cdf_binomial_P(k,p,n);");
5543 }
5544 0 ecode1 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
5545 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
5546 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_binomial_P" "', argument " "1"" of type '" "unsigned int""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_binomial_P" "', argument " "1"" of type '" "unsigned int""'"); 0 0 0
5547 }
5548 0 arg1 = (unsigned int)(val1);
5549 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5550 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
5551 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_binomial_P" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_binomial_P" "', argument " "2"" of type '" "double""'"); 0 0 0
5552 }
5553 0 arg2 = (double)(val2);
5554 0 ecode3 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
5555 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
5556 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_binomial_P" "', argument " "3"" of type '" "unsigned int""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_binomial_P" "', argument " "3"" of type '" "unsigned int""'"); 0 0 0
5557 }
5558 0 arg3 = (unsigned int)(val3);
5559 0 result = (double)gsl_cdf_binomial_P(arg1,arg2,arg3);
5560 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
5561
5562
5563
5564 0 XSRETURN(argvi);
5565 0 fail:
5566
5567
5568
5569 0 SWIG_croak_null();
5570 }
5571 }
5572  
5573  
5574 0 XS(_wrap_gsl_cdf_binomial_Q) {
5575 {
5576 unsigned int arg1 ;
5577 double arg2 ;
5578 unsigned int arg3 ;
5579 unsigned int val1 ;
5580 0 int ecode1 = 0 ;
5581 double val2 ;
5582 0 int ecode2 = 0 ;
5583 unsigned int val3 ;
5584 0 int ecode3 = 0 ;
5585 0 int argvi = 0;
5586 double result;
5587 0 dXSARGS;
5588
5589 0 ▶ if ((items < 3) || (items > 3)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 3) || (items > 3)) { 0 0 0
if ((items < 3) || (items > 3)) { 0 0 0
5590 0 SWIG_croak("Usage: gsl_cdf_binomial_Q(k,p,n);");
5591 }
5592 0 ecode1 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
5593 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
5594 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_binomial_Q" "', argument " "1"" of type '" "unsigned int""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_binomial_Q" "', argument " "1"" of type '" "unsigned int""'"); 0 0 0
5595 }
5596 0 arg1 = (unsigned int)(val1);
5597 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5598 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
5599 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_binomial_Q" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_binomial_Q" "', argument " "2"" of type '" "double""'"); 0 0 0
5600 }
5601 0 arg2 = (double)(val2);
5602 0 ecode3 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
5603 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
5604 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_binomial_Q" "', argument " "3"" of type '" "unsigned int""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_binomial_Q" "', argument " "3"" of type '" "unsigned int""'"); 0 0 0
5605 }
5606 0 arg3 = (unsigned int)(val3);
5607 0 result = (double)gsl_cdf_binomial_Q(arg1,arg2,arg3);
5608 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
5609
5610
5611
5612 0 XSRETURN(argvi);
5613 0 fail:
5614
5615
5616
5617 0 SWIG_croak_null();
5618 }
5619 }
5620  
5621  
5622 0 XS(_wrap_gsl_cdf_poisson_P) {
5623 {
5624 unsigned int arg1 ;
5625 double arg2 ;
5626 unsigned int val1 ;
5627 0 int ecode1 = 0 ;
5628 double val2 ;
5629 0 int ecode2 = 0 ;
5630 0 int argvi = 0;
5631 double result;
5632 0 dXSARGS;
5633
5634 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
5635 0 SWIG_croak("Usage: gsl_cdf_poisson_P(k,mu);");
5636 }
5637 0 ecode1 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
5638 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
5639 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_poisson_P" "', argument " "1"" of type '" "unsigned int""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_poisson_P" "', argument " "1"" of type '" "unsigned int""'"); 0 0 0
5640 }
5641 0 arg1 = (unsigned int)(val1);
5642 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5643 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
5644 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_poisson_P" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_poisson_P" "', argument " "2"" of type '" "double""'"); 0 0 0
5645 }
5646 0 arg2 = (double)(val2);
5647 0 result = (double)gsl_cdf_poisson_P(arg1,arg2);
5648 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
5649
5650
5651 0 XSRETURN(argvi);
5652 0 fail:
5653
5654
5655 0 SWIG_croak_null();
5656 }
5657 }
5658  
5659  
5660 0 XS(_wrap_gsl_cdf_poisson_Q) {
5661 {
5662 unsigned int arg1 ;
5663 double arg2 ;
5664 unsigned int val1 ;
5665 0 int ecode1 = 0 ;
5666 double val2 ;
5667 0 int ecode2 = 0 ;
5668 0 int argvi = 0;
5669 double result;
5670 0 dXSARGS;
5671
5672 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
5673 0 SWIG_croak("Usage: gsl_cdf_poisson_Q(k,mu);");
5674 }
5675 0 ecode1 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
5676 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
5677 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_poisson_Q" "', argument " "1"" of type '" "unsigned int""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_poisson_Q" "', argument " "1"" of type '" "unsigned int""'"); 0 0 0
5678 }
5679 0 arg1 = (unsigned int)(val1);
5680 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5681 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
5682 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_poisson_Q" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_poisson_Q" "', argument " "2"" of type '" "double""'"); 0 0 0
5683 }
5684 0 arg2 = (double)(val2);
5685 0 result = (double)gsl_cdf_poisson_Q(arg1,arg2);
5686 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
5687
5688
5689 0 XSRETURN(argvi);
5690 0 fail:
5691
5692
5693 0 SWIG_croak_null();
5694 }
5695 }
5696  
5697  
5698 0 XS(_wrap_gsl_cdf_geometric_P) {
5699 {
5700 unsigned int arg1 ;
5701 double arg2 ;
5702 unsigned int val1 ;
5703 0 int ecode1 = 0 ;
5704 double val2 ;
5705 0 int ecode2 = 0 ;
5706 0 int argvi = 0;
5707 double result;
5708 0 dXSARGS;
5709
5710 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
5711 0 SWIG_croak("Usage: gsl_cdf_geometric_P(k,p);");
5712 }
5713 0 ecode1 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
5714 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
5715 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_geometric_P" "', argument " "1"" of type '" "unsigned int""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_geometric_P" "', argument " "1"" of type '" "unsigned int""'"); 0 0 0
5716 }
5717 0 arg1 = (unsigned int)(val1);
5718 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5719 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
5720 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_geometric_P" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_geometric_P" "', argument " "2"" of type '" "double""'"); 0 0 0
5721 }
5722 0 arg2 = (double)(val2);
5723 0 result = (double)gsl_cdf_geometric_P(arg1,arg2);
5724 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
5725
5726
5727 0 XSRETURN(argvi);
5728 0 fail:
5729
5730
5731 0 SWIG_croak_null();
5732 }
5733 }
5734  
5735  
5736 0 XS(_wrap_gsl_cdf_geometric_Q) {
5737 {
5738 unsigned int arg1 ;
5739 double arg2 ;
5740 unsigned int val1 ;
5741 0 int ecode1 = 0 ;
5742 double val2 ;
5743 0 int ecode2 = 0 ;
5744 0 int argvi = 0;
5745 double result;
5746 0 dXSARGS;
5747
5748 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
5749 0 SWIG_croak("Usage: gsl_cdf_geometric_Q(k,p);");
5750 }
5751 0 ecode1 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
5752 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
5753 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_geometric_Q" "', argument " "1"" of type '" "unsigned int""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_geometric_Q" "', argument " "1"" of type '" "unsigned int""'"); 0 0 0
5754 }
5755 0 arg1 = (unsigned int)(val1);
5756 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5757 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
5758 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_geometric_Q" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_geometric_Q" "', argument " "2"" of type '" "double""'"); 0 0 0
5759 }
5760 0 arg2 = (double)(val2);
5761 0 result = (double)gsl_cdf_geometric_Q(arg1,arg2);
5762 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
5763
5764
5765 0 XSRETURN(argvi);
5766 0 fail:
5767
5768
5769 0 SWIG_croak_null();
5770 }
5771 }
5772  
5773  
5774 0 XS(_wrap_gsl_cdf_negative_binomial_P) {
5775 {
5776 unsigned int arg1 ;
5777 double arg2 ;
5778 double arg3 ;
5779 unsigned int val1 ;
5780 0 int ecode1 = 0 ;
5781 double val2 ;
5782 0 int ecode2 = 0 ;
5783 double val3 ;
5784 0 int ecode3 = 0 ;
5785 0 int argvi = 0;
5786 double result;
5787 0 dXSARGS;
5788
5789 0 ▶ if ((items < 3) || (items > 3)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 3) || (items > 3)) { 0 0 0
if ((items < 3) || (items > 3)) { 0 0 0
5790 0 SWIG_croak("Usage: gsl_cdf_negative_binomial_P(k,p,n);");
5791 }
5792 0 ecode1 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
5793 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
5794 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_negative_binomial_P" "', argument " "1"" of type '" "unsigned int""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_negative_binomial_P" "', argument " "1"" of type '" "unsigned int""'"); 0 0 0
5795 }
5796 0 arg1 = (unsigned int)(val1);
5797 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5798 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
5799 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_negative_binomial_P" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_negative_binomial_P" "', argument " "2"" of type '" "double""'"); 0 0 0
5800 }
5801 0 arg2 = (double)(val2);
5802 0 ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
5803 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
5804 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_negative_binomial_P" "', argument " "3"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_negative_binomial_P" "', argument " "3"" of type '" "double""'"); 0 0 0
5805 }
5806 0 arg3 = (double)(val3);
5807 0 result = (double)gsl_cdf_negative_binomial_P(arg1,arg2,arg3);
5808 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
5809
5810
5811
5812 0 XSRETURN(argvi);
5813 0 fail:
5814
5815
5816
5817 0 SWIG_croak_null();
5818 }
5819 }
5820  
5821  
5822 0 XS(_wrap_gsl_cdf_negative_binomial_Q) {
5823 {
5824 unsigned int arg1 ;
5825 double arg2 ;
5826 double arg3 ;
5827 unsigned int val1 ;
5828 0 int ecode1 = 0 ;
5829 double val2 ;
5830 0 int ecode2 = 0 ;
5831 double val3 ;
5832 0 int ecode3 = 0 ;
5833 0 int argvi = 0;
5834 double result;
5835 0 dXSARGS;
5836
5837 0 ▶ if ((items < 3) || (items > 3)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 3) || (items > 3)) { 0 0 0
if ((items < 3) || (items > 3)) { 0 0 0
5838 0 SWIG_croak("Usage: gsl_cdf_negative_binomial_Q(k,p,n);");
5839 }
5840 0 ecode1 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
5841 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
5842 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_negative_binomial_Q" "', argument " "1"" of type '" "unsigned int""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_negative_binomial_Q" "', argument " "1"" of type '" "unsigned int""'"); 0 0 0
5843 }
5844 0 arg1 = (unsigned int)(val1);
5845 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5846 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
5847 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_negative_binomial_Q" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_negative_binomial_Q" "', argument " "2"" of type '" "double""'"); 0 0 0
5848 }
5849 0 arg2 = (double)(val2);
5850 0 ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
5851 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
5852 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_negative_binomial_Q" "', argument " "3"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_negative_binomial_Q" "', argument " "3"" of type '" "double""'"); 0 0 0
5853 }
5854 0 arg3 = (double)(val3);
5855 0 result = (double)gsl_cdf_negative_binomial_Q(arg1,arg2,arg3);
5856 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
5857
5858
5859
5860 0 XSRETURN(argvi);
5861 0 fail:
5862
5863
5864
5865 0 SWIG_croak_null();
5866 }
5867 }
5868  
5869  
5870 0 XS(_wrap_gsl_cdf_pascal_P) {
5871 {
5872 unsigned int arg1 ;
5873 double arg2 ;
5874 unsigned int arg3 ;
5875 unsigned int val1 ;
5876 0 int ecode1 = 0 ;
5877 double val2 ;
5878 0 int ecode2 = 0 ;
5879 unsigned int val3 ;
5880 0 int ecode3 = 0 ;
5881 0 int argvi = 0;
5882 double result;
5883 0 dXSARGS;
5884
5885 0 ▶ if ((items < 3) || (items > 3)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 3) || (items > 3)) { 0 0 0
if ((items < 3) || (items > 3)) { 0 0 0
5886 0 SWIG_croak("Usage: gsl_cdf_pascal_P(k,p,n);");
5887 }
5888 0 ecode1 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
5889 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
5890 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_pascal_P" "', argument " "1"" of type '" "unsigned int""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_pascal_P" "', argument " "1"" of type '" "unsigned int""'"); 0 0 0
5891 }
5892 0 arg1 = (unsigned int)(val1);
5893 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5894 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
5895 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_pascal_P" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_pascal_P" "', argument " "2"" of type '" "double""'"); 0 0 0
5896 }
5897 0 arg2 = (double)(val2);
5898 0 ecode3 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
5899 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
5900 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_pascal_P" "', argument " "3"" of type '" "unsigned int""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_pascal_P" "', argument " "3"" of type '" "unsigned int""'"); 0 0 0
5901 }
5902 0 arg3 = (unsigned int)(val3);
5903 0 result = (double)gsl_cdf_pascal_P(arg1,arg2,arg3);
5904 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
5905
5906
5907
5908 0 XSRETURN(argvi);
5909 0 fail:
5910
5911
5912
5913 0 SWIG_croak_null();
5914 }
5915 }
5916  
5917  
5918 0 XS(_wrap_gsl_cdf_pascal_Q) {
5919 {
5920 unsigned int arg1 ;
5921 double arg2 ;
5922 unsigned int arg3 ;
5923 unsigned int val1 ;
5924 0 int ecode1 = 0 ;
5925 double val2 ;
5926 0 int ecode2 = 0 ;
5927 unsigned int val3 ;
5928 0 int ecode3 = 0 ;
5929 0 int argvi = 0;
5930 double result;
5931 0 dXSARGS;
5932
5933 0 ▶ if ((items < 3) || (items > 3)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 3) || (items > 3)) { 0 0 0
if ((items < 3) || (items > 3)) { 0 0 0
5934 0 SWIG_croak("Usage: gsl_cdf_pascal_Q(k,p,n);");
5935 }
5936 0 ecode1 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
5937 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
5938 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_pascal_Q" "', argument " "1"" of type '" "unsigned int""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_pascal_Q" "', argument " "1"" of type '" "unsigned int""'"); 0 0 0
5939 }
5940 0 arg1 = (unsigned int)(val1);
5941 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5942 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
5943 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_pascal_Q" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_pascal_Q" "', argument " "2"" of type '" "double""'"); 0 0 0
5944 }
5945 0 arg2 = (double)(val2);
5946 0 ecode3 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
5947 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
5948 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_pascal_Q" "', argument " "3"" of type '" "unsigned int""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_pascal_Q" "', argument " "3"" of type '" "unsigned int""'"); 0 0 0
5949 }
5950 0 arg3 = (unsigned int)(val3);
5951 0 result = (double)gsl_cdf_pascal_Q(arg1,arg2,arg3);
5952 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
5953
5954
5955
5956 0 XSRETURN(argvi);
5957 0 fail:
5958
5959
5960
5961 0 SWIG_croak_null();
5962 }
5963 }
5964  
5965  
5966 0 XS(_wrap_gsl_cdf_hypergeometric_P) {
5967 {
5968 unsigned int arg1 ;
5969 unsigned int arg2 ;
5970 unsigned int arg3 ;
5971 unsigned int arg4 ;
5972 unsigned int val1 ;
5973 0 int ecode1 = 0 ;
5974 unsigned int val2 ;
5975 0 int ecode2 = 0 ;
5976 unsigned int val3 ;
5977 0 int ecode3 = 0 ;
5978 unsigned int val4 ;
5979 0 int ecode4 = 0 ;
5980 0 int argvi = 0;
5981 double result;
5982 0 dXSARGS;
5983
5984 0 ▶ if ((items < 4) || (items > 4)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 4) || (items > 4)) { 0 0 0
if ((items < 4) || (items > 4)) { 0 0 0
5985 0 SWIG_croak("Usage: gsl_cdf_hypergeometric_P(k,n1,n2,t);");
5986 }
5987 0 ecode1 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
5988 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
5989 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_hypergeometric_P" "', argument " "1"" of type '" "unsigned int""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_hypergeometric_P" "', argument " "1"" of type '" "unsigned int""'"); 0 0 0
5990 }
5991 0 arg1 = (unsigned int)(val1);
5992 0 ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5993 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
5994 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_hypergeometric_P" "', argument " "2"" of type '" "unsigned int""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_hypergeometric_P" "', argument " "2"" of type '" "unsigned int""'"); 0 0 0
5995 }
5996 0 arg2 = (unsigned int)(val2);
5997 0 ecode3 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
5998 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
5999 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_hypergeometric_P" "', argument " "3"" of type '" "unsigned int""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_hypergeometric_P" "', argument " "3"" of type '" "unsigned int""'"); 0 0 0
6000 }
6001 0 arg3 = (unsigned int)(val3);
6002 0 ecode4 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
6003 0 ▶ if (!SWIG_IsOK(ecode4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode4)) { 0 0 0
6004 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_cdf_hypergeometric_P" "', argument " "4"" of type '" "unsigned int""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_cdf_hypergeometric_P" "', argument " "4"" of type '" "unsigned int""'"); 0 0 0
6005 }
6006 0 arg4 = (unsigned int)(val4);
6007 0 result = (double)gsl_cdf_hypergeometric_P(arg1,arg2,arg3,arg4);
6008 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
6009
6010
6011
6012
6013 0 XSRETURN(argvi);
6014 0 fail:
6015
6016
6017
6018
6019 0 SWIG_croak_null();
6020 }
6021 }
6022  
6023  
6024 0 XS(_wrap_gsl_cdf_hypergeometric_Q) {
6025 {
6026 unsigned int arg1 ;
6027 unsigned int arg2 ;
6028 unsigned int arg3 ;
6029 unsigned int arg4 ;
6030 unsigned int val1 ;
6031 0 int ecode1 = 0 ;
6032 unsigned int val2 ;
6033 0 int ecode2 = 0 ;
6034 unsigned int val3 ;
6035 0 int ecode3 = 0 ;
6036 unsigned int val4 ;
6037 0 int ecode4 = 0 ;
6038 0 int argvi = 0;
6039 double result;
6040 0 dXSARGS;
6041
6042 0 ▶ if ((items < 4) || (items > 4)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 4) || (items > 4)) { 0 0 0
if ((items < 4) || (items > 4)) { 0 0 0
6043 0 SWIG_croak("Usage: gsl_cdf_hypergeometric_Q(k,n1,n2,t);");
6044 }
6045 0 ecode1 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
6046 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
6047 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_hypergeometric_Q" "', argument " "1"" of type '" "unsigned int""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_cdf_hypergeometric_Q" "', argument " "1"" of type '" "unsigned int""'"); 0 0 0
6048 }
6049 0 arg1 = (unsigned int)(val1);
6050 0 ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6051 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
6052 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_hypergeometric_Q" "', argument " "2"" of type '" "unsigned int""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_cdf_hypergeometric_Q" "', argument " "2"" of type '" "unsigned int""'"); 0 0 0
6053 }
6054 0 arg2 = (unsigned int)(val2);
6055 0 ecode3 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
6056 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
6057 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_hypergeometric_Q" "', argument " "3"" of type '" "unsigned int""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_cdf_hypergeometric_Q" "', argument " "3"" of type '" "unsigned int""'"); 0 0 0
6058 }
6059 0 arg3 = (unsigned int)(val3);
6060 0 ecode4 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
6061 0 ▶ if (!SWIG_IsOK(ecode4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode4)) { 0 0 0
6062 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_cdf_hypergeometric_Q" "', argument " "4"" of type '" "unsigned int""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_cdf_hypergeometric_Q" "', argument " "4"" of type '" "unsigned int""'"); 0 0 0
6063 }
6064 0 arg4 = (unsigned int)(val4);
6065 0 result = (double)gsl_cdf_hypergeometric_Q(arg1,arg2,arg3,arg4);
6066 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
6067
6068
6069
6070
6071 0 XSRETURN(argvi);
6072 0 fail:
6073
6074
6075
6076
6077 0 SWIG_croak_null();
6078 }
6079 }
6080  
6081  
6082  
6083 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
6084  
6085 static swig_type_info _swigt__p_FILE = {"_p_FILE", "FILE *", 0, 0, (void*)0, 0};
6086 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
6087 static swig_type_info _swigt__p_f_p_q_const__char_p_q_const__char_int_int__void = {"_p_f_p_q_const__char_p_q_const__char_int_int__void", "gsl_error_handler_t *|void (*)(char const *,char const *,int,int)", 0, 0, (void*)0, 0};
6088 static swig_type_info _swigt__p_f_p_q_const__char_p_q_const__char_int_p_q_const__char__void = {"_p_f_p_q_const__char_p_q_const__char_int_p_q_const__char__void", "gsl_stream_handler_t *|void (*)(char const *,char const *,int,char const *)", 0, 0, (void*)0, 0};
6089  
6090 static swig_type_info *swig_type_initial[] = {
6091 &_swigt__p_FILE,
6092 &_swigt__p_char,
6093 &_swigt__p_f_p_q_const__char_p_q_const__char_int_int__void,
6094 &_swigt__p_f_p_q_const__char_p_q_const__char_int_p_q_const__char__void,
6095 };
6096  
6097 static swig_cast_info _swigc__p_FILE[] = { {&_swigt__p_FILE, 0, 0, 0},{0, 0, 0, 0}};
6098 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
6099 static swig_cast_info _swigc__p_f_p_q_const__char_p_q_const__char_int_int__void[] = { {&_swigt__p_f_p_q_const__char_p_q_const__char_int_int__void, 0, 0, 0},{0, 0, 0, 0}};
6100 static swig_cast_info _swigc__p_f_p_q_const__char_p_q_const__char_int_p_q_const__char__void[] = { {&_swigt__p_f_p_q_const__char_p_q_const__char_int_p_q_const__char__void, 0, 0, 0},{0, 0, 0, 0}};
6101  
6102 static swig_cast_info *swig_cast_initial[] = {
6103 _swigc__p_FILE,
6104 _swigc__p_char,
6105 _swigc__p_f_p_q_const__char_p_q_const__char_int_int__void,
6106 _swigc__p_f_p_q_const__char_p_q_const__char_int_p_q_const__char__void,
6107 };
6108  
6109  
6110 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
6111  
6112 static swig_constant_info swig_constants[] = {
6113 {0,0,0,0,0,0}
6114 };
6115 #ifdef __cplusplus
6116 }
6117 #endif
6118 static swig_variable_info swig_variables[] = {
6119 {0,0,0,0}
6120 };
6121 static swig_command_info swig_commands[] = {
6122 {"Math::GSL::CDFc::gsl_error", _wrap_gsl_error},
6123 {"Math::GSL::CDFc::gsl_stream_printf", _wrap_gsl_stream_printf},
6124 {"Math::GSL::CDFc::gsl_strerror", _wrap_gsl_strerror},
6125 {"Math::GSL::CDFc::gsl_set_error_handler", _wrap_gsl_set_error_handler},
6126 {"Math::GSL::CDFc::gsl_set_error_handler_off", _wrap_gsl_set_error_handler_off},
6127 {"Math::GSL::CDFc::gsl_set_stream_handler", _wrap_gsl_set_stream_handler},
6128 {"Math::GSL::CDFc::gsl_set_stream", _wrap_gsl_set_stream},
6129 {"Math::GSL::CDFc::gsl_cdf_ugaussian_P", _wrap_gsl_cdf_ugaussian_P},
6130 {"Math::GSL::CDFc::gsl_cdf_ugaussian_Q", _wrap_gsl_cdf_ugaussian_Q},
6131 {"Math::GSL::CDFc::gsl_cdf_ugaussian_Pinv", _wrap_gsl_cdf_ugaussian_Pinv},
6132 {"Math::GSL::CDFc::gsl_cdf_ugaussian_Qinv", _wrap_gsl_cdf_ugaussian_Qinv},
6133 {"Math::GSL::CDFc::gsl_cdf_gaussian_P", _wrap_gsl_cdf_gaussian_P},
6134 {"Math::GSL::CDFc::gsl_cdf_gaussian_Q", _wrap_gsl_cdf_gaussian_Q},
6135 {"Math::GSL::CDFc::gsl_cdf_gaussian_Pinv", _wrap_gsl_cdf_gaussian_Pinv},
6136 {"Math::GSL::CDFc::gsl_cdf_gaussian_Qinv", _wrap_gsl_cdf_gaussian_Qinv},
6137 {"Math::GSL::CDFc::gsl_cdf_gamma_P", _wrap_gsl_cdf_gamma_P},
6138 {"Math::GSL::CDFc::gsl_cdf_gamma_Q", _wrap_gsl_cdf_gamma_Q},
6139 {"Math::GSL::CDFc::gsl_cdf_gamma_Pinv", _wrap_gsl_cdf_gamma_Pinv},
6140 {"Math::GSL::CDFc::gsl_cdf_gamma_Qinv", _wrap_gsl_cdf_gamma_Qinv},
6141 {"Math::GSL::CDFc::gsl_cdf_cauchy_P", _wrap_gsl_cdf_cauchy_P},
6142 {"Math::GSL::CDFc::gsl_cdf_cauchy_Q", _wrap_gsl_cdf_cauchy_Q},
6143 {"Math::GSL::CDFc::gsl_cdf_cauchy_Pinv", _wrap_gsl_cdf_cauchy_Pinv},
6144 {"Math::GSL::CDFc::gsl_cdf_cauchy_Qinv", _wrap_gsl_cdf_cauchy_Qinv},
6145 {"Math::GSL::CDFc::gsl_cdf_laplace_P", _wrap_gsl_cdf_laplace_P},
6146 {"Math::GSL::CDFc::gsl_cdf_laplace_Q", _wrap_gsl_cdf_laplace_Q},
6147 {"Math::GSL::CDFc::gsl_cdf_laplace_Pinv", _wrap_gsl_cdf_laplace_Pinv},
6148 {"Math::GSL::CDFc::gsl_cdf_laplace_Qinv", _wrap_gsl_cdf_laplace_Qinv},
6149 {"Math::GSL::CDFc::gsl_cdf_rayleigh_P", _wrap_gsl_cdf_rayleigh_P},
6150 {"Math::GSL::CDFc::gsl_cdf_rayleigh_Q", _wrap_gsl_cdf_rayleigh_Q},
6151 {"Math::GSL::CDFc::gsl_cdf_rayleigh_Pinv", _wrap_gsl_cdf_rayleigh_Pinv},
6152 {"Math::GSL::CDFc::gsl_cdf_rayleigh_Qinv", _wrap_gsl_cdf_rayleigh_Qinv},
6153 {"Math::GSL::CDFc::gsl_cdf_chisq_P", _wrap_gsl_cdf_chisq_P},
6154 {"Math::GSL::CDFc::gsl_cdf_chisq_Q", _wrap_gsl_cdf_chisq_Q},
6155 {"Math::GSL::CDFc::gsl_cdf_chisq_Pinv", _wrap_gsl_cdf_chisq_Pinv},
6156 {"Math::GSL::CDFc::gsl_cdf_chisq_Qinv", _wrap_gsl_cdf_chisq_Qinv},
6157 {"Math::GSL::CDFc::gsl_cdf_exponential_P", _wrap_gsl_cdf_exponential_P},
6158 {"Math::GSL::CDFc::gsl_cdf_exponential_Q", _wrap_gsl_cdf_exponential_Q},
6159 {"Math::GSL::CDFc::gsl_cdf_exponential_Pinv", _wrap_gsl_cdf_exponential_Pinv},
6160 {"Math::GSL::CDFc::gsl_cdf_exponential_Qinv", _wrap_gsl_cdf_exponential_Qinv},
6161 {"Math::GSL::CDFc::gsl_cdf_exppow_P", _wrap_gsl_cdf_exppow_P},
6162 {"Math::GSL::CDFc::gsl_cdf_exppow_Q", _wrap_gsl_cdf_exppow_Q},
6163 {"Math::GSL::CDFc::gsl_cdf_tdist_P", _wrap_gsl_cdf_tdist_P},
6164 {"Math::GSL::CDFc::gsl_cdf_tdist_Q", _wrap_gsl_cdf_tdist_Q},
6165 {"Math::GSL::CDFc::gsl_cdf_tdist_Pinv", _wrap_gsl_cdf_tdist_Pinv},
6166 {"Math::GSL::CDFc::gsl_cdf_tdist_Qinv", _wrap_gsl_cdf_tdist_Qinv},
6167 {"Math::GSL::CDFc::gsl_cdf_fdist_P", _wrap_gsl_cdf_fdist_P},
6168 {"Math::GSL::CDFc::gsl_cdf_fdist_Q", _wrap_gsl_cdf_fdist_Q},
6169 {"Math::GSL::CDFc::gsl_cdf_fdist_Pinv", _wrap_gsl_cdf_fdist_Pinv},
6170 {"Math::GSL::CDFc::gsl_cdf_fdist_Qinv", _wrap_gsl_cdf_fdist_Qinv},
6171 {"Math::GSL::CDFc::gsl_cdf_beta_P", _wrap_gsl_cdf_beta_P},
6172 {"Math::GSL::CDFc::gsl_cdf_beta_Q", _wrap_gsl_cdf_beta_Q},
6173 {"Math::GSL::CDFc::gsl_cdf_beta_Pinv", _wrap_gsl_cdf_beta_Pinv},
6174 {"Math::GSL::CDFc::gsl_cdf_beta_Qinv", _wrap_gsl_cdf_beta_Qinv},
6175 {"Math::GSL::CDFc::gsl_cdf_flat_P", _wrap_gsl_cdf_flat_P},
6176 {"Math::GSL::CDFc::gsl_cdf_flat_Q", _wrap_gsl_cdf_flat_Q},
6177 {"Math::GSL::CDFc::gsl_cdf_flat_Pinv", _wrap_gsl_cdf_flat_Pinv},
6178 {"Math::GSL::CDFc::gsl_cdf_flat_Qinv", _wrap_gsl_cdf_flat_Qinv},
6179 {"Math::GSL::CDFc::gsl_cdf_lognormal_P", _wrap_gsl_cdf_lognormal_P},
6180 {"Math::GSL::CDFc::gsl_cdf_lognormal_Q", _wrap_gsl_cdf_lognormal_Q},
6181 {"Math::GSL::CDFc::gsl_cdf_lognormal_Pinv", _wrap_gsl_cdf_lognormal_Pinv},
6182 {"Math::GSL::CDFc::gsl_cdf_lognormal_Qinv", _wrap_gsl_cdf_lognormal_Qinv},
6183 {"Math::GSL::CDFc::gsl_cdf_gumbel1_P", _wrap_gsl_cdf_gumbel1_P},
6184 {"Math::GSL::CDFc::gsl_cdf_gumbel1_Q", _wrap_gsl_cdf_gumbel1_Q},
6185 {"Math::GSL::CDFc::gsl_cdf_gumbel1_Pinv", _wrap_gsl_cdf_gumbel1_Pinv},
6186 {"Math::GSL::CDFc::gsl_cdf_gumbel1_Qinv", _wrap_gsl_cdf_gumbel1_Qinv},
6187 {"Math::GSL::CDFc::gsl_cdf_gumbel2_P", _wrap_gsl_cdf_gumbel2_P},
6188 {"Math::GSL::CDFc::gsl_cdf_gumbel2_Q", _wrap_gsl_cdf_gumbel2_Q},
6189 {"Math::GSL::CDFc::gsl_cdf_gumbel2_Pinv", _wrap_gsl_cdf_gumbel2_Pinv},
6190 {"Math::GSL::CDFc::gsl_cdf_gumbel2_Qinv", _wrap_gsl_cdf_gumbel2_Qinv},
6191 {"Math::GSL::CDFc::gsl_cdf_weibull_P", _wrap_gsl_cdf_weibull_P},
6192 {"Math::GSL::CDFc::gsl_cdf_weibull_Q", _wrap_gsl_cdf_weibull_Q},
6193 {"Math::GSL::CDFc::gsl_cdf_weibull_Pinv", _wrap_gsl_cdf_weibull_Pinv},
6194 {"Math::GSL::CDFc::gsl_cdf_weibull_Qinv", _wrap_gsl_cdf_weibull_Qinv},
6195 {"Math::GSL::CDFc::gsl_cdf_pareto_P", _wrap_gsl_cdf_pareto_P},
6196 {"Math::GSL::CDFc::gsl_cdf_pareto_Q", _wrap_gsl_cdf_pareto_Q},
6197 {"Math::GSL::CDFc::gsl_cdf_pareto_Pinv", _wrap_gsl_cdf_pareto_Pinv},
6198 {"Math::GSL::CDFc::gsl_cdf_pareto_Qinv", _wrap_gsl_cdf_pareto_Qinv},
6199 {"Math::GSL::CDFc::gsl_cdf_logistic_P", _wrap_gsl_cdf_logistic_P},
6200 {"Math::GSL::CDFc::gsl_cdf_logistic_Q", _wrap_gsl_cdf_logistic_Q},
6201 {"Math::GSL::CDFc::gsl_cdf_logistic_Pinv", _wrap_gsl_cdf_logistic_Pinv},
6202 {"Math::GSL::CDFc::gsl_cdf_logistic_Qinv", _wrap_gsl_cdf_logistic_Qinv},
6203 {"Math::GSL::CDFc::gsl_cdf_binomial_P", _wrap_gsl_cdf_binomial_P},
6204 {"Math::GSL::CDFc::gsl_cdf_binomial_Q", _wrap_gsl_cdf_binomial_Q},
6205 {"Math::GSL::CDFc::gsl_cdf_poisson_P", _wrap_gsl_cdf_poisson_P},
6206 {"Math::GSL::CDFc::gsl_cdf_poisson_Q", _wrap_gsl_cdf_poisson_Q},
6207 {"Math::GSL::CDFc::gsl_cdf_geometric_P", _wrap_gsl_cdf_geometric_P},
6208 {"Math::GSL::CDFc::gsl_cdf_geometric_Q", _wrap_gsl_cdf_geometric_Q},
6209 {"Math::GSL::CDFc::gsl_cdf_negative_binomial_P", _wrap_gsl_cdf_negative_binomial_P},
6210 {"Math::GSL::CDFc::gsl_cdf_negative_binomial_Q", _wrap_gsl_cdf_negative_binomial_Q},
6211 {"Math::GSL::CDFc::gsl_cdf_pascal_P", _wrap_gsl_cdf_pascal_P},
6212 {"Math::GSL::CDFc::gsl_cdf_pascal_Q", _wrap_gsl_cdf_pascal_Q},
6213 {"Math::GSL::CDFc::gsl_cdf_hypergeometric_P", _wrap_gsl_cdf_hypergeometric_P},
6214 {"Math::GSL::CDFc::gsl_cdf_hypergeometric_Q", _wrap_gsl_cdf_hypergeometric_Q},
6215 {0,0}
6216 };
6217 /* -----------------------------------------------------------------------------
6218 * Type initialization:
6219 * This problem is tough by the requirement that no dynamic
6220 * memory is used. Also, since swig_type_info structures store pointers to
6221 * swig_cast_info structures and swig_cast_info structures store pointers back
6222 * to swig_type_info structures, we need some lookup code at initialization.
6223 * The idea is that swig generates all the structures that are needed.
6224 * The runtime then collects these partially filled structures.
6225 * The SWIG_InitializeModule function takes these initial arrays out of
6226 * swig_module, and does all the lookup, filling in the swig_module.types
6227 * array with the correct data and linking the correct swig_cast_info
6228 * structures together.
6229 *
6230 * The generated swig_type_info structures are assigned statically to an initial
6231 * array. We just loop through that array, and handle each type individually.
6232 * First we lookup if this type has been already loaded, and if so, use the
6233 * loaded structure instead of the generated one. Then we have to fill in the
6234 * cast linked list. The cast data is initially stored in something like a
6235 * two-dimensional array. Each row corresponds to a type (there are the same
6236 * number of rows as there are in the swig_type_initial array). Each entry in
6237 * a column is one of the swig_cast_info structures for that type.
6238 * The cast_initial array is actually an array of arrays, because each row has
6239 * a variable number of columns. So to actually build the cast linked list,
6240 * we find the array of casts associated with the type, and loop through it
6241 * adding the casts to the list. The one last trick we need to do is making
6242 * sure the type pointer in the swig_cast_info struct is correct.
6243 *
6244 * First off, we lookup the cast->type name to see if it is already loaded.
6245 * There are three cases to handle:
6246 * 1) If the cast->type has already been loaded AND the type we are adding
6247 * casting info to has not been loaded (it is in this module), THEN we
6248 * replace the cast->type pointer with the type pointer that has already
6249 * been loaded.
6250 * 2) If BOTH types (the one we are adding casting info to, and the
6251 * cast->type) are loaded, THEN the cast info has already been loaded by
6252 * the previous module so we just ignore it.
6253 * 3) Finally, if cast->type has not already been loaded, then we add that
6254 * swig_cast_info to the linked list (because the cast->type) pointer will
6255 * be correct.
6256 * ----------------------------------------------------------------------------- */
6257  
6258 #ifdef __cplusplus
6259 extern "C" {
6260 #if 0
6261 } /* c-mode */
6262 #endif
6263 #endif
6264  
6265 #if 0
6266 #define SWIGRUNTIME_DEBUG
6267 #endif
6268  
6269 #ifndef SWIG_INIT_CLIENT_DATA_TYPE
6270 #define SWIG_INIT_CLIENT_DATA_TYPE void *
6271 #endif
6272  
6273 SWIGRUNTIME void
6274 0 SWIG_InitializeModule(SWIG_INIT_CLIENT_DATA_TYPE clientdata) {
6275 size_t i;
6276 swig_module_info *module_head, *iter;
6277 int init;
6278
6279 /* check to see if the circular list has been setup, if not, set it up */
6280 0 ▶ if (swig_module.next==0) {
Branch: 1 branch
BranchTrueFalseTotal
if (swig_module.next==0) { 0 0 0
6281 /* Initialize the swig_module */
6282 0 swig_module.type_initial = swig_type_initial;
6283 0 swig_module.cast_initial = swig_cast_initial;
6284 0 swig_module.next = &swig_module;
6285 0 init = 1;
6286 } else {
6287 0 init = 0;
6288 }
6289
6290 /* Try and load any already created modules */
6291 0 module_head = SWIG_GetModule(clientdata);
6292 0 ▶ if (!module_head) {
Branch: 1 branch
BranchTrueFalseTotal
if (!module_head) { 0 0 0
6293 /* This is the first module loaded for this interpreter */
6294 /* so set the swig module into the interpreter */
6295 0 SWIG_SetModule(clientdata, &swig_module);
6296 } else {
6297 /* the interpreter has loaded a SWIG module, but has it loaded this one? */
6298 0 iter=module_head;
6299 do {
6300 0 ▶ if (iter==&swig_module) {
Branch: 1 branch
BranchTrueFalseTotal
if (iter==&swig_module) { 0 0 0
6301 /* Our module is already in the list, so there's nothing more to do. */
6302 0 return;
6303 }
6304 0 iter=iter->next;
6305 0 ▶ } while (iter!= module_head);
Branch: 1 branch
BranchTrueFalseTotal
} while (iter!= module_head); 0 0 0
6306
6307 /* otherwise we must add our module into the list */
6308 0 swig_module.next = module_head->next;
6309 0 module_head->next = &swig_module;
6310 }
6311
6312 /* When multiple interpreters are used, a module could have already been initialized in
6313 a different interpreter, but not yet have a pointer in this interpreter.
6314 In this case, we do not want to continue adding types... everything should be
6315 set up already */
6316 0 ▶ if (init == 0) return;
Branch: 1 branch
BranchTrueFalseTotal
if (init == 0) return; 0 0 0
6317
6318 /* Now work on filling in swig_module.types */
6319 #ifdef SWIGRUNTIME_DEBUG
6320 printf("SWIG_InitializeModule: size %lu\n", (unsigned long)swig_module.size);
6321 #endif
6322 0 ▶ for (i = 0; i < swig_module.size; ++i) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; i < swig_module.size; ++i) { 0 0 0
6323 0 swig_type_info *type = 0;
6324 swig_type_info *ret;
6325 swig_cast_info *cast;
6326
6327 #ifdef SWIGRUNTIME_DEBUG
6328 printf("SWIG_InitializeModule: type %lu %s\n", (unsigned long)i, swig_module.type_initial[i]->name);
6329 #endif
6330
6331 /* if there is another module already loaded */
6332 0 ▶ if (swig_module.next != &swig_module) {
Branch: 1 branch
BranchTrueFalseTotal
if (swig_module.next != &swig_module) { 0 0 0
6333 0 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
6334 }
6335 0 ▶ if (type) {
Branch: 1 branch
BranchTrueFalseTotal
if (type) { 0 0 0
6336 /* Overwrite clientdata field */
6337 #ifdef SWIGRUNTIME_DEBUG
6338 printf("SWIG_InitializeModule: found type %s\n", type->name);
6339 #endif
6340 0 ▶ if (swig_module.type_initial[i]->clientdata) {
Branch: 1 branch
BranchTrueFalseTotal
if (swig_module.type_initial[i]->clientdata) { 0 0 0
6341 0 type->clientdata = swig_module.type_initial[i]->clientdata;
6342 #ifdef SWIGRUNTIME_DEBUG
6343 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
6344 #endif
6345 }
6346 } else {
6347 0 type = swig_module.type_initial[i];
6348 }
6349
6350 /* Insert casting types */
6351 0 cast = swig_module.cast_initial[i];
6352 0 ▶ while (cast->type) {
Branch: 1 branch
BranchTrueFalseTotal
while (cast->type) { 0 0 0
6353 /* Don't need to add information already in the list */
6354 0 ret = 0;
6355 #ifdef SWIGRUNTIME_DEBUG
6356 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
6357 #endif
6358 0 ▶ if (swig_module.next != &swig_module) {
Branch: 1 branch
BranchTrueFalseTotal
if (swig_module.next != &swig_module) { 0 0 0
6359 0 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
6360 #ifdef SWIGRUNTIME_DEBUG
6361 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
6362 #endif
6363 }
6364 0 ▶ if (ret) {
Branch: 1 branch
BranchTrueFalseTotal
if (ret) { 0 0 0
6365 0 ▶ if (type == swig_module.type_initial[i]) {
Branch: 1 branch
BranchTrueFalseTotal
if (type == swig_module.type_initial[i]) { 0 0 0
6366 #ifdef SWIGRUNTIME_DEBUG
6367 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
6368 #endif
6369 0 cast->type = ret;
6370 0 ret = 0;
6371 } else {
6372 /* Check for casting already in the list */
6373 0 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
6374 #ifdef SWIGRUNTIME_DEBUG
6375 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
6376 #endif
6377 0 ▶ if (!ocast) ret = 0;
Branch: 1 branch
BranchTrueFalseTotal
if (!ocast) ret = 0; 0 0 0
6378 }
6379 }
6380
6381 0 ▶ if (!ret) {
Branch: 1 branch
BranchTrueFalseTotal
if (!ret) { 0 0 0
6382 #ifdef SWIGRUNTIME_DEBUG
6383 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
6384 #endif
6385 0 ▶ if (type->cast) {
Branch: 1 branch
BranchTrueFalseTotal
if (type->cast) { 0 0 0
6386 0 type->cast->prev = cast;
6387 0 cast->next = type->cast;
6388 }
6389 0 type->cast = cast;
6390 }
6391 0 cast++;
6392 }
6393 /* Set entry in modules->types array equal to the type */
6394 0 swig_module.types[i] = type;
6395 }
6396 0 swig_module.types[i] = 0;
6397
6398 #ifdef SWIGRUNTIME_DEBUG
6399 printf("**** SWIG_InitializeModule: Cast List ******\n");
6400 for (i = 0; i < swig_module.size; ++i) {
6401 int j = 0;
6402 swig_cast_info *cast = swig_module.cast_initial[i];
6403 printf("SWIG_InitializeModule: type %lu %s\n", (unsigned long)i, swig_module.type_initial[i]->name);
6404 while (cast->type) {
6405 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
6406 cast++;
6407 ++j;
6408 }
6409 printf("---- Total casts: %d\n",j);
6410 }
6411 printf("**** SWIG_InitializeModule: Cast List ******\n");
6412 #endif
6413 }
6414  
6415 /* This function will propagate the clientdata field of type to
6416 * any new swig_type_info structures that have been added into the list
6417 * of equivalent types. It is like calling
6418 * SWIG_TypeClientData(type, clientdata) a second time.
6419 */
6420 SWIGRUNTIME void
6421 0 SWIG_PropagateClientData(void) {
6422 size_t i;
6423 swig_cast_info *equiv;
6424 static int init_run = 0;
6425
6426 0 ▶ if (init_run) return;
Branch: 1 branch
BranchTrueFalseTotal
if (init_run) return; 0 0 0
6427 0 init_run = 1;
6428
6429 0 ▶ for (i = 0; i < swig_module.size; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; i < swig_module.size; i++) { 0 0 0
6430 0 ▶ if (swig_module.types[i]->clientdata) {
Branch: 1 branch
BranchTrueFalseTotal
if (swig_module.types[i]->clientdata) { 0 0 0
6431 0 equiv = swig_module.types[i]->cast;
6432 0 ▶ while (equiv) {
Branch: 1 branch
BranchTrueFalseTotal
while (equiv) { 0 0 0
6433 0 ▶ if (!equiv->converter) {
Branch: 1 branch
BranchTrueFalseTotal
if (!equiv->converter) { 0 0 0
6434 0 ▶ if (equiv->type && !equiv->type->clientdata)
Branch: 2 branches
BranchTrueFalseTotal
if (equiv->type && !equiv->type->clientdata) 0 0 0
if (equiv->type && !equiv->type->clientdata) 0 0 0
6435 0 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
6436 }
6437 0 equiv = equiv->next;
6438 }
6439 }
6440 }
6441 }
6442  
6443 #ifdef __cplusplus
6444 #if 0
6445 {
6446 /* c-mode */
6447 #endif
6448 }
6449 #endif
6450  
6451  
6452  
6453 #if defined(__cplusplus) && ! defined(XSPROTO)
6454 extern "C"
6455 #endif
6456  
6457 0 XS(SWIG_init) {
6458 0 dXSARGS;
6459 int i;
6460 (void)items;
6461
6462 0 SWIG_InitializeModule(0);
6463
6464 /* Install commands */
6465 0 ▶ for (i = 0; swig_commands[i].name; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; swig_commands[i].name; i++) { 0 0 0
6466 /* Casts only needed for Perl < 5.10. */
6467 #ifdef __cplusplus
6468 newXS(const_cast<char*>(swig_commands[i].name), swig_commands[i].wrapper, const_cast<char*>(__FILE__));
6469 #else
6470 0 newXS((char*)swig_commands[i].name, swig_commands[i].wrapper, (char*)__FILE__);
6471 #endif
6472 }
6473
6474 /* Install variables */
6475 0 ▶ for (i = 0; swig_variables[i].name; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; swig_variables[i].name; i++) { 0 0 0
6476 SV *sv;
6477 0 sv = get_sv(swig_variables[i].name, TRUE | 0x2 | GV_ADDMULTI);
6478 0 ▶ if (swig_variables[i].type) {
Branch: 1 branch
BranchTrueFalseTotal
if (swig_variables[i].type) { 0 0 0
6479 0 SWIG_MakePtr(sv,(void *)1, *swig_variables[i].type,0);
6480 } else {
6481 0 sv_setiv(sv,(IV) 0);
6482 }
6483 0 swig_create_magic(sv, swig_variables[i].name, swig_variables[i].set, swig_variables[i].get);
6484 }
6485
6486 /* Install constant */
6487 0 ▶ for (i = 0; swig_constants[i].type; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; swig_constants[i].type; i++) { 0 0 0
6488 SV *sv;
6489 0 sv = get_sv(swig_constants[i].name, TRUE | 0x2 | GV_ADDMULTI);
6490 0 switch(swig_constants[i].type) {
6491 0 case SWIG_INT:
6492 0 sv_setiv(sv, (IV) swig_constants[i].lvalue);
6493 0 break;
6494 0 case SWIG_FLOAT:
6495 0 sv_setnv(sv, (double) swig_constants[i].dvalue);
6496 0 break;
6497 0 case SWIG_STRING:
6498 0 sv_setpv(sv, (const char *) swig_constants[i].pvalue);
6499 0 break;
6500 0 case SWIG_POINTER:
6501 0 SWIG_MakePtr(sv, swig_constants[i].pvalue, *(swig_constants[i].ptype),0);
6502 0 break;
6503 0 case SWIG_BINARY:
6504 0 SWIG_MakePackedObj(sv, swig_constants[i].pvalue, swig_constants[i].lvalue, *(swig_constants[i].ptype));
6505 0 break;
6506 0 default:
6507 0 break;
6508 }
6509 0 SvREADONLY_on(sv);
6510 }
6511
6512 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
6513 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_VERSION", TRUE | 0x2 | GV_ADDMULTI);
6514 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(2.8)));
6515 0 SvREADONLY_on(sv);
6516 } while(0) /*@SWIG@*/;
6517 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
6518 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_MAJOR_VERSION", TRUE | 0x2 | GV_ADDMULTI);
6519 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(2)));
6520 0 SvREADONLY_on(sv);
6521 } while(0) /*@SWIG@*/;
6522 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
6523 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_MINOR_VERSION", TRUE | 0x2 | GV_ADDMULTI);
6524 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(8)));
6525 0 SvREADONLY_on(sv);
6526 } while(0) /*@SWIG@*/;
6527 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
6528 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_POSZERO", TRUE | 0x2 | GV_ADDMULTI);
6529 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)((+0.0))));
6530 0 SvREADONLY_on(sv);
6531 } while(0) /*@SWIG@*/;
6532 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
6533 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_NEGZERO", TRUE | 0x2 | GV_ADDMULTI);
6534 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)((-0.0))));
6535 0 SvREADONLY_on(sv);
6536 } while(0) /*@SWIG@*/;
6537 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
6538 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_SUCCESS", TRUE | 0x2 | GV_ADDMULTI);
6539 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_SUCCESS)));
6540 0 SvREADONLY_on(sv);
6541 } while(0) /*@SWIG@*/;
6542 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
6543 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_FAILURE", TRUE | 0x2 | GV_ADDMULTI);
6544 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_FAILURE)));
6545 0 SvREADONLY_on(sv);
6546 } while(0) /*@SWIG@*/;
6547 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
6548 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_CONTINUE", TRUE | 0x2 | GV_ADDMULTI);
6549 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_CONTINUE)));
6550 0 SvREADONLY_on(sv);
6551 } while(0) /*@SWIG@*/;
6552 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
6553 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EDOM", TRUE | 0x2 | GV_ADDMULTI);
6554 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EDOM)));
6555 0 SvREADONLY_on(sv);
6556 } while(0) /*@SWIG@*/;
6557 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
6558 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ERANGE", TRUE | 0x2 | GV_ADDMULTI);
6559 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ERANGE)));
6560 0 SvREADONLY_on(sv);
6561 } while(0) /*@SWIG@*/;
6562 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
6563 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EFAULT", TRUE | 0x2 | GV_ADDMULTI);
6564 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EFAULT)));
6565 0 SvREADONLY_on(sv);
6566 } while(0) /*@SWIG@*/;
6567 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
6568 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EINVAL", TRUE | 0x2 | GV_ADDMULTI);
6569 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EINVAL)));
6570 0 SvREADONLY_on(sv);
6571 } while(0) /*@SWIG@*/;
6572 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
6573 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EFAILED", TRUE | 0x2 | GV_ADDMULTI);
6574 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EFAILED)));
6575 0 SvREADONLY_on(sv);
6576 } while(0) /*@SWIG@*/;
6577 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
6578 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EFACTOR", TRUE | 0x2 | GV_ADDMULTI);
6579 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EFACTOR)));
6580 0 SvREADONLY_on(sv);
6581 } while(0) /*@SWIG@*/;
6582 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
6583 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ESANITY", TRUE | 0x2 | GV_ADDMULTI);
6584 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ESANITY)));
6585 0 SvREADONLY_on(sv);
6586 } while(0) /*@SWIG@*/;
6587 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
6588 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ENOMEM", TRUE | 0x2 | GV_ADDMULTI);
6589 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ENOMEM)));
6590 0 SvREADONLY_on(sv);
6591 } while(0) /*@SWIG@*/;
6592 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
6593 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EBADFUNC", TRUE | 0x2 | GV_ADDMULTI);
6594 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EBADFUNC)));
6595 0 SvREADONLY_on(sv);
6596 } while(0) /*@SWIG@*/;
6597 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
6598 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ERUNAWAY", TRUE | 0x2 | GV_ADDMULTI);
6599 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ERUNAWAY)));
6600 0 SvREADONLY_on(sv);
6601 } while(0) /*@SWIG@*/;
6602 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
6603 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EMAXITER", TRUE | 0x2 | GV_ADDMULTI);
6604 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EMAXITER)));
6605 0 SvREADONLY_on(sv);
6606 } while(0) /*@SWIG@*/;
6607 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
6608 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EZERODIV", TRUE | 0x2 | GV_ADDMULTI);
6609 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EZERODIV)));
6610 0 SvREADONLY_on(sv);
6611 } while(0) /*@SWIG@*/;
6612 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
6613 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EBADTOL", TRUE | 0x2 | GV_ADDMULTI);
6614 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EBADTOL)));
6615 0 SvREADONLY_on(sv);
6616 } while(0) /*@SWIG@*/;
6617 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
6618 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ETOL", TRUE | 0x2 | GV_ADDMULTI);
6619 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ETOL)));
6620 0 SvREADONLY_on(sv);
6621 } while(0) /*@SWIG@*/;
6622 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
6623 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EUNDRFLW", TRUE | 0x2 | GV_ADDMULTI);
6624 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EUNDRFLW)));
6625 0 SvREADONLY_on(sv);
6626 } while(0) /*@SWIG@*/;
6627 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
6628 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EOVRFLW", TRUE | 0x2 | GV_ADDMULTI);
6629 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EOVRFLW)));
6630 0 SvREADONLY_on(sv);
6631 } while(0) /*@SWIG@*/;
6632 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
6633 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ELOSS", TRUE | 0x2 | GV_ADDMULTI);
6634 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ELOSS)));
6635 0 SvREADONLY_on(sv);
6636 } while(0) /*@SWIG@*/;
6637 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
6638 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EROUND", TRUE | 0x2 | GV_ADDMULTI);
6639 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EROUND)));
6640 0 SvREADONLY_on(sv);
6641 } while(0) /*@SWIG@*/;
6642 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
6643 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EBADLEN", TRUE | 0x2 | GV_ADDMULTI);
6644 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EBADLEN)));
6645 0 SvREADONLY_on(sv);
6646 } while(0) /*@SWIG@*/;
6647 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
6648 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ENOTSQR", TRUE | 0x2 | GV_ADDMULTI);
6649 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ENOTSQR)));
6650 0 SvREADONLY_on(sv);
6651 } while(0) /*@SWIG@*/;
6652 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
6653 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ESING", TRUE | 0x2 | GV_ADDMULTI);
6654 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ESING)));
6655 0 SvREADONLY_on(sv);
6656 } while(0) /*@SWIG@*/;
6657 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
6658 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EDIVERGE", TRUE | 0x2 | GV_ADDMULTI);
6659 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EDIVERGE)));
6660 0 SvREADONLY_on(sv);
6661 } while(0) /*@SWIG@*/;
6662 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
6663 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EUNSUP", TRUE | 0x2 | GV_ADDMULTI);
6664 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EUNSUP)));
6665 0 SvREADONLY_on(sv);
6666 } while(0) /*@SWIG@*/;
6667 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
6668 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EUNIMPL", TRUE | 0x2 | GV_ADDMULTI);
6669 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EUNIMPL)));
6670 0 SvREADONLY_on(sv);
6671 } while(0) /*@SWIG@*/;
6672 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
6673 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ECACHE", TRUE | 0x2 | GV_ADDMULTI);
6674 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ECACHE)));
6675 0 SvREADONLY_on(sv);
6676 } while(0) /*@SWIG@*/;
6677 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
6678 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ETABLE", TRUE | 0x2 | GV_ADDMULTI);
6679 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ETABLE)));
6680 0 SvREADONLY_on(sv);
6681 } while(0) /*@SWIG@*/;
6682 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
6683 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ENOPROG", TRUE | 0x2 | GV_ADDMULTI);
6684 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ENOPROG)));
6685 0 SvREADONLY_on(sv);
6686 } while(0) /*@SWIG@*/;
6687 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
6688 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ENOPROGJ", TRUE | 0x2 | GV_ADDMULTI);
6689 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ENOPROGJ)));
6690 0 SvREADONLY_on(sv);
6691 } while(0) /*@SWIG@*/;
6692 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
6693 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ETOLF", TRUE | 0x2 | GV_ADDMULTI);
6694 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ETOLF)));
6695 0 SvREADONLY_on(sv);
6696 } while(0) /*@SWIG@*/;
6697 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
6698 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ETOLX", TRUE | 0x2 | GV_ADDMULTI);
6699 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ETOLX)));
6700 0 SvREADONLY_on(sv);
6701 } while(0) /*@SWIG@*/;
6702 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
6703 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ETOLG", TRUE | 0x2 | GV_ADDMULTI);
6704 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ETOLG)));
6705 0 SvREADONLY_on(sv);
6706 } while(0) /*@SWIG@*/;
6707 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
6708 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EOF", TRUE | 0x2 | GV_ADDMULTI);
6709 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EOF)));
6710 0 SvREADONLY_on(sv);
6711 } while(0) /*@SWIG@*/;
6712 0 ST(0) = &PL_sv_yes;
6713 0 XSRETURN(1);
6714 }
6715  
« xs/CBLAS_wrap.2.8.c ↑ Summary xs/Chebyshev_wrap.2.8.c »