xs/Integration_wrap.2.8.c

filter: Statementstmt 0.0% 0 / 7263 Branchbran 0.0% 0 / 4664 Conditioncond n/a MC/DCmcdc n/a Subroutinesub n/a Podpod n/a totaltotal 0.0% 0 / 11927 CC 0 SCAR 0
CC
0
Cov
0%
CRAP 0
« xs/IEEEUtils_wrap.2.8.c ↑ Summary xs/Interp_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_double swig_types[2]
1513 #define SWIGTYPE_p_f_double_a___double_p_void__int swig_types[3]
1514 #define SWIGTYPE_p_f_double_p_void__double swig_types[4]
1515 #define SWIGTYPE_p_f_double_p_void_p_double_p_double__void swig_types[5]
1516 #define SWIGTYPE_p_f_p_q_const__char_p_q_const__char_int_int__void swig_types[6]
1517 #define SWIGTYPE_p_f_p_q_const__char_p_q_const__char_int_p_q_const__char__void swig_types[7]
1518 #define SWIGTYPE_p_f_p_q_const__struct_gsl_function_struct_double_double_p_double_p_double_p_double_p_double__void swig_types[8]
1519 #define SWIGTYPE_p_f_q_const__size_t_p_double_p_double_p_gsl_integration_fixed_params__int swig_types[9]
1520 #define SWIGTYPE_p_f_q_const__size_t_p_q_const__gsl_integration_fixed_params__int swig_types[10]
1521 #define SWIGTYPE_p_gsl_function_fdf_struct swig_types[11]
1522 #define SWIGTYPE_p_gsl_function_struct swig_types[12]
1523 #define SWIGTYPE_p_gsl_function_vec_struct swig_types[13]
1524 #define SWIGTYPE_p_gsl_integration_cquad_ival swig_types[14]
1525 #define SWIGTYPE_p_gsl_integration_cquad_workspace swig_types[15]
1526 #define SWIGTYPE_p_gsl_integration_fixed_params swig_types[16]
1527 #define SWIGTYPE_p_gsl_integration_fixed_type swig_types[17]
1528 #define SWIGTYPE_p_gsl_integration_fixed_workspace swig_types[18]
1529 #define SWIGTYPE_p_gsl_integration_glfixed_table swig_types[19]
1530 #define SWIGTYPE_p_gsl_integration_lebedev_workspace swig_types[20]
1531 #define SWIGTYPE_p_gsl_integration_qawo_table swig_types[21]
1532 #define SWIGTYPE_p_gsl_integration_qaws_table swig_types[22]
1533 #define SWIGTYPE_p_gsl_integration_romberg_workspace swig_types[23]
1534 #define SWIGTYPE_p_gsl_integration_workspace swig_types[24]
1535 #define SWIGTYPE_p_size_t swig_types[25]
1536 #define SWIGTYPE_p_void swig_types[26]
1537 static swig_type_info *swig_types[28];
1538 static swig_module_info swig_module = {swig_types, 27, 0, 0, 0, 0};
1539 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1540 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
1541  
1542 /* -------- TYPES TABLE (END) -------- */
1543  
1544 #define SWIG_init boot_Math__GSL__Integration
1545  
1546 #define SWIG_name "Math::GSL::Integrationc::boot_Math__GSL__Integration"
1547 #define SWIG_prefix "Math::GSL::Integrationc::"
1548  
1549 #define SWIG_as_voidptr(a) (void *)((const void *)(a))
1550 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),(void**)(a))
1551  
1552  
1553 #ifdef __cplusplus
1554 extern "C"
1555 #endif
1556 #ifndef MULTIPLICITY
1557 SWIGEXPORT void SWIG_init (CV* cv);
1558 #else
1559 SWIGEXPORT void SWIG_init (pTHXo_ CV* cv);
1560 #endif
1561  
1562  
1563 SWIGINTERNINLINE SV *
1564 0 SWIG_From_double SWIG_PERL_DECL_ARGS_1(double value)
1565 {
1566 0 return sv_2mortal(newSVnv(value));
1567 }
1568  
1569  
1570 SWIGINTERNINLINE SV *
1571 0 SWIG_From_long SWIG_PERL_DECL_ARGS_1(long value)
1572 {
1573 SV *sv;
1574 if (IVSIZE >= sizeof(value) || (value >= IV_MIN && value <= IV_MAX))
1575 0 sv = newSViv(value);
1576 else
1577 sv = newSVpvf("%ld", value);
1578 0 return sv_2mortal(sv);
1579 }
1580  
1581  
1582 SWIGINTERNINLINE SV *
1583 0 SWIG_From_int SWIG_PERL_DECL_ARGS_1(int value)
1584 {
1585 0 return SWIG_From_long SWIG_PERL_CALL_ARGS_1(value);
1586 }
1587  
1588  
1589 SWIGINTERN swig_type_info*
1590 0 SWIG_pchar_descriptor(void)
1591 {
1592 static int init = 0;
1593 static swig_type_info* info = 0;
1594 0 ▶ if (!init) {
Branch: 1 branch
BranchTrueFalseTotal
if (!init) { 0 0 0
1595 0 info = SWIG_TypeQuery("_p_char");
1596 0 init = 1;
1597 }
1598 0 return info;
1599 }
1600  
1601  
1602 SWIGINTERN int
1603 0 SWIG_AsCharPtrAndSize(SV *obj, char** cptr, size_t* psize, int *alloc)
1604 {
1605 0 ▶ if (SvMAGICAL(obj)) {
Branch: 1 branch
BranchTrueFalseTotal
if (SvMAGICAL(obj)) { 0 0 0
1606 0 SV *tmp = sv_newmortal();
1607 0 ▶ SvSetSV(tmp, obj);
Branch: 1 branch
BranchTrueFalseTotal
SvSetSV(tmp, obj); 0 0 0
1608 0 obj = tmp;
1609 }
1610 0 ▶ if (SvPOK(obj)) {
Branch: 1 branch
BranchTrueFalseTotal
if (SvPOK(obj)) { 0 0 0
1611 0 STRLEN len = 0;
1612 0 char *cstr = SvPV(obj, len);
1613 0 size_t size = len + 1;
1614 0 ▶ if (cptr) {
Branch: 1 branch
BranchTrueFalseTotal
if (cptr) { 0 0 0
1615 0 ▶ if (alloc) {
Branch: 1 branch
BranchTrueFalseTotal
if (alloc) { 0 0 0
1616 0 ▶ if (*alloc == SWIG_NEWOBJ) {
Branch: 1 branch
BranchTrueFalseTotal
if (*alloc == SWIG_NEWOBJ) { 0 0 0
1617 0 *cptr = (char *)memcpy(malloc((size)*sizeof(char)), cstr, sizeof(char)*(size));
1618 } else {
1619 0 *cptr = cstr;
1620 0 *alloc = SWIG_OLDOBJ;
1621 }
1622 }
1623 }
1624 0 ▶ if (psize) *psize = size;
Branch: 1 branch
BranchTrueFalseTotal
if (psize) *psize = size; 0 0 0
1625 0 return SWIG_OK;
1626 } else {
1627 0 swig_type_info* pchar_descriptor = SWIG_pchar_descriptor();
1628 0 ▶ if (pchar_descriptor) {
Branch: 1 branch
BranchTrueFalseTotal
if (pchar_descriptor) { 0 0 0
1629 0 char* vptr = 0;
1630 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
1631 0 ▶ if (cptr) *cptr = vptr;
Branch: 1 branch
BranchTrueFalseTotal
if (cptr) *cptr = vptr; 0 0 0
1632 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
1633 0 ▶ if (alloc) *alloc = SWIG_OLDOBJ;
Branch: 1 branch
BranchTrueFalseTotal
if (alloc) *alloc = SWIG_OLDOBJ; 0 0 0
1634 0 return SWIG_OK;
1635 }
1636 }
1637 }
1638 0 return SWIG_TypeError;
1639 }
1640  
1641  
1642  
1643  
1644  
1645 #include <limits.h>
1646 #if !defined(SWIG_NO_LLONG_MAX)
1647 # if !defined(LLONG_MAX) && defined(__GNUC__) && defined (__LONG_LONG_MAX__)
1648 # define LLONG_MAX __LONG_LONG_MAX__
1649 # define LLONG_MIN (-LLONG_MAX - 1LL)
1650 # define ULLONG_MAX (LLONG_MAX * 2ULL + 1ULL)
1651 # endif
1652 #endif
1653  
1654  
1655 #include <stdlib.h>
1656 #ifdef _MSC_VER
1657 # ifndef strtoull
1658 # define strtoull _strtoui64
1659 # endif
1660 # ifndef strtoll
1661 # define strtoll _strtoi64
1662 # endif
1663 #endif
1664  
1665  
1666 SWIGINTERN int
1667 0 SWIG_AsVal_double SWIG_PERL_DECL_ARGS_2(SV *obj, double *val)
1668 {
1669 0 ▶ if (SvNIOK(obj)) {
Branch: 1 branch
BranchTrueFalseTotal
if (SvNIOK(obj)) { 0 0 0
1670 0 ▶ if (val) *val = SvNV(obj);
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = SvNV(obj); 0 0 0
1671 0 return SWIG_OK;
1672 0 ▶ } else if (SvIOK(obj)) {
Branch: 1 branch
BranchTrueFalseTotal
} else if (SvIOK(obj)) { 0 0 0
1673 0 ▶ if (val) *val = (double) SvIV(obj);
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = (double) SvIV(obj); 0 0 0
1674 0 return SWIG_AddCast(SWIG_OK);
1675 } else {
1676 0 const char *nptr = SvPV_nolen(obj);
1677 0 ▶ if (nptr) {
Branch: 1 branch
BranchTrueFalseTotal
if (nptr) { 0 0 0
1678 char *endptr;
1679 double v;
1680 0 errno = 0;
1681 0 v = strtod(nptr, &endptr);
1682 0 ▶ if (errno == ERANGE) {
Branch: 1 branch
BranchTrueFalseTotal
if (errno == ERANGE) { 0 0 0
1683 0 errno = 0;
1684 0 return SWIG_OverflowError;
1685 } else {
1686 0 ▶ if (*endptr == '\0') {
Branch: 1 branch
BranchTrueFalseTotal
if (*endptr == '\0') { 0 0 0
1687 0 ▶ if (val) *val = v;
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = v; 0 0 0
1688 0 return SWIG_Str2NumCast(SWIG_OK);
1689 }
1690 }
1691 }
1692 }
1693 0 return SWIG_TypeError;
1694 }
1695  
1696  
1697 #include <float.h>
1698  
1699  
1700 #include <math.h>
1701  
1702  
1703 SWIGINTERNINLINE int
1704 0 SWIG_CanCastAsInteger(double *d, double min, double max) {
1705 0 double x = *d;
1706 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
1707 double fx, cx, rd;
1708 0 errno = 0;
1709 0 fx = floor(x);
1710 0 cx = ceil(x);
1711 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
1712 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
1713 0 errno = 0;
1714 } else {
1715 double summ, reps, diff;
1716 0 ▶ if (rd < x) {
Branch: 1 branch
BranchTrueFalseTotal
if (rd < x) { 0 0 0
1717 0 diff = x - rd;
1718 0 ▶ } else if (rd > x) {
Branch: 1 branch
BranchTrueFalseTotal
} else if (rd > x) { 0 0 0
1719 0 diff = rd - x;
1720 } else {
1721 0 return 1;
1722 }
1723 0 summ = rd + x;
1724 0 reps = diff/summ;
1725 0 ▶ if (reps < 8*DBL_EPSILON) {
Branch: 1 branch
BranchTrueFalseTotal
if (reps < 8*DBL_EPSILON) { 0 0 0
1726 0 *d = rd;
1727 0 return 1;
1728 }
1729 }
1730 }
1731 0 return 0;
1732 }
1733  
1734  
1735 SWIGINTERN int
1736 0 SWIG_AsVal_long SWIG_PERL_DECL_ARGS_2(SV *obj, long* val)
1737 {
1738 0 ▶ if (SvUOK(obj)) {
Branch: 1 branch
BranchTrueFalseTotal
if (SvUOK(obj)) { 0 0 0
1739 0 UV v = SvUV(obj);
1740 0 ▶ if (UVSIZE < sizeof(*val) || v <= LONG_MAX) {
Branch: 1 branch
BranchTrueFalseTotal
if (UVSIZE < sizeof(*val) || v <= LONG_MAX) { 0 0 0
1741 0 ▶ if (val) *val = v;
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = v; 0 0 0
1742 0 return SWIG_OK;
1743 }
1744 0 return SWIG_OverflowError;
1745 0 ▶ } else if (SvIOK(obj)) {
Branch: 1 branch
BranchTrueFalseTotal
} else if (SvIOK(obj)) { 0 0 0
1746 0 IV v = SvIV(obj);
1747 if (IVSIZE <= sizeof(*val) || (v >= LONG_MIN && v <= LONG_MAX)) {
1748 0 ▶ if(val) *val = v;
Branch: 1 branch
BranchTrueFalseTotal
if(val) *val = v; 0 0 0
1749 0 return SWIG_OK;
1750 }
1751 return SWIG_OverflowError;
1752 } else {
1753 0 int dispatch = 0;
1754 0 const char *nptr = SvPV_nolen(obj);
1755 0 ▶ if (nptr) {
Branch: 1 branch
BranchTrueFalseTotal
if (nptr) { 0 0 0
1756 char *endptr;
1757 long v;
1758 0 errno = 0;
1759 0 v = strtol(nptr, &endptr,0);
1760 0 ▶ if (errno == ERANGE) {
Branch: 1 branch
BranchTrueFalseTotal
if (errno == ERANGE) { 0 0 0
1761 0 errno = 0;
1762 0 return SWIG_OverflowError;
1763 } else {
1764 0 ▶ if (*endptr == '\0') {
Branch: 1 branch
BranchTrueFalseTotal
if (*endptr == '\0') { 0 0 0
1765 0 ▶ if (val) *val = v;
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = v; 0 0 0
1766 0 return SWIG_Str2NumCast(SWIG_OK);
1767 }
1768 }
1769 }
1770 0 ▶ if (!dispatch) {
Branch: 1 branch
BranchTrueFalseTotal
if (!dispatch) { 0 0 0
1771 double d;
1772 0 int res = SWIG_AddCast(SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(obj,&d));
1773 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
1774 0 ▶ if (val) *val = (long)(d);
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = (long)(d); 0 0 0
1775 0 return res;
1776 }
1777 }
1778 }
1779 0 return SWIG_TypeError;
1780 }
1781  
1782  
1783 SWIGINTERN int
1784 0 SWIG_AsVal_int SWIG_PERL_DECL_ARGS_2(SV * obj, int *val)
1785 {
1786 long v;
1787 0 int res = SWIG_AsVal_long SWIG_PERL_CALL_ARGS_2(obj, &v);
1788 0 ▶ if (SWIG_IsOK(res)) {
Branch: 1 branch
BranchTrueFalseTotal
if (SWIG_IsOK(res)) { 0 0 0
1789 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
1790 0 return SWIG_OverflowError;
1791 } else {
1792 0 ▶ if (val) *val = (int)(v);
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = (int)(v); 0 0 0
1793 }
1794 }
1795 0 return res;
1796 }
1797  
1798  
1799 SWIGINTERNINLINE SV *
1800 0 SWIG_FromCharPtrAndSize(const char* carray, size_t size)
1801 {
1802 0 SV *obj = sv_newmortal();
1803 0 ▶ if (carray) {
Branch: 1 branch
BranchTrueFalseTotal
if (carray) { 0 0 0
1804 0 sv_setpvn(obj, carray, size);
1805 } else {
1806 0 sv_setsv(obj, &PL_sv_undef);
1807 }
1808 0 return obj;
1809 }
1810  
1811  
1812 SWIGINTERNINLINE SV *
1813 0 SWIG_FromCharPtr(const char *cptr)
1814 {
1815 0 ▶ return SWIG_FromCharPtrAndSize(cptr, (cptr ? strlen(cptr) : 0));
Branch: 1 branch
BranchTrueFalseTotal
return SWIG_FromCharPtrAndSize(cptr, (cptr ? strlen(cptr) : 0)); 0 0 0
1816 }
1817  
1818  
1819 #include "gsl/gsl_nan.h"
1820 #include "gsl/gsl_errno.h"
1821 #include "gsl/gsl_math.h"
1822 #include "gsl/gsl_monte.h"
1823  
1824  
1825 struct perl_array {
1826 I32 len;
1827 AV *array;
1828 };
1829  
1830  
1831  
1832 enum awType { awDouble, awFloat, awInt, awUnsigned };
1833  
1834 typedef struct {
1835 I32 size;
1836 enum awType type;
1837 void * data;
1838 } array_wrapper;
1839  
1840 0 array_wrapper * array_wrapper_alloc(int numelem, enum awType type){
1841 0 array_wrapper * rv = malloc(sizeof(array_wrapper));
1842  
1843 0 ▶ if (rv == NULL)
Branch: 1 branch
BranchTrueFalseTotal
if (rv == NULL) 0 0 0
1844 0 croak("array_wrapper_alloc: can't malloc wrapper\n");
1845  
1846 0 switch (type){
1847 0 case awDouble:
1848 0 rv->data = malloc(sizeof(double) * numelem);
1849 0 break;
1850 0 case awFloat:
1851 0 rv->data = malloc(sizeof(float) * numelem);
1852 0 break;
1853 0 case awInt:
1854 0 rv->data = malloc(sizeof(int) * numelem);
1855 0 break;
1856 0 case awUnsigned:
1857 0 rv->data = malloc(sizeof(unsigned int) * numelem);
1858 0 break;
1859 0 default:
1860 0 croak("array_wrapper_alloc: type should be awDouble, awFloat, awInt, or awUnsigned");
1861 }
1862  
1863 0 ▶ if (rv->data == NULL)
Branch: 1 branch
BranchTrueFalseTotal
if (rv->data == NULL) 0 0 0
1864 0 croak("array_wrapper_alloc: can't malloc data");
1865  
1866 0 rv->size = numelem;
1867 0 rv->type = type;
1868 0 return rv;
1869 }
1870  
1871 0 void array_wrapper_free(array_wrapper * daw){
1872 0 free(daw->data);
1873 0 free(daw);
1874 0 }
1875  
1876  
1877 /* structure to hold required information while the gsl function call
1878 for each callback
1879 */
1880 struct gsl_function_perl {
1881 gsl_function C_gsl_function;
1882 SV * function;
1883 SV * params;
1884 };
1885  
1886 struct gsl_function_fdf_perl {
1887 gsl_function_fdf C_gsl_function_fdf;
1888 SV * f;
1889 SV * df;
1890 SV * fdf;
1891 SV * params;
1892 };
1893  
1894 struct gsl_monte_function_perl {
1895 gsl_monte_function C_gsl_monte_function;
1896 SV * f;
1897 SV * dim;
1898 SV * params;
1899 };
1900  
1901 0 void gsl_function_perl_free(struct gsl_function_perl * perl_f){
1902 0 ▶ if (perl_f != NULL) {
Branch: 1 branch
BranchTrueFalseTotal
if (perl_f != NULL) { 0 0 0
1903 0 SvREFCNT_dec(perl_f->function);
1904 0 SvREFCNT_dec(perl_f->params);
1905 0 Safefree(perl_f);
1906 }
1907 0 }
1908  
1909 0 void gsl_function_fdf_perl_free(struct gsl_function_fdf_perl * perl_fdf){
1910 0 ▶ if (perl_fdf != NULL) {
Branch: 1 branch
BranchTrueFalseTotal
if (perl_fdf != NULL) { 0 0 0
1911 0 SvREFCNT_dec(perl_fdf->f);
1912 0 SvREFCNT_dec(perl_fdf->df);
1913 0 SvREFCNT_dec(perl_fdf->fdf);
1914 0 SvREFCNT_dec(perl_fdf->params);
1915 0 Safefree(perl_fdf);
1916 }
1917 0 }
1918  
1919 /* These functions (C callbacks) calls the perl callbacks.
1920 Info for perl callback can be found using the 'void*params' parameter
1921 */
1922 0 double call_gsl_function_x_params(SV* function, double x, SV *params){
1923 unsigned int count;
1924 double y;
1925 0 dSP;
1926  
1927 //fprintf(stderr, "LOOKUP CALLBACK\n");
1928 0 ENTER;
1929 0 SAVETMPS;
1930  
1931 0 ▶ PUSHMARK(SP);
Branch: 1 branch
BranchTrueFalseTotal
PUSHMARK(SP); 0 0 0
1932 0 ▶ XPUSHs(sv_2mortal(newSVnv((double)x)));
Branch: 1 branch
BranchTrueFalseTotal
XPUSHs(sv_2mortal(newSVnv((double)x))); 0 0 0
1933 0 ▶ XPUSHs(params);
Branch: 1 branch
BranchTrueFalseTotal
XPUSHs(params); 0 0 0
1934 0 PUTBACK; /* make local stack pointer global */
1935  
1936 0 count = call_sv(function, G_SCALAR);
1937 0 SPAGAIN;
1938  
1939 0 ▶ if (count != 1)
Branch: 1 branch
BranchTrueFalseTotal
if (count != 1) 0 0 0
1940 0 croak("Expected to call subroutine in scalar context!");
1941  
1942 0 y = POPn;
1943  
1944 0 PUTBACK; /* make local stack pointer global */
1945 0 ▶ FREETMPS;
Branch: 1 branch
BranchTrueFalseTotal
FREETMPS; 0 0 0
1946 0 LEAVE;
1947  
1948 0 return y;
1949 }
1950  
1951 0 double call_gsl_function(double x , void *params){
1952 0 struct gsl_function_perl *F=(struct gsl_function_perl*)params;
1953 0 return call_gsl_function_x_params( F->function, x, F->params );
1954 }
1955  
1956 0 double call_gsl_function_fdf_f(double x , void *params){
1957 0 struct gsl_function_fdf_perl *F=(struct gsl_function_fdf_perl*)params;
1958 0 return call_gsl_function_x_params( F->f, x, F->params );
1959 }
1960  
1961 0 double call_gsl_function_fdf_df(double x , void *params){
1962 0 struct gsl_function_fdf_perl *F=(struct gsl_function_fdf_perl*)params;
1963 0 return call_gsl_function_x_params( F->df, x, F->params );
1964 }
1965  
1966 0 void call_gsl_function_fdf_fdf(double x , void *params, double *f, double *df ){
1967 0 struct gsl_function_fdf_perl *F=(struct gsl_function_fdf_perl*)params;
1968  
1969 0 dSP;
1970  
1971 0 ENTER;
1972 0 SAVETMPS;
1973  
1974 0 ▶ PUSHMARK(SP);
Branch: 1 branch
BranchTrueFalseTotal
PUSHMARK(SP); 0 0 0
1975 0 ▶ EXTEND(SP, 2);
Branch: 1 branch
BranchTrueFalseTotal
EXTEND(SP, 2); 0 0 0
1976 0 PUSHs(sv_2mortal(newSVnv((double)x)));
1977 0 PUSHs(F->params);
1978 0 PUTBACK; /* make local stack pointer global */
1979  
1980 {
1981 0 unsigned int count = call_sv(F->fdf, G_ARRAY);
1982 0 SPAGAIN;
1983  
1984 0 ▶ if (count != 2)
Branch: 1 branch
BranchTrueFalseTotal
if (count != 2) 0 0 0
1985 0 croak( "Expected two return values, got %d", count );
1986 }
1987  
1988 0 *df = POPn;
1989 0 *f = POPn;
1990  
1991 0 PUTBACK; /* make local stack pointer global */
1992 0 ▶ FREETMPS;
Branch: 1 branch
BranchTrueFalseTotal
FREETMPS; 0 0 0
1993 0 LEAVE;
1994 0 }
1995  
1996 0 double call_gsl_monte_function(double *x_array , size_t dim, void *params){
1997 0 struct gsl_monte_function_perl *F=(struct gsl_monte_function_perl*)params;
1998 unsigned int count;
1999 unsigned int i;
2000 AV* perl_array;
2001 double y;
2002 0 dSP;
2003  
2004 //fprintf(stderr, "LOOKUP CALLBACK\n");
2005 0 ENTER;
2006 0 SAVETMPS;
2007  
2008 0 ▶ PUSHMARK(SP);
Branch: 1 branch
BranchTrueFalseTotal
PUSHMARK(SP); 0 0 0
2009 0 perl_array=newAV();
2010 0 sv_2mortal((SV*)perl_array);
2011 0 ▶ XPUSHs(sv_2mortal(newRV((SV *)perl_array)));
Branch: 1 branch
BranchTrueFalseTotal
XPUSHs(sv_2mortal(newRV((SV *)perl_array))); 0 0 0
2012 0 ▶ for(i=0; i<dim; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for(i=0; i<dim; i++) { 0 0 0
2013 /* no mortal : it is referenced by the array */
2014 0 av_push(perl_array, newSVnv(x_array[i]));
2015 }
2016 0 ▶ XPUSHs(sv_2mortal(newSViv(dim)));
Branch: 1 branch
BranchTrueFalseTotal
XPUSHs(sv_2mortal(newSViv(dim))); 0 0 0
2017 0 ▶ XPUSHs(F->params);
Branch: 1 branch
BranchTrueFalseTotal
XPUSHs(F->params); 0 0 0
2018 0 PUTBACK; /* make local stack pointer global */
2019  
2020 0 count = call_sv(F->f, G_SCALAR);
2021 0 SPAGAIN;
2022  
2023 0 ▶ if (count != 1)
Branch: 1 branch
BranchTrueFalseTotal
if (count != 1) 0 0 0
2024 0 croak("Expected to call subroutine in scalar context!");
2025  
2026 0 y = POPn;
2027  
2028 0 PUTBACK; /* make local stack pointer global */
2029 0 ▶ FREETMPS;
Branch: 1 branch
BranchTrueFalseTotal
FREETMPS; 0 0 0
2030 0 LEAVE;
2031  
2032 0 return y;
2033 }
2034  
2035  
2036 0 void gsl_function_fdf_extract( char* param_name, HV* hash, SV* func[] ) {
2037 static const char *keys[3] = { "f", "df", "fdf" };
2038  
2039 int ikey;
2040  
2041 0 ▶ for ( ikey = 0 ; ikey < 3 ; ++ikey ) {
Branch: 1 branch
BranchTrueFalseTotal
for ( ikey = 0 ; ikey < 3 ; ++ikey ) { 0 0 0
2042 0 func[ikey] = 0;
2043 0 const char* key = keys[ikey];
2044 /* it just so happens that strlen(keys[ikey]) == ikey + 1 */
2045 0 SV** pp_sv = hv_fetch( hash, key, ikey+1, 0 );
2046 SV* function;
2047  
2048 0 ▶ if ( !pp_sv )
Branch: 1 branch
BranchTrueFalseTotal
if ( !pp_sv ) 0 0 0
2049 0 croak("Math::GSL : %s: missing key %s!", param_name, key);
2050  
2051 0 function = *pp_sv;
2052  
2053 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
2054 /* hold on to SV after the enclosing hash goes away */
2055 0 SvREFCNT_inc( function );
2056 0 func[ikey] = function;
2057 }
2058 else {
2059 0 croak( "Math::GSL : %s: key %s is not a reference to code!", param_name, key);
2060 }
2061 }
2062 0 }
2063  
2064  
2065  
2066 #ifndef GSL_VAR
2067 #include "gsl/gsl_types.h"
2068 #endif
2069  
2070 #include "gsl/gsl_integration.h"
2071 #include "gsl/gsl_math.h"
2072  
2073  
2074 SWIGINTERN int
2075 0 SWIG_AsVal_unsigned_SS_long SWIG_PERL_DECL_ARGS_2(SV *obj, unsigned long *val)
2076 {
2077 0 ▶ if (SvUOK(obj)) {
Branch: 1 branch
BranchTrueFalseTotal
if (SvUOK(obj)) { 0 0 0
2078 0 UV v = SvUV(obj);
2079 if (UVSIZE <= sizeof(*val) || v <= ULONG_MAX) {
2080 0 ▶ if (val) *val = v;
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = v; 0 0 0
2081 0 return SWIG_OK;
2082 }
2083 return SWIG_OverflowError;
2084 0 ▶ } else if (SvIOK(obj)) {
Branch: 1 branch
BranchTrueFalseTotal
} else if (SvIOK(obj)) { 0 0 0
2085 0 IV v = SvIV(obj);
2086 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
2087 0 ▶ if (val) *val = v;
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = v; 0 0 0
2088 0 return SWIG_OK;
2089 }
2090 0 return SWIG_OverflowError;
2091 } else {
2092 0 int dispatch = 0;
2093 0 const char *nptr = SvPV_nolen(obj);
2094 0 ▶ if (nptr) {
Branch: 1 branch
BranchTrueFalseTotal
if (nptr) { 0 0 0
2095 char *endptr;
2096 unsigned long v;
2097 0 errno = 0;
2098 0 v = strtoul(nptr, &endptr,0);
2099 0 ▶ if (errno == ERANGE) {
Branch: 1 branch
BranchTrueFalseTotal
if (errno == ERANGE) { 0 0 0
2100 0 errno = 0;
2101 0 return SWIG_OverflowError;
2102 } else {
2103 0 ▶ if (*endptr == '\0') {
Branch: 1 branch
BranchTrueFalseTotal
if (*endptr == '\0') { 0 0 0
2104 0 ▶ if (val) *val = v;
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = v; 0 0 0
2105 0 return SWIG_Str2NumCast(SWIG_OK);
2106 }
2107 }
2108 }
2109 0 ▶ if (!dispatch) {
Branch: 1 branch
BranchTrueFalseTotal
if (!dispatch) { 0 0 0
2110 double d;
2111 0 int res = SWIG_AddCast(SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(obj,&d));
2112 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
2113 0 ▶ if (val) *val = (unsigned long)(d);
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = (unsigned long)(d); 0 0 0
2114 0 return res;
2115 }
2116 }
2117 }
2118 0 return SWIG_TypeError;
2119 }
2120  
2121  
2122 #if defined(LLONG_MAX) && !defined(SWIG_LONG_LONG_AVAILABLE)
2123 # define SWIG_LONG_LONG_AVAILABLE
2124 #endif
2125  
2126  
2127 #ifdef SWIG_LONG_LONG_AVAILABLE
2128 SWIGINTERN int
2129 0 SWIG_AsVal_unsigned_SS_long_SS_long SWIG_PERL_DECL_ARGS_2(SV *obj, unsigned long long *val)
2130 {
2131 0 ▶ if (SvUOK(obj)) {
Branch: 1 branch
BranchTrueFalseTotal
if (SvUOK(obj)) { 0 0 0
2132 /* pretty sure this should be conditional on
2133 * (UVSIZE <= sizeof(*val) || v <= ULLONG_MAX) */
2134 0 ▶ if (val) *val = SvUV(obj);
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = SvUV(obj); 0 0 0
2135 0 return SWIG_OK;
2136 0 ▶ } else if (SvIOK(obj)) {
Branch: 1 branch
BranchTrueFalseTotal
} else if (SvIOK(obj)) { 0 0 0
2137 0 IV v = SvIV(obj);
2138 0 ▶ if (v >= 0 && (IVSIZE <= sizeof(*val) || v <= ULLONG_MAX)) {
Branch: 1 branch
BranchTrueFalseTotal
if (v >= 0 && (IVSIZE <= sizeof(*val) || v <= ULLONG_MAX)) { 0 0 0
2139 0 ▶ if (val) *val = v;
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = v; 0 0 0
2140 0 return SWIG_OK;
2141 } else {
2142 0 return SWIG_OverflowError;
2143 }
2144 } else {
2145 0 int dispatch = 0;
2146 0 const char *nptr = SvPV_nolen(obj);
2147 0 ▶ if (nptr) {
Branch: 1 branch
BranchTrueFalseTotal
if (nptr) { 0 0 0
2148 char *endptr;
2149 unsigned long long v;
2150 0 errno = 0;
2151 0 v = strtoull(nptr, &endptr,0);
2152 0 ▶ if (errno == ERANGE) {
Branch: 1 branch
BranchTrueFalseTotal
if (errno == ERANGE) { 0 0 0
2153 0 errno = 0;
2154 0 return SWIG_OverflowError;
2155 } else {
2156 0 ▶ if (*endptr == '\0') {
Branch: 1 branch
BranchTrueFalseTotal
if (*endptr == '\0') { 0 0 0
2157 0 ▶ if (val) *val = v;
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = v; 0 0 0
2158 0 return SWIG_Str2NumCast(SWIG_OK);
2159 }
2160 }
2161 }
2162 0 ▶ if (!dispatch) {
Branch: 1 branch
BranchTrueFalseTotal
if (!dispatch) { 0 0 0
2163 0 const double mant_max = 1LL << DBL_MANT_DIG;
2164 double d;
2165 0 int res = SWIG_AddCast(SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(obj,&d));
2166 0 ▶ if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, 0, mant_max)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, 0, mant_max)) { 0 0 0
if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, 0, mant_max)) { 0 0 0
2167 0 ▶ if (val) *val = (unsigned long long)(d);
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = (unsigned long long)(d); 0 0 0
2168 0 return res;
2169 }
2170 }
2171 }
2172 0 return SWIG_TypeError;
2173 }
2174 #endif
2175  
2176  
2177 SWIGINTERNINLINE int
2178 0 SWIG_AsVal_size_t SWIG_PERL_DECL_ARGS_2(SV * obj, size_t *val)
2179 {
2180 0 int res = SWIG_TypeError;
2181 #ifdef SWIG_LONG_LONG_AVAILABLE
2182 if (sizeof(size_t) <= sizeof(unsigned long)) {
2183 #endif
2184 unsigned long v;
2185 0 ▶ res = SWIG_AsVal_unsigned_SS_long SWIG_PERL_CALL_ARGS_2(obj, val ? &v : 0);
Branch: 1 branch
BranchTrueFalseTotal
res = SWIG_AsVal_unsigned_SS_long SWIG_PERL_CALL_ARGS_2(obj, val ? &v : 0); 0 0 0
2186 0 ▶ if (SWIG_IsOK(res) && val) *val = (size_t)(v);
Branch: 2 branches
BranchTrueFalseTotal
if (SWIG_IsOK(res) && val) *val = (size_t)(v); 0 0 0
if (SWIG_IsOK(res) && val) *val = (size_t)(v); 0 0 0
2187 #ifdef SWIG_LONG_LONG_AVAILABLE
2188 } else if (sizeof(size_t) <= sizeof(unsigned long long)) {
2189 unsigned long long v;
2190 res = SWIG_AsVal_unsigned_SS_long_SS_long SWIG_PERL_CALL_ARGS_2(obj, val ? &v : 0);
2191 if (SWIG_IsOK(res) && val) *val = (size_t)(v);
2192 }
2193 #endif
2194 0 return res;
2195 }
2196  
2197  
2198 SWIGINTERNINLINE SV *
2199 0 SWIG_From_unsigned_SS_long SWIG_PERL_DECL_ARGS_1(unsigned long value)
2200 {
2201 SV *sv;
2202 if (UVSIZE >= sizeof(value) || value <= UV_MAX)
2203 0 sv = newSVuv(value);
2204 else
2205 sv = newSVpvf("%lu", value);
2206 0 return sv_2mortal(sv);
2207 }
2208  
2209  
2210 #include <stdio.h>
2211 #if (defined(_MSC_VER) && (_MSC_VER < 1900)) || defined(__BORLANDC__) || defined(_WATCOM)
2212 # ifndef snprintf
2213 # define snprintf _snprintf
2214 # endif
2215 #endif
2216  
2217  
2218 #ifdef SWIG_LONG_LONG_AVAILABLE
2219 SWIGINTERNINLINE SV *
2220 SWIG_From_unsigned_SS_long_SS_long SWIG_PERL_DECL_ARGS_1(unsigned long long value)
2221 {
2222 SV *sv;
2223 if (UVSIZE >= sizeof(value) || value <= UV_MAX)
2224 sv = newSVuv((UV)(value));
2225 else {
2226 //sv = newSVpvf("%llu", value); doesn't work in non 64bit Perl
2227 char temp[256];
2228 SWIG_snprintf(temp, sizeof(temp), "%llu", value);
2229 sv = newSVpv(temp, 0);
2230 }
2231 return sv_2mortal(sv);
2232 }
2233 #endif
2234  
2235  
2236 SWIGINTERNINLINE SV *
2237 0 SWIG_From_size_t SWIG_PERL_DECL_ARGS_1(size_t value)
2238 {
2239 #ifdef SWIG_LONG_LONG_AVAILABLE
2240 if (sizeof(size_t) <= sizeof(unsigned long)) {
2241 #endif
2242 0 return SWIG_From_unsigned_SS_long SWIG_PERL_CALL_ARGS_1((unsigned long)(value));
2243 #ifdef SWIG_LONG_LONG_AVAILABLE
2244 } else {
2245 /* assume sizeof(size_t) <= sizeof(unsigned long long) */
2246 return SWIG_From_unsigned_SS_long_SS_long SWIG_PERL_CALL_ARGS_1((unsigned long long)(value));
2247 }
2248 #endif
2249 }
2250  
2251 #ifdef __cplusplus
2252 extern "C" {
2253 #endif
2254  
2255 #define MAGIC_CLASS
2256 0 SWIGCLASS_STATIC int swig_magic_readonly(pTHX_ SV *SWIGUNUSEDPARM(sv), MAGIC *SWIGUNUSEDPARM(mg)) {
2257 MAGIC_PPERL
2258 0 croak("Value is read-only.");
2259 return 0;
2260 }
2261 0 SWIGCLASS_STATIC int _wrap_gsl_integration_fixed_legendre_set(pTHX_ SV* sv, MAGIC * SWIGUNUSEDPARM(mg)) {
2262 MAGIC_PPERL
2263 {
2264 0 void *argp = 0;
2265 0 int res = SWIG_ConvertPtr(sv, &argp, SWIGTYPE_p_gsl_integration_fixed_type, 0 );
2266 0 ▶ if (!SWIG_IsOK(res)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res)) { 0 0 0
2267 0 ▶ SWIG_exception_fail(SWIG_ArgError(res), "in variable '""gsl_integration_fixed_legendre""' of type '""gsl_integration_fixed_type const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res), "in variable '""gsl_integration_fixed_legendre""' of type '""gsl_integration_fixed_type const *""'"); 0 0 0
2268 }
2269 0 gsl_integration_fixed_legendre = (gsl_integration_fixed_type *)(argp);
2270 }
2271 0 fail:
2272 0 return 1;
2273 }
2274  
2275  
2276 0 SWIGCLASS_STATIC int _wrap_gsl_integration_fixed_legendre_get(pTHX_ SV *sv, MAGIC *SWIGUNUSEDPARM(mg)) {
2277 MAGIC_PPERL
2278 0 sv_setiv(SvRV(sv),PTR2IV(gsl_integration_fixed_legendre));
2279 0 return 1;
2280 }
2281  
2282  
2283 0 SWIGCLASS_STATIC int _wrap_gsl_integration_fixed_chebyshev_set(pTHX_ SV* sv, MAGIC * SWIGUNUSEDPARM(mg)) {
2284 MAGIC_PPERL
2285 {
2286 0 void *argp = 0;
2287 0 int res = SWIG_ConvertPtr(sv, &argp, SWIGTYPE_p_gsl_integration_fixed_type, 0 );
2288 0 ▶ if (!SWIG_IsOK(res)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res)) { 0 0 0
2289 0 ▶ SWIG_exception_fail(SWIG_ArgError(res), "in variable '""gsl_integration_fixed_chebyshev""' of type '""gsl_integration_fixed_type const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res), "in variable '""gsl_integration_fixed_chebyshev""' of type '""gsl_integration_fixed_type const *""'"); 0 0 0
2290 }
2291 0 gsl_integration_fixed_chebyshev = (gsl_integration_fixed_type *)(argp);
2292 }
2293 0 fail:
2294 0 return 1;
2295 }
2296  
2297  
2298 0 SWIGCLASS_STATIC int _wrap_gsl_integration_fixed_chebyshev_get(pTHX_ SV *sv, MAGIC *SWIGUNUSEDPARM(mg)) {
2299 MAGIC_PPERL
2300 0 sv_setiv(SvRV(sv),PTR2IV(gsl_integration_fixed_chebyshev));
2301 0 return 1;
2302 }
2303  
2304  
2305 0 SWIGCLASS_STATIC int _wrap_gsl_integration_fixed_gegenbauer_set(pTHX_ SV* sv, MAGIC * SWIGUNUSEDPARM(mg)) {
2306 MAGIC_PPERL
2307 {
2308 0 void *argp = 0;
2309 0 int res = SWIG_ConvertPtr(sv, &argp, SWIGTYPE_p_gsl_integration_fixed_type, 0 );
2310 0 ▶ if (!SWIG_IsOK(res)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res)) { 0 0 0
2311 0 ▶ SWIG_exception_fail(SWIG_ArgError(res), "in variable '""gsl_integration_fixed_gegenbauer""' of type '""gsl_integration_fixed_type const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res), "in variable '""gsl_integration_fixed_gegenbauer""' of type '""gsl_integration_fixed_type const *""'"); 0 0 0
2312 }
2313 0 gsl_integration_fixed_gegenbauer = (gsl_integration_fixed_type *)(argp);
2314 }
2315 0 fail:
2316 0 return 1;
2317 }
2318  
2319  
2320 0 SWIGCLASS_STATIC int _wrap_gsl_integration_fixed_gegenbauer_get(pTHX_ SV *sv, MAGIC *SWIGUNUSEDPARM(mg)) {
2321 MAGIC_PPERL
2322 0 sv_setiv(SvRV(sv),PTR2IV(gsl_integration_fixed_gegenbauer));
2323 0 return 1;
2324 }
2325  
2326  
2327 0 SWIGCLASS_STATIC int _wrap_gsl_integration_fixed_jacobi_set(pTHX_ SV* sv, MAGIC * SWIGUNUSEDPARM(mg)) {
2328 MAGIC_PPERL
2329 {
2330 0 void *argp = 0;
2331 0 int res = SWIG_ConvertPtr(sv, &argp, SWIGTYPE_p_gsl_integration_fixed_type, 0 );
2332 0 ▶ if (!SWIG_IsOK(res)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res)) { 0 0 0
2333 0 ▶ SWIG_exception_fail(SWIG_ArgError(res), "in variable '""gsl_integration_fixed_jacobi""' of type '""gsl_integration_fixed_type const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res), "in variable '""gsl_integration_fixed_jacobi""' of type '""gsl_integration_fixed_type const *""'"); 0 0 0
2334 }
2335 0 gsl_integration_fixed_jacobi = (gsl_integration_fixed_type *)(argp);
2336 }
2337 0 fail:
2338 0 return 1;
2339 }
2340  
2341  
2342 0 SWIGCLASS_STATIC int _wrap_gsl_integration_fixed_jacobi_get(pTHX_ SV *sv, MAGIC *SWIGUNUSEDPARM(mg)) {
2343 MAGIC_PPERL
2344 0 sv_setiv(SvRV(sv),PTR2IV(gsl_integration_fixed_jacobi));
2345 0 return 1;
2346 }
2347  
2348  
2349 0 SWIGCLASS_STATIC int _wrap_gsl_integration_fixed_laguerre_set(pTHX_ SV* sv, MAGIC * SWIGUNUSEDPARM(mg)) {
2350 MAGIC_PPERL
2351 {
2352 0 void *argp = 0;
2353 0 int res = SWIG_ConvertPtr(sv, &argp, SWIGTYPE_p_gsl_integration_fixed_type, 0 );
2354 0 ▶ if (!SWIG_IsOK(res)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res)) { 0 0 0
2355 0 ▶ SWIG_exception_fail(SWIG_ArgError(res), "in variable '""gsl_integration_fixed_laguerre""' of type '""gsl_integration_fixed_type const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res), "in variable '""gsl_integration_fixed_laguerre""' of type '""gsl_integration_fixed_type const *""'"); 0 0 0
2356 }
2357 0 gsl_integration_fixed_laguerre = (gsl_integration_fixed_type *)(argp);
2358 }
2359 0 fail:
2360 0 return 1;
2361 }
2362  
2363  
2364 0 SWIGCLASS_STATIC int _wrap_gsl_integration_fixed_laguerre_get(pTHX_ SV *sv, MAGIC *SWIGUNUSEDPARM(mg)) {
2365 MAGIC_PPERL
2366 0 sv_setiv(SvRV(sv),PTR2IV(gsl_integration_fixed_laguerre));
2367 0 return 1;
2368 }
2369  
2370  
2371 0 SWIGCLASS_STATIC int _wrap_gsl_integration_fixed_hermite_set(pTHX_ SV* sv, MAGIC * SWIGUNUSEDPARM(mg)) {
2372 MAGIC_PPERL
2373 {
2374 0 void *argp = 0;
2375 0 int res = SWIG_ConvertPtr(sv, &argp, SWIGTYPE_p_gsl_integration_fixed_type, 0 );
2376 0 ▶ if (!SWIG_IsOK(res)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res)) { 0 0 0
2377 0 ▶ SWIG_exception_fail(SWIG_ArgError(res), "in variable '""gsl_integration_fixed_hermite""' of type '""gsl_integration_fixed_type const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res), "in variable '""gsl_integration_fixed_hermite""' of type '""gsl_integration_fixed_type const *""'"); 0 0 0
2378 }
2379 0 gsl_integration_fixed_hermite = (gsl_integration_fixed_type *)(argp);
2380 }
2381 0 fail:
2382 0 return 1;
2383 }
2384  
2385  
2386 0 SWIGCLASS_STATIC int _wrap_gsl_integration_fixed_hermite_get(pTHX_ SV *sv, MAGIC *SWIGUNUSEDPARM(mg)) {
2387 MAGIC_PPERL
2388 0 sv_setiv(SvRV(sv),PTR2IV(gsl_integration_fixed_hermite));
2389 0 return 1;
2390 }
2391  
2392  
2393 0 SWIGCLASS_STATIC int _wrap_gsl_integration_fixed_exponential_set(pTHX_ SV* sv, MAGIC * SWIGUNUSEDPARM(mg)) {
2394 MAGIC_PPERL
2395 {
2396 0 void *argp = 0;
2397 0 int res = SWIG_ConvertPtr(sv, &argp, SWIGTYPE_p_gsl_integration_fixed_type, 0 );
2398 0 ▶ if (!SWIG_IsOK(res)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res)) { 0 0 0
2399 0 ▶ SWIG_exception_fail(SWIG_ArgError(res), "in variable '""gsl_integration_fixed_exponential""' of type '""gsl_integration_fixed_type const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res), "in variable '""gsl_integration_fixed_exponential""' of type '""gsl_integration_fixed_type const *""'"); 0 0 0
2400 }
2401 0 gsl_integration_fixed_exponential = (gsl_integration_fixed_type *)(argp);
2402 }
2403 0 fail:
2404 0 return 1;
2405 }
2406  
2407  
2408 0 SWIGCLASS_STATIC int _wrap_gsl_integration_fixed_exponential_get(pTHX_ SV *sv, MAGIC *SWIGUNUSEDPARM(mg)) {
2409 MAGIC_PPERL
2410 0 sv_setiv(SvRV(sv),PTR2IV(gsl_integration_fixed_exponential));
2411 0 return 1;
2412 }
2413  
2414  
2415 0 SWIGCLASS_STATIC int _wrap_gsl_integration_fixed_rational_set(pTHX_ SV* sv, MAGIC * SWIGUNUSEDPARM(mg)) {
2416 MAGIC_PPERL
2417 {
2418 0 void *argp = 0;
2419 0 int res = SWIG_ConvertPtr(sv, &argp, SWIGTYPE_p_gsl_integration_fixed_type, 0 );
2420 0 ▶ if (!SWIG_IsOK(res)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res)) { 0 0 0
2421 0 ▶ SWIG_exception_fail(SWIG_ArgError(res), "in variable '""gsl_integration_fixed_rational""' of type '""gsl_integration_fixed_type const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res), "in variable '""gsl_integration_fixed_rational""' of type '""gsl_integration_fixed_type const *""'"); 0 0 0
2422 }
2423 0 gsl_integration_fixed_rational = (gsl_integration_fixed_type *)(argp);
2424 }
2425 0 fail:
2426 0 return 1;
2427 }
2428  
2429  
2430 0 SWIGCLASS_STATIC int _wrap_gsl_integration_fixed_rational_get(pTHX_ SV *sv, MAGIC *SWIGUNUSEDPARM(mg)) {
2431 MAGIC_PPERL
2432 0 sv_setiv(SvRV(sv),PTR2IV(gsl_integration_fixed_rational));
2433 0 return 1;
2434 }
2435  
2436  
2437 0 SWIGCLASS_STATIC int _wrap_gsl_integration_fixed_chebyshev2_set(pTHX_ SV* sv, MAGIC * SWIGUNUSEDPARM(mg)) {
2438 MAGIC_PPERL
2439 {
2440 0 void *argp = 0;
2441 0 int res = SWIG_ConvertPtr(sv, &argp, SWIGTYPE_p_gsl_integration_fixed_type, 0 );
2442 0 ▶ if (!SWIG_IsOK(res)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res)) { 0 0 0
2443 0 ▶ SWIG_exception_fail(SWIG_ArgError(res), "in variable '""gsl_integration_fixed_chebyshev2""' of type '""gsl_integration_fixed_type const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res), "in variable '""gsl_integration_fixed_chebyshev2""' of type '""gsl_integration_fixed_type const *""'"); 0 0 0
2444 }
2445 0 gsl_integration_fixed_chebyshev2 = (gsl_integration_fixed_type *)(argp);
2446 }
2447 0 fail:
2448 0 return 1;
2449 }
2450  
2451  
2452 0 SWIGCLASS_STATIC int _wrap_gsl_integration_fixed_chebyshev2_get(pTHX_ SV *sv, MAGIC *SWIGUNUSEDPARM(mg)) {
2453 MAGIC_PPERL
2454 0 sv_setiv(SvRV(sv),PTR2IV(gsl_integration_fixed_chebyshev2));
2455 0 return 1;
2456 }
2457  
2458  
2459  
2460 #ifdef __cplusplus
2461 }
2462 #endif
2463  
2464 #ifdef __cplusplus
2465 extern "C" {
2466 #endif
2467 0 XS(_wrap_gsl_error) {
2468 {
2469 0 char *arg1 = (char *) 0 ;
2470 0 char *arg2 = (char *) 0 ;
2471 int arg3 ;
2472 int arg4 ;
2473 int res1 ;
2474 0 char *buf1 = 0 ;
2475 0 int alloc1 = 0 ;
2476 int res2 ;
2477 0 char *buf2 = 0 ;
2478 0 int alloc2 = 0 ;
2479 int val3 ;
2480 0 int ecode3 = 0 ;
2481 int val4 ;
2482 0 int ecode4 = 0 ;
2483 0 int argvi = 0;
2484 0 dXSARGS;
2485
2486 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
2487 0 SWIG_croak("Usage: gsl_error(reason,file,line,gsl_errno);");
2488 }
2489 0 res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
2490 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2491 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
2492 }
2493 0 arg1 = (char *)(buf1);
2494 0 res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
2495 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
2496 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
2497 }
2498 0 arg2 = (char *)(buf2);
2499 0 ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
2500 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
2501 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
2502 }
2503 0 arg3 = (int)(val3);
2504 0 ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
2505 0 ▶ if (!SWIG_IsOK(ecode4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode4)) { 0 0 0
2506 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
2507 }
2508 0 arg4 = (int)(val4);
2509 0 gsl_error((char const *)arg1,(char const *)arg2,arg3,arg4);
2510 0 ST(argvi) = &PL_sv_undef;
2511 0 ▶ if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc1 == SWIG_NEWOBJ) free((char*)buf1); 0 0 0
2512 0 ▶ if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); 0 0 0
2513
2514
2515 0 XSRETURN(argvi);
2516 0 fail:
2517 0 ▶ if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc1 == SWIG_NEWOBJ) free((char*)buf1); 0 0 0
2518 0 ▶ if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); 0 0 0
2519
2520
2521 0 SWIG_croak_null();
2522 }
2523 }
2524  
2525  
2526 0 XS(_wrap_gsl_stream_printf) {
2527 {
2528 0 char *arg1 = (char *) 0 ;
2529 0 char *arg2 = (char *) 0 ;
2530 int arg3 ;
2531 0 char *arg4 = (char *) 0 ;
2532 int res1 ;
2533 0 char *buf1 = 0 ;
2534 0 int alloc1 = 0 ;
2535 int res2 ;
2536 0 char *buf2 = 0 ;
2537 0 int alloc2 = 0 ;
2538 int val3 ;
2539 0 int ecode3 = 0 ;
2540 int res4 ;
2541 0 char *buf4 = 0 ;
2542 0 int alloc4 = 0 ;
2543 0 int argvi = 0;
2544 0 dXSARGS;
2545
2546 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
2547 0 SWIG_croak("Usage: gsl_stream_printf(label,file,line,reason);");
2548 }
2549 0 res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
2550 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2551 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
2552 }
2553 0 arg1 = (char *)(buf1);
2554 0 res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
2555 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
2556 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
2557 }
2558 0 arg2 = (char *)(buf2);
2559 0 ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
2560 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
2561 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
2562 }
2563 0 arg3 = (int)(val3);
2564 0 res4 = SWIG_AsCharPtrAndSize(ST(3), &buf4, NULL, &alloc4);
2565 0 ▶ if (!SWIG_IsOK(res4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res4)) { 0 0 0
2566 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
2567 }
2568 0 arg4 = (char *)(buf4);
2569 0 gsl_stream_printf((char const *)arg1,(char const *)arg2,arg3,(char const *)arg4);
2570 0 ST(argvi) = &PL_sv_undef;
2571 0 ▶ if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc1 == SWIG_NEWOBJ) free((char*)buf1); 0 0 0
2572 0 ▶ if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); 0 0 0
2573
2574 0 ▶ if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc4 == SWIG_NEWOBJ) free((char*)buf4); 0 0 0
2575 0 XSRETURN(argvi);
2576 0 fail:
2577 0 ▶ if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc1 == SWIG_NEWOBJ) free((char*)buf1); 0 0 0
2578 0 ▶ if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); 0 0 0
2579
2580 0 ▶ if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc4 == SWIG_NEWOBJ) free((char*)buf4); 0 0 0
2581 0 SWIG_croak_null();
2582 }
2583 }
2584  
2585  
2586 0 XS(_wrap_gsl_strerror) {
2587 {
2588 int arg1 ;
2589 int val1 ;
2590 0 int ecode1 = 0 ;
2591 0 int argvi = 0;
2592 0 char *result = 0 ;
2593 0 dXSARGS;
2594
2595 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
2596 0 SWIG_croak("Usage: gsl_strerror(gsl_errno);");
2597 }
2598 0 ecode1 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
2599 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
2600 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
2601 }
2602 0 arg1 = (int)(val1);
2603 0 result = (char *)gsl_strerror(arg1);
2604 0 ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
2605
2606 0 XSRETURN(argvi);
2607 0 fail:
2608
2609 0 SWIG_croak_null();
2610 }
2611 }
2612  
2613  
2614 0 XS(_wrap_gsl_set_error_handler) {
2615 {
2616 0 gsl_error_handler_t *arg1 = (gsl_error_handler_t *) 0 ;
2617 0 int argvi = 0;
2618 0 gsl_error_handler_t *result = 0 ;
2619 0 dXSARGS;
2620
2621 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
2622 0 SWIG_croak("Usage: gsl_set_error_handler(new_handler);");
2623 }
2624 {
2625 0 int res = SWIG_ConvertFunctionPtr(ST(0), (void**)(&arg1), SWIGTYPE_p_f_p_q_const__char_p_q_const__char_int_int__void);
2626 0 ▶ if (!SWIG_IsOK(res)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res)) { 0 0 0
2627 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
2628 }
2629 }
2630 0 result = (gsl_error_handler_t *)gsl_set_error_handler(arg1);
2631 0 ST(argvi) = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_q_const__char_p_q_const__char_int_int__void); argvi++ ;
2632
2633 0 XSRETURN(argvi);
2634 0 fail:
2635
2636 0 SWIG_croak_null();
2637 }
2638 }
2639  
2640  
2641 0 XS(_wrap_gsl_set_error_handler_off) {
2642 {
2643 0 int argvi = 0;
2644 0 gsl_error_handler_t *result = 0 ;
2645 0 dXSARGS;
2646
2647 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
2648 0 SWIG_croak("Usage: gsl_set_error_handler_off();");
2649 }
2650 0 result = (gsl_error_handler_t *)gsl_set_error_handler_off();
2651 0 ST(argvi) = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_q_const__char_p_q_const__char_int_int__void); argvi++ ;
2652 0 XSRETURN(argvi);
2653 0 fail:
2654 0 SWIG_croak_null();
2655 }
2656 }
2657  
2658  
2659 0 XS(_wrap_gsl_set_stream_handler) {
2660 {
2661 0 gsl_stream_handler_t *arg1 = (gsl_stream_handler_t *) 0 ;
2662 0 int argvi = 0;
2663 0 gsl_stream_handler_t *result = 0 ;
2664 0 dXSARGS;
2665
2666 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
2667 0 SWIG_croak("Usage: gsl_set_stream_handler(new_handler);");
2668 }
2669 {
2670 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);
2671 0 ▶ if (!SWIG_IsOK(res)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res)) { 0 0 0
2672 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
2673 }
2674 }
2675 0 result = (gsl_stream_handler_t *)gsl_set_stream_handler(arg1);
2676 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++ ;
2677
2678 0 XSRETURN(argvi);
2679 0 fail:
2680
2681 0 SWIG_croak_null();
2682 }
2683 }
2684  
2685  
2686 0 XS(_wrap_gsl_set_stream) {
2687 {
2688 0 FILE *arg1 = (FILE *) 0 ;
2689 0 void *argp1 = 0 ;
2690 0 int res1 = 0 ;
2691 0 int argvi = 0;
2692 0 FILE *result = 0 ;
2693 0 dXSARGS;
2694
2695 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
2696 0 SWIG_croak("Usage: gsl_set_stream(new_stream);");
2697 }
2698 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_FILE, 0 | 0 );
2699 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2700 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
2701 }
2702 0 arg1 = (FILE *)(argp1);
2703 0 result = (FILE *)gsl_set_stream(arg1);
2704 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FILE, 0 | 0); argvi++ ;
2705
2706 0 XSRETURN(argvi);
2707 0 fail:
2708
2709 0 SWIG_croak_null();
2710 }
2711 }
2712  
2713  
2714 0 XS(_wrap_gsl_integration_workspace_limit_set) {
2715 {
2716 0 gsl_integration_workspace *arg1 = (gsl_integration_workspace *) 0 ;
2717 size_t arg2 ;
2718 0 void *argp1 = 0 ;
2719 0 int res1 = 0 ;
2720 size_t val2 ;
2721 0 int ecode2 = 0 ;
2722 0 int argvi = 0;
2723 0 dXSARGS;
2724
2725 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
2726 0 SWIG_croak("Usage: gsl_integration_workspace_limit_set(self,limit);");
2727 }
2728 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_workspace, 0 | 0 );
2729 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2730 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_workspace_limit_set" "', argument " "1"" of type '" "gsl_integration_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_workspace_limit_set" "', argument " "1"" of type '" "gsl_integration_workspace *""'"); 0 0 0
2731 }
2732 0 arg1 = (gsl_integration_workspace *)(argp1);
2733 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
2734 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
2735 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_workspace_limit_set" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_workspace_limit_set" "', argument " "2"" of type '" "size_t""'"); 0 0 0
2736 }
2737 0 arg2 = (size_t)(val2);
2738 0 ▶ if (arg1) (arg1)->limit = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->limit = arg2; 0 0 0
2739 0 ST(argvi) = &PL_sv_undef;
2740
2741
2742 0 XSRETURN(argvi);
2743 0 fail:
2744
2745
2746 0 SWIG_croak_null();
2747 }
2748 }
2749  
2750  
2751 0 XS(_wrap_gsl_integration_workspace_limit_get) {
2752 {
2753 0 gsl_integration_workspace *arg1 = (gsl_integration_workspace *) 0 ;
2754 0 void *argp1 = 0 ;
2755 0 int res1 = 0 ;
2756 0 int argvi = 0;
2757 size_t result;
2758 0 dXSARGS;
2759
2760 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
2761 0 SWIG_croak("Usage: gsl_integration_workspace_limit_get(self);");
2762 }
2763 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_workspace, 0 | 0 );
2764 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2765 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_workspace_limit_get" "', argument " "1"" of type '" "gsl_integration_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_workspace_limit_get" "', argument " "1"" of type '" "gsl_integration_workspace *""'"); 0 0 0
2766 }
2767 0 arg1 = (gsl_integration_workspace *)(argp1);
2768 0 result = ((arg1)->limit);
2769 0 ST(argvi) = SWIG_From_size_t SWIG_PERL_CALL_ARGS_1((size_t)(result)); argvi++ ;
2770
2771 0 XSRETURN(argvi);
2772 0 fail:
2773
2774 0 SWIG_croak_null();
2775 }
2776 }
2777  
2778  
2779 0 XS(_wrap_gsl_integration_workspace_size_set) {
2780 {
2781 0 gsl_integration_workspace *arg1 = (gsl_integration_workspace *) 0 ;
2782 size_t arg2 ;
2783 0 void *argp1 = 0 ;
2784 0 int res1 = 0 ;
2785 size_t val2 ;
2786 0 int ecode2 = 0 ;
2787 0 int argvi = 0;
2788 0 dXSARGS;
2789
2790 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
2791 0 SWIG_croak("Usage: gsl_integration_workspace_size_set(self,size);");
2792 }
2793 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_workspace, 0 | 0 );
2794 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2795 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_workspace_size_set" "', argument " "1"" of type '" "gsl_integration_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_workspace_size_set" "', argument " "1"" of type '" "gsl_integration_workspace *""'"); 0 0 0
2796 }
2797 0 arg1 = (gsl_integration_workspace *)(argp1);
2798 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
2799 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
2800 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_workspace_size_set" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_workspace_size_set" "', argument " "2"" of type '" "size_t""'"); 0 0 0
2801 }
2802 0 arg2 = (size_t)(val2);
2803 0 ▶ if (arg1) (arg1)->size = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->size = arg2; 0 0 0
2804 0 ST(argvi) = &PL_sv_undef;
2805
2806
2807 0 XSRETURN(argvi);
2808 0 fail:
2809
2810
2811 0 SWIG_croak_null();
2812 }
2813 }
2814  
2815  
2816 0 XS(_wrap_gsl_integration_workspace_size_get) {
2817 {
2818 0 gsl_integration_workspace *arg1 = (gsl_integration_workspace *) 0 ;
2819 0 void *argp1 = 0 ;
2820 0 int res1 = 0 ;
2821 0 int argvi = 0;
2822 size_t result;
2823 0 dXSARGS;
2824
2825 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
2826 0 SWIG_croak("Usage: gsl_integration_workspace_size_get(self);");
2827 }
2828 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_workspace, 0 | 0 );
2829 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2830 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_workspace_size_get" "', argument " "1"" of type '" "gsl_integration_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_workspace_size_get" "', argument " "1"" of type '" "gsl_integration_workspace *""'"); 0 0 0
2831 }
2832 0 arg1 = (gsl_integration_workspace *)(argp1);
2833 0 result = ((arg1)->size);
2834 0 ST(argvi) = SWIG_From_size_t SWIG_PERL_CALL_ARGS_1((size_t)(result)); argvi++ ;
2835
2836 0 XSRETURN(argvi);
2837 0 fail:
2838
2839 0 SWIG_croak_null();
2840 }
2841 }
2842  
2843  
2844 0 XS(_wrap_gsl_integration_workspace_nrmax_set) {
2845 {
2846 0 gsl_integration_workspace *arg1 = (gsl_integration_workspace *) 0 ;
2847 size_t arg2 ;
2848 0 void *argp1 = 0 ;
2849 0 int res1 = 0 ;
2850 size_t val2 ;
2851 0 int ecode2 = 0 ;
2852 0 int argvi = 0;
2853 0 dXSARGS;
2854
2855 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
2856 0 SWIG_croak("Usage: gsl_integration_workspace_nrmax_set(self,nrmax);");
2857 }
2858 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_workspace, 0 | 0 );
2859 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2860 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_workspace_nrmax_set" "', argument " "1"" of type '" "gsl_integration_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_workspace_nrmax_set" "', argument " "1"" of type '" "gsl_integration_workspace *""'"); 0 0 0
2861 }
2862 0 arg1 = (gsl_integration_workspace *)(argp1);
2863 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
2864 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
2865 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_workspace_nrmax_set" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_workspace_nrmax_set" "', argument " "2"" of type '" "size_t""'"); 0 0 0
2866 }
2867 0 arg2 = (size_t)(val2);
2868 0 ▶ if (arg1) (arg1)->nrmax = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->nrmax = arg2; 0 0 0
2869 0 ST(argvi) = &PL_sv_undef;
2870
2871
2872 0 XSRETURN(argvi);
2873 0 fail:
2874
2875
2876 0 SWIG_croak_null();
2877 }
2878 }
2879  
2880  
2881 0 XS(_wrap_gsl_integration_workspace_nrmax_get) {
2882 {
2883 0 gsl_integration_workspace *arg1 = (gsl_integration_workspace *) 0 ;
2884 0 void *argp1 = 0 ;
2885 0 int res1 = 0 ;
2886 0 int argvi = 0;
2887 size_t result;
2888 0 dXSARGS;
2889
2890 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
2891 0 SWIG_croak("Usage: gsl_integration_workspace_nrmax_get(self);");
2892 }
2893 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_workspace, 0 | 0 );
2894 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2895 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_workspace_nrmax_get" "', argument " "1"" of type '" "gsl_integration_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_workspace_nrmax_get" "', argument " "1"" of type '" "gsl_integration_workspace *""'"); 0 0 0
2896 }
2897 0 arg1 = (gsl_integration_workspace *)(argp1);
2898 0 result = ((arg1)->nrmax);
2899 0 ST(argvi) = SWIG_From_size_t SWIG_PERL_CALL_ARGS_1((size_t)(result)); argvi++ ;
2900
2901 0 XSRETURN(argvi);
2902 0 fail:
2903
2904 0 SWIG_croak_null();
2905 }
2906 }
2907  
2908  
2909 0 XS(_wrap_gsl_integration_workspace_i_set) {
2910 {
2911 0 gsl_integration_workspace *arg1 = (gsl_integration_workspace *) 0 ;
2912 size_t arg2 ;
2913 0 void *argp1 = 0 ;
2914 0 int res1 = 0 ;
2915 size_t val2 ;
2916 0 int ecode2 = 0 ;
2917 0 int argvi = 0;
2918 0 dXSARGS;
2919
2920 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
2921 0 SWIG_croak("Usage: gsl_integration_workspace_i_set(self,i);");
2922 }
2923 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_workspace, 0 | 0 );
2924 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2925 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_workspace_i_set" "', argument " "1"" of type '" "gsl_integration_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_workspace_i_set" "', argument " "1"" of type '" "gsl_integration_workspace *""'"); 0 0 0
2926 }
2927 0 arg1 = (gsl_integration_workspace *)(argp1);
2928 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
2929 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
2930 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_workspace_i_set" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_workspace_i_set" "', argument " "2"" of type '" "size_t""'"); 0 0 0
2931 }
2932 0 arg2 = (size_t)(val2);
2933 0 ▶ if (arg1) (arg1)->i = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->i = arg2; 0 0 0
2934 0 ST(argvi) = &PL_sv_undef;
2935
2936
2937 0 XSRETURN(argvi);
2938 0 fail:
2939
2940
2941 0 SWIG_croak_null();
2942 }
2943 }
2944  
2945  
2946 0 XS(_wrap_gsl_integration_workspace_i_get) {
2947 {
2948 0 gsl_integration_workspace *arg1 = (gsl_integration_workspace *) 0 ;
2949 0 void *argp1 = 0 ;
2950 0 int res1 = 0 ;
2951 0 int argvi = 0;
2952 size_t result;
2953 0 dXSARGS;
2954
2955 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
2956 0 SWIG_croak("Usage: gsl_integration_workspace_i_get(self);");
2957 }
2958 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_workspace, 0 | 0 );
2959 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2960 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_workspace_i_get" "', argument " "1"" of type '" "gsl_integration_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_workspace_i_get" "', argument " "1"" of type '" "gsl_integration_workspace *""'"); 0 0 0
2961 }
2962 0 arg1 = (gsl_integration_workspace *)(argp1);
2963 0 result = ((arg1)->i);
2964 0 ST(argvi) = SWIG_From_size_t SWIG_PERL_CALL_ARGS_1((size_t)(result)); argvi++ ;
2965
2966 0 XSRETURN(argvi);
2967 0 fail:
2968
2969 0 SWIG_croak_null();
2970 }
2971 }
2972  
2973  
2974 0 XS(_wrap_gsl_integration_workspace_maximum_level_set) {
2975 {
2976 0 gsl_integration_workspace *arg1 = (gsl_integration_workspace *) 0 ;
2977 size_t arg2 ;
2978 0 void *argp1 = 0 ;
2979 0 int res1 = 0 ;
2980 size_t val2 ;
2981 0 int ecode2 = 0 ;
2982 0 int argvi = 0;
2983 0 dXSARGS;
2984
2985 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
2986 0 SWIG_croak("Usage: gsl_integration_workspace_maximum_level_set(self,maximum_level);");
2987 }
2988 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_workspace, 0 | 0 );
2989 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2990 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_workspace_maximum_level_set" "', argument " "1"" of type '" "gsl_integration_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_workspace_maximum_level_set" "', argument " "1"" of type '" "gsl_integration_workspace *""'"); 0 0 0
2991 }
2992 0 arg1 = (gsl_integration_workspace *)(argp1);
2993 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
2994 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
2995 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_workspace_maximum_level_set" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_workspace_maximum_level_set" "', argument " "2"" of type '" "size_t""'"); 0 0 0
2996 }
2997 0 arg2 = (size_t)(val2);
2998 0 ▶ if (arg1) (arg1)->maximum_level = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->maximum_level = arg2; 0 0 0
2999 0 ST(argvi) = &PL_sv_undef;
3000
3001
3002 0 XSRETURN(argvi);
3003 0 fail:
3004
3005
3006 0 SWIG_croak_null();
3007 }
3008 }
3009  
3010  
3011 0 XS(_wrap_gsl_integration_workspace_maximum_level_get) {
3012 {
3013 0 gsl_integration_workspace *arg1 = (gsl_integration_workspace *) 0 ;
3014 0 void *argp1 = 0 ;
3015 0 int res1 = 0 ;
3016 0 int argvi = 0;
3017 size_t result;
3018 0 dXSARGS;
3019
3020 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
3021 0 SWIG_croak("Usage: gsl_integration_workspace_maximum_level_get(self);");
3022 }
3023 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_workspace, 0 | 0 );
3024 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3025 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_workspace_maximum_level_get" "', argument " "1"" of type '" "gsl_integration_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_workspace_maximum_level_get" "', argument " "1"" of type '" "gsl_integration_workspace *""'"); 0 0 0
3026 }
3027 0 arg1 = (gsl_integration_workspace *)(argp1);
3028 0 result = ((arg1)->maximum_level);
3029 0 ST(argvi) = SWIG_From_size_t SWIG_PERL_CALL_ARGS_1((size_t)(result)); argvi++ ;
3030
3031 0 XSRETURN(argvi);
3032 0 fail:
3033
3034 0 SWIG_croak_null();
3035 }
3036 }
3037  
3038  
3039 0 XS(_wrap_gsl_integration_workspace_alist_set) {
3040 {
3041 0 gsl_integration_workspace *arg1 = (gsl_integration_workspace *) 0 ;
3042 0 double *arg2 = (double *) 0 ;
3043 0 void *argp1 = 0 ;
3044 0 int res1 = 0 ;
3045 0 void *argp2 = 0 ;
3046 0 int res2 = 0 ;
3047 0 int argvi = 0;
3048 0 dXSARGS;
3049
3050 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
3051 0 SWIG_croak("Usage: gsl_integration_workspace_alist_set(self,alist);");
3052 }
3053 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_workspace, 0 | 0 );
3054 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3055 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_workspace_alist_set" "', argument " "1"" of type '" "gsl_integration_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_workspace_alist_set" "', argument " "1"" of type '" "gsl_integration_workspace *""'"); 0 0 0
3056 }
3057 0 arg1 = (gsl_integration_workspace *)(argp1);
3058 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, SWIG_POINTER_DISOWN | 0 );
3059 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
3060 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_integration_workspace_alist_set" "', argument " "2"" of type '" "double *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_integration_workspace_alist_set" "', argument " "2"" of type '" "double *""'"); 0 0 0
3061 }
3062 0 arg2 = (double *)(argp2);
3063 0 ▶ if (arg1) (arg1)->alist = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->alist = arg2; 0 0 0
3064 0 ST(argvi) = &PL_sv_undef;
3065
3066
3067 0 XSRETURN(argvi);
3068 0 fail:
3069
3070
3071 0 SWIG_croak_null();
3072 }
3073 }
3074  
3075  
3076 0 XS(_wrap_gsl_integration_workspace_alist_get) {
3077 {
3078 0 gsl_integration_workspace *arg1 = (gsl_integration_workspace *) 0 ;
3079 0 void *argp1 = 0 ;
3080 0 int res1 = 0 ;
3081 0 int argvi = 0;
3082 0 double *result = 0 ;
3083 0 dXSARGS;
3084
3085 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
3086 0 SWIG_croak("Usage: gsl_integration_workspace_alist_get(self);");
3087 }
3088 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_workspace, 0 | 0 );
3089 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3090 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_workspace_alist_get" "', argument " "1"" of type '" "gsl_integration_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_workspace_alist_get" "', argument " "1"" of type '" "gsl_integration_workspace *""'"); 0 0 0
3091 }
3092 0 arg1 = (gsl_integration_workspace *)(argp1);
3093 0 result = (double *) ((arg1)->alist);
3094 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0); argvi++ ;
3095
3096 0 XSRETURN(argvi);
3097 0 fail:
3098
3099 0 SWIG_croak_null();
3100 }
3101 }
3102  
3103  
3104 0 XS(_wrap_gsl_integration_workspace_blist_set) {
3105 {
3106 0 gsl_integration_workspace *arg1 = (gsl_integration_workspace *) 0 ;
3107 0 double *arg2 = (double *) 0 ;
3108 0 void *argp1 = 0 ;
3109 0 int res1 = 0 ;
3110 0 void *argp2 = 0 ;
3111 0 int res2 = 0 ;
3112 0 int argvi = 0;
3113 0 dXSARGS;
3114
3115 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
3116 0 SWIG_croak("Usage: gsl_integration_workspace_blist_set(self,blist);");
3117 }
3118 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_workspace, 0 | 0 );
3119 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3120 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_workspace_blist_set" "', argument " "1"" of type '" "gsl_integration_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_workspace_blist_set" "', argument " "1"" of type '" "gsl_integration_workspace *""'"); 0 0 0
3121 }
3122 0 arg1 = (gsl_integration_workspace *)(argp1);
3123 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, SWIG_POINTER_DISOWN | 0 );
3124 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
3125 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_integration_workspace_blist_set" "', argument " "2"" of type '" "double *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_integration_workspace_blist_set" "', argument " "2"" of type '" "double *""'"); 0 0 0
3126 }
3127 0 arg2 = (double *)(argp2);
3128 0 ▶ if (arg1) (arg1)->blist = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->blist = arg2; 0 0 0
3129 0 ST(argvi) = &PL_sv_undef;
3130
3131
3132 0 XSRETURN(argvi);
3133 0 fail:
3134
3135
3136 0 SWIG_croak_null();
3137 }
3138 }
3139  
3140  
3141 0 XS(_wrap_gsl_integration_workspace_blist_get) {
3142 {
3143 0 gsl_integration_workspace *arg1 = (gsl_integration_workspace *) 0 ;
3144 0 void *argp1 = 0 ;
3145 0 int res1 = 0 ;
3146 0 int argvi = 0;
3147 0 double *result = 0 ;
3148 0 dXSARGS;
3149
3150 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
3151 0 SWIG_croak("Usage: gsl_integration_workspace_blist_get(self);");
3152 }
3153 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_workspace, 0 | 0 );
3154 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3155 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_workspace_blist_get" "', argument " "1"" of type '" "gsl_integration_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_workspace_blist_get" "', argument " "1"" of type '" "gsl_integration_workspace *""'"); 0 0 0
3156 }
3157 0 arg1 = (gsl_integration_workspace *)(argp1);
3158 0 result = (double *) ((arg1)->blist);
3159 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0); argvi++ ;
3160
3161 0 XSRETURN(argvi);
3162 0 fail:
3163
3164 0 SWIG_croak_null();
3165 }
3166 }
3167  
3168  
3169 0 XS(_wrap_gsl_integration_workspace_rlist_set) {
3170 {
3171 0 gsl_integration_workspace *arg1 = (gsl_integration_workspace *) 0 ;
3172 0 double *arg2 = (double *) 0 ;
3173 0 void *argp1 = 0 ;
3174 0 int res1 = 0 ;
3175 0 void *argp2 = 0 ;
3176 0 int res2 = 0 ;
3177 0 int argvi = 0;
3178 0 dXSARGS;
3179
3180 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
3181 0 SWIG_croak("Usage: gsl_integration_workspace_rlist_set(self,rlist);");
3182 }
3183 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_workspace, 0 | 0 );
3184 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3185 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_workspace_rlist_set" "', argument " "1"" of type '" "gsl_integration_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_workspace_rlist_set" "', argument " "1"" of type '" "gsl_integration_workspace *""'"); 0 0 0
3186 }
3187 0 arg1 = (gsl_integration_workspace *)(argp1);
3188 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, SWIG_POINTER_DISOWN | 0 );
3189 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
3190 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_integration_workspace_rlist_set" "', argument " "2"" of type '" "double *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_integration_workspace_rlist_set" "', argument " "2"" of type '" "double *""'"); 0 0 0
3191 }
3192 0 arg2 = (double *)(argp2);
3193 0 ▶ if (arg1) (arg1)->rlist = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->rlist = arg2; 0 0 0
3194 0 ST(argvi) = &PL_sv_undef;
3195
3196
3197 0 XSRETURN(argvi);
3198 0 fail:
3199
3200
3201 0 SWIG_croak_null();
3202 }
3203 }
3204  
3205  
3206 0 XS(_wrap_gsl_integration_workspace_rlist_get) {
3207 {
3208 0 gsl_integration_workspace *arg1 = (gsl_integration_workspace *) 0 ;
3209 0 void *argp1 = 0 ;
3210 0 int res1 = 0 ;
3211 0 int argvi = 0;
3212 0 double *result = 0 ;
3213 0 dXSARGS;
3214
3215 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
3216 0 SWIG_croak("Usage: gsl_integration_workspace_rlist_get(self);");
3217 }
3218 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_workspace, 0 | 0 );
3219 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3220 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_workspace_rlist_get" "', argument " "1"" of type '" "gsl_integration_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_workspace_rlist_get" "', argument " "1"" of type '" "gsl_integration_workspace *""'"); 0 0 0
3221 }
3222 0 arg1 = (gsl_integration_workspace *)(argp1);
3223 0 result = (double *) ((arg1)->rlist);
3224 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0); argvi++ ;
3225
3226 0 XSRETURN(argvi);
3227 0 fail:
3228
3229 0 SWIG_croak_null();
3230 }
3231 }
3232  
3233  
3234 0 XS(_wrap_gsl_integration_workspace_elist_set) {
3235 {
3236 0 gsl_integration_workspace *arg1 = (gsl_integration_workspace *) 0 ;
3237 0 double *arg2 = (double *) 0 ;
3238 0 void *argp1 = 0 ;
3239 0 int res1 = 0 ;
3240 0 void *argp2 = 0 ;
3241 0 int res2 = 0 ;
3242 0 int argvi = 0;
3243 0 dXSARGS;
3244
3245 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
3246 0 SWIG_croak("Usage: gsl_integration_workspace_elist_set(self,elist);");
3247 }
3248 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_workspace, 0 | 0 );
3249 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3250 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_workspace_elist_set" "', argument " "1"" of type '" "gsl_integration_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_workspace_elist_set" "', argument " "1"" of type '" "gsl_integration_workspace *""'"); 0 0 0
3251 }
3252 0 arg1 = (gsl_integration_workspace *)(argp1);
3253 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, SWIG_POINTER_DISOWN | 0 );
3254 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
3255 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_integration_workspace_elist_set" "', argument " "2"" of type '" "double *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_integration_workspace_elist_set" "', argument " "2"" of type '" "double *""'"); 0 0 0
3256 }
3257 0 arg2 = (double *)(argp2);
3258 0 ▶ if (arg1) (arg1)->elist = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->elist = arg2; 0 0 0
3259 0 ST(argvi) = &PL_sv_undef;
3260
3261
3262 0 XSRETURN(argvi);
3263 0 fail:
3264
3265
3266 0 SWIG_croak_null();
3267 }
3268 }
3269  
3270  
3271 0 XS(_wrap_gsl_integration_workspace_elist_get) {
3272 {
3273 0 gsl_integration_workspace *arg1 = (gsl_integration_workspace *) 0 ;
3274 0 void *argp1 = 0 ;
3275 0 int res1 = 0 ;
3276 0 int argvi = 0;
3277 0 double *result = 0 ;
3278 0 dXSARGS;
3279
3280 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
3281 0 SWIG_croak("Usage: gsl_integration_workspace_elist_get(self);");
3282 }
3283 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_workspace, 0 | 0 );
3284 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3285 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_workspace_elist_get" "', argument " "1"" of type '" "gsl_integration_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_workspace_elist_get" "', argument " "1"" of type '" "gsl_integration_workspace *""'"); 0 0 0
3286 }
3287 0 arg1 = (gsl_integration_workspace *)(argp1);
3288 0 result = (double *) ((arg1)->elist);
3289 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0); argvi++ ;
3290
3291 0 XSRETURN(argvi);
3292 0 fail:
3293
3294 0 SWIG_croak_null();
3295 }
3296 }
3297  
3298  
3299 0 XS(_wrap_gsl_integration_workspace_order_set) {
3300 {
3301 0 gsl_integration_workspace *arg1 = (gsl_integration_workspace *) 0 ;
3302 0 size_t *arg2 = (size_t *) 0 ;
3303 0 void *argp1 = 0 ;
3304 0 int res1 = 0 ;
3305 0 void *argp2 = 0 ;
3306 0 int res2 = 0 ;
3307 0 int argvi = 0;
3308 0 dXSARGS;
3309
3310 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
3311 0 SWIG_croak("Usage: gsl_integration_workspace_order_set(self,order);");
3312 }
3313 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_workspace, 0 | 0 );
3314 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3315 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_workspace_order_set" "', argument " "1"" of type '" "gsl_integration_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_workspace_order_set" "', argument " "1"" of type '" "gsl_integration_workspace *""'"); 0 0 0
3316 }
3317 0 arg1 = (gsl_integration_workspace *)(argp1);
3318 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_size_t, SWIG_POINTER_DISOWN | 0 );
3319 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
3320 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_integration_workspace_order_set" "', argument " "2"" of type '" "size_t *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_integration_workspace_order_set" "', argument " "2"" of type '" "size_t *""'"); 0 0 0
3321 }
3322 0 arg2 = (size_t *)(argp2);
3323 0 ▶ if (arg1) (arg1)->order = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->order = arg2; 0 0 0
3324 0 ST(argvi) = &PL_sv_undef;
3325
3326
3327 0 XSRETURN(argvi);
3328 0 fail:
3329
3330
3331 0 SWIG_croak_null();
3332 }
3333 }
3334  
3335  
3336 0 XS(_wrap_gsl_integration_workspace_order_get) {
3337 {
3338 0 gsl_integration_workspace *arg1 = (gsl_integration_workspace *) 0 ;
3339 0 void *argp1 = 0 ;
3340 0 int res1 = 0 ;
3341 0 int argvi = 0;
3342 0 size_t *result = 0 ;
3343 0 dXSARGS;
3344
3345 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
3346 0 SWIG_croak("Usage: gsl_integration_workspace_order_get(self);");
3347 }
3348 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_workspace, 0 | 0 );
3349 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3350 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_workspace_order_get" "', argument " "1"" of type '" "gsl_integration_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_workspace_order_get" "', argument " "1"" of type '" "gsl_integration_workspace *""'"); 0 0 0
3351 }
3352 0 arg1 = (gsl_integration_workspace *)(argp1);
3353 0 result = (size_t *) ((arg1)->order);
3354 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_size_t, 0 | 0); argvi++ ;
3355
3356 0 XSRETURN(argvi);
3357 0 fail:
3358
3359 0 SWIG_croak_null();
3360 }
3361 }
3362  
3363  
3364 0 XS(_wrap_gsl_integration_workspace_level_set) {
3365 {
3366 0 gsl_integration_workspace *arg1 = (gsl_integration_workspace *) 0 ;
3367 0 size_t *arg2 = (size_t *) 0 ;
3368 0 void *argp1 = 0 ;
3369 0 int res1 = 0 ;
3370 0 void *argp2 = 0 ;
3371 0 int res2 = 0 ;
3372 0 int argvi = 0;
3373 0 dXSARGS;
3374
3375 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
3376 0 SWIG_croak("Usage: gsl_integration_workspace_level_set(self,level);");
3377 }
3378 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_workspace, 0 | 0 );
3379 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3380 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_workspace_level_set" "', argument " "1"" of type '" "gsl_integration_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_workspace_level_set" "', argument " "1"" of type '" "gsl_integration_workspace *""'"); 0 0 0
3381 }
3382 0 arg1 = (gsl_integration_workspace *)(argp1);
3383 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_size_t, SWIG_POINTER_DISOWN | 0 );
3384 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
3385 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_integration_workspace_level_set" "', argument " "2"" of type '" "size_t *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_integration_workspace_level_set" "', argument " "2"" of type '" "size_t *""'"); 0 0 0
3386 }
3387 0 arg2 = (size_t *)(argp2);
3388 0 ▶ if (arg1) (arg1)->level = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->level = arg2; 0 0 0
3389 0 ST(argvi) = &PL_sv_undef;
3390
3391
3392 0 XSRETURN(argvi);
3393 0 fail:
3394
3395
3396 0 SWIG_croak_null();
3397 }
3398 }
3399  
3400  
3401 0 XS(_wrap_gsl_integration_workspace_level_get) {
3402 {
3403 0 gsl_integration_workspace *arg1 = (gsl_integration_workspace *) 0 ;
3404 0 void *argp1 = 0 ;
3405 0 int res1 = 0 ;
3406 0 int argvi = 0;
3407 0 size_t *result = 0 ;
3408 0 dXSARGS;
3409
3410 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
3411 0 SWIG_croak("Usage: gsl_integration_workspace_level_get(self);");
3412 }
3413 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_workspace, 0 | 0 );
3414 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3415 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_workspace_level_get" "', argument " "1"" of type '" "gsl_integration_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_workspace_level_get" "', argument " "1"" of type '" "gsl_integration_workspace *""'"); 0 0 0
3416 }
3417 0 arg1 = (gsl_integration_workspace *)(argp1);
3418 0 result = (size_t *) ((arg1)->level);
3419 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_size_t, 0 | 0); argvi++ ;
3420
3421 0 XSRETURN(argvi);
3422 0 fail:
3423
3424 0 SWIG_croak_null();
3425 }
3426 }
3427  
3428  
3429 0 XS(_wrap_new_gsl_integration_workspace) {
3430 {
3431 0 int argvi = 0;
3432 0 gsl_integration_workspace *result = 0 ;
3433 0 dXSARGS;
3434
3435 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
3436 0 SWIG_croak("Usage: new_gsl_integration_workspace();");
3437 }
3438 0 result = (gsl_integration_workspace *)calloc(1, sizeof(gsl_integration_workspace));
3439 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_integration_workspace, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
3440 0 XSRETURN(argvi);
3441 0 fail:
3442 0 SWIG_croak_null();
3443 }
3444 }
3445  
3446  
3447 0 XS(_wrap_delete_gsl_integration_workspace) {
3448 {
3449 0 gsl_integration_workspace *arg1 = (gsl_integration_workspace *) 0 ;
3450 0 void *argp1 = 0 ;
3451 0 int res1 = 0 ;
3452 0 int argvi = 0;
3453 0 dXSARGS;
3454
3455 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
3456 0 SWIG_croak("Usage: delete_gsl_integration_workspace(self);");
3457 }
3458 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_workspace, SWIG_POINTER_DISOWN | 0 );
3459 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3460 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_gsl_integration_workspace" "', argument " "1"" of type '" "gsl_integration_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_gsl_integration_workspace" "', argument " "1"" of type '" "gsl_integration_workspace *""'"); 0 0 0
3461 }
3462 0 arg1 = (gsl_integration_workspace *)(argp1);
3463 0 free((char *) arg1);
3464 0 ST(argvi) = &PL_sv_undef;
3465
3466 0 XSRETURN(argvi);
3467 0 fail:
3468
3469 0 SWIG_croak_null();
3470 }
3471 }
3472  
3473  
3474 0 XS(_wrap_gsl_integration_workspace_alloc) {
3475 {
3476 size_t arg1 ;
3477 size_t val1 ;
3478 0 int ecode1 = 0 ;
3479 0 int argvi = 0;
3480 0 gsl_integration_workspace *result = 0 ;
3481 0 dXSARGS;
3482
3483 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
3484 0 SWIG_croak("Usage: gsl_integration_workspace_alloc(n);");
3485 }
3486 0 ecode1 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
3487 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
3488 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_integration_workspace_alloc" "', argument " "1"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_integration_workspace_alloc" "', argument " "1"" of type '" "size_t""'"); 0 0 0
3489 }
3490 0 arg1 = (size_t)(val1);
3491 0 result = (gsl_integration_workspace *)gsl_integration_workspace_alloc(arg1);
3492 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_integration_workspace, 0 | SWIG_SHADOW); argvi++ ;
3493
3494 0 XSRETURN(argvi);
3495 0 fail:
3496
3497 0 SWIG_croak_null();
3498 }
3499 }
3500  
3501  
3502 0 XS(_wrap_gsl_integration_workspace_free) {
3503 {
3504 0 gsl_integration_workspace *arg1 = (gsl_integration_workspace *) 0 ;
3505 0 void *argp1 = 0 ;
3506 0 int res1 = 0 ;
3507 0 int argvi = 0;
3508 0 dXSARGS;
3509
3510 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
3511 0 SWIG_croak("Usage: gsl_integration_workspace_free(w);");
3512 }
3513 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_workspace, 0 | 0 );
3514 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3515 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_workspace_free" "', argument " "1"" of type '" "gsl_integration_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_workspace_free" "', argument " "1"" of type '" "gsl_integration_workspace *""'"); 0 0 0
3516 }
3517 0 arg1 = (gsl_integration_workspace *)(argp1);
3518 0 gsl_integration_workspace_free(arg1);
3519 0 ST(argvi) = &PL_sv_undef;
3520
3521 0 XSRETURN(argvi);
3522 0 fail:
3523
3524 0 SWIG_croak_null();
3525 }
3526 }
3527  
3528  
3529 0 XS(_wrap_gsl_integration_qaws_table_alpha_set) {
3530 {
3531 0 gsl_integration_qaws_table *arg1 = (gsl_integration_qaws_table *) 0 ;
3532 double arg2 ;
3533 0 void *argp1 = 0 ;
3534 0 int res1 = 0 ;
3535 double val2 ;
3536 0 int ecode2 = 0 ;
3537 0 int argvi = 0;
3538 0 dXSARGS;
3539
3540 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
3541 0 SWIG_croak("Usage: gsl_integration_qaws_table_alpha_set(self,alpha);");
3542 }
3543 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_qaws_table, 0 | 0 );
3544 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3545 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_qaws_table_alpha_set" "', argument " "1"" of type '" "gsl_integration_qaws_table *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_qaws_table_alpha_set" "', argument " "1"" of type '" "gsl_integration_qaws_table *""'"); 0 0 0
3546 }
3547 0 arg1 = (gsl_integration_qaws_table *)(argp1);
3548 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
3549 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
3550 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_qaws_table_alpha_set" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_qaws_table_alpha_set" "', argument " "2"" of type '" "double""'"); 0 0 0
3551 }
3552 0 arg2 = (double)(val2);
3553 0 ▶ if (arg1) (arg1)->alpha = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->alpha = arg2; 0 0 0
3554 0 ST(argvi) = &PL_sv_undef;
3555
3556
3557 0 XSRETURN(argvi);
3558 0 fail:
3559
3560
3561 0 SWIG_croak_null();
3562 }
3563 }
3564  
3565  
3566 0 XS(_wrap_gsl_integration_qaws_table_alpha_get) {
3567 {
3568 0 gsl_integration_qaws_table *arg1 = (gsl_integration_qaws_table *) 0 ;
3569 0 void *argp1 = 0 ;
3570 0 int res1 = 0 ;
3571 0 int argvi = 0;
3572 double result;
3573 0 dXSARGS;
3574
3575 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
3576 0 SWIG_croak("Usage: gsl_integration_qaws_table_alpha_get(self);");
3577 }
3578 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_qaws_table, 0 | 0 );
3579 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3580 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_qaws_table_alpha_get" "', argument " "1"" of type '" "gsl_integration_qaws_table *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_qaws_table_alpha_get" "', argument " "1"" of type '" "gsl_integration_qaws_table *""'"); 0 0 0
3581 }
3582 0 arg1 = (gsl_integration_qaws_table *)(argp1);
3583 0 result = (double) ((arg1)->alpha);
3584 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
3585
3586 0 XSRETURN(argvi);
3587 0 fail:
3588
3589 0 SWIG_croak_null();
3590 }
3591 }
3592  
3593  
3594 0 XS(_wrap_gsl_integration_qaws_table_beta_set) {
3595 {
3596 0 gsl_integration_qaws_table *arg1 = (gsl_integration_qaws_table *) 0 ;
3597 double arg2 ;
3598 0 void *argp1 = 0 ;
3599 0 int res1 = 0 ;
3600 double val2 ;
3601 0 int ecode2 = 0 ;
3602 0 int argvi = 0;
3603 0 dXSARGS;
3604
3605 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
3606 0 SWIG_croak("Usage: gsl_integration_qaws_table_beta_set(self,beta);");
3607 }
3608 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_qaws_table, 0 | 0 );
3609 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3610 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_qaws_table_beta_set" "', argument " "1"" of type '" "gsl_integration_qaws_table *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_qaws_table_beta_set" "', argument " "1"" of type '" "gsl_integration_qaws_table *""'"); 0 0 0
3611 }
3612 0 arg1 = (gsl_integration_qaws_table *)(argp1);
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_integration_qaws_table_beta_set" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_qaws_table_beta_set" "', argument " "2"" of type '" "double""'"); 0 0 0
3616 }
3617 0 arg2 = (double)(val2);
3618 0 ▶ if (arg1) (arg1)->beta = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->beta = arg2; 0 0 0
3619 0 ST(argvi) = &PL_sv_undef;
3620
3621
3622 0 XSRETURN(argvi);
3623 0 fail:
3624
3625
3626 0 SWIG_croak_null();
3627 }
3628 }
3629  
3630  
3631 0 XS(_wrap_gsl_integration_qaws_table_beta_get) {
3632 {
3633 0 gsl_integration_qaws_table *arg1 = (gsl_integration_qaws_table *) 0 ;
3634 0 void *argp1 = 0 ;
3635 0 int res1 = 0 ;
3636 0 int argvi = 0;
3637 double result;
3638 0 dXSARGS;
3639
3640 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
3641 0 SWIG_croak("Usage: gsl_integration_qaws_table_beta_get(self);");
3642 }
3643 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_qaws_table, 0 | 0 );
3644 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3645 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_qaws_table_beta_get" "', argument " "1"" of type '" "gsl_integration_qaws_table *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_qaws_table_beta_get" "', argument " "1"" of type '" "gsl_integration_qaws_table *""'"); 0 0 0
3646 }
3647 0 arg1 = (gsl_integration_qaws_table *)(argp1);
3648 0 result = (double) ((arg1)->beta);
3649 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
3650
3651 0 XSRETURN(argvi);
3652 0 fail:
3653
3654 0 SWIG_croak_null();
3655 }
3656 }
3657  
3658  
3659 0 XS(_wrap_gsl_integration_qaws_table_mu_set) {
3660 {
3661 0 gsl_integration_qaws_table *arg1 = (gsl_integration_qaws_table *) 0 ;
3662 int arg2 ;
3663 0 void *argp1 = 0 ;
3664 0 int res1 = 0 ;
3665 int val2 ;
3666 0 int ecode2 = 0 ;
3667 0 int argvi = 0;
3668 0 dXSARGS;
3669
3670 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
3671 0 SWIG_croak("Usage: gsl_integration_qaws_table_mu_set(self,mu);");
3672 }
3673 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_qaws_table, 0 | 0 );
3674 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3675 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_qaws_table_mu_set" "', argument " "1"" of type '" "gsl_integration_qaws_table *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_qaws_table_mu_set" "', argument " "1"" of type '" "gsl_integration_qaws_table *""'"); 0 0 0
3676 }
3677 0 arg1 = (gsl_integration_qaws_table *)(argp1);
3678 0 ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
3679 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
3680 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_qaws_table_mu_set" "', argument " "2"" of type '" "int""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_qaws_table_mu_set" "', argument " "2"" of type '" "int""'"); 0 0 0
3681 }
3682 0 arg2 = (int)(val2);
3683 0 ▶ if (arg1) (arg1)->mu = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->mu = arg2; 0 0 0
3684 0 ST(argvi) = &PL_sv_undef;
3685
3686
3687 0 XSRETURN(argvi);
3688 0 fail:
3689
3690
3691 0 SWIG_croak_null();
3692 }
3693 }
3694  
3695  
3696 0 XS(_wrap_gsl_integration_qaws_table_mu_get) {
3697 {
3698 0 gsl_integration_qaws_table *arg1 = (gsl_integration_qaws_table *) 0 ;
3699 0 void *argp1 = 0 ;
3700 0 int res1 = 0 ;
3701 0 int argvi = 0;
3702 int result;
3703 0 dXSARGS;
3704
3705 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
3706 0 SWIG_croak("Usage: gsl_integration_qaws_table_mu_get(self);");
3707 }
3708 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_qaws_table, 0 | 0 );
3709 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3710 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_qaws_table_mu_get" "', argument " "1"" of type '" "gsl_integration_qaws_table *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_qaws_table_mu_get" "', argument " "1"" of type '" "gsl_integration_qaws_table *""'"); 0 0 0
3711 }
3712 0 arg1 = (gsl_integration_qaws_table *)(argp1);
3713 0 result = (int) ((arg1)->mu);
3714 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
3715
3716 0 XSRETURN(argvi);
3717 0 fail:
3718
3719 0 SWIG_croak_null();
3720 }
3721 }
3722  
3723  
3724 0 XS(_wrap_gsl_integration_qaws_table_nu_set) {
3725 {
3726 0 gsl_integration_qaws_table *arg1 = (gsl_integration_qaws_table *) 0 ;
3727 int arg2 ;
3728 0 void *argp1 = 0 ;
3729 0 int res1 = 0 ;
3730 int val2 ;
3731 0 int ecode2 = 0 ;
3732 0 int argvi = 0;
3733 0 dXSARGS;
3734
3735 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
3736 0 SWIG_croak("Usage: gsl_integration_qaws_table_nu_set(self,nu);");
3737 }
3738 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_qaws_table, 0 | 0 );
3739 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3740 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_qaws_table_nu_set" "', argument " "1"" of type '" "gsl_integration_qaws_table *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_qaws_table_nu_set" "', argument " "1"" of type '" "gsl_integration_qaws_table *""'"); 0 0 0
3741 }
3742 0 arg1 = (gsl_integration_qaws_table *)(argp1);
3743 0 ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
3744 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
3745 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_qaws_table_nu_set" "', argument " "2"" of type '" "int""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_qaws_table_nu_set" "', argument " "2"" of type '" "int""'"); 0 0 0
3746 }
3747 0 arg2 = (int)(val2);
3748 0 ▶ if (arg1) (arg1)->nu = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->nu = arg2; 0 0 0
3749 0 ST(argvi) = &PL_sv_undef;
3750
3751
3752 0 XSRETURN(argvi);
3753 0 fail:
3754
3755
3756 0 SWIG_croak_null();
3757 }
3758 }
3759  
3760  
3761 0 XS(_wrap_gsl_integration_qaws_table_nu_get) {
3762 {
3763 0 gsl_integration_qaws_table *arg1 = (gsl_integration_qaws_table *) 0 ;
3764 0 void *argp1 = 0 ;
3765 0 int res1 = 0 ;
3766 0 int argvi = 0;
3767 int result;
3768 0 dXSARGS;
3769
3770 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
3771 0 SWIG_croak("Usage: gsl_integration_qaws_table_nu_get(self);");
3772 }
3773 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_qaws_table, 0 | 0 );
3774 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3775 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_qaws_table_nu_get" "', argument " "1"" of type '" "gsl_integration_qaws_table *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_qaws_table_nu_get" "', argument " "1"" of type '" "gsl_integration_qaws_table *""'"); 0 0 0
3776 }
3777 0 arg1 = (gsl_integration_qaws_table *)(argp1);
3778 0 result = (int) ((arg1)->nu);
3779 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
3780
3781 0 XSRETURN(argvi);
3782 0 fail:
3783
3784 0 SWIG_croak_null();
3785 }
3786 }
3787  
3788  
3789 0 XS(_wrap_gsl_integration_qaws_table_ri_set) {
3790 {
3791 0 gsl_integration_qaws_table *arg1 = (gsl_integration_qaws_table *) 0 ;
3792 0 double *arg2 = (double *) (double *)0 ;
3793 0 void *argp1 = 0 ;
3794 0 int res1 = 0 ;
3795 0 void *argp2 = 0 ;
3796 0 int res2 = 0 ;
3797 0 int argvi = 0;
3798 0 dXSARGS;
3799
3800 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
3801 0 SWIG_croak("Usage: gsl_integration_qaws_table_ri_set(self,ri);");
3802 }
3803 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_qaws_table, 0 | 0 );
3804 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3805 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_qaws_table_ri_set" "', argument " "1"" of type '" "gsl_integration_qaws_table *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_qaws_table_ri_set" "', argument " "1"" of type '" "gsl_integration_qaws_table *""'"); 0 0 0
3806 }
3807 0 arg1 = (gsl_integration_qaws_table *)(argp1);
3808 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, 0 | 0 );
3809 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
3810 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_integration_qaws_table_ri_set" "', argument " "2"" of type '" "double [25]""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_integration_qaws_table_ri_set" "', argument " "2"" of type '" "double [25]""'"); 0 0 0
3811 }
3812 0 arg2 = (double *)(argp2);
3813 {
3814 0 ▶ if (arg2) {
Branch: 1 branch
BranchTrueFalseTotal
if (arg2) { 0 0 0
3815 0 size_t ii = 0;
3816 0 ▶ for (; ii < (size_t)25; ++ii) *(double *)&arg1->ri[ii] = *((double *)arg2 + ii);
Branch: 1 branch
BranchTrueFalseTotal
for (; ii < (size_t)25; ++ii) *(double *)&arg1->ri[ii] = *((double *)arg2 + ii); 0 0 0
3817 } else {
3818 0 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""ri""' of type '""double [25]""'");
3819 }
3820 }
3821 0 ST(argvi) = &PL_sv_undef;
3822
3823
3824 0 XSRETURN(argvi);
3825 0 fail:
3826
3827
3828 0 SWIG_croak_null();
3829 }
3830 }
3831  
3832  
3833 0 XS(_wrap_gsl_integration_qaws_table_ri_get) {
3834 {
3835 0 gsl_integration_qaws_table *arg1 = (gsl_integration_qaws_table *) 0 ;
3836 0 void *argp1 = 0 ;
3837 0 int res1 = 0 ;
3838 0 int argvi = 0;
3839 0 double *result = 0 ;
3840 0 dXSARGS;
3841
3842 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
3843 0 SWIG_croak("Usage: gsl_integration_qaws_table_ri_get(self);");
3844 }
3845 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_qaws_table, 0 | 0 );
3846 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3847 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_qaws_table_ri_get" "', argument " "1"" of type '" "gsl_integration_qaws_table *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_qaws_table_ri_get" "', argument " "1"" of type '" "gsl_integration_qaws_table *""'"); 0 0 0
3848 }
3849 0 arg1 = (gsl_integration_qaws_table *)(argp1);
3850 0 result = (double *)(double *) ((arg1)->ri);
3851 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0); argvi++ ;
3852
3853 0 XSRETURN(argvi);
3854 0 fail:
3855
3856 0 SWIG_croak_null();
3857 }
3858 }
3859  
3860  
3861 0 XS(_wrap_gsl_integration_qaws_table_rj_set) {
3862 {
3863 0 gsl_integration_qaws_table *arg1 = (gsl_integration_qaws_table *) 0 ;
3864 0 double *arg2 = (double *) (double *)0 ;
3865 0 void *argp1 = 0 ;
3866 0 int res1 = 0 ;
3867 0 void *argp2 = 0 ;
3868 0 int res2 = 0 ;
3869 0 int argvi = 0;
3870 0 dXSARGS;
3871
3872 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
3873 0 SWIG_croak("Usage: gsl_integration_qaws_table_rj_set(self,rj);");
3874 }
3875 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_qaws_table, 0 | 0 );
3876 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3877 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_qaws_table_rj_set" "', argument " "1"" of type '" "gsl_integration_qaws_table *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_qaws_table_rj_set" "', argument " "1"" of type '" "gsl_integration_qaws_table *""'"); 0 0 0
3878 }
3879 0 arg1 = (gsl_integration_qaws_table *)(argp1);
3880 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, 0 | 0 );
3881 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
3882 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_integration_qaws_table_rj_set" "', argument " "2"" of type '" "double [25]""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_integration_qaws_table_rj_set" "', argument " "2"" of type '" "double [25]""'"); 0 0 0
3883 }
3884 0 arg2 = (double *)(argp2);
3885 {
3886 0 ▶ if (arg2) {
Branch: 1 branch
BranchTrueFalseTotal
if (arg2) { 0 0 0
3887 0 size_t ii = 0;
3888 0 ▶ for (; ii < (size_t)25; ++ii) *(double *)&arg1->rj[ii] = *((double *)arg2 + ii);
Branch: 1 branch
BranchTrueFalseTotal
for (; ii < (size_t)25; ++ii) *(double *)&arg1->rj[ii] = *((double *)arg2 + ii); 0 0 0
3889 } else {
3890 0 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""rj""' of type '""double [25]""'");
3891 }
3892 }
3893 0 ST(argvi) = &PL_sv_undef;
3894
3895
3896 0 XSRETURN(argvi);
3897 0 fail:
3898
3899
3900 0 SWIG_croak_null();
3901 }
3902 }
3903  
3904  
3905 0 XS(_wrap_gsl_integration_qaws_table_rj_get) {
3906 {
3907 0 gsl_integration_qaws_table *arg1 = (gsl_integration_qaws_table *) 0 ;
3908 0 void *argp1 = 0 ;
3909 0 int res1 = 0 ;
3910 0 int argvi = 0;
3911 0 double *result = 0 ;
3912 0 dXSARGS;
3913
3914 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
3915 0 SWIG_croak("Usage: gsl_integration_qaws_table_rj_get(self);");
3916 }
3917 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_qaws_table, 0 | 0 );
3918 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3919 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_qaws_table_rj_get" "', argument " "1"" of type '" "gsl_integration_qaws_table *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_qaws_table_rj_get" "', argument " "1"" of type '" "gsl_integration_qaws_table *""'"); 0 0 0
3920 }
3921 0 arg1 = (gsl_integration_qaws_table *)(argp1);
3922 0 result = (double *)(double *) ((arg1)->rj);
3923 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0); argvi++ ;
3924
3925 0 XSRETURN(argvi);
3926 0 fail:
3927
3928 0 SWIG_croak_null();
3929 }
3930 }
3931  
3932  
3933 0 XS(_wrap_gsl_integration_qaws_table_rg_set) {
3934 {
3935 0 gsl_integration_qaws_table *arg1 = (gsl_integration_qaws_table *) 0 ;
3936 0 double *arg2 = (double *) (double *)0 ;
3937 0 void *argp1 = 0 ;
3938 0 int res1 = 0 ;
3939 0 void *argp2 = 0 ;
3940 0 int res2 = 0 ;
3941 0 int argvi = 0;
3942 0 dXSARGS;
3943
3944 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
3945 0 SWIG_croak("Usage: gsl_integration_qaws_table_rg_set(self,rg);");
3946 }
3947 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_qaws_table, 0 | 0 );
3948 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3949 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_qaws_table_rg_set" "', argument " "1"" of type '" "gsl_integration_qaws_table *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_qaws_table_rg_set" "', argument " "1"" of type '" "gsl_integration_qaws_table *""'"); 0 0 0
3950 }
3951 0 arg1 = (gsl_integration_qaws_table *)(argp1);
3952 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, 0 | 0 );
3953 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
3954 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_integration_qaws_table_rg_set" "', argument " "2"" of type '" "double [25]""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_integration_qaws_table_rg_set" "', argument " "2"" of type '" "double [25]""'"); 0 0 0
3955 }
3956 0 arg2 = (double *)(argp2);
3957 {
3958 0 ▶ if (arg2) {
Branch: 1 branch
BranchTrueFalseTotal
if (arg2) { 0 0 0
3959 0 size_t ii = 0;
3960 0 ▶ for (; ii < (size_t)25; ++ii) *(double *)&arg1->rg[ii] = *((double *)arg2 + ii);
Branch: 1 branch
BranchTrueFalseTotal
for (; ii < (size_t)25; ++ii) *(double *)&arg1->rg[ii] = *((double *)arg2 + ii); 0 0 0
3961 } else {
3962 0 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""rg""' of type '""double [25]""'");
3963 }
3964 }
3965 0 ST(argvi) = &PL_sv_undef;
3966
3967
3968 0 XSRETURN(argvi);
3969 0 fail:
3970
3971
3972 0 SWIG_croak_null();
3973 }
3974 }
3975  
3976  
3977 0 XS(_wrap_gsl_integration_qaws_table_rg_get) {
3978 {
3979 0 gsl_integration_qaws_table *arg1 = (gsl_integration_qaws_table *) 0 ;
3980 0 void *argp1 = 0 ;
3981 0 int res1 = 0 ;
3982 0 int argvi = 0;
3983 0 double *result = 0 ;
3984 0 dXSARGS;
3985
3986 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
3987 0 SWIG_croak("Usage: gsl_integration_qaws_table_rg_get(self);");
3988 }
3989 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_qaws_table, 0 | 0 );
3990 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3991 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_qaws_table_rg_get" "', argument " "1"" of type '" "gsl_integration_qaws_table *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_qaws_table_rg_get" "', argument " "1"" of type '" "gsl_integration_qaws_table *""'"); 0 0 0
3992 }
3993 0 arg1 = (gsl_integration_qaws_table *)(argp1);
3994 0 result = (double *)(double *) ((arg1)->rg);
3995 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0); argvi++ ;
3996
3997 0 XSRETURN(argvi);
3998 0 fail:
3999
4000 0 SWIG_croak_null();
4001 }
4002 }
4003  
4004  
4005 0 XS(_wrap_gsl_integration_qaws_table_rh_set) {
4006 {
4007 0 gsl_integration_qaws_table *arg1 = (gsl_integration_qaws_table *) 0 ;
4008 0 double *arg2 = (double *) (double *)0 ;
4009 0 void *argp1 = 0 ;
4010 0 int res1 = 0 ;
4011 0 void *argp2 = 0 ;
4012 0 int res2 = 0 ;
4013 0 int argvi = 0;
4014 0 dXSARGS;
4015
4016 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
4017 0 SWIG_croak("Usage: gsl_integration_qaws_table_rh_set(self,rh);");
4018 }
4019 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_qaws_table, 0 | 0 );
4020 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4021 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_qaws_table_rh_set" "', argument " "1"" of type '" "gsl_integration_qaws_table *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_qaws_table_rh_set" "', argument " "1"" of type '" "gsl_integration_qaws_table *""'"); 0 0 0
4022 }
4023 0 arg1 = (gsl_integration_qaws_table *)(argp1);
4024 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, 0 | 0 );
4025 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
4026 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_integration_qaws_table_rh_set" "', argument " "2"" of type '" "double [25]""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_integration_qaws_table_rh_set" "', argument " "2"" of type '" "double [25]""'"); 0 0 0
4027 }
4028 0 arg2 = (double *)(argp2);
4029 {
4030 0 ▶ if (arg2) {
Branch: 1 branch
BranchTrueFalseTotal
if (arg2) { 0 0 0
4031 0 size_t ii = 0;
4032 0 ▶ for (; ii < (size_t)25; ++ii) *(double *)&arg1->rh[ii] = *((double *)arg2 + ii);
Branch: 1 branch
BranchTrueFalseTotal
for (; ii < (size_t)25; ++ii) *(double *)&arg1->rh[ii] = *((double *)arg2 + ii); 0 0 0
4033 } else {
4034 0 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""rh""' of type '""double [25]""'");
4035 }
4036 }
4037 0 ST(argvi) = &PL_sv_undef;
4038
4039
4040 0 XSRETURN(argvi);
4041 0 fail:
4042
4043
4044 0 SWIG_croak_null();
4045 }
4046 }
4047  
4048  
4049 0 XS(_wrap_gsl_integration_qaws_table_rh_get) {
4050 {
4051 0 gsl_integration_qaws_table *arg1 = (gsl_integration_qaws_table *) 0 ;
4052 0 void *argp1 = 0 ;
4053 0 int res1 = 0 ;
4054 0 int argvi = 0;
4055 0 double *result = 0 ;
4056 0 dXSARGS;
4057
4058 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
4059 0 SWIG_croak("Usage: gsl_integration_qaws_table_rh_get(self);");
4060 }
4061 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_qaws_table, 0 | 0 );
4062 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4063 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_qaws_table_rh_get" "', argument " "1"" of type '" "gsl_integration_qaws_table *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_qaws_table_rh_get" "', argument " "1"" of type '" "gsl_integration_qaws_table *""'"); 0 0 0
4064 }
4065 0 arg1 = (gsl_integration_qaws_table *)(argp1);
4066 0 result = (double *)(double *) ((arg1)->rh);
4067 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0); argvi++ ;
4068
4069 0 XSRETURN(argvi);
4070 0 fail:
4071
4072 0 SWIG_croak_null();
4073 }
4074 }
4075  
4076  
4077 0 XS(_wrap_new_gsl_integration_qaws_table) {
4078 {
4079 0 int argvi = 0;
4080 0 gsl_integration_qaws_table *result = 0 ;
4081 0 dXSARGS;
4082
4083 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
4084 0 SWIG_croak("Usage: new_gsl_integration_qaws_table();");
4085 }
4086 0 result = (gsl_integration_qaws_table *)calloc(1, sizeof(gsl_integration_qaws_table));
4087 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_integration_qaws_table, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
4088 0 XSRETURN(argvi);
4089 0 fail:
4090 0 SWIG_croak_null();
4091 }
4092 }
4093  
4094  
4095 0 XS(_wrap_delete_gsl_integration_qaws_table) {
4096 {
4097 0 gsl_integration_qaws_table *arg1 = (gsl_integration_qaws_table *) 0 ;
4098 0 void *argp1 = 0 ;
4099 0 int res1 = 0 ;
4100 0 int argvi = 0;
4101 0 dXSARGS;
4102
4103 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
4104 0 SWIG_croak("Usage: delete_gsl_integration_qaws_table(self);");
4105 }
4106 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_qaws_table, SWIG_POINTER_DISOWN | 0 );
4107 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4108 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_gsl_integration_qaws_table" "', argument " "1"" of type '" "gsl_integration_qaws_table *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_gsl_integration_qaws_table" "', argument " "1"" of type '" "gsl_integration_qaws_table *""'"); 0 0 0
4109 }
4110 0 arg1 = (gsl_integration_qaws_table *)(argp1);
4111 0 free((char *) arg1);
4112 0 ST(argvi) = &PL_sv_undef;
4113
4114 0 XSRETURN(argvi);
4115 0 fail:
4116
4117 0 SWIG_croak_null();
4118 }
4119 }
4120  
4121  
4122 0 XS(_wrap_gsl_integration_qaws_table_alloc) {
4123 {
4124 double arg1 ;
4125 double arg2 ;
4126 int arg3 ;
4127 int arg4 ;
4128 double val1 ;
4129 0 int ecode1 = 0 ;
4130 double val2 ;
4131 0 int ecode2 = 0 ;
4132 int val3 ;
4133 0 int ecode3 = 0 ;
4134 int val4 ;
4135 0 int ecode4 = 0 ;
4136 0 int argvi = 0;
4137 0 gsl_integration_qaws_table *result = 0 ;
4138 0 dXSARGS;
4139
4140 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
4141 0 SWIG_croak("Usage: gsl_integration_qaws_table_alloc(alpha,beta,mu,nu);");
4142 }
4143 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
4144 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
4145 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_integration_qaws_table_alloc" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_integration_qaws_table_alloc" "', argument " "1"" of type '" "double""'"); 0 0 0
4146 }
4147 0 arg1 = (double)(val1);
4148 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
4149 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
4150 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_qaws_table_alloc" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_qaws_table_alloc" "', argument " "2"" of type '" "double""'"); 0 0 0
4151 }
4152 0 arg2 = (double)(val2);
4153 0 ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
4154 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
4155 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_integration_qaws_table_alloc" "', argument " "3"" of type '" "int""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_integration_qaws_table_alloc" "', argument " "3"" of type '" "int""'"); 0 0 0
4156 }
4157 0 arg3 = (int)(val3);
4158 0 ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
4159 0 ▶ if (!SWIG_IsOK(ecode4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode4)) { 0 0 0
4160 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_integration_qaws_table_alloc" "', argument " "4"" of type '" "int""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_integration_qaws_table_alloc" "', argument " "4"" of type '" "int""'"); 0 0 0
4161 }
4162 0 arg4 = (int)(val4);
4163 0 result = (gsl_integration_qaws_table *)gsl_integration_qaws_table_alloc(arg1,arg2,arg3,arg4);
4164 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_integration_qaws_table, 0 | SWIG_SHADOW); argvi++ ;
4165
4166
4167
4168
4169 0 XSRETURN(argvi);
4170 0 fail:
4171
4172
4173
4174
4175 0 SWIG_croak_null();
4176 }
4177 }
4178  
4179  
4180 0 XS(_wrap_gsl_integration_qaws_table_set) {
4181 {
4182 0 gsl_integration_qaws_table *arg1 = (gsl_integration_qaws_table *) 0 ;
4183 double arg2 ;
4184 double arg3 ;
4185 int arg4 ;
4186 int arg5 ;
4187 0 void *argp1 = 0 ;
4188 0 int res1 = 0 ;
4189 double val2 ;
4190 0 int ecode2 = 0 ;
4191 double val3 ;
4192 0 int ecode3 = 0 ;
4193 int val4 ;
4194 0 int ecode4 = 0 ;
4195 int val5 ;
4196 0 int ecode5 = 0 ;
4197 0 int argvi = 0;
4198 int result;
4199 0 dXSARGS;
4200
4201 0 ▶ if ((items < 5) || (items > 5)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 5) || (items > 5)) { 0 0 0
if ((items < 5) || (items > 5)) { 0 0 0
4202 0 SWIG_croak("Usage: gsl_integration_qaws_table_set(t,alpha,beta,mu,nu);");
4203 }
4204 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_qaws_table, 0 | 0 );
4205 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4206 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_qaws_table_set" "', argument " "1"" of type '" "gsl_integration_qaws_table *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_qaws_table_set" "', argument " "1"" of type '" "gsl_integration_qaws_table *""'"); 0 0 0
4207 }
4208 0 arg1 = (gsl_integration_qaws_table *)(argp1);
4209 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
4210 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
4211 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_qaws_table_set" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_qaws_table_set" "', argument " "2"" of type '" "double""'"); 0 0 0
4212 }
4213 0 arg2 = (double)(val2);
4214 0 ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
4215 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
4216 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_integration_qaws_table_set" "', argument " "3"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_integration_qaws_table_set" "', argument " "3"" of type '" "double""'"); 0 0 0
4217 }
4218 0 arg3 = (double)(val3);
4219 0 ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
4220 0 ▶ if (!SWIG_IsOK(ecode4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode4)) { 0 0 0
4221 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_integration_qaws_table_set" "', argument " "4"" of type '" "int""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_integration_qaws_table_set" "', argument " "4"" of type '" "int""'"); 0 0 0
4222 }
4223 0 arg4 = (int)(val4);
4224 0 ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
4225 0 ▶ if (!SWIG_IsOK(ecode5)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode5)) { 0 0 0
4226 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "gsl_integration_qaws_table_set" "', argument " "5"" of type '" "int""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "gsl_integration_qaws_table_set" "', argument " "5"" of type '" "int""'"); 0 0 0
4227 }
4228 0 arg5 = (int)(val5);
4229 0 result = (int)gsl_integration_qaws_table_set(arg1,arg2,arg3,arg4,arg5);
4230 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
4231
4232
4233
4234
4235
4236 0 XSRETURN(argvi);
4237 0 fail:
4238
4239
4240
4241
4242
4243 0 SWIG_croak_null();
4244 }
4245 }
4246  
4247  
4248 0 XS(_wrap_gsl_integration_qaws_table_free) {
4249 {
4250 0 gsl_integration_qaws_table *arg1 = (gsl_integration_qaws_table *) 0 ;
4251 0 void *argp1 = 0 ;
4252 0 int res1 = 0 ;
4253 0 int argvi = 0;
4254 0 dXSARGS;
4255
4256 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
4257 0 SWIG_croak("Usage: gsl_integration_qaws_table_free(t);");
4258 }
4259 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_qaws_table, 0 | 0 );
4260 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4261 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_qaws_table_free" "', argument " "1"" of type '" "gsl_integration_qaws_table *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_qaws_table_free" "', argument " "1"" of type '" "gsl_integration_qaws_table *""'"); 0 0 0
4262 }
4263 0 arg1 = (gsl_integration_qaws_table *)(argp1);
4264 0 gsl_integration_qaws_table_free(arg1);
4265 0 ST(argvi) = &PL_sv_undef;
4266
4267 0 XSRETURN(argvi);
4268 0 fail:
4269
4270 0 SWIG_croak_null();
4271 }
4272 }
4273  
4274  
4275 0 XS(_wrap_gsl_integration_qawo_table_n_set) {
4276 {
4277 0 gsl_integration_qawo_table *arg1 = (gsl_integration_qawo_table *) 0 ;
4278 size_t arg2 ;
4279 0 void *argp1 = 0 ;
4280 0 int res1 = 0 ;
4281 size_t val2 ;
4282 0 int ecode2 = 0 ;
4283 0 int argvi = 0;
4284 0 dXSARGS;
4285
4286 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
4287 0 SWIG_croak("Usage: gsl_integration_qawo_table_n_set(self,n);");
4288 }
4289 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_qawo_table, 0 | 0 );
4290 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4291 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_qawo_table_n_set" "', argument " "1"" of type '" "gsl_integration_qawo_table *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_qawo_table_n_set" "', argument " "1"" of type '" "gsl_integration_qawo_table *""'"); 0 0 0
4292 }
4293 0 arg1 = (gsl_integration_qawo_table *)(argp1);
4294 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
4295 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
4296 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_qawo_table_n_set" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_qawo_table_n_set" "', argument " "2"" of type '" "size_t""'"); 0 0 0
4297 }
4298 0 arg2 = (size_t)(val2);
4299 0 ▶ if (arg1) (arg1)->n = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->n = arg2; 0 0 0
4300 0 ST(argvi) = &PL_sv_undef;
4301
4302
4303 0 XSRETURN(argvi);
4304 0 fail:
4305
4306
4307 0 SWIG_croak_null();
4308 }
4309 }
4310  
4311  
4312 0 XS(_wrap_gsl_integration_qawo_table_n_get) {
4313 {
4314 0 gsl_integration_qawo_table *arg1 = (gsl_integration_qawo_table *) 0 ;
4315 0 void *argp1 = 0 ;
4316 0 int res1 = 0 ;
4317 0 int argvi = 0;
4318 size_t result;
4319 0 dXSARGS;
4320
4321 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
4322 0 SWIG_croak("Usage: gsl_integration_qawo_table_n_get(self);");
4323 }
4324 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_qawo_table, 0 | 0 );
4325 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4326 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_qawo_table_n_get" "', argument " "1"" of type '" "gsl_integration_qawo_table *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_qawo_table_n_get" "', argument " "1"" of type '" "gsl_integration_qawo_table *""'"); 0 0 0
4327 }
4328 0 arg1 = (gsl_integration_qawo_table *)(argp1);
4329 0 result = ((arg1)->n);
4330 0 ST(argvi) = SWIG_From_size_t SWIG_PERL_CALL_ARGS_1((size_t)(result)); argvi++ ;
4331
4332 0 XSRETURN(argvi);
4333 0 fail:
4334
4335 0 SWIG_croak_null();
4336 }
4337 }
4338  
4339  
4340 0 XS(_wrap_gsl_integration_qawo_table_omega_set) {
4341 {
4342 0 gsl_integration_qawo_table *arg1 = (gsl_integration_qawo_table *) 0 ;
4343 double arg2 ;
4344 0 void *argp1 = 0 ;
4345 0 int res1 = 0 ;
4346 double val2 ;
4347 0 int ecode2 = 0 ;
4348 0 int argvi = 0;
4349 0 dXSARGS;
4350
4351 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
4352 0 SWIG_croak("Usage: gsl_integration_qawo_table_omega_set(self,omega);");
4353 }
4354 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_qawo_table, 0 | 0 );
4355 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4356 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_qawo_table_omega_set" "', argument " "1"" of type '" "gsl_integration_qawo_table *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_qawo_table_omega_set" "', argument " "1"" of type '" "gsl_integration_qawo_table *""'"); 0 0 0
4357 }
4358 0 arg1 = (gsl_integration_qawo_table *)(argp1);
4359 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
4360 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
4361 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_qawo_table_omega_set" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_qawo_table_omega_set" "', argument " "2"" of type '" "double""'"); 0 0 0
4362 }
4363 0 arg2 = (double)(val2);
4364 0 ▶ if (arg1) (arg1)->omega = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->omega = arg2; 0 0 0
4365 0 ST(argvi) = &PL_sv_undef;
4366
4367
4368 0 XSRETURN(argvi);
4369 0 fail:
4370
4371
4372 0 SWIG_croak_null();
4373 }
4374 }
4375  
4376  
4377 0 XS(_wrap_gsl_integration_qawo_table_omega_get) {
4378 {
4379 0 gsl_integration_qawo_table *arg1 = (gsl_integration_qawo_table *) 0 ;
4380 0 void *argp1 = 0 ;
4381 0 int res1 = 0 ;
4382 0 int argvi = 0;
4383 double result;
4384 0 dXSARGS;
4385
4386 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
4387 0 SWIG_croak("Usage: gsl_integration_qawo_table_omega_get(self);");
4388 }
4389 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_qawo_table, 0 | 0 );
4390 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4391 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_qawo_table_omega_get" "', argument " "1"" of type '" "gsl_integration_qawo_table *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_qawo_table_omega_get" "', argument " "1"" of type '" "gsl_integration_qawo_table *""'"); 0 0 0
4392 }
4393 0 arg1 = (gsl_integration_qawo_table *)(argp1);
4394 0 result = (double) ((arg1)->omega);
4395 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
4396
4397 0 XSRETURN(argvi);
4398 0 fail:
4399
4400 0 SWIG_croak_null();
4401 }
4402 }
4403  
4404  
4405 0 XS(_wrap_gsl_integration_qawo_table_L_set) {
4406 {
4407 0 gsl_integration_qawo_table *arg1 = (gsl_integration_qawo_table *) 0 ;
4408 double arg2 ;
4409 0 void *argp1 = 0 ;
4410 0 int res1 = 0 ;
4411 double val2 ;
4412 0 int ecode2 = 0 ;
4413 0 int argvi = 0;
4414 0 dXSARGS;
4415
4416 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
4417 0 SWIG_croak("Usage: gsl_integration_qawo_table_L_set(self,L);");
4418 }
4419 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_qawo_table, 0 | 0 );
4420 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4421 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_qawo_table_L_set" "', argument " "1"" of type '" "gsl_integration_qawo_table *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_qawo_table_L_set" "', argument " "1"" of type '" "gsl_integration_qawo_table *""'"); 0 0 0
4422 }
4423 0 arg1 = (gsl_integration_qawo_table *)(argp1);
4424 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
4425 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
4426 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_qawo_table_L_set" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_qawo_table_L_set" "', argument " "2"" of type '" "double""'"); 0 0 0
4427 }
4428 0 arg2 = (double)(val2);
4429 0 ▶ if (arg1) (arg1)->L = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->L = arg2; 0 0 0
4430 0 ST(argvi) = &PL_sv_undef;
4431
4432
4433 0 XSRETURN(argvi);
4434 0 fail:
4435
4436
4437 0 SWIG_croak_null();
4438 }
4439 }
4440  
4441  
4442 0 XS(_wrap_gsl_integration_qawo_table_L_get) {
4443 {
4444 0 gsl_integration_qawo_table *arg1 = (gsl_integration_qawo_table *) 0 ;
4445 0 void *argp1 = 0 ;
4446 0 int res1 = 0 ;
4447 0 int argvi = 0;
4448 double result;
4449 0 dXSARGS;
4450
4451 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
4452 0 SWIG_croak("Usage: gsl_integration_qawo_table_L_get(self);");
4453 }
4454 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_qawo_table, 0 | 0 );
4455 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4456 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_qawo_table_L_get" "', argument " "1"" of type '" "gsl_integration_qawo_table *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_qawo_table_L_get" "', argument " "1"" of type '" "gsl_integration_qawo_table *""'"); 0 0 0
4457 }
4458 0 arg1 = (gsl_integration_qawo_table *)(argp1);
4459 0 result = (double) ((arg1)->L);
4460 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
4461
4462 0 XSRETURN(argvi);
4463 0 fail:
4464
4465 0 SWIG_croak_null();
4466 }
4467 }
4468  
4469  
4470 0 XS(_wrap_gsl_integration_qawo_table_par_set) {
4471 {
4472 0 gsl_integration_qawo_table *arg1 = (gsl_integration_qawo_table *) 0 ;
4473 double arg2 ;
4474 0 void *argp1 = 0 ;
4475 0 int res1 = 0 ;
4476 double val2 ;
4477 0 int ecode2 = 0 ;
4478 0 int argvi = 0;
4479 0 dXSARGS;
4480
4481 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
4482 0 SWIG_croak("Usage: gsl_integration_qawo_table_par_set(self,par);");
4483 }
4484 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_qawo_table, 0 | 0 );
4485 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4486 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_qawo_table_par_set" "', argument " "1"" of type '" "gsl_integration_qawo_table *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_qawo_table_par_set" "', argument " "1"" of type '" "gsl_integration_qawo_table *""'"); 0 0 0
4487 }
4488 0 arg1 = (gsl_integration_qawo_table *)(argp1);
4489 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
4490 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
4491 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_qawo_table_par_set" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_qawo_table_par_set" "', argument " "2"" of type '" "double""'"); 0 0 0
4492 }
4493 0 arg2 = (double)(val2);
4494 0 ▶ if (arg1) (arg1)->par = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->par = arg2; 0 0 0
4495 0 ST(argvi) = &PL_sv_undef;
4496
4497
4498 0 XSRETURN(argvi);
4499 0 fail:
4500
4501
4502 0 SWIG_croak_null();
4503 }
4504 }
4505  
4506  
4507 0 XS(_wrap_gsl_integration_qawo_table_par_get) {
4508 {
4509 0 gsl_integration_qawo_table *arg1 = (gsl_integration_qawo_table *) 0 ;
4510 0 void *argp1 = 0 ;
4511 0 int res1 = 0 ;
4512 0 int argvi = 0;
4513 double result;
4514 0 dXSARGS;
4515
4516 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
4517 0 SWIG_croak("Usage: gsl_integration_qawo_table_par_get(self);");
4518 }
4519 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_qawo_table, 0 | 0 );
4520 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4521 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_qawo_table_par_get" "', argument " "1"" of type '" "gsl_integration_qawo_table *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_qawo_table_par_get" "', argument " "1"" of type '" "gsl_integration_qawo_table *""'"); 0 0 0
4522 }
4523 0 arg1 = (gsl_integration_qawo_table *)(argp1);
4524 0 result = (double) ((arg1)->par);
4525 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
4526
4527 0 XSRETURN(argvi);
4528 0 fail:
4529
4530 0 SWIG_croak_null();
4531 }
4532 }
4533  
4534  
4535 0 XS(_wrap_gsl_integration_qawo_table_sine_set) {
4536 {
4537 0 gsl_integration_qawo_table *arg1 = (gsl_integration_qawo_table *) 0 ;
4538 enum gsl_integration_qawo_enum arg2 ;
4539 0 void *argp1 = 0 ;
4540 0 int res1 = 0 ;
4541 int val2 ;
4542 0 int ecode2 = 0 ;
4543 0 int argvi = 0;
4544 0 dXSARGS;
4545
4546 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
4547 0 SWIG_croak("Usage: gsl_integration_qawo_table_sine_set(self,sine);");
4548 }
4549 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_qawo_table, 0 | 0 );
4550 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4551 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_qawo_table_sine_set" "', argument " "1"" of type '" "gsl_integration_qawo_table *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_qawo_table_sine_set" "', argument " "1"" of type '" "gsl_integration_qawo_table *""'"); 0 0 0
4552 }
4553 0 arg1 = (gsl_integration_qawo_table *)(argp1);
4554 0 ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
4555 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
4556 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_qawo_table_sine_set" "', argument " "2"" of type '" "enum gsl_integration_qawo_enum""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_qawo_table_sine_set" "', argument " "2"" of type '" "enum gsl_integration_qawo_enum""'"); 0 0 0
4557 }
4558 0 arg2 = (enum gsl_integration_qawo_enum)(val2);
4559 0 ▶ if (arg1) (arg1)->sine = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->sine = arg2; 0 0 0
4560 0 ST(argvi) = &PL_sv_undef;
4561
4562
4563 0 XSRETURN(argvi);
4564 0 fail:
4565
4566
4567 0 SWIG_croak_null();
4568 }
4569 }
4570  
4571  
4572 0 XS(_wrap_gsl_integration_qawo_table_sine_get) {
4573 {
4574 0 gsl_integration_qawo_table *arg1 = (gsl_integration_qawo_table *) 0 ;
4575 0 void *argp1 = 0 ;
4576 0 int res1 = 0 ;
4577 0 int argvi = 0;
4578 enum gsl_integration_qawo_enum result;
4579 0 dXSARGS;
4580
4581 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
4582 0 SWIG_croak("Usage: gsl_integration_qawo_table_sine_get(self);");
4583 }
4584 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_qawo_table, 0 | 0 );
4585 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4586 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_qawo_table_sine_get" "', argument " "1"" of type '" "gsl_integration_qawo_table *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_qawo_table_sine_get" "', argument " "1"" of type '" "gsl_integration_qawo_table *""'"); 0 0 0
4587 }
4588 0 arg1 = (gsl_integration_qawo_table *)(argp1);
4589 0 result = (enum gsl_integration_qawo_enum) ((arg1)->sine);
4590 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
4591
4592 0 XSRETURN(argvi);
4593 0 fail:
4594
4595 0 SWIG_croak_null();
4596 }
4597 }
4598  
4599  
4600 0 XS(_wrap_gsl_integration_qawo_table_chebmo_set) {
4601 {
4602 0 gsl_integration_qawo_table *arg1 = (gsl_integration_qawo_table *) 0 ;
4603 0 double *arg2 = (double *) 0 ;
4604 0 void *argp1 = 0 ;
4605 0 int res1 = 0 ;
4606 0 void *argp2 = 0 ;
4607 0 int res2 = 0 ;
4608 0 int argvi = 0;
4609 0 dXSARGS;
4610
4611 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
4612 0 SWIG_croak("Usage: gsl_integration_qawo_table_chebmo_set(self,chebmo);");
4613 }
4614 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_qawo_table, 0 | 0 );
4615 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4616 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_qawo_table_chebmo_set" "', argument " "1"" of type '" "gsl_integration_qawo_table *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_qawo_table_chebmo_set" "', argument " "1"" of type '" "gsl_integration_qawo_table *""'"); 0 0 0
4617 }
4618 0 arg1 = (gsl_integration_qawo_table *)(argp1);
4619 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, SWIG_POINTER_DISOWN | 0 );
4620 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
4621 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_integration_qawo_table_chebmo_set" "', argument " "2"" of type '" "double *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_integration_qawo_table_chebmo_set" "', argument " "2"" of type '" "double *""'"); 0 0 0
4622 }
4623 0 arg2 = (double *)(argp2);
4624 0 ▶ if (arg1) (arg1)->chebmo = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->chebmo = arg2; 0 0 0
4625 0 ST(argvi) = &PL_sv_undef;
4626
4627
4628 0 XSRETURN(argvi);
4629 0 fail:
4630
4631
4632 0 SWIG_croak_null();
4633 }
4634 }
4635  
4636  
4637 0 XS(_wrap_gsl_integration_qawo_table_chebmo_get) {
4638 {
4639 0 gsl_integration_qawo_table *arg1 = (gsl_integration_qawo_table *) 0 ;
4640 0 void *argp1 = 0 ;
4641 0 int res1 = 0 ;
4642 0 int argvi = 0;
4643 0 double *result = 0 ;
4644 0 dXSARGS;
4645
4646 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
4647 0 SWIG_croak("Usage: gsl_integration_qawo_table_chebmo_get(self);");
4648 }
4649 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_qawo_table, 0 | 0 );
4650 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4651 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_qawo_table_chebmo_get" "', argument " "1"" of type '" "gsl_integration_qawo_table *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_qawo_table_chebmo_get" "', argument " "1"" of type '" "gsl_integration_qawo_table *""'"); 0 0 0
4652 }
4653 0 arg1 = (gsl_integration_qawo_table *)(argp1);
4654 0 result = (double *) ((arg1)->chebmo);
4655 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0); argvi++ ;
4656
4657 0 XSRETURN(argvi);
4658 0 fail:
4659
4660 0 SWIG_croak_null();
4661 }
4662 }
4663  
4664  
4665 0 XS(_wrap_new_gsl_integration_qawo_table) {
4666 {
4667 0 int argvi = 0;
4668 0 gsl_integration_qawo_table *result = 0 ;
4669 0 dXSARGS;
4670
4671 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
4672 0 SWIG_croak("Usage: new_gsl_integration_qawo_table();");
4673 }
4674 0 result = (gsl_integration_qawo_table *)calloc(1, sizeof(gsl_integration_qawo_table));
4675 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_integration_qawo_table, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
4676 0 XSRETURN(argvi);
4677 0 fail:
4678 0 SWIG_croak_null();
4679 }
4680 }
4681  
4682  
4683 0 XS(_wrap_delete_gsl_integration_qawo_table) {
4684 {
4685 0 gsl_integration_qawo_table *arg1 = (gsl_integration_qawo_table *) 0 ;
4686 0 void *argp1 = 0 ;
4687 0 int res1 = 0 ;
4688 0 int argvi = 0;
4689 0 dXSARGS;
4690
4691 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
4692 0 SWIG_croak("Usage: delete_gsl_integration_qawo_table(self);");
4693 }
4694 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_qawo_table, SWIG_POINTER_DISOWN | 0 );
4695 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4696 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_gsl_integration_qawo_table" "', argument " "1"" of type '" "gsl_integration_qawo_table *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_gsl_integration_qawo_table" "', argument " "1"" of type '" "gsl_integration_qawo_table *""'"); 0 0 0
4697 }
4698 0 arg1 = (gsl_integration_qawo_table *)(argp1);
4699 0 free((char *) arg1);
4700 0 ST(argvi) = &PL_sv_undef;
4701
4702 0 XSRETURN(argvi);
4703 0 fail:
4704
4705 0 SWIG_croak_null();
4706 }
4707 }
4708  
4709  
4710 0 XS(_wrap_gsl_integration_qawo_table_alloc) {
4711 {
4712 double arg1 ;
4713 double arg2 ;
4714 enum gsl_integration_qawo_enum arg3 ;
4715 size_t arg4 ;
4716 double val1 ;
4717 0 int ecode1 = 0 ;
4718 double val2 ;
4719 0 int ecode2 = 0 ;
4720 int val3 ;
4721 0 int ecode3 = 0 ;
4722 size_t val4 ;
4723 0 int ecode4 = 0 ;
4724 0 int argvi = 0;
4725 0 gsl_integration_qawo_table *result = 0 ;
4726 0 dXSARGS;
4727
4728 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
4729 0 SWIG_croak("Usage: gsl_integration_qawo_table_alloc(omega,L,sine,n);");
4730 }
4731 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
4732 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
4733 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_integration_qawo_table_alloc" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_integration_qawo_table_alloc" "', argument " "1"" of type '" "double""'"); 0 0 0
4734 }
4735 0 arg1 = (double)(val1);
4736 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
4737 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
4738 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_qawo_table_alloc" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_qawo_table_alloc" "', argument " "2"" of type '" "double""'"); 0 0 0
4739 }
4740 0 arg2 = (double)(val2);
4741 0 ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
4742 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
4743 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_integration_qawo_table_alloc" "', argument " "3"" of type '" "enum gsl_integration_qawo_enum""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_integration_qawo_table_alloc" "', argument " "3"" of type '" "enum gsl_integration_qawo_enum""'"); 0 0 0
4744 }
4745 0 arg3 = (enum gsl_integration_qawo_enum)(val3);
4746 0 ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
4747 0 ▶ if (!SWIG_IsOK(ecode4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode4)) { 0 0 0
4748 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_integration_qawo_table_alloc" "', argument " "4"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_integration_qawo_table_alloc" "', argument " "4"" of type '" "size_t""'"); 0 0 0
4749 }
4750 0 arg4 = (size_t)(val4);
4751 0 result = (gsl_integration_qawo_table *)gsl_integration_qawo_table_alloc(arg1,arg2,arg3,arg4);
4752 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_integration_qawo_table, 0 | SWIG_SHADOW); argvi++ ;
4753
4754
4755
4756
4757 0 XSRETURN(argvi);
4758 0 fail:
4759
4760
4761
4762
4763 0 SWIG_croak_null();
4764 }
4765 }
4766  
4767  
4768 0 XS(_wrap_gsl_integration_qawo_table_set) {
4769 {
4770 0 gsl_integration_qawo_table *arg1 = (gsl_integration_qawo_table *) 0 ;
4771 double arg2 ;
4772 double arg3 ;
4773 enum gsl_integration_qawo_enum arg4 ;
4774 0 void *argp1 = 0 ;
4775 0 int res1 = 0 ;
4776 double val2 ;
4777 0 int ecode2 = 0 ;
4778 double val3 ;
4779 0 int ecode3 = 0 ;
4780 int val4 ;
4781 0 int ecode4 = 0 ;
4782 0 int argvi = 0;
4783 int result;
4784 0 dXSARGS;
4785
4786 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
4787 0 SWIG_croak("Usage: gsl_integration_qawo_table_set(t,omega,L,sine);");
4788 }
4789 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_qawo_table, 0 | 0 );
4790 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4791 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_qawo_table_set" "', argument " "1"" of type '" "gsl_integration_qawo_table *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_qawo_table_set" "', argument " "1"" of type '" "gsl_integration_qawo_table *""'"); 0 0 0
4792 }
4793 0 arg1 = (gsl_integration_qawo_table *)(argp1);
4794 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
4795 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
4796 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_qawo_table_set" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_qawo_table_set" "', argument " "2"" of type '" "double""'"); 0 0 0
4797 }
4798 0 arg2 = (double)(val2);
4799 0 ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
4800 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
4801 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_integration_qawo_table_set" "', argument " "3"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_integration_qawo_table_set" "', argument " "3"" of type '" "double""'"); 0 0 0
4802 }
4803 0 arg3 = (double)(val3);
4804 0 ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
4805 0 ▶ if (!SWIG_IsOK(ecode4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode4)) { 0 0 0
4806 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_integration_qawo_table_set" "', argument " "4"" of type '" "enum gsl_integration_qawo_enum""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_integration_qawo_table_set" "', argument " "4"" of type '" "enum gsl_integration_qawo_enum""'"); 0 0 0
4807 }
4808 0 arg4 = (enum gsl_integration_qawo_enum)(val4);
4809 0 result = (int)gsl_integration_qawo_table_set(arg1,arg2,arg3,arg4);
4810 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
4811
4812
4813
4814
4815 0 XSRETURN(argvi);
4816 0 fail:
4817
4818
4819
4820
4821 0 SWIG_croak_null();
4822 }
4823 }
4824  
4825  
4826 0 XS(_wrap_gsl_integration_qawo_table_set_length) {
4827 {
4828 0 gsl_integration_qawo_table *arg1 = (gsl_integration_qawo_table *) 0 ;
4829 double arg2 ;
4830 0 void *argp1 = 0 ;
4831 0 int res1 = 0 ;
4832 double val2 ;
4833 0 int ecode2 = 0 ;
4834 0 int argvi = 0;
4835 int result;
4836 0 dXSARGS;
4837
4838 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
4839 0 SWIG_croak("Usage: gsl_integration_qawo_table_set_length(t,L);");
4840 }
4841 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_qawo_table, 0 | 0 );
4842 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4843 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_qawo_table_set_length" "', argument " "1"" of type '" "gsl_integration_qawo_table *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_qawo_table_set_length" "', argument " "1"" of type '" "gsl_integration_qawo_table *""'"); 0 0 0
4844 }
4845 0 arg1 = (gsl_integration_qawo_table *)(argp1);
4846 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
4847 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
4848 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_qawo_table_set_length" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_qawo_table_set_length" "', argument " "2"" of type '" "double""'"); 0 0 0
4849 }
4850 0 arg2 = (double)(val2);
4851 0 result = (int)gsl_integration_qawo_table_set_length(arg1,arg2);
4852 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
4853
4854
4855 0 XSRETURN(argvi);
4856 0 fail:
4857
4858
4859 0 SWIG_croak_null();
4860 }
4861 }
4862  
4863  
4864 0 XS(_wrap_gsl_integration_qawo_table_free) {
4865 {
4866 0 gsl_integration_qawo_table *arg1 = (gsl_integration_qawo_table *) 0 ;
4867 0 void *argp1 = 0 ;
4868 0 int res1 = 0 ;
4869 0 int argvi = 0;
4870 0 dXSARGS;
4871
4872 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
4873 0 SWIG_croak("Usage: gsl_integration_qawo_table_free(t);");
4874 }
4875 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_qawo_table, 0 | 0 );
4876 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4877 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_qawo_table_free" "', argument " "1"" of type '" "gsl_integration_qawo_table *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_qawo_table_free" "', argument " "1"" of type '" "gsl_integration_qawo_table *""'"); 0 0 0
4878 }
4879 0 arg1 = (gsl_integration_qawo_table *)(argp1);
4880 0 gsl_integration_qawo_table_free(arg1);
4881 0 ST(argvi) = &PL_sv_undef;
4882
4883 0 XSRETURN(argvi);
4884 0 fail:
4885
4886 0 SWIG_croak_null();
4887 }
4888 }
4889  
4890  
4891 0 XS(_wrap_gsl_integration_qk15) {
4892 {
4893 0 gsl_function *arg1 = (gsl_function *) 0 ;
4894 double arg2 ;
4895 double arg3 ;
4896 0 double *arg4 = (double *) 0 ;
4897 0 double *arg5 = (double *) 0 ;
4898 0 double *arg6 = (double *) 0 ;
4899 0 double *arg7 = (double *) 0 ;
4900 double val2 ;
4901 0 int ecode2 = 0 ;
4902 double val3 ;
4903 0 int ecode3 = 0 ;
4904 double temp4 ;
4905 0 int res4 = SWIG_TMPOBJ ;
4906 double temp5 ;
4907 0 int res5 = SWIG_TMPOBJ ;
4908 0 void *argp6 = 0 ;
4909 0 int res6 = 0 ;
4910 0 void *argp7 = 0 ;
4911 0 int res7 = 0 ;
4912 0 int argvi = 0;
4913 0 dXSARGS;
4914
4915 0 arg4 = &temp4;
4916 0 arg5 = &temp5;
4917 0 ▶ if ((items < 5) || (items > 5)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 5) || (items > 5)) { 0 0 0
if ((items < 5) || (items > 5)) { 0 0 0
4918 0 SWIG_croak("Usage: gsl_integration_qk15(f,a,b,resabs,resasc);");
4919 }
4920 {
4921 0 SV * function = 0;
4922 0 SV * params = 0;
4923 struct gsl_function_perl *w_gsl_function;
4924 0 Newx(w_gsl_function, 1, struct gsl_function_perl);
4925
4926 0 ▶ if (SvROK(ST(0)) && (SvTYPE(SvRV(ST(0))) == SVt_PVAV)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SvROK(ST(0)) && (SvTYPE(SvRV(ST(0))) == SVt_PVAV)) { 0 0 0
if (SvROK(ST(0)) && (SvTYPE(SvRV(ST(0))) == SVt_PVAV)) { 0 0 0
4927 0 AV* array=(AV*)SvRV(ST(0));
4928 0 SV ** p_function = 0;
4929 0 ▶ if (av_len(array)<0) {
Branch: 1 branch
BranchTrueFalseTotal
if (av_len(array)<0) { 0 0 0
4930 0 croak("Math::GSL : $f is an empty array!");
4931 }
4932 0 ▶ if (av_len(array)>1) {
Branch: 1 branch
BranchTrueFalseTotal
if (av_len(array)>1) { 0 0 0
4933 0 croak("Math::GSL : $f is an array with more than 2 elements!");
4934 }
4935 0 p_function = av_fetch(array, 0, 0);
4936 0 function = *p_function;
4937 0 ▶ if (av_len(array)>0) {
Branch: 1 branch
BranchTrueFalseTotal
if (av_len(array)>0) { 0 0 0
4938 0 SV ** p_params = 0;
4939 0 p_params = av_fetch(array, 1, 0);
4940 0 params = *p_params;
4941 }
4942 } else {
4943 0 function = ST(0);
4944 }
4945
4946 0 ▶ if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) {
Branch: 4 branches
BranchTrueFalseTotal
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
4947 0 croak("Math::GSL : $f is not a reference to code!");
4948 }
4949
4950 0 function = newSVsv(function);
4951
4952 0 ▶ if (! params) {
Branch: 1 branch
BranchTrueFalseTotal
if (! params) { 0 0 0
4953 0 params=&PL_sv_undef;
4954 }
4955 0 params = newSVsv(params);
4956
4957 0 w_gsl_function->params = params;
4958 0 w_gsl_function->function = function;
4959 0 w_gsl_function->C_gsl_function.params = w_gsl_function;
4960 0 w_gsl_function->C_gsl_function.function = &call_gsl_function;
4961
4962 0 arg1 = &(w_gsl_function->C_gsl_function);
4963 }
4964 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
4965 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
4966 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_qk15" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_qk15" "', argument " "2"" of type '" "double""'"); 0 0 0
4967 }
4968 0 arg2 = (double)(val2);
4969 0 ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
4970 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
4971 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_integration_qk15" "', argument " "3"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_integration_qk15" "', argument " "3"" of type '" "double""'"); 0 0 0
4972 }
4973 0 arg3 = (double)(val3);
4974 0 res6 = SWIG_ConvertPtr(ST(3), &argp6,SWIGTYPE_p_double, 0 | 0 );
4975 0 ▶ if (!SWIG_IsOK(res6)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res6)) { 0 0 0
4976 0 ▶ SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "gsl_integration_qk15" "', argument " "6"" of type '" "double *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "gsl_integration_qk15" "', argument " "6"" of type '" "double *""'"); 0 0 0
4977 }
4978 0 arg6 = (double *)(argp6);
4979 0 res7 = SWIG_ConvertPtr(ST(4), &argp7,SWIGTYPE_p_double, 0 | 0 );
4980 0 ▶ if (!SWIG_IsOK(res7)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res7)) { 0 0 0
4981 0 ▶ SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "gsl_integration_qk15" "', argument " "7"" of type '" "double *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "gsl_integration_qk15" "', argument " "7"" of type '" "double *""'"); 0 0 0
4982 }
4983 0 arg7 = (double *)(argp7);
4984 0 gsl_integration_qk15((struct gsl_function_struct const *)arg1,arg2,arg3,arg4,arg5,arg6,arg7);
4985 0 ST(argvi) = &PL_sv_undef;
4986 0 ▶ if (SWIG_IsTmpObj(res4)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SWIG_IsTmpObj(res4)) { 0 0 0
if (SWIG_IsTmpObj(res4)) { 0 0 0
4987 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
4988 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
4989 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((*arg4)); argvi++ /*@SWIG@*/;
4990 } else {
4991 0 ▶ int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0) : 0;
Branch: 2 branches
BranchTrueFalseTotal
int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
4992 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
4993 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
4994 0 ST(argvi) = SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, new_flags); argvi++ /*@SWIG@*/;
4995 }
4996 0 ▶ if (SWIG_IsTmpObj(res5)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SWIG_IsTmpObj(res5)) { 0 0 0
if (SWIG_IsTmpObj(res5)) { 0 0 0
4997 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
4998 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
4999 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((*arg5)); argvi++ /*@SWIG@*/;
5000 } else {
5001 0 ▶ int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0) : 0;
Branch: 2 branches
BranchTrueFalseTotal
int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
5002 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
5003 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
5004 0 ST(argvi) = SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_double, new_flags); argvi++ /*@SWIG@*/;
5005 }
5006 {
5007 0 struct gsl_function_perl *p=(struct gsl_function_perl *) arg1->params;
5008 0 gsl_function_perl_free(p);
5009 }
5010
5011
5012
5013
5014
5015
5016 0 XSRETURN(argvi);
5017 0 fail:
5018 {
5019 0 struct gsl_function_perl *p=(struct gsl_function_perl *) arg1->params;
5020 0 gsl_function_perl_free(p);
5021 }
5022
5023
5024
5025
5026
5027
5028 0 SWIG_croak_null();
5029 }
5030 }
5031  
5032  
5033 0 XS(_wrap_gsl_integration_qk21) {
5034 {
5035 0 gsl_function *arg1 = (gsl_function *) 0 ;
5036 double arg2 ;
5037 double arg3 ;
5038 0 double *arg4 = (double *) 0 ;
5039 0 double *arg5 = (double *) 0 ;
5040 0 double *arg6 = (double *) 0 ;
5041 0 double *arg7 = (double *) 0 ;
5042 double val2 ;
5043 0 int ecode2 = 0 ;
5044 double val3 ;
5045 0 int ecode3 = 0 ;
5046 double temp4 ;
5047 0 int res4 = SWIG_TMPOBJ ;
5048 double temp5 ;
5049 0 int res5 = SWIG_TMPOBJ ;
5050 0 void *argp6 = 0 ;
5051 0 int res6 = 0 ;
5052 0 void *argp7 = 0 ;
5053 0 int res7 = 0 ;
5054 0 int argvi = 0;
5055 0 dXSARGS;
5056
5057 0 arg4 = &temp4;
5058 0 arg5 = &temp5;
5059 0 ▶ if ((items < 5) || (items > 5)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 5) || (items > 5)) { 0 0 0
if ((items < 5) || (items > 5)) { 0 0 0
5060 0 SWIG_croak("Usage: gsl_integration_qk21(f,a,b,resabs,resasc);");
5061 }
5062 {
5063 0 SV * function = 0;
5064 0 SV * params = 0;
5065 struct gsl_function_perl *w_gsl_function;
5066 0 Newx(w_gsl_function, 1, struct gsl_function_perl);
5067
5068 0 ▶ if (SvROK(ST(0)) && (SvTYPE(SvRV(ST(0))) == SVt_PVAV)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SvROK(ST(0)) && (SvTYPE(SvRV(ST(0))) == SVt_PVAV)) { 0 0 0
if (SvROK(ST(0)) && (SvTYPE(SvRV(ST(0))) == SVt_PVAV)) { 0 0 0
5069 0 AV* array=(AV*)SvRV(ST(0));
5070 0 SV ** p_function = 0;
5071 0 ▶ if (av_len(array)<0) {
Branch: 1 branch
BranchTrueFalseTotal
if (av_len(array)<0) { 0 0 0
5072 0 croak("Math::GSL : $f is an empty array!");
5073 }
5074 0 ▶ if (av_len(array)>1) {
Branch: 1 branch
BranchTrueFalseTotal
if (av_len(array)>1) { 0 0 0
5075 0 croak("Math::GSL : $f is an array with more than 2 elements!");
5076 }
5077 0 p_function = av_fetch(array, 0, 0);
5078 0 function = *p_function;
5079 0 ▶ if (av_len(array)>0) {
Branch: 1 branch
BranchTrueFalseTotal
if (av_len(array)>0) { 0 0 0
5080 0 SV ** p_params = 0;
5081 0 p_params = av_fetch(array, 1, 0);
5082 0 params = *p_params;
5083 }
5084 } else {
5085 0 function = ST(0);
5086 }
5087
5088 0 ▶ if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) {
Branch: 4 branches
BranchTrueFalseTotal
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
5089 0 croak("Math::GSL : $f is not a reference to code!");
5090 }
5091
5092 0 function = newSVsv(function);
5093
5094 0 ▶ if (! params) {
Branch: 1 branch
BranchTrueFalseTotal
if (! params) { 0 0 0
5095 0 params=&PL_sv_undef;
5096 }
5097 0 params = newSVsv(params);
5098
5099 0 w_gsl_function->params = params;
5100 0 w_gsl_function->function = function;
5101 0 w_gsl_function->C_gsl_function.params = w_gsl_function;
5102 0 w_gsl_function->C_gsl_function.function = &call_gsl_function;
5103
5104 0 arg1 = &(w_gsl_function->C_gsl_function);
5105 }
5106 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5107 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
5108 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_qk21" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_qk21" "', argument " "2"" of type '" "double""'"); 0 0 0
5109 }
5110 0 arg2 = (double)(val2);
5111 0 ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
5112 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
5113 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_integration_qk21" "', argument " "3"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_integration_qk21" "', argument " "3"" of type '" "double""'"); 0 0 0
5114 }
5115 0 arg3 = (double)(val3);
5116 0 res6 = SWIG_ConvertPtr(ST(3), &argp6,SWIGTYPE_p_double, 0 | 0 );
5117 0 ▶ if (!SWIG_IsOK(res6)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res6)) { 0 0 0
5118 0 ▶ SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "gsl_integration_qk21" "', argument " "6"" of type '" "double *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "gsl_integration_qk21" "', argument " "6"" of type '" "double *""'"); 0 0 0
5119 }
5120 0 arg6 = (double *)(argp6);
5121 0 res7 = SWIG_ConvertPtr(ST(4), &argp7,SWIGTYPE_p_double, 0 | 0 );
5122 0 ▶ if (!SWIG_IsOK(res7)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res7)) { 0 0 0
5123 0 ▶ SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "gsl_integration_qk21" "', argument " "7"" of type '" "double *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "gsl_integration_qk21" "', argument " "7"" of type '" "double *""'"); 0 0 0
5124 }
5125 0 arg7 = (double *)(argp7);
5126 0 gsl_integration_qk21((struct gsl_function_struct const *)arg1,arg2,arg3,arg4,arg5,arg6,arg7);
5127 0 ST(argvi) = &PL_sv_undef;
5128 0 ▶ if (SWIG_IsTmpObj(res4)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SWIG_IsTmpObj(res4)) { 0 0 0
if (SWIG_IsTmpObj(res4)) { 0 0 0
5129 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
5130 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
5131 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((*arg4)); argvi++ /*@SWIG@*/;
5132 } else {
5133 0 ▶ int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0) : 0;
Branch: 2 branches
BranchTrueFalseTotal
int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
5134 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
5135 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
5136 0 ST(argvi) = SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, new_flags); argvi++ /*@SWIG@*/;
5137 }
5138 0 ▶ if (SWIG_IsTmpObj(res5)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SWIG_IsTmpObj(res5)) { 0 0 0
if (SWIG_IsTmpObj(res5)) { 0 0 0
5139 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
5140 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
5141 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((*arg5)); argvi++ /*@SWIG@*/;
5142 } else {
5143 0 ▶ int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0) : 0;
Branch: 2 branches
BranchTrueFalseTotal
int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
5144 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
5145 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
5146 0 ST(argvi) = SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_double, new_flags); argvi++ /*@SWIG@*/;
5147 }
5148 {
5149 0 struct gsl_function_perl *p=(struct gsl_function_perl *) arg1->params;
5150 0 gsl_function_perl_free(p);
5151 }
5152
5153
5154
5155
5156
5157
5158 0 XSRETURN(argvi);
5159 0 fail:
5160 {
5161 0 struct gsl_function_perl *p=(struct gsl_function_perl *) arg1->params;
5162 0 gsl_function_perl_free(p);
5163 }
5164
5165
5166
5167
5168
5169
5170 0 SWIG_croak_null();
5171 }
5172 }
5173  
5174  
5175 0 XS(_wrap_gsl_integration_qk31) {
5176 {
5177 0 gsl_function *arg1 = (gsl_function *) 0 ;
5178 double arg2 ;
5179 double arg3 ;
5180 0 double *arg4 = (double *) 0 ;
5181 0 double *arg5 = (double *) 0 ;
5182 0 double *arg6 = (double *) 0 ;
5183 0 double *arg7 = (double *) 0 ;
5184 double val2 ;
5185 0 int ecode2 = 0 ;
5186 double val3 ;
5187 0 int ecode3 = 0 ;
5188 double temp4 ;
5189 0 int res4 = SWIG_TMPOBJ ;
5190 double temp5 ;
5191 0 int res5 = SWIG_TMPOBJ ;
5192 0 void *argp6 = 0 ;
5193 0 int res6 = 0 ;
5194 0 void *argp7 = 0 ;
5195 0 int res7 = 0 ;
5196 0 int argvi = 0;
5197 0 dXSARGS;
5198
5199 0 arg4 = &temp4;
5200 0 arg5 = &temp5;
5201 0 ▶ if ((items < 5) || (items > 5)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 5) || (items > 5)) { 0 0 0
if ((items < 5) || (items > 5)) { 0 0 0
5202 0 SWIG_croak("Usage: gsl_integration_qk31(f,a,b,resabs,resasc);");
5203 }
5204 {
5205 0 SV * function = 0;
5206 0 SV * params = 0;
5207 struct gsl_function_perl *w_gsl_function;
5208 0 Newx(w_gsl_function, 1, struct gsl_function_perl);
5209
5210 0 ▶ if (SvROK(ST(0)) && (SvTYPE(SvRV(ST(0))) == SVt_PVAV)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SvROK(ST(0)) && (SvTYPE(SvRV(ST(0))) == SVt_PVAV)) { 0 0 0
if (SvROK(ST(0)) && (SvTYPE(SvRV(ST(0))) == SVt_PVAV)) { 0 0 0
5211 0 AV* array=(AV*)SvRV(ST(0));
5212 0 SV ** p_function = 0;
5213 0 ▶ if (av_len(array)<0) {
Branch: 1 branch
BranchTrueFalseTotal
if (av_len(array)<0) { 0 0 0
5214 0 croak("Math::GSL : $f is an empty array!");
5215 }
5216 0 ▶ if (av_len(array)>1) {
Branch: 1 branch
BranchTrueFalseTotal
if (av_len(array)>1) { 0 0 0
5217 0 croak("Math::GSL : $f is an array with more than 2 elements!");
5218 }
5219 0 p_function = av_fetch(array, 0, 0);
5220 0 function = *p_function;
5221 0 ▶ if (av_len(array)>0) {
Branch: 1 branch
BranchTrueFalseTotal
if (av_len(array)>0) { 0 0 0
5222 0 SV ** p_params = 0;
5223 0 p_params = av_fetch(array, 1, 0);
5224 0 params = *p_params;
5225 }
5226 } else {
5227 0 function = ST(0);
5228 }
5229
5230 0 ▶ if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) {
Branch: 4 branches
BranchTrueFalseTotal
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
5231 0 croak("Math::GSL : $f is not a reference to code!");
5232 }
5233
5234 0 function = newSVsv(function);
5235
5236 0 ▶ if (! params) {
Branch: 1 branch
BranchTrueFalseTotal
if (! params) { 0 0 0
5237 0 params=&PL_sv_undef;
5238 }
5239 0 params = newSVsv(params);
5240
5241 0 w_gsl_function->params = params;
5242 0 w_gsl_function->function = function;
5243 0 w_gsl_function->C_gsl_function.params = w_gsl_function;
5244 0 w_gsl_function->C_gsl_function.function = &call_gsl_function;
5245
5246 0 arg1 = &(w_gsl_function->C_gsl_function);
5247 }
5248 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5249 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
5250 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_qk31" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_qk31" "', argument " "2"" of type '" "double""'"); 0 0 0
5251 }
5252 0 arg2 = (double)(val2);
5253 0 ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
5254 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
5255 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_integration_qk31" "', argument " "3"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_integration_qk31" "', argument " "3"" of type '" "double""'"); 0 0 0
5256 }
5257 0 arg3 = (double)(val3);
5258 0 res6 = SWIG_ConvertPtr(ST(3), &argp6,SWIGTYPE_p_double, 0 | 0 );
5259 0 ▶ if (!SWIG_IsOK(res6)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res6)) { 0 0 0
5260 0 ▶ SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "gsl_integration_qk31" "', argument " "6"" of type '" "double *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "gsl_integration_qk31" "', argument " "6"" of type '" "double *""'"); 0 0 0
5261 }
5262 0 arg6 = (double *)(argp6);
5263 0 res7 = SWIG_ConvertPtr(ST(4), &argp7,SWIGTYPE_p_double, 0 | 0 );
5264 0 ▶ if (!SWIG_IsOK(res7)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res7)) { 0 0 0
5265 0 ▶ SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "gsl_integration_qk31" "', argument " "7"" of type '" "double *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "gsl_integration_qk31" "', argument " "7"" of type '" "double *""'"); 0 0 0
5266 }
5267 0 arg7 = (double *)(argp7);
5268 0 gsl_integration_qk31((struct gsl_function_struct const *)arg1,arg2,arg3,arg4,arg5,arg6,arg7);
5269 0 ST(argvi) = &PL_sv_undef;
5270 0 ▶ if (SWIG_IsTmpObj(res4)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SWIG_IsTmpObj(res4)) { 0 0 0
if (SWIG_IsTmpObj(res4)) { 0 0 0
5271 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
5272 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
5273 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((*arg4)); argvi++ /*@SWIG@*/;
5274 } else {
5275 0 ▶ int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0) : 0;
Branch: 2 branches
BranchTrueFalseTotal
int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
5276 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
5277 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
5278 0 ST(argvi) = SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, new_flags); argvi++ /*@SWIG@*/;
5279 }
5280 0 ▶ if (SWIG_IsTmpObj(res5)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SWIG_IsTmpObj(res5)) { 0 0 0
if (SWIG_IsTmpObj(res5)) { 0 0 0
5281 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
5282 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
5283 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((*arg5)); argvi++ /*@SWIG@*/;
5284 } else {
5285 0 ▶ int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0) : 0;
Branch: 2 branches
BranchTrueFalseTotal
int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
5286 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
5287 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
5288 0 ST(argvi) = SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_double, new_flags); argvi++ /*@SWIG@*/;
5289 }
5290 {
5291 0 struct gsl_function_perl *p=(struct gsl_function_perl *) arg1->params;
5292 0 gsl_function_perl_free(p);
5293 }
5294
5295
5296
5297
5298
5299
5300 0 XSRETURN(argvi);
5301 0 fail:
5302 {
5303 0 struct gsl_function_perl *p=(struct gsl_function_perl *) arg1->params;
5304 0 gsl_function_perl_free(p);
5305 }
5306
5307
5308
5309
5310
5311
5312 0 SWIG_croak_null();
5313 }
5314 }
5315  
5316  
5317 0 XS(_wrap_gsl_integration_qk41) {
5318 {
5319 0 gsl_function *arg1 = (gsl_function *) 0 ;
5320 double arg2 ;
5321 double arg3 ;
5322 0 double *arg4 = (double *) 0 ;
5323 0 double *arg5 = (double *) 0 ;
5324 0 double *arg6 = (double *) 0 ;
5325 0 double *arg7 = (double *) 0 ;
5326 double val2 ;
5327 0 int ecode2 = 0 ;
5328 double val3 ;
5329 0 int ecode3 = 0 ;
5330 double temp4 ;
5331 0 int res4 = SWIG_TMPOBJ ;
5332 double temp5 ;
5333 0 int res5 = SWIG_TMPOBJ ;
5334 0 void *argp6 = 0 ;
5335 0 int res6 = 0 ;
5336 0 void *argp7 = 0 ;
5337 0 int res7 = 0 ;
5338 0 int argvi = 0;
5339 0 dXSARGS;
5340
5341 0 arg4 = &temp4;
5342 0 arg5 = &temp5;
5343 0 ▶ if ((items < 5) || (items > 5)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 5) || (items > 5)) { 0 0 0
if ((items < 5) || (items > 5)) { 0 0 0
5344 0 SWIG_croak("Usage: gsl_integration_qk41(f,a,b,resabs,resasc);");
5345 }
5346 {
5347 0 SV * function = 0;
5348 0 SV * params = 0;
5349 struct gsl_function_perl *w_gsl_function;
5350 0 Newx(w_gsl_function, 1, struct gsl_function_perl);
5351
5352 0 ▶ if (SvROK(ST(0)) && (SvTYPE(SvRV(ST(0))) == SVt_PVAV)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SvROK(ST(0)) && (SvTYPE(SvRV(ST(0))) == SVt_PVAV)) { 0 0 0
if (SvROK(ST(0)) && (SvTYPE(SvRV(ST(0))) == SVt_PVAV)) { 0 0 0
5353 0 AV* array=(AV*)SvRV(ST(0));
5354 0 SV ** p_function = 0;
5355 0 ▶ if (av_len(array)<0) {
Branch: 1 branch
BranchTrueFalseTotal
if (av_len(array)<0) { 0 0 0
5356 0 croak("Math::GSL : $f is an empty array!");
5357 }
5358 0 ▶ if (av_len(array)>1) {
Branch: 1 branch
BranchTrueFalseTotal
if (av_len(array)>1) { 0 0 0
5359 0 croak("Math::GSL : $f is an array with more than 2 elements!");
5360 }
5361 0 p_function = av_fetch(array, 0, 0);
5362 0 function = *p_function;
5363 0 ▶ if (av_len(array)>0) {
Branch: 1 branch
BranchTrueFalseTotal
if (av_len(array)>0) { 0 0 0
5364 0 SV ** p_params = 0;
5365 0 p_params = av_fetch(array, 1, 0);
5366 0 params = *p_params;
5367 }
5368 } else {
5369 0 function = ST(0);
5370 }
5371
5372 0 ▶ if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) {
Branch: 4 branches
BranchTrueFalseTotal
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
5373 0 croak("Math::GSL : $f is not a reference to code!");
5374 }
5375
5376 0 function = newSVsv(function);
5377
5378 0 ▶ if (! params) {
Branch: 1 branch
BranchTrueFalseTotal
if (! params) { 0 0 0
5379 0 params=&PL_sv_undef;
5380 }
5381 0 params = newSVsv(params);
5382
5383 0 w_gsl_function->params = params;
5384 0 w_gsl_function->function = function;
5385 0 w_gsl_function->C_gsl_function.params = w_gsl_function;
5386 0 w_gsl_function->C_gsl_function.function = &call_gsl_function;
5387
5388 0 arg1 = &(w_gsl_function->C_gsl_function);
5389 }
5390 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5391 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
5392 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_qk41" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_qk41" "', argument " "2"" of type '" "double""'"); 0 0 0
5393 }
5394 0 arg2 = (double)(val2);
5395 0 ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
5396 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
5397 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_integration_qk41" "', argument " "3"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_integration_qk41" "', argument " "3"" of type '" "double""'"); 0 0 0
5398 }
5399 0 arg3 = (double)(val3);
5400 0 res6 = SWIG_ConvertPtr(ST(3), &argp6,SWIGTYPE_p_double, 0 | 0 );
5401 0 ▶ if (!SWIG_IsOK(res6)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res6)) { 0 0 0
5402 0 ▶ SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "gsl_integration_qk41" "', argument " "6"" of type '" "double *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "gsl_integration_qk41" "', argument " "6"" of type '" "double *""'"); 0 0 0
5403 }
5404 0 arg6 = (double *)(argp6);
5405 0 res7 = SWIG_ConvertPtr(ST(4), &argp7,SWIGTYPE_p_double, 0 | 0 );
5406 0 ▶ if (!SWIG_IsOK(res7)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res7)) { 0 0 0
5407 0 ▶ SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "gsl_integration_qk41" "', argument " "7"" of type '" "double *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "gsl_integration_qk41" "', argument " "7"" of type '" "double *""'"); 0 0 0
5408 }
5409 0 arg7 = (double *)(argp7);
5410 0 gsl_integration_qk41((struct gsl_function_struct const *)arg1,arg2,arg3,arg4,arg5,arg6,arg7);
5411 0 ST(argvi) = &PL_sv_undef;
5412 0 ▶ if (SWIG_IsTmpObj(res4)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SWIG_IsTmpObj(res4)) { 0 0 0
if (SWIG_IsTmpObj(res4)) { 0 0 0
5413 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
5414 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
5415 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((*arg4)); argvi++ /*@SWIG@*/;
5416 } else {
5417 0 ▶ int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0) : 0;
Branch: 2 branches
BranchTrueFalseTotal
int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
5418 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
5419 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
5420 0 ST(argvi) = SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, new_flags); argvi++ /*@SWIG@*/;
5421 }
5422 0 ▶ if (SWIG_IsTmpObj(res5)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SWIG_IsTmpObj(res5)) { 0 0 0
if (SWIG_IsTmpObj(res5)) { 0 0 0
5423 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
5424 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
5425 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((*arg5)); argvi++ /*@SWIG@*/;
5426 } else {
5427 0 ▶ int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0) : 0;
Branch: 2 branches
BranchTrueFalseTotal
int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
5428 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
5429 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
5430 0 ST(argvi) = SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_double, new_flags); argvi++ /*@SWIG@*/;
5431 }
5432 {
5433 0 struct gsl_function_perl *p=(struct gsl_function_perl *) arg1->params;
5434 0 gsl_function_perl_free(p);
5435 }
5436
5437
5438
5439
5440
5441
5442 0 XSRETURN(argvi);
5443 0 fail:
5444 {
5445 0 struct gsl_function_perl *p=(struct gsl_function_perl *) arg1->params;
5446 0 gsl_function_perl_free(p);
5447 }
5448
5449
5450
5451
5452
5453
5454 0 SWIG_croak_null();
5455 }
5456 }
5457  
5458  
5459 0 XS(_wrap_gsl_integration_qk51) {
5460 {
5461 0 gsl_function *arg1 = (gsl_function *) 0 ;
5462 double arg2 ;
5463 double arg3 ;
5464 0 double *arg4 = (double *) 0 ;
5465 0 double *arg5 = (double *) 0 ;
5466 0 double *arg6 = (double *) 0 ;
5467 0 double *arg7 = (double *) 0 ;
5468 double val2 ;
5469 0 int ecode2 = 0 ;
5470 double val3 ;
5471 0 int ecode3 = 0 ;
5472 double temp4 ;
5473 0 int res4 = SWIG_TMPOBJ ;
5474 double temp5 ;
5475 0 int res5 = SWIG_TMPOBJ ;
5476 0 void *argp6 = 0 ;
5477 0 int res6 = 0 ;
5478 0 void *argp7 = 0 ;
5479 0 int res7 = 0 ;
5480 0 int argvi = 0;
5481 0 dXSARGS;
5482
5483 0 arg4 = &temp4;
5484 0 arg5 = &temp5;
5485 0 ▶ if ((items < 5) || (items > 5)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 5) || (items > 5)) { 0 0 0
if ((items < 5) || (items > 5)) { 0 0 0
5486 0 SWIG_croak("Usage: gsl_integration_qk51(f,a,b,resabs,resasc);");
5487 }
5488 {
5489 0 SV * function = 0;
5490 0 SV * params = 0;
5491 struct gsl_function_perl *w_gsl_function;
5492 0 Newx(w_gsl_function, 1, struct gsl_function_perl);
5493
5494 0 ▶ if (SvROK(ST(0)) && (SvTYPE(SvRV(ST(0))) == SVt_PVAV)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SvROK(ST(0)) && (SvTYPE(SvRV(ST(0))) == SVt_PVAV)) { 0 0 0
if (SvROK(ST(0)) && (SvTYPE(SvRV(ST(0))) == SVt_PVAV)) { 0 0 0
5495 0 AV* array=(AV*)SvRV(ST(0));
5496 0 SV ** p_function = 0;
5497 0 ▶ if (av_len(array)<0) {
Branch: 1 branch
BranchTrueFalseTotal
if (av_len(array)<0) { 0 0 0
5498 0 croak("Math::GSL : $f is an empty array!");
5499 }
5500 0 ▶ if (av_len(array)>1) {
Branch: 1 branch
BranchTrueFalseTotal
if (av_len(array)>1) { 0 0 0
5501 0 croak("Math::GSL : $f is an array with more than 2 elements!");
5502 }
5503 0 p_function = av_fetch(array, 0, 0);
5504 0 function = *p_function;
5505 0 ▶ if (av_len(array)>0) {
Branch: 1 branch
BranchTrueFalseTotal
if (av_len(array)>0) { 0 0 0
5506 0 SV ** p_params = 0;
5507 0 p_params = av_fetch(array, 1, 0);
5508 0 params = *p_params;
5509 }
5510 } else {
5511 0 function = ST(0);
5512 }
5513
5514 0 ▶ if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) {
Branch: 4 branches
BranchTrueFalseTotal
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
5515 0 croak("Math::GSL : $f is not a reference to code!");
5516 }
5517
5518 0 function = newSVsv(function);
5519
5520 0 ▶ if (! params) {
Branch: 1 branch
BranchTrueFalseTotal
if (! params) { 0 0 0
5521 0 params=&PL_sv_undef;
5522 }
5523 0 params = newSVsv(params);
5524
5525 0 w_gsl_function->params = params;
5526 0 w_gsl_function->function = function;
5527 0 w_gsl_function->C_gsl_function.params = w_gsl_function;
5528 0 w_gsl_function->C_gsl_function.function = &call_gsl_function;
5529
5530 0 arg1 = &(w_gsl_function->C_gsl_function);
5531 }
5532 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5533 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
5534 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_qk51" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_qk51" "', argument " "2"" of type '" "double""'"); 0 0 0
5535 }
5536 0 arg2 = (double)(val2);
5537 0 ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
5538 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
5539 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_integration_qk51" "', argument " "3"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_integration_qk51" "', argument " "3"" of type '" "double""'"); 0 0 0
5540 }
5541 0 arg3 = (double)(val3);
5542 0 res6 = SWIG_ConvertPtr(ST(3), &argp6,SWIGTYPE_p_double, 0 | 0 );
5543 0 ▶ if (!SWIG_IsOK(res6)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res6)) { 0 0 0
5544 0 ▶ SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "gsl_integration_qk51" "', argument " "6"" of type '" "double *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "gsl_integration_qk51" "', argument " "6"" of type '" "double *""'"); 0 0 0
5545 }
5546 0 arg6 = (double *)(argp6);
5547 0 res7 = SWIG_ConvertPtr(ST(4), &argp7,SWIGTYPE_p_double, 0 | 0 );
5548 0 ▶ if (!SWIG_IsOK(res7)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res7)) { 0 0 0
5549 0 ▶ SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "gsl_integration_qk51" "', argument " "7"" of type '" "double *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "gsl_integration_qk51" "', argument " "7"" of type '" "double *""'"); 0 0 0
5550 }
5551 0 arg7 = (double *)(argp7);
5552 0 gsl_integration_qk51((struct gsl_function_struct const *)arg1,arg2,arg3,arg4,arg5,arg6,arg7);
5553 0 ST(argvi) = &PL_sv_undef;
5554 0 ▶ if (SWIG_IsTmpObj(res4)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SWIG_IsTmpObj(res4)) { 0 0 0
if (SWIG_IsTmpObj(res4)) { 0 0 0
5555 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
5556 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
5557 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((*arg4)); argvi++ /*@SWIG@*/;
5558 } else {
5559 0 ▶ int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0) : 0;
Branch: 2 branches
BranchTrueFalseTotal
int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
5560 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
5561 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
5562 0 ST(argvi) = SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, new_flags); argvi++ /*@SWIG@*/;
5563 }
5564 0 ▶ if (SWIG_IsTmpObj(res5)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SWIG_IsTmpObj(res5)) { 0 0 0
if (SWIG_IsTmpObj(res5)) { 0 0 0
5565 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
5566 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
5567 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((*arg5)); argvi++ /*@SWIG@*/;
5568 } else {
5569 0 ▶ int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0) : 0;
Branch: 2 branches
BranchTrueFalseTotal
int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
5570 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
5571 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
5572 0 ST(argvi) = SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_double, new_flags); argvi++ /*@SWIG@*/;
5573 }
5574 {
5575 0 struct gsl_function_perl *p=(struct gsl_function_perl *) arg1->params;
5576 0 gsl_function_perl_free(p);
5577 }
5578
5579
5580
5581
5582
5583
5584 0 XSRETURN(argvi);
5585 0 fail:
5586 {
5587 0 struct gsl_function_perl *p=(struct gsl_function_perl *) arg1->params;
5588 0 gsl_function_perl_free(p);
5589 }
5590
5591
5592
5593
5594
5595
5596 0 SWIG_croak_null();
5597 }
5598 }
5599  
5600  
5601 0 XS(_wrap_gsl_integration_qk61) {
5602 {
5603 0 gsl_function *arg1 = (gsl_function *) 0 ;
5604 double arg2 ;
5605 double arg3 ;
5606 0 double *arg4 = (double *) 0 ;
5607 0 double *arg5 = (double *) 0 ;
5608 0 double *arg6 = (double *) 0 ;
5609 0 double *arg7 = (double *) 0 ;
5610 double val2 ;
5611 0 int ecode2 = 0 ;
5612 double val3 ;
5613 0 int ecode3 = 0 ;
5614 double temp4 ;
5615 0 int res4 = SWIG_TMPOBJ ;
5616 double temp5 ;
5617 0 int res5 = SWIG_TMPOBJ ;
5618 0 void *argp6 = 0 ;
5619 0 int res6 = 0 ;
5620 0 void *argp7 = 0 ;
5621 0 int res7 = 0 ;
5622 0 int argvi = 0;
5623 0 dXSARGS;
5624
5625 0 arg4 = &temp4;
5626 0 arg5 = &temp5;
5627 0 ▶ if ((items < 5) || (items > 5)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 5) || (items > 5)) { 0 0 0
if ((items < 5) || (items > 5)) { 0 0 0
5628 0 SWIG_croak("Usage: gsl_integration_qk61(f,a,b,resabs,resasc);");
5629 }
5630 {
5631 0 SV * function = 0;
5632 0 SV * params = 0;
5633 struct gsl_function_perl *w_gsl_function;
5634 0 Newx(w_gsl_function, 1, struct gsl_function_perl);
5635
5636 0 ▶ if (SvROK(ST(0)) && (SvTYPE(SvRV(ST(0))) == SVt_PVAV)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SvROK(ST(0)) && (SvTYPE(SvRV(ST(0))) == SVt_PVAV)) { 0 0 0
if (SvROK(ST(0)) && (SvTYPE(SvRV(ST(0))) == SVt_PVAV)) { 0 0 0
5637 0 AV* array=(AV*)SvRV(ST(0));
5638 0 SV ** p_function = 0;
5639 0 ▶ if (av_len(array)<0) {
Branch: 1 branch
BranchTrueFalseTotal
if (av_len(array)<0) { 0 0 0
5640 0 croak("Math::GSL : $f is an empty array!");
5641 }
5642 0 ▶ if (av_len(array)>1) {
Branch: 1 branch
BranchTrueFalseTotal
if (av_len(array)>1) { 0 0 0
5643 0 croak("Math::GSL : $f is an array with more than 2 elements!");
5644 }
5645 0 p_function = av_fetch(array, 0, 0);
5646 0 function = *p_function;
5647 0 ▶ if (av_len(array)>0) {
Branch: 1 branch
BranchTrueFalseTotal
if (av_len(array)>0) { 0 0 0
5648 0 SV ** p_params = 0;
5649 0 p_params = av_fetch(array, 1, 0);
5650 0 params = *p_params;
5651 }
5652 } else {
5653 0 function = ST(0);
5654 }
5655
5656 0 ▶ if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) {
Branch: 4 branches
BranchTrueFalseTotal
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
5657 0 croak("Math::GSL : $f is not a reference to code!");
5658 }
5659
5660 0 function = newSVsv(function);
5661
5662 0 ▶ if (! params) {
Branch: 1 branch
BranchTrueFalseTotal
if (! params) { 0 0 0
5663 0 params=&PL_sv_undef;
5664 }
5665 0 params = newSVsv(params);
5666
5667 0 w_gsl_function->params = params;
5668 0 w_gsl_function->function = function;
5669 0 w_gsl_function->C_gsl_function.params = w_gsl_function;
5670 0 w_gsl_function->C_gsl_function.function = &call_gsl_function;
5671
5672 0 arg1 = &(w_gsl_function->C_gsl_function);
5673 }
5674 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5675 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
5676 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_qk61" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_qk61" "', argument " "2"" of type '" "double""'"); 0 0 0
5677 }
5678 0 arg2 = (double)(val2);
5679 0 ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
5680 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
5681 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_integration_qk61" "', argument " "3"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_integration_qk61" "', argument " "3"" of type '" "double""'"); 0 0 0
5682 }
5683 0 arg3 = (double)(val3);
5684 0 res6 = SWIG_ConvertPtr(ST(3), &argp6,SWIGTYPE_p_double, 0 | 0 );
5685 0 ▶ if (!SWIG_IsOK(res6)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res6)) { 0 0 0
5686 0 ▶ SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "gsl_integration_qk61" "', argument " "6"" of type '" "double *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "gsl_integration_qk61" "', argument " "6"" of type '" "double *""'"); 0 0 0
5687 }
5688 0 arg6 = (double *)(argp6);
5689 0 res7 = SWIG_ConvertPtr(ST(4), &argp7,SWIGTYPE_p_double, 0 | 0 );
5690 0 ▶ if (!SWIG_IsOK(res7)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res7)) { 0 0 0
5691 0 ▶ SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "gsl_integration_qk61" "', argument " "7"" of type '" "double *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "gsl_integration_qk61" "', argument " "7"" of type '" "double *""'"); 0 0 0
5692 }
5693 0 arg7 = (double *)(argp7);
5694 0 gsl_integration_qk61((struct gsl_function_struct const *)arg1,arg2,arg3,arg4,arg5,arg6,arg7);
5695 0 ST(argvi) = &PL_sv_undef;
5696 0 ▶ if (SWIG_IsTmpObj(res4)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SWIG_IsTmpObj(res4)) { 0 0 0
if (SWIG_IsTmpObj(res4)) { 0 0 0
5697 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
5698 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
5699 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((*arg4)); argvi++ /*@SWIG@*/;
5700 } else {
5701 0 ▶ int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0) : 0;
Branch: 2 branches
BranchTrueFalseTotal
int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
5702 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
5703 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
5704 0 ST(argvi) = SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, new_flags); argvi++ /*@SWIG@*/;
5705 }
5706 0 ▶ if (SWIG_IsTmpObj(res5)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SWIG_IsTmpObj(res5)) { 0 0 0
if (SWIG_IsTmpObj(res5)) { 0 0 0
5707 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
5708 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
5709 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((*arg5)); argvi++ /*@SWIG@*/;
5710 } else {
5711 0 ▶ int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0) : 0;
Branch: 2 branches
BranchTrueFalseTotal
int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
5712 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
5713 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
5714 0 ST(argvi) = SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_double, new_flags); argvi++ /*@SWIG@*/;
5715 }
5716 {
5717 0 struct gsl_function_perl *p=(struct gsl_function_perl *) arg1->params;
5718 0 gsl_function_perl_free(p);
5719 }
5720
5721
5722
5723
5724
5725
5726 0 XSRETURN(argvi);
5727 0 fail:
5728 {
5729 0 struct gsl_function_perl *p=(struct gsl_function_perl *) arg1->params;
5730 0 gsl_function_perl_free(p);
5731 }
5732
5733
5734
5735
5736
5737
5738 0 SWIG_croak_null();
5739 }
5740 }
5741  
5742  
5743 0 XS(_wrap_gsl_integration_qcheb) {
5744 {
5745 0 gsl_function *arg1 = (gsl_function *) 0 ;
5746 double arg2 ;
5747 double arg3 ;
5748 0 double *arg4 = (double *) 0 ;
5749 0 double *arg5 = (double *) 0 ;
5750 double val2 ;
5751 0 int ecode2 = 0 ;
5752 double val3 ;
5753 0 int ecode3 = 0 ;
5754 0 void *argp4 = 0 ;
5755 0 int res4 = 0 ;
5756 0 void *argp5 = 0 ;
5757 0 int res5 = 0 ;
5758 0 int argvi = 0;
5759 0 dXSARGS;
5760
5761 0 ▶ if ((items < 5) || (items > 5)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 5) || (items > 5)) { 0 0 0
if ((items < 5) || (items > 5)) { 0 0 0
5762 0 SWIG_croak("Usage: gsl_integration_qcheb(f,a,b,cheb12,cheb24);");
5763 }
5764 {
5765 0 SV * function = 0;
5766 0 SV * params = 0;
5767 struct gsl_function_perl *w_gsl_function;
5768 0 Newx(w_gsl_function, 1, struct gsl_function_perl);
5769
5770 0 ▶ if (SvROK(ST(0)) && (SvTYPE(SvRV(ST(0))) == SVt_PVAV)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SvROK(ST(0)) && (SvTYPE(SvRV(ST(0))) == SVt_PVAV)) { 0 0 0
if (SvROK(ST(0)) && (SvTYPE(SvRV(ST(0))) == SVt_PVAV)) { 0 0 0
5771 0 AV* array=(AV*)SvRV(ST(0));
5772 0 SV ** p_function = 0;
5773 0 ▶ if (av_len(array)<0) {
Branch: 1 branch
BranchTrueFalseTotal
if (av_len(array)<0) { 0 0 0
5774 0 croak("Math::GSL : $f is an empty array!");
5775 }
5776 0 ▶ if (av_len(array)>1) {
Branch: 1 branch
BranchTrueFalseTotal
if (av_len(array)>1) { 0 0 0
5777 0 croak("Math::GSL : $f is an array with more than 2 elements!");
5778 }
5779 0 p_function = av_fetch(array, 0, 0);
5780 0 function = *p_function;
5781 0 ▶ if (av_len(array)>0) {
Branch: 1 branch
BranchTrueFalseTotal
if (av_len(array)>0) { 0 0 0
5782 0 SV ** p_params = 0;
5783 0 p_params = av_fetch(array, 1, 0);
5784 0 params = *p_params;
5785 }
5786 } else {
5787 0 function = ST(0);
5788 }
5789
5790 0 ▶ if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) {
Branch: 4 branches
BranchTrueFalseTotal
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
5791 0 croak("Math::GSL : $f is not a reference to code!");
5792 }
5793
5794 0 function = newSVsv(function);
5795
5796 0 ▶ if (! params) {
Branch: 1 branch
BranchTrueFalseTotal
if (! params) { 0 0 0
5797 0 params=&PL_sv_undef;
5798 }
5799 0 params = newSVsv(params);
5800
5801 0 w_gsl_function->params = params;
5802 0 w_gsl_function->function = function;
5803 0 w_gsl_function->C_gsl_function.params = w_gsl_function;
5804 0 w_gsl_function->C_gsl_function.function = &call_gsl_function;
5805
5806 0 arg1 = &(w_gsl_function->C_gsl_function);
5807 }
5808 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5809 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
5810 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_qcheb" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_qcheb" "', argument " "2"" of type '" "double""'"); 0 0 0
5811 }
5812 0 arg2 = (double)(val2);
5813 0 ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
5814 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
5815 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_integration_qcheb" "', argument " "3"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_integration_qcheb" "', argument " "3"" of type '" "double""'"); 0 0 0
5816 }
5817 0 arg3 = (double)(val3);
5818 0 res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_double, 0 | 0 );
5819 0 ▶ if (!SWIG_IsOK(res4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res4)) { 0 0 0
5820 0 ▶ SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_integration_qcheb" "', argument " "4"" of type '" "double *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_integration_qcheb" "', argument " "4"" of type '" "double *""'"); 0 0 0
5821 }
5822 0 arg4 = (double *)(argp4);
5823 0 res5 = SWIG_ConvertPtr(ST(4), &argp5,SWIGTYPE_p_double, 0 | 0 );
5824 0 ▶ if (!SWIG_IsOK(res5)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res5)) { 0 0 0
5825 0 ▶ SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "gsl_integration_qcheb" "', argument " "5"" of type '" "double *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "gsl_integration_qcheb" "', argument " "5"" of type '" "double *""'"); 0 0 0
5826 }
5827 0 arg5 = (double *)(argp5);
5828 0 gsl_integration_qcheb(arg1,arg2,arg3,arg4,arg5);
5829 0 ST(argvi) = &PL_sv_undef;
5830 {
5831 0 struct gsl_function_perl *p=(struct gsl_function_perl *) arg1->params;
5832 0 gsl_function_perl_free(p);
5833 }
5834
5835
5836
5837
5838 0 XSRETURN(argvi);
5839 0 fail:
5840 {
5841 0 struct gsl_function_perl *p=(struct gsl_function_perl *) arg1->params;
5842 0 gsl_function_perl_free(p);
5843 }
5844
5845
5846
5847
5848 0 SWIG_croak_null();
5849 }
5850 }
5851  
5852  
5853 0 XS(_wrap_gsl_integration_qk) {
5854 {
5855 int arg1 ;
5856 0 double *arg2 = (double *) (double *)0 ;
5857 0 double *arg3 = (double *) (double *)0 ;
5858 0 double *arg4 = (double *) (double *)0 ;
5859 0 double *arg5 = (double *) (double *)0 ;
5860 0 double *arg6 = (double *) (double *)0 ;
5861 0 gsl_function *arg7 = (gsl_function *) 0 ;
5862 double arg8 ;
5863 double arg9 ;
5864 0 double *arg10 = (double *) 0 ;
5865 0 double *arg11 = (double *) 0 ;
5866 0 double *arg12 = (double *) 0 ;
5867 0 double *arg13 = (double *) 0 ;
5868 int val1 ;
5869 0 int ecode1 = 0 ;
5870 0 void *argp5 = 0 ;
5871 0 int res5 = 0 ;
5872 0 void *argp6 = 0 ;
5873 0 int res6 = 0 ;
5874 double val8 ;
5875 0 int ecode8 = 0 ;
5876 double val9 ;
5877 0 int ecode9 = 0 ;
5878 double temp10 ;
5879 0 int res10 = SWIG_TMPOBJ ;
5880 double temp11 ;
5881 0 int res11 = SWIG_TMPOBJ ;
5882 0 void *argp12 = 0 ;
5883 0 int res12 = 0 ;
5884 0 void *argp13 = 0 ;
5885 0 int res13 = 0 ;
5886 0 int argvi = 0;
5887 0 dXSARGS;
5888
5889 0 arg10 = &temp10;
5890 0 arg11 = &temp11;
5891 0 ▶ if ((items < 11) || (items > 11)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 11) || (items > 11)) { 0 0 0
if ((items < 11) || (items > 11)) { 0 0 0
5892 0 SWIG_croak("Usage: gsl_integration_qk(n,xgk,wg,wgk,fv1,fv2,f,a,b,resabs,resasc);");
5893 }
5894 0 ecode1 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
5895 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
5896 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_integration_qk" "', argument " "1"" of type '" "int""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_integration_qk" "', argument " "1"" of type '" "int""'"); 0 0 0
5897 }
5898 0 arg1 = (int)(val1);
5899 {
5900 AV *tempav;
5901 I32 len;
5902 int i;
5903 SV **tv;
5904 0 ▶ if (!SvROK(ST(1)))
Branch: 1 branch
BranchTrueFalseTotal
if (!SvROK(ST(1))) 0 0 0
5905 0 croak("Math::GSL : $xgk is not a reference!");
5906 0 ▶ if (SvTYPE(SvRV(ST(1))) != SVt_PVAV)
Branch: 1 branch
BranchTrueFalseTotal
if (SvTYPE(SvRV(ST(1))) != SVt_PVAV) 0 0 0
5907 0 croak("Math::GSL : $xgk is not an array ref!");
5908
5909 0 tempav = (AV*)SvRV(ST(1));
5910 0 len = av_len(tempav);
5911 0 arg2 = (double *) malloc((len+2)*sizeof(double));
5912 0 ▶ for (i = 0; i <= len; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; i <= len; i++) { 0 0 0
5913 0 tv = av_fetch(tempav, i, 0);
5914 0 arg2[i] = (double) SvNV(*tv);
5915 }
5916 }
5917 {
5918 AV *tempav;
5919 I32 len;
5920 int i;
5921 SV **tv;
5922 0 ▶ if (!SvROK(ST(2)))
Branch: 1 branch
BranchTrueFalseTotal
if (!SvROK(ST(2))) 0 0 0
5923 0 croak("Math::GSL : $wg is not a reference!");
5924 0 ▶ if (SvTYPE(SvRV(ST(2))) != SVt_PVAV)
Branch: 1 branch
BranchTrueFalseTotal
if (SvTYPE(SvRV(ST(2))) != SVt_PVAV) 0 0 0
5925 0 croak("Math::GSL : $wg is not an array ref!");
5926
5927 0 tempav = (AV*)SvRV(ST(2));
5928 0 len = av_len(tempav);
5929 0 arg3 = (double *) malloc((len+2)*sizeof(double));
5930 0 ▶ for (i = 0; i <= len; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; i <= len; i++) { 0 0 0
5931 0 tv = av_fetch(tempav, i, 0);
5932 0 arg3[i] = (double) SvNV(*tv);
5933 }
5934 }
5935 {
5936 AV *tempav;
5937 I32 len;
5938 int i;
5939 SV **tv;
5940 0 ▶ if (!SvROK(ST(3)))
Branch: 1 branch
BranchTrueFalseTotal
if (!SvROK(ST(3))) 0 0 0
5941 0 croak("Math::GSL : $wgk is not a reference!");
5942 0 ▶ if (SvTYPE(SvRV(ST(3))) != SVt_PVAV)
Branch: 1 branch
BranchTrueFalseTotal
if (SvTYPE(SvRV(ST(3))) != SVt_PVAV) 0 0 0
5943 0 croak("Math::GSL : $wgk is not an array ref!");
5944
5945 0 tempav = (AV*)SvRV(ST(3));
5946 0 len = av_len(tempav);
5947 0 arg4 = (double *) malloc((len+2)*sizeof(double));
5948 0 ▶ for (i = 0; i <= len; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; i <= len; i++) { 0 0 0
5949 0 tv = av_fetch(tempav, i, 0);
5950 0 arg4[i] = (double) SvNV(*tv);
5951 }
5952 }
5953 0 res5 = SWIG_ConvertPtr(ST(4), &argp5,SWIGTYPE_p_double, 0 | 0 );
5954 0 ▶ if (!SWIG_IsOK(res5)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res5)) { 0 0 0
5955 0 ▶ SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "gsl_integration_qk" "', argument " "5"" of type '" "double []""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "gsl_integration_qk" "', argument " "5"" of type '" "double []""'"); 0 0 0
5956 }
5957 0 arg5 = (double *)(argp5);
5958 0 res6 = SWIG_ConvertPtr(ST(5), &argp6,SWIGTYPE_p_double, 0 | 0 );
5959 0 ▶ if (!SWIG_IsOK(res6)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res6)) { 0 0 0
5960 0 ▶ SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "gsl_integration_qk" "', argument " "6"" of type '" "double []""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "gsl_integration_qk" "', argument " "6"" of type '" "double []""'"); 0 0 0
5961 }
5962 0 arg6 = (double *)(argp6);
5963 {
5964 0 SV * function = 0;
5965 0 SV * params = 0;
5966 struct gsl_function_perl *w_gsl_function;
5967 0 Newx(w_gsl_function, 1, struct gsl_function_perl);
5968
5969 0 ▶ if (SvROK(ST(6)) && (SvTYPE(SvRV(ST(6))) == SVt_PVAV)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SvROK(ST(6)) && (SvTYPE(SvRV(ST(6))) == SVt_PVAV)) { 0 0 0
if (SvROK(ST(6)) && (SvTYPE(SvRV(ST(6))) == SVt_PVAV)) { 0 0 0
5970 0 AV* array=(AV*)SvRV(ST(6));
5971 0 SV ** p_function = 0;
5972 0 ▶ if (av_len(array)<0) {
Branch: 1 branch
BranchTrueFalseTotal
if (av_len(array)<0) { 0 0 0
5973 0 croak("Math::GSL : $f is an empty array!");
5974 }
5975 0 ▶ if (av_len(array)>1) {
Branch: 1 branch
BranchTrueFalseTotal
if (av_len(array)>1) { 0 0 0
5976 0 croak("Math::GSL : $f is an array with more than 2 elements!");
5977 }
5978 0 p_function = av_fetch(array, 0, 0);
5979 0 function = *p_function;
5980 0 ▶ if (av_len(array)>0) {
Branch: 1 branch
BranchTrueFalseTotal
if (av_len(array)>0) { 0 0 0
5981 0 SV ** p_params = 0;
5982 0 p_params = av_fetch(array, 1, 0);
5983 0 params = *p_params;
5984 }
5985 } else {
5986 0 function = ST(6);
5987 }
5988
5989 0 ▶ if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) {
Branch: 4 branches
BranchTrueFalseTotal
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
5990 0 croak("Math::GSL : $f is not a reference to code!");
5991 }
5992
5993 0 function = newSVsv(function);
5994
5995 0 ▶ if (! params) {
Branch: 1 branch
BranchTrueFalseTotal
if (! params) { 0 0 0
5996 0 params=&PL_sv_undef;
5997 }
5998 0 params = newSVsv(params);
5999
6000 0 w_gsl_function->params = params;
6001 0 w_gsl_function->function = function;
6002 0 w_gsl_function->C_gsl_function.params = w_gsl_function;
6003 0 w_gsl_function->C_gsl_function.function = &call_gsl_function;
6004
6005 0 arg7 = &(w_gsl_function->C_gsl_function);
6006 }
6007 0 ecode8 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(7), &val8);
6008 0 ▶ if (!SWIG_IsOK(ecode8)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode8)) { 0 0 0
6009 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "gsl_integration_qk" "', argument " "8"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "gsl_integration_qk" "', argument " "8"" of type '" "double""'"); 0 0 0
6010 }
6011 0 arg8 = (double)(val8);
6012 0 ecode9 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(8), &val9);
6013 0 ▶ if (!SWIG_IsOK(ecode9)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode9)) { 0 0 0
6014 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "gsl_integration_qk" "', argument " "9"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "gsl_integration_qk" "', argument " "9"" of type '" "double""'"); 0 0 0
6015 }
6016 0 arg9 = (double)(val9);
6017 0 res12 = SWIG_ConvertPtr(ST(9), &argp12,SWIGTYPE_p_double, 0 | 0 );
6018 0 ▶ if (!SWIG_IsOK(res12)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res12)) { 0 0 0
6019 0 ▶ SWIG_exception_fail(SWIG_ArgError(res12), "in method '" "gsl_integration_qk" "', argument " "12"" of type '" "double *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res12), "in method '" "gsl_integration_qk" "', argument " "12"" of type '" "double *""'"); 0 0 0
6020 }
6021 0 arg12 = (double *)(argp12);
6022 0 res13 = SWIG_ConvertPtr(ST(10), &argp13,SWIGTYPE_p_double, 0 | 0 );
6023 0 ▶ if (!SWIG_IsOK(res13)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res13)) { 0 0 0
6024 0 ▶ SWIG_exception_fail(SWIG_ArgError(res13), "in method '" "gsl_integration_qk" "', argument " "13"" of type '" "double *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res13), "in method '" "gsl_integration_qk" "', argument " "13"" of type '" "double *""'"); 0 0 0
6025 }
6026 0 arg13 = (double *)(argp13);
6027 0 gsl_integration_qk(arg1,(double const (*))arg2,(double const (*))arg3,(double const (*))arg4,arg5,arg6,(struct gsl_function_struct const *)arg7,arg8,arg9,arg10,arg11,arg12,arg13);
6028 0 ST(argvi) = &PL_sv_undef;
6029 0 ▶ if (SWIG_IsTmpObj(res10)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SWIG_IsTmpObj(res10)) { 0 0 0
if (SWIG_IsTmpObj(res10)) { 0 0 0
6030 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
6031 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
6032 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((*arg10)); argvi++ /*@SWIG@*/;
6033 } else {
6034 0 ▶ int new_flags = SWIG_IsNewObj(res10) ? (SWIG_POINTER_OWN | 0) : 0;
Branch: 2 branches
BranchTrueFalseTotal
int new_flags = SWIG_IsNewObj(res10) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
int new_flags = SWIG_IsNewObj(res10) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
6035 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
6036 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
6037 0 ST(argvi) = SWIG_NewPointerObj((void*)(arg10), SWIGTYPE_p_double, new_flags); argvi++ /*@SWIG@*/;
6038 }
6039 0 ▶ if (SWIG_IsTmpObj(res11)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SWIG_IsTmpObj(res11)) { 0 0 0
if (SWIG_IsTmpObj(res11)) { 0 0 0
6040 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
6041 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
6042 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((*arg11)); argvi++ /*@SWIG@*/;
6043 } else {
6044 0 ▶ int new_flags = SWIG_IsNewObj(res11) ? (SWIG_POINTER_OWN | 0) : 0;
Branch: 2 branches
BranchTrueFalseTotal
int new_flags = SWIG_IsNewObj(res11) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
int new_flags = SWIG_IsNewObj(res11) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
6045 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
6046 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
6047 0 ST(argvi) = SWIG_NewPointerObj((void*)(arg11), SWIGTYPE_p_double, new_flags); argvi++ /*@SWIG@*/;
6048 }
6049
6050 {
6051 0 ▶ if (arg2) free(arg2);
Branch: 1 branch
BranchTrueFalseTotal
if (arg2) free(arg2); 0 0 0
6052 }
6053 {
6054 0 ▶ if (arg3) free(arg3);
Branch: 1 branch
BranchTrueFalseTotal
if (arg3) free(arg3); 0 0 0
6055 }
6056 {
6057 0 ▶ if (arg4) free(arg4);
Branch: 1 branch
BranchTrueFalseTotal
if (arg4) free(arg4); 0 0 0
6058 }
6059
6060
6061 {
6062 0 struct gsl_function_perl *p=(struct gsl_function_perl *) arg7->params;
6063 0 gsl_function_perl_free(p);
6064 }
6065
6066
6067
6068
6069
6070
6071 0 XSRETURN(argvi);
6072 0 fail:
6073
6074 {
6075 0 ▶ if (arg2) free(arg2);
Branch: 1 branch
BranchTrueFalseTotal
if (arg2) free(arg2); 0 0 0
6076 }
6077 {
6078 0 ▶ if (arg3) free(arg3);
Branch: 1 branch
BranchTrueFalseTotal
if (arg3) free(arg3); 0 0 0
6079 }
6080 {
6081 0 ▶ if (arg4) free(arg4);
Branch: 1 branch
BranchTrueFalseTotal
if (arg4) free(arg4); 0 0 0
6082 }
6083
6084
6085 {
6086 0 struct gsl_function_perl *p=(struct gsl_function_perl *) arg7->params;
6087 0 gsl_function_perl_free(p);
6088 }
6089
6090
6091
6092
6093
6094
6095 0 SWIG_croak_null();
6096 }
6097 }
6098  
6099  
6100 0 XS(_wrap_gsl_integration_qng) {
6101 {
6102 0 gsl_function *arg1 = (gsl_function *) 0 ;
6103 double arg2 ;
6104 double arg3 ;
6105 double arg4 ;
6106 double arg5 ;
6107 0 double *arg6 = (double *) 0 ;
6108 0 double *arg7 = (double *) 0 ;
6109 0 size_t *arg8 = (size_t *) 0 ;
6110 double val2 ;
6111 0 int ecode2 = 0 ;
6112 double val3 ;
6113 0 int ecode3 = 0 ;
6114 double val4 ;
6115 0 int ecode4 = 0 ;
6116 double val5 ;
6117 0 int ecode5 = 0 ;
6118 double temp6 ;
6119 0 int res6 = SWIG_TMPOBJ ;
6120 double temp7 ;
6121 0 int res7 = SWIG_TMPOBJ ;
6122 size_t temp8 ;
6123 0 int res8 = SWIG_TMPOBJ ;
6124 0 int argvi = 0;
6125 int result;
6126 0 dXSARGS;
6127
6128 0 arg6 = &temp6;
6129 0 arg7 = &temp7;
6130 0 arg8 = &temp8;
6131 0 ▶ if ((items < 5) || (items > 5)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 5) || (items > 5)) { 0 0 0
if ((items < 5) || (items > 5)) { 0 0 0
6132 0 SWIG_croak("Usage: gsl_integration_qng(f,a,b,epsabs,epsrel);");
6133 }
6134 {
6135 0 SV * function = 0;
6136 0 SV * params = 0;
6137 struct gsl_function_perl *w_gsl_function;
6138 0 Newx(w_gsl_function, 1, struct gsl_function_perl);
6139
6140 0 ▶ if (SvROK(ST(0)) && (SvTYPE(SvRV(ST(0))) == SVt_PVAV)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SvROK(ST(0)) && (SvTYPE(SvRV(ST(0))) == SVt_PVAV)) { 0 0 0
if (SvROK(ST(0)) && (SvTYPE(SvRV(ST(0))) == SVt_PVAV)) { 0 0 0
6141 0 AV* array=(AV*)SvRV(ST(0));
6142 0 SV ** p_function = 0;
6143 0 ▶ if (av_len(array)<0) {
Branch: 1 branch
BranchTrueFalseTotal
if (av_len(array)<0) { 0 0 0
6144 0 croak("Math::GSL : $f is an empty array!");
6145 }
6146 0 ▶ if (av_len(array)>1) {
Branch: 1 branch
BranchTrueFalseTotal
if (av_len(array)>1) { 0 0 0
6147 0 croak("Math::GSL : $f is an array with more than 2 elements!");
6148 }
6149 0 p_function = av_fetch(array, 0, 0);
6150 0 function = *p_function;
6151 0 ▶ if (av_len(array)>0) {
Branch: 1 branch
BranchTrueFalseTotal
if (av_len(array)>0) { 0 0 0
6152 0 SV ** p_params = 0;
6153 0 p_params = av_fetch(array, 1, 0);
6154 0 params = *p_params;
6155 }
6156 } else {
6157 0 function = ST(0);
6158 }
6159
6160 0 ▶ if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) {
Branch: 4 branches
BranchTrueFalseTotal
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
6161 0 croak("Math::GSL : $f is not a reference to code!");
6162 }
6163
6164 0 function = newSVsv(function);
6165
6166 0 ▶ if (! params) {
Branch: 1 branch
BranchTrueFalseTotal
if (! params) { 0 0 0
6167 0 params=&PL_sv_undef;
6168 }
6169 0 params = newSVsv(params);
6170
6171 0 w_gsl_function->params = params;
6172 0 w_gsl_function->function = function;
6173 0 w_gsl_function->C_gsl_function.params = w_gsl_function;
6174 0 w_gsl_function->C_gsl_function.function = &call_gsl_function;
6175
6176 0 arg1 = &(w_gsl_function->C_gsl_function);
6177 }
6178 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6179 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
6180 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_qng" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_qng" "', argument " "2"" of type '" "double""'"); 0 0 0
6181 }
6182 0 arg2 = (double)(val2);
6183 0 ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
6184 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
6185 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_integration_qng" "', argument " "3"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_integration_qng" "', argument " "3"" of type '" "double""'"); 0 0 0
6186 }
6187 0 arg3 = (double)(val3);
6188 0 ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
6189 0 ▶ if (!SWIG_IsOK(ecode4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode4)) { 0 0 0
6190 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_integration_qng" "', argument " "4"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_integration_qng" "', argument " "4"" of type '" "double""'"); 0 0 0
6191 }
6192 0 arg4 = (double)(val4);
6193 0 ecode5 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
6194 0 ▶ if (!SWIG_IsOK(ecode5)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode5)) { 0 0 0
6195 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "gsl_integration_qng" "', argument " "5"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "gsl_integration_qng" "', argument " "5"" of type '" "double""'"); 0 0 0
6196 }
6197 0 arg5 = (double)(val5);
6198 0 result = (int)gsl_integration_qng((struct gsl_function_struct const *)arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
6199 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
6200 0 ▶ if (SWIG_IsTmpObj(res6)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SWIG_IsTmpObj(res6)) { 0 0 0
if (SWIG_IsTmpObj(res6)) { 0 0 0
6201 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
6202 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
6203 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((*arg6)); argvi++ /*@SWIG@*/;
6204 } else {
6205 0 ▶ int new_flags = SWIG_IsNewObj(res6) ? (SWIG_POINTER_OWN | 0) : 0;
Branch: 2 branches
BranchTrueFalseTotal
int new_flags = SWIG_IsNewObj(res6) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
int new_flags = SWIG_IsNewObj(res6) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
6206 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
6207 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
6208 0 ST(argvi) = SWIG_NewPointerObj((void*)(arg6), SWIGTYPE_p_double, new_flags); argvi++ /*@SWIG@*/;
6209 }
6210 0 ▶ if (SWIG_IsTmpObj(res7)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SWIG_IsTmpObj(res7)) { 0 0 0
if (SWIG_IsTmpObj(res7)) { 0 0 0
6211 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
6212 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
6213 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((*arg7)); argvi++ /*@SWIG@*/;
6214 } else {
6215 0 ▶ int new_flags = SWIG_IsNewObj(res7) ? (SWIG_POINTER_OWN | 0) : 0;
Branch: 2 branches
BranchTrueFalseTotal
int new_flags = SWIG_IsNewObj(res7) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
int new_flags = SWIG_IsNewObj(res7) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
6216 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
6217 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
6218 0 ST(argvi) = SWIG_NewPointerObj((void*)(arg7), SWIGTYPE_p_double, new_flags); argvi++ /*@SWIG@*/;
6219 }
6220 0 ▶ if (SWIG_IsTmpObj(res8)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SWIG_IsTmpObj(res8)) { 0 0 0
if (SWIG_IsTmpObj(res8)) { 0 0 0
6221 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
6222 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
6223 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((*arg8)); argvi++ /*@SWIG@*/;
6224 } else {
6225 0 ▶ int new_flags = SWIG_IsNewObj(res8) ? (SWIG_POINTER_OWN | 0) : 0;
Branch: 2 branches
BranchTrueFalseTotal
int new_flags = SWIG_IsNewObj(res8) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
int new_flags = SWIG_IsNewObj(res8) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
6226 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
6227 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
6228 0 ST(argvi) = SWIG_NewPointerObj((void*)(arg8), SWIGTYPE_p_size_t, new_flags); argvi++ /*@SWIG@*/;
6229 }
6230 {
6231 0 struct gsl_function_perl *p=(struct gsl_function_perl *) arg1->params;
6232 0 gsl_function_perl_free(p);
6233 }
6234
6235
6236
6237
6238
6239
6240
6241 0 XSRETURN(argvi);
6242 0 fail:
6243 {
6244 0 struct gsl_function_perl *p=(struct gsl_function_perl *) arg1->params;
6245 0 gsl_function_perl_free(p);
6246 }
6247
6248
6249
6250
6251
6252
6253
6254 0 SWIG_croak_null();
6255 }
6256 }
6257  
6258  
6259 0 XS(_wrap_gsl_integration_qag) {
6260 {
6261 0 gsl_function *arg1 = (gsl_function *) 0 ;
6262 double arg2 ;
6263 double arg3 ;
6264 double arg4 ;
6265 double arg5 ;
6266 size_t arg6 ;
6267 int arg7 ;
6268 0 gsl_integration_workspace *arg8 = (gsl_integration_workspace *) 0 ;
6269 0 double *arg9 = (double *) 0 ;
6270 0 double *arg10 = (double *) 0 ;
6271 double val2 ;
6272 0 int ecode2 = 0 ;
6273 double val3 ;
6274 0 int ecode3 = 0 ;
6275 double val4 ;
6276 0 int ecode4 = 0 ;
6277 double val5 ;
6278 0 int ecode5 = 0 ;
6279 size_t val6 ;
6280 0 int ecode6 = 0 ;
6281 int val7 ;
6282 0 int ecode7 = 0 ;
6283 0 void *argp8 = 0 ;
6284 0 int res8 = 0 ;
6285 double temp9 ;
6286 0 int res9 = SWIG_TMPOBJ ;
6287 double temp10 ;
6288 0 int res10 = SWIG_TMPOBJ ;
6289 0 int argvi = 0;
6290 int result;
6291 0 dXSARGS;
6292
6293 0 arg9 = &temp9;
6294 0 arg10 = &temp10;
6295 0 ▶ if ((items < 8) || (items > 8)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 8) || (items > 8)) { 0 0 0
if ((items < 8) || (items > 8)) { 0 0 0
6296 0 SWIG_croak("Usage: gsl_integration_qag(f,a,b,epsabs,epsrel,limit,key,workspace);");
6297 }
6298 {
6299 0 SV * function = 0;
6300 0 SV * params = 0;
6301 struct gsl_function_perl *w_gsl_function;
6302 0 Newx(w_gsl_function, 1, struct gsl_function_perl);
6303
6304 0 ▶ if (SvROK(ST(0)) && (SvTYPE(SvRV(ST(0))) == SVt_PVAV)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SvROK(ST(0)) && (SvTYPE(SvRV(ST(0))) == SVt_PVAV)) { 0 0 0
if (SvROK(ST(0)) && (SvTYPE(SvRV(ST(0))) == SVt_PVAV)) { 0 0 0
6305 0 AV* array=(AV*)SvRV(ST(0));
6306 0 SV ** p_function = 0;
6307 0 ▶ if (av_len(array)<0) {
Branch: 1 branch
BranchTrueFalseTotal
if (av_len(array)<0) { 0 0 0
6308 0 croak("Math::GSL : $f is an empty array!");
6309 }
6310 0 ▶ if (av_len(array)>1) {
Branch: 1 branch
BranchTrueFalseTotal
if (av_len(array)>1) { 0 0 0
6311 0 croak("Math::GSL : $f is an array with more than 2 elements!");
6312 }
6313 0 p_function = av_fetch(array, 0, 0);
6314 0 function = *p_function;
6315 0 ▶ if (av_len(array)>0) {
Branch: 1 branch
BranchTrueFalseTotal
if (av_len(array)>0) { 0 0 0
6316 0 SV ** p_params = 0;
6317 0 p_params = av_fetch(array, 1, 0);
6318 0 params = *p_params;
6319 }
6320 } else {
6321 0 function = ST(0);
6322 }
6323
6324 0 ▶ if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) {
Branch: 4 branches
BranchTrueFalseTotal
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
6325 0 croak("Math::GSL : $f is not a reference to code!");
6326 }
6327
6328 0 function = newSVsv(function);
6329
6330 0 ▶ if (! params) {
Branch: 1 branch
BranchTrueFalseTotal
if (! params) { 0 0 0
6331 0 params=&PL_sv_undef;
6332 }
6333 0 params = newSVsv(params);
6334
6335 0 w_gsl_function->params = params;
6336 0 w_gsl_function->function = function;
6337 0 w_gsl_function->C_gsl_function.params = w_gsl_function;
6338 0 w_gsl_function->C_gsl_function.function = &call_gsl_function;
6339
6340 0 arg1 = &(w_gsl_function->C_gsl_function);
6341 }
6342 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6343 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
6344 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_qag" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_qag" "', argument " "2"" of type '" "double""'"); 0 0 0
6345 }
6346 0 arg2 = (double)(val2);
6347 0 ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
6348 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
6349 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_integration_qag" "', argument " "3"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_integration_qag" "', argument " "3"" of type '" "double""'"); 0 0 0
6350 }
6351 0 arg3 = (double)(val3);
6352 0 ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
6353 0 ▶ if (!SWIG_IsOK(ecode4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode4)) { 0 0 0
6354 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_integration_qag" "', argument " "4"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_integration_qag" "', argument " "4"" of type '" "double""'"); 0 0 0
6355 }
6356 0 arg4 = (double)(val4);
6357 0 ecode5 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
6358 0 ▶ if (!SWIG_IsOK(ecode5)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode5)) { 0 0 0
6359 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "gsl_integration_qag" "', argument " "5"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "gsl_integration_qag" "', argument " "5"" of type '" "double""'"); 0 0 0
6360 }
6361 0 arg5 = (double)(val5);
6362 0 ecode6 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(5), &val6);
6363 0 ▶ if (!SWIG_IsOK(ecode6)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode6)) { 0 0 0
6364 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "gsl_integration_qag" "', argument " "6"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "gsl_integration_qag" "', argument " "6"" of type '" "size_t""'"); 0 0 0
6365 }
6366 0 arg6 = (size_t)(val6);
6367 0 ecode7 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(6), &val7);
6368 0 ▶ if (!SWIG_IsOK(ecode7)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode7)) { 0 0 0
6369 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "gsl_integration_qag" "', argument " "7"" of type '" "int""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "gsl_integration_qag" "', argument " "7"" of type '" "int""'"); 0 0 0
6370 }
6371 0 arg7 = (int)(val7);
6372 0 res8 = SWIG_ConvertPtr(ST(7), &argp8,SWIGTYPE_p_gsl_integration_workspace, 0 | 0 );
6373 0 ▶ if (!SWIG_IsOK(res8)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res8)) { 0 0 0
6374 0 ▶ SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "gsl_integration_qag" "', argument " "8"" of type '" "gsl_integration_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "gsl_integration_qag" "', argument " "8"" of type '" "gsl_integration_workspace *""'"); 0 0 0
6375 }
6376 0 arg8 = (gsl_integration_workspace *)(argp8);
6377 0 result = (int)gsl_integration_qag((struct gsl_function_struct const *)arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
6378 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
6379 0 ▶ if (SWIG_IsTmpObj(res9)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SWIG_IsTmpObj(res9)) { 0 0 0
if (SWIG_IsTmpObj(res9)) { 0 0 0
6380 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
6381 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
6382 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((*arg9)); argvi++ /*@SWIG@*/;
6383 } else {
6384 0 ▶ int new_flags = SWIG_IsNewObj(res9) ? (SWIG_POINTER_OWN | 0) : 0;
Branch: 2 branches
BranchTrueFalseTotal
int new_flags = SWIG_IsNewObj(res9) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
int new_flags = SWIG_IsNewObj(res9) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
6385 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
6386 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
6387 0 ST(argvi) = SWIG_NewPointerObj((void*)(arg9), SWIGTYPE_p_double, new_flags); argvi++ /*@SWIG@*/;
6388 }
6389 0 ▶ if (SWIG_IsTmpObj(res10)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SWIG_IsTmpObj(res10)) { 0 0 0
if (SWIG_IsTmpObj(res10)) { 0 0 0
6390 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
6391 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
6392 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((*arg10)); argvi++ /*@SWIG@*/;
6393 } else {
6394 0 ▶ int new_flags = SWIG_IsNewObj(res10) ? (SWIG_POINTER_OWN | 0) : 0;
Branch: 2 branches
BranchTrueFalseTotal
int new_flags = SWIG_IsNewObj(res10) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
int new_flags = SWIG_IsNewObj(res10) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
6395 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
6396 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
6397 0 ST(argvi) = SWIG_NewPointerObj((void*)(arg10), SWIGTYPE_p_double, new_flags); argvi++ /*@SWIG@*/;
6398 }
6399 {
6400 0 struct gsl_function_perl *p=(struct gsl_function_perl *) arg1->params;
6401 0 gsl_function_perl_free(p);
6402 }
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412 0 XSRETURN(argvi);
6413 0 fail:
6414 {
6415 0 struct gsl_function_perl *p=(struct gsl_function_perl *) arg1->params;
6416 0 gsl_function_perl_free(p);
6417 }
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427 0 SWIG_croak_null();
6428 }
6429 }
6430  
6431  
6432 0 XS(_wrap_gsl_integration_qagi) {
6433 {
6434 0 gsl_function *arg1 = (gsl_function *) 0 ;
6435 double arg2 ;
6436 double arg3 ;
6437 size_t arg4 ;
6438 0 gsl_integration_workspace *arg5 = (gsl_integration_workspace *) 0 ;
6439 0 double *arg6 = (double *) 0 ;
6440 0 double *arg7 = (double *) 0 ;
6441 double val2 ;
6442 0 int ecode2 = 0 ;
6443 double val3 ;
6444 0 int ecode3 = 0 ;
6445 size_t val4 ;
6446 0 int ecode4 = 0 ;
6447 0 void *argp5 = 0 ;
6448 0 int res5 = 0 ;
6449 double temp6 ;
6450 0 int res6 = SWIG_TMPOBJ ;
6451 double temp7 ;
6452 0 int res7 = SWIG_TMPOBJ ;
6453 0 int argvi = 0;
6454 int result;
6455 0 dXSARGS;
6456
6457 0 arg6 = &temp6;
6458 0 arg7 = &temp7;
6459 0 ▶ if ((items < 5) || (items > 5)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 5) || (items > 5)) { 0 0 0
if ((items < 5) || (items > 5)) { 0 0 0
6460 0 SWIG_croak("Usage: gsl_integration_qagi(f,epsabs,epsrel,limit,workspace);");
6461 }
6462 {
6463 0 SV * function = 0;
6464 0 SV * params = 0;
6465 struct gsl_function_perl *w_gsl_function;
6466 0 Newx(w_gsl_function, 1, struct gsl_function_perl);
6467
6468 0 ▶ if (SvROK(ST(0)) && (SvTYPE(SvRV(ST(0))) == SVt_PVAV)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SvROK(ST(0)) && (SvTYPE(SvRV(ST(0))) == SVt_PVAV)) { 0 0 0
if (SvROK(ST(0)) && (SvTYPE(SvRV(ST(0))) == SVt_PVAV)) { 0 0 0
6469 0 AV* array=(AV*)SvRV(ST(0));
6470 0 SV ** p_function = 0;
6471 0 ▶ if (av_len(array)<0) {
Branch: 1 branch
BranchTrueFalseTotal
if (av_len(array)<0) { 0 0 0
6472 0 croak("Math::GSL : $f is an empty array!");
6473 }
6474 0 ▶ if (av_len(array)>1) {
Branch: 1 branch
BranchTrueFalseTotal
if (av_len(array)>1) { 0 0 0
6475 0 croak("Math::GSL : $f is an array with more than 2 elements!");
6476 }
6477 0 p_function = av_fetch(array, 0, 0);
6478 0 function = *p_function;
6479 0 ▶ if (av_len(array)>0) {
Branch: 1 branch
BranchTrueFalseTotal
if (av_len(array)>0) { 0 0 0
6480 0 SV ** p_params = 0;
6481 0 p_params = av_fetch(array, 1, 0);
6482 0 params = *p_params;
6483 }
6484 } else {
6485 0 function = ST(0);
6486 }
6487
6488 0 ▶ if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) {
Branch: 4 branches
BranchTrueFalseTotal
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
6489 0 croak("Math::GSL : $f is not a reference to code!");
6490 }
6491
6492 0 function = newSVsv(function);
6493
6494 0 ▶ if (! params) {
Branch: 1 branch
BranchTrueFalseTotal
if (! params) { 0 0 0
6495 0 params=&PL_sv_undef;
6496 }
6497 0 params = newSVsv(params);
6498
6499 0 w_gsl_function->params = params;
6500 0 w_gsl_function->function = function;
6501 0 w_gsl_function->C_gsl_function.params = w_gsl_function;
6502 0 w_gsl_function->C_gsl_function.function = &call_gsl_function;
6503
6504 0 arg1 = &(w_gsl_function->C_gsl_function);
6505 }
6506 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6507 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
6508 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_qagi" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_qagi" "', argument " "2"" of type '" "double""'"); 0 0 0
6509 }
6510 0 arg2 = (double)(val2);
6511 0 ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
6512 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
6513 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_integration_qagi" "', argument " "3"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_integration_qagi" "', argument " "3"" of type '" "double""'"); 0 0 0
6514 }
6515 0 arg3 = (double)(val3);
6516 0 ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
6517 0 ▶ if (!SWIG_IsOK(ecode4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode4)) { 0 0 0
6518 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_integration_qagi" "', argument " "4"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_integration_qagi" "', argument " "4"" of type '" "size_t""'"); 0 0 0
6519 }
6520 0 arg4 = (size_t)(val4);
6521 0 res5 = SWIG_ConvertPtr(ST(4), &argp5,SWIGTYPE_p_gsl_integration_workspace, 0 | 0 );
6522 0 ▶ if (!SWIG_IsOK(res5)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res5)) { 0 0 0
6523 0 ▶ SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "gsl_integration_qagi" "', argument " "5"" of type '" "gsl_integration_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "gsl_integration_qagi" "', argument " "5"" of type '" "gsl_integration_workspace *""'"); 0 0 0
6524 }
6525 0 arg5 = (gsl_integration_workspace *)(argp5);
6526 0 result = (int)gsl_integration_qagi(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
6527 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
6528 0 ▶ if (SWIG_IsTmpObj(res6)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SWIG_IsTmpObj(res6)) { 0 0 0
if (SWIG_IsTmpObj(res6)) { 0 0 0
6529 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
6530 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
6531 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((*arg6)); argvi++ /*@SWIG@*/;
6532 } else {
6533 0 ▶ int new_flags = SWIG_IsNewObj(res6) ? (SWIG_POINTER_OWN | 0) : 0;
Branch: 2 branches
BranchTrueFalseTotal
int new_flags = SWIG_IsNewObj(res6) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
int new_flags = SWIG_IsNewObj(res6) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
6534 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
6535 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
6536 0 ST(argvi) = SWIG_NewPointerObj((void*)(arg6), SWIGTYPE_p_double, new_flags); argvi++ /*@SWIG@*/;
6537 }
6538 0 ▶ if (SWIG_IsTmpObj(res7)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SWIG_IsTmpObj(res7)) { 0 0 0
if (SWIG_IsTmpObj(res7)) { 0 0 0
6539 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
6540 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
6541 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((*arg7)); argvi++ /*@SWIG@*/;
6542 } else {
6543 0 ▶ int new_flags = SWIG_IsNewObj(res7) ? (SWIG_POINTER_OWN | 0) : 0;
Branch: 2 branches
BranchTrueFalseTotal
int new_flags = SWIG_IsNewObj(res7) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
int new_flags = SWIG_IsNewObj(res7) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
6544 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
6545 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
6546 0 ST(argvi) = SWIG_NewPointerObj((void*)(arg7), SWIGTYPE_p_double, new_flags); argvi++ /*@SWIG@*/;
6547 }
6548 {
6549 0 struct gsl_function_perl *p=(struct gsl_function_perl *) arg1->params;
6550 0 gsl_function_perl_free(p);
6551 }
6552
6553
6554
6555
6556
6557
6558 0 XSRETURN(argvi);
6559 0 fail:
6560 {
6561 0 struct gsl_function_perl *p=(struct gsl_function_perl *) arg1->params;
6562 0 gsl_function_perl_free(p);
6563 }
6564
6565
6566
6567
6568
6569
6570 0 SWIG_croak_null();
6571 }
6572 }
6573  
6574  
6575 0 XS(_wrap_gsl_integration_qagiu) {
6576 {
6577 0 gsl_function *arg1 = (gsl_function *) 0 ;
6578 double arg2 ;
6579 double arg3 ;
6580 double arg4 ;
6581 size_t arg5 ;
6582 0 gsl_integration_workspace *arg6 = (gsl_integration_workspace *) 0 ;
6583 0 double *arg7 = (double *) 0 ;
6584 0 double *arg8 = (double *) 0 ;
6585 double val2 ;
6586 0 int ecode2 = 0 ;
6587 double val3 ;
6588 0 int ecode3 = 0 ;
6589 double val4 ;
6590 0 int ecode4 = 0 ;
6591 size_t val5 ;
6592 0 int ecode5 = 0 ;
6593 0 void *argp6 = 0 ;
6594 0 int res6 = 0 ;
6595 double temp7 ;
6596 0 int res7 = SWIG_TMPOBJ ;
6597 double temp8 ;
6598 0 int res8 = SWIG_TMPOBJ ;
6599 0 int argvi = 0;
6600 int result;
6601 0 dXSARGS;
6602
6603 0 arg7 = &temp7;
6604 0 arg8 = &temp8;
6605 0 ▶ if ((items < 6) || (items > 6)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 6) || (items > 6)) { 0 0 0
if ((items < 6) || (items > 6)) { 0 0 0
6606 0 SWIG_croak("Usage: gsl_integration_qagiu(f,a,epsabs,epsrel,limit,workspace);");
6607 }
6608 {
6609 0 SV * function = 0;
6610 0 SV * params = 0;
6611 struct gsl_function_perl *w_gsl_function;
6612 0 Newx(w_gsl_function, 1, struct gsl_function_perl);
6613
6614 0 ▶ if (SvROK(ST(0)) && (SvTYPE(SvRV(ST(0))) == SVt_PVAV)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SvROK(ST(0)) && (SvTYPE(SvRV(ST(0))) == SVt_PVAV)) { 0 0 0
if (SvROK(ST(0)) && (SvTYPE(SvRV(ST(0))) == SVt_PVAV)) { 0 0 0
6615 0 AV* array=(AV*)SvRV(ST(0));
6616 0 SV ** p_function = 0;
6617 0 ▶ if (av_len(array)<0) {
Branch: 1 branch
BranchTrueFalseTotal
if (av_len(array)<0) { 0 0 0
6618 0 croak("Math::GSL : $f is an empty array!");
6619 }
6620 0 ▶ if (av_len(array)>1) {
Branch: 1 branch
BranchTrueFalseTotal
if (av_len(array)>1) { 0 0 0
6621 0 croak("Math::GSL : $f is an array with more than 2 elements!");
6622 }
6623 0 p_function = av_fetch(array, 0, 0);
6624 0 function = *p_function;
6625 0 ▶ if (av_len(array)>0) {
Branch: 1 branch
BranchTrueFalseTotal
if (av_len(array)>0) { 0 0 0
6626 0 SV ** p_params = 0;
6627 0 p_params = av_fetch(array, 1, 0);
6628 0 params = *p_params;
6629 }
6630 } else {
6631 0 function = ST(0);
6632 }
6633
6634 0 ▶ if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) {
Branch: 4 branches
BranchTrueFalseTotal
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
6635 0 croak("Math::GSL : $f is not a reference to code!");
6636 }
6637
6638 0 function = newSVsv(function);
6639
6640 0 ▶ if (! params) {
Branch: 1 branch
BranchTrueFalseTotal
if (! params) { 0 0 0
6641 0 params=&PL_sv_undef;
6642 }
6643 0 params = newSVsv(params);
6644
6645 0 w_gsl_function->params = params;
6646 0 w_gsl_function->function = function;
6647 0 w_gsl_function->C_gsl_function.params = w_gsl_function;
6648 0 w_gsl_function->C_gsl_function.function = &call_gsl_function;
6649
6650 0 arg1 = &(w_gsl_function->C_gsl_function);
6651 }
6652 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6653 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
6654 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_qagiu" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_qagiu" "', argument " "2"" of type '" "double""'"); 0 0 0
6655 }
6656 0 arg2 = (double)(val2);
6657 0 ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
6658 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
6659 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_integration_qagiu" "', argument " "3"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_integration_qagiu" "', argument " "3"" of type '" "double""'"); 0 0 0
6660 }
6661 0 arg3 = (double)(val3);
6662 0 ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
6663 0 ▶ if (!SWIG_IsOK(ecode4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode4)) { 0 0 0
6664 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_integration_qagiu" "', argument " "4"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_integration_qagiu" "', argument " "4"" of type '" "double""'"); 0 0 0
6665 }
6666 0 arg4 = (double)(val4);
6667 0 ecode5 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
6668 0 ▶ if (!SWIG_IsOK(ecode5)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode5)) { 0 0 0
6669 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "gsl_integration_qagiu" "', argument " "5"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "gsl_integration_qagiu" "', argument " "5"" of type '" "size_t""'"); 0 0 0
6670 }
6671 0 arg5 = (size_t)(val5);
6672 0 res6 = SWIG_ConvertPtr(ST(5), &argp6,SWIGTYPE_p_gsl_integration_workspace, 0 | 0 );
6673 0 ▶ if (!SWIG_IsOK(res6)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res6)) { 0 0 0
6674 0 ▶ SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "gsl_integration_qagiu" "', argument " "6"" of type '" "gsl_integration_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "gsl_integration_qagiu" "', argument " "6"" of type '" "gsl_integration_workspace *""'"); 0 0 0
6675 }
6676 0 arg6 = (gsl_integration_workspace *)(argp6);
6677 0 result = (int)gsl_integration_qagiu(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
6678 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
6679 0 ▶ if (SWIG_IsTmpObj(res7)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SWIG_IsTmpObj(res7)) { 0 0 0
if (SWIG_IsTmpObj(res7)) { 0 0 0
6680 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
6681 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
6682 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((*arg7)); argvi++ /*@SWIG@*/;
6683 } else {
6684 0 ▶ int new_flags = SWIG_IsNewObj(res7) ? (SWIG_POINTER_OWN | 0) : 0;
Branch: 2 branches
BranchTrueFalseTotal
int new_flags = SWIG_IsNewObj(res7) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
int new_flags = SWIG_IsNewObj(res7) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
6685 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
6686 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
6687 0 ST(argvi) = SWIG_NewPointerObj((void*)(arg7), SWIGTYPE_p_double, new_flags); argvi++ /*@SWIG@*/;
6688 }
6689 0 ▶ if (SWIG_IsTmpObj(res8)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SWIG_IsTmpObj(res8)) { 0 0 0
if (SWIG_IsTmpObj(res8)) { 0 0 0
6690 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
6691 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
6692 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((*arg8)); argvi++ /*@SWIG@*/;
6693 } else {
6694 0 ▶ int new_flags = SWIG_IsNewObj(res8) ? (SWIG_POINTER_OWN | 0) : 0;
Branch: 2 branches
BranchTrueFalseTotal
int new_flags = SWIG_IsNewObj(res8) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
int new_flags = SWIG_IsNewObj(res8) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
6695 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
6696 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
6697 0 ST(argvi) = SWIG_NewPointerObj((void*)(arg8), SWIGTYPE_p_double, new_flags); argvi++ /*@SWIG@*/;
6698 }
6699 {
6700 0 struct gsl_function_perl *p=(struct gsl_function_perl *) arg1->params;
6701 0 gsl_function_perl_free(p);
6702 }
6703
6704
6705
6706
6707
6708
6709
6710 0 XSRETURN(argvi);
6711 0 fail:
6712 {
6713 0 struct gsl_function_perl *p=(struct gsl_function_perl *) arg1->params;
6714 0 gsl_function_perl_free(p);
6715 }
6716
6717
6718
6719
6720
6721
6722
6723 0 SWIG_croak_null();
6724 }
6725 }
6726  
6727  
6728 0 XS(_wrap_gsl_integration_qagil) {
6729 {
6730 0 gsl_function *arg1 = (gsl_function *) 0 ;
6731 double arg2 ;
6732 double arg3 ;
6733 double arg4 ;
6734 size_t arg5 ;
6735 0 gsl_integration_workspace *arg6 = (gsl_integration_workspace *) 0 ;
6736 0 double *arg7 = (double *) 0 ;
6737 0 double *arg8 = (double *) 0 ;
6738 double val2 ;
6739 0 int ecode2 = 0 ;
6740 double val3 ;
6741 0 int ecode3 = 0 ;
6742 double val4 ;
6743 0 int ecode4 = 0 ;
6744 size_t val5 ;
6745 0 int ecode5 = 0 ;
6746 0 void *argp6 = 0 ;
6747 0 int res6 = 0 ;
6748 double temp7 ;
6749 0 int res7 = SWIG_TMPOBJ ;
6750 double temp8 ;
6751 0 int res8 = SWIG_TMPOBJ ;
6752 0 int argvi = 0;
6753 int result;
6754 0 dXSARGS;
6755
6756 0 arg7 = &temp7;
6757 0 arg8 = &temp8;
6758 0 ▶ if ((items < 6) || (items > 6)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 6) || (items > 6)) { 0 0 0
if ((items < 6) || (items > 6)) { 0 0 0
6759 0 SWIG_croak("Usage: gsl_integration_qagil(f,b,epsabs,epsrel,limit,workspace);");
6760 }
6761 {
6762 0 SV * function = 0;
6763 0 SV * params = 0;
6764 struct gsl_function_perl *w_gsl_function;
6765 0 Newx(w_gsl_function, 1, struct gsl_function_perl);
6766
6767 0 ▶ if (SvROK(ST(0)) && (SvTYPE(SvRV(ST(0))) == SVt_PVAV)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SvROK(ST(0)) && (SvTYPE(SvRV(ST(0))) == SVt_PVAV)) { 0 0 0
if (SvROK(ST(0)) && (SvTYPE(SvRV(ST(0))) == SVt_PVAV)) { 0 0 0
6768 0 AV* array=(AV*)SvRV(ST(0));
6769 0 SV ** p_function = 0;
6770 0 ▶ if (av_len(array)<0) {
Branch: 1 branch
BranchTrueFalseTotal
if (av_len(array)<0) { 0 0 0
6771 0 croak("Math::GSL : $f is an empty array!");
6772 }
6773 0 ▶ if (av_len(array)>1) {
Branch: 1 branch
BranchTrueFalseTotal
if (av_len(array)>1) { 0 0 0
6774 0 croak("Math::GSL : $f is an array with more than 2 elements!");
6775 }
6776 0 p_function = av_fetch(array, 0, 0);
6777 0 function = *p_function;
6778 0 ▶ if (av_len(array)>0) {
Branch: 1 branch
BranchTrueFalseTotal
if (av_len(array)>0) { 0 0 0
6779 0 SV ** p_params = 0;
6780 0 p_params = av_fetch(array, 1, 0);
6781 0 params = *p_params;
6782 }
6783 } else {
6784 0 function = ST(0);
6785 }
6786
6787 0 ▶ if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) {
Branch: 4 branches
BranchTrueFalseTotal
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
6788 0 croak("Math::GSL : $f is not a reference to code!");
6789 }
6790
6791 0 function = newSVsv(function);
6792
6793 0 ▶ if (! params) {
Branch: 1 branch
BranchTrueFalseTotal
if (! params) { 0 0 0
6794 0 params=&PL_sv_undef;
6795 }
6796 0 params = newSVsv(params);
6797
6798 0 w_gsl_function->params = params;
6799 0 w_gsl_function->function = function;
6800 0 w_gsl_function->C_gsl_function.params = w_gsl_function;
6801 0 w_gsl_function->C_gsl_function.function = &call_gsl_function;
6802
6803 0 arg1 = &(w_gsl_function->C_gsl_function);
6804 }
6805 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6806 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
6807 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_qagil" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_qagil" "', argument " "2"" of type '" "double""'"); 0 0 0
6808 }
6809 0 arg2 = (double)(val2);
6810 0 ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
6811 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
6812 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_integration_qagil" "', argument " "3"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_integration_qagil" "', argument " "3"" of type '" "double""'"); 0 0 0
6813 }
6814 0 arg3 = (double)(val3);
6815 0 ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
6816 0 ▶ if (!SWIG_IsOK(ecode4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode4)) { 0 0 0
6817 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_integration_qagil" "', argument " "4"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_integration_qagil" "', argument " "4"" of type '" "double""'"); 0 0 0
6818 }
6819 0 arg4 = (double)(val4);
6820 0 ecode5 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
6821 0 ▶ if (!SWIG_IsOK(ecode5)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode5)) { 0 0 0
6822 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "gsl_integration_qagil" "', argument " "5"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "gsl_integration_qagil" "', argument " "5"" of type '" "size_t""'"); 0 0 0
6823 }
6824 0 arg5 = (size_t)(val5);
6825 0 res6 = SWIG_ConvertPtr(ST(5), &argp6,SWIGTYPE_p_gsl_integration_workspace, 0 | 0 );
6826 0 ▶ if (!SWIG_IsOK(res6)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res6)) { 0 0 0
6827 0 ▶ SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "gsl_integration_qagil" "', argument " "6"" of type '" "gsl_integration_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "gsl_integration_qagil" "', argument " "6"" of type '" "gsl_integration_workspace *""'"); 0 0 0
6828 }
6829 0 arg6 = (gsl_integration_workspace *)(argp6);
6830 0 result = (int)gsl_integration_qagil(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
6831 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
6832 0 ▶ if (SWIG_IsTmpObj(res7)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SWIG_IsTmpObj(res7)) { 0 0 0
if (SWIG_IsTmpObj(res7)) { 0 0 0
6833 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
6834 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
6835 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((*arg7)); argvi++ /*@SWIG@*/;
6836 } else {
6837 0 ▶ int new_flags = SWIG_IsNewObj(res7) ? (SWIG_POINTER_OWN | 0) : 0;
Branch: 2 branches
BranchTrueFalseTotal
int new_flags = SWIG_IsNewObj(res7) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
int new_flags = SWIG_IsNewObj(res7) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
6838 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
6839 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
6840 0 ST(argvi) = SWIG_NewPointerObj((void*)(arg7), SWIGTYPE_p_double, new_flags); argvi++ /*@SWIG@*/;
6841 }
6842 0 ▶ if (SWIG_IsTmpObj(res8)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SWIG_IsTmpObj(res8)) { 0 0 0
if (SWIG_IsTmpObj(res8)) { 0 0 0
6843 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
6844 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
6845 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((*arg8)); argvi++ /*@SWIG@*/;
6846 } else {
6847 0 ▶ int new_flags = SWIG_IsNewObj(res8) ? (SWIG_POINTER_OWN | 0) : 0;
Branch: 2 branches
BranchTrueFalseTotal
int new_flags = SWIG_IsNewObj(res8) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
int new_flags = SWIG_IsNewObj(res8) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
6848 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
6849 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
6850 0 ST(argvi) = SWIG_NewPointerObj((void*)(arg8), SWIGTYPE_p_double, new_flags); argvi++ /*@SWIG@*/;
6851 }
6852 {
6853 0 struct gsl_function_perl *p=(struct gsl_function_perl *) arg1->params;
6854 0 gsl_function_perl_free(p);
6855 }
6856
6857
6858
6859
6860
6861
6862
6863 0 XSRETURN(argvi);
6864 0 fail:
6865 {
6866 0 struct gsl_function_perl *p=(struct gsl_function_perl *) arg1->params;
6867 0 gsl_function_perl_free(p);
6868 }
6869
6870
6871
6872
6873
6874
6875
6876 0 SWIG_croak_null();
6877 }
6878 }
6879  
6880  
6881 0 XS(_wrap_gsl_integration_qags) {
6882 {
6883 0 gsl_function *arg1 = (gsl_function *) 0 ;
6884 double arg2 ;
6885 double arg3 ;
6886 double arg4 ;
6887 double arg5 ;
6888 size_t arg6 ;
6889 0 gsl_integration_workspace *arg7 = (gsl_integration_workspace *) 0 ;
6890 0 double *arg8 = (double *) 0 ;
6891 0 double *arg9 = (double *) 0 ;
6892 double val2 ;
6893 0 int ecode2 = 0 ;
6894 double val3 ;
6895 0 int ecode3 = 0 ;
6896 double val4 ;
6897 0 int ecode4 = 0 ;
6898 double val5 ;
6899 0 int ecode5 = 0 ;
6900 size_t val6 ;
6901 0 int ecode6 = 0 ;
6902 0 void *argp7 = 0 ;
6903 0 int res7 = 0 ;
6904 double temp8 ;
6905 0 int res8 = SWIG_TMPOBJ ;
6906 double temp9 ;
6907 0 int res9 = SWIG_TMPOBJ ;
6908 0 int argvi = 0;
6909 int result;
6910 0 dXSARGS;
6911
6912 0 arg8 = &temp8;
6913 0 arg9 = &temp9;
6914 0 ▶ if ((items < 7) || (items > 7)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 7) || (items > 7)) { 0 0 0
if ((items < 7) || (items > 7)) { 0 0 0
6915 0 SWIG_croak("Usage: gsl_integration_qags(f,a,b,epsabs,epsrel,limit,workspace);");
6916 }
6917 {
6918 0 SV * function = 0;
6919 0 SV * params = 0;
6920 struct gsl_function_perl *w_gsl_function;
6921 0 Newx(w_gsl_function, 1, struct gsl_function_perl);
6922
6923 0 ▶ if (SvROK(ST(0)) && (SvTYPE(SvRV(ST(0))) == SVt_PVAV)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SvROK(ST(0)) && (SvTYPE(SvRV(ST(0))) == SVt_PVAV)) { 0 0 0
if (SvROK(ST(0)) && (SvTYPE(SvRV(ST(0))) == SVt_PVAV)) { 0 0 0
6924 0 AV* array=(AV*)SvRV(ST(0));
6925 0 SV ** p_function = 0;
6926 0 ▶ if (av_len(array)<0) {
Branch: 1 branch
BranchTrueFalseTotal
if (av_len(array)<0) { 0 0 0
6927 0 croak("Math::GSL : $f is an empty array!");
6928 }
6929 0 ▶ if (av_len(array)>1) {
Branch: 1 branch
BranchTrueFalseTotal
if (av_len(array)>1) { 0 0 0
6930 0 croak("Math::GSL : $f is an array with more than 2 elements!");
6931 }
6932 0 p_function = av_fetch(array, 0, 0);
6933 0 function = *p_function;
6934 0 ▶ if (av_len(array)>0) {
Branch: 1 branch
BranchTrueFalseTotal
if (av_len(array)>0) { 0 0 0
6935 0 SV ** p_params = 0;
6936 0 p_params = av_fetch(array, 1, 0);
6937 0 params = *p_params;
6938 }
6939 } else {
6940 0 function = ST(0);
6941 }
6942
6943 0 ▶ if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) {
Branch: 4 branches
BranchTrueFalseTotal
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
6944 0 croak("Math::GSL : $f is not a reference to code!");
6945 }
6946
6947 0 function = newSVsv(function);
6948
6949 0 ▶ if (! params) {
Branch: 1 branch
BranchTrueFalseTotal
if (! params) { 0 0 0
6950 0 params=&PL_sv_undef;
6951 }
6952 0 params = newSVsv(params);
6953
6954 0 w_gsl_function->params = params;
6955 0 w_gsl_function->function = function;
6956 0 w_gsl_function->C_gsl_function.params = w_gsl_function;
6957 0 w_gsl_function->C_gsl_function.function = &call_gsl_function;
6958
6959 0 arg1 = &(w_gsl_function->C_gsl_function);
6960 }
6961 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6962 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
6963 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_qags" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_qags" "', argument " "2"" of type '" "double""'"); 0 0 0
6964 }
6965 0 arg2 = (double)(val2);
6966 0 ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
6967 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
6968 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_integration_qags" "', argument " "3"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_integration_qags" "', argument " "3"" of type '" "double""'"); 0 0 0
6969 }
6970 0 arg3 = (double)(val3);
6971 0 ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
6972 0 ▶ if (!SWIG_IsOK(ecode4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode4)) { 0 0 0
6973 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_integration_qags" "', argument " "4"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_integration_qags" "', argument " "4"" of type '" "double""'"); 0 0 0
6974 }
6975 0 arg4 = (double)(val4);
6976 0 ecode5 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
6977 0 ▶ if (!SWIG_IsOK(ecode5)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode5)) { 0 0 0
6978 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "gsl_integration_qags" "', argument " "5"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "gsl_integration_qags" "', argument " "5"" of type '" "double""'"); 0 0 0
6979 }
6980 0 arg5 = (double)(val5);
6981 0 ecode6 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(5), &val6);
6982 0 ▶ if (!SWIG_IsOK(ecode6)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode6)) { 0 0 0
6983 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "gsl_integration_qags" "', argument " "6"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "gsl_integration_qags" "', argument " "6"" of type '" "size_t""'"); 0 0 0
6984 }
6985 0 arg6 = (size_t)(val6);
6986 0 res7 = SWIG_ConvertPtr(ST(6), &argp7,SWIGTYPE_p_gsl_integration_workspace, 0 | 0 );
6987 0 ▶ if (!SWIG_IsOK(res7)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res7)) { 0 0 0
6988 0 ▶ SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "gsl_integration_qags" "', argument " "7"" of type '" "gsl_integration_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "gsl_integration_qags" "', argument " "7"" of type '" "gsl_integration_workspace *""'"); 0 0 0
6989 }
6990 0 arg7 = (gsl_integration_workspace *)(argp7);
6991 0 result = (int)gsl_integration_qags((struct gsl_function_struct const *)arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9);
6992 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
6993 0 ▶ if (SWIG_IsTmpObj(res8)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SWIG_IsTmpObj(res8)) { 0 0 0
if (SWIG_IsTmpObj(res8)) { 0 0 0
6994 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
6995 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
6996 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((*arg8)); argvi++ /*@SWIG@*/;
6997 } else {
6998 0 ▶ int new_flags = SWIG_IsNewObj(res8) ? (SWIG_POINTER_OWN | 0) : 0;
Branch: 2 branches
BranchTrueFalseTotal
int new_flags = SWIG_IsNewObj(res8) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
int new_flags = SWIG_IsNewObj(res8) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
6999 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
7000 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
7001 0 ST(argvi) = SWIG_NewPointerObj((void*)(arg8), SWIGTYPE_p_double, new_flags); argvi++ /*@SWIG@*/;
7002 }
7003 0 ▶ if (SWIG_IsTmpObj(res9)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SWIG_IsTmpObj(res9)) { 0 0 0
if (SWIG_IsTmpObj(res9)) { 0 0 0
7004 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
7005 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
7006 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((*arg9)); argvi++ /*@SWIG@*/;
7007 } else {
7008 0 ▶ int new_flags = SWIG_IsNewObj(res9) ? (SWIG_POINTER_OWN | 0) : 0;
Branch: 2 branches
BranchTrueFalseTotal
int new_flags = SWIG_IsNewObj(res9) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
int new_flags = SWIG_IsNewObj(res9) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
7009 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
7010 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
7011 0 ST(argvi) = SWIG_NewPointerObj((void*)(arg9), SWIGTYPE_p_double, new_flags); argvi++ /*@SWIG@*/;
7012 }
7013 {
7014 0 struct gsl_function_perl *p=(struct gsl_function_perl *) arg1->params;
7015 0 gsl_function_perl_free(p);
7016 }
7017
7018
7019
7020
7021
7022
7023
7024
7025 0 XSRETURN(argvi);
7026 0 fail:
7027 {
7028 0 struct gsl_function_perl *p=(struct gsl_function_perl *) arg1->params;
7029 0 gsl_function_perl_free(p);
7030 }
7031
7032
7033
7034
7035
7036
7037
7038
7039 0 SWIG_croak_null();
7040 }
7041 }
7042  
7043  
7044 0 XS(_wrap_gsl_integration_qagp) {
7045 {
7046 0 gsl_function *arg1 = (gsl_function *) 0 ;
7047 0 double *arg2 = (double *) 0 ;
7048 size_t arg3 ;
7049 double arg4 ;
7050 double arg5 ;
7051 size_t arg6 ;
7052 0 gsl_integration_workspace *arg7 = (gsl_integration_workspace *) 0 ;
7053 0 double *arg8 = (double *) 0 ;
7054 0 double *arg9 = (double *) 0 ;
7055 0 void *argp2 = 0 ;
7056 0 int res2 = 0 ;
7057 size_t val3 ;
7058 0 int ecode3 = 0 ;
7059 double val4 ;
7060 0 int ecode4 = 0 ;
7061 double val5 ;
7062 0 int ecode5 = 0 ;
7063 size_t val6 ;
7064 0 int ecode6 = 0 ;
7065 0 void *argp7 = 0 ;
7066 0 int res7 = 0 ;
7067 double temp8 ;
7068 0 int res8 = SWIG_TMPOBJ ;
7069 double temp9 ;
7070 0 int res9 = SWIG_TMPOBJ ;
7071 0 int argvi = 0;
7072 int result;
7073 0 dXSARGS;
7074
7075 0 arg8 = &temp8;
7076 0 arg9 = &temp9;
7077 0 ▶ if ((items < 7) || (items > 7)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 7) || (items > 7)) { 0 0 0
if ((items < 7) || (items > 7)) { 0 0 0
7078 0 SWIG_croak("Usage: gsl_integration_qagp(f,pts,npts,epsabs,epsrel,limit,workspace);");
7079 }
7080 {
7081 0 SV * function = 0;
7082 0 SV * params = 0;
7083 struct gsl_function_perl *w_gsl_function;
7084 0 Newx(w_gsl_function, 1, struct gsl_function_perl);
7085
7086 0 ▶ if (SvROK(ST(0)) && (SvTYPE(SvRV(ST(0))) == SVt_PVAV)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SvROK(ST(0)) && (SvTYPE(SvRV(ST(0))) == SVt_PVAV)) { 0 0 0
if (SvROK(ST(0)) && (SvTYPE(SvRV(ST(0))) == SVt_PVAV)) { 0 0 0
7087 0 AV* array=(AV*)SvRV(ST(0));
7088 0 SV ** p_function = 0;
7089 0 ▶ if (av_len(array)<0) {
Branch: 1 branch
BranchTrueFalseTotal
if (av_len(array)<0) { 0 0 0
7090 0 croak("Math::GSL : $f is an empty array!");
7091 }
7092 0 ▶ if (av_len(array)>1) {
Branch: 1 branch
BranchTrueFalseTotal
if (av_len(array)>1) { 0 0 0
7093 0 croak("Math::GSL : $f is an array with more than 2 elements!");
7094 }
7095 0 p_function = av_fetch(array, 0, 0);
7096 0 function = *p_function;
7097 0 ▶ if (av_len(array)>0) {
Branch: 1 branch
BranchTrueFalseTotal
if (av_len(array)>0) { 0 0 0
7098 0 SV ** p_params = 0;
7099 0 p_params = av_fetch(array, 1, 0);
7100 0 params = *p_params;
7101 }
7102 } else {
7103 0 function = ST(0);
7104 }
7105
7106 0 ▶ if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) {
Branch: 4 branches
BranchTrueFalseTotal
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
7107 0 croak("Math::GSL : $f is not a reference to code!");
7108 }
7109
7110 0 function = newSVsv(function);
7111
7112 0 ▶ if (! params) {
Branch: 1 branch
BranchTrueFalseTotal
if (! params) { 0 0 0
7113 0 params=&PL_sv_undef;
7114 }
7115 0 params = newSVsv(params);
7116
7117 0 w_gsl_function->params = params;
7118 0 w_gsl_function->function = function;
7119 0 w_gsl_function->C_gsl_function.params = w_gsl_function;
7120 0 w_gsl_function->C_gsl_function.function = &call_gsl_function;
7121
7122 0 arg1 = &(w_gsl_function->C_gsl_function);
7123 }
7124 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, 0 | 0 );
7125 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
7126 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_integration_qagp" "', argument " "2"" of type '" "double *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_integration_qagp" "', argument " "2"" of type '" "double *""'"); 0 0 0
7127 }
7128 0 arg2 = (double *)(argp2);
7129 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
7130 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
7131 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_integration_qagp" "', argument " "3"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_integration_qagp" "', argument " "3"" of type '" "size_t""'"); 0 0 0
7132 }
7133 0 arg3 = (size_t)(val3);
7134 0 ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
7135 0 ▶ if (!SWIG_IsOK(ecode4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode4)) { 0 0 0
7136 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_integration_qagp" "', argument " "4"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_integration_qagp" "', argument " "4"" of type '" "double""'"); 0 0 0
7137 }
7138 0 arg4 = (double)(val4);
7139 0 ecode5 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
7140 0 ▶ if (!SWIG_IsOK(ecode5)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode5)) { 0 0 0
7141 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "gsl_integration_qagp" "', argument " "5"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "gsl_integration_qagp" "', argument " "5"" of type '" "double""'"); 0 0 0
7142 }
7143 0 arg5 = (double)(val5);
7144 0 ecode6 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(5), &val6);
7145 0 ▶ if (!SWIG_IsOK(ecode6)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode6)) { 0 0 0
7146 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "gsl_integration_qagp" "', argument " "6"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "gsl_integration_qagp" "', argument " "6"" of type '" "size_t""'"); 0 0 0
7147 }
7148 0 arg6 = (size_t)(val6);
7149 0 res7 = SWIG_ConvertPtr(ST(6), &argp7,SWIGTYPE_p_gsl_integration_workspace, 0 | 0 );
7150 0 ▶ if (!SWIG_IsOK(res7)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res7)) { 0 0 0
7151 0 ▶ SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "gsl_integration_qagp" "', argument " "7"" of type '" "gsl_integration_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "gsl_integration_qagp" "', argument " "7"" of type '" "gsl_integration_workspace *""'"); 0 0 0
7152 }
7153 0 arg7 = (gsl_integration_workspace *)(argp7);
7154 0 result = (int)gsl_integration_qagp((struct gsl_function_struct const *)arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9);
7155 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
7156 0 ▶ if (SWIG_IsTmpObj(res8)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SWIG_IsTmpObj(res8)) { 0 0 0
if (SWIG_IsTmpObj(res8)) { 0 0 0
7157 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
7158 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
7159 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((*arg8)); argvi++ /*@SWIG@*/;
7160 } else {
7161 0 ▶ int new_flags = SWIG_IsNewObj(res8) ? (SWIG_POINTER_OWN | 0) : 0;
Branch: 2 branches
BranchTrueFalseTotal
int new_flags = SWIG_IsNewObj(res8) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
int new_flags = SWIG_IsNewObj(res8) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
7162 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
7163 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
7164 0 ST(argvi) = SWIG_NewPointerObj((void*)(arg8), SWIGTYPE_p_double, new_flags); argvi++ /*@SWIG@*/;
7165 }
7166 0 ▶ if (SWIG_IsTmpObj(res9)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SWIG_IsTmpObj(res9)) { 0 0 0
if (SWIG_IsTmpObj(res9)) { 0 0 0
7167 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
7168 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
7169 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((*arg9)); argvi++ /*@SWIG@*/;
7170 } else {
7171 0 ▶ int new_flags = SWIG_IsNewObj(res9) ? (SWIG_POINTER_OWN | 0) : 0;
Branch: 2 branches
BranchTrueFalseTotal
int new_flags = SWIG_IsNewObj(res9) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
int new_flags = SWIG_IsNewObj(res9) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
7172 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
7173 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
7174 0 ST(argvi) = SWIG_NewPointerObj((void*)(arg9), SWIGTYPE_p_double, new_flags); argvi++ /*@SWIG@*/;
7175 }
7176 {
7177 0 struct gsl_function_perl *p=(struct gsl_function_perl *) arg1->params;
7178 0 gsl_function_perl_free(p);
7179 }
7180
7181
7182
7183
7184
7185
7186
7187
7188 0 XSRETURN(argvi);
7189 0 fail:
7190 {
7191 0 struct gsl_function_perl *p=(struct gsl_function_perl *) arg1->params;
7192 0 gsl_function_perl_free(p);
7193 }
7194
7195
7196
7197
7198
7199
7200
7201
7202 0 SWIG_croak_null();
7203 }
7204 }
7205  
7206  
7207 0 XS(_wrap_gsl_integration_qawc) {
7208 {
7209 0 gsl_function *arg1 = (gsl_function *) 0 ;
7210 double arg2 ;
7211 double arg3 ;
7212 double arg4 ;
7213 double arg5 ;
7214 double arg6 ;
7215 size_t arg7 ;
7216 0 gsl_integration_workspace *arg8 = (gsl_integration_workspace *) 0 ;
7217 0 double *arg9 = (double *) 0 ;
7218 0 double *arg10 = (double *) 0 ;
7219 double val2 ;
7220 0 int ecode2 = 0 ;
7221 double val3 ;
7222 0 int ecode3 = 0 ;
7223 double val4 ;
7224 0 int ecode4 = 0 ;
7225 double val5 ;
7226 0 int ecode5 = 0 ;
7227 double val6 ;
7228 0 int ecode6 = 0 ;
7229 size_t val7 ;
7230 0 int ecode7 = 0 ;
7231 0 void *argp8 = 0 ;
7232 0 int res8 = 0 ;
7233 double temp9 ;
7234 0 int res9 = SWIG_TMPOBJ ;
7235 double temp10 ;
7236 0 int res10 = SWIG_TMPOBJ ;
7237 0 int argvi = 0;
7238 int result;
7239 0 dXSARGS;
7240
7241 0 arg9 = &temp9;
7242 0 arg10 = &temp10;
7243 0 ▶ if ((items < 8) || (items > 8)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 8) || (items > 8)) { 0 0 0
if ((items < 8) || (items > 8)) { 0 0 0
7244 0 SWIG_croak("Usage: gsl_integration_qawc(f,a,b,c,epsabs,epsrel,limit,workspace);");
7245 }
7246 {
7247 0 SV * function = 0;
7248 0 SV * params = 0;
7249 struct gsl_function_perl *w_gsl_function;
7250 0 Newx(w_gsl_function, 1, struct gsl_function_perl);
7251
7252 0 ▶ if (SvROK(ST(0)) && (SvTYPE(SvRV(ST(0))) == SVt_PVAV)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SvROK(ST(0)) && (SvTYPE(SvRV(ST(0))) == SVt_PVAV)) { 0 0 0
if (SvROK(ST(0)) && (SvTYPE(SvRV(ST(0))) == SVt_PVAV)) { 0 0 0
7253 0 AV* array=(AV*)SvRV(ST(0));
7254 0 SV ** p_function = 0;
7255 0 ▶ if (av_len(array)<0) {
Branch: 1 branch
BranchTrueFalseTotal
if (av_len(array)<0) { 0 0 0
7256 0 croak("Math::GSL : $f is an empty array!");
7257 }
7258 0 ▶ if (av_len(array)>1) {
Branch: 1 branch
BranchTrueFalseTotal
if (av_len(array)>1) { 0 0 0
7259 0 croak("Math::GSL : $f is an array with more than 2 elements!");
7260 }
7261 0 p_function = av_fetch(array, 0, 0);
7262 0 function = *p_function;
7263 0 ▶ if (av_len(array)>0) {
Branch: 1 branch
BranchTrueFalseTotal
if (av_len(array)>0) { 0 0 0
7264 0 SV ** p_params = 0;
7265 0 p_params = av_fetch(array, 1, 0);
7266 0 params = *p_params;
7267 }
7268 } else {
7269 0 function = ST(0);
7270 }
7271
7272 0 ▶ if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) {
Branch: 4 branches
BranchTrueFalseTotal
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
7273 0 croak("Math::GSL : $f is not a reference to code!");
7274 }
7275
7276 0 function = newSVsv(function);
7277
7278 0 ▶ if (! params) {
Branch: 1 branch
BranchTrueFalseTotal
if (! params) { 0 0 0
7279 0 params=&PL_sv_undef;
7280 }
7281 0 params = newSVsv(params);
7282
7283 0 w_gsl_function->params = params;
7284 0 w_gsl_function->function = function;
7285 0 w_gsl_function->C_gsl_function.params = w_gsl_function;
7286 0 w_gsl_function->C_gsl_function.function = &call_gsl_function;
7287
7288 0 arg1 = &(w_gsl_function->C_gsl_function);
7289 }
7290 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
7291 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
7292 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_qawc" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_qawc" "', argument " "2"" of type '" "double""'"); 0 0 0
7293 }
7294 0 arg2 = (double)(val2);
7295 0 ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
7296 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
7297 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_integration_qawc" "', argument " "3"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_integration_qawc" "', argument " "3"" of type '" "double""'"); 0 0 0
7298 }
7299 0 arg3 = (double)(val3);
7300 0 ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
7301 0 ▶ if (!SWIG_IsOK(ecode4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode4)) { 0 0 0
7302 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_integration_qawc" "', argument " "4"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_integration_qawc" "', argument " "4"" of type '" "double""'"); 0 0 0
7303 }
7304 0 arg4 = (double)(val4);
7305 0 ecode5 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
7306 0 ▶ if (!SWIG_IsOK(ecode5)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode5)) { 0 0 0
7307 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "gsl_integration_qawc" "', argument " "5"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "gsl_integration_qawc" "', argument " "5"" of type '" "double""'"); 0 0 0
7308 }
7309 0 arg5 = (double)(val5);
7310 0 ecode6 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(5), &val6);
7311 0 ▶ if (!SWIG_IsOK(ecode6)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode6)) { 0 0 0
7312 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "gsl_integration_qawc" "', argument " "6"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "gsl_integration_qawc" "', argument " "6"" of type '" "double""'"); 0 0 0
7313 }
7314 0 arg6 = (double)(val6);
7315 0 ecode7 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(6), &val7);
7316 0 ▶ if (!SWIG_IsOK(ecode7)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode7)) { 0 0 0
7317 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "gsl_integration_qawc" "', argument " "7"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "gsl_integration_qawc" "', argument " "7"" of type '" "size_t""'"); 0 0 0
7318 }
7319 0 arg7 = (size_t)(val7);
7320 0 res8 = SWIG_ConvertPtr(ST(7), &argp8,SWIGTYPE_p_gsl_integration_workspace, 0 | 0 );
7321 0 ▶ if (!SWIG_IsOK(res8)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res8)) { 0 0 0
7322 0 ▶ SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "gsl_integration_qawc" "', argument " "8"" of type '" "gsl_integration_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "gsl_integration_qawc" "', argument " "8"" of type '" "gsl_integration_workspace *""'"); 0 0 0
7323 }
7324 0 arg8 = (gsl_integration_workspace *)(argp8);
7325 0 result = (int)gsl_integration_qawc(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
7326 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
7327 0 ▶ if (SWIG_IsTmpObj(res9)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SWIG_IsTmpObj(res9)) { 0 0 0
if (SWIG_IsTmpObj(res9)) { 0 0 0
7328 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
7329 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
7330 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((*arg9)); argvi++ /*@SWIG@*/;
7331 } else {
7332 0 ▶ int new_flags = SWIG_IsNewObj(res9) ? (SWIG_POINTER_OWN | 0) : 0;
Branch: 2 branches
BranchTrueFalseTotal
int new_flags = SWIG_IsNewObj(res9) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
int new_flags = SWIG_IsNewObj(res9) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
7333 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
7334 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
7335 0 ST(argvi) = SWIG_NewPointerObj((void*)(arg9), SWIGTYPE_p_double, new_flags); argvi++ /*@SWIG@*/;
7336 }
7337 0 ▶ if (SWIG_IsTmpObj(res10)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SWIG_IsTmpObj(res10)) { 0 0 0
if (SWIG_IsTmpObj(res10)) { 0 0 0
7338 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
7339 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
7340 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((*arg10)); argvi++ /*@SWIG@*/;
7341 } else {
7342 0 ▶ int new_flags = SWIG_IsNewObj(res10) ? (SWIG_POINTER_OWN | 0) : 0;
Branch: 2 branches
BranchTrueFalseTotal
int new_flags = SWIG_IsNewObj(res10) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
int new_flags = SWIG_IsNewObj(res10) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
7343 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
7344 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
7345 0 ST(argvi) = SWIG_NewPointerObj((void*)(arg10), SWIGTYPE_p_double, new_flags); argvi++ /*@SWIG@*/;
7346 }
7347 {
7348 0 struct gsl_function_perl *p=(struct gsl_function_perl *) arg1->params;
7349 0 gsl_function_perl_free(p);
7350 }
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360 0 XSRETURN(argvi);
7361 0 fail:
7362 {
7363 0 struct gsl_function_perl *p=(struct gsl_function_perl *) arg1->params;
7364 0 gsl_function_perl_free(p);
7365 }
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375 0 SWIG_croak_null();
7376 }
7377 }
7378  
7379  
7380 0 XS(_wrap_gsl_integration_qaws) {
7381 {
7382 0 gsl_function *arg1 = (gsl_function *) 0 ;
7383 double arg2 ;
7384 double arg3 ;
7385 0 gsl_integration_qaws_table *arg4 = (gsl_integration_qaws_table *) 0 ;
7386 double arg5 ;
7387 double arg6 ;
7388 size_t arg7 ;
7389 0 gsl_integration_workspace *arg8 = (gsl_integration_workspace *) 0 ;
7390 0 double *arg9 = (double *) 0 ;
7391 0 double *arg10 = (double *) 0 ;
7392 double val2 ;
7393 0 int ecode2 = 0 ;
7394 double val3 ;
7395 0 int ecode3 = 0 ;
7396 0 void *argp4 = 0 ;
7397 0 int res4 = 0 ;
7398 double val5 ;
7399 0 int ecode5 = 0 ;
7400 double val6 ;
7401 0 int ecode6 = 0 ;
7402 size_t val7 ;
7403 0 int ecode7 = 0 ;
7404 0 void *argp8 = 0 ;
7405 0 int res8 = 0 ;
7406 double temp9 ;
7407 0 int res9 = SWIG_TMPOBJ ;
7408 double temp10 ;
7409 0 int res10 = SWIG_TMPOBJ ;
7410 0 int argvi = 0;
7411 int result;
7412 0 dXSARGS;
7413
7414 0 arg9 = &temp9;
7415 0 arg10 = &temp10;
7416 0 ▶ if ((items < 8) || (items > 8)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 8) || (items > 8)) { 0 0 0
if ((items < 8) || (items > 8)) { 0 0 0
7417 0 SWIG_croak("Usage: gsl_integration_qaws(f,a,b,t,epsabs,epsrel,limit,workspace);");
7418 }
7419 {
7420 0 SV * function = 0;
7421 0 SV * params = 0;
7422 struct gsl_function_perl *w_gsl_function;
7423 0 Newx(w_gsl_function, 1, struct gsl_function_perl);
7424
7425 0 ▶ if (SvROK(ST(0)) && (SvTYPE(SvRV(ST(0))) == SVt_PVAV)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SvROK(ST(0)) && (SvTYPE(SvRV(ST(0))) == SVt_PVAV)) { 0 0 0
if (SvROK(ST(0)) && (SvTYPE(SvRV(ST(0))) == SVt_PVAV)) { 0 0 0
7426 0 AV* array=(AV*)SvRV(ST(0));
7427 0 SV ** p_function = 0;
7428 0 ▶ if (av_len(array)<0) {
Branch: 1 branch
BranchTrueFalseTotal
if (av_len(array)<0) { 0 0 0
7429 0 croak("Math::GSL : $f is an empty array!");
7430 }
7431 0 ▶ if (av_len(array)>1) {
Branch: 1 branch
BranchTrueFalseTotal
if (av_len(array)>1) { 0 0 0
7432 0 croak("Math::GSL : $f is an array with more than 2 elements!");
7433 }
7434 0 p_function = av_fetch(array, 0, 0);
7435 0 function = *p_function;
7436 0 ▶ if (av_len(array)>0) {
Branch: 1 branch
BranchTrueFalseTotal
if (av_len(array)>0) { 0 0 0
7437 0 SV ** p_params = 0;
7438 0 p_params = av_fetch(array, 1, 0);
7439 0 params = *p_params;
7440 }
7441 } else {
7442 0 function = ST(0);
7443 }
7444
7445 0 ▶ if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) {
Branch: 4 branches
BranchTrueFalseTotal
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
7446 0 croak("Math::GSL : $f is not a reference to code!");
7447 }
7448
7449 0 function = newSVsv(function);
7450
7451 0 ▶ if (! params) {
Branch: 1 branch
BranchTrueFalseTotal
if (! params) { 0 0 0
7452 0 params=&PL_sv_undef;
7453 }
7454 0 params = newSVsv(params);
7455
7456 0 w_gsl_function->params = params;
7457 0 w_gsl_function->function = function;
7458 0 w_gsl_function->C_gsl_function.params = w_gsl_function;
7459 0 w_gsl_function->C_gsl_function.function = &call_gsl_function;
7460
7461 0 arg1 = &(w_gsl_function->C_gsl_function);
7462 }
7463 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
7464 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
7465 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_qaws" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_qaws" "', argument " "2"" of type '" "double""'"); 0 0 0
7466 }
7467 0 arg2 = (double)(val2);
7468 0 ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
7469 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
7470 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_integration_qaws" "', argument " "3"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_integration_qaws" "', argument " "3"" of type '" "double""'"); 0 0 0
7471 }
7472 0 arg3 = (double)(val3);
7473 0 res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_gsl_integration_qaws_table, 0 | 0 );
7474 0 ▶ if (!SWIG_IsOK(res4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res4)) { 0 0 0
7475 0 ▶ SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_integration_qaws" "', argument " "4"" of type '" "gsl_integration_qaws_table *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_integration_qaws" "', argument " "4"" of type '" "gsl_integration_qaws_table *""'"); 0 0 0
7476 }
7477 0 arg4 = (gsl_integration_qaws_table *)(argp4);
7478 0 ecode5 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
7479 0 ▶ if (!SWIG_IsOK(ecode5)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode5)) { 0 0 0
7480 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "gsl_integration_qaws" "', argument " "5"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "gsl_integration_qaws" "', argument " "5"" of type '" "double""'"); 0 0 0
7481 }
7482 0 arg5 = (double)(val5);
7483 0 ecode6 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(5), &val6);
7484 0 ▶ if (!SWIG_IsOK(ecode6)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode6)) { 0 0 0
7485 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "gsl_integration_qaws" "', argument " "6"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "gsl_integration_qaws" "', argument " "6"" of type '" "double""'"); 0 0 0
7486 }
7487 0 arg6 = (double)(val6);
7488 0 ecode7 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(6), &val7);
7489 0 ▶ if (!SWIG_IsOK(ecode7)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode7)) { 0 0 0
7490 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "gsl_integration_qaws" "', argument " "7"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "gsl_integration_qaws" "', argument " "7"" of type '" "size_t""'"); 0 0 0
7491 }
7492 0 arg7 = (size_t)(val7);
7493 0 res8 = SWIG_ConvertPtr(ST(7), &argp8,SWIGTYPE_p_gsl_integration_workspace, 0 | 0 );
7494 0 ▶ if (!SWIG_IsOK(res8)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res8)) { 0 0 0
7495 0 ▶ SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "gsl_integration_qaws" "', argument " "8"" of type '" "gsl_integration_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "gsl_integration_qaws" "', argument " "8"" of type '" "gsl_integration_workspace *""'"); 0 0 0
7496 }
7497 0 arg8 = (gsl_integration_workspace *)(argp8);
7498 0 result = (int)gsl_integration_qaws(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
7499 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
7500 0 ▶ if (SWIG_IsTmpObj(res9)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SWIG_IsTmpObj(res9)) { 0 0 0
if (SWIG_IsTmpObj(res9)) { 0 0 0
7501 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
7502 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
7503 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((*arg9)); argvi++ /*@SWIG@*/;
7504 } else {
7505 0 ▶ int new_flags = SWIG_IsNewObj(res9) ? (SWIG_POINTER_OWN | 0) : 0;
Branch: 2 branches
BranchTrueFalseTotal
int new_flags = SWIG_IsNewObj(res9) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
int new_flags = SWIG_IsNewObj(res9) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
7506 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
7507 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
7508 0 ST(argvi) = SWIG_NewPointerObj((void*)(arg9), SWIGTYPE_p_double, new_flags); argvi++ /*@SWIG@*/;
7509 }
7510 0 ▶ if (SWIG_IsTmpObj(res10)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SWIG_IsTmpObj(res10)) { 0 0 0
if (SWIG_IsTmpObj(res10)) { 0 0 0
7511 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
7512 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
7513 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((*arg10)); argvi++ /*@SWIG@*/;
7514 } else {
7515 0 ▶ int new_flags = SWIG_IsNewObj(res10) ? (SWIG_POINTER_OWN | 0) : 0;
Branch: 2 branches
BranchTrueFalseTotal
int new_flags = SWIG_IsNewObj(res10) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
int new_flags = SWIG_IsNewObj(res10) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
7516 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
7517 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
7518 0 ST(argvi) = SWIG_NewPointerObj((void*)(arg10), SWIGTYPE_p_double, new_flags); argvi++ /*@SWIG@*/;
7519 }
7520 {
7521 0 struct gsl_function_perl *p=(struct gsl_function_perl *) arg1->params;
7522 0 gsl_function_perl_free(p);
7523 }
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533 0 XSRETURN(argvi);
7534 0 fail:
7535 {
7536 0 struct gsl_function_perl *p=(struct gsl_function_perl *) arg1->params;
7537 0 gsl_function_perl_free(p);
7538 }
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548 0 SWIG_croak_null();
7549 }
7550 }
7551  
7552  
7553 0 XS(_wrap_gsl_integration_qawo) {
7554 {
7555 0 gsl_function *arg1 = (gsl_function *) 0 ;
7556 double arg2 ;
7557 double arg3 ;
7558 double arg4 ;
7559 size_t arg5 ;
7560 0 gsl_integration_workspace *arg6 = (gsl_integration_workspace *) 0 ;
7561 0 gsl_integration_qawo_table *arg7 = (gsl_integration_qawo_table *) 0 ;
7562 0 double *arg8 = (double *) 0 ;
7563 0 double *arg9 = (double *) 0 ;
7564 double val2 ;
7565 0 int ecode2 = 0 ;
7566 double val3 ;
7567 0 int ecode3 = 0 ;
7568 double val4 ;
7569 0 int ecode4 = 0 ;
7570 size_t val5 ;
7571 0 int ecode5 = 0 ;
7572 0 void *argp6 = 0 ;
7573 0 int res6 = 0 ;
7574 0 void *argp7 = 0 ;
7575 0 int res7 = 0 ;
7576 double temp8 ;
7577 0 int res8 = SWIG_TMPOBJ ;
7578 double temp9 ;
7579 0 int res9 = SWIG_TMPOBJ ;
7580 0 int argvi = 0;
7581 int result;
7582 0 dXSARGS;
7583
7584 0 arg8 = &temp8;
7585 0 arg9 = &temp9;
7586 0 ▶ if ((items < 7) || (items > 7)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 7) || (items > 7)) { 0 0 0
if ((items < 7) || (items > 7)) { 0 0 0
7587 0 SWIG_croak("Usage: gsl_integration_qawo(f,a,epsabs,epsrel,limit,workspace,wf);");
7588 }
7589 {
7590 0 SV * function = 0;
7591 0 SV * params = 0;
7592 struct gsl_function_perl *w_gsl_function;
7593 0 Newx(w_gsl_function, 1, struct gsl_function_perl);
7594
7595 0 ▶ if (SvROK(ST(0)) && (SvTYPE(SvRV(ST(0))) == SVt_PVAV)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SvROK(ST(0)) && (SvTYPE(SvRV(ST(0))) == SVt_PVAV)) { 0 0 0
if (SvROK(ST(0)) && (SvTYPE(SvRV(ST(0))) == SVt_PVAV)) { 0 0 0
7596 0 AV* array=(AV*)SvRV(ST(0));
7597 0 SV ** p_function = 0;
7598 0 ▶ if (av_len(array)<0) {
Branch: 1 branch
BranchTrueFalseTotal
if (av_len(array)<0) { 0 0 0
7599 0 croak("Math::GSL : $f is an empty array!");
7600 }
7601 0 ▶ if (av_len(array)>1) {
Branch: 1 branch
BranchTrueFalseTotal
if (av_len(array)>1) { 0 0 0
7602 0 croak("Math::GSL : $f is an array with more than 2 elements!");
7603 }
7604 0 p_function = av_fetch(array, 0, 0);
7605 0 function = *p_function;
7606 0 ▶ if (av_len(array)>0) {
Branch: 1 branch
BranchTrueFalseTotal
if (av_len(array)>0) { 0 0 0
7607 0 SV ** p_params = 0;
7608 0 p_params = av_fetch(array, 1, 0);
7609 0 params = *p_params;
7610 }
7611 } else {
7612 0 function = ST(0);
7613 }
7614
7615 0 ▶ if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) {
Branch: 4 branches
BranchTrueFalseTotal
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
7616 0 croak("Math::GSL : $f is not a reference to code!");
7617 }
7618
7619 0 function = newSVsv(function);
7620
7621 0 ▶ if (! params) {
Branch: 1 branch
BranchTrueFalseTotal
if (! params) { 0 0 0
7622 0 params=&PL_sv_undef;
7623 }
7624 0 params = newSVsv(params);
7625
7626 0 w_gsl_function->params = params;
7627 0 w_gsl_function->function = function;
7628 0 w_gsl_function->C_gsl_function.params = w_gsl_function;
7629 0 w_gsl_function->C_gsl_function.function = &call_gsl_function;
7630
7631 0 arg1 = &(w_gsl_function->C_gsl_function);
7632 }
7633 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
7634 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
7635 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_qawo" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_qawo" "', argument " "2"" of type '" "double""'"); 0 0 0
7636 }
7637 0 arg2 = (double)(val2);
7638 0 ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
7639 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
7640 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_integration_qawo" "', argument " "3"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_integration_qawo" "', argument " "3"" of type '" "double""'"); 0 0 0
7641 }
7642 0 arg3 = (double)(val3);
7643 0 ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
7644 0 ▶ if (!SWIG_IsOK(ecode4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode4)) { 0 0 0
7645 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_integration_qawo" "', argument " "4"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_integration_qawo" "', argument " "4"" of type '" "double""'"); 0 0 0
7646 }
7647 0 arg4 = (double)(val4);
7648 0 ecode5 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
7649 0 ▶ if (!SWIG_IsOK(ecode5)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode5)) { 0 0 0
7650 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "gsl_integration_qawo" "', argument " "5"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "gsl_integration_qawo" "', argument " "5"" of type '" "size_t""'"); 0 0 0
7651 }
7652 0 arg5 = (size_t)(val5);
7653 0 res6 = SWIG_ConvertPtr(ST(5), &argp6,SWIGTYPE_p_gsl_integration_workspace, 0 | 0 );
7654 0 ▶ if (!SWIG_IsOK(res6)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res6)) { 0 0 0
7655 0 ▶ SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "gsl_integration_qawo" "', argument " "6"" of type '" "gsl_integration_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "gsl_integration_qawo" "', argument " "6"" of type '" "gsl_integration_workspace *""'"); 0 0 0
7656 }
7657 0 arg6 = (gsl_integration_workspace *)(argp6);
7658 0 res7 = SWIG_ConvertPtr(ST(6), &argp7,SWIGTYPE_p_gsl_integration_qawo_table, 0 | 0 );
7659 0 ▶ if (!SWIG_IsOK(res7)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res7)) { 0 0 0
7660 0 ▶ SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "gsl_integration_qawo" "', argument " "7"" of type '" "gsl_integration_qawo_table *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "gsl_integration_qawo" "', argument " "7"" of type '" "gsl_integration_qawo_table *""'"); 0 0 0
7661 }
7662 0 arg7 = (gsl_integration_qawo_table *)(argp7);
7663 0 result = (int)gsl_integration_qawo(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9);
7664 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
7665 0 ▶ if (SWIG_IsTmpObj(res8)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SWIG_IsTmpObj(res8)) { 0 0 0
if (SWIG_IsTmpObj(res8)) { 0 0 0
7666 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
7667 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
7668 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((*arg8)); argvi++ /*@SWIG@*/;
7669 } else {
7670 0 ▶ int new_flags = SWIG_IsNewObj(res8) ? (SWIG_POINTER_OWN | 0) : 0;
Branch: 2 branches
BranchTrueFalseTotal
int new_flags = SWIG_IsNewObj(res8) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
int new_flags = SWIG_IsNewObj(res8) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
7671 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
7672 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
7673 0 ST(argvi) = SWIG_NewPointerObj((void*)(arg8), SWIGTYPE_p_double, new_flags); argvi++ /*@SWIG@*/;
7674 }
7675 0 ▶ if (SWIG_IsTmpObj(res9)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SWIG_IsTmpObj(res9)) { 0 0 0
if (SWIG_IsTmpObj(res9)) { 0 0 0
7676 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
7677 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
7678 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((*arg9)); argvi++ /*@SWIG@*/;
7679 } else {
7680 0 ▶ int new_flags = SWIG_IsNewObj(res9) ? (SWIG_POINTER_OWN | 0) : 0;
Branch: 2 branches
BranchTrueFalseTotal
int new_flags = SWIG_IsNewObj(res9) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
int new_flags = SWIG_IsNewObj(res9) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
7681 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
7682 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
7683 0 ST(argvi) = SWIG_NewPointerObj((void*)(arg9), SWIGTYPE_p_double, new_flags); argvi++ /*@SWIG@*/;
7684 }
7685 {
7686 0 struct gsl_function_perl *p=(struct gsl_function_perl *) arg1->params;
7687 0 gsl_function_perl_free(p);
7688 }
7689
7690
7691
7692
7693
7694
7695
7696
7697 0 XSRETURN(argvi);
7698 0 fail:
7699 {
7700 0 struct gsl_function_perl *p=(struct gsl_function_perl *) arg1->params;
7701 0 gsl_function_perl_free(p);
7702 }
7703
7704
7705
7706
7707
7708
7709
7710
7711 0 SWIG_croak_null();
7712 }
7713 }
7714  
7715  
7716 0 XS(_wrap_gsl_integration_qawf) {
7717 {
7718 0 gsl_function *arg1 = (gsl_function *) 0 ;
7719 double arg2 ;
7720 double arg3 ;
7721 size_t arg4 ;
7722 0 gsl_integration_workspace *arg5 = (gsl_integration_workspace *) 0 ;
7723 0 gsl_integration_workspace *arg6 = (gsl_integration_workspace *) 0 ;
7724 0 gsl_integration_qawo_table *arg7 = (gsl_integration_qawo_table *) 0 ;
7725 0 double *arg8 = (double *) 0 ;
7726 0 double *arg9 = (double *) 0 ;
7727 double val2 ;
7728 0 int ecode2 = 0 ;
7729 double val3 ;
7730 0 int ecode3 = 0 ;
7731 size_t val4 ;
7732 0 int ecode4 = 0 ;
7733 0 void *argp5 = 0 ;
7734 0 int res5 = 0 ;
7735 0 void *argp6 = 0 ;
7736 0 int res6 = 0 ;
7737 0 void *argp7 = 0 ;
7738 0 int res7 = 0 ;
7739 double temp8 ;
7740 0 int res8 = SWIG_TMPOBJ ;
7741 double temp9 ;
7742 0 int res9 = SWIG_TMPOBJ ;
7743 0 int argvi = 0;
7744 int result;
7745 0 dXSARGS;
7746
7747 0 arg8 = &temp8;
7748 0 arg9 = &temp9;
7749 0 ▶ if ((items < 7) || (items > 7)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 7) || (items > 7)) { 0 0 0
if ((items < 7) || (items > 7)) { 0 0 0
7750 0 SWIG_croak("Usage: gsl_integration_qawf(f,a,epsabs,limit,workspace,cycle_workspace,wf);");
7751 }
7752 {
7753 0 SV * function = 0;
7754 0 SV * params = 0;
7755 struct gsl_function_perl *w_gsl_function;
7756 0 Newx(w_gsl_function, 1, struct gsl_function_perl);
7757
7758 0 ▶ if (SvROK(ST(0)) && (SvTYPE(SvRV(ST(0))) == SVt_PVAV)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SvROK(ST(0)) && (SvTYPE(SvRV(ST(0))) == SVt_PVAV)) { 0 0 0
if (SvROK(ST(0)) && (SvTYPE(SvRV(ST(0))) == SVt_PVAV)) { 0 0 0
7759 0 AV* array=(AV*)SvRV(ST(0));
7760 0 SV ** p_function = 0;
7761 0 ▶ if (av_len(array)<0) {
Branch: 1 branch
BranchTrueFalseTotal
if (av_len(array)<0) { 0 0 0
7762 0 croak("Math::GSL : $f is an empty array!");
7763 }
7764 0 ▶ if (av_len(array)>1) {
Branch: 1 branch
BranchTrueFalseTotal
if (av_len(array)>1) { 0 0 0
7765 0 croak("Math::GSL : $f is an array with more than 2 elements!");
7766 }
7767 0 p_function = av_fetch(array, 0, 0);
7768 0 function = *p_function;
7769 0 ▶ if (av_len(array)>0) {
Branch: 1 branch
BranchTrueFalseTotal
if (av_len(array)>0) { 0 0 0
7770 0 SV ** p_params = 0;
7771 0 p_params = av_fetch(array, 1, 0);
7772 0 params = *p_params;
7773 }
7774 } else {
7775 0 function = ST(0);
7776 }
7777
7778 0 ▶ if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) {
Branch: 4 branches
BranchTrueFalseTotal
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
7779 0 croak("Math::GSL : $f is not a reference to code!");
7780 }
7781
7782 0 function = newSVsv(function);
7783
7784 0 ▶ if (! params) {
Branch: 1 branch
BranchTrueFalseTotal
if (! params) { 0 0 0
7785 0 params=&PL_sv_undef;
7786 }
7787 0 params = newSVsv(params);
7788
7789 0 w_gsl_function->params = params;
7790 0 w_gsl_function->function = function;
7791 0 w_gsl_function->C_gsl_function.params = w_gsl_function;
7792 0 w_gsl_function->C_gsl_function.function = &call_gsl_function;
7793
7794 0 arg1 = &(w_gsl_function->C_gsl_function);
7795 }
7796 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
7797 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
7798 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_qawf" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_qawf" "', argument " "2"" of type '" "double""'"); 0 0 0
7799 }
7800 0 arg2 = (double)(val2);
7801 0 ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
7802 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
7803 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_integration_qawf" "', argument " "3"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_integration_qawf" "', argument " "3"" of type '" "double""'"); 0 0 0
7804 }
7805 0 arg3 = (double)(val3);
7806 0 ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
7807 0 ▶ if (!SWIG_IsOK(ecode4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode4)) { 0 0 0
7808 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_integration_qawf" "', argument " "4"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_integration_qawf" "', argument " "4"" of type '" "size_t""'"); 0 0 0
7809 }
7810 0 arg4 = (size_t)(val4);
7811 0 res5 = SWIG_ConvertPtr(ST(4), &argp5,SWIGTYPE_p_gsl_integration_workspace, 0 | 0 );
7812 0 ▶ if (!SWIG_IsOK(res5)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res5)) { 0 0 0
7813 0 ▶ SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "gsl_integration_qawf" "', argument " "5"" of type '" "gsl_integration_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "gsl_integration_qawf" "', argument " "5"" of type '" "gsl_integration_workspace *""'"); 0 0 0
7814 }
7815 0 arg5 = (gsl_integration_workspace *)(argp5);
7816 0 res6 = SWIG_ConvertPtr(ST(5), &argp6,SWIGTYPE_p_gsl_integration_workspace, 0 | 0 );
7817 0 ▶ if (!SWIG_IsOK(res6)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res6)) { 0 0 0
7818 0 ▶ SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "gsl_integration_qawf" "', argument " "6"" of type '" "gsl_integration_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "gsl_integration_qawf" "', argument " "6"" of type '" "gsl_integration_workspace *""'"); 0 0 0
7819 }
7820 0 arg6 = (gsl_integration_workspace *)(argp6);
7821 0 res7 = SWIG_ConvertPtr(ST(6), &argp7,SWIGTYPE_p_gsl_integration_qawo_table, 0 | 0 );
7822 0 ▶ if (!SWIG_IsOK(res7)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res7)) { 0 0 0
7823 0 ▶ SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "gsl_integration_qawf" "', argument " "7"" of type '" "gsl_integration_qawo_table *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "gsl_integration_qawf" "', argument " "7"" of type '" "gsl_integration_qawo_table *""'"); 0 0 0
7824 }
7825 0 arg7 = (gsl_integration_qawo_table *)(argp7);
7826 0 result = (int)gsl_integration_qawf(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9);
7827 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
7828 0 ▶ if (SWIG_IsTmpObj(res8)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SWIG_IsTmpObj(res8)) { 0 0 0
if (SWIG_IsTmpObj(res8)) { 0 0 0
7829 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
7830 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
7831 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((*arg8)); argvi++ /*@SWIG@*/;
7832 } else {
7833 0 ▶ int new_flags = SWIG_IsNewObj(res8) ? (SWIG_POINTER_OWN | 0) : 0;
Branch: 2 branches
BranchTrueFalseTotal
int new_flags = SWIG_IsNewObj(res8) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
int new_flags = SWIG_IsNewObj(res8) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
7834 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
7835 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
7836 0 ST(argvi) = SWIG_NewPointerObj((void*)(arg8), SWIGTYPE_p_double, new_flags); argvi++ /*@SWIG@*/;
7837 }
7838 0 ▶ if (SWIG_IsTmpObj(res9)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SWIG_IsTmpObj(res9)) { 0 0 0
if (SWIG_IsTmpObj(res9)) { 0 0 0
7839 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
7840 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
7841 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((*arg9)); argvi++ /*@SWIG@*/;
7842 } else {
7843 0 ▶ int new_flags = SWIG_IsNewObj(res9) ? (SWIG_POINTER_OWN | 0) : 0;
Branch: 2 branches
BranchTrueFalseTotal
int new_flags = SWIG_IsNewObj(res9) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
int new_flags = SWIG_IsNewObj(res9) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
7844 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
7845 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
7846 0 ST(argvi) = SWIG_NewPointerObj((void*)(arg9), SWIGTYPE_p_double, new_flags); argvi++ /*@SWIG@*/;
7847 }
7848 {
7849 0 struct gsl_function_perl *p=(struct gsl_function_perl *) arg1->params;
7850 0 gsl_function_perl_free(p);
7851 }
7852
7853
7854
7855
7856
7857
7858
7859
7860 0 XSRETURN(argvi);
7861 0 fail:
7862 {
7863 0 struct gsl_function_perl *p=(struct gsl_function_perl *) arg1->params;
7864 0 gsl_function_perl_free(p);
7865 }
7866
7867
7868
7869
7870
7871
7872
7873
7874 0 SWIG_croak_null();
7875 }
7876 }
7877  
7878  
7879 0 XS(_wrap_gsl_integration_glfixed_table_n_set) {
7880 {
7881 0 gsl_integration_glfixed_table *arg1 = (gsl_integration_glfixed_table *) 0 ;
7882 size_t arg2 ;
7883 0 void *argp1 = 0 ;
7884 0 int res1 = 0 ;
7885 size_t val2 ;
7886 0 int ecode2 = 0 ;
7887 0 int argvi = 0;
7888 0 dXSARGS;
7889
7890 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
7891 0 SWIG_croak("Usage: gsl_integration_glfixed_table_n_set(self,n);");
7892 }
7893 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_glfixed_table, 0 | 0 );
7894 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
7895 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_glfixed_table_n_set" "', argument " "1"" of type '" "gsl_integration_glfixed_table *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_glfixed_table_n_set" "', argument " "1"" of type '" "gsl_integration_glfixed_table *""'"); 0 0 0
7896 }
7897 0 arg1 = (gsl_integration_glfixed_table *)(argp1);
7898 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
7899 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
7900 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_glfixed_table_n_set" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_glfixed_table_n_set" "', argument " "2"" of type '" "size_t""'"); 0 0 0
7901 }
7902 0 arg2 = (size_t)(val2);
7903 0 ▶ if (arg1) (arg1)->n = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->n = arg2; 0 0 0
7904 0 ST(argvi) = &PL_sv_undef;
7905
7906
7907 0 XSRETURN(argvi);
7908 0 fail:
7909
7910
7911 0 SWIG_croak_null();
7912 }
7913 }
7914  
7915  
7916 0 XS(_wrap_gsl_integration_glfixed_table_n_get) {
7917 {
7918 0 gsl_integration_glfixed_table *arg1 = (gsl_integration_glfixed_table *) 0 ;
7919 0 void *argp1 = 0 ;
7920 0 int res1 = 0 ;
7921 0 int argvi = 0;
7922 size_t result;
7923 0 dXSARGS;
7924
7925 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
7926 0 SWIG_croak("Usage: gsl_integration_glfixed_table_n_get(self);");
7927 }
7928 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_glfixed_table, 0 | 0 );
7929 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
7930 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_glfixed_table_n_get" "', argument " "1"" of type '" "gsl_integration_glfixed_table *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_glfixed_table_n_get" "', argument " "1"" of type '" "gsl_integration_glfixed_table *""'"); 0 0 0
7931 }
7932 0 arg1 = (gsl_integration_glfixed_table *)(argp1);
7933 0 result = ((arg1)->n);
7934 0 ST(argvi) = SWIG_From_size_t SWIG_PERL_CALL_ARGS_1((size_t)(result)); argvi++ ;
7935
7936 0 XSRETURN(argvi);
7937 0 fail:
7938
7939 0 SWIG_croak_null();
7940 }
7941 }
7942  
7943  
7944 0 XS(_wrap_gsl_integration_glfixed_table_x_set) {
7945 {
7946 0 gsl_integration_glfixed_table *arg1 = (gsl_integration_glfixed_table *) 0 ;
7947 0 double *arg2 = (double *) 0 ;
7948 0 void *argp1 = 0 ;
7949 0 int res1 = 0 ;
7950 0 void *argp2 = 0 ;
7951 0 int res2 = 0 ;
7952 0 int argvi = 0;
7953 0 dXSARGS;
7954
7955 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
7956 0 SWIG_croak("Usage: gsl_integration_glfixed_table_x_set(self,x);");
7957 }
7958 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_glfixed_table, 0 | 0 );
7959 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
7960 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_glfixed_table_x_set" "', argument " "1"" of type '" "gsl_integration_glfixed_table *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_glfixed_table_x_set" "', argument " "1"" of type '" "gsl_integration_glfixed_table *""'"); 0 0 0
7961 }
7962 0 arg1 = (gsl_integration_glfixed_table *)(argp1);
7963 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, SWIG_POINTER_DISOWN | 0 );
7964 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
7965 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_integration_glfixed_table_x_set" "', argument " "2"" of type '" "double *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_integration_glfixed_table_x_set" "', argument " "2"" of type '" "double *""'"); 0 0 0
7966 }
7967 0 arg2 = (double *)(argp2);
7968 0 ▶ if (arg1) (arg1)->x = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->x = arg2; 0 0 0
7969 0 ST(argvi) = &PL_sv_undef;
7970
7971
7972 0 XSRETURN(argvi);
7973 0 fail:
7974
7975
7976 0 SWIG_croak_null();
7977 }
7978 }
7979  
7980  
7981 0 XS(_wrap_gsl_integration_glfixed_table_x_get) {
7982 {
7983 0 gsl_integration_glfixed_table *arg1 = (gsl_integration_glfixed_table *) 0 ;
7984 0 void *argp1 = 0 ;
7985 0 int res1 = 0 ;
7986 0 int argvi = 0;
7987 0 double *result = 0 ;
7988 0 dXSARGS;
7989
7990 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
7991 0 SWIG_croak("Usage: gsl_integration_glfixed_table_x_get(self);");
7992 }
7993 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_glfixed_table, 0 | 0 );
7994 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
7995 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_glfixed_table_x_get" "', argument " "1"" of type '" "gsl_integration_glfixed_table *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_glfixed_table_x_get" "', argument " "1"" of type '" "gsl_integration_glfixed_table *""'"); 0 0 0
7996 }
7997 0 arg1 = (gsl_integration_glfixed_table *)(argp1);
7998 0 result = (double *) ((arg1)->x);
7999 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0); argvi++ ;
8000
8001 0 XSRETURN(argvi);
8002 0 fail:
8003
8004 0 SWIG_croak_null();
8005 }
8006 }
8007  
8008  
8009 0 XS(_wrap_gsl_integration_glfixed_table_w_set) {
8010 {
8011 0 gsl_integration_glfixed_table *arg1 = (gsl_integration_glfixed_table *) 0 ;
8012 0 double *arg2 = (double *) 0 ;
8013 0 void *argp1 = 0 ;
8014 0 int res1 = 0 ;
8015 0 void *argp2 = 0 ;
8016 0 int res2 = 0 ;
8017 0 int argvi = 0;
8018 0 dXSARGS;
8019
8020 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
8021 0 SWIG_croak("Usage: gsl_integration_glfixed_table_w_set(self,w);");
8022 }
8023 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_glfixed_table, 0 | 0 );
8024 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
8025 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_glfixed_table_w_set" "', argument " "1"" of type '" "gsl_integration_glfixed_table *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_glfixed_table_w_set" "', argument " "1"" of type '" "gsl_integration_glfixed_table *""'"); 0 0 0
8026 }
8027 0 arg1 = (gsl_integration_glfixed_table *)(argp1);
8028 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, SWIG_POINTER_DISOWN | 0 );
8029 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
8030 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_integration_glfixed_table_w_set" "', argument " "2"" of type '" "double *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_integration_glfixed_table_w_set" "', argument " "2"" of type '" "double *""'"); 0 0 0
8031 }
8032 0 arg2 = (double *)(argp2);
8033 0 ▶ if (arg1) (arg1)->w = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->w = arg2; 0 0 0
8034 0 ST(argvi) = &PL_sv_undef;
8035
8036
8037 0 XSRETURN(argvi);
8038 0 fail:
8039
8040
8041 0 SWIG_croak_null();
8042 }
8043 }
8044  
8045  
8046 0 XS(_wrap_gsl_integration_glfixed_table_w_get) {
8047 {
8048 0 gsl_integration_glfixed_table *arg1 = (gsl_integration_glfixed_table *) 0 ;
8049 0 void *argp1 = 0 ;
8050 0 int res1 = 0 ;
8051 0 int argvi = 0;
8052 0 double *result = 0 ;
8053 0 dXSARGS;
8054
8055 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
8056 0 SWIG_croak("Usage: gsl_integration_glfixed_table_w_get(self);");
8057 }
8058 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_glfixed_table, 0 | 0 );
8059 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
8060 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_glfixed_table_w_get" "', argument " "1"" of type '" "gsl_integration_glfixed_table *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_glfixed_table_w_get" "', argument " "1"" of type '" "gsl_integration_glfixed_table *""'"); 0 0 0
8061 }
8062 0 arg1 = (gsl_integration_glfixed_table *)(argp1);
8063 0 result = (double *) ((arg1)->w);
8064 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0); argvi++ ;
8065
8066 0 XSRETURN(argvi);
8067 0 fail:
8068
8069 0 SWIG_croak_null();
8070 }
8071 }
8072  
8073  
8074 0 XS(_wrap_gsl_integration_glfixed_table_precomputed_set) {
8075 {
8076 0 gsl_integration_glfixed_table *arg1 = (gsl_integration_glfixed_table *) 0 ;
8077 int arg2 ;
8078 0 void *argp1 = 0 ;
8079 0 int res1 = 0 ;
8080 int val2 ;
8081 0 int ecode2 = 0 ;
8082 0 int argvi = 0;
8083 0 dXSARGS;
8084
8085 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
8086 0 SWIG_croak("Usage: gsl_integration_glfixed_table_precomputed_set(self,precomputed);");
8087 }
8088 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_glfixed_table, 0 | 0 );
8089 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
8090 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_glfixed_table_precomputed_set" "', argument " "1"" of type '" "gsl_integration_glfixed_table *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_glfixed_table_precomputed_set" "', argument " "1"" of type '" "gsl_integration_glfixed_table *""'"); 0 0 0
8091 }
8092 0 arg1 = (gsl_integration_glfixed_table *)(argp1);
8093 0 ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
8094 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
8095 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_glfixed_table_precomputed_set" "', argument " "2"" of type '" "int""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_glfixed_table_precomputed_set" "', argument " "2"" of type '" "int""'"); 0 0 0
8096 }
8097 0 arg2 = (int)(val2);
8098 0 ▶ if (arg1) (arg1)->precomputed = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->precomputed = arg2; 0 0 0
8099 0 ST(argvi) = &PL_sv_undef;
8100
8101
8102 0 XSRETURN(argvi);
8103 0 fail:
8104
8105
8106 0 SWIG_croak_null();
8107 }
8108 }
8109  
8110  
8111 0 XS(_wrap_gsl_integration_glfixed_table_precomputed_get) {
8112 {
8113 0 gsl_integration_glfixed_table *arg1 = (gsl_integration_glfixed_table *) 0 ;
8114 0 void *argp1 = 0 ;
8115 0 int res1 = 0 ;
8116 0 int argvi = 0;
8117 int result;
8118 0 dXSARGS;
8119
8120 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
8121 0 SWIG_croak("Usage: gsl_integration_glfixed_table_precomputed_get(self);");
8122 }
8123 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_glfixed_table, 0 | 0 );
8124 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
8125 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_glfixed_table_precomputed_get" "', argument " "1"" of type '" "gsl_integration_glfixed_table *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_glfixed_table_precomputed_get" "', argument " "1"" of type '" "gsl_integration_glfixed_table *""'"); 0 0 0
8126 }
8127 0 arg1 = (gsl_integration_glfixed_table *)(argp1);
8128 0 result = (int) ((arg1)->precomputed);
8129 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
8130
8131 0 XSRETURN(argvi);
8132 0 fail:
8133
8134 0 SWIG_croak_null();
8135 }
8136 }
8137  
8138  
8139 0 XS(_wrap_new_gsl_integration_glfixed_table) {
8140 {
8141 0 int argvi = 0;
8142 0 gsl_integration_glfixed_table *result = 0 ;
8143 0 dXSARGS;
8144
8145 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
8146 0 SWIG_croak("Usage: new_gsl_integration_glfixed_table();");
8147 }
8148 0 result = (gsl_integration_glfixed_table *)calloc(1, sizeof(gsl_integration_glfixed_table));
8149 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_integration_glfixed_table, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
8150 0 XSRETURN(argvi);
8151 0 fail:
8152 0 SWIG_croak_null();
8153 }
8154 }
8155  
8156  
8157 0 XS(_wrap_delete_gsl_integration_glfixed_table) {
8158 {
8159 0 gsl_integration_glfixed_table *arg1 = (gsl_integration_glfixed_table *) 0 ;
8160 0 void *argp1 = 0 ;
8161 0 int res1 = 0 ;
8162 0 int argvi = 0;
8163 0 dXSARGS;
8164
8165 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
8166 0 SWIG_croak("Usage: delete_gsl_integration_glfixed_table(self);");
8167 }
8168 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_glfixed_table, SWIG_POINTER_DISOWN | 0 );
8169 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
8170 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_gsl_integration_glfixed_table" "', argument " "1"" of type '" "gsl_integration_glfixed_table *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_gsl_integration_glfixed_table" "', argument " "1"" of type '" "gsl_integration_glfixed_table *""'"); 0 0 0
8171 }
8172 0 arg1 = (gsl_integration_glfixed_table *)(argp1);
8173 0 free((char *) arg1);
8174 0 ST(argvi) = &PL_sv_undef;
8175
8176 0 XSRETURN(argvi);
8177 0 fail:
8178
8179 0 SWIG_croak_null();
8180 }
8181 }
8182  
8183  
8184 0 XS(_wrap_gsl_integration_glfixed_table_alloc) {
8185 {
8186 size_t arg1 ;
8187 size_t val1 ;
8188 0 int ecode1 = 0 ;
8189 0 int argvi = 0;
8190 0 gsl_integration_glfixed_table *result = 0 ;
8191 0 dXSARGS;
8192
8193 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
8194 0 SWIG_croak("Usage: gsl_integration_glfixed_table_alloc(n);");
8195 }
8196 0 ecode1 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
8197 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
8198 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_integration_glfixed_table_alloc" "', argument " "1"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_integration_glfixed_table_alloc" "', argument " "1"" of type '" "size_t""'"); 0 0 0
8199 }
8200 0 arg1 = (size_t)(val1);
8201 0 result = (gsl_integration_glfixed_table *)gsl_integration_glfixed_table_alloc(arg1);
8202 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_integration_glfixed_table, 0 | SWIG_SHADOW); argvi++ ;
8203
8204 0 XSRETURN(argvi);
8205 0 fail:
8206
8207 0 SWIG_croak_null();
8208 }
8209 }
8210  
8211  
8212 0 XS(_wrap_gsl_integration_glfixed_table_free) {
8213 {
8214 0 gsl_integration_glfixed_table *arg1 = (gsl_integration_glfixed_table *) 0 ;
8215 0 void *argp1 = 0 ;
8216 0 int res1 = 0 ;
8217 0 int argvi = 0;
8218 0 dXSARGS;
8219
8220 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
8221 0 SWIG_croak("Usage: gsl_integration_glfixed_table_free(t);");
8222 }
8223 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_glfixed_table, 0 | 0 );
8224 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
8225 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_glfixed_table_free" "', argument " "1"" of type '" "gsl_integration_glfixed_table *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_glfixed_table_free" "', argument " "1"" of type '" "gsl_integration_glfixed_table *""'"); 0 0 0
8226 }
8227 0 arg1 = (gsl_integration_glfixed_table *)(argp1);
8228 0 gsl_integration_glfixed_table_free(arg1);
8229 0 ST(argvi) = &PL_sv_undef;
8230
8231 0 XSRETURN(argvi);
8232 0 fail:
8233
8234 0 SWIG_croak_null();
8235 }
8236 }
8237  
8238  
8239 0 XS(_wrap_gsl_integration_glfixed) {
8240 {
8241 0 gsl_function *arg1 = (gsl_function *) 0 ;
8242 double arg2 ;
8243 double arg3 ;
8244 0 gsl_integration_glfixed_table *arg4 = (gsl_integration_glfixed_table *) 0 ;
8245 double val2 ;
8246 0 int ecode2 = 0 ;
8247 double val3 ;
8248 0 int ecode3 = 0 ;
8249 0 void *argp4 = 0 ;
8250 0 int res4 = 0 ;
8251 0 int argvi = 0;
8252 double result;
8253 0 dXSARGS;
8254
8255 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
8256 0 SWIG_croak("Usage: gsl_integration_glfixed(f,a,b,t);");
8257 }
8258 {
8259 0 SV * function = 0;
8260 0 SV * params = 0;
8261 struct gsl_function_perl *w_gsl_function;
8262 0 Newx(w_gsl_function, 1, struct gsl_function_perl);
8263
8264 0 ▶ if (SvROK(ST(0)) && (SvTYPE(SvRV(ST(0))) == SVt_PVAV)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SvROK(ST(0)) && (SvTYPE(SvRV(ST(0))) == SVt_PVAV)) { 0 0 0
if (SvROK(ST(0)) && (SvTYPE(SvRV(ST(0))) == SVt_PVAV)) { 0 0 0
8265 0 AV* array=(AV*)SvRV(ST(0));
8266 0 SV ** p_function = 0;
8267 0 ▶ if (av_len(array)<0) {
Branch: 1 branch
BranchTrueFalseTotal
if (av_len(array)<0) { 0 0 0
8268 0 croak("Math::GSL : $f is an empty array!");
8269 }
8270 0 ▶ if (av_len(array)>1) {
Branch: 1 branch
BranchTrueFalseTotal
if (av_len(array)>1) { 0 0 0
8271 0 croak("Math::GSL : $f is an array with more than 2 elements!");
8272 }
8273 0 p_function = av_fetch(array, 0, 0);
8274 0 function = *p_function;
8275 0 ▶ if (av_len(array)>0) {
Branch: 1 branch
BranchTrueFalseTotal
if (av_len(array)>0) { 0 0 0
8276 0 SV ** p_params = 0;
8277 0 p_params = av_fetch(array, 1, 0);
8278 0 params = *p_params;
8279 }
8280 } else {
8281 0 function = ST(0);
8282 }
8283
8284 0 ▶ if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) {
Branch: 4 branches
BranchTrueFalseTotal
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
8285 0 croak("Math::GSL : $f is not a reference to code!");
8286 }
8287
8288 0 function = newSVsv(function);
8289
8290 0 ▶ if (! params) {
Branch: 1 branch
BranchTrueFalseTotal
if (! params) { 0 0 0
8291 0 params=&PL_sv_undef;
8292 }
8293 0 params = newSVsv(params);
8294
8295 0 w_gsl_function->params = params;
8296 0 w_gsl_function->function = function;
8297 0 w_gsl_function->C_gsl_function.params = w_gsl_function;
8298 0 w_gsl_function->C_gsl_function.function = &call_gsl_function;
8299
8300 0 arg1 = &(w_gsl_function->C_gsl_function);
8301 }
8302 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
8303 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
8304 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_glfixed" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_glfixed" "', argument " "2"" of type '" "double""'"); 0 0 0
8305 }
8306 0 arg2 = (double)(val2);
8307 0 ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
8308 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
8309 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_integration_glfixed" "', argument " "3"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_integration_glfixed" "', argument " "3"" of type '" "double""'"); 0 0 0
8310 }
8311 0 arg3 = (double)(val3);
8312 0 res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_gsl_integration_glfixed_table, 0 | 0 );
8313 0 ▶ if (!SWIG_IsOK(res4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res4)) { 0 0 0
8314 0 ▶ SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_integration_glfixed" "', argument " "4"" of type '" "gsl_integration_glfixed_table const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_integration_glfixed" "', argument " "4"" of type '" "gsl_integration_glfixed_table const *""'"); 0 0 0
8315 }
8316 0 arg4 = (gsl_integration_glfixed_table *)(argp4);
8317 0 result = (double)gsl_integration_glfixed((struct gsl_function_struct const *)arg1,arg2,arg3,(gsl_integration_glfixed_table const *)arg4);
8318 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
8319 {
8320 0 struct gsl_function_perl *p=(struct gsl_function_perl *) arg1->params;
8321 0 gsl_function_perl_free(p);
8322 }
8323
8324
8325
8326 0 XSRETURN(argvi);
8327 0 fail:
8328 {
8329 0 struct gsl_function_perl *p=(struct gsl_function_perl *) arg1->params;
8330 0 gsl_function_perl_free(p);
8331 }
8332
8333
8334
8335 0 SWIG_croak_null();
8336 }
8337 }
8338  
8339  
8340 0 XS(_wrap_gsl_integration_glfixed_point) {
8341 {
8342 double arg1 ;
8343 double arg2 ;
8344 size_t arg3 ;
8345 0 double *arg4 = (double *) 0 ;
8346 0 double *arg5 = (double *) 0 ;
8347 0 gsl_integration_glfixed_table *arg6 = (gsl_integration_glfixed_table *) 0 ;
8348 double val1 ;
8349 0 int ecode1 = 0 ;
8350 double val2 ;
8351 0 int ecode2 = 0 ;
8352 size_t val3 ;
8353 0 int ecode3 = 0 ;
8354 0 void *argp4 = 0 ;
8355 0 int res4 = 0 ;
8356 0 void *argp5 = 0 ;
8357 0 int res5 = 0 ;
8358 0 void *argp6 = 0 ;
8359 0 int res6 = 0 ;
8360 0 int argvi = 0;
8361 int result;
8362 0 dXSARGS;
8363
8364 0 ▶ if ((items < 6) || (items > 6)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 6) || (items > 6)) { 0 0 0
if ((items < 6) || (items > 6)) { 0 0 0
8365 0 SWIG_croak("Usage: gsl_integration_glfixed_point(a,b,i,xi,wi,t);");
8366 }
8367 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
8368 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
8369 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_integration_glfixed_point" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_integration_glfixed_point" "', argument " "1"" of type '" "double""'"); 0 0 0
8370 }
8371 0 arg1 = (double)(val1);
8372 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
8373 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
8374 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_glfixed_point" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_glfixed_point" "', argument " "2"" of type '" "double""'"); 0 0 0
8375 }
8376 0 arg2 = (double)(val2);
8377 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
8378 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
8379 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_integration_glfixed_point" "', argument " "3"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_integration_glfixed_point" "', argument " "3"" of type '" "size_t""'"); 0 0 0
8380 }
8381 0 arg3 = (size_t)(val3);
8382 0 res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_double, 0 | 0 );
8383 0 ▶ if (!SWIG_IsOK(res4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res4)) { 0 0 0
8384 0 ▶ SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_integration_glfixed_point" "', argument " "4"" of type '" "double *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_integration_glfixed_point" "', argument " "4"" of type '" "double *""'"); 0 0 0
8385 }
8386 0 arg4 = (double *)(argp4);
8387 0 res5 = SWIG_ConvertPtr(ST(4), &argp5,SWIGTYPE_p_double, 0 | 0 );
8388 0 ▶ if (!SWIG_IsOK(res5)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res5)) { 0 0 0
8389 0 ▶ SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "gsl_integration_glfixed_point" "', argument " "5"" of type '" "double *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "gsl_integration_glfixed_point" "', argument " "5"" of type '" "double *""'"); 0 0 0
8390 }
8391 0 arg5 = (double *)(argp5);
8392 0 res6 = SWIG_ConvertPtr(ST(5), &argp6,SWIGTYPE_p_gsl_integration_glfixed_table, 0 | 0 );
8393 0 ▶ if (!SWIG_IsOK(res6)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res6)) { 0 0 0
8394 0 ▶ SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "gsl_integration_glfixed_point" "', argument " "6"" of type '" "gsl_integration_glfixed_table const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "gsl_integration_glfixed_point" "', argument " "6"" of type '" "gsl_integration_glfixed_table const *""'"); 0 0 0
8395 }
8396 0 arg6 = (gsl_integration_glfixed_table *)(argp6);
8397 0 result = (int)gsl_integration_glfixed_point(arg1,arg2,arg3,arg4,arg5,(gsl_integration_glfixed_table const *)arg6);
8398 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
8399
8400
8401
8402
8403
8404
8405 0 XSRETURN(argvi);
8406 0 fail:
8407
8408
8409
8410
8411
8412
8413 0 SWIG_croak_null();
8414 }
8415 }
8416  
8417  
8418 0 XS(_wrap_gsl_integration_cquad_ival_a_set) {
8419 {
8420 0 gsl_integration_cquad_ival *arg1 = (gsl_integration_cquad_ival *) 0 ;
8421 double arg2 ;
8422 0 void *argp1 = 0 ;
8423 0 int res1 = 0 ;
8424 double val2 ;
8425 0 int ecode2 = 0 ;
8426 0 int argvi = 0;
8427 0 dXSARGS;
8428
8429 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
8430 0 SWIG_croak("Usage: gsl_integration_cquad_ival_a_set(self,a);");
8431 }
8432 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_cquad_ival, 0 | 0 );
8433 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
8434 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_cquad_ival_a_set" "', argument " "1"" of type '" "gsl_integration_cquad_ival *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_cquad_ival_a_set" "', argument " "1"" of type '" "gsl_integration_cquad_ival *""'"); 0 0 0
8435 }
8436 0 arg1 = (gsl_integration_cquad_ival *)(argp1);
8437 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
8438 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
8439 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_cquad_ival_a_set" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_cquad_ival_a_set" "', argument " "2"" of type '" "double""'"); 0 0 0
8440 }
8441 0 arg2 = (double)(val2);
8442 0 ▶ if (arg1) (arg1)->a = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->a = arg2; 0 0 0
8443 0 ST(argvi) = &PL_sv_undef;
8444
8445
8446 0 XSRETURN(argvi);
8447 0 fail:
8448
8449
8450 0 SWIG_croak_null();
8451 }
8452 }
8453  
8454  
8455 0 XS(_wrap_gsl_integration_cquad_ival_a_get) {
8456 {
8457 0 gsl_integration_cquad_ival *arg1 = (gsl_integration_cquad_ival *) 0 ;
8458 0 void *argp1 = 0 ;
8459 0 int res1 = 0 ;
8460 0 int argvi = 0;
8461 double result;
8462 0 dXSARGS;
8463
8464 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
8465 0 SWIG_croak("Usage: gsl_integration_cquad_ival_a_get(self);");
8466 }
8467 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_cquad_ival, 0 | 0 );
8468 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
8469 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_cquad_ival_a_get" "', argument " "1"" of type '" "gsl_integration_cquad_ival *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_cquad_ival_a_get" "', argument " "1"" of type '" "gsl_integration_cquad_ival *""'"); 0 0 0
8470 }
8471 0 arg1 = (gsl_integration_cquad_ival *)(argp1);
8472 0 result = (double) ((arg1)->a);
8473 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
8474
8475 0 XSRETURN(argvi);
8476 0 fail:
8477
8478 0 SWIG_croak_null();
8479 }
8480 }
8481  
8482  
8483 0 XS(_wrap_gsl_integration_cquad_ival_b_set) {
8484 {
8485 0 gsl_integration_cquad_ival *arg1 = (gsl_integration_cquad_ival *) 0 ;
8486 double arg2 ;
8487 0 void *argp1 = 0 ;
8488 0 int res1 = 0 ;
8489 double val2 ;
8490 0 int ecode2 = 0 ;
8491 0 int argvi = 0;
8492 0 dXSARGS;
8493
8494 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
8495 0 SWIG_croak("Usage: gsl_integration_cquad_ival_b_set(self,b);");
8496 }
8497 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_cquad_ival, 0 | 0 );
8498 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
8499 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_cquad_ival_b_set" "', argument " "1"" of type '" "gsl_integration_cquad_ival *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_cquad_ival_b_set" "', argument " "1"" of type '" "gsl_integration_cquad_ival *""'"); 0 0 0
8500 }
8501 0 arg1 = (gsl_integration_cquad_ival *)(argp1);
8502 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
8503 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
8504 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_cquad_ival_b_set" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_cquad_ival_b_set" "', argument " "2"" of type '" "double""'"); 0 0 0
8505 }
8506 0 arg2 = (double)(val2);
8507 0 ▶ if (arg1) (arg1)->b = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->b = arg2; 0 0 0
8508 0 ST(argvi) = &PL_sv_undef;
8509
8510
8511 0 XSRETURN(argvi);
8512 0 fail:
8513
8514
8515 0 SWIG_croak_null();
8516 }
8517 }
8518  
8519  
8520 0 XS(_wrap_gsl_integration_cquad_ival_b_get) {
8521 {
8522 0 gsl_integration_cquad_ival *arg1 = (gsl_integration_cquad_ival *) 0 ;
8523 0 void *argp1 = 0 ;
8524 0 int res1 = 0 ;
8525 0 int argvi = 0;
8526 double result;
8527 0 dXSARGS;
8528
8529 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
8530 0 SWIG_croak("Usage: gsl_integration_cquad_ival_b_get(self);");
8531 }
8532 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_cquad_ival, 0 | 0 );
8533 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
8534 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_cquad_ival_b_get" "', argument " "1"" of type '" "gsl_integration_cquad_ival *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_cquad_ival_b_get" "', argument " "1"" of type '" "gsl_integration_cquad_ival *""'"); 0 0 0
8535 }
8536 0 arg1 = (gsl_integration_cquad_ival *)(argp1);
8537 0 result = (double) ((arg1)->b);
8538 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
8539
8540 0 XSRETURN(argvi);
8541 0 fail:
8542
8543 0 SWIG_croak_null();
8544 }
8545 }
8546  
8547  
8548 0 XS(_wrap_gsl_integration_cquad_ival_c_set) {
8549 {
8550 0 gsl_integration_cquad_ival *arg1 = (gsl_integration_cquad_ival *) 0 ;
8551 0 double *arg2 = (double *) (double *)0 ;
8552 0 void *argp1 = 0 ;
8553 0 int res1 = 0 ;
8554 0 void *argp2 = 0 ;
8555 0 int res2 = 0 ;
8556 0 int argvi = 0;
8557 0 dXSARGS;
8558
8559 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
8560 0 SWIG_croak("Usage: gsl_integration_cquad_ival_c_set(self,c);");
8561 }
8562 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_cquad_ival, 0 | 0 );
8563 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
8564 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_cquad_ival_c_set" "', argument " "1"" of type '" "gsl_integration_cquad_ival *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_cquad_ival_c_set" "', argument " "1"" of type '" "gsl_integration_cquad_ival *""'"); 0 0 0
8565 }
8566 0 arg1 = (gsl_integration_cquad_ival *)(argp1);
8567 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, 0 | 0 );
8568 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
8569 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_integration_cquad_ival_c_set" "', argument " "2"" of type '" "double [64]""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_integration_cquad_ival_c_set" "', argument " "2"" of type '" "double [64]""'"); 0 0 0
8570 }
8571 0 arg2 = (double *)(argp2);
8572 {
8573 0 ▶ if (arg2) {
Branch: 1 branch
BranchTrueFalseTotal
if (arg2) { 0 0 0
8574 0 size_t ii = 0;
8575 0 ▶ for (; ii < (size_t)64; ++ii) *(double *)&arg1->c[ii] = *((double *)arg2 + ii);
Branch: 1 branch
BranchTrueFalseTotal
for (; ii < (size_t)64; ++ii) *(double *)&arg1->c[ii] = *((double *)arg2 + ii); 0 0 0
8576 } else {
8577 0 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""c""' of type '""double [64]""'");
8578 }
8579 }
8580 0 ST(argvi) = &PL_sv_undef;
8581
8582
8583 0 XSRETURN(argvi);
8584 0 fail:
8585
8586
8587 0 SWIG_croak_null();
8588 }
8589 }
8590  
8591  
8592 0 XS(_wrap_gsl_integration_cquad_ival_c_get) {
8593 {
8594 0 gsl_integration_cquad_ival *arg1 = (gsl_integration_cquad_ival *) 0 ;
8595 0 void *argp1 = 0 ;
8596 0 int res1 = 0 ;
8597 0 int argvi = 0;
8598 0 double *result = 0 ;
8599 0 dXSARGS;
8600
8601 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
8602 0 SWIG_croak("Usage: gsl_integration_cquad_ival_c_get(self);");
8603 }
8604 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_cquad_ival, 0 | 0 );
8605 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
8606 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_cquad_ival_c_get" "', argument " "1"" of type '" "gsl_integration_cquad_ival *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_cquad_ival_c_get" "', argument " "1"" of type '" "gsl_integration_cquad_ival *""'"); 0 0 0
8607 }
8608 0 arg1 = (gsl_integration_cquad_ival *)(argp1);
8609 0 result = (double *)(double *) ((arg1)->c);
8610 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0); argvi++ ;
8611
8612 0 XSRETURN(argvi);
8613 0 fail:
8614
8615 0 SWIG_croak_null();
8616 }
8617 }
8618  
8619  
8620 0 XS(_wrap_gsl_integration_cquad_ival_fx_set) {
8621 {
8622 0 gsl_integration_cquad_ival *arg1 = (gsl_integration_cquad_ival *) 0 ;
8623 0 double *arg2 = (double *) (double *)0 ;
8624 0 void *argp1 = 0 ;
8625 0 int res1 = 0 ;
8626 0 void *argp2 = 0 ;
8627 0 int res2 = 0 ;
8628 0 int argvi = 0;
8629 0 dXSARGS;
8630
8631 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
8632 0 SWIG_croak("Usage: gsl_integration_cquad_ival_fx_set(self,fx);");
8633 }
8634 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_cquad_ival, 0 | 0 );
8635 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
8636 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_cquad_ival_fx_set" "', argument " "1"" of type '" "gsl_integration_cquad_ival *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_cquad_ival_fx_set" "', argument " "1"" of type '" "gsl_integration_cquad_ival *""'"); 0 0 0
8637 }
8638 0 arg1 = (gsl_integration_cquad_ival *)(argp1);
8639 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, 0 | 0 );
8640 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
8641 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_integration_cquad_ival_fx_set" "', argument " "2"" of type '" "double [33]""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_integration_cquad_ival_fx_set" "', argument " "2"" of type '" "double [33]""'"); 0 0 0
8642 }
8643 0 arg2 = (double *)(argp2);
8644 {
8645 0 ▶ if (arg2) {
Branch: 1 branch
BranchTrueFalseTotal
if (arg2) { 0 0 0
8646 0 size_t ii = 0;
8647 0 ▶ for (; ii < (size_t)33; ++ii) *(double *)&arg1->fx[ii] = *((double *)arg2 + ii);
Branch: 1 branch
BranchTrueFalseTotal
for (; ii < (size_t)33; ++ii) *(double *)&arg1->fx[ii] = *((double *)arg2 + ii); 0 0 0
8648 } else {
8649 0 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""fx""' of type '""double [33]""'");
8650 }
8651 }
8652 0 ST(argvi) = &PL_sv_undef;
8653
8654
8655 0 XSRETURN(argvi);
8656 0 fail:
8657
8658
8659 0 SWIG_croak_null();
8660 }
8661 }
8662  
8663  
8664 0 XS(_wrap_gsl_integration_cquad_ival_fx_get) {
8665 {
8666 0 gsl_integration_cquad_ival *arg1 = (gsl_integration_cquad_ival *) 0 ;
8667 0 void *argp1 = 0 ;
8668 0 int res1 = 0 ;
8669 0 int argvi = 0;
8670 0 double *result = 0 ;
8671 0 dXSARGS;
8672
8673 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
8674 0 SWIG_croak("Usage: gsl_integration_cquad_ival_fx_get(self);");
8675 }
8676 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_cquad_ival, 0 | 0 );
8677 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
8678 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_cquad_ival_fx_get" "', argument " "1"" of type '" "gsl_integration_cquad_ival *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_cquad_ival_fx_get" "', argument " "1"" of type '" "gsl_integration_cquad_ival *""'"); 0 0 0
8679 }
8680 0 arg1 = (gsl_integration_cquad_ival *)(argp1);
8681 0 result = (double *)(double *) ((arg1)->fx);
8682 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0); argvi++ ;
8683
8684 0 XSRETURN(argvi);
8685 0 fail:
8686
8687 0 SWIG_croak_null();
8688 }
8689 }
8690  
8691  
8692 0 XS(_wrap_gsl_integration_cquad_ival_igral_set) {
8693 {
8694 0 gsl_integration_cquad_ival *arg1 = (gsl_integration_cquad_ival *) 0 ;
8695 double arg2 ;
8696 0 void *argp1 = 0 ;
8697 0 int res1 = 0 ;
8698 double val2 ;
8699 0 int ecode2 = 0 ;
8700 0 int argvi = 0;
8701 0 dXSARGS;
8702
8703 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
8704 0 SWIG_croak("Usage: gsl_integration_cquad_ival_igral_set(self,igral);");
8705 }
8706 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_cquad_ival, 0 | 0 );
8707 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
8708 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_cquad_ival_igral_set" "', argument " "1"" of type '" "gsl_integration_cquad_ival *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_cquad_ival_igral_set" "', argument " "1"" of type '" "gsl_integration_cquad_ival *""'"); 0 0 0
8709 }
8710 0 arg1 = (gsl_integration_cquad_ival *)(argp1);
8711 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
8712 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
8713 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_cquad_ival_igral_set" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_cquad_ival_igral_set" "', argument " "2"" of type '" "double""'"); 0 0 0
8714 }
8715 0 arg2 = (double)(val2);
8716 0 ▶ if (arg1) (arg1)->igral = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->igral = arg2; 0 0 0
8717 0 ST(argvi) = &PL_sv_undef;
8718
8719
8720 0 XSRETURN(argvi);
8721 0 fail:
8722
8723
8724 0 SWIG_croak_null();
8725 }
8726 }
8727  
8728  
8729 0 XS(_wrap_gsl_integration_cquad_ival_igral_get) {
8730 {
8731 0 gsl_integration_cquad_ival *arg1 = (gsl_integration_cquad_ival *) 0 ;
8732 0 void *argp1 = 0 ;
8733 0 int res1 = 0 ;
8734 0 int argvi = 0;
8735 double result;
8736 0 dXSARGS;
8737
8738 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
8739 0 SWIG_croak("Usage: gsl_integration_cquad_ival_igral_get(self);");
8740 }
8741 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_cquad_ival, 0 | 0 );
8742 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
8743 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_cquad_ival_igral_get" "', argument " "1"" of type '" "gsl_integration_cquad_ival *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_cquad_ival_igral_get" "', argument " "1"" of type '" "gsl_integration_cquad_ival *""'"); 0 0 0
8744 }
8745 0 arg1 = (gsl_integration_cquad_ival *)(argp1);
8746 0 result = (double) ((arg1)->igral);
8747 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
8748
8749 0 XSRETURN(argvi);
8750 0 fail:
8751
8752 0 SWIG_croak_null();
8753 }
8754 }
8755  
8756  
8757 0 XS(_wrap_gsl_integration_cquad_ival_err_set) {
8758 {
8759 0 gsl_integration_cquad_ival *arg1 = (gsl_integration_cquad_ival *) 0 ;
8760 double arg2 ;
8761 0 void *argp1 = 0 ;
8762 0 int res1 = 0 ;
8763 double val2 ;
8764 0 int ecode2 = 0 ;
8765 0 int argvi = 0;
8766 0 dXSARGS;
8767
8768 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
8769 0 SWIG_croak("Usage: gsl_integration_cquad_ival_err_set(self,err);");
8770 }
8771 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_cquad_ival, 0 | 0 );
8772 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
8773 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_cquad_ival_err_set" "', argument " "1"" of type '" "gsl_integration_cquad_ival *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_cquad_ival_err_set" "', argument " "1"" of type '" "gsl_integration_cquad_ival *""'"); 0 0 0
8774 }
8775 0 arg1 = (gsl_integration_cquad_ival *)(argp1);
8776 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
8777 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
8778 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_cquad_ival_err_set" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_cquad_ival_err_set" "', argument " "2"" of type '" "double""'"); 0 0 0
8779 }
8780 0 arg2 = (double)(val2);
8781 0 ▶ if (arg1) (arg1)->err = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->err = arg2; 0 0 0
8782 0 ST(argvi) = &PL_sv_undef;
8783
8784
8785 0 XSRETURN(argvi);
8786 0 fail:
8787
8788
8789 0 SWIG_croak_null();
8790 }
8791 }
8792  
8793  
8794 0 XS(_wrap_gsl_integration_cquad_ival_err_get) {
8795 {
8796 0 gsl_integration_cquad_ival *arg1 = (gsl_integration_cquad_ival *) 0 ;
8797 0 void *argp1 = 0 ;
8798 0 int res1 = 0 ;
8799 0 int argvi = 0;
8800 double result;
8801 0 dXSARGS;
8802
8803 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
8804 0 SWIG_croak("Usage: gsl_integration_cquad_ival_err_get(self);");
8805 }
8806 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_cquad_ival, 0 | 0 );
8807 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
8808 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_cquad_ival_err_get" "', argument " "1"" of type '" "gsl_integration_cquad_ival *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_cquad_ival_err_get" "', argument " "1"" of type '" "gsl_integration_cquad_ival *""'"); 0 0 0
8809 }
8810 0 arg1 = (gsl_integration_cquad_ival *)(argp1);
8811 0 result = (double) ((arg1)->err);
8812 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
8813
8814 0 XSRETURN(argvi);
8815 0 fail:
8816
8817 0 SWIG_croak_null();
8818 }
8819 }
8820  
8821  
8822 0 XS(_wrap_gsl_integration_cquad_ival_depth_set) {
8823 {
8824 0 gsl_integration_cquad_ival *arg1 = (gsl_integration_cquad_ival *) 0 ;
8825 int arg2 ;
8826 0 void *argp1 = 0 ;
8827 0 int res1 = 0 ;
8828 int val2 ;
8829 0 int ecode2 = 0 ;
8830 0 int argvi = 0;
8831 0 dXSARGS;
8832
8833 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
8834 0 SWIG_croak("Usage: gsl_integration_cquad_ival_depth_set(self,depth);");
8835 }
8836 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_cquad_ival, 0 | 0 );
8837 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
8838 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_cquad_ival_depth_set" "', argument " "1"" of type '" "gsl_integration_cquad_ival *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_cquad_ival_depth_set" "', argument " "1"" of type '" "gsl_integration_cquad_ival *""'"); 0 0 0
8839 }
8840 0 arg1 = (gsl_integration_cquad_ival *)(argp1);
8841 0 ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
8842 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
8843 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_cquad_ival_depth_set" "', argument " "2"" of type '" "int""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_cquad_ival_depth_set" "', argument " "2"" of type '" "int""'"); 0 0 0
8844 }
8845 0 arg2 = (int)(val2);
8846 0 ▶ if (arg1) (arg1)->depth = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->depth = arg2; 0 0 0
8847 0 ST(argvi) = &PL_sv_undef;
8848
8849
8850 0 XSRETURN(argvi);
8851 0 fail:
8852
8853
8854 0 SWIG_croak_null();
8855 }
8856 }
8857  
8858  
8859 0 XS(_wrap_gsl_integration_cquad_ival_depth_get) {
8860 {
8861 0 gsl_integration_cquad_ival *arg1 = (gsl_integration_cquad_ival *) 0 ;
8862 0 void *argp1 = 0 ;
8863 0 int res1 = 0 ;
8864 0 int argvi = 0;
8865 int result;
8866 0 dXSARGS;
8867
8868 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
8869 0 SWIG_croak("Usage: gsl_integration_cquad_ival_depth_get(self);");
8870 }
8871 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_cquad_ival, 0 | 0 );
8872 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
8873 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_cquad_ival_depth_get" "', argument " "1"" of type '" "gsl_integration_cquad_ival *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_cquad_ival_depth_get" "', argument " "1"" of type '" "gsl_integration_cquad_ival *""'"); 0 0 0
8874 }
8875 0 arg1 = (gsl_integration_cquad_ival *)(argp1);
8876 0 result = (int) ((arg1)->depth);
8877 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
8878
8879 0 XSRETURN(argvi);
8880 0 fail:
8881
8882 0 SWIG_croak_null();
8883 }
8884 }
8885  
8886  
8887 0 XS(_wrap_gsl_integration_cquad_ival_rdepth_set) {
8888 {
8889 0 gsl_integration_cquad_ival *arg1 = (gsl_integration_cquad_ival *) 0 ;
8890 int arg2 ;
8891 0 void *argp1 = 0 ;
8892 0 int res1 = 0 ;
8893 int val2 ;
8894 0 int ecode2 = 0 ;
8895 0 int argvi = 0;
8896 0 dXSARGS;
8897
8898 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
8899 0 SWIG_croak("Usage: gsl_integration_cquad_ival_rdepth_set(self,rdepth);");
8900 }
8901 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_cquad_ival, 0 | 0 );
8902 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
8903 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_cquad_ival_rdepth_set" "', argument " "1"" of type '" "gsl_integration_cquad_ival *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_cquad_ival_rdepth_set" "', argument " "1"" of type '" "gsl_integration_cquad_ival *""'"); 0 0 0
8904 }
8905 0 arg1 = (gsl_integration_cquad_ival *)(argp1);
8906 0 ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
8907 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
8908 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_cquad_ival_rdepth_set" "', argument " "2"" of type '" "int""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_cquad_ival_rdepth_set" "', argument " "2"" of type '" "int""'"); 0 0 0
8909 }
8910 0 arg2 = (int)(val2);
8911 0 ▶ if (arg1) (arg1)->rdepth = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->rdepth = arg2; 0 0 0
8912 0 ST(argvi) = &PL_sv_undef;
8913
8914
8915 0 XSRETURN(argvi);
8916 0 fail:
8917
8918
8919 0 SWIG_croak_null();
8920 }
8921 }
8922  
8923  
8924 0 XS(_wrap_gsl_integration_cquad_ival_rdepth_get) {
8925 {
8926 0 gsl_integration_cquad_ival *arg1 = (gsl_integration_cquad_ival *) 0 ;
8927 0 void *argp1 = 0 ;
8928 0 int res1 = 0 ;
8929 0 int argvi = 0;
8930 int result;
8931 0 dXSARGS;
8932
8933 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
8934 0 SWIG_croak("Usage: gsl_integration_cquad_ival_rdepth_get(self);");
8935 }
8936 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_cquad_ival, 0 | 0 );
8937 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
8938 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_cquad_ival_rdepth_get" "', argument " "1"" of type '" "gsl_integration_cquad_ival *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_cquad_ival_rdepth_get" "', argument " "1"" of type '" "gsl_integration_cquad_ival *""'"); 0 0 0
8939 }
8940 0 arg1 = (gsl_integration_cquad_ival *)(argp1);
8941 0 result = (int) ((arg1)->rdepth);
8942 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
8943
8944 0 XSRETURN(argvi);
8945 0 fail:
8946
8947 0 SWIG_croak_null();
8948 }
8949 }
8950  
8951  
8952 0 XS(_wrap_gsl_integration_cquad_ival_ndiv_set) {
8953 {
8954 0 gsl_integration_cquad_ival *arg1 = (gsl_integration_cquad_ival *) 0 ;
8955 int arg2 ;
8956 0 void *argp1 = 0 ;
8957 0 int res1 = 0 ;
8958 int val2 ;
8959 0 int ecode2 = 0 ;
8960 0 int argvi = 0;
8961 0 dXSARGS;
8962
8963 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
8964 0 SWIG_croak("Usage: gsl_integration_cquad_ival_ndiv_set(self,ndiv);");
8965 }
8966 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_cquad_ival, 0 | 0 );
8967 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
8968 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_cquad_ival_ndiv_set" "', argument " "1"" of type '" "gsl_integration_cquad_ival *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_cquad_ival_ndiv_set" "', argument " "1"" of type '" "gsl_integration_cquad_ival *""'"); 0 0 0
8969 }
8970 0 arg1 = (gsl_integration_cquad_ival *)(argp1);
8971 0 ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
8972 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
8973 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_cquad_ival_ndiv_set" "', argument " "2"" of type '" "int""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_cquad_ival_ndiv_set" "', argument " "2"" of type '" "int""'"); 0 0 0
8974 }
8975 0 arg2 = (int)(val2);
8976 0 ▶ if (arg1) (arg1)->ndiv = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->ndiv = arg2; 0 0 0
8977 0 ST(argvi) = &PL_sv_undef;
8978
8979
8980 0 XSRETURN(argvi);
8981 0 fail:
8982
8983
8984 0 SWIG_croak_null();
8985 }
8986 }
8987  
8988  
8989 0 XS(_wrap_gsl_integration_cquad_ival_ndiv_get) {
8990 {
8991 0 gsl_integration_cquad_ival *arg1 = (gsl_integration_cquad_ival *) 0 ;
8992 0 void *argp1 = 0 ;
8993 0 int res1 = 0 ;
8994 0 int argvi = 0;
8995 int result;
8996 0 dXSARGS;
8997
8998 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
8999 0 SWIG_croak("Usage: gsl_integration_cquad_ival_ndiv_get(self);");
9000 }
9001 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_cquad_ival, 0 | 0 );
9002 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
9003 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_cquad_ival_ndiv_get" "', argument " "1"" of type '" "gsl_integration_cquad_ival *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_cquad_ival_ndiv_get" "', argument " "1"" of type '" "gsl_integration_cquad_ival *""'"); 0 0 0
9004 }
9005 0 arg1 = (gsl_integration_cquad_ival *)(argp1);
9006 0 result = (int) ((arg1)->ndiv);
9007 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
9008
9009 0 XSRETURN(argvi);
9010 0 fail:
9011
9012 0 SWIG_croak_null();
9013 }
9014 }
9015  
9016  
9017 0 XS(_wrap_new_gsl_integration_cquad_ival) {
9018 {
9019 0 int argvi = 0;
9020 0 gsl_integration_cquad_ival *result = 0 ;
9021 0 dXSARGS;
9022
9023 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
9024 0 SWIG_croak("Usage: new_gsl_integration_cquad_ival();");
9025 }
9026 0 result = (gsl_integration_cquad_ival *)calloc(1, sizeof(gsl_integration_cquad_ival));
9027 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_integration_cquad_ival, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
9028 0 XSRETURN(argvi);
9029 0 fail:
9030 0 SWIG_croak_null();
9031 }
9032 }
9033  
9034  
9035 0 XS(_wrap_delete_gsl_integration_cquad_ival) {
9036 {
9037 0 gsl_integration_cquad_ival *arg1 = (gsl_integration_cquad_ival *) 0 ;
9038 0 void *argp1 = 0 ;
9039 0 int res1 = 0 ;
9040 0 int argvi = 0;
9041 0 dXSARGS;
9042
9043 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
9044 0 SWIG_croak("Usage: delete_gsl_integration_cquad_ival(self);");
9045 }
9046 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_cquad_ival, SWIG_POINTER_DISOWN | 0 );
9047 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
9048 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_gsl_integration_cquad_ival" "', argument " "1"" of type '" "gsl_integration_cquad_ival *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_gsl_integration_cquad_ival" "', argument " "1"" of type '" "gsl_integration_cquad_ival *""'"); 0 0 0
9049 }
9050 0 arg1 = (gsl_integration_cquad_ival *)(argp1);
9051 0 free((char *) arg1);
9052 0 ST(argvi) = &PL_sv_undef;
9053
9054 0 XSRETURN(argvi);
9055 0 fail:
9056
9057 0 SWIG_croak_null();
9058 }
9059 }
9060  
9061  
9062 0 XS(_wrap_gsl_integration_cquad_workspace_size_set) {
9063 {
9064 0 gsl_integration_cquad_workspace *arg1 = (gsl_integration_cquad_workspace *) 0 ;
9065 size_t arg2 ;
9066 0 void *argp1 = 0 ;
9067 0 int res1 = 0 ;
9068 size_t val2 ;
9069 0 int ecode2 = 0 ;
9070 0 int argvi = 0;
9071 0 dXSARGS;
9072
9073 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
9074 0 SWIG_croak("Usage: gsl_integration_cquad_workspace_size_set(self,size);");
9075 }
9076 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_cquad_workspace, 0 | 0 );
9077 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
9078 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_cquad_workspace_size_set" "', argument " "1"" of type '" "gsl_integration_cquad_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_cquad_workspace_size_set" "', argument " "1"" of type '" "gsl_integration_cquad_workspace *""'"); 0 0 0
9079 }
9080 0 arg1 = (gsl_integration_cquad_workspace *)(argp1);
9081 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
9082 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
9083 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_cquad_workspace_size_set" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_cquad_workspace_size_set" "', argument " "2"" of type '" "size_t""'"); 0 0 0
9084 }
9085 0 arg2 = (size_t)(val2);
9086 0 ▶ if (arg1) (arg1)->size = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->size = arg2; 0 0 0
9087 0 ST(argvi) = &PL_sv_undef;
9088
9089
9090 0 XSRETURN(argvi);
9091 0 fail:
9092
9093
9094 0 SWIG_croak_null();
9095 }
9096 }
9097  
9098  
9099 0 XS(_wrap_gsl_integration_cquad_workspace_size_get) {
9100 {
9101 0 gsl_integration_cquad_workspace *arg1 = (gsl_integration_cquad_workspace *) 0 ;
9102 0 void *argp1 = 0 ;
9103 0 int res1 = 0 ;
9104 0 int argvi = 0;
9105 size_t result;
9106 0 dXSARGS;
9107
9108 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
9109 0 SWIG_croak("Usage: gsl_integration_cquad_workspace_size_get(self);");
9110 }
9111 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_cquad_workspace, 0 | 0 );
9112 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
9113 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_cquad_workspace_size_get" "', argument " "1"" of type '" "gsl_integration_cquad_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_cquad_workspace_size_get" "', argument " "1"" of type '" "gsl_integration_cquad_workspace *""'"); 0 0 0
9114 }
9115 0 arg1 = (gsl_integration_cquad_workspace *)(argp1);
9116 0 result = ((arg1)->size);
9117 0 ST(argvi) = SWIG_From_size_t SWIG_PERL_CALL_ARGS_1((size_t)(result)); argvi++ ;
9118
9119 0 XSRETURN(argvi);
9120 0 fail:
9121
9122 0 SWIG_croak_null();
9123 }
9124 }
9125  
9126  
9127 0 XS(_wrap_gsl_integration_cquad_workspace_ivals_set) {
9128 {
9129 0 gsl_integration_cquad_workspace *arg1 = (gsl_integration_cquad_workspace *) 0 ;
9130 0 gsl_integration_cquad_ival *arg2 = (gsl_integration_cquad_ival *) 0 ;
9131 0 void *argp1 = 0 ;
9132 0 int res1 = 0 ;
9133 0 void *argp2 = 0 ;
9134 0 int res2 = 0 ;
9135 0 int argvi = 0;
9136 0 dXSARGS;
9137
9138 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
9139 0 SWIG_croak("Usage: gsl_integration_cquad_workspace_ivals_set(self,ivals);");
9140 }
9141 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_cquad_workspace, 0 | 0 );
9142 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
9143 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_cquad_workspace_ivals_set" "', argument " "1"" of type '" "gsl_integration_cquad_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_cquad_workspace_ivals_set" "', argument " "1"" of type '" "gsl_integration_cquad_workspace *""'"); 0 0 0
9144 }
9145 0 arg1 = (gsl_integration_cquad_workspace *)(argp1);
9146 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_integration_cquad_ival, SWIG_POINTER_DISOWN | 0 );
9147 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
9148 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_integration_cquad_workspace_ivals_set" "', argument " "2"" of type '" "gsl_integration_cquad_ival *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_integration_cquad_workspace_ivals_set" "', argument " "2"" of type '" "gsl_integration_cquad_ival *""'"); 0 0 0
9149 }
9150 0 arg2 = (gsl_integration_cquad_ival *)(argp2);
9151 0 ▶ if (arg1) (arg1)->ivals = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->ivals = arg2; 0 0 0
9152 0 ST(argvi) = &PL_sv_undef;
9153
9154
9155 0 XSRETURN(argvi);
9156 0 fail:
9157
9158
9159 0 SWIG_croak_null();
9160 }
9161 }
9162  
9163  
9164 0 XS(_wrap_gsl_integration_cquad_workspace_ivals_get) {
9165 {
9166 0 gsl_integration_cquad_workspace *arg1 = (gsl_integration_cquad_workspace *) 0 ;
9167 0 void *argp1 = 0 ;
9168 0 int res1 = 0 ;
9169 0 int argvi = 0;
9170 0 gsl_integration_cquad_ival *result = 0 ;
9171 0 dXSARGS;
9172
9173 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
9174 0 SWIG_croak("Usage: gsl_integration_cquad_workspace_ivals_get(self);");
9175 }
9176 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_cquad_workspace, 0 | 0 );
9177 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
9178 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_cquad_workspace_ivals_get" "', argument " "1"" of type '" "gsl_integration_cquad_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_cquad_workspace_ivals_get" "', argument " "1"" of type '" "gsl_integration_cquad_workspace *""'"); 0 0 0
9179 }
9180 0 arg1 = (gsl_integration_cquad_workspace *)(argp1);
9181 0 result = (gsl_integration_cquad_ival *) ((arg1)->ivals);
9182 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_integration_cquad_ival, 0 | SWIG_SHADOW); argvi++ ;
9183
9184 0 XSRETURN(argvi);
9185 0 fail:
9186
9187 0 SWIG_croak_null();
9188 }
9189 }
9190  
9191  
9192 0 XS(_wrap_gsl_integration_cquad_workspace_heap_set) {
9193 {
9194 0 gsl_integration_cquad_workspace *arg1 = (gsl_integration_cquad_workspace *) 0 ;
9195 0 size_t *arg2 = (size_t *) 0 ;
9196 0 void *argp1 = 0 ;
9197 0 int res1 = 0 ;
9198 0 void *argp2 = 0 ;
9199 0 int res2 = 0 ;
9200 0 int argvi = 0;
9201 0 dXSARGS;
9202
9203 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
9204 0 SWIG_croak("Usage: gsl_integration_cquad_workspace_heap_set(self,heap);");
9205 }
9206 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_cquad_workspace, 0 | 0 );
9207 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
9208 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_cquad_workspace_heap_set" "', argument " "1"" of type '" "gsl_integration_cquad_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_cquad_workspace_heap_set" "', argument " "1"" of type '" "gsl_integration_cquad_workspace *""'"); 0 0 0
9209 }
9210 0 arg1 = (gsl_integration_cquad_workspace *)(argp1);
9211 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_size_t, SWIG_POINTER_DISOWN | 0 );
9212 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
9213 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_integration_cquad_workspace_heap_set" "', argument " "2"" of type '" "size_t *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_integration_cquad_workspace_heap_set" "', argument " "2"" of type '" "size_t *""'"); 0 0 0
9214 }
9215 0 arg2 = (size_t *)(argp2);
9216 0 ▶ if (arg1) (arg1)->heap = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->heap = arg2; 0 0 0
9217 0 ST(argvi) = &PL_sv_undef;
9218
9219
9220 0 XSRETURN(argvi);
9221 0 fail:
9222
9223
9224 0 SWIG_croak_null();
9225 }
9226 }
9227  
9228  
9229 0 XS(_wrap_gsl_integration_cquad_workspace_heap_get) {
9230 {
9231 0 gsl_integration_cquad_workspace *arg1 = (gsl_integration_cquad_workspace *) 0 ;
9232 0 void *argp1 = 0 ;
9233 0 int res1 = 0 ;
9234 0 int argvi = 0;
9235 0 size_t *result = 0 ;
9236 0 dXSARGS;
9237
9238 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
9239 0 SWIG_croak("Usage: gsl_integration_cquad_workspace_heap_get(self);");
9240 }
9241 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_cquad_workspace, 0 | 0 );
9242 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
9243 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_cquad_workspace_heap_get" "', argument " "1"" of type '" "gsl_integration_cquad_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_cquad_workspace_heap_get" "', argument " "1"" of type '" "gsl_integration_cquad_workspace *""'"); 0 0 0
9244 }
9245 0 arg1 = (gsl_integration_cquad_workspace *)(argp1);
9246 0 result = (size_t *) ((arg1)->heap);
9247 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_size_t, 0 | 0); argvi++ ;
9248
9249 0 XSRETURN(argvi);
9250 0 fail:
9251
9252 0 SWIG_croak_null();
9253 }
9254 }
9255  
9256  
9257 0 XS(_wrap_new_gsl_integration_cquad_workspace) {
9258 {
9259 0 int argvi = 0;
9260 0 gsl_integration_cquad_workspace *result = 0 ;
9261 0 dXSARGS;
9262
9263 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
9264 0 SWIG_croak("Usage: new_gsl_integration_cquad_workspace();");
9265 }
9266 0 result = (gsl_integration_cquad_workspace *)calloc(1, sizeof(gsl_integration_cquad_workspace));
9267 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_integration_cquad_workspace, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
9268 0 XSRETURN(argvi);
9269 0 fail:
9270 0 SWIG_croak_null();
9271 }
9272 }
9273  
9274  
9275 0 XS(_wrap_delete_gsl_integration_cquad_workspace) {
9276 {
9277 0 gsl_integration_cquad_workspace *arg1 = (gsl_integration_cquad_workspace *) 0 ;
9278 0 void *argp1 = 0 ;
9279 0 int res1 = 0 ;
9280 0 int argvi = 0;
9281 0 dXSARGS;
9282
9283 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
9284 0 SWIG_croak("Usage: delete_gsl_integration_cquad_workspace(self);");
9285 }
9286 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_cquad_workspace, SWIG_POINTER_DISOWN | 0 );
9287 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
9288 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_gsl_integration_cquad_workspace" "', argument " "1"" of type '" "gsl_integration_cquad_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_gsl_integration_cquad_workspace" "', argument " "1"" of type '" "gsl_integration_cquad_workspace *""'"); 0 0 0
9289 }
9290 0 arg1 = (gsl_integration_cquad_workspace *)(argp1);
9291 0 free((char *) arg1);
9292 0 ST(argvi) = &PL_sv_undef;
9293
9294 0 XSRETURN(argvi);
9295 0 fail:
9296
9297 0 SWIG_croak_null();
9298 }
9299 }
9300  
9301  
9302 0 XS(_wrap_gsl_integration_cquad_workspace_alloc) {
9303 {
9304 size_t arg1 ;
9305 size_t val1 ;
9306 0 int ecode1 = 0 ;
9307 0 int argvi = 0;
9308 0 gsl_integration_cquad_workspace *result = 0 ;
9309 0 dXSARGS;
9310
9311 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
9312 0 SWIG_croak("Usage: gsl_integration_cquad_workspace_alloc(n);");
9313 }
9314 0 ecode1 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
9315 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
9316 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_integration_cquad_workspace_alloc" "', argument " "1"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_integration_cquad_workspace_alloc" "', argument " "1"" of type '" "size_t""'"); 0 0 0
9317 }
9318 0 arg1 = (size_t)(val1);
9319 0 result = (gsl_integration_cquad_workspace *)gsl_integration_cquad_workspace_alloc(arg1);
9320 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_integration_cquad_workspace, 0 | SWIG_SHADOW); argvi++ ;
9321
9322 0 XSRETURN(argvi);
9323 0 fail:
9324
9325 0 SWIG_croak_null();
9326 }
9327 }
9328  
9329  
9330 0 XS(_wrap_gsl_integration_cquad_workspace_free) {
9331 {
9332 0 gsl_integration_cquad_workspace *arg1 = (gsl_integration_cquad_workspace *) 0 ;
9333 0 void *argp1 = 0 ;
9334 0 int res1 = 0 ;
9335 0 int argvi = 0;
9336 0 dXSARGS;
9337
9338 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
9339 0 SWIG_croak("Usage: gsl_integration_cquad_workspace_free(w);");
9340 }
9341 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_cquad_workspace, 0 | 0 );
9342 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
9343 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_cquad_workspace_free" "', argument " "1"" of type '" "gsl_integration_cquad_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_cquad_workspace_free" "', argument " "1"" of type '" "gsl_integration_cquad_workspace *""'"); 0 0 0
9344 }
9345 0 arg1 = (gsl_integration_cquad_workspace *)(argp1);
9346 0 gsl_integration_cquad_workspace_free(arg1);
9347 0 ST(argvi) = &PL_sv_undef;
9348
9349 0 XSRETURN(argvi);
9350 0 fail:
9351
9352 0 SWIG_croak_null();
9353 }
9354 }
9355  
9356  
9357 0 XS(_wrap_gsl_integration_cquad) {
9358 {
9359 0 gsl_function *arg1 = (gsl_function *) 0 ;
9360 double arg2 ;
9361 double arg3 ;
9362 double arg4 ;
9363 double arg5 ;
9364 0 gsl_integration_cquad_workspace *arg6 = (gsl_integration_cquad_workspace *) 0 ;
9365 0 double *arg7 = (double *) 0 ;
9366 0 double *arg8 = (double *) 0 ;
9367 0 size_t *arg9 = (size_t *) 0 ;
9368 double val2 ;
9369 0 int ecode2 = 0 ;
9370 double val3 ;
9371 0 int ecode3 = 0 ;
9372 double val4 ;
9373 0 int ecode4 = 0 ;
9374 double val5 ;
9375 0 int ecode5 = 0 ;
9376 0 void *argp6 = 0 ;
9377 0 int res6 = 0 ;
9378 double temp7 ;
9379 0 int res7 = SWIG_TMPOBJ ;
9380 double temp8 ;
9381 0 int res8 = SWIG_TMPOBJ ;
9382 0 void *argp9 = 0 ;
9383 0 int res9 = 0 ;
9384 0 int argvi = 0;
9385 int result;
9386 0 dXSARGS;
9387
9388 0 arg7 = &temp7;
9389 0 arg8 = &temp8;
9390 0 ▶ if ((items < 7) || (items > 7)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 7) || (items > 7)) { 0 0 0
if ((items < 7) || (items > 7)) { 0 0 0
9391 0 SWIG_croak("Usage: gsl_integration_cquad(f,a,b,epsabs,epsrel,ws,nevals);");
9392 }
9393 {
9394 0 SV * function = 0;
9395 0 SV * params = 0;
9396 struct gsl_function_perl *w_gsl_function;
9397 0 Newx(w_gsl_function, 1, struct gsl_function_perl);
9398
9399 0 ▶ if (SvROK(ST(0)) && (SvTYPE(SvRV(ST(0))) == SVt_PVAV)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SvROK(ST(0)) && (SvTYPE(SvRV(ST(0))) == SVt_PVAV)) { 0 0 0
if (SvROK(ST(0)) && (SvTYPE(SvRV(ST(0))) == SVt_PVAV)) { 0 0 0
9400 0 AV* array=(AV*)SvRV(ST(0));
9401 0 SV ** p_function = 0;
9402 0 ▶ if (av_len(array)<0) {
Branch: 1 branch
BranchTrueFalseTotal
if (av_len(array)<0) { 0 0 0
9403 0 croak("Math::GSL : $f is an empty array!");
9404 }
9405 0 ▶ if (av_len(array)>1) {
Branch: 1 branch
BranchTrueFalseTotal
if (av_len(array)>1) { 0 0 0
9406 0 croak("Math::GSL : $f is an array with more than 2 elements!");
9407 }
9408 0 p_function = av_fetch(array, 0, 0);
9409 0 function = *p_function;
9410 0 ▶ if (av_len(array)>0) {
Branch: 1 branch
BranchTrueFalseTotal
if (av_len(array)>0) { 0 0 0
9411 0 SV ** p_params = 0;
9412 0 p_params = av_fetch(array, 1, 0);
9413 0 params = *p_params;
9414 }
9415 } else {
9416 0 function = ST(0);
9417 }
9418
9419 0 ▶ if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) {
Branch: 4 branches
BranchTrueFalseTotal
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
9420 0 croak("Math::GSL : $f is not a reference to code!");
9421 }
9422
9423 0 function = newSVsv(function);
9424
9425 0 ▶ if (! params) {
Branch: 1 branch
BranchTrueFalseTotal
if (! params) { 0 0 0
9426 0 params=&PL_sv_undef;
9427 }
9428 0 params = newSVsv(params);
9429
9430 0 w_gsl_function->params = params;
9431 0 w_gsl_function->function = function;
9432 0 w_gsl_function->C_gsl_function.params = w_gsl_function;
9433 0 w_gsl_function->C_gsl_function.function = &call_gsl_function;
9434
9435 0 arg1 = &(w_gsl_function->C_gsl_function);
9436 }
9437 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
9438 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
9439 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_cquad" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_cquad" "', argument " "2"" of type '" "double""'"); 0 0 0
9440 }
9441 0 arg2 = (double)(val2);
9442 0 ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
9443 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
9444 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_integration_cquad" "', argument " "3"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_integration_cquad" "', argument " "3"" of type '" "double""'"); 0 0 0
9445 }
9446 0 arg3 = (double)(val3);
9447 0 ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
9448 0 ▶ if (!SWIG_IsOK(ecode4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode4)) { 0 0 0
9449 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_integration_cquad" "', argument " "4"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_integration_cquad" "', argument " "4"" of type '" "double""'"); 0 0 0
9450 }
9451 0 arg4 = (double)(val4);
9452 0 ecode5 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
9453 0 ▶ if (!SWIG_IsOK(ecode5)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode5)) { 0 0 0
9454 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "gsl_integration_cquad" "', argument " "5"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "gsl_integration_cquad" "', argument " "5"" of type '" "double""'"); 0 0 0
9455 }
9456 0 arg5 = (double)(val5);
9457 0 res6 = SWIG_ConvertPtr(ST(5), &argp6,SWIGTYPE_p_gsl_integration_cquad_workspace, 0 | 0 );
9458 0 ▶ if (!SWIG_IsOK(res6)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res6)) { 0 0 0
9459 0 ▶ SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "gsl_integration_cquad" "', argument " "6"" of type '" "gsl_integration_cquad_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "gsl_integration_cquad" "', argument " "6"" of type '" "gsl_integration_cquad_workspace *""'"); 0 0 0
9460 }
9461 0 arg6 = (gsl_integration_cquad_workspace *)(argp6);
9462 0 res9 = SWIG_ConvertPtr(ST(6), &argp9,SWIGTYPE_p_size_t, 0 | 0 );
9463 0 ▶ if (!SWIG_IsOK(res9)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res9)) { 0 0 0
9464 0 ▶ SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "gsl_integration_cquad" "', argument " "9"" of type '" "size_t *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "gsl_integration_cquad" "', argument " "9"" of type '" "size_t *""'"); 0 0 0
9465 }
9466 0 arg9 = (size_t *)(argp9);
9467 0 result = (int)gsl_integration_cquad((struct gsl_function_struct const *)arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9);
9468 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
9469 0 ▶ if (SWIG_IsTmpObj(res7)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SWIG_IsTmpObj(res7)) { 0 0 0
if (SWIG_IsTmpObj(res7)) { 0 0 0
9470 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
9471 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
9472 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((*arg7)); argvi++ /*@SWIG@*/;
9473 } else {
9474 0 ▶ int new_flags = SWIG_IsNewObj(res7) ? (SWIG_POINTER_OWN | 0) : 0;
Branch: 2 branches
BranchTrueFalseTotal
int new_flags = SWIG_IsNewObj(res7) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
int new_flags = SWIG_IsNewObj(res7) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
9475 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
9476 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
9477 0 ST(argvi) = SWIG_NewPointerObj((void*)(arg7), SWIGTYPE_p_double, new_flags); argvi++ /*@SWIG@*/;
9478 }
9479 0 ▶ if (SWIG_IsTmpObj(res8)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SWIG_IsTmpObj(res8)) { 0 0 0
if (SWIG_IsTmpObj(res8)) { 0 0 0
9480 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
9481 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
9482 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((*arg8)); argvi++ /*@SWIG@*/;
9483 } else {
9484 0 ▶ int new_flags = SWIG_IsNewObj(res8) ? (SWIG_POINTER_OWN | 0) : 0;
Branch: 2 branches
BranchTrueFalseTotal
int new_flags = SWIG_IsNewObj(res8) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
int new_flags = SWIG_IsNewObj(res8) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
9485 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
9486 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
9487 0 ST(argvi) = SWIG_NewPointerObj((void*)(arg8), SWIGTYPE_p_double, new_flags); argvi++ /*@SWIG@*/;
9488 }
9489 {
9490 0 struct gsl_function_perl *p=(struct gsl_function_perl *) arg1->params;
9491 0 gsl_function_perl_free(p);
9492 }
9493
9494
9495
9496
9497
9498
9499
9500
9501 0 XSRETURN(argvi);
9502 0 fail:
9503 {
9504 0 struct gsl_function_perl *p=(struct gsl_function_perl *) arg1->params;
9505 0 gsl_function_perl_free(p);
9506 }
9507
9508
9509
9510
9511
9512
9513
9514
9515 0 SWIG_croak_null();
9516 }
9517 }
9518  
9519  
9520 0 XS(_wrap_gsl_integration_romberg_workspace_n_set) {
9521 {
9522 0 gsl_integration_romberg_workspace *arg1 = (gsl_integration_romberg_workspace *) 0 ;
9523 size_t arg2 ;
9524 0 void *argp1 = 0 ;
9525 0 int res1 = 0 ;
9526 size_t val2 ;
9527 0 int ecode2 = 0 ;
9528 0 int argvi = 0;
9529 0 dXSARGS;
9530
9531 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
9532 0 SWIG_croak("Usage: gsl_integration_romberg_workspace_n_set(self,n);");
9533 }
9534 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_romberg_workspace, 0 | 0 );
9535 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
9536 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_romberg_workspace_n_set" "', argument " "1"" of type '" "gsl_integration_romberg_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_romberg_workspace_n_set" "', argument " "1"" of type '" "gsl_integration_romberg_workspace *""'"); 0 0 0
9537 }
9538 0 arg1 = (gsl_integration_romberg_workspace *)(argp1);
9539 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
9540 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
9541 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_romberg_workspace_n_set" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_romberg_workspace_n_set" "', argument " "2"" of type '" "size_t""'"); 0 0 0
9542 }
9543 0 arg2 = (size_t)(val2);
9544 0 ▶ if (arg1) (arg1)->n = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->n = arg2; 0 0 0
9545 0 ST(argvi) = &PL_sv_undef;
9546
9547
9548 0 XSRETURN(argvi);
9549 0 fail:
9550
9551
9552 0 SWIG_croak_null();
9553 }
9554 }
9555  
9556  
9557 0 XS(_wrap_gsl_integration_romberg_workspace_n_get) {
9558 {
9559 0 gsl_integration_romberg_workspace *arg1 = (gsl_integration_romberg_workspace *) 0 ;
9560 0 void *argp1 = 0 ;
9561 0 int res1 = 0 ;
9562 0 int argvi = 0;
9563 size_t result;
9564 0 dXSARGS;
9565
9566 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
9567 0 SWIG_croak("Usage: gsl_integration_romberg_workspace_n_get(self);");
9568 }
9569 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_romberg_workspace, 0 | 0 );
9570 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
9571 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_romberg_workspace_n_get" "', argument " "1"" of type '" "gsl_integration_romberg_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_romberg_workspace_n_get" "', argument " "1"" of type '" "gsl_integration_romberg_workspace *""'"); 0 0 0
9572 }
9573 0 arg1 = (gsl_integration_romberg_workspace *)(argp1);
9574 0 result = ((arg1)->n);
9575 0 ST(argvi) = SWIG_From_size_t SWIG_PERL_CALL_ARGS_1((size_t)(result)); argvi++ ;
9576
9577 0 XSRETURN(argvi);
9578 0 fail:
9579
9580 0 SWIG_croak_null();
9581 }
9582 }
9583  
9584  
9585 0 XS(_wrap_gsl_integration_romberg_workspace_work1_set) {
9586 {
9587 0 gsl_integration_romberg_workspace *arg1 = (gsl_integration_romberg_workspace *) 0 ;
9588 0 double *arg2 = (double *) 0 ;
9589 0 void *argp1 = 0 ;
9590 0 int res1 = 0 ;
9591 0 void *argp2 = 0 ;
9592 0 int res2 = 0 ;
9593 0 int argvi = 0;
9594 0 dXSARGS;
9595
9596 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
9597 0 SWIG_croak("Usage: gsl_integration_romberg_workspace_work1_set(self,work1);");
9598 }
9599 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_romberg_workspace, 0 | 0 );
9600 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
9601 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_romberg_workspace_work1_set" "', argument " "1"" of type '" "gsl_integration_romberg_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_romberg_workspace_work1_set" "', argument " "1"" of type '" "gsl_integration_romberg_workspace *""'"); 0 0 0
9602 }
9603 0 arg1 = (gsl_integration_romberg_workspace *)(argp1);
9604 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, SWIG_POINTER_DISOWN | 0 );
9605 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
9606 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_integration_romberg_workspace_work1_set" "', argument " "2"" of type '" "double *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_integration_romberg_workspace_work1_set" "', argument " "2"" of type '" "double *""'"); 0 0 0
9607 }
9608 0 arg2 = (double *)(argp2);
9609 0 ▶ if (arg1) (arg1)->work1 = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->work1 = arg2; 0 0 0
9610 0 ST(argvi) = &PL_sv_undef;
9611
9612
9613 0 XSRETURN(argvi);
9614 0 fail:
9615
9616
9617 0 SWIG_croak_null();
9618 }
9619 }
9620  
9621  
9622 0 XS(_wrap_gsl_integration_romberg_workspace_work1_get) {
9623 {
9624 0 gsl_integration_romberg_workspace *arg1 = (gsl_integration_romberg_workspace *) 0 ;
9625 0 void *argp1 = 0 ;
9626 0 int res1 = 0 ;
9627 0 int argvi = 0;
9628 0 double *result = 0 ;
9629 0 dXSARGS;
9630
9631 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
9632 0 SWIG_croak("Usage: gsl_integration_romberg_workspace_work1_get(self);");
9633 }
9634 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_romberg_workspace, 0 | 0 );
9635 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
9636 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_romberg_workspace_work1_get" "', argument " "1"" of type '" "gsl_integration_romberg_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_romberg_workspace_work1_get" "', argument " "1"" of type '" "gsl_integration_romberg_workspace *""'"); 0 0 0
9637 }
9638 0 arg1 = (gsl_integration_romberg_workspace *)(argp1);
9639 0 result = (double *) ((arg1)->work1);
9640 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0); argvi++ ;
9641
9642 0 XSRETURN(argvi);
9643 0 fail:
9644
9645 0 SWIG_croak_null();
9646 }
9647 }
9648  
9649  
9650 0 XS(_wrap_gsl_integration_romberg_workspace_work2_set) {
9651 {
9652 0 gsl_integration_romberg_workspace *arg1 = (gsl_integration_romberg_workspace *) 0 ;
9653 0 double *arg2 = (double *) 0 ;
9654 0 void *argp1 = 0 ;
9655 0 int res1 = 0 ;
9656 0 void *argp2 = 0 ;
9657 0 int res2 = 0 ;
9658 0 int argvi = 0;
9659 0 dXSARGS;
9660
9661 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
9662 0 SWIG_croak("Usage: gsl_integration_romberg_workspace_work2_set(self,work2);");
9663 }
9664 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_romberg_workspace, 0 | 0 );
9665 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
9666 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_romberg_workspace_work2_set" "', argument " "1"" of type '" "gsl_integration_romberg_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_romberg_workspace_work2_set" "', argument " "1"" of type '" "gsl_integration_romberg_workspace *""'"); 0 0 0
9667 }
9668 0 arg1 = (gsl_integration_romberg_workspace *)(argp1);
9669 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, SWIG_POINTER_DISOWN | 0 );
9670 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
9671 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_integration_romberg_workspace_work2_set" "', argument " "2"" of type '" "double *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_integration_romberg_workspace_work2_set" "', argument " "2"" of type '" "double *""'"); 0 0 0
9672 }
9673 0 arg2 = (double *)(argp2);
9674 0 ▶ if (arg1) (arg1)->work2 = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->work2 = arg2; 0 0 0
9675 0 ST(argvi) = &PL_sv_undef;
9676
9677
9678 0 XSRETURN(argvi);
9679 0 fail:
9680
9681
9682 0 SWIG_croak_null();
9683 }
9684 }
9685  
9686  
9687 0 XS(_wrap_gsl_integration_romberg_workspace_work2_get) {
9688 {
9689 0 gsl_integration_romberg_workspace *arg1 = (gsl_integration_romberg_workspace *) 0 ;
9690 0 void *argp1 = 0 ;
9691 0 int res1 = 0 ;
9692 0 int argvi = 0;
9693 0 double *result = 0 ;
9694 0 dXSARGS;
9695
9696 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
9697 0 SWIG_croak("Usage: gsl_integration_romberg_workspace_work2_get(self);");
9698 }
9699 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_romberg_workspace, 0 | 0 );
9700 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
9701 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_romberg_workspace_work2_get" "', argument " "1"" of type '" "gsl_integration_romberg_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_romberg_workspace_work2_get" "', argument " "1"" of type '" "gsl_integration_romberg_workspace *""'"); 0 0 0
9702 }
9703 0 arg1 = (gsl_integration_romberg_workspace *)(argp1);
9704 0 result = (double *) ((arg1)->work2);
9705 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0); argvi++ ;
9706
9707 0 XSRETURN(argvi);
9708 0 fail:
9709
9710 0 SWIG_croak_null();
9711 }
9712 }
9713  
9714  
9715 0 XS(_wrap_new_gsl_integration_romberg_workspace) {
9716 {
9717 0 int argvi = 0;
9718 0 gsl_integration_romberg_workspace *result = 0 ;
9719 0 dXSARGS;
9720
9721 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
9722 0 SWIG_croak("Usage: new_gsl_integration_romberg_workspace();");
9723 }
9724 0 result = (gsl_integration_romberg_workspace *)calloc(1, sizeof(gsl_integration_romberg_workspace));
9725 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_integration_romberg_workspace, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
9726 0 XSRETURN(argvi);
9727 0 fail:
9728 0 SWIG_croak_null();
9729 }
9730 }
9731  
9732  
9733 0 XS(_wrap_delete_gsl_integration_romberg_workspace) {
9734 {
9735 0 gsl_integration_romberg_workspace *arg1 = (gsl_integration_romberg_workspace *) 0 ;
9736 0 void *argp1 = 0 ;
9737 0 int res1 = 0 ;
9738 0 int argvi = 0;
9739 0 dXSARGS;
9740
9741 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
9742 0 SWIG_croak("Usage: delete_gsl_integration_romberg_workspace(self);");
9743 }
9744 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_romberg_workspace, SWIG_POINTER_DISOWN | 0 );
9745 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
9746 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_gsl_integration_romberg_workspace" "', argument " "1"" of type '" "gsl_integration_romberg_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_gsl_integration_romberg_workspace" "', argument " "1"" of type '" "gsl_integration_romberg_workspace *""'"); 0 0 0
9747 }
9748 0 arg1 = (gsl_integration_romberg_workspace *)(argp1);
9749 0 free((char *) arg1);
9750 0 ST(argvi) = &PL_sv_undef;
9751
9752 0 XSRETURN(argvi);
9753 0 fail:
9754
9755 0 SWIG_croak_null();
9756 }
9757 }
9758  
9759  
9760 0 XS(_wrap_gsl_integration_romberg_alloc) {
9761 {
9762 size_t arg1 ;
9763 size_t val1 ;
9764 0 int ecode1 = 0 ;
9765 0 int argvi = 0;
9766 0 gsl_integration_romberg_workspace *result = 0 ;
9767 0 dXSARGS;
9768
9769 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
9770 0 SWIG_croak("Usage: gsl_integration_romberg_alloc(n);");
9771 }
9772 0 ecode1 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
9773 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
9774 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_integration_romberg_alloc" "', argument " "1"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_integration_romberg_alloc" "', argument " "1"" of type '" "size_t""'"); 0 0 0
9775 }
9776 0 arg1 = (size_t)(val1);
9777 0 result = (gsl_integration_romberg_workspace *)gsl_integration_romberg_alloc(arg1);
9778 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_integration_romberg_workspace, 0 | SWIG_SHADOW); argvi++ ;
9779
9780 0 XSRETURN(argvi);
9781 0 fail:
9782
9783 0 SWIG_croak_null();
9784 }
9785 }
9786  
9787  
9788 0 XS(_wrap_gsl_integration_romberg_free) {
9789 {
9790 0 gsl_integration_romberg_workspace *arg1 = (gsl_integration_romberg_workspace *) 0 ;
9791 0 void *argp1 = 0 ;
9792 0 int res1 = 0 ;
9793 0 int argvi = 0;
9794 0 dXSARGS;
9795
9796 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
9797 0 SWIG_croak("Usage: gsl_integration_romberg_free(w);");
9798 }
9799 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_romberg_workspace, 0 | 0 );
9800 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
9801 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_romberg_free" "', argument " "1"" of type '" "gsl_integration_romberg_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_romberg_free" "', argument " "1"" of type '" "gsl_integration_romberg_workspace *""'"); 0 0 0
9802 }
9803 0 arg1 = (gsl_integration_romberg_workspace *)(argp1);
9804 0 gsl_integration_romberg_free(arg1);
9805 0 ST(argvi) = &PL_sv_undef;
9806
9807 0 XSRETURN(argvi);
9808 0 fail:
9809
9810 0 SWIG_croak_null();
9811 }
9812 }
9813  
9814  
9815 0 XS(_wrap_gsl_integration_romberg) {
9816 {
9817 0 gsl_function *arg1 = (gsl_function *) 0 ;
9818 double arg2 ;
9819 double arg3 ;
9820 double arg4 ;
9821 double arg5 ;
9822 0 double *arg6 = (double *) 0 ;
9823 0 size_t *arg7 = (size_t *) 0 ;
9824 0 gsl_integration_romberg_workspace *arg8 = (gsl_integration_romberg_workspace *) 0 ;
9825 double val2 ;
9826 0 int ecode2 = 0 ;
9827 double val3 ;
9828 0 int ecode3 = 0 ;
9829 double val4 ;
9830 0 int ecode4 = 0 ;
9831 double val5 ;
9832 0 int ecode5 = 0 ;
9833 double temp6 ;
9834 0 int res6 = SWIG_TMPOBJ ;
9835 size_t temp7 ;
9836 0 int res7 = SWIG_TMPOBJ ;
9837 0 void *argp8 = 0 ;
9838 0 int res8 = 0 ;
9839 0 int argvi = 0;
9840 int result;
9841 0 dXSARGS;
9842
9843 0 arg6 = &temp6;
9844 0 arg7 = &temp7;
9845 0 ▶ if ((items < 6) || (items > 6)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 6) || (items > 6)) { 0 0 0
if ((items < 6) || (items > 6)) { 0 0 0
9846 0 SWIG_croak("Usage: gsl_integration_romberg(f,a,b,epsabs,epsrel,w);");
9847 }
9848 {
9849 0 SV * function = 0;
9850 0 SV * params = 0;
9851 struct gsl_function_perl *w_gsl_function;
9852 0 Newx(w_gsl_function, 1, struct gsl_function_perl);
9853
9854 0 ▶ if (SvROK(ST(0)) && (SvTYPE(SvRV(ST(0))) == SVt_PVAV)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SvROK(ST(0)) && (SvTYPE(SvRV(ST(0))) == SVt_PVAV)) { 0 0 0
if (SvROK(ST(0)) && (SvTYPE(SvRV(ST(0))) == SVt_PVAV)) { 0 0 0
9855 0 AV* array=(AV*)SvRV(ST(0));
9856 0 SV ** p_function = 0;
9857 0 ▶ if (av_len(array)<0) {
Branch: 1 branch
BranchTrueFalseTotal
if (av_len(array)<0) { 0 0 0
9858 0 croak("Math::GSL : $f is an empty array!");
9859 }
9860 0 ▶ if (av_len(array)>1) {
Branch: 1 branch
BranchTrueFalseTotal
if (av_len(array)>1) { 0 0 0
9861 0 croak("Math::GSL : $f is an array with more than 2 elements!");
9862 }
9863 0 p_function = av_fetch(array, 0, 0);
9864 0 function = *p_function;
9865 0 ▶ if (av_len(array)>0) {
Branch: 1 branch
BranchTrueFalseTotal
if (av_len(array)>0) { 0 0 0
9866 0 SV ** p_params = 0;
9867 0 p_params = av_fetch(array, 1, 0);
9868 0 params = *p_params;
9869 }
9870 } else {
9871 0 function = ST(0);
9872 }
9873
9874 0 ▶ if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) {
Branch: 4 branches
BranchTrueFalseTotal
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
9875 0 croak("Math::GSL : $f is not a reference to code!");
9876 }
9877
9878 0 function = newSVsv(function);
9879
9880 0 ▶ if (! params) {
Branch: 1 branch
BranchTrueFalseTotal
if (! params) { 0 0 0
9881 0 params=&PL_sv_undef;
9882 }
9883 0 params = newSVsv(params);
9884
9885 0 w_gsl_function->params = params;
9886 0 w_gsl_function->function = function;
9887 0 w_gsl_function->C_gsl_function.params = w_gsl_function;
9888 0 w_gsl_function->C_gsl_function.function = &call_gsl_function;
9889
9890 0 arg1 = &(w_gsl_function->C_gsl_function);
9891 }
9892 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
9893 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
9894 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_romberg" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_romberg" "', argument " "2"" of type '" "double""'"); 0 0 0
9895 }
9896 0 arg2 = (double)(val2);
9897 0 ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
9898 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
9899 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_integration_romberg" "', argument " "3"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_integration_romberg" "', argument " "3"" of type '" "double""'"); 0 0 0
9900 }
9901 0 arg3 = (double)(val3);
9902 0 ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
9903 0 ▶ if (!SWIG_IsOK(ecode4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode4)) { 0 0 0
9904 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_integration_romberg" "', argument " "4"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_integration_romberg" "', argument " "4"" of type '" "double""'"); 0 0 0
9905 }
9906 0 arg4 = (double)(val4);
9907 0 ecode5 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
9908 0 ▶ if (!SWIG_IsOK(ecode5)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode5)) { 0 0 0
9909 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "gsl_integration_romberg" "', argument " "5"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "gsl_integration_romberg" "', argument " "5"" of type '" "double""'"); 0 0 0
9910 }
9911 0 arg5 = (double)(val5);
9912 0 res8 = SWIG_ConvertPtr(ST(5), &argp8,SWIGTYPE_p_gsl_integration_romberg_workspace, 0 | 0 );
9913 0 ▶ if (!SWIG_IsOK(res8)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res8)) { 0 0 0
9914 0 ▶ SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "gsl_integration_romberg" "', argument " "8"" of type '" "gsl_integration_romberg_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "gsl_integration_romberg" "', argument " "8"" of type '" "gsl_integration_romberg_workspace *""'"); 0 0 0
9915 }
9916 0 arg8 = (gsl_integration_romberg_workspace *)(argp8);
9917 0 result = (int)gsl_integration_romberg((struct gsl_function_struct const *)arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
9918 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
9919 0 ▶ if (SWIG_IsTmpObj(res6)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SWIG_IsTmpObj(res6)) { 0 0 0
if (SWIG_IsTmpObj(res6)) { 0 0 0
9920 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
9921 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
9922 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((*arg6)); argvi++ /*@SWIG@*/;
9923 } else {
9924 0 ▶ int new_flags = SWIG_IsNewObj(res6) ? (SWIG_POINTER_OWN | 0) : 0;
Branch: 2 branches
BranchTrueFalseTotal
int new_flags = SWIG_IsNewObj(res6) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
int new_flags = SWIG_IsNewObj(res6) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
9925 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
9926 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
9927 0 ST(argvi) = SWIG_NewPointerObj((void*)(arg6), SWIGTYPE_p_double, new_flags); argvi++ /*@SWIG@*/;
9928 }
9929 0 ▶ if (SWIG_IsTmpObj(res7)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SWIG_IsTmpObj(res7)) { 0 0 0
if (SWIG_IsTmpObj(res7)) { 0 0 0
9930 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
9931 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
9932 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((*arg7)); argvi++ /*@SWIG@*/;
9933 } else {
9934 0 ▶ int new_flags = SWIG_IsNewObj(res7) ? (SWIG_POINTER_OWN | 0) : 0;
Branch: 2 branches
BranchTrueFalseTotal
int new_flags = SWIG_IsNewObj(res7) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
int new_flags = SWIG_IsNewObj(res7) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
9935 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
9936 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
9937 0 ST(argvi) = SWIG_NewPointerObj((void*)(arg7), SWIGTYPE_p_size_t, new_flags); argvi++ /*@SWIG@*/;
9938 }
9939 {
9940 0 struct gsl_function_perl *p=(struct gsl_function_perl *) arg1->params;
9941 0 gsl_function_perl_free(p);
9942 }
9943
9944
9945
9946
9947
9948
9949
9950 0 XSRETURN(argvi);
9951 0 fail:
9952 {
9953 0 struct gsl_function_perl *p=(struct gsl_function_perl *) arg1->params;
9954 0 gsl_function_perl_free(p);
9955 }
9956
9957
9958
9959
9960
9961
9962
9963 0 SWIG_croak_null();
9964 }
9965 }
9966  
9967  
9968 0 XS(_wrap_gsl_integration_fixed_params_alpha_set) {
9969 {
9970 0 gsl_integration_fixed_params *arg1 = (gsl_integration_fixed_params *) 0 ;
9971 double arg2 ;
9972 0 void *argp1 = 0 ;
9973 0 int res1 = 0 ;
9974 double val2 ;
9975 0 int ecode2 = 0 ;
9976 0 int argvi = 0;
9977 0 dXSARGS;
9978
9979 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
9980 0 SWIG_croak("Usage: gsl_integration_fixed_params_alpha_set(self,alpha);");
9981 }
9982 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_fixed_params, 0 | 0 );
9983 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
9984 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_fixed_params_alpha_set" "', argument " "1"" of type '" "gsl_integration_fixed_params *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_fixed_params_alpha_set" "', argument " "1"" of type '" "gsl_integration_fixed_params *""'"); 0 0 0
9985 }
9986 0 arg1 = (gsl_integration_fixed_params *)(argp1);
9987 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
9988 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
9989 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_fixed_params_alpha_set" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_fixed_params_alpha_set" "', argument " "2"" of type '" "double""'"); 0 0 0
9990 }
9991 0 arg2 = (double)(val2);
9992 0 ▶ if (arg1) (arg1)->alpha = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->alpha = arg2; 0 0 0
9993 0 ST(argvi) = &PL_sv_undef;
9994
9995
9996 0 XSRETURN(argvi);
9997 0 fail:
9998
9999
10000 0 SWIG_croak_null();
10001 }
10002 }
10003  
10004  
10005 0 XS(_wrap_gsl_integration_fixed_params_alpha_get) {
10006 {
10007 0 gsl_integration_fixed_params *arg1 = (gsl_integration_fixed_params *) 0 ;
10008 0 void *argp1 = 0 ;
10009 0 int res1 = 0 ;
10010 0 int argvi = 0;
10011 double result;
10012 0 dXSARGS;
10013
10014 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
10015 0 SWIG_croak("Usage: gsl_integration_fixed_params_alpha_get(self);");
10016 }
10017 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_fixed_params, 0 | 0 );
10018 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
10019 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_fixed_params_alpha_get" "', argument " "1"" of type '" "gsl_integration_fixed_params *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_fixed_params_alpha_get" "', argument " "1"" of type '" "gsl_integration_fixed_params *""'"); 0 0 0
10020 }
10021 0 arg1 = (gsl_integration_fixed_params *)(argp1);
10022 0 result = (double) ((arg1)->alpha);
10023 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
10024
10025 0 XSRETURN(argvi);
10026 0 fail:
10027
10028 0 SWIG_croak_null();
10029 }
10030 }
10031  
10032  
10033 0 XS(_wrap_gsl_integration_fixed_params_beta_set) {
10034 {
10035 0 gsl_integration_fixed_params *arg1 = (gsl_integration_fixed_params *) 0 ;
10036 double arg2 ;
10037 0 void *argp1 = 0 ;
10038 0 int res1 = 0 ;
10039 double val2 ;
10040 0 int ecode2 = 0 ;
10041 0 int argvi = 0;
10042 0 dXSARGS;
10043
10044 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
10045 0 SWIG_croak("Usage: gsl_integration_fixed_params_beta_set(self,beta);");
10046 }
10047 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_fixed_params, 0 | 0 );
10048 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
10049 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_fixed_params_beta_set" "', argument " "1"" of type '" "gsl_integration_fixed_params *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_fixed_params_beta_set" "', argument " "1"" of type '" "gsl_integration_fixed_params *""'"); 0 0 0
10050 }
10051 0 arg1 = (gsl_integration_fixed_params *)(argp1);
10052 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10053 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
10054 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_fixed_params_beta_set" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_fixed_params_beta_set" "', argument " "2"" of type '" "double""'"); 0 0 0
10055 }
10056 0 arg2 = (double)(val2);
10057 0 ▶ if (arg1) (arg1)->beta = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->beta = arg2; 0 0 0
10058 0 ST(argvi) = &PL_sv_undef;
10059
10060
10061 0 XSRETURN(argvi);
10062 0 fail:
10063
10064
10065 0 SWIG_croak_null();
10066 }
10067 }
10068  
10069  
10070 0 XS(_wrap_gsl_integration_fixed_params_beta_get) {
10071 {
10072 0 gsl_integration_fixed_params *arg1 = (gsl_integration_fixed_params *) 0 ;
10073 0 void *argp1 = 0 ;
10074 0 int res1 = 0 ;
10075 0 int argvi = 0;
10076 double result;
10077 0 dXSARGS;
10078
10079 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
10080 0 SWIG_croak("Usage: gsl_integration_fixed_params_beta_get(self);");
10081 }
10082 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_fixed_params, 0 | 0 );
10083 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
10084 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_fixed_params_beta_get" "', argument " "1"" of type '" "gsl_integration_fixed_params *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_fixed_params_beta_get" "', argument " "1"" of type '" "gsl_integration_fixed_params *""'"); 0 0 0
10085 }
10086 0 arg1 = (gsl_integration_fixed_params *)(argp1);
10087 0 result = (double) ((arg1)->beta);
10088 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
10089
10090 0 XSRETURN(argvi);
10091 0 fail:
10092
10093 0 SWIG_croak_null();
10094 }
10095 }
10096  
10097  
10098 0 XS(_wrap_gsl_integration_fixed_params_a_set) {
10099 {
10100 0 gsl_integration_fixed_params *arg1 = (gsl_integration_fixed_params *) 0 ;
10101 double arg2 ;
10102 0 void *argp1 = 0 ;
10103 0 int res1 = 0 ;
10104 double val2 ;
10105 0 int ecode2 = 0 ;
10106 0 int argvi = 0;
10107 0 dXSARGS;
10108
10109 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
10110 0 SWIG_croak("Usage: gsl_integration_fixed_params_a_set(self,a);");
10111 }
10112 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_fixed_params, 0 | 0 );
10113 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
10114 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_fixed_params_a_set" "', argument " "1"" of type '" "gsl_integration_fixed_params *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_fixed_params_a_set" "', argument " "1"" of type '" "gsl_integration_fixed_params *""'"); 0 0 0
10115 }
10116 0 arg1 = (gsl_integration_fixed_params *)(argp1);
10117 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10118 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
10119 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_fixed_params_a_set" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_fixed_params_a_set" "', argument " "2"" of type '" "double""'"); 0 0 0
10120 }
10121 0 arg2 = (double)(val2);
10122 0 ▶ if (arg1) (arg1)->a = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->a = arg2; 0 0 0
10123 0 ST(argvi) = &PL_sv_undef;
10124
10125
10126 0 XSRETURN(argvi);
10127 0 fail:
10128
10129
10130 0 SWIG_croak_null();
10131 }
10132 }
10133  
10134  
10135 0 XS(_wrap_gsl_integration_fixed_params_a_get) {
10136 {
10137 0 gsl_integration_fixed_params *arg1 = (gsl_integration_fixed_params *) 0 ;
10138 0 void *argp1 = 0 ;
10139 0 int res1 = 0 ;
10140 0 int argvi = 0;
10141 double result;
10142 0 dXSARGS;
10143
10144 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
10145 0 SWIG_croak("Usage: gsl_integration_fixed_params_a_get(self);");
10146 }
10147 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_fixed_params, 0 | 0 );
10148 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
10149 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_fixed_params_a_get" "', argument " "1"" of type '" "gsl_integration_fixed_params *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_fixed_params_a_get" "', argument " "1"" of type '" "gsl_integration_fixed_params *""'"); 0 0 0
10150 }
10151 0 arg1 = (gsl_integration_fixed_params *)(argp1);
10152 0 result = (double) ((arg1)->a);
10153 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
10154
10155 0 XSRETURN(argvi);
10156 0 fail:
10157
10158 0 SWIG_croak_null();
10159 }
10160 }
10161  
10162  
10163 0 XS(_wrap_gsl_integration_fixed_params_b_set) {
10164 {
10165 0 gsl_integration_fixed_params *arg1 = (gsl_integration_fixed_params *) 0 ;
10166 double arg2 ;
10167 0 void *argp1 = 0 ;
10168 0 int res1 = 0 ;
10169 double val2 ;
10170 0 int ecode2 = 0 ;
10171 0 int argvi = 0;
10172 0 dXSARGS;
10173
10174 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
10175 0 SWIG_croak("Usage: gsl_integration_fixed_params_b_set(self,b);");
10176 }
10177 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_fixed_params, 0 | 0 );
10178 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
10179 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_fixed_params_b_set" "', argument " "1"" of type '" "gsl_integration_fixed_params *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_fixed_params_b_set" "', argument " "1"" of type '" "gsl_integration_fixed_params *""'"); 0 0 0
10180 }
10181 0 arg1 = (gsl_integration_fixed_params *)(argp1);
10182 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10183 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
10184 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_fixed_params_b_set" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_fixed_params_b_set" "', argument " "2"" of type '" "double""'"); 0 0 0
10185 }
10186 0 arg2 = (double)(val2);
10187 0 ▶ if (arg1) (arg1)->b = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->b = arg2; 0 0 0
10188 0 ST(argvi) = &PL_sv_undef;
10189
10190
10191 0 XSRETURN(argvi);
10192 0 fail:
10193
10194
10195 0 SWIG_croak_null();
10196 }
10197 }
10198  
10199  
10200 0 XS(_wrap_gsl_integration_fixed_params_b_get) {
10201 {
10202 0 gsl_integration_fixed_params *arg1 = (gsl_integration_fixed_params *) 0 ;
10203 0 void *argp1 = 0 ;
10204 0 int res1 = 0 ;
10205 0 int argvi = 0;
10206 double result;
10207 0 dXSARGS;
10208
10209 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
10210 0 SWIG_croak("Usage: gsl_integration_fixed_params_b_get(self);");
10211 }
10212 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_fixed_params, 0 | 0 );
10213 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
10214 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_fixed_params_b_get" "', argument " "1"" of type '" "gsl_integration_fixed_params *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_fixed_params_b_get" "', argument " "1"" of type '" "gsl_integration_fixed_params *""'"); 0 0 0
10215 }
10216 0 arg1 = (gsl_integration_fixed_params *)(argp1);
10217 0 result = (double) ((arg1)->b);
10218 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
10219
10220 0 XSRETURN(argvi);
10221 0 fail:
10222
10223 0 SWIG_croak_null();
10224 }
10225 }
10226  
10227  
10228 0 XS(_wrap_gsl_integration_fixed_params_zemu_set) {
10229 {
10230 0 gsl_integration_fixed_params *arg1 = (gsl_integration_fixed_params *) 0 ;
10231 double arg2 ;
10232 0 void *argp1 = 0 ;
10233 0 int res1 = 0 ;
10234 double val2 ;
10235 0 int ecode2 = 0 ;
10236 0 int argvi = 0;
10237 0 dXSARGS;
10238
10239 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
10240 0 SWIG_croak("Usage: gsl_integration_fixed_params_zemu_set(self,zemu);");
10241 }
10242 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_fixed_params, 0 | 0 );
10243 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
10244 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_fixed_params_zemu_set" "', argument " "1"" of type '" "gsl_integration_fixed_params *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_fixed_params_zemu_set" "', argument " "1"" of type '" "gsl_integration_fixed_params *""'"); 0 0 0
10245 }
10246 0 arg1 = (gsl_integration_fixed_params *)(argp1);
10247 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10248 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
10249 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_fixed_params_zemu_set" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_fixed_params_zemu_set" "', argument " "2"" of type '" "double""'"); 0 0 0
10250 }
10251 0 arg2 = (double)(val2);
10252 0 ▶ if (arg1) (arg1)->zemu = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->zemu = arg2; 0 0 0
10253 0 ST(argvi) = &PL_sv_undef;
10254
10255
10256 0 XSRETURN(argvi);
10257 0 fail:
10258
10259
10260 0 SWIG_croak_null();
10261 }
10262 }
10263  
10264  
10265 0 XS(_wrap_gsl_integration_fixed_params_zemu_get) {
10266 {
10267 0 gsl_integration_fixed_params *arg1 = (gsl_integration_fixed_params *) 0 ;
10268 0 void *argp1 = 0 ;
10269 0 int res1 = 0 ;
10270 0 int argvi = 0;
10271 double result;
10272 0 dXSARGS;
10273
10274 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
10275 0 SWIG_croak("Usage: gsl_integration_fixed_params_zemu_get(self);");
10276 }
10277 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_fixed_params, 0 | 0 );
10278 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
10279 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_fixed_params_zemu_get" "', argument " "1"" of type '" "gsl_integration_fixed_params *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_fixed_params_zemu_get" "', argument " "1"" of type '" "gsl_integration_fixed_params *""'"); 0 0 0
10280 }
10281 0 arg1 = (gsl_integration_fixed_params *)(argp1);
10282 0 result = (double) ((arg1)->zemu);
10283 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
10284
10285 0 XSRETURN(argvi);
10286 0 fail:
10287
10288 0 SWIG_croak_null();
10289 }
10290 }
10291  
10292  
10293 0 XS(_wrap_gsl_integration_fixed_params_shft_set) {
10294 {
10295 0 gsl_integration_fixed_params *arg1 = (gsl_integration_fixed_params *) 0 ;
10296 double arg2 ;
10297 0 void *argp1 = 0 ;
10298 0 int res1 = 0 ;
10299 double val2 ;
10300 0 int ecode2 = 0 ;
10301 0 int argvi = 0;
10302 0 dXSARGS;
10303
10304 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
10305 0 SWIG_croak("Usage: gsl_integration_fixed_params_shft_set(self,shft);");
10306 }
10307 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_fixed_params, 0 | 0 );
10308 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
10309 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_fixed_params_shft_set" "', argument " "1"" of type '" "gsl_integration_fixed_params *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_fixed_params_shft_set" "', argument " "1"" of type '" "gsl_integration_fixed_params *""'"); 0 0 0
10310 }
10311 0 arg1 = (gsl_integration_fixed_params *)(argp1);
10312 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10313 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
10314 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_fixed_params_shft_set" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_fixed_params_shft_set" "', argument " "2"" of type '" "double""'"); 0 0 0
10315 }
10316 0 arg2 = (double)(val2);
10317 0 ▶ if (arg1) (arg1)->shft = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->shft = arg2; 0 0 0
10318 0 ST(argvi) = &PL_sv_undef;
10319
10320
10321 0 XSRETURN(argvi);
10322 0 fail:
10323
10324
10325 0 SWIG_croak_null();
10326 }
10327 }
10328  
10329  
10330 0 XS(_wrap_gsl_integration_fixed_params_shft_get) {
10331 {
10332 0 gsl_integration_fixed_params *arg1 = (gsl_integration_fixed_params *) 0 ;
10333 0 void *argp1 = 0 ;
10334 0 int res1 = 0 ;
10335 0 int argvi = 0;
10336 double result;
10337 0 dXSARGS;
10338
10339 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
10340 0 SWIG_croak("Usage: gsl_integration_fixed_params_shft_get(self);");
10341 }
10342 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_fixed_params, 0 | 0 );
10343 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
10344 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_fixed_params_shft_get" "', argument " "1"" of type '" "gsl_integration_fixed_params *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_fixed_params_shft_get" "', argument " "1"" of type '" "gsl_integration_fixed_params *""'"); 0 0 0
10345 }
10346 0 arg1 = (gsl_integration_fixed_params *)(argp1);
10347 0 result = (double) ((arg1)->shft);
10348 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
10349
10350 0 XSRETURN(argvi);
10351 0 fail:
10352
10353 0 SWIG_croak_null();
10354 }
10355 }
10356  
10357  
10358 0 XS(_wrap_gsl_integration_fixed_params_slp_set) {
10359 {
10360 0 gsl_integration_fixed_params *arg1 = (gsl_integration_fixed_params *) 0 ;
10361 double arg2 ;
10362 0 void *argp1 = 0 ;
10363 0 int res1 = 0 ;
10364 double val2 ;
10365 0 int ecode2 = 0 ;
10366 0 int argvi = 0;
10367 0 dXSARGS;
10368
10369 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
10370 0 SWIG_croak("Usage: gsl_integration_fixed_params_slp_set(self,slp);");
10371 }
10372 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_fixed_params, 0 | 0 );
10373 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
10374 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_fixed_params_slp_set" "', argument " "1"" of type '" "gsl_integration_fixed_params *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_fixed_params_slp_set" "', argument " "1"" of type '" "gsl_integration_fixed_params *""'"); 0 0 0
10375 }
10376 0 arg1 = (gsl_integration_fixed_params *)(argp1);
10377 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10378 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
10379 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_fixed_params_slp_set" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_fixed_params_slp_set" "', argument " "2"" of type '" "double""'"); 0 0 0
10380 }
10381 0 arg2 = (double)(val2);
10382 0 ▶ if (arg1) (arg1)->slp = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->slp = arg2; 0 0 0
10383 0 ST(argvi) = &PL_sv_undef;
10384
10385
10386 0 XSRETURN(argvi);
10387 0 fail:
10388
10389
10390 0 SWIG_croak_null();
10391 }
10392 }
10393  
10394  
10395 0 XS(_wrap_gsl_integration_fixed_params_slp_get) {
10396 {
10397 0 gsl_integration_fixed_params *arg1 = (gsl_integration_fixed_params *) 0 ;
10398 0 void *argp1 = 0 ;
10399 0 int res1 = 0 ;
10400 0 int argvi = 0;
10401 double result;
10402 0 dXSARGS;
10403
10404 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
10405 0 SWIG_croak("Usage: gsl_integration_fixed_params_slp_get(self);");
10406 }
10407 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_fixed_params, 0 | 0 );
10408 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
10409 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_fixed_params_slp_get" "', argument " "1"" of type '" "gsl_integration_fixed_params *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_fixed_params_slp_get" "', argument " "1"" of type '" "gsl_integration_fixed_params *""'"); 0 0 0
10410 }
10411 0 arg1 = (gsl_integration_fixed_params *)(argp1);
10412 0 result = (double) ((arg1)->slp);
10413 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
10414
10415 0 XSRETURN(argvi);
10416 0 fail:
10417
10418 0 SWIG_croak_null();
10419 }
10420 }
10421  
10422  
10423 0 XS(_wrap_gsl_integration_fixed_params_al_set) {
10424 {
10425 0 gsl_integration_fixed_params *arg1 = (gsl_integration_fixed_params *) 0 ;
10426 double arg2 ;
10427 0 void *argp1 = 0 ;
10428 0 int res1 = 0 ;
10429 double val2 ;
10430 0 int ecode2 = 0 ;
10431 0 int argvi = 0;
10432 0 dXSARGS;
10433
10434 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
10435 0 SWIG_croak("Usage: gsl_integration_fixed_params_al_set(self,al);");
10436 }
10437 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_fixed_params, 0 | 0 );
10438 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
10439 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_fixed_params_al_set" "', argument " "1"" of type '" "gsl_integration_fixed_params *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_fixed_params_al_set" "', argument " "1"" of type '" "gsl_integration_fixed_params *""'"); 0 0 0
10440 }
10441 0 arg1 = (gsl_integration_fixed_params *)(argp1);
10442 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10443 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
10444 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_fixed_params_al_set" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_fixed_params_al_set" "', argument " "2"" of type '" "double""'"); 0 0 0
10445 }
10446 0 arg2 = (double)(val2);
10447 0 ▶ if (arg1) (arg1)->al = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->al = arg2; 0 0 0
10448 0 ST(argvi) = &PL_sv_undef;
10449
10450
10451 0 XSRETURN(argvi);
10452 0 fail:
10453
10454
10455 0 SWIG_croak_null();
10456 }
10457 }
10458  
10459  
10460 0 XS(_wrap_gsl_integration_fixed_params_al_get) {
10461 {
10462 0 gsl_integration_fixed_params *arg1 = (gsl_integration_fixed_params *) 0 ;
10463 0 void *argp1 = 0 ;
10464 0 int res1 = 0 ;
10465 0 int argvi = 0;
10466 double result;
10467 0 dXSARGS;
10468
10469 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
10470 0 SWIG_croak("Usage: gsl_integration_fixed_params_al_get(self);");
10471 }
10472 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_fixed_params, 0 | 0 );
10473 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
10474 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_fixed_params_al_get" "', argument " "1"" of type '" "gsl_integration_fixed_params *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_fixed_params_al_get" "', argument " "1"" of type '" "gsl_integration_fixed_params *""'"); 0 0 0
10475 }
10476 0 arg1 = (gsl_integration_fixed_params *)(argp1);
10477 0 result = (double) ((arg1)->al);
10478 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
10479
10480 0 XSRETURN(argvi);
10481 0 fail:
10482
10483 0 SWIG_croak_null();
10484 }
10485 }
10486  
10487  
10488 0 XS(_wrap_gsl_integration_fixed_params_be_set) {
10489 {
10490 0 gsl_integration_fixed_params *arg1 = (gsl_integration_fixed_params *) 0 ;
10491 double arg2 ;
10492 0 void *argp1 = 0 ;
10493 0 int res1 = 0 ;
10494 double val2 ;
10495 0 int ecode2 = 0 ;
10496 0 int argvi = 0;
10497 0 dXSARGS;
10498
10499 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
10500 0 SWIG_croak("Usage: gsl_integration_fixed_params_be_set(self,be);");
10501 }
10502 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_fixed_params, 0 | 0 );
10503 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
10504 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_fixed_params_be_set" "', argument " "1"" of type '" "gsl_integration_fixed_params *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_fixed_params_be_set" "', argument " "1"" of type '" "gsl_integration_fixed_params *""'"); 0 0 0
10505 }
10506 0 arg1 = (gsl_integration_fixed_params *)(argp1);
10507 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10508 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
10509 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_fixed_params_be_set" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_fixed_params_be_set" "', argument " "2"" of type '" "double""'"); 0 0 0
10510 }
10511 0 arg2 = (double)(val2);
10512 0 ▶ if (arg1) (arg1)->be = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->be = arg2; 0 0 0
10513 0 ST(argvi) = &PL_sv_undef;
10514
10515
10516 0 XSRETURN(argvi);
10517 0 fail:
10518
10519
10520 0 SWIG_croak_null();
10521 }
10522 }
10523  
10524  
10525 0 XS(_wrap_gsl_integration_fixed_params_be_get) {
10526 {
10527 0 gsl_integration_fixed_params *arg1 = (gsl_integration_fixed_params *) 0 ;
10528 0 void *argp1 = 0 ;
10529 0 int res1 = 0 ;
10530 0 int argvi = 0;
10531 double result;
10532 0 dXSARGS;
10533
10534 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
10535 0 SWIG_croak("Usage: gsl_integration_fixed_params_be_get(self);");
10536 }
10537 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_fixed_params, 0 | 0 );
10538 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
10539 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_fixed_params_be_get" "', argument " "1"" of type '" "gsl_integration_fixed_params *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_fixed_params_be_get" "', argument " "1"" of type '" "gsl_integration_fixed_params *""'"); 0 0 0
10540 }
10541 0 arg1 = (gsl_integration_fixed_params *)(argp1);
10542 0 result = (double) ((arg1)->be);
10543 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
10544
10545 0 XSRETURN(argvi);
10546 0 fail:
10547
10548 0 SWIG_croak_null();
10549 }
10550 }
10551  
10552  
10553 0 XS(_wrap_new_gsl_integration_fixed_params) {
10554 {
10555 0 int argvi = 0;
10556 0 gsl_integration_fixed_params *result = 0 ;
10557 0 dXSARGS;
10558
10559 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
10560 0 SWIG_croak("Usage: new_gsl_integration_fixed_params();");
10561 }
10562 0 result = (gsl_integration_fixed_params *)calloc(1, sizeof(gsl_integration_fixed_params));
10563 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_integration_fixed_params, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
10564 0 XSRETURN(argvi);
10565 0 fail:
10566 0 SWIG_croak_null();
10567 }
10568 }
10569  
10570  
10571 0 XS(_wrap_delete_gsl_integration_fixed_params) {
10572 {
10573 0 gsl_integration_fixed_params *arg1 = (gsl_integration_fixed_params *) 0 ;
10574 0 void *argp1 = 0 ;
10575 0 int res1 = 0 ;
10576 0 int argvi = 0;
10577 0 dXSARGS;
10578
10579 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
10580 0 SWIG_croak("Usage: delete_gsl_integration_fixed_params(self);");
10581 }
10582 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_fixed_params, SWIG_POINTER_DISOWN | 0 );
10583 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
10584 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_gsl_integration_fixed_params" "', argument " "1"" of type '" "gsl_integration_fixed_params *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_gsl_integration_fixed_params" "', argument " "1"" of type '" "gsl_integration_fixed_params *""'"); 0 0 0
10585 }
10586 0 arg1 = (gsl_integration_fixed_params *)(argp1);
10587 0 free((char *) arg1);
10588 0 ST(argvi) = &PL_sv_undef;
10589
10590 0 XSRETURN(argvi);
10591 0 fail:
10592
10593 0 SWIG_croak_null();
10594 }
10595 }
10596  
10597  
10598 0 XS(_wrap_gsl_integration_fixed_type_check_set) {
10599 {
10600 0 gsl_integration_fixed_type *arg1 = (gsl_integration_fixed_type *) 0 ;
10601 0 int (*arg2)(size_t const,gsl_integration_fixed_params const *) = (int (*)(size_t const,gsl_integration_fixed_params const *)) 0 ;
10602 0 void *argp1 = 0 ;
10603 0 int res1 = 0 ;
10604 0 int argvi = 0;
10605 0 dXSARGS;
10606
10607 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
10608 0 SWIG_croak("Usage: gsl_integration_fixed_type_check_set(self,check);");
10609 }
10610 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_fixed_type, 0 | 0 );
10611 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
10612 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_fixed_type_check_set" "', argument " "1"" of type '" "gsl_integration_fixed_type *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_fixed_type_check_set" "', argument " "1"" of type '" "gsl_integration_fixed_type *""'"); 0 0 0
10613 }
10614 0 arg1 = (gsl_integration_fixed_type *)(argp1);
10615 {
10616 0 int res = SWIG_ConvertFunctionPtr(ST(1), (void**)(&arg2), SWIGTYPE_p_f_q_const__size_t_p_q_const__gsl_integration_fixed_params__int);
10617 0 ▶ if (!SWIG_IsOK(res)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res)) { 0 0 0
10618 0 ▶ SWIG_exception_fail(SWIG_ArgError(res), "in method '" "gsl_integration_fixed_type_check_set" "', argument " "2"" of type '" "int (*)(size_t const,gsl_integration_fixed_params const *)""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res), "in method '" "gsl_integration_fixed_type_check_set" "', argument " "2"" of type '" "int (*)(size_t const,gsl_integration_fixed_params const *)""'"); 0 0 0
10619 }
10620 }
10621 0 ▶ if (arg1) (arg1)->check = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->check = arg2; 0 0 0
10622 0 ST(argvi) = &PL_sv_undef;
10623
10624
10625 0 XSRETURN(argvi);
10626 0 fail:
10627
10628
10629 0 SWIG_croak_null();
10630 }
10631 }
10632  
10633  
10634 0 XS(_wrap_gsl_integration_fixed_type_check_get) {
10635 {
10636 0 gsl_integration_fixed_type *arg1 = (gsl_integration_fixed_type *) 0 ;
10637 0 void *argp1 = 0 ;
10638 0 int res1 = 0 ;
10639 0 int argvi = 0;
10640 0 int (*result)(size_t const,gsl_integration_fixed_params const *) = 0 ;
10641 0 dXSARGS;
10642
10643 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
10644 0 SWIG_croak("Usage: gsl_integration_fixed_type_check_get(self);");
10645 }
10646 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_fixed_type, 0 | 0 );
10647 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
10648 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_fixed_type_check_get" "', argument " "1"" of type '" "gsl_integration_fixed_type *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_fixed_type_check_get" "', argument " "1"" of type '" "gsl_integration_fixed_type *""'"); 0 0 0
10649 }
10650 0 arg1 = (gsl_integration_fixed_type *)(argp1);
10651 0 result = (int (*)(size_t const,gsl_integration_fixed_params const *)) ((arg1)->check);
10652 0 ST(argvi) = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_q_const__size_t_p_q_const__gsl_integration_fixed_params__int); argvi++ ;
10653
10654 0 XSRETURN(argvi);
10655 0 fail:
10656
10657 0 SWIG_croak_null();
10658 }
10659 }
10660  
10661  
10662 0 XS(_wrap_gsl_integration_fixed_type_init_set) {
10663 {
10664 0 gsl_integration_fixed_type *arg1 = (gsl_integration_fixed_type *) 0 ;
10665 0 int (*arg2)(size_t const,double *,double *,gsl_integration_fixed_params *) = (int (*)(size_t const,double *,double *,gsl_integration_fixed_params *)) 0 ;
10666 0 void *argp1 = 0 ;
10667 0 int res1 = 0 ;
10668 0 int argvi = 0;
10669 0 dXSARGS;
10670
10671 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
10672 0 SWIG_croak("Usage: gsl_integration_fixed_type_init_set(self,init);");
10673 }
10674 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_fixed_type, 0 | 0 );
10675 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
10676 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_fixed_type_init_set" "', argument " "1"" of type '" "gsl_integration_fixed_type *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_fixed_type_init_set" "', argument " "1"" of type '" "gsl_integration_fixed_type *""'"); 0 0 0
10677 }
10678 0 arg1 = (gsl_integration_fixed_type *)(argp1);
10679 {
10680 0 int res = SWIG_ConvertFunctionPtr(ST(1), (void**)(&arg2), SWIGTYPE_p_f_q_const__size_t_p_double_p_double_p_gsl_integration_fixed_params__int);
10681 0 ▶ if (!SWIG_IsOK(res)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res)) { 0 0 0
10682 0 ▶ SWIG_exception_fail(SWIG_ArgError(res), "in method '" "gsl_integration_fixed_type_init_set" "', argument " "2"" of type '" "int (*)(size_t const,double *,double *,gsl_integration_fixed_params *)""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res), "in method '" "gsl_integration_fixed_type_init_set" "', argument " "2"" of type '" "int (*)(size_t const,double *,double *,gsl_integration_fixed_params *)""'"); 0 0 0
10683 }
10684 }
10685 0 ▶ if (arg1) (arg1)->init = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->init = arg2; 0 0 0
10686 0 ST(argvi) = &PL_sv_undef;
10687
10688
10689 0 XSRETURN(argvi);
10690 0 fail:
10691
10692
10693 0 SWIG_croak_null();
10694 }
10695 }
10696  
10697  
10698 0 XS(_wrap_gsl_integration_fixed_type_init_get) {
10699 {
10700 0 gsl_integration_fixed_type *arg1 = (gsl_integration_fixed_type *) 0 ;
10701 0 void *argp1 = 0 ;
10702 0 int res1 = 0 ;
10703 0 int argvi = 0;
10704 0 int (*result)(size_t const,double *,double *,gsl_integration_fixed_params *) = 0 ;
10705 0 dXSARGS;
10706
10707 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
10708 0 SWIG_croak("Usage: gsl_integration_fixed_type_init_get(self);");
10709 }
10710 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_fixed_type, 0 | 0 );
10711 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
10712 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_fixed_type_init_get" "', argument " "1"" of type '" "gsl_integration_fixed_type *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_fixed_type_init_get" "', argument " "1"" of type '" "gsl_integration_fixed_type *""'"); 0 0 0
10713 }
10714 0 arg1 = (gsl_integration_fixed_type *)(argp1);
10715 0 result = (int (*)(size_t const,double *,double *,gsl_integration_fixed_params *)) ((arg1)->init);
10716 0 ST(argvi) = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_q_const__size_t_p_double_p_double_p_gsl_integration_fixed_params__int); argvi++ ;
10717
10718 0 XSRETURN(argvi);
10719 0 fail:
10720
10721 0 SWIG_croak_null();
10722 }
10723 }
10724  
10725  
10726 0 XS(_wrap_new_gsl_integration_fixed_type) {
10727 {
10728 0 int argvi = 0;
10729 0 gsl_integration_fixed_type *result = 0 ;
10730 0 dXSARGS;
10731
10732 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
10733 0 SWIG_croak("Usage: new_gsl_integration_fixed_type();");
10734 }
10735 0 result = (gsl_integration_fixed_type *)calloc(1, sizeof(gsl_integration_fixed_type));
10736 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_integration_fixed_type, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
10737 0 XSRETURN(argvi);
10738 0 fail:
10739 0 SWIG_croak_null();
10740 }
10741 }
10742  
10743  
10744 0 XS(_wrap_delete_gsl_integration_fixed_type) {
10745 {
10746 0 gsl_integration_fixed_type *arg1 = (gsl_integration_fixed_type *) 0 ;
10747 0 void *argp1 = 0 ;
10748 0 int res1 = 0 ;
10749 0 int argvi = 0;
10750 0 dXSARGS;
10751
10752 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
10753 0 SWIG_croak("Usage: delete_gsl_integration_fixed_type(self);");
10754 }
10755 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_fixed_type, SWIG_POINTER_DISOWN | 0 );
10756 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
10757 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_gsl_integration_fixed_type" "', argument " "1"" of type '" "gsl_integration_fixed_type *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_gsl_integration_fixed_type" "', argument " "1"" of type '" "gsl_integration_fixed_type *""'"); 0 0 0
10758 }
10759 0 arg1 = (gsl_integration_fixed_type *)(argp1);
10760 0 free((char *) arg1);
10761 0 ST(argvi) = &PL_sv_undef;
10762
10763 0 XSRETURN(argvi);
10764 0 fail:
10765
10766 0 SWIG_croak_null();
10767 }
10768 }
10769  
10770  
10771 0 XS(_wrap_gsl_integration_fixed_workspace_n_set) {
10772 {
10773 0 gsl_integration_fixed_workspace *arg1 = (gsl_integration_fixed_workspace *) 0 ;
10774 size_t arg2 ;
10775 0 void *argp1 = 0 ;
10776 0 int res1 = 0 ;
10777 size_t val2 ;
10778 0 int ecode2 = 0 ;
10779 0 int argvi = 0;
10780 0 dXSARGS;
10781
10782 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
10783 0 SWIG_croak("Usage: gsl_integration_fixed_workspace_n_set(self,n);");
10784 }
10785 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_fixed_workspace, 0 | 0 );
10786 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
10787 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_fixed_workspace_n_set" "', argument " "1"" of type '" "gsl_integration_fixed_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_fixed_workspace_n_set" "', argument " "1"" of type '" "gsl_integration_fixed_workspace *""'"); 0 0 0
10788 }
10789 0 arg1 = (gsl_integration_fixed_workspace *)(argp1);
10790 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10791 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
10792 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_fixed_workspace_n_set" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_fixed_workspace_n_set" "', argument " "2"" of type '" "size_t""'"); 0 0 0
10793 }
10794 0 arg2 = (size_t)(val2);
10795 0 ▶ if (arg1) (arg1)->n = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->n = arg2; 0 0 0
10796 0 ST(argvi) = &PL_sv_undef;
10797
10798
10799 0 XSRETURN(argvi);
10800 0 fail:
10801
10802
10803 0 SWIG_croak_null();
10804 }
10805 }
10806  
10807  
10808 0 XS(_wrap_gsl_integration_fixed_workspace_n_get) {
10809 {
10810 0 gsl_integration_fixed_workspace *arg1 = (gsl_integration_fixed_workspace *) 0 ;
10811 0 void *argp1 = 0 ;
10812 0 int res1 = 0 ;
10813 0 int argvi = 0;
10814 size_t result;
10815 0 dXSARGS;
10816
10817 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
10818 0 SWIG_croak("Usage: gsl_integration_fixed_workspace_n_get(self);");
10819 }
10820 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_fixed_workspace, 0 | 0 );
10821 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
10822 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_fixed_workspace_n_get" "', argument " "1"" of type '" "gsl_integration_fixed_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_fixed_workspace_n_get" "', argument " "1"" of type '" "gsl_integration_fixed_workspace *""'"); 0 0 0
10823 }
10824 0 arg1 = (gsl_integration_fixed_workspace *)(argp1);
10825 0 result = ((arg1)->n);
10826 0 ST(argvi) = SWIG_From_size_t SWIG_PERL_CALL_ARGS_1((size_t)(result)); argvi++ ;
10827
10828 0 XSRETURN(argvi);
10829 0 fail:
10830
10831 0 SWIG_croak_null();
10832 }
10833 }
10834  
10835  
10836 0 XS(_wrap_gsl_integration_fixed_workspace_weights_set) {
10837 {
10838 0 gsl_integration_fixed_workspace *arg1 = (gsl_integration_fixed_workspace *) 0 ;
10839 0 double *arg2 = (double *) 0 ;
10840 0 void *argp1 = 0 ;
10841 0 int res1 = 0 ;
10842 0 void *argp2 = 0 ;
10843 0 int res2 = 0 ;
10844 0 int argvi = 0;
10845 0 dXSARGS;
10846
10847 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
10848 0 SWIG_croak("Usage: gsl_integration_fixed_workspace_weights_set(self,weights);");
10849 }
10850 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_fixed_workspace, 0 | 0 );
10851 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
10852 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_fixed_workspace_weights_set" "', argument " "1"" of type '" "gsl_integration_fixed_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_fixed_workspace_weights_set" "', argument " "1"" of type '" "gsl_integration_fixed_workspace *""'"); 0 0 0
10853 }
10854 0 arg1 = (gsl_integration_fixed_workspace *)(argp1);
10855 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, SWIG_POINTER_DISOWN | 0 );
10856 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
10857 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_integration_fixed_workspace_weights_set" "', argument " "2"" of type '" "double *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_integration_fixed_workspace_weights_set" "', argument " "2"" of type '" "double *""'"); 0 0 0
10858 }
10859 0 arg2 = (double *)(argp2);
10860 0 ▶ if (arg1) (arg1)->weights = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->weights = arg2; 0 0 0
10861 0 ST(argvi) = &PL_sv_undef;
10862
10863
10864 0 XSRETURN(argvi);
10865 0 fail:
10866
10867
10868 0 SWIG_croak_null();
10869 }
10870 }
10871  
10872  
10873 0 XS(_wrap_gsl_integration_fixed_workspace_weights_get) {
10874 {
10875 0 gsl_integration_fixed_workspace *arg1 = (gsl_integration_fixed_workspace *) 0 ;
10876 0 void *argp1 = 0 ;
10877 0 int res1 = 0 ;
10878 0 int argvi = 0;
10879 0 double *result = 0 ;
10880 0 dXSARGS;
10881
10882 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
10883 0 SWIG_croak("Usage: gsl_integration_fixed_workspace_weights_get(self);");
10884 }
10885 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_fixed_workspace, 0 | 0 );
10886 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
10887 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_fixed_workspace_weights_get" "', argument " "1"" of type '" "gsl_integration_fixed_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_fixed_workspace_weights_get" "', argument " "1"" of type '" "gsl_integration_fixed_workspace *""'"); 0 0 0
10888 }
10889 0 arg1 = (gsl_integration_fixed_workspace *)(argp1);
10890 0 result = (double *) ((arg1)->weights);
10891 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0); argvi++ ;
10892
10893 0 XSRETURN(argvi);
10894 0 fail:
10895
10896 0 SWIG_croak_null();
10897 }
10898 }
10899  
10900  
10901 0 XS(_wrap_gsl_integration_fixed_workspace_x_set) {
10902 {
10903 0 gsl_integration_fixed_workspace *arg1 = (gsl_integration_fixed_workspace *) 0 ;
10904 0 double *arg2 = (double *) 0 ;
10905 0 void *argp1 = 0 ;
10906 0 int res1 = 0 ;
10907 0 void *argp2 = 0 ;
10908 0 int res2 = 0 ;
10909 0 int argvi = 0;
10910 0 dXSARGS;
10911
10912 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
10913 0 SWIG_croak("Usage: gsl_integration_fixed_workspace_x_set(self,x);");
10914 }
10915 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_fixed_workspace, 0 | 0 );
10916 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
10917 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_fixed_workspace_x_set" "', argument " "1"" of type '" "gsl_integration_fixed_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_fixed_workspace_x_set" "', argument " "1"" of type '" "gsl_integration_fixed_workspace *""'"); 0 0 0
10918 }
10919 0 arg1 = (gsl_integration_fixed_workspace *)(argp1);
10920 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, SWIG_POINTER_DISOWN | 0 );
10921 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
10922 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_integration_fixed_workspace_x_set" "', argument " "2"" of type '" "double *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_integration_fixed_workspace_x_set" "', argument " "2"" of type '" "double *""'"); 0 0 0
10923 }
10924 0 arg2 = (double *)(argp2);
10925 0 ▶ if (arg1) (arg1)->x = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->x = arg2; 0 0 0
10926 0 ST(argvi) = &PL_sv_undef;
10927
10928
10929 0 XSRETURN(argvi);
10930 0 fail:
10931
10932
10933 0 SWIG_croak_null();
10934 }
10935 }
10936  
10937  
10938 0 XS(_wrap_gsl_integration_fixed_workspace_x_get) {
10939 {
10940 0 gsl_integration_fixed_workspace *arg1 = (gsl_integration_fixed_workspace *) 0 ;
10941 0 void *argp1 = 0 ;
10942 0 int res1 = 0 ;
10943 0 int argvi = 0;
10944 0 double *result = 0 ;
10945 0 dXSARGS;
10946
10947 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
10948 0 SWIG_croak("Usage: gsl_integration_fixed_workspace_x_get(self);");
10949 }
10950 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_fixed_workspace, 0 | 0 );
10951 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
10952 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_fixed_workspace_x_get" "', argument " "1"" of type '" "gsl_integration_fixed_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_fixed_workspace_x_get" "', argument " "1"" of type '" "gsl_integration_fixed_workspace *""'"); 0 0 0
10953 }
10954 0 arg1 = (gsl_integration_fixed_workspace *)(argp1);
10955 0 result = (double *) ((arg1)->x);
10956 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0); argvi++ ;
10957
10958 0 XSRETURN(argvi);
10959 0 fail:
10960
10961 0 SWIG_croak_null();
10962 }
10963 }
10964  
10965  
10966 0 XS(_wrap_gsl_integration_fixed_workspace_diag_set) {
10967 {
10968 0 gsl_integration_fixed_workspace *arg1 = (gsl_integration_fixed_workspace *) 0 ;
10969 0 double *arg2 = (double *) 0 ;
10970 0 void *argp1 = 0 ;
10971 0 int res1 = 0 ;
10972 0 void *argp2 = 0 ;
10973 0 int res2 = 0 ;
10974 0 int argvi = 0;
10975 0 dXSARGS;
10976
10977 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
10978 0 SWIG_croak("Usage: gsl_integration_fixed_workspace_diag_set(self,diag);");
10979 }
10980 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_fixed_workspace, 0 | 0 );
10981 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
10982 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_fixed_workspace_diag_set" "', argument " "1"" of type '" "gsl_integration_fixed_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_fixed_workspace_diag_set" "', argument " "1"" of type '" "gsl_integration_fixed_workspace *""'"); 0 0 0
10983 }
10984 0 arg1 = (gsl_integration_fixed_workspace *)(argp1);
10985 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, SWIG_POINTER_DISOWN | 0 );
10986 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
10987 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_integration_fixed_workspace_diag_set" "', argument " "2"" of type '" "double *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_integration_fixed_workspace_diag_set" "', argument " "2"" of type '" "double *""'"); 0 0 0
10988 }
10989 0 arg2 = (double *)(argp2);
10990 0 ▶ if (arg1) (arg1)->diag = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->diag = arg2; 0 0 0
10991 0 ST(argvi) = &PL_sv_undef;
10992
10993
10994 0 XSRETURN(argvi);
10995 0 fail:
10996
10997
10998 0 SWIG_croak_null();
10999 }
11000 }
11001  
11002  
11003 0 XS(_wrap_gsl_integration_fixed_workspace_diag_get) {
11004 {
11005 0 gsl_integration_fixed_workspace *arg1 = (gsl_integration_fixed_workspace *) 0 ;
11006 0 void *argp1 = 0 ;
11007 0 int res1 = 0 ;
11008 0 int argvi = 0;
11009 0 double *result = 0 ;
11010 0 dXSARGS;
11011
11012 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
11013 0 SWIG_croak("Usage: gsl_integration_fixed_workspace_diag_get(self);");
11014 }
11015 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_fixed_workspace, 0 | 0 );
11016 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
11017 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_fixed_workspace_diag_get" "', argument " "1"" of type '" "gsl_integration_fixed_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_fixed_workspace_diag_get" "', argument " "1"" of type '" "gsl_integration_fixed_workspace *""'"); 0 0 0
11018 }
11019 0 arg1 = (gsl_integration_fixed_workspace *)(argp1);
11020 0 result = (double *) ((arg1)->diag);
11021 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0); argvi++ ;
11022
11023 0 XSRETURN(argvi);
11024 0 fail:
11025
11026 0 SWIG_croak_null();
11027 }
11028 }
11029  
11030  
11031 0 XS(_wrap_gsl_integration_fixed_workspace_subdiag_set) {
11032 {
11033 0 gsl_integration_fixed_workspace *arg1 = (gsl_integration_fixed_workspace *) 0 ;
11034 0 double *arg2 = (double *) 0 ;
11035 0 void *argp1 = 0 ;
11036 0 int res1 = 0 ;
11037 0 void *argp2 = 0 ;
11038 0 int res2 = 0 ;
11039 0 int argvi = 0;
11040 0 dXSARGS;
11041
11042 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
11043 0 SWIG_croak("Usage: gsl_integration_fixed_workspace_subdiag_set(self,subdiag);");
11044 }
11045 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_fixed_workspace, 0 | 0 );
11046 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
11047 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_fixed_workspace_subdiag_set" "', argument " "1"" of type '" "gsl_integration_fixed_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_fixed_workspace_subdiag_set" "', argument " "1"" of type '" "gsl_integration_fixed_workspace *""'"); 0 0 0
11048 }
11049 0 arg1 = (gsl_integration_fixed_workspace *)(argp1);
11050 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, SWIG_POINTER_DISOWN | 0 );
11051 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
11052 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_integration_fixed_workspace_subdiag_set" "', argument " "2"" of type '" "double *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_integration_fixed_workspace_subdiag_set" "', argument " "2"" of type '" "double *""'"); 0 0 0
11053 }
11054 0 arg2 = (double *)(argp2);
11055 0 ▶ if (arg1) (arg1)->subdiag = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->subdiag = arg2; 0 0 0
11056 0 ST(argvi) = &PL_sv_undef;
11057
11058
11059 0 XSRETURN(argvi);
11060 0 fail:
11061
11062
11063 0 SWIG_croak_null();
11064 }
11065 }
11066  
11067  
11068 0 XS(_wrap_gsl_integration_fixed_workspace_subdiag_get) {
11069 {
11070 0 gsl_integration_fixed_workspace *arg1 = (gsl_integration_fixed_workspace *) 0 ;
11071 0 void *argp1 = 0 ;
11072 0 int res1 = 0 ;
11073 0 int argvi = 0;
11074 0 double *result = 0 ;
11075 0 dXSARGS;
11076
11077 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
11078 0 SWIG_croak("Usage: gsl_integration_fixed_workspace_subdiag_get(self);");
11079 }
11080 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_fixed_workspace, 0 | 0 );
11081 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
11082 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_fixed_workspace_subdiag_get" "', argument " "1"" of type '" "gsl_integration_fixed_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_fixed_workspace_subdiag_get" "', argument " "1"" of type '" "gsl_integration_fixed_workspace *""'"); 0 0 0
11083 }
11084 0 arg1 = (gsl_integration_fixed_workspace *)(argp1);
11085 0 result = (double *) ((arg1)->subdiag);
11086 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0); argvi++ ;
11087
11088 0 XSRETURN(argvi);
11089 0 fail:
11090
11091 0 SWIG_croak_null();
11092 }
11093 }
11094  
11095  
11096 0 XS(_wrap_gsl_integration_fixed_workspace_type_set) {
11097 {
11098 0 gsl_integration_fixed_workspace *arg1 = (gsl_integration_fixed_workspace *) 0 ;
11099 0 gsl_integration_fixed_type *arg2 = (gsl_integration_fixed_type *) 0 ;
11100 0 void *argp1 = 0 ;
11101 0 int res1 = 0 ;
11102 0 void *argp2 = 0 ;
11103 0 int res2 = 0 ;
11104 0 int argvi = 0;
11105 0 dXSARGS;
11106
11107 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
11108 0 SWIG_croak("Usage: gsl_integration_fixed_workspace_type_set(self,type);");
11109 }
11110 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_fixed_workspace, 0 | 0 );
11111 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
11112 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_fixed_workspace_type_set" "', argument " "1"" of type '" "gsl_integration_fixed_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_fixed_workspace_type_set" "', argument " "1"" of type '" "gsl_integration_fixed_workspace *""'"); 0 0 0
11113 }
11114 0 arg1 = (gsl_integration_fixed_workspace *)(argp1);
11115 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_integration_fixed_type, SWIG_POINTER_DISOWN | 0 );
11116 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
11117 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_integration_fixed_workspace_type_set" "', argument " "2"" of type '" "gsl_integration_fixed_type const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_integration_fixed_workspace_type_set" "', argument " "2"" of type '" "gsl_integration_fixed_type const *""'"); 0 0 0
11118 }
11119 0 arg2 = (gsl_integration_fixed_type *)(argp2);
11120 0 ▶ if (arg1) (arg1)->type = (gsl_integration_fixed_type const *)arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->type = (gsl_integration_fixed_type const *)arg2; 0 0 0
11121 0 ST(argvi) = &PL_sv_undef;
11122
11123
11124 0 XSRETURN(argvi);
11125 0 fail:
11126
11127
11128 0 SWIG_croak_null();
11129 }
11130 }
11131  
11132  
11133 0 XS(_wrap_gsl_integration_fixed_workspace_type_get) {
11134 {
11135 0 gsl_integration_fixed_workspace *arg1 = (gsl_integration_fixed_workspace *) 0 ;
11136 0 void *argp1 = 0 ;
11137 0 int res1 = 0 ;
11138 0 int argvi = 0;
11139 0 gsl_integration_fixed_type *result = 0 ;
11140 0 dXSARGS;
11141
11142 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
11143 0 SWIG_croak("Usage: gsl_integration_fixed_workspace_type_get(self);");
11144 }
11145 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_fixed_workspace, 0 | 0 );
11146 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
11147 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_fixed_workspace_type_get" "', argument " "1"" of type '" "gsl_integration_fixed_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_fixed_workspace_type_get" "', argument " "1"" of type '" "gsl_integration_fixed_workspace *""'"); 0 0 0
11148 }
11149 0 arg1 = (gsl_integration_fixed_workspace *)(argp1);
11150 0 result = (gsl_integration_fixed_type *) ((arg1)->type);
11151 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_integration_fixed_type, 0 | SWIG_SHADOW); argvi++ ;
11152
11153 0 XSRETURN(argvi);
11154 0 fail:
11155
11156 0 SWIG_croak_null();
11157 }
11158 }
11159  
11160  
11161 0 XS(_wrap_new_gsl_integration_fixed_workspace) {
11162 {
11163 0 int argvi = 0;
11164 0 gsl_integration_fixed_workspace *result = 0 ;
11165 0 dXSARGS;
11166
11167 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
11168 0 SWIG_croak("Usage: new_gsl_integration_fixed_workspace();");
11169 }
11170 0 result = (gsl_integration_fixed_workspace *)calloc(1, sizeof(gsl_integration_fixed_workspace));
11171 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_integration_fixed_workspace, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
11172 0 XSRETURN(argvi);
11173 0 fail:
11174 0 SWIG_croak_null();
11175 }
11176 }
11177  
11178  
11179 0 XS(_wrap_delete_gsl_integration_fixed_workspace) {
11180 {
11181 0 gsl_integration_fixed_workspace *arg1 = (gsl_integration_fixed_workspace *) 0 ;
11182 0 void *argp1 = 0 ;
11183 0 int res1 = 0 ;
11184 0 int argvi = 0;
11185 0 dXSARGS;
11186
11187 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
11188 0 SWIG_croak("Usage: delete_gsl_integration_fixed_workspace(self);");
11189 }
11190 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_fixed_workspace, SWIG_POINTER_DISOWN | 0 );
11191 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
11192 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_gsl_integration_fixed_workspace" "', argument " "1"" of type '" "gsl_integration_fixed_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_gsl_integration_fixed_workspace" "', argument " "1"" of type '" "gsl_integration_fixed_workspace *""'"); 0 0 0
11193 }
11194 0 arg1 = (gsl_integration_fixed_workspace *)(argp1);
11195 0 free((char *) arg1);
11196 0 ST(argvi) = &PL_sv_undef;
11197
11198 0 XSRETURN(argvi);
11199 0 fail:
11200
11201 0 SWIG_croak_null();
11202 }
11203 }
11204  
11205  
11206 0 XS(_wrap_gsl_integration_fixed_alloc) {
11207 {
11208 0 gsl_integration_fixed_type *arg1 = (gsl_integration_fixed_type *) 0 ;
11209 size_t arg2 ;
11210 double arg3 ;
11211 double arg4 ;
11212 double arg5 ;
11213 double arg6 ;
11214 0 void *argp1 = 0 ;
11215 0 int res1 = 0 ;
11216 size_t val2 ;
11217 0 int ecode2 = 0 ;
11218 double val3 ;
11219 0 int ecode3 = 0 ;
11220 double val4 ;
11221 0 int ecode4 = 0 ;
11222 double val5 ;
11223 0 int ecode5 = 0 ;
11224 double val6 ;
11225 0 int ecode6 = 0 ;
11226 0 int argvi = 0;
11227 0 gsl_integration_fixed_workspace *result = 0 ;
11228 0 dXSARGS;
11229
11230 0 ▶ if ((items < 6) || (items > 6)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 6) || (items > 6)) { 0 0 0
if ((items < 6) || (items > 6)) { 0 0 0
11231 0 SWIG_croak("Usage: gsl_integration_fixed_alloc(type,n,a,b,alpha,beta);");
11232 }
11233 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_fixed_type, 0 | 0 );
11234 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
11235 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_fixed_alloc" "', argument " "1"" of type '" "gsl_integration_fixed_type const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_fixed_alloc" "', argument " "1"" of type '" "gsl_integration_fixed_type const *""'"); 0 0 0
11236 }
11237 0 arg1 = (gsl_integration_fixed_type *)(argp1);
11238 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
11239 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
11240 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_fixed_alloc" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_fixed_alloc" "', argument " "2"" of type '" "size_t""'"); 0 0 0
11241 }
11242 0 arg2 = (size_t)(val2);
11243 0 ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
11244 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
11245 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_integration_fixed_alloc" "', argument " "3"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_integration_fixed_alloc" "', argument " "3"" of type '" "double""'"); 0 0 0
11246 }
11247 0 arg3 = (double)(val3);
11248 0 ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
11249 0 ▶ if (!SWIG_IsOK(ecode4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode4)) { 0 0 0
11250 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_integration_fixed_alloc" "', argument " "4"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_integration_fixed_alloc" "', argument " "4"" of type '" "double""'"); 0 0 0
11251 }
11252 0 arg4 = (double)(val4);
11253 0 ecode5 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
11254 0 ▶ if (!SWIG_IsOK(ecode5)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode5)) { 0 0 0
11255 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "gsl_integration_fixed_alloc" "', argument " "5"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "gsl_integration_fixed_alloc" "', argument " "5"" of type '" "double""'"); 0 0 0
11256 }
11257 0 arg5 = (double)(val5);
11258 0 ecode6 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(5), &val6);
11259 0 ▶ if (!SWIG_IsOK(ecode6)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode6)) { 0 0 0
11260 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "gsl_integration_fixed_alloc" "', argument " "6"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "gsl_integration_fixed_alloc" "', argument " "6"" of type '" "double""'"); 0 0 0
11261 }
11262 0 arg6 = (double)(val6);
11263 0 result = (gsl_integration_fixed_workspace *)gsl_integration_fixed_alloc((gsl_integration_fixed_type const *)arg1,arg2,arg3,arg4,arg5,arg6);
11264 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_integration_fixed_workspace, 0 | SWIG_SHADOW); argvi++ ;
11265
11266
11267
11268
11269
11270
11271 0 XSRETURN(argvi);
11272 0 fail:
11273
11274
11275
11276
11277
11278
11279 0 SWIG_croak_null();
11280 }
11281 }
11282  
11283  
11284 0 XS(_wrap_gsl_integration_fixed_free) {
11285 {
11286 0 gsl_integration_fixed_workspace *arg1 = (gsl_integration_fixed_workspace *) 0 ;
11287 0 void *argp1 = 0 ;
11288 0 int res1 = 0 ;
11289 0 int argvi = 0;
11290 0 dXSARGS;
11291
11292 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
11293 0 SWIG_croak("Usage: gsl_integration_fixed_free(w);");
11294 }
11295 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_fixed_workspace, 0 | 0 );
11296 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
11297 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_fixed_free" "', argument " "1"" of type '" "gsl_integration_fixed_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_fixed_free" "', argument " "1"" of type '" "gsl_integration_fixed_workspace *""'"); 0 0 0
11298 }
11299 0 arg1 = (gsl_integration_fixed_workspace *)(argp1);
11300 0 gsl_integration_fixed_free(arg1);
11301 0 ST(argvi) = &PL_sv_undef;
11302
11303 0 XSRETURN(argvi);
11304 0 fail:
11305
11306 0 SWIG_croak_null();
11307 }
11308 }
11309  
11310  
11311 0 XS(_wrap_gsl_integration_fixed_n) {
11312 {
11313 0 gsl_integration_fixed_workspace *arg1 = (gsl_integration_fixed_workspace *) 0 ;
11314 0 void *argp1 = 0 ;
11315 0 int res1 = 0 ;
11316 0 int argvi = 0;
11317 size_t result;
11318 0 dXSARGS;
11319
11320 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
11321 0 SWIG_croak("Usage: gsl_integration_fixed_n(w);");
11322 }
11323 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_fixed_workspace, 0 | 0 );
11324 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
11325 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_fixed_n" "', argument " "1"" of type '" "gsl_integration_fixed_workspace const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_fixed_n" "', argument " "1"" of type '" "gsl_integration_fixed_workspace const *""'"); 0 0 0
11326 }
11327 0 arg1 = (gsl_integration_fixed_workspace *)(argp1);
11328 0 result = gsl_integration_fixed_n((gsl_integration_fixed_workspace const *)arg1);
11329 0 ST(argvi) = SWIG_From_size_t SWIG_PERL_CALL_ARGS_1((size_t)(result)); argvi++ ;
11330
11331 0 XSRETURN(argvi);
11332 0 fail:
11333
11334 0 SWIG_croak_null();
11335 }
11336 }
11337  
11338  
11339 0 XS(_wrap_gsl_integration_fixed_nodes) {
11340 {
11341 0 gsl_integration_fixed_workspace *arg1 = (gsl_integration_fixed_workspace *) 0 ;
11342 0 void *argp1 = 0 ;
11343 0 int res1 = 0 ;
11344 0 int argvi = 0;
11345 0 double *result = 0 ;
11346 0 dXSARGS;
11347
11348 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
11349 0 SWIG_croak("Usage: gsl_integration_fixed_nodes(w);");
11350 }
11351 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_fixed_workspace, 0 | 0 );
11352 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
11353 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_fixed_nodes" "', argument " "1"" of type '" "gsl_integration_fixed_workspace const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_fixed_nodes" "', argument " "1"" of type '" "gsl_integration_fixed_workspace const *""'"); 0 0 0
11354 }
11355 0 arg1 = (gsl_integration_fixed_workspace *)(argp1);
11356 0 result = (double *)gsl_integration_fixed_nodes((gsl_integration_fixed_workspace const *)arg1);
11357 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0); argvi++ ;
11358
11359 0 XSRETURN(argvi);
11360 0 fail:
11361
11362 0 SWIG_croak_null();
11363 }
11364 }
11365  
11366  
11367 0 XS(_wrap_gsl_integration_fixed_weights) {
11368 {
11369 0 gsl_integration_fixed_workspace *arg1 = (gsl_integration_fixed_workspace *) 0 ;
11370 0 void *argp1 = 0 ;
11371 0 int res1 = 0 ;
11372 0 int argvi = 0;
11373 0 double *result = 0 ;
11374 0 dXSARGS;
11375
11376 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
11377 0 SWIG_croak("Usage: gsl_integration_fixed_weights(w);");
11378 }
11379 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_fixed_workspace, 0 | 0 );
11380 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
11381 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_fixed_weights" "', argument " "1"" of type '" "gsl_integration_fixed_workspace const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_fixed_weights" "', argument " "1"" of type '" "gsl_integration_fixed_workspace const *""'"); 0 0 0
11382 }
11383 0 arg1 = (gsl_integration_fixed_workspace *)(argp1);
11384 0 result = (double *)gsl_integration_fixed_weights((gsl_integration_fixed_workspace const *)arg1);
11385 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0); argvi++ ;
11386
11387 0 XSRETURN(argvi);
11388 0 fail:
11389
11390 0 SWIG_croak_null();
11391 }
11392 }
11393  
11394  
11395 0 XS(_wrap_gsl_integration_fixed) {
11396 {
11397 0 gsl_function *arg1 = (gsl_function *) 0 ;
11398 0 double *arg2 = (double *) 0 ;
11399 0 gsl_integration_fixed_workspace *arg3 = (gsl_integration_fixed_workspace *) 0 ;
11400 double temp2 ;
11401 0 int res2 = SWIG_TMPOBJ ;
11402 0 void *argp3 = 0 ;
11403 0 int res3 = 0 ;
11404 0 int argvi = 0;
11405 int result;
11406 0 dXSARGS;
11407
11408 0 arg2 = &temp2;
11409 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
11410 0 SWIG_croak("Usage: gsl_integration_fixed(func,w);");
11411 }
11412 {
11413 0 SV * function = 0;
11414 0 SV * params = 0;
11415 struct gsl_function_perl *w_gsl_function;
11416 0 Newx(w_gsl_function, 1, struct gsl_function_perl);
11417
11418 0 ▶ if (SvROK(ST(0)) && (SvTYPE(SvRV(ST(0))) == SVt_PVAV)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SvROK(ST(0)) && (SvTYPE(SvRV(ST(0))) == SVt_PVAV)) { 0 0 0
if (SvROK(ST(0)) && (SvTYPE(SvRV(ST(0))) == SVt_PVAV)) { 0 0 0
11419 0 AV* array=(AV*)SvRV(ST(0));
11420 0 SV ** p_function = 0;
11421 0 ▶ if (av_len(array)<0) {
Branch: 1 branch
BranchTrueFalseTotal
if (av_len(array)<0) { 0 0 0
11422 0 croak("Math::GSL : $func is an empty array!");
11423 }
11424 0 ▶ if (av_len(array)>1) {
Branch: 1 branch
BranchTrueFalseTotal
if (av_len(array)>1) { 0 0 0
11425 0 croak("Math::GSL : $func is an array with more than 2 elements!");
11426 }
11427 0 p_function = av_fetch(array, 0, 0);
11428 0 function = *p_function;
11429 0 ▶ if (av_len(array)>0) {
Branch: 1 branch
BranchTrueFalseTotal
if (av_len(array)>0) { 0 0 0
11430 0 SV ** p_params = 0;
11431 0 p_params = av_fetch(array, 1, 0);
11432 0 params = *p_params;
11433 }
11434 } else {
11435 0 function = ST(0);
11436 }
11437
11438 0 ▶ if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) {
Branch: 4 branches
BranchTrueFalseTotal
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
11439 0 croak("Math::GSL : $func is not a reference to code!");
11440 }
11441
11442 0 function = newSVsv(function);
11443
11444 0 ▶ if (! params) {
Branch: 1 branch
BranchTrueFalseTotal
if (! params) { 0 0 0
11445 0 params=&PL_sv_undef;
11446 }
11447 0 params = newSVsv(params);
11448
11449 0 w_gsl_function->params = params;
11450 0 w_gsl_function->function = function;
11451 0 w_gsl_function->C_gsl_function.params = w_gsl_function;
11452 0 w_gsl_function->C_gsl_function.function = &call_gsl_function;
11453
11454 0 arg1 = &(w_gsl_function->C_gsl_function);
11455 }
11456 0 res3 = SWIG_ConvertPtr(ST(1), &argp3,SWIGTYPE_p_gsl_integration_fixed_workspace, 0 | 0 );
11457 0 ▶ if (!SWIG_IsOK(res3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res3)) { 0 0 0
11458 0 ▶ SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_integration_fixed" "', argument " "3"" of type '" "gsl_integration_fixed_workspace const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_integration_fixed" "', argument " "3"" of type '" "gsl_integration_fixed_workspace const *""'"); 0 0 0
11459 }
11460 0 arg3 = (gsl_integration_fixed_workspace *)(argp3);
11461 0 result = (int)gsl_integration_fixed((struct gsl_function_struct const *)arg1,arg2,(gsl_integration_fixed_workspace const *)arg3);
11462 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
11463 0 ▶ if (SWIG_IsTmpObj(res2)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SWIG_IsTmpObj(res2)) { 0 0 0
if (SWIG_IsTmpObj(res2)) { 0 0 0
11464 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
11465 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
11466 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((*arg2)); argvi++ /*@SWIG@*/;
11467 } else {
11468 0 ▶ int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0) : 0;
Branch: 2 branches
BranchTrueFalseTotal
int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
11469 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
11470 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
11471 0 ST(argvi) = SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, new_flags); argvi++ /*@SWIG@*/;
11472 }
11473 {
11474 0 struct gsl_function_perl *p=(struct gsl_function_perl *) arg1->params;
11475 0 gsl_function_perl_free(p);
11476 }
11477
11478
11479 0 XSRETURN(argvi);
11480 0 fail:
11481 {
11482 0 struct gsl_function_perl *p=(struct gsl_function_perl *) arg1->params;
11483 0 gsl_function_perl_free(p);
11484 }
11485
11486
11487 0 SWIG_croak_null();
11488 }
11489 }
11490  
11491  
11492 0 XS(_wrap_gsl_integration_lebedev_workspace_n_set) {
11493 {
11494 0 gsl_integration_lebedev_workspace *arg1 = (gsl_integration_lebedev_workspace *) 0 ;
11495 size_t arg2 ;
11496 0 void *argp1 = 0 ;
11497 0 int res1 = 0 ;
11498 size_t val2 ;
11499 0 int ecode2 = 0 ;
11500 0 int argvi = 0;
11501 0 dXSARGS;
11502
11503 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
11504 0 SWIG_croak("Usage: gsl_integration_lebedev_workspace_n_set(self,n);");
11505 }
11506 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_lebedev_workspace, 0 | 0 );
11507 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
11508 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_lebedev_workspace_n_set" "', argument " "1"" of type '" "gsl_integration_lebedev_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_lebedev_workspace_n_set" "', argument " "1"" of type '" "gsl_integration_lebedev_workspace *""'"); 0 0 0
11509 }
11510 0 arg1 = (gsl_integration_lebedev_workspace *)(argp1);
11511 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
11512 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
11513 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_lebedev_workspace_n_set" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_integration_lebedev_workspace_n_set" "', argument " "2"" of type '" "size_t""'"); 0 0 0
11514 }
11515 0 arg2 = (size_t)(val2);
11516 0 ▶ if (arg1) (arg1)->n = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->n = arg2; 0 0 0
11517 0 ST(argvi) = &PL_sv_undef;
11518
11519
11520 0 XSRETURN(argvi);
11521 0 fail:
11522
11523
11524 0 SWIG_croak_null();
11525 }
11526 }
11527  
11528  
11529 0 XS(_wrap_gsl_integration_lebedev_workspace_n_get) {
11530 {
11531 0 gsl_integration_lebedev_workspace *arg1 = (gsl_integration_lebedev_workspace *) 0 ;
11532 0 void *argp1 = 0 ;
11533 0 int res1 = 0 ;
11534 0 int argvi = 0;
11535 size_t result;
11536 0 dXSARGS;
11537
11538 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
11539 0 SWIG_croak("Usage: gsl_integration_lebedev_workspace_n_get(self);");
11540 }
11541 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_lebedev_workspace, 0 | 0 );
11542 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
11543 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_lebedev_workspace_n_get" "', argument " "1"" of type '" "gsl_integration_lebedev_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_lebedev_workspace_n_get" "', argument " "1"" of type '" "gsl_integration_lebedev_workspace *""'"); 0 0 0
11544 }
11545 0 arg1 = (gsl_integration_lebedev_workspace *)(argp1);
11546 0 result = ((arg1)->n);
11547 0 ST(argvi) = SWIG_From_size_t SWIG_PERL_CALL_ARGS_1((size_t)(result)); argvi++ ;
11548
11549 0 XSRETURN(argvi);
11550 0 fail:
11551
11552 0 SWIG_croak_null();
11553 }
11554 }
11555  
11556  
11557 0 XS(_wrap_gsl_integration_lebedev_workspace_weights_set) {
11558 {
11559 0 gsl_integration_lebedev_workspace *arg1 = (gsl_integration_lebedev_workspace *) 0 ;
11560 0 double *arg2 = (double *) 0 ;
11561 0 void *argp1 = 0 ;
11562 0 int res1 = 0 ;
11563 0 void *argp2 = 0 ;
11564 0 int res2 = 0 ;
11565 0 int argvi = 0;
11566 0 dXSARGS;
11567
11568 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
11569 0 SWIG_croak("Usage: gsl_integration_lebedev_workspace_weights_set(self,weights);");
11570 }
11571 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_lebedev_workspace, 0 | 0 );
11572 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
11573 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_lebedev_workspace_weights_set" "', argument " "1"" of type '" "gsl_integration_lebedev_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_lebedev_workspace_weights_set" "', argument " "1"" of type '" "gsl_integration_lebedev_workspace *""'"); 0 0 0
11574 }
11575 0 arg1 = (gsl_integration_lebedev_workspace *)(argp1);
11576 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, SWIG_POINTER_DISOWN | 0 );
11577 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
11578 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_integration_lebedev_workspace_weights_set" "', argument " "2"" of type '" "double *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_integration_lebedev_workspace_weights_set" "', argument " "2"" of type '" "double *""'"); 0 0 0
11579 }
11580 0 arg2 = (double *)(argp2);
11581 0 ▶ if (arg1) (arg1)->weights = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->weights = arg2; 0 0 0
11582 0 ST(argvi) = &PL_sv_undef;
11583
11584
11585 0 XSRETURN(argvi);
11586 0 fail:
11587
11588
11589 0 SWIG_croak_null();
11590 }
11591 }
11592  
11593  
11594 0 XS(_wrap_gsl_integration_lebedev_workspace_weights_get) {
11595 {
11596 0 gsl_integration_lebedev_workspace *arg1 = (gsl_integration_lebedev_workspace *) 0 ;
11597 0 void *argp1 = 0 ;
11598 0 int res1 = 0 ;
11599 0 int argvi = 0;
11600 0 double *result = 0 ;
11601 0 dXSARGS;
11602
11603 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
11604 0 SWIG_croak("Usage: gsl_integration_lebedev_workspace_weights_get(self);");
11605 }
11606 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_lebedev_workspace, 0 | 0 );
11607 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
11608 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_lebedev_workspace_weights_get" "', argument " "1"" of type '" "gsl_integration_lebedev_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_lebedev_workspace_weights_get" "', argument " "1"" of type '" "gsl_integration_lebedev_workspace *""'"); 0 0 0
11609 }
11610 0 arg1 = (gsl_integration_lebedev_workspace *)(argp1);
11611 0 result = (double *) ((arg1)->weights);
11612 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0); argvi++ ;
11613
11614 0 XSRETURN(argvi);
11615 0 fail:
11616
11617 0 SWIG_croak_null();
11618 }
11619 }
11620  
11621  
11622 0 XS(_wrap_gsl_integration_lebedev_workspace_x_set) {
11623 {
11624 0 gsl_integration_lebedev_workspace *arg1 = (gsl_integration_lebedev_workspace *) 0 ;
11625 0 double *arg2 = (double *) 0 ;
11626 0 void *argp1 = 0 ;
11627 0 int res1 = 0 ;
11628 0 void *argp2 = 0 ;
11629 0 int res2 = 0 ;
11630 0 int argvi = 0;
11631 0 dXSARGS;
11632
11633 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
11634 0 SWIG_croak("Usage: gsl_integration_lebedev_workspace_x_set(self,x);");
11635 }
11636 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_lebedev_workspace, 0 | 0 );
11637 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
11638 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_lebedev_workspace_x_set" "', argument " "1"" of type '" "gsl_integration_lebedev_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_lebedev_workspace_x_set" "', argument " "1"" of type '" "gsl_integration_lebedev_workspace *""'"); 0 0 0
11639 }
11640 0 arg1 = (gsl_integration_lebedev_workspace *)(argp1);
11641 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, SWIG_POINTER_DISOWN | 0 );
11642 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
11643 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_integration_lebedev_workspace_x_set" "', argument " "2"" of type '" "double *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_integration_lebedev_workspace_x_set" "', argument " "2"" of type '" "double *""'"); 0 0 0
11644 }
11645 0 arg2 = (double *)(argp2);
11646 0 ▶ if (arg1) (arg1)->x = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->x = arg2; 0 0 0
11647 0 ST(argvi) = &PL_sv_undef;
11648
11649
11650 0 XSRETURN(argvi);
11651 0 fail:
11652
11653
11654 0 SWIG_croak_null();
11655 }
11656 }
11657  
11658  
11659 0 XS(_wrap_gsl_integration_lebedev_workspace_x_get) {
11660 {
11661 0 gsl_integration_lebedev_workspace *arg1 = (gsl_integration_lebedev_workspace *) 0 ;
11662 0 void *argp1 = 0 ;
11663 0 int res1 = 0 ;
11664 0 int argvi = 0;
11665 0 double *result = 0 ;
11666 0 dXSARGS;
11667
11668 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
11669 0 SWIG_croak("Usage: gsl_integration_lebedev_workspace_x_get(self);");
11670 }
11671 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_lebedev_workspace, 0 | 0 );
11672 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
11673 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_lebedev_workspace_x_get" "', argument " "1"" of type '" "gsl_integration_lebedev_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_lebedev_workspace_x_get" "', argument " "1"" of type '" "gsl_integration_lebedev_workspace *""'"); 0 0 0
11674 }
11675 0 arg1 = (gsl_integration_lebedev_workspace *)(argp1);
11676 0 result = (double *) ((arg1)->x);
11677 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0); argvi++ ;
11678
11679 0 XSRETURN(argvi);
11680 0 fail:
11681
11682 0 SWIG_croak_null();
11683 }
11684 }
11685  
11686  
11687 0 XS(_wrap_gsl_integration_lebedev_workspace_y_set) {
11688 {
11689 0 gsl_integration_lebedev_workspace *arg1 = (gsl_integration_lebedev_workspace *) 0 ;
11690 0 double *arg2 = (double *) 0 ;
11691 0 void *argp1 = 0 ;
11692 0 int res1 = 0 ;
11693 0 void *argp2 = 0 ;
11694 0 int res2 = 0 ;
11695 0 int argvi = 0;
11696 0 dXSARGS;
11697
11698 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
11699 0 SWIG_croak("Usage: gsl_integration_lebedev_workspace_y_set(self,y);");
11700 }
11701 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_lebedev_workspace, 0 | 0 );
11702 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
11703 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_lebedev_workspace_y_set" "', argument " "1"" of type '" "gsl_integration_lebedev_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_lebedev_workspace_y_set" "', argument " "1"" of type '" "gsl_integration_lebedev_workspace *""'"); 0 0 0
11704 }
11705 0 arg1 = (gsl_integration_lebedev_workspace *)(argp1);
11706 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, SWIG_POINTER_DISOWN | 0 );
11707 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
11708 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_integration_lebedev_workspace_y_set" "', argument " "2"" of type '" "double *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_integration_lebedev_workspace_y_set" "', argument " "2"" of type '" "double *""'"); 0 0 0
11709 }
11710 0 arg2 = (double *)(argp2);
11711 0 ▶ if (arg1) (arg1)->y = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->y = arg2; 0 0 0
11712 0 ST(argvi) = &PL_sv_undef;
11713
11714
11715 0 XSRETURN(argvi);
11716 0 fail:
11717
11718
11719 0 SWIG_croak_null();
11720 }
11721 }
11722  
11723  
11724 0 XS(_wrap_gsl_integration_lebedev_workspace_y_get) {
11725 {
11726 0 gsl_integration_lebedev_workspace *arg1 = (gsl_integration_lebedev_workspace *) 0 ;
11727 0 void *argp1 = 0 ;
11728 0 int res1 = 0 ;
11729 0 int argvi = 0;
11730 0 double *result = 0 ;
11731 0 dXSARGS;
11732
11733 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
11734 0 SWIG_croak("Usage: gsl_integration_lebedev_workspace_y_get(self);");
11735 }
11736 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_lebedev_workspace, 0 | 0 );
11737 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
11738 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_lebedev_workspace_y_get" "', argument " "1"" of type '" "gsl_integration_lebedev_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_lebedev_workspace_y_get" "', argument " "1"" of type '" "gsl_integration_lebedev_workspace *""'"); 0 0 0
11739 }
11740 0 arg1 = (gsl_integration_lebedev_workspace *)(argp1);
11741 0 result = (double *) ((arg1)->y);
11742 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0); argvi++ ;
11743
11744 0 XSRETURN(argvi);
11745 0 fail:
11746
11747 0 SWIG_croak_null();
11748 }
11749 }
11750  
11751  
11752 0 XS(_wrap_gsl_integration_lebedev_workspace_z_set) {
11753 {
11754 0 gsl_integration_lebedev_workspace *arg1 = (gsl_integration_lebedev_workspace *) 0 ;
11755 0 double *arg2 = (double *) 0 ;
11756 0 void *argp1 = 0 ;
11757 0 int res1 = 0 ;
11758 0 void *argp2 = 0 ;
11759 0 int res2 = 0 ;
11760 0 int argvi = 0;
11761 0 dXSARGS;
11762
11763 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
11764 0 SWIG_croak("Usage: gsl_integration_lebedev_workspace_z_set(self,z);");
11765 }
11766 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_lebedev_workspace, 0 | 0 );
11767 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
11768 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_lebedev_workspace_z_set" "', argument " "1"" of type '" "gsl_integration_lebedev_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_lebedev_workspace_z_set" "', argument " "1"" of type '" "gsl_integration_lebedev_workspace *""'"); 0 0 0
11769 }
11770 0 arg1 = (gsl_integration_lebedev_workspace *)(argp1);
11771 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, SWIG_POINTER_DISOWN | 0 );
11772 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
11773 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_integration_lebedev_workspace_z_set" "', argument " "2"" of type '" "double *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_integration_lebedev_workspace_z_set" "', argument " "2"" of type '" "double *""'"); 0 0 0
11774 }
11775 0 arg2 = (double *)(argp2);
11776 0 ▶ if (arg1) (arg1)->z = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->z = arg2; 0 0 0
11777 0 ST(argvi) = &PL_sv_undef;
11778
11779
11780 0 XSRETURN(argvi);
11781 0 fail:
11782
11783
11784 0 SWIG_croak_null();
11785 }
11786 }
11787  
11788  
11789 0 XS(_wrap_gsl_integration_lebedev_workspace_z_get) {
11790 {
11791 0 gsl_integration_lebedev_workspace *arg1 = (gsl_integration_lebedev_workspace *) 0 ;
11792 0 void *argp1 = 0 ;
11793 0 int res1 = 0 ;
11794 0 int argvi = 0;
11795 0 double *result = 0 ;
11796 0 dXSARGS;
11797
11798 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
11799 0 SWIG_croak("Usage: gsl_integration_lebedev_workspace_z_get(self);");
11800 }
11801 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_lebedev_workspace, 0 | 0 );
11802 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
11803 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_lebedev_workspace_z_get" "', argument " "1"" of type '" "gsl_integration_lebedev_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_lebedev_workspace_z_get" "', argument " "1"" of type '" "gsl_integration_lebedev_workspace *""'"); 0 0 0
11804 }
11805 0 arg1 = (gsl_integration_lebedev_workspace *)(argp1);
11806 0 result = (double *) ((arg1)->z);
11807 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0); argvi++ ;
11808
11809 0 XSRETURN(argvi);
11810 0 fail:
11811
11812 0 SWIG_croak_null();
11813 }
11814 }
11815  
11816  
11817 0 XS(_wrap_gsl_integration_lebedev_workspace_theta_set) {
11818 {
11819 0 gsl_integration_lebedev_workspace *arg1 = (gsl_integration_lebedev_workspace *) 0 ;
11820 0 double *arg2 = (double *) 0 ;
11821 0 void *argp1 = 0 ;
11822 0 int res1 = 0 ;
11823 0 void *argp2 = 0 ;
11824 0 int res2 = 0 ;
11825 0 int argvi = 0;
11826 0 dXSARGS;
11827
11828 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
11829 0 SWIG_croak("Usage: gsl_integration_lebedev_workspace_theta_set(self,theta);");
11830 }
11831 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_lebedev_workspace, 0 | 0 );
11832 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
11833 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_lebedev_workspace_theta_set" "', argument " "1"" of type '" "gsl_integration_lebedev_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_lebedev_workspace_theta_set" "', argument " "1"" of type '" "gsl_integration_lebedev_workspace *""'"); 0 0 0
11834 }
11835 0 arg1 = (gsl_integration_lebedev_workspace *)(argp1);
11836 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, SWIG_POINTER_DISOWN | 0 );
11837 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
11838 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_integration_lebedev_workspace_theta_set" "', argument " "2"" of type '" "double *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_integration_lebedev_workspace_theta_set" "', argument " "2"" of type '" "double *""'"); 0 0 0
11839 }
11840 0 arg2 = (double *)(argp2);
11841 0 ▶ if (arg1) (arg1)->theta = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->theta = arg2; 0 0 0
11842 0 ST(argvi) = &PL_sv_undef;
11843
11844
11845 0 XSRETURN(argvi);
11846 0 fail:
11847
11848
11849 0 SWIG_croak_null();
11850 }
11851 }
11852  
11853  
11854 0 XS(_wrap_gsl_integration_lebedev_workspace_theta_get) {
11855 {
11856 0 gsl_integration_lebedev_workspace *arg1 = (gsl_integration_lebedev_workspace *) 0 ;
11857 0 void *argp1 = 0 ;
11858 0 int res1 = 0 ;
11859 0 int argvi = 0;
11860 0 double *result = 0 ;
11861 0 dXSARGS;
11862
11863 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
11864 0 SWIG_croak("Usage: gsl_integration_lebedev_workspace_theta_get(self);");
11865 }
11866 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_lebedev_workspace, 0 | 0 );
11867 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
11868 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_lebedev_workspace_theta_get" "', argument " "1"" of type '" "gsl_integration_lebedev_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_lebedev_workspace_theta_get" "', argument " "1"" of type '" "gsl_integration_lebedev_workspace *""'"); 0 0 0
11869 }
11870 0 arg1 = (gsl_integration_lebedev_workspace *)(argp1);
11871 0 result = (double *) ((arg1)->theta);
11872 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0); argvi++ ;
11873
11874 0 XSRETURN(argvi);
11875 0 fail:
11876
11877 0 SWIG_croak_null();
11878 }
11879 }
11880  
11881  
11882 0 XS(_wrap_gsl_integration_lebedev_workspace_phi_set) {
11883 {
11884 0 gsl_integration_lebedev_workspace *arg1 = (gsl_integration_lebedev_workspace *) 0 ;
11885 0 double *arg2 = (double *) 0 ;
11886 0 void *argp1 = 0 ;
11887 0 int res1 = 0 ;
11888 0 void *argp2 = 0 ;
11889 0 int res2 = 0 ;
11890 0 int argvi = 0;
11891 0 dXSARGS;
11892
11893 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
11894 0 SWIG_croak("Usage: gsl_integration_lebedev_workspace_phi_set(self,phi);");
11895 }
11896 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_lebedev_workspace, 0 | 0 );
11897 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
11898 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_lebedev_workspace_phi_set" "', argument " "1"" of type '" "gsl_integration_lebedev_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_lebedev_workspace_phi_set" "', argument " "1"" of type '" "gsl_integration_lebedev_workspace *""'"); 0 0 0
11899 }
11900 0 arg1 = (gsl_integration_lebedev_workspace *)(argp1);
11901 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, SWIG_POINTER_DISOWN | 0 );
11902 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
11903 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_integration_lebedev_workspace_phi_set" "', argument " "2"" of type '" "double *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_integration_lebedev_workspace_phi_set" "', argument " "2"" of type '" "double *""'"); 0 0 0
11904 }
11905 0 arg2 = (double *)(argp2);
11906 0 ▶ if (arg1) (arg1)->phi = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->phi = arg2; 0 0 0
11907 0 ST(argvi) = &PL_sv_undef;
11908
11909
11910 0 XSRETURN(argvi);
11911 0 fail:
11912
11913
11914 0 SWIG_croak_null();
11915 }
11916 }
11917  
11918  
11919 0 XS(_wrap_gsl_integration_lebedev_workspace_phi_get) {
11920 {
11921 0 gsl_integration_lebedev_workspace *arg1 = (gsl_integration_lebedev_workspace *) 0 ;
11922 0 void *argp1 = 0 ;
11923 0 int res1 = 0 ;
11924 0 int argvi = 0;
11925 0 double *result = 0 ;
11926 0 dXSARGS;
11927
11928 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
11929 0 SWIG_croak("Usage: gsl_integration_lebedev_workspace_phi_get(self);");
11930 }
11931 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_lebedev_workspace, 0 | 0 );
11932 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
11933 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_lebedev_workspace_phi_get" "', argument " "1"" of type '" "gsl_integration_lebedev_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_lebedev_workspace_phi_get" "', argument " "1"" of type '" "gsl_integration_lebedev_workspace *""'"); 0 0 0
11934 }
11935 0 arg1 = (gsl_integration_lebedev_workspace *)(argp1);
11936 0 result = (double *) ((arg1)->phi);
11937 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0); argvi++ ;
11938
11939 0 XSRETURN(argvi);
11940 0 fail:
11941
11942 0 SWIG_croak_null();
11943 }
11944 }
11945  
11946  
11947 0 XS(_wrap_new_gsl_integration_lebedev_workspace) {
11948 {
11949 0 int argvi = 0;
11950 0 gsl_integration_lebedev_workspace *result = 0 ;
11951 0 dXSARGS;
11952
11953 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
11954 0 SWIG_croak("Usage: new_gsl_integration_lebedev_workspace();");
11955 }
11956 0 result = (gsl_integration_lebedev_workspace *)calloc(1, sizeof(gsl_integration_lebedev_workspace));
11957 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_integration_lebedev_workspace, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
11958 0 XSRETURN(argvi);
11959 0 fail:
11960 0 SWIG_croak_null();
11961 }
11962 }
11963  
11964  
11965 0 XS(_wrap_delete_gsl_integration_lebedev_workspace) {
11966 {
11967 0 gsl_integration_lebedev_workspace *arg1 = (gsl_integration_lebedev_workspace *) 0 ;
11968 0 void *argp1 = 0 ;
11969 0 int res1 = 0 ;
11970 0 int argvi = 0;
11971 0 dXSARGS;
11972
11973 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
11974 0 SWIG_croak("Usage: delete_gsl_integration_lebedev_workspace(self);");
11975 }
11976 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_lebedev_workspace, SWIG_POINTER_DISOWN | 0 );
11977 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
11978 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_gsl_integration_lebedev_workspace" "', argument " "1"" of type '" "gsl_integration_lebedev_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_gsl_integration_lebedev_workspace" "', argument " "1"" of type '" "gsl_integration_lebedev_workspace *""'"); 0 0 0
11979 }
11980 0 arg1 = (gsl_integration_lebedev_workspace *)(argp1);
11981 0 free((char *) arg1);
11982 0 ST(argvi) = &PL_sv_undef;
11983
11984 0 XSRETURN(argvi);
11985 0 fail:
11986
11987 0 SWIG_croak_null();
11988 }
11989 }
11990  
11991  
11992 0 XS(_wrap_gsl_integration_lebedev_alloc) {
11993 {
11994 size_t arg1 ;
11995 size_t val1 ;
11996 0 int ecode1 = 0 ;
11997 0 int argvi = 0;
11998 0 gsl_integration_lebedev_workspace *result = 0 ;
11999 0 dXSARGS;
12000
12001 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
12002 0 SWIG_croak("Usage: gsl_integration_lebedev_alloc(n);");
12003 }
12004 0 ecode1 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
12005 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
12006 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_integration_lebedev_alloc" "', argument " "1"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_integration_lebedev_alloc" "', argument " "1"" of type '" "size_t""'"); 0 0 0
12007 }
12008 0 arg1 = (size_t)(val1);
12009 0 result = (gsl_integration_lebedev_workspace *)gsl_integration_lebedev_alloc(arg1);
12010 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_integration_lebedev_workspace, 0 | SWIG_SHADOW); argvi++ ;
12011
12012 0 XSRETURN(argvi);
12013 0 fail:
12014
12015 0 SWIG_croak_null();
12016 }
12017 }
12018  
12019  
12020 0 XS(_wrap_gsl_integration_lebedev_free) {
12021 {
12022 0 gsl_integration_lebedev_workspace *arg1 = (gsl_integration_lebedev_workspace *) 0 ;
12023 0 void *argp1 = 0 ;
12024 0 int res1 = 0 ;
12025 0 int argvi = 0;
12026 0 dXSARGS;
12027
12028 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
12029 0 SWIG_croak("Usage: gsl_integration_lebedev_free(w);");
12030 }
12031 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_lebedev_workspace, 0 | 0 );
12032 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
12033 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_lebedev_free" "', argument " "1"" of type '" "gsl_integration_lebedev_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_lebedev_free" "', argument " "1"" of type '" "gsl_integration_lebedev_workspace *""'"); 0 0 0
12034 }
12035 0 arg1 = (gsl_integration_lebedev_workspace *)(argp1);
12036 0 gsl_integration_lebedev_free(arg1);
12037 0 ST(argvi) = &PL_sv_undef;
12038
12039 0 XSRETURN(argvi);
12040 0 fail:
12041
12042 0 SWIG_croak_null();
12043 }
12044 }
12045  
12046  
12047 0 XS(_wrap_gsl_integration_lebedev_n) {
12048 {
12049 0 gsl_integration_lebedev_workspace *arg1 = (gsl_integration_lebedev_workspace *) 0 ;
12050 0 void *argp1 = 0 ;
12051 0 int res1 = 0 ;
12052 0 int argvi = 0;
12053 size_t result;
12054 0 dXSARGS;
12055
12056 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
12057 0 SWIG_croak("Usage: gsl_integration_lebedev_n(w);");
12058 }
12059 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_integration_lebedev_workspace, 0 | 0 );
12060 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
12061 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_lebedev_n" "', argument " "1"" of type '" "gsl_integration_lebedev_workspace const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_integration_lebedev_n" "', argument " "1"" of type '" "gsl_integration_lebedev_workspace const *""'"); 0 0 0
12062 }
12063 0 arg1 = (gsl_integration_lebedev_workspace *)(argp1);
12064 0 result = gsl_integration_lebedev_n((gsl_integration_lebedev_workspace const *)arg1);
12065 0 ST(argvi) = SWIG_From_size_t SWIG_PERL_CALL_ARGS_1((size_t)(result)); argvi++ ;
12066
12067 0 XSRETURN(argvi);
12068 0 fail:
12069
12070 0 SWIG_croak_null();
12071 }
12072 }
12073  
12074  
12075 0 XS(_wrap_gsl_function_struct_function_set) {
12076 {
12077 0 struct gsl_function_struct *arg1 = (struct gsl_function_struct *) 0 ;
12078 0 double (*arg2)(double,void *) = (double (*)(double,void *)) 0 ;
12079 0 void *argp1 = 0 ;
12080 0 int res1 = 0 ;
12081 0 int argvi = 0;
12082 0 dXSARGS;
12083
12084 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
12085 0 SWIG_croak("Usage: gsl_function_struct_function_set(self,function);");
12086 }
12087 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_function_struct, 0 | 0 );
12088 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
12089 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_function_struct_function_set" "', argument " "1"" of type '" "struct gsl_function_struct *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_function_struct_function_set" "', argument " "1"" of type '" "struct gsl_function_struct *""'"); 0 0 0
12090 }
12091 0 arg1 = (struct gsl_function_struct *)(argp1);
12092 {
12093 0 int res = SWIG_ConvertFunctionPtr(ST(1), (void**)(&arg2), SWIGTYPE_p_f_double_p_void__double);
12094 0 ▶ if (!SWIG_IsOK(res)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res)) { 0 0 0
12095 0 ▶ SWIG_exception_fail(SWIG_ArgError(res), "in method '" "gsl_function_struct_function_set" "', argument " "2"" of type '" "double (*)(double,void *)""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res), "in method '" "gsl_function_struct_function_set" "', argument " "2"" of type '" "double (*)(double,void *)""'"); 0 0 0
12096 }
12097 }
12098 0 ▶ if (arg1) (arg1)->function = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->function = arg2; 0 0 0
12099 0 ST(argvi) = &PL_sv_undef;
12100
12101
12102 0 XSRETURN(argvi);
12103 0 fail:
12104
12105
12106 0 SWIG_croak_null();
12107 }
12108 }
12109  
12110  
12111 0 XS(_wrap_gsl_function_struct_function_get) {
12112 {
12113 0 struct gsl_function_struct *arg1 = (struct gsl_function_struct *) 0 ;
12114 0 void *argp1 = 0 ;
12115 0 int res1 = 0 ;
12116 0 int argvi = 0;
12117 0 double (*result)(double,void *) = 0 ;
12118 0 dXSARGS;
12119
12120 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
12121 0 SWIG_croak("Usage: gsl_function_struct_function_get(self);");
12122 }
12123 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_function_struct, 0 | 0 );
12124 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
12125 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_function_struct_function_get" "', argument " "1"" of type '" "struct gsl_function_struct *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_function_struct_function_get" "', argument " "1"" of type '" "struct gsl_function_struct *""'"); 0 0 0
12126 }
12127 0 arg1 = (struct gsl_function_struct *)(argp1);
12128 0 result = (double (*)(double,void *)) ((arg1)->function);
12129 0 ST(argvi) = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_double_p_void__double); argvi++ ;
12130
12131 0 XSRETURN(argvi);
12132 0 fail:
12133
12134 0 SWIG_croak_null();
12135 }
12136 }
12137  
12138  
12139 0 XS(_wrap_gsl_function_struct_params_set) {
12140 {
12141 0 struct gsl_function_struct *arg1 = (struct gsl_function_struct *) 0 ;
12142 0 void *arg2 = (void *) 0 ;
12143 0 void *argp1 = 0 ;
12144 0 int res1 = 0 ;
12145 int res2 ;
12146 0 int argvi = 0;
12147 0 dXSARGS;
12148
12149 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
12150 0 SWIG_croak("Usage: gsl_function_struct_params_set(self,params);");
12151 }
12152 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_function_struct, 0 | 0 );
12153 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
12154 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_function_struct_params_set" "', argument " "1"" of type '" "struct gsl_function_struct *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_function_struct_params_set" "', argument " "1"" of type '" "struct gsl_function_struct *""'"); 0 0 0
12155 }
12156 0 arg1 = (struct gsl_function_struct *)(argp1);
12157 0 res2 = SWIG_ConvertPtr(ST(1),SWIG_as_voidptrptr(&arg2), 0, SWIG_POINTER_DISOWN);
12158 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
12159 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_function_struct_params_set" "', argument " "2"" of type '" "void *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_function_struct_params_set" "', argument " "2"" of type '" "void *""'"); 0 0 0
12160 }
12161 0 ▶ if (arg1) (arg1)->params = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->params = arg2; 0 0 0
12162 0 ST(argvi) = &PL_sv_undef;
12163
12164
12165 0 XSRETURN(argvi);
12166 0 fail:
12167
12168
12169 0 SWIG_croak_null();
12170 }
12171 }
12172  
12173  
12174 0 XS(_wrap_gsl_function_struct_params_get) {
12175 {
12176 0 struct gsl_function_struct *arg1 = (struct gsl_function_struct *) 0 ;
12177 0 void *argp1 = 0 ;
12178 0 int res1 = 0 ;
12179 0 int argvi = 0;
12180 0 void *result = 0 ;
12181 0 dXSARGS;
12182
12183 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
12184 0 SWIG_croak("Usage: gsl_function_struct_params_get(self);");
12185 }
12186 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_function_struct, 0 | 0 );
12187 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
12188 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_function_struct_params_get" "', argument " "1"" of type '" "struct gsl_function_struct *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_function_struct_params_get" "', argument " "1"" of type '" "struct gsl_function_struct *""'"); 0 0 0
12189 }
12190 0 arg1 = (struct gsl_function_struct *)(argp1);
12191 0 result = (void *) ((arg1)->params);
12192 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0); argvi++ ;
12193
12194 0 XSRETURN(argvi);
12195 0 fail:
12196
12197 0 SWIG_croak_null();
12198 }
12199 }
12200  
12201  
12202 0 XS(_wrap_new_gsl_function_struct) {
12203 {
12204 0 int argvi = 0;
12205 0 struct gsl_function_struct *result = 0 ;
12206 0 dXSARGS;
12207
12208 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
12209 0 SWIG_croak("Usage: new_gsl_function_struct();");
12210 }
12211 0 result = (struct gsl_function_struct *)calloc(1, sizeof(struct gsl_function_struct));
12212 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_function_struct, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
12213 0 XSRETURN(argvi);
12214 0 fail:
12215 0 SWIG_croak_null();
12216 }
12217 }
12218  
12219  
12220 0 XS(_wrap_delete_gsl_function_struct) {
12221 {
12222 0 struct gsl_function_struct *arg1 = (struct gsl_function_struct *) 0 ;
12223 0 void *argp1 = 0 ;
12224 0 int res1 = 0 ;
12225 0 int argvi = 0;
12226 0 dXSARGS;
12227
12228 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
12229 0 SWIG_croak("Usage: delete_gsl_function_struct(self);");
12230 }
12231 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_function_struct, SWIG_POINTER_DISOWN | 0 );
12232 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
12233 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_gsl_function_struct" "', argument " "1"" of type '" "struct gsl_function_struct *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_gsl_function_struct" "', argument " "1"" of type '" "struct gsl_function_struct *""'"); 0 0 0
12234 }
12235 0 arg1 = (struct gsl_function_struct *)(argp1);
12236 0 free((char *) arg1);
12237 0 ST(argvi) = &PL_sv_undef;
12238
12239 0 XSRETURN(argvi);
12240 0 fail:
12241
12242 0 SWIG_croak_null();
12243 }
12244 }
12245  
12246  
12247 0 XS(_wrap_gsl_function_fdf_struct_f_set) {
12248 {
12249 0 struct gsl_function_fdf_struct *arg1 = (struct gsl_function_fdf_struct *) 0 ;
12250 0 double (*arg2)(double,void *) = (double (*)(double,void *)) 0 ;
12251 0 void *argp1 = 0 ;
12252 0 int res1 = 0 ;
12253 0 int argvi = 0;
12254 0 dXSARGS;
12255
12256 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
12257 0 SWIG_croak("Usage: gsl_function_fdf_struct_f_set(self,f);");
12258 }
12259 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_function_fdf_struct, 0 | 0 );
12260 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
12261 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_function_fdf_struct_f_set" "', argument " "1"" of type '" "struct gsl_function_fdf_struct *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_function_fdf_struct_f_set" "', argument " "1"" of type '" "struct gsl_function_fdf_struct *""'"); 0 0 0
12262 }
12263 0 arg1 = (struct gsl_function_fdf_struct *)(argp1);
12264 {
12265 0 int res = SWIG_ConvertFunctionPtr(ST(1), (void**)(&arg2), SWIGTYPE_p_f_double_p_void__double);
12266 0 ▶ if (!SWIG_IsOK(res)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res)) { 0 0 0
12267 0 ▶ SWIG_exception_fail(SWIG_ArgError(res), "in method '" "gsl_function_fdf_struct_f_set" "', argument " "2"" of type '" "double (*)(double,void *)""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res), "in method '" "gsl_function_fdf_struct_f_set" "', argument " "2"" of type '" "double (*)(double,void *)""'"); 0 0 0
12268 }
12269 }
12270 0 ▶ if (arg1) (arg1)->f = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->f = arg2; 0 0 0
12271 0 ST(argvi) = &PL_sv_undef;
12272
12273
12274 0 XSRETURN(argvi);
12275 0 fail:
12276
12277
12278 0 SWIG_croak_null();
12279 }
12280 }
12281  
12282  
12283 0 XS(_wrap_gsl_function_fdf_struct_f_get) {
12284 {
12285 0 struct gsl_function_fdf_struct *arg1 = (struct gsl_function_fdf_struct *) 0 ;
12286 0 void *argp1 = 0 ;
12287 0 int res1 = 0 ;
12288 0 int argvi = 0;
12289 0 double (*result)(double,void *) = 0 ;
12290 0 dXSARGS;
12291
12292 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
12293 0 SWIG_croak("Usage: gsl_function_fdf_struct_f_get(self);");
12294 }
12295 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_function_fdf_struct, 0 | 0 );
12296 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
12297 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_function_fdf_struct_f_get" "', argument " "1"" of type '" "struct gsl_function_fdf_struct *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_function_fdf_struct_f_get" "', argument " "1"" of type '" "struct gsl_function_fdf_struct *""'"); 0 0 0
12298 }
12299 0 arg1 = (struct gsl_function_fdf_struct *)(argp1);
12300 0 result = (double (*)(double,void *)) ((arg1)->f);
12301 0 ST(argvi) = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_double_p_void__double); argvi++ ;
12302
12303 0 XSRETURN(argvi);
12304 0 fail:
12305
12306 0 SWIG_croak_null();
12307 }
12308 }
12309  
12310  
12311 0 XS(_wrap_gsl_function_fdf_struct_df_set) {
12312 {
12313 0 struct gsl_function_fdf_struct *arg1 = (struct gsl_function_fdf_struct *) 0 ;
12314 0 double (*arg2)(double,void *) = (double (*)(double,void *)) 0 ;
12315 0 void *argp1 = 0 ;
12316 0 int res1 = 0 ;
12317 0 int argvi = 0;
12318 0 dXSARGS;
12319
12320 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
12321 0 SWIG_croak("Usage: gsl_function_fdf_struct_df_set(self,df);");
12322 }
12323 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_function_fdf_struct, 0 | 0 );
12324 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
12325 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_function_fdf_struct_df_set" "', argument " "1"" of type '" "struct gsl_function_fdf_struct *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_function_fdf_struct_df_set" "', argument " "1"" of type '" "struct gsl_function_fdf_struct *""'"); 0 0 0
12326 }
12327 0 arg1 = (struct gsl_function_fdf_struct *)(argp1);
12328 {
12329 0 int res = SWIG_ConvertFunctionPtr(ST(1), (void**)(&arg2), SWIGTYPE_p_f_double_p_void__double);
12330 0 ▶ if (!SWIG_IsOK(res)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res)) { 0 0 0
12331 0 ▶ SWIG_exception_fail(SWIG_ArgError(res), "in method '" "gsl_function_fdf_struct_df_set" "', argument " "2"" of type '" "double (*)(double,void *)""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res), "in method '" "gsl_function_fdf_struct_df_set" "', argument " "2"" of type '" "double (*)(double,void *)""'"); 0 0 0
12332 }
12333 }
12334 0 ▶ if (arg1) (arg1)->df = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->df = arg2; 0 0 0
12335 0 ST(argvi) = &PL_sv_undef;
12336
12337
12338 0 XSRETURN(argvi);
12339 0 fail:
12340
12341
12342 0 SWIG_croak_null();
12343 }
12344 }
12345  
12346  
12347 0 XS(_wrap_gsl_function_fdf_struct_df_get) {
12348 {
12349 0 struct gsl_function_fdf_struct *arg1 = (struct gsl_function_fdf_struct *) 0 ;
12350 0 void *argp1 = 0 ;
12351 0 int res1 = 0 ;
12352 0 int argvi = 0;
12353 0 double (*result)(double,void *) = 0 ;
12354 0 dXSARGS;
12355
12356 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
12357 0 SWIG_croak("Usage: gsl_function_fdf_struct_df_get(self);");
12358 }
12359 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_function_fdf_struct, 0 | 0 );
12360 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
12361 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_function_fdf_struct_df_get" "', argument " "1"" of type '" "struct gsl_function_fdf_struct *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_function_fdf_struct_df_get" "', argument " "1"" of type '" "struct gsl_function_fdf_struct *""'"); 0 0 0
12362 }
12363 0 arg1 = (struct gsl_function_fdf_struct *)(argp1);
12364 0 result = (double (*)(double,void *)) ((arg1)->df);
12365 0 ST(argvi) = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_double_p_void__double); argvi++ ;
12366
12367 0 XSRETURN(argvi);
12368 0 fail:
12369
12370 0 SWIG_croak_null();
12371 }
12372 }
12373  
12374  
12375 0 XS(_wrap_gsl_function_fdf_struct_fdf_set) {
12376 {
12377 0 struct gsl_function_fdf_struct *arg1 = (struct gsl_function_fdf_struct *) 0 ;
12378 0 void (*arg2)(double,void *,double *,double *) = (void (*)(double,void *,double *,double *)) 0 ;
12379 0 void *argp1 = 0 ;
12380 0 int res1 = 0 ;
12381 0 int argvi = 0;
12382 0 dXSARGS;
12383
12384 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
12385 0 SWIG_croak("Usage: gsl_function_fdf_struct_fdf_set(self,fdf);");
12386 }
12387 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_function_fdf_struct, 0 | 0 );
12388 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
12389 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_function_fdf_struct_fdf_set" "', argument " "1"" of type '" "struct gsl_function_fdf_struct *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_function_fdf_struct_fdf_set" "', argument " "1"" of type '" "struct gsl_function_fdf_struct *""'"); 0 0 0
12390 }
12391 0 arg1 = (struct gsl_function_fdf_struct *)(argp1);
12392 {
12393 0 int res = SWIG_ConvertFunctionPtr(ST(1), (void**)(&arg2), SWIGTYPE_p_f_double_p_void_p_double_p_double__void);
12394 0 ▶ if (!SWIG_IsOK(res)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res)) { 0 0 0
12395 0 ▶ SWIG_exception_fail(SWIG_ArgError(res), "in method '" "gsl_function_fdf_struct_fdf_set" "', argument " "2"" of type '" "void (*)(double,void *,double *,double *)""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res), "in method '" "gsl_function_fdf_struct_fdf_set" "', argument " "2"" of type '" "void (*)(double,void *,double *,double *)""'"); 0 0 0
12396 }
12397 }
12398 0 ▶ if (arg1) (arg1)->fdf = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->fdf = arg2; 0 0 0
12399 0 ST(argvi) = &PL_sv_undef;
12400
12401
12402 0 XSRETURN(argvi);
12403 0 fail:
12404
12405
12406 0 SWIG_croak_null();
12407 }
12408 }
12409  
12410  
12411 0 XS(_wrap_gsl_function_fdf_struct_fdf_get) {
12412 {
12413 0 struct gsl_function_fdf_struct *arg1 = (struct gsl_function_fdf_struct *) 0 ;
12414 0 void *argp1 = 0 ;
12415 0 int res1 = 0 ;
12416 0 int argvi = 0;
12417 0 void (*result)(double,void *,double *,double *) = 0 ;
12418 0 dXSARGS;
12419
12420 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
12421 0 SWIG_croak("Usage: gsl_function_fdf_struct_fdf_get(self);");
12422 }
12423 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_function_fdf_struct, 0 | 0 );
12424 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
12425 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_function_fdf_struct_fdf_get" "', argument " "1"" of type '" "struct gsl_function_fdf_struct *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_function_fdf_struct_fdf_get" "', argument " "1"" of type '" "struct gsl_function_fdf_struct *""'"); 0 0 0
12426 }
12427 0 arg1 = (struct gsl_function_fdf_struct *)(argp1);
12428 0 result = (void (*)(double,void *,double *,double *)) ((arg1)->fdf);
12429 0 ST(argvi) = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_double_p_void_p_double_p_double__void); argvi++ ;
12430
12431 0 XSRETURN(argvi);
12432 0 fail:
12433
12434 0 SWIG_croak_null();
12435 }
12436 }
12437  
12438  
12439 0 XS(_wrap_gsl_function_fdf_struct_params_set) {
12440 {
12441 0 struct gsl_function_fdf_struct *arg1 = (struct gsl_function_fdf_struct *) 0 ;
12442 0 void *arg2 = (void *) 0 ;
12443 0 void *argp1 = 0 ;
12444 0 int res1 = 0 ;
12445 int res2 ;
12446 0 int argvi = 0;
12447 0 dXSARGS;
12448
12449 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
12450 0 SWIG_croak("Usage: gsl_function_fdf_struct_params_set(self,params);");
12451 }
12452 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_function_fdf_struct, 0 | 0 );
12453 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
12454 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_function_fdf_struct_params_set" "', argument " "1"" of type '" "struct gsl_function_fdf_struct *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_function_fdf_struct_params_set" "', argument " "1"" of type '" "struct gsl_function_fdf_struct *""'"); 0 0 0
12455 }
12456 0 arg1 = (struct gsl_function_fdf_struct *)(argp1);
12457 0 res2 = SWIG_ConvertPtr(ST(1),SWIG_as_voidptrptr(&arg2), 0, SWIG_POINTER_DISOWN);
12458 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
12459 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_function_fdf_struct_params_set" "', argument " "2"" of type '" "void *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_function_fdf_struct_params_set" "', argument " "2"" of type '" "void *""'"); 0 0 0
12460 }
12461 0 ▶ if (arg1) (arg1)->params = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->params = arg2; 0 0 0
12462 0 ST(argvi) = &PL_sv_undef;
12463
12464
12465 0 XSRETURN(argvi);
12466 0 fail:
12467
12468
12469 0 SWIG_croak_null();
12470 }
12471 }
12472  
12473  
12474 0 XS(_wrap_gsl_function_fdf_struct_params_get) {
12475 {
12476 0 struct gsl_function_fdf_struct *arg1 = (struct gsl_function_fdf_struct *) 0 ;
12477 0 void *argp1 = 0 ;
12478 0 int res1 = 0 ;
12479 0 int argvi = 0;
12480 0 void *result = 0 ;
12481 0 dXSARGS;
12482
12483 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
12484 0 SWIG_croak("Usage: gsl_function_fdf_struct_params_get(self);");
12485 }
12486 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_function_fdf_struct, 0 | 0 );
12487 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
12488 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_function_fdf_struct_params_get" "', argument " "1"" of type '" "struct gsl_function_fdf_struct *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_function_fdf_struct_params_get" "', argument " "1"" of type '" "struct gsl_function_fdf_struct *""'"); 0 0 0
12489 }
12490 0 arg1 = (struct gsl_function_fdf_struct *)(argp1);
12491 0 result = (void *) ((arg1)->params);
12492 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0); argvi++ ;
12493
12494 0 XSRETURN(argvi);
12495 0 fail:
12496
12497 0 SWIG_croak_null();
12498 }
12499 }
12500  
12501  
12502 0 XS(_wrap_new_gsl_function_fdf_struct) {
12503 {
12504 0 int argvi = 0;
12505 0 struct gsl_function_fdf_struct *result = 0 ;
12506 0 dXSARGS;
12507
12508 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
12509 0 SWIG_croak("Usage: new_gsl_function_fdf_struct();");
12510 }
12511 0 result = (struct gsl_function_fdf_struct *)calloc(1, sizeof(struct gsl_function_fdf_struct));
12512 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_function_fdf_struct, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
12513 0 XSRETURN(argvi);
12514 0 fail:
12515 0 SWIG_croak_null();
12516 }
12517 }
12518  
12519  
12520 0 XS(_wrap_delete_gsl_function_fdf_struct) {
12521 {
12522 0 struct gsl_function_fdf_struct *arg1 = (struct gsl_function_fdf_struct *) 0 ;
12523 0 void *argp1 = 0 ;
12524 0 int res1 = 0 ;
12525 0 int argvi = 0;
12526 0 dXSARGS;
12527
12528 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
12529 0 SWIG_croak("Usage: delete_gsl_function_fdf_struct(self);");
12530 }
12531 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_function_fdf_struct, SWIG_POINTER_DISOWN | 0 );
12532 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
12533 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_gsl_function_fdf_struct" "', argument " "1"" of type '" "struct gsl_function_fdf_struct *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_gsl_function_fdf_struct" "', argument " "1"" of type '" "struct gsl_function_fdf_struct *""'"); 0 0 0
12534 }
12535 0 arg1 = (struct gsl_function_fdf_struct *)(argp1);
12536 0 free((char *) arg1);
12537 0 ST(argvi) = &PL_sv_undef;
12538
12539 0 XSRETURN(argvi);
12540 0 fail:
12541
12542 0 SWIG_croak_null();
12543 }
12544 }
12545  
12546  
12547 0 XS(_wrap_gsl_function_vec_struct_function_set) {
12548 {
12549 0 struct gsl_function_vec_struct *arg1 = (struct gsl_function_vec_struct *) 0 ;
12550 0 int (*arg2)(double,double [],void *) = (int (*)(double,double [],void *)) 0 ;
12551 0 void *argp1 = 0 ;
12552 0 int res1 = 0 ;
12553 0 int argvi = 0;
12554 0 dXSARGS;
12555
12556 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
12557 0 SWIG_croak("Usage: gsl_function_vec_struct_function_set(self,function);");
12558 }
12559 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_function_vec_struct, 0 | 0 );
12560 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
12561 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_function_vec_struct_function_set" "', argument " "1"" of type '" "struct gsl_function_vec_struct *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_function_vec_struct_function_set" "', argument " "1"" of type '" "struct gsl_function_vec_struct *""'"); 0 0 0
12562 }
12563 0 arg1 = (struct gsl_function_vec_struct *)(argp1);
12564 {
12565 0 int res = SWIG_ConvertFunctionPtr(ST(1), (void**)(&arg2), SWIGTYPE_p_f_double_a___double_p_void__int);
12566 0 ▶ if (!SWIG_IsOK(res)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res)) { 0 0 0
12567 0 ▶ SWIG_exception_fail(SWIG_ArgError(res), "in method '" "gsl_function_vec_struct_function_set" "', argument " "2"" of type '" "int (*)(double,double [],void *)""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res), "in method '" "gsl_function_vec_struct_function_set" "', argument " "2"" of type '" "int (*)(double,double [],void *)""'"); 0 0 0
12568 }
12569 }
12570 0 ▶ if (arg1) (arg1)->function = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->function = arg2; 0 0 0
12571 0 ST(argvi) = &PL_sv_undef;
12572
12573
12574 0 XSRETURN(argvi);
12575 0 fail:
12576
12577
12578 0 SWIG_croak_null();
12579 }
12580 }
12581  
12582  
12583 0 XS(_wrap_gsl_function_vec_struct_function_get) {
12584 {
12585 0 struct gsl_function_vec_struct *arg1 = (struct gsl_function_vec_struct *) 0 ;
12586 0 void *argp1 = 0 ;
12587 0 int res1 = 0 ;
12588 0 int argvi = 0;
12589 0 int (*result)(double,double [],void *) = 0 ;
12590 0 dXSARGS;
12591
12592 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
12593 0 SWIG_croak("Usage: gsl_function_vec_struct_function_get(self);");
12594 }
12595 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_function_vec_struct, 0 | 0 );
12596 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
12597 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_function_vec_struct_function_get" "', argument " "1"" of type '" "struct gsl_function_vec_struct *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_function_vec_struct_function_get" "', argument " "1"" of type '" "struct gsl_function_vec_struct *""'"); 0 0 0
12598 }
12599 0 arg1 = (struct gsl_function_vec_struct *)(argp1);
12600 0 result = (int (*)(double,double [],void *)) ((arg1)->function);
12601 0 ST(argvi) = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_double_a___double_p_void__int); argvi++ ;
12602
12603 0 XSRETURN(argvi);
12604 0 fail:
12605
12606 0 SWIG_croak_null();
12607 }
12608 }
12609  
12610  
12611 0 XS(_wrap_gsl_function_vec_struct_params_set) {
12612 {
12613 0 struct gsl_function_vec_struct *arg1 = (struct gsl_function_vec_struct *) 0 ;
12614 0 void *arg2 = (void *) 0 ;
12615 0 void *argp1 = 0 ;
12616 0 int res1 = 0 ;
12617 int res2 ;
12618 0 int argvi = 0;
12619 0 dXSARGS;
12620
12621 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
12622 0 SWIG_croak("Usage: gsl_function_vec_struct_params_set(self,params);");
12623 }
12624 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_function_vec_struct, 0 | 0 );
12625 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
12626 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_function_vec_struct_params_set" "', argument " "1"" of type '" "struct gsl_function_vec_struct *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_function_vec_struct_params_set" "', argument " "1"" of type '" "struct gsl_function_vec_struct *""'"); 0 0 0
12627 }
12628 0 arg1 = (struct gsl_function_vec_struct *)(argp1);
12629 0 res2 = SWIG_ConvertPtr(ST(1),SWIG_as_voidptrptr(&arg2), 0, SWIG_POINTER_DISOWN);
12630 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
12631 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_function_vec_struct_params_set" "', argument " "2"" of type '" "void *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_function_vec_struct_params_set" "', argument " "2"" of type '" "void *""'"); 0 0 0
12632 }
12633 0 ▶ if (arg1) (arg1)->params = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->params = arg2; 0 0 0
12634 0 ST(argvi) = &PL_sv_undef;
12635
12636
12637 0 XSRETURN(argvi);
12638 0 fail:
12639
12640
12641 0 SWIG_croak_null();
12642 }
12643 }
12644  
12645  
12646 0 XS(_wrap_gsl_function_vec_struct_params_get) {
12647 {
12648 0 struct gsl_function_vec_struct *arg1 = (struct gsl_function_vec_struct *) 0 ;
12649 0 void *argp1 = 0 ;
12650 0 int res1 = 0 ;
12651 0 int argvi = 0;
12652 0 void *result = 0 ;
12653 0 dXSARGS;
12654
12655 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
12656 0 SWIG_croak("Usage: gsl_function_vec_struct_params_get(self);");
12657 }
12658 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_function_vec_struct, 0 | 0 );
12659 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
12660 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_function_vec_struct_params_get" "', argument " "1"" of type '" "struct gsl_function_vec_struct *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_function_vec_struct_params_get" "', argument " "1"" of type '" "struct gsl_function_vec_struct *""'"); 0 0 0
12661 }
12662 0 arg1 = (struct gsl_function_vec_struct *)(argp1);
12663 0 result = (void *) ((arg1)->params);
12664 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0); argvi++ ;
12665
12666 0 XSRETURN(argvi);
12667 0 fail:
12668
12669 0 SWIG_croak_null();
12670 }
12671 }
12672  
12673  
12674 0 XS(_wrap_new_gsl_function_vec_struct) {
12675 {
12676 0 int argvi = 0;
12677 0 struct gsl_function_vec_struct *result = 0 ;
12678 0 dXSARGS;
12679
12680 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
12681 0 SWIG_croak("Usage: new_gsl_function_vec_struct();");
12682 }
12683 0 result = (struct gsl_function_vec_struct *)calloc(1, sizeof(struct gsl_function_vec_struct));
12684 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_function_vec_struct, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
12685 0 XSRETURN(argvi);
12686 0 fail:
12687 0 SWIG_croak_null();
12688 }
12689 }
12690  
12691  
12692 0 XS(_wrap_delete_gsl_function_vec_struct) {
12693 {
12694 0 struct gsl_function_vec_struct *arg1 = (struct gsl_function_vec_struct *) 0 ;
12695 0 void *argp1 = 0 ;
12696 0 int res1 = 0 ;
12697 0 int argvi = 0;
12698 0 dXSARGS;
12699
12700 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
12701 0 SWIG_croak("Usage: delete_gsl_function_vec_struct(self);");
12702 }
12703 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_function_vec_struct, SWIG_POINTER_DISOWN | 0 );
12704 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
12705 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_gsl_function_vec_struct" "', argument " "1"" of type '" "struct gsl_function_vec_struct *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_gsl_function_vec_struct" "', argument " "1"" of type '" "struct gsl_function_vec_struct *""'"); 0 0 0
12706 }
12707 0 arg1 = (struct gsl_function_vec_struct *)(argp1);
12708 0 free((char *) arg1);
12709 0 ST(argvi) = &PL_sv_undef;
12710
12711 0 XSRETURN(argvi);
12712 0 fail:
12713
12714 0 SWIG_croak_null();
12715 }
12716 }
12717  
12718  
12719  
12720 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
12721  
12722 static swig_type_info _swigt__p_FILE = {"_p_FILE", "FILE *", 0, 0, (void*)0, 0};
12723 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
12724 static swig_type_info _swigt__p_double = {"_p_double", "double *", 0, 0, (void*)0, 0};
12725 static swig_type_info _swigt__p_f_double_a___double_p_void__int = {"_p_f_double_a___double_p_void__int", "int (*)(double,double [],void *)", 0, 0, (void*)0, 0};
12726 static swig_type_info _swigt__p_f_double_p_void__double = {"_p_f_double_p_void__double", "double (*)(double,void *)", 0, 0, (void*)0, 0};
12727 static swig_type_info _swigt__p_f_double_p_void_p_double_p_double__void = {"_p_f_double_p_void_p_double_p_double__void", "void (*)(double,void *,double *,double *)", 0, 0, (void*)0, 0};
12728 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};
12729 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};
12730 static swig_type_info _swigt__p_f_p_q_const__struct_gsl_function_struct_double_double_p_double_p_double_p_double_p_double__void = {"_p_f_p_q_const__struct_gsl_function_struct_double_double_p_double_p_double_p_double_p_double__void", "gsl_integration_rule *|void (*)(struct gsl_function_struct const *,double,double,double *,double *,double *,double *)", 0, 0, (void*)0, 0};
12731 static swig_type_info _swigt__p_f_q_const__size_t_p_double_p_double_p_gsl_integration_fixed_params__int = {"_p_f_q_const__size_t_p_double_p_double_p_gsl_integration_fixed_params__int", "int (*)(size_t const,double *,double *,gsl_integration_fixed_params *)", 0, 0, (void*)0, 0};
12732 static swig_type_info _swigt__p_f_q_const__size_t_p_q_const__gsl_integration_fixed_params__int = {"_p_f_q_const__size_t_p_q_const__gsl_integration_fixed_params__int", "int (*)(size_t const,gsl_integration_fixed_params const *)", 0, 0, (void*)0, 0};
12733 static swig_type_info _swigt__p_gsl_function_fdf_struct = {"_p_gsl_function_fdf_struct", "gsl_function_fdf *|struct gsl_function_fdf_struct *|gsl_function_fdf_struct *", 0, 0, (void*)"Math::GSL::Integration::gsl_function_fdf_struct", 0};
12734 static swig_type_info _swigt__p_gsl_function_struct = {"_p_gsl_function_struct", "gsl_function *|struct gsl_function_struct *|gsl_function_struct *", 0, 0, (void*)"Math::GSL::Integration::gsl_function_struct", 0};
12735 static swig_type_info _swigt__p_gsl_function_vec_struct = {"_p_gsl_function_vec_struct", "gsl_function_vec *|struct gsl_function_vec_struct *|gsl_function_vec_struct *", 0, 0, (void*)"Math::GSL::Integration::gsl_function_vec_struct", 0};
12736 static swig_type_info _swigt__p_gsl_integration_cquad_ival = {"_p_gsl_integration_cquad_ival", "gsl_integration_cquad_ival *", 0, 0, (void*)"Math::GSL::Integration::gsl_integration_cquad_ival", 0};
12737 static swig_type_info _swigt__p_gsl_integration_cquad_workspace = {"_p_gsl_integration_cquad_workspace", "gsl_integration_cquad_workspace *", 0, 0, (void*)"Math::GSL::Integration::gsl_integration_cquad_workspace", 0};
12738 static swig_type_info _swigt__p_gsl_integration_fixed_params = {"_p_gsl_integration_fixed_params", "gsl_integration_fixed_params *", 0, 0, (void*)"Math::GSL::Integration::gsl_integration_fixed_params", 0};
12739 static swig_type_info _swigt__p_gsl_integration_fixed_type = {"_p_gsl_integration_fixed_type", "gsl_integration_fixed_type *", 0, 0, (void*)"Math::GSL::Integration::gsl_integration_fixed_type", 0};
12740 static swig_type_info _swigt__p_gsl_integration_fixed_workspace = {"_p_gsl_integration_fixed_workspace", "gsl_integration_fixed_workspace *", 0, 0, (void*)"Math::GSL::Integration::gsl_integration_fixed_workspace", 0};
12741 static swig_type_info _swigt__p_gsl_integration_glfixed_table = {"_p_gsl_integration_glfixed_table", "gsl_integration_glfixed_table *", 0, 0, (void*)"Math::GSL::Integration::gsl_integration_glfixed_table", 0};
12742 static swig_type_info _swigt__p_gsl_integration_lebedev_workspace = {"_p_gsl_integration_lebedev_workspace", "gsl_integration_lebedev_workspace *", 0, 0, (void*)"Math::GSL::Integration::gsl_integration_lebedev_workspace", 0};
12743 static swig_type_info _swigt__p_gsl_integration_qawo_table = {"_p_gsl_integration_qawo_table", "gsl_integration_qawo_table *", 0, 0, (void*)"Math::GSL::Integration::gsl_integration_qawo_table", 0};
12744 static swig_type_info _swigt__p_gsl_integration_qaws_table = {"_p_gsl_integration_qaws_table", "gsl_integration_qaws_table *", 0, 0, (void*)"Math::GSL::Integration::gsl_integration_qaws_table", 0};
12745 static swig_type_info _swigt__p_gsl_integration_romberg_workspace = {"_p_gsl_integration_romberg_workspace", "gsl_integration_romberg_workspace *", 0, 0, (void*)"Math::GSL::Integration::gsl_integration_romberg_workspace", 0};
12746 static swig_type_info _swigt__p_gsl_integration_workspace = {"_p_gsl_integration_workspace", "gsl_integration_workspace *", 0, 0, (void*)"Math::GSL::Integration::gsl_integration_workspace", 0};
12747 static swig_type_info _swigt__p_size_t = {"_p_size_t", "size_t *", 0, 0, (void*)0, 0};
12748 static swig_type_info _swigt__p_void = {"_p_void", "void *", 0, 0, (void*)0, 0};
12749  
12750 static swig_type_info *swig_type_initial[] = {
12751 &_swigt__p_FILE,
12752 &_swigt__p_char,
12753 &_swigt__p_double,
12754 &_swigt__p_f_double_a___double_p_void__int,
12755 &_swigt__p_f_double_p_void__double,
12756 &_swigt__p_f_double_p_void_p_double_p_double__void,
12757 &_swigt__p_f_p_q_const__char_p_q_const__char_int_int__void,
12758 &_swigt__p_f_p_q_const__char_p_q_const__char_int_p_q_const__char__void,
12759 &_swigt__p_f_p_q_const__struct_gsl_function_struct_double_double_p_double_p_double_p_double_p_double__void,
12760 &_swigt__p_f_q_const__size_t_p_double_p_double_p_gsl_integration_fixed_params__int,
12761 &_swigt__p_f_q_const__size_t_p_q_const__gsl_integration_fixed_params__int,
12762 &_swigt__p_gsl_function_fdf_struct,
12763 &_swigt__p_gsl_function_struct,
12764 &_swigt__p_gsl_function_vec_struct,
12765 &_swigt__p_gsl_integration_cquad_ival,
12766 &_swigt__p_gsl_integration_cquad_workspace,
12767 &_swigt__p_gsl_integration_fixed_params,
12768 &_swigt__p_gsl_integration_fixed_type,
12769 &_swigt__p_gsl_integration_fixed_workspace,
12770 &_swigt__p_gsl_integration_glfixed_table,
12771 &_swigt__p_gsl_integration_lebedev_workspace,
12772 &_swigt__p_gsl_integration_qawo_table,
12773 &_swigt__p_gsl_integration_qaws_table,
12774 &_swigt__p_gsl_integration_romberg_workspace,
12775 &_swigt__p_gsl_integration_workspace,
12776 &_swigt__p_size_t,
12777 &_swigt__p_void,
12778 };
12779  
12780 static swig_cast_info _swigc__p_FILE[] = { {&_swigt__p_FILE, 0, 0, 0},{0, 0, 0, 0}};
12781 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
12782 static swig_cast_info _swigc__p_double[] = { {&_swigt__p_double, 0, 0, 0},{0, 0, 0, 0}};
12783 static swig_cast_info _swigc__p_f_double_a___double_p_void__int[] = { {&_swigt__p_f_double_a___double_p_void__int, 0, 0, 0},{0, 0, 0, 0}};
12784 static swig_cast_info _swigc__p_f_double_p_void__double[] = { {&_swigt__p_f_double_p_void__double, 0, 0, 0},{0, 0, 0, 0}};
12785 static swig_cast_info _swigc__p_f_double_p_void_p_double_p_double__void[] = { {&_swigt__p_f_double_p_void_p_double_p_double__void, 0, 0, 0},{0, 0, 0, 0}};
12786 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}};
12787 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}};
12788 static swig_cast_info _swigc__p_f_p_q_const__struct_gsl_function_struct_double_double_p_double_p_double_p_double_p_double__void[] = { {&_swigt__p_f_p_q_const__struct_gsl_function_struct_double_double_p_double_p_double_p_double_p_double__void, 0, 0, 0},{0, 0, 0, 0}};
12789 static swig_cast_info _swigc__p_f_q_const__size_t_p_double_p_double_p_gsl_integration_fixed_params__int[] = { {&_swigt__p_f_q_const__size_t_p_double_p_double_p_gsl_integration_fixed_params__int, 0, 0, 0},{0, 0, 0, 0}};
12790 static swig_cast_info _swigc__p_f_q_const__size_t_p_q_const__gsl_integration_fixed_params__int[] = { {&_swigt__p_f_q_const__size_t_p_q_const__gsl_integration_fixed_params__int, 0, 0, 0},{0, 0, 0, 0}};
12791 static swig_cast_info _swigc__p_gsl_function_fdf_struct[] = { {&_swigt__p_gsl_function_fdf_struct, 0, 0, 0},{0, 0, 0, 0}};
12792 static swig_cast_info _swigc__p_gsl_function_struct[] = { {&_swigt__p_gsl_function_struct, 0, 0, 0},{0, 0, 0, 0}};
12793 static swig_cast_info _swigc__p_gsl_function_vec_struct[] = { {&_swigt__p_gsl_function_vec_struct, 0, 0, 0},{0, 0, 0, 0}};
12794 static swig_cast_info _swigc__p_gsl_integration_cquad_ival[] = { {&_swigt__p_gsl_integration_cquad_ival, 0, 0, 0},{0, 0, 0, 0}};
12795 static swig_cast_info _swigc__p_gsl_integration_cquad_workspace[] = { {&_swigt__p_gsl_integration_cquad_workspace, 0, 0, 0},{0, 0, 0, 0}};
12796 static swig_cast_info _swigc__p_gsl_integration_fixed_params[] = { {&_swigt__p_gsl_integration_fixed_params, 0, 0, 0},{0, 0, 0, 0}};
12797 static swig_cast_info _swigc__p_gsl_integration_fixed_type[] = { {&_swigt__p_gsl_integration_fixed_type, 0, 0, 0},{0, 0, 0, 0}};
12798 static swig_cast_info _swigc__p_gsl_integration_fixed_workspace[] = { {&_swigt__p_gsl_integration_fixed_workspace, 0, 0, 0},{0, 0, 0, 0}};
12799 static swig_cast_info _swigc__p_gsl_integration_glfixed_table[] = { {&_swigt__p_gsl_integration_glfixed_table, 0, 0, 0},{0, 0, 0, 0}};
12800 static swig_cast_info _swigc__p_gsl_integration_lebedev_workspace[] = { {&_swigt__p_gsl_integration_lebedev_workspace, 0, 0, 0},{0, 0, 0, 0}};
12801 static swig_cast_info _swigc__p_gsl_integration_qawo_table[] = { {&_swigt__p_gsl_integration_qawo_table, 0, 0, 0},{0, 0, 0, 0}};
12802 static swig_cast_info _swigc__p_gsl_integration_qaws_table[] = { {&_swigt__p_gsl_integration_qaws_table, 0, 0, 0},{0, 0, 0, 0}};
12803 static swig_cast_info _swigc__p_gsl_integration_romberg_workspace[] = { {&_swigt__p_gsl_integration_romberg_workspace, 0, 0, 0},{0, 0, 0, 0}};
12804 static swig_cast_info _swigc__p_gsl_integration_workspace[] = { {&_swigt__p_gsl_integration_workspace, 0, 0, 0},{0, 0, 0, 0}};
12805 static swig_cast_info _swigc__p_size_t[] = { {&_swigt__p_size_t, 0, 0, 0},{0, 0, 0, 0}};
12806 static swig_cast_info _swigc__p_void[] = { {&_swigt__p_void, 0, 0, 0},{0, 0, 0, 0}};
12807  
12808 static swig_cast_info *swig_cast_initial[] = {
12809 _swigc__p_FILE,
12810 _swigc__p_char,
12811 _swigc__p_double,
12812 _swigc__p_f_double_a___double_p_void__int,
12813 _swigc__p_f_double_p_void__double,
12814 _swigc__p_f_double_p_void_p_double_p_double__void,
12815 _swigc__p_f_p_q_const__char_p_q_const__char_int_int__void,
12816 _swigc__p_f_p_q_const__char_p_q_const__char_int_p_q_const__char__void,
12817 _swigc__p_f_p_q_const__struct_gsl_function_struct_double_double_p_double_p_double_p_double_p_double__void,
12818 _swigc__p_f_q_const__size_t_p_double_p_double_p_gsl_integration_fixed_params__int,
12819 _swigc__p_f_q_const__size_t_p_q_const__gsl_integration_fixed_params__int,
12820 _swigc__p_gsl_function_fdf_struct,
12821 _swigc__p_gsl_function_struct,
12822 _swigc__p_gsl_function_vec_struct,
12823 _swigc__p_gsl_integration_cquad_ival,
12824 _swigc__p_gsl_integration_cquad_workspace,
12825 _swigc__p_gsl_integration_fixed_params,
12826 _swigc__p_gsl_integration_fixed_type,
12827 _swigc__p_gsl_integration_fixed_workspace,
12828 _swigc__p_gsl_integration_glfixed_table,
12829 _swigc__p_gsl_integration_lebedev_workspace,
12830 _swigc__p_gsl_integration_qawo_table,
12831 _swigc__p_gsl_integration_qaws_table,
12832 _swigc__p_gsl_integration_romberg_workspace,
12833 _swigc__p_gsl_integration_workspace,
12834 _swigc__p_size_t,
12835 _swigc__p_void,
12836 };
12837  
12838  
12839 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
12840  
12841 static swig_constant_info swig_constants[] = {
12842 {0,0,0,0,0,0}
12843 };
12844 #ifdef __cplusplus
12845 }
12846 #endif
12847 static swig_variable_info swig_variables[] = {
12848 { "Math::GSL::Integrationc::gsl_integration_fixed_legendre", MAGIC_CLASS _wrap_gsl_integration_fixed_legendre_set, MAGIC_CLASS _wrap_gsl_integration_fixed_legendre_get,&SWIGTYPE_p_gsl_integration_fixed_type },
12849 { "Math::GSL::Integrationc::gsl_integration_fixed_chebyshev", MAGIC_CLASS _wrap_gsl_integration_fixed_chebyshev_set, MAGIC_CLASS _wrap_gsl_integration_fixed_chebyshev_get,&SWIGTYPE_p_gsl_integration_fixed_type },
12850 { "Math::GSL::Integrationc::gsl_integration_fixed_gegenbauer", MAGIC_CLASS _wrap_gsl_integration_fixed_gegenbauer_set, MAGIC_CLASS _wrap_gsl_integration_fixed_gegenbauer_get,&SWIGTYPE_p_gsl_integration_fixed_type },
12851 { "Math::GSL::Integrationc::gsl_integration_fixed_jacobi", MAGIC_CLASS _wrap_gsl_integration_fixed_jacobi_set, MAGIC_CLASS _wrap_gsl_integration_fixed_jacobi_get,&SWIGTYPE_p_gsl_integration_fixed_type },
12852 { "Math::GSL::Integrationc::gsl_integration_fixed_laguerre", MAGIC_CLASS _wrap_gsl_integration_fixed_laguerre_set, MAGIC_CLASS _wrap_gsl_integration_fixed_laguerre_get,&SWIGTYPE_p_gsl_integration_fixed_type },
12853 { "Math::GSL::Integrationc::gsl_integration_fixed_hermite", MAGIC_CLASS _wrap_gsl_integration_fixed_hermite_set, MAGIC_CLASS _wrap_gsl_integration_fixed_hermite_get,&SWIGTYPE_p_gsl_integration_fixed_type },
12854 { "Math::GSL::Integrationc::gsl_integration_fixed_exponential", MAGIC_CLASS _wrap_gsl_integration_fixed_exponential_set, MAGIC_CLASS _wrap_gsl_integration_fixed_exponential_get,&SWIGTYPE_p_gsl_integration_fixed_type },
12855 { "Math::GSL::Integrationc::gsl_integration_fixed_rational", MAGIC_CLASS _wrap_gsl_integration_fixed_rational_set, MAGIC_CLASS _wrap_gsl_integration_fixed_rational_get,&SWIGTYPE_p_gsl_integration_fixed_type },
12856 { "Math::GSL::Integrationc::gsl_integration_fixed_chebyshev2", MAGIC_CLASS _wrap_gsl_integration_fixed_chebyshev2_set, MAGIC_CLASS _wrap_gsl_integration_fixed_chebyshev2_get,&SWIGTYPE_p_gsl_integration_fixed_type },
12857 {0,0,0,0}
12858 };
12859 static swig_command_info swig_commands[] = {
12860 {"Math::GSL::Integrationc::gsl_error", _wrap_gsl_error},
12861 {"Math::GSL::Integrationc::gsl_stream_printf", _wrap_gsl_stream_printf},
12862 {"Math::GSL::Integrationc::gsl_strerror", _wrap_gsl_strerror},
12863 {"Math::GSL::Integrationc::gsl_set_error_handler", _wrap_gsl_set_error_handler},
12864 {"Math::GSL::Integrationc::gsl_set_error_handler_off", _wrap_gsl_set_error_handler_off},
12865 {"Math::GSL::Integrationc::gsl_set_stream_handler", _wrap_gsl_set_stream_handler},
12866 {"Math::GSL::Integrationc::gsl_set_stream", _wrap_gsl_set_stream},
12867 {"Math::GSL::Integrationc::gsl_integration_workspace_limit_set", _wrap_gsl_integration_workspace_limit_set},
12868 {"Math::GSL::Integrationc::gsl_integration_workspace_limit_get", _wrap_gsl_integration_workspace_limit_get},
12869 {"Math::GSL::Integrationc::gsl_integration_workspace_size_set", _wrap_gsl_integration_workspace_size_set},
12870 {"Math::GSL::Integrationc::gsl_integration_workspace_size_get", _wrap_gsl_integration_workspace_size_get},
12871 {"Math::GSL::Integrationc::gsl_integration_workspace_nrmax_set", _wrap_gsl_integration_workspace_nrmax_set},
12872 {"Math::GSL::Integrationc::gsl_integration_workspace_nrmax_get", _wrap_gsl_integration_workspace_nrmax_get},
12873 {"Math::GSL::Integrationc::gsl_integration_workspace_i_set", _wrap_gsl_integration_workspace_i_set},
12874 {"Math::GSL::Integrationc::gsl_integration_workspace_i_get", _wrap_gsl_integration_workspace_i_get},
12875 {"Math::GSL::Integrationc::gsl_integration_workspace_maximum_level_set", _wrap_gsl_integration_workspace_maximum_level_set},
12876 {"Math::GSL::Integrationc::gsl_integration_workspace_maximum_level_get", _wrap_gsl_integration_workspace_maximum_level_get},
12877 {"Math::GSL::Integrationc::gsl_integration_workspace_alist_set", _wrap_gsl_integration_workspace_alist_set},
12878 {"Math::GSL::Integrationc::gsl_integration_workspace_alist_get", _wrap_gsl_integration_workspace_alist_get},
12879 {"Math::GSL::Integrationc::gsl_integration_workspace_blist_set", _wrap_gsl_integration_workspace_blist_set},
12880 {"Math::GSL::Integrationc::gsl_integration_workspace_blist_get", _wrap_gsl_integration_workspace_blist_get},
12881 {"Math::GSL::Integrationc::gsl_integration_workspace_rlist_set", _wrap_gsl_integration_workspace_rlist_set},
12882 {"Math::GSL::Integrationc::gsl_integration_workspace_rlist_get", _wrap_gsl_integration_workspace_rlist_get},
12883 {"Math::GSL::Integrationc::gsl_integration_workspace_elist_set", _wrap_gsl_integration_workspace_elist_set},
12884 {"Math::GSL::Integrationc::gsl_integration_workspace_elist_get", _wrap_gsl_integration_workspace_elist_get},
12885 {"Math::GSL::Integrationc::gsl_integration_workspace_order_set", _wrap_gsl_integration_workspace_order_set},
12886 {"Math::GSL::Integrationc::gsl_integration_workspace_order_get", _wrap_gsl_integration_workspace_order_get},
12887 {"Math::GSL::Integrationc::gsl_integration_workspace_level_set", _wrap_gsl_integration_workspace_level_set},
12888 {"Math::GSL::Integrationc::gsl_integration_workspace_level_get", _wrap_gsl_integration_workspace_level_get},
12889 {"Math::GSL::Integrationc::new_gsl_integration_workspace", _wrap_new_gsl_integration_workspace},
12890 {"Math::GSL::Integrationc::delete_gsl_integration_workspace", _wrap_delete_gsl_integration_workspace},
12891 {"Math::GSL::Integrationc::gsl_integration_workspace_alloc", _wrap_gsl_integration_workspace_alloc},
12892 {"Math::GSL::Integrationc::gsl_integration_workspace_free", _wrap_gsl_integration_workspace_free},
12893 {"Math::GSL::Integrationc::gsl_integration_qaws_table_alpha_set", _wrap_gsl_integration_qaws_table_alpha_set},
12894 {"Math::GSL::Integrationc::gsl_integration_qaws_table_alpha_get", _wrap_gsl_integration_qaws_table_alpha_get},
12895 {"Math::GSL::Integrationc::gsl_integration_qaws_table_beta_set", _wrap_gsl_integration_qaws_table_beta_set},
12896 {"Math::GSL::Integrationc::gsl_integration_qaws_table_beta_get", _wrap_gsl_integration_qaws_table_beta_get},
12897 {"Math::GSL::Integrationc::gsl_integration_qaws_table_mu_set", _wrap_gsl_integration_qaws_table_mu_set},
12898 {"Math::GSL::Integrationc::gsl_integration_qaws_table_mu_get", _wrap_gsl_integration_qaws_table_mu_get},
12899 {"Math::GSL::Integrationc::gsl_integration_qaws_table_nu_set", _wrap_gsl_integration_qaws_table_nu_set},
12900 {"Math::GSL::Integrationc::gsl_integration_qaws_table_nu_get", _wrap_gsl_integration_qaws_table_nu_get},
12901 {"Math::GSL::Integrationc::gsl_integration_qaws_table_ri_set", _wrap_gsl_integration_qaws_table_ri_set},
12902 {"Math::GSL::Integrationc::gsl_integration_qaws_table_ri_get", _wrap_gsl_integration_qaws_table_ri_get},
12903 {"Math::GSL::Integrationc::gsl_integration_qaws_table_rj_set", _wrap_gsl_integration_qaws_table_rj_set},
12904 {"Math::GSL::Integrationc::gsl_integration_qaws_table_rj_get", _wrap_gsl_integration_qaws_table_rj_get},
12905 {"Math::GSL::Integrationc::gsl_integration_qaws_table_rg_set", _wrap_gsl_integration_qaws_table_rg_set},
12906 {"Math::GSL::Integrationc::gsl_integration_qaws_table_rg_get", _wrap_gsl_integration_qaws_table_rg_get},
12907 {"Math::GSL::Integrationc::gsl_integration_qaws_table_rh_set", _wrap_gsl_integration_qaws_table_rh_set},
12908 {"Math::GSL::Integrationc::gsl_integration_qaws_table_rh_get", _wrap_gsl_integration_qaws_table_rh_get},
12909 {"Math::GSL::Integrationc::new_gsl_integration_qaws_table", _wrap_new_gsl_integration_qaws_table},
12910 {"Math::GSL::Integrationc::delete_gsl_integration_qaws_table", _wrap_delete_gsl_integration_qaws_table},
12911 {"Math::GSL::Integrationc::gsl_integration_qaws_table_alloc", _wrap_gsl_integration_qaws_table_alloc},
12912 {"Math::GSL::Integrationc::gsl_integration_qaws_table_set", _wrap_gsl_integration_qaws_table_set},
12913 {"Math::GSL::Integrationc::gsl_integration_qaws_table_free", _wrap_gsl_integration_qaws_table_free},
12914 {"Math::GSL::Integrationc::gsl_integration_qawo_table_n_set", _wrap_gsl_integration_qawo_table_n_set},
12915 {"Math::GSL::Integrationc::gsl_integration_qawo_table_n_get", _wrap_gsl_integration_qawo_table_n_get},
12916 {"Math::GSL::Integrationc::gsl_integration_qawo_table_omega_set", _wrap_gsl_integration_qawo_table_omega_set},
12917 {"Math::GSL::Integrationc::gsl_integration_qawo_table_omega_get", _wrap_gsl_integration_qawo_table_omega_get},
12918 {"Math::GSL::Integrationc::gsl_integration_qawo_table_L_set", _wrap_gsl_integration_qawo_table_L_set},
12919 {"Math::GSL::Integrationc::gsl_integration_qawo_table_L_get", _wrap_gsl_integration_qawo_table_L_get},
12920 {"Math::GSL::Integrationc::gsl_integration_qawo_table_par_set", _wrap_gsl_integration_qawo_table_par_set},
12921 {"Math::GSL::Integrationc::gsl_integration_qawo_table_par_get", _wrap_gsl_integration_qawo_table_par_get},
12922 {"Math::GSL::Integrationc::gsl_integration_qawo_table_sine_set", _wrap_gsl_integration_qawo_table_sine_set},
12923 {"Math::GSL::Integrationc::gsl_integration_qawo_table_sine_get", _wrap_gsl_integration_qawo_table_sine_get},
12924 {"Math::GSL::Integrationc::gsl_integration_qawo_table_chebmo_set", _wrap_gsl_integration_qawo_table_chebmo_set},
12925 {"Math::GSL::Integrationc::gsl_integration_qawo_table_chebmo_get", _wrap_gsl_integration_qawo_table_chebmo_get},
12926 {"Math::GSL::Integrationc::new_gsl_integration_qawo_table", _wrap_new_gsl_integration_qawo_table},
12927 {"Math::GSL::Integrationc::delete_gsl_integration_qawo_table", _wrap_delete_gsl_integration_qawo_table},
12928 {"Math::GSL::Integrationc::gsl_integration_qawo_table_alloc", _wrap_gsl_integration_qawo_table_alloc},
12929 {"Math::GSL::Integrationc::gsl_integration_qawo_table_set", _wrap_gsl_integration_qawo_table_set},
12930 {"Math::GSL::Integrationc::gsl_integration_qawo_table_set_length", _wrap_gsl_integration_qawo_table_set_length},
12931 {"Math::GSL::Integrationc::gsl_integration_qawo_table_free", _wrap_gsl_integration_qawo_table_free},
12932 {"Math::GSL::Integrationc::gsl_integration_qk15", _wrap_gsl_integration_qk15},
12933 {"Math::GSL::Integrationc::gsl_integration_qk21", _wrap_gsl_integration_qk21},
12934 {"Math::GSL::Integrationc::gsl_integration_qk31", _wrap_gsl_integration_qk31},
12935 {"Math::GSL::Integrationc::gsl_integration_qk41", _wrap_gsl_integration_qk41},
12936 {"Math::GSL::Integrationc::gsl_integration_qk51", _wrap_gsl_integration_qk51},
12937 {"Math::GSL::Integrationc::gsl_integration_qk61", _wrap_gsl_integration_qk61},
12938 {"Math::GSL::Integrationc::gsl_integration_qcheb", _wrap_gsl_integration_qcheb},
12939 {"Math::GSL::Integrationc::gsl_integration_qk", _wrap_gsl_integration_qk},
12940 {"Math::GSL::Integrationc::gsl_integration_qng", _wrap_gsl_integration_qng},
12941 {"Math::GSL::Integrationc::gsl_integration_qag", _wrap_gsl_integration_qag},
12942 {"Math::GSL::Integrationc::gsl_integration_qagi", _wrap_gsl_integration_qagi},
12943 {"Math::GSL::Integrationc::gsl_integration_qagiu", _wrap_gsl_integration_qagiu},
12944 {"Math::GSL::Integrationc::gsl_integration_qagil", _wrap_gsl_integration_qagil},
12945 {"Math::GSL::Integrationc::gsl_integration_qags", _wrap_gsl_integration_qags},
12946 {"Math::GSL::Integrationc::gsl_integration_qagp", _wrap_gsl_integration_qagp},
12947 {"Math::GSL::Integrationc::gsl_integration_qawc", _wrap_gsl_integration_qawc},
12948 {"Math::GSL::Integrationc::gsl_integration_qaws", _wrap_gsl_integration_qaws},
12949 {"Math::GSL::Integrationc::gsl_integration_qawo", _wrap_gsl_integration_qawo},
12950 {"Math::GSL::Integrationc::gsl_integration_qawf", _wrap_gsl_integration_qawf},
12951 {"Math::GSL::Integrationc::gsl_integration_glfixed_table_n_set", _wrap_gsl_integration_glfixed_table_n_set},
12952 {"Math::GSL::Integrationc::gsl_integration_glfixed_table_n_get", _wrap_gsl_integration_glfixed_table_n_get},
12953 {"Math::GSL::Integrationc::gsl_integration_glfixed_table_x_set", _wrap_gsl_integration_glfixed_table_x_set},
12954 {"Math::GSL::Integrationc::gsl_integration_glfixed_table_x_get", _wrap_gsl_integration_glfixed_table_x_get},
12955 {"Math::GSL::Integrationc::gsl_integration_glfixed_table_w_set", _wrap_gsl_integration_glfixed_table_w_set},
12956 {"Math::GSL::Integrationc::gsl_integration_glfixed_table_w_get", _wrap_gsl_integration_glfixed_table_w_get},
12957 {"Math::GSL::Integrationc::gsl_integration_glfixed_table_precomputed_set", _wrap_gsl_integration_glfixed_table_precomputed_set},
12958 {"Math::GSL::Integrationc::gsl_integration_glfixed_table_precomputed_get", _wrap_gsl_integration_glfixed_table_precomputed_get},
12959 {"Math::GSL::Integrationc::new_gsl_integration_glfixed_table", _wrap_new_gsl_integration_glfixed_table},
12960 {"Math::GSL::Integrationc::delete_gsl_integration_glfixed_table", _wrap_delete_gsl_integration_glfixed_table},
12961 {"Math::GSL::Integrationc::gsl_integration_glfixed_table_alloc", _wrap_gsl_integration_glfixed_table_alloc},
12962 {"Math::GSL::Integrationc::gsl_integration_glfixed_table_free", _wrap_gsl_integration_glfixed_table_free},
12963 {"Math::GSL::Integrationc::gsl_integration_glfixed", _wrap_gsl_integration_glfixed},
12964 {"Math::GSL::Integrationc::gsl_integration_glfixed_point", _wrap_gsl_integration_glfixed_point},
12965 {"Math::GSL::Integrationc::gsl_integration_cquad_ival_a_set", _wrap_gsl_integration_cquad_ival_a_set},
12966 {"Math::GSL::Integrationc::gsl_integration_cquad_ival_a_get", _wrap_gsl_integration_cquad_ival_a_get},
12967 {"Math::GSL::Integrationc::gsl_integration_cquad_ival_b_set", _wrap_gsl_integration_cquad_ival_b_set},
12968 {"Math::GSL::Integrationc::gsl_integration_cquad_ival_b_get", _wrap_gsl_integration_cquad_ival_b_get},
12969 {"Math::GSL::Integrationc::gsl_integration_cquad_ival_c_set", _wrap_gsl_integration_cquad_ival_c_set},
12970 {"Math::GSL::Integrationc::gsl_integration_cquad_ival_c_get", _wrap_gsl_integration_cquad_ival_c_get},
12971 {"Math::GSL::Integrationc::gsl_integration_cquad_ival_fx_set", _wrap_gsl_integration_cquad_ival_fx_set},
12972 {"Math::GSL::Integrationc::gsl_integration_cquad_ival_fx_get", _wrap_gsl_integration_cquad_ival_fx_get},
12973 {"Math::GSL::Integrationc::gsl_integration_cquad_ival_igral_set", _wrap_gsl_integration_cquad_ival_igral_set},
12974 {"Math::GSL::Integrationc::gsl_integration_cquad_ival_igral_get", _wrap_gsl_integration_cquad_ival_igral_get},
12975 {"Math::GSL::Integrationc::gsl_integration_cquad_ival_err_set", _wrap_gsl_integration_cquad_ival_err_set},
12976 {"Math::GSL::Integrationc::gsl_integration_cquad_ival_err_get", _wrap_gsl_integration_cquad_ival_err_get},
12977 {"Math::GSL::Integrationc::gsl_integration_cquad_ival_depth_set", _wrap_gsl_integration_cquad_ival_depth_set},
12978 {"Math::GSL::Integrationc::gsl_integration_cquad_ival_depth_get", _wrap_gsl_integration_cquad_ival_depth_get},
12979 {"Math::GSL::Integrationc::gsl_integration_cquad_ival_rdepth_set", _wrap_gsl_integration_cquad_ival_rdepth_set},
12980 {"Math::GSL::Integrationc::gsl_integration_cquad_ival_rdepth_get", _wrap_gsl_integration_cquad_ival_rdepth_get},
12981 {"Math::GSL::Integrationc::gsl_integration_cquad_ival_ndiv_set", _wrap_gsl_integration_cquad_ival_ndiv_set},
12982 {"Math::GSL::Integrationc::gsl_integration_cquad_ival_ndiv_get", _wrap_gsl_integration_cquad_ival_ndiv_get},
12983 {"Math::GSL::Integrationc::new_gsl_integration_cquad_ival", _wrap_new_gsl_integration_cquad_ival},
12984 {"Math::GSL::Integrationc::delete_gsl_integration_cquad_ival", _wrap_delete_gsl_integration_cquad_ival},
12985 {"Math::GSL::Integrationc::gsl_integration_cquad_workspace_size_set", _wrap_gsl_integration_cquad_workspace_size_set},
12986 {"Math::GSL::Integrationc::gsl_integration_cquad_workspace_size_get", _wrap_gsl_integration_cquad_workspace_size_get},
12987 {"Math::GSL::Integrationc::gsl_integration_cquad_workspace_ivals_set", _wrap_gsl_integration_cquad_workspace_ivals_set},
12988 {"Math::GSL::Integrationc::gsl_integration_cquad_workspace_ivals_get", _wrap_gsl_integration_cquad_workspace_ivals_get},
12989 {"Math::GSL::Integrationc::gsl_integration_cquad_workspace_heap_set", _wrap_gsl_integration_cquad_workspace_heap_set},
12990 {"Math::GSL::Integrationc::gsl_integration_cquad_workspace_heap_get", _wrap_gsl_integration_cquad_workspace_heap_get},
12991 {"Math::GSL::Integrationc::new_gsl_integration_cquad_workspace", _wrap_new_gsl_integration_cquad_workspace},
12992 {"Math::GSL::Integrationc::delete_gsl_integration_cquad_workspace", _wrap_delete_gsl_integration_cquad_workspace},
12993 {"Math::GSL::Integrationc::gsl_integration_cquad_workspace_alloc", _wrap_gsl_integration_cquad_workspace_alloc},
12994 {"Math::GSL::Integrationc::gsl_integration_cquad_workspace_free", _wrap_gsl_integration_cquad_workspace_free},
12995 {"Math::GSL::Integrationc::gsl_integration_cquad", _wrap_gsl_integration_cquad},
12996 {"Math::GSL::Integrationc::gsl_integration_romberg_workspace_n_set", _wrap_gsl_integration_romberg_workspace_n_set},
12997 {"Math::GSL::Integrationc::gsl_integration_romberg_workspace_n_get", _wrap_gsl_integration_romberg_workspace_n_get},
12998 {"Math::GSL::Integrationc::gsl_integration_romberg_workspace_work1_set", _wrap_gsl_integration_romberg_workspace_work1_set},
12999 {"Math::GSL::Integrationc::gsl_integration_romberg_workspace_work1_get", _wrap_gsl_integration_romberg_workspace_work1_get},
13000 {"Math::GSL::Integrationc::gsl_integration_romberg_workspace_work2_set", _wrap_gsl_integration_romberg_workspace_work2_set},
13001 {"Math::GSL::Integrationc::gsl_integration_romberg_workspace_work2_get", _wrap_gsl_integration_romberg_workspace_work2_get},
13002 {"Math::GSL::Integrationc::new_gsl_integration_romberg_workspace", _wrap_new_gsl_integration_romberg_workspace},
13003 {"Math::GSL::Integrationc::delete_gsl_integration_romberg_workspace", _wrap_delete_gsl_integration_romberg_workspace},
13004 {"Math::GSL::Integrationc::gsl_integration_romberg_alloc", _wrap_gsl_integration_romberg_alloc},
13005 {"Math::GSL::Integrationc::gsl_integration_romberg_free", _wrap_gsl_integration_romberg_free},
13006 {"Math::GSL::Integrationc::gsl_integration_romberg", _wrap_gsl_integration_romberg},
13007 {"Math::GSL::Integrationc::gsl_integration_fixed_params_alpha_set", _wrap_gsl_integration_fixed_params_alpha_set},
13008 {"Math::GSL::Integrationc::gsl_integration_fixed_params_alpha_get", _wrap_gsl_integration_fixed_params_alpha_get},
13009 {"Math::GSL::Integrationc::gsl_integration_fixed_params_beta_set", _wrap_gsl_integration_fixed_params_beta_set},
13010 {"Math::GSL::Integrationc::gsl_integration_fixed_params_beta_get", _wrap_gsl_integration_fixed_params_beta_get},
13011 {"Math::GSL::Integrationc::gsl_integration_fixed_params_a_set", _wrap_gsl_integration_fixed_params_a_set},
13012 {"Math::GSL::Integrationc::gsl_integration_fixed_params_a_get", _wrap_gsl_integration_fixed_params_a_get},
13013 {"Math::GSL::Integrationc::gsl_integration_fixed_params_b_set", _wrap_gsl_integration_fixed_params_b_set},
13014 {"Math::GSL::Integrationc::gsl_integration_fixed_params_b_get", _wrap_gsl_integration_fixed_params_b_get},
13015 {"Math::GSL::Integrationc::gsl_integration_fixed_params_zemu_set", _wrap_gsl_integration_fixed_params_zemu_set},
13016 {"Math::GSL::Integrationc::gsl_integration_fixed_params_zemu_get", _wrap_gsl_integration_fixed_params_zemu_get},
13017 {"Math::GSL::Integrationc::gsl_integration_fixed_params_shft_set", _wrap_gsl_integration_fixed_params_shft_set},
13018 {"Math::GSL::Integrationc::gsl_integration_fixed_params_shft_get", _wrap_gsl_integration_fixed_params_shft_get},
13019 {"Math::GSL::Integrationc::gsl_integration_fixed_params_slp_set", _wrap_gsl_integration_fixed_params_slp_set},
13020 {"Math::GSL::Integrationc::gsl_integration_fixed_params_slp_get", _wrap_gsl_integration_fixed_params_slp_get},
13021 {"Math::GSL::Integrationc::gsl_integration_fixed_params_al_set", _wrap_gsl_integration_fixed_params_al_set},
13022 {"Math::GSL::Integrationc::gsl_integration_fixed_params_al_get", _wrap_gsl_integration_fixed_params_al_get},
13023 {"Math::GSL::Integrationc::gsl_integration_fixed_params_be_set", _wrap_gsl_integration_fixed_params_be_set},
13024 {"Math::GSL::Integrationc::gsl_integration_fixed_params_be_get", _wrap_gsl_integration_fixed_params_be_get},
13025 {"Math::GSL::Integrationc::new_gsl_integration_fixed_params", _wrap_new_gsl_integration_fixed_params},
13026 {"Math::GSL::Integrationc::delete_gsl_integration_fixed_params", _wrap_delete_gsl_integration_fixed_params},
13027 {"Math::GSL::Integrationc::gsl_integration_fixed_type_check_set", _wrap_gsl_integration_fixed_type_check_set},
13028 {"Math::GSL::Integrationc::gsl_integration_fixed_type_check_get", _wrap_gsl_integration_fixed_type_check_get},
13029 {"Math::GSL::Integrationc::gsl_integration_fixed_type_init_set", _wrap_gsl_integration_fixed_type_init_set},
13030 {"Math::GSL::Integrationc::gsl_integration_fixed_type_init_get", _wrap_gsl_integration_fixed_type_init_get},
13031 {"Math::GSL::Integrationc::new_gsl_integration_fixed_type", _wrap_new_gsl_integration_fixed_type},
13032 {"Math::GSL::Integrationc::delete_gsl_integration_fixed_type", _wrap_delete_gsl_integration_fixed_type},
13033 {"Math::GSL::Integrationc::gsl_integration_fixed_workspace_n_set", _wrap_gsl_integration_fixed_workspace_n_set},
13034 {"Math::GSL::Integrationc::gsl_integration_fixed_workspace_n_get", _wrap_gsl_integration_fixed_workspace_n_get},
13035 {"Math::GSL::Integrationc::gsl_integration_fixed_workspace_weights_set", _wrap_gsl_integration_fixed_workspace_weights_set},
13036 {"Math::GSL::Integrationc::gsl_integration_fixed_workspace_weights_get", _wrap_gsl_integration_fixed_workspace_weights_get},
13037 {"Math::GSL::Integrationc::gsl_integration_fixed_workspace_x_set", _wrap_gsl_integration_fixed_workspace_x_set},
13038 {"Math::GSL::Integrationc::gsl_integration_fixed_workspace_x_get", _wrap_gsl_integration_fixed_workspace_x_get},
13039 {"Math::GSL::Integrationc::gsl_integration_fixed_workspace_diag_set", _wrap_gsl_integration_fixed_workspace_diag_set},
13040 {"Math::GSL::Integrationc::gsl_integration_fixed_workspace_diag_get", _wrap_gsl_integration_fixed_workspace_diag_get},
13041 {"Math::GSL::Integrationc::gsl_integration_fixed_workspace_subdiag_set", _wrap_gsl_integration_fixed_workspace_subdiag_set},
13042 {"Math::GSL::Integrationc::gsl_integration_fixed_workspace_subdiag_get", _wrap_gsl_integration_fixed_workspace_subdiag_get},
13043 {"Math::GSL::Integrationc::gsl_integration_fixed_workspace_type_set", _wrap_gsl_integration_fixed_workspace_type_set},
13044 {"Math::GSL::Integrationc::gsl_integration_fixed_workspace_type_get", _wrap_gsl_integration_fixed_workspace_type_get},
13045 {"Math::GSL::Integrationc::new_gsl_integration_fixed_workspace", _wrap_new_gsl_integration_fixed_workspace},
13046 {"Math::GSL::Integrationc::delete_gsl_integration_fixed_workspace", _wrap_delete_gsl_integration_fixed_workspace},
13047 {"Math::GSL::Integrationc::gsl_integration_fixed_alloc", _wrap_gsl_integration_fixed_alloc},
13048 {"Math::GSL::Integrationc::gsl_integration_fixed_free", _wrap_gsl_integration_fixed_free},
13049 {"Math::GSL::Integrationc::gsl_integration_fixed_n", _wrap_gsl_integration_fixed_n},
13050 {"Math::GSL::Integrationc::gsl_integration_fixed_nodes", _wrap_gsl_integration_fixed_nodes},
13051 {"Math::GSL::Integrationc::gsl_integration_fixed_weights", _wrap_gsl_integration_fixed_weights},
13052 {"Math::GSL::Integrationc::gsl_integration_fixed", _wrap_gsl_integration_fixed},
13053 {"Math::GSL::Integrationc::gsl_integration_lebedev_workspace_n_set", _wrap_gsl_integration_lebedev_workspace_n_set},
13054 {"Math::GSL::Integrationc::gsl_integration_lebedev_workspace_n_get", _wrap_gsl_integration_lebedev_workspace_n_get},
13055 {"Math::GSL::Integrationc::gsl_integration_lebedev_workspace_weights_set", _wrap_gsl_integration_lebedev_workspace_weights_set},
13056 {"Math::GSL::Integrationc::gsl_integration_lebedev_workspace_weights_get", _wrap_gsl_integration_lebedev_workspace_weights_get},
13057 {"Math::GSL::Integrationc::gsl_integration_lebedev_workspace_x_set", _wrap_gsl_integration_lebedev_workspace_x_set},
13058 {"Math::GSL::Integrationc::gsl_integration_lebedev_workspace_x_get", _wrap_gsl_integration_lebedev_workspace_x_get},
13059 {"Math::GSL::Integrationc::gsl_integration_lebedev_workspace_y_set", _wrap_gsl_integration_lebedev_workspace_y_set},
13060 {"Math::GSL::Integrationc::gsl_integration_lebedev_workspace_y_get", _wrap_gsl_integration_lebedev_workspace_y_get},
13061 {"Math::GSL::Integrationc::gsl_integration_lebedev_workspace_z_set", _wrap_gsl_integration_lebedev_workspace_z_set},
13062 {"Math::GSL::Integrationc::gsl_integration_lebedev_workspace_z_get", _wrap_gsl_integration_lebedev_workspace_z_get},
13063 {"Math::GSL::Integrationc::gsl_integration_lebedev_workspace_theta_set", _wrap_gsl_integration_lebedev_workspace_theta_set},
13064 {"Math::GSL::Integrationc::gsl_integration_lebedev_workspace_theta_get", _wrap_gsl_integration_lebedev_workspace_theta_get},
13065 {"Math::GSL::Integrationc::gsl_integration_lebedev_workspace_phi_set", _wrap_gsl_integration_lebedev_workspace_phi_set},
13066 {"Math::GSL::Integrationc::gsl_integration_lebedev_workspace_phi_get", _wrap_gsl_integration_lebedev_workspace_phi_get},
13067 {"Math::GSL::Integrationc::new_gsl_integration_lebedev_workspace", _wrap_new_gsl_integration_lebedev_workspace},
13068 {"Math::GSL::Integrationc::delete_gsl_integration_lebedev_workspace", _wrap_delete_gsl_integration_lebedev_workspace},
13069 {"Math::GSL::Integrationc::gsl_integration_lebedev_alloc", _wrap_gsl_integration_lebedev_alloc},
13070 {"Math::GSL::Integrationc::gsl_integration_lebedev_free", _wrap_gsl_integration_lebedev_free},
13071 {"Math::GSL::Integrationc::gsl_integration_lebedev_n", _wrap_gsl_integration_lebedev_n},
13072 {"Math::GSL::Integrationc::gsl_function_struct_function_set", _wrap_gsl_function_struct_function_set},
13073 {"Math::GSL::Integrationc::gsl_function_struct_function_get", _wrap_gsl_function_struct_function_get},
13074 {"Math::GSL::Integrationc::gsl_function_struct_params_set", _wrap_gsl_function_struct_params_set},
13075 {"Math::GSL::Integrationc::gsl_function_struct_params_get", _wrap_gsl_function_struct_params_get},
13076 {"Math::GSL::Integrationc::new_gsl_function_struct", _wrap_new_gsl_function_struct},
13077 {"Math::GSL::Integrationc::delete_gsl_function_struct", _wrap_delete_gsl_function_struct},
13078 {"Math::GSL::Integrationc::gsl_function_fdf_struct_f_set", _wrap_gsl_function_fdf_struct_f_set},
13079 {"Math::GSL::Integrationc::gsl_function_fdf_struct_f_get", _wrap_gsl_function_fdf_struct_f_get},
13080 {"Math::GSL::Integrationc::gsl_function_fdf_struct_df_set", _wrap_gsl_function_fdf_struct_df_set},
13081 {"Math::GSL::Integrationc::gsl_function_fdf_struct_df_get", _wrap_gsl_function_fdf_struct_df_get},
13082 {"Math::GSL::Integrationc::gsl_function_fdf_struct_fdf_set", _wrap_gsl_function_fdf_struct_fdf_set},
13083 {"Math::GSL::Integrationc::gsl_function_fdf_struct_fdf_get", _wrap_gsl_function_fdf_struct_fdf_get},
13084 {"Math::GSL::Integrationc::gsl_function_fdf_struct_params_set", _wrap_gsl_function_fdf_struct_params_set},
13085 {"Math::GSL::Integrationc::gsl_function_fdf_struct_params_get", _wrap_gsl_function_fdf_struct_params_get},
13086 {"Math::GSL::Integrationc::new_gsl_function_fdf_struct", _wrap_new_gsl_function_fdf_struct},
13087 {"Math::GSL::Integrationc::delete_gsl_function_fdf_struct", _wrap_delete_gsl_function_fdf_struct},
13088 {"Math::GSL::Integrationc::gsl_function_vec_struct_function_set", _wrap_gsl_function_vec_struct_function_set},
13089 {"Math::GSL::Integrationc::gsl_function_vec_struct_function_get", _wrap_gsl_function_vec_struct_function_get},
13090 {"Math::GSL::Integrationc::gsl_function_vec_struct_params_set", _wrap_gsl_function_vec_struct_params_set},
13091 {"Math::GSL::Integrationc::gsl_function_vec_struct_params_get", _wrap_gsl_function_vec_struct_params_get},
13092 {"Math::GSL::Integrationc::new_gsl_function_vec_struct", _wrap_new_gsl_function_vec_struct},
13093 {"Math::GSL::Integrationc::delete_gsl_function_vec_struct", _wrap_delete_gsl_function_vec_struct},
13094 {0,0}
13095 };
13096 /* -----------------------------------------------------------------------------
13097 * Type initialization:
13098 * This problem is tough by the requirement that no dynamic
13099 * memory is used. Also, since swig_type_info structures store pointers to
13100 * swig_cast_info structures and swig_cast_info structures store pointers back
13101 * to swig_type_info structures, we need some lookup code at initialization.
13102 * The idea is that swig generates all the structures that are needed.
13103 * The runtime then collects these partially filled structures.
13104 * The SWIG_InitializeModule function takes these initial arrays out of
13105 * swig_module, and does all the lookup, filling in the swig_module.types
13106 * array with the correct data and linking the correct swig_cast_info
13107 * structures together.
13108 *
13109 * The generated swig_type_info structures are assigned statically to an initial
13110 * array. We just loop through that array, and handle each type individually.
13111 * First we lookup if this type has been already loaded, and if so, use the
13112 * loaded structure instead of the generated one. Then we have to fill in the
13113 * cast linked list. The cast data is initially stored in something like a
13114 * two-dimensional array. Each row corresponds to a type (there are the same
13115 * number of rows as there are in the swig_type_initial array). Each entry in
13116 * a column is one of the swig_cast_info structures for that type.
13117 * The cast_initial array is actually an array of arrays, because each row has
13118 * a variable number of columns. So to actually build the cast linked list,
13119 * we find the array of casts associated with the type, and loop through it
13120 * adding the casts to the list. The one last trick we need to do is making
13121 * sure the type pointer in the swig_cast_info struct is correct.
13122 *
13123 * First off, we lookup the cast->type name to see if it is already loaded.
13124 * There are three cases to handle:
13125 * 1) If the cast->type has already been loaded AND the type we are adding
13126 * casting info to has not been loaded (it is in this module), THEN we
13127 * replace the cast->type pointer with the type pointer that has already
13128 * been loaded.
13129 * 2) If BOTH types (the one we are adding casting info to, and the
13130 * cast->type) are loaded, THEN the cast info has already been loaded by
13131 * the previous module so we just ignore it.
13132 * 3) Finally, if cast->type has not already been loaded, then we add that
13133 * swig_cast_info to the linked list (because the cast->type) pointer will
13134 * be correct.
13135 * ----------------------------------------------------------------------------- */
13136  
13137 #ifdef __cplusplus
13138 extern "C" {
13139 #if 0
13140 } /* c-mode */
13141 #endif
13142 #endif
13143  
13144 #if 0
13145 #define SWIGRUNTIME_DEBUG
13146 #endif
13147  
13148 #ifndef SWIG_INIT_CLIENT_DATA_TYPE
13149 #define SWIG_INIT_CLIENT_DATA_TYPE void *
13150 #endif
13151  
13152 SWIGRUNTIME void
13153 0 SWIG_InitializeModule(SWIG_INIT_CLIENT_DATA_TYPE clientdata) {
13154 size_t i;
13155 swig_module_info *module_head, *iter;
13156 int init;
13157
13158 /* check to see if the circular list has been setup, if not, set it up */
13159 0 ▶ if (swig_module.next==0) {
Branch: 1 branch
BranchTrueFalseTotal
if (swig_module.next==0) { 0 0 0
13160 /* Initialize the swig_module */
13161 0 swig_module.type_initial = swig_type_initial;
13162 0 swig_module.cast_initial = swig_cast_initial;
13163 0 swig_module.next = &swig_module;
13164 0 init = 1;
13165 } else {
13166 0 init = 0;
13167 }
13168
13169 /* Try and load any already created modules */
13170 0 module_head = SWIG_GetModule(clientdata);
13171 0 ▶ if (!module_head) {
Branch: 1 branch
BranchTrueFalseTotal
if (!module_head) { 0 0 0
13172 /* This is the first module loaded for this interpreter */
13173 /* so set the swig module into the interpreter */
13174 0 SWIG_SetModule(clientdata, &swig_module);
13175 } else {
13176 /* the interpreter has loaded a SWIG module, but has it loaded this one? */
13177 0 iter=module_head;
13178 do {
13179 0 ▶ if (iter==&swig_module) {
Branch: 1 branch
BranchTrueFalseTotal
if (iter==&swig_module) { 0 0 0
13180 /* Our module is already in the list, so there's nothing more to do. */
13181 0 return;
13182 }
13183 0 iter=iter->next;
13184 0 ▶ } while (iter!= module_head);
Branch: 1 branch
BranchTrueFalseTotal
} while (iter!= module_head); 0 0 0
13185
13186 /* otherwise we must add our module into the list */
13187 0 swig_module.next = module_head->next;
13188 0 module_head->next = &swig_module;
13189 }
13190
13191 /* When multiple interpreters are used, a module could have already been initialized in
13192 a different interpreter, but not yet have a pointer in this interpreter.
13193 In this case, we do not want to continue adding types... everything should be
13194 set up already */
13195 0 ▶ if (init == 0) return;
Branch: 1 branch
BranchTrueFalseTotal
if (init == 0) return; 0 0 0
13196
13197 /* Now work on filling in swig_module.types */
13198 #ifdef SWIGRUNTIME_DEBUG
13199 printf("SWIG_InitializeModule: size %lu\n", (unsigned long)swig_module.size);
13200 #endif
13201 0 ▶ for (i = 0; i < swig_module.size; ++i) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; i < swig_module.size; ++i) { 0 0 0
13202 0 swig_type_info *type = 0;
13203 swig_type_info *ret;
13204 swig_cast_info *cast;
13205
13206 #ifdef SWIGRUNTIME_DEBUG
13207 printf("SWIG_InitializeModule: type %lu %s\n", (unsigned long)i, swig_module.type_initial[i]->name);
13208 #endif
13209
13210 /* if there is another module already loaded */
13211 0 ▶ if (swig_module.next != &swig_module) {
Branch: 1 branch
BranchTrueFalseTotal
if (swig_module.next != &swig_module) { 0 0 0
13212 0 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
13213 }
13214 0 ▶ if (type) {
Branch: 1 branch
BranchTrueFalseTotal
if (type) { 0 0 0
13215 /* Overwrite clientdata field */
13216 #ifdef SWIGRUNTIME_DEBUG
13217 printf("SWIG_InitializeModule: found type %s\n", type->name);
13218 #endif
13219 0 ▶ if (swig_module.type_initial[i]->clientdata) {
Branch: 1 branch
BranchTrueFalseTotal
if (swig_module.type_initial[i]->clientdata) { 0 0 0
13220 0 type->clientdata = swig_module.type_initial[i]->clientdata;
13221 #ifdef SWIGRUNTIME_DEBUG
13222 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
13223 #endif
13224 }
13225 } else {
13226 0 type = swig_module.type_initial[i];
13227 }
13228
13229 /* Insert casting types */
13230 0 cast = swig_module.cast_initial[i];
13231 0 ▶ while (cast->type) {
Branch: 1 branch
BranchTrueFalseTotal
while (cast->type) { 0 0 0
13232 /* Don't need to add information already in the list */
13233 0 ret = 0;
13234 #ifdef SWIGRUNTIME_DEBUG
13235 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
13236 #endif
13237 0 ▶ if (swig_module.next != &swig_module) {
Branch: 1 branch
BranchTrueFalseTotal
if (swig_module.next != &swig_module) { 0 0 0
13238 0 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
13239 #ifdef SWIGRUNTIME_DEBUG
13240 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
13241 #endif
13242 }
13243 0 ▶ if (ret) {
Branch: 1 branch
BranchTrueFalseTotal
if (ret) { 0 0 0
13244 0 ▶ if (type == swig_module.type_initial[i]) {
Branch: 1 branch
BranchTrueFalseTotal
if (type == swig_module.type_initial[i]) { 0 0 0
13245 #ifdef SWIGRUNTIME_DEBUG
13246 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
13247 #endif
13248 0 cast->type = ret;
13249 0 ret = 0;
13250 } else {
13251 /* Check for casting already in the list */
13252 0 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
13253 #ifdef SWIGRUNTIME_DEBUG
13254 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
13255 #endif
13256 0 ▶ if (!ocast) ret = 0;
Branch: 1 branch
BranchTrueFalseTotal
if (!ocast) ret = 0; 0 0 0
13257 }
13258 }
13259
13260 0 ▶ if (!ret) {
Branch: 1 branch
BranchTrueFalseTotal
if (!ret) { 0 0 0
13261 #ifdef SWIGRUNTIME_DEBUG
13262 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
13263 #endif
13264 0 ▶ if (type->cast) {
Branch: 1 branch
BranchTrueFalseTotal
if (type->cast) { 0 0 0
13265 0 type->cast->prev = cast;
13266 0 cast->next = type->cast;
13267 }
13268 0 type->cast = cast;
13269 }
13270 0 cast++;
13271 }
13272 /* Set entry in modules->types array equal to the type */
13273 0 swig_module.types[i] = type;
13274 }
13275 0 swig_module.types[i] = 0;
13276
13277 #ifdef SWIGRUNTIME_DEBUG
13278 printf("**** SWIG_InitializeModule: Cast List ******\n");
13279 for (i = 0; i < swig_module.size; ++i) {
13280 int j = 0;
13281 swig_cast_info *cast = swig_module.cast_initial[i];
13282 printf("SWIG_InitializeModule: type %lu %s\n", (unsigned long)i, swig_module.type_initial[i]->name);
13283 while (cast->type) {
13284 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
13285 cast++;
13286 ++j;
13287 }
13288 printf("---- Total casts: %d\n",j);
13289 }
13290 printf("**** SWIG_InitializeModule: Cast List ******\n");
13291 #endif
13292 }
13293  
13294 /* This function will propagate the clientdata field of type to
13295 * any new swig_type_info structures that have been added into the list
13296 * of equivalent types. It is like calling
13297 * SWIG_TypeClientData(type, clientdata) a second time.
13298 */
13299 SWIGRUNTIME void
13300 0 SWIG_PropagateClientData(void) {
13301 size_t i;
13302 swig_cast_info *equiv;
13303 static int init_run = 0;
13304
13305 0 ▶ if (init_run) return;
Branch: 1 branch
BranchTrueFalseTotal
if (init_run) return; 0 0 0
13306 0 init_run = 1;
13307
13308 0 ▶ for (i = 0; i < swig_module.size; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; i < swig_module.size; i++) { 0 0 0
13309 0 ▶ if (swig_module.types[i]->clientdata) {
Branch: 1 branch
BranchTrueFalseTotal
if (swig_module.types[i]->clientdata) { 0 0 0
13310 0 equiv = swig_module.types[i]->cast;
13311 0 ▶ while (equiv) {
Branch: 1 branch
BranchTrueFalseTotal
while (equiv) { 0 0 0
13312 0 ▶ if (!equiv->converter) {
Branch: 1 branch
BranchTrueFalseTotal
if (!equiv->converter) { 0 0 0
13313 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
13314 0 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
13315 }
13316 0 equiv = equiv->next;
13317 }
13318 }
13319 }
13320 }
13321  
13322 #ifdef __cplusplus
13323 #if 0
13324 {
13325 /* c-mode */
13326 #endif
13327 }
13328 #endif
13329  
13330  
13331  
13332 #if defined(__cplusplus) && ! defined(XSPROTO)
13333 extern "C"
13334 #endif
13335  
13336 0 XS(SWIG_init) {
13337 0 dXSARGS;
13338 int i;
13339 (void)items;
13340
13341 0 SWIG_InitializeModule(0);
13342
13343 /* Install commands */
13344 0 ▶ for (i = 0; swig_commands[i].name; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; swig_commands[i].name; i++) { 0 0 0
13345 /* Casts only needed for Perl < 5.10. */
13346 #ifdef __cplusplus
13347 newXS(const_cast<char*>(swig_commands[i].name), swig_commands[i].wrapper, const_cast<char*>(__FILE__));
13348 #else
13349 0 newXS((char*)swig_commands[i].name, swig_commands[i].wrapper, (char*)__FILE__);
13350 #endif
13351 }
13352
13353 /* Install variables */
13354 0 ▶ for (i = 0; swig_variables[i].name; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; swig_variables[i].name; i++) { 0 0 0
13355 SV *sv;
13356 0 sv = get_sv(swig_variables[i].name, TRUE | 0x2 | GV_ADDMULTI);
13357 0 ▶ if (swig_variables[i].type) {
Branch: 1 branch
BranchTrueFalseTotal
if (swig_variables[i].type) { 0 0 0
13358 0 SWIG_MakePtr(sv,(void *)1, *swig_variables[i].type,0);
13359 } else {
13360 0 sv_setiv(sv,(IV) 0);
13361 }
13362 0 swig_create_magic(sv, swig_variables[i].name, swig_variables[i].set, swig_variables[i].get);
13363 }
13364
13365 /* Install constant */
13366 0 ▶ for (i = 0; swig_constants[i].type; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; swig_constants[i].type; i++) { 0 0 0
13367 SV *sv;
13368 0 sv = get_sv(swig_constants[i].name, TRUE | 0x2 | GV_ADDMULTI);
13369 0 switch(swig_constants[i].type) {
13370 0 case SWIG_INT:
13371 0 sv_setiv(sv, (IV) swig_constants[i].lvalue);
13372 0 break;
13373 0 case SWIG_FLOAT:
13374 0 sv_setnv(sv, (double) swig_constants[i].dvalue);
13375 0 break;
13376 0 case SWIG_STRING:
13377 0 sv_setpv(sv, (const char *) swig_constants[i].pvalue);
13378 0 break;
13379 0 case SWIG_POINTER:
13380 0 SWIG_MakePtr(sv, swig_constants[i].pvalue, *(swig_constants[i].ptype),0);
13381 0 break;
13382 0 case SWIG_BINARY:
13383 0 SWIG_MakePackedObj(sv, swig_constants[i].pvalue, swig_constants[i].lvalue, *(swig_constants[i].ptype));
13384 0 break;
13385 0 default:
13386 0 break;
13387 }
13388 0 SvREADONLY_on(sv);
13389 }
13390
13391 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13392 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_VERSION", TRUE | 0x2 | GV_ADDMULTI);
13393 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(2.8)));
13394 0 SvREADONLY_on(sv);
13395 } while(0) /*@SWIG@*/;
13396 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13397 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_MAJOR_VERSION", TRUE | 0x2 | GV_ADDMULTI);
13398 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(2)));
13399 0 SvREADONLY_on(sv);
13400 } while(0) /*@SWIG@*/;
13401 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13402 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_MINOR_VERSION", TRUE | 0x2 | GV_ADDMULTI);
13403 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(8)));
13404 0 SvREADONLY_on(sv);
13405 } while(0) /*@SWIG@*/;
13406 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13407 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_POSZERO", TRUE | 0x2 | GV_ADDMULTI);
13408 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)((+0.0))));
13409 0 SvREADONLY_on(sv);
13410 } while(0) /*@SWIG@*/;
13411 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13412 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_NEGZERO", TRUE | 0x2 | GV_ADDMULTI);
13413 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)((-0.0))));
13414 0 SvREADONLY_on(sv);
13415 } while(0) /*@SWIG@*/;
13416 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13417 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_SUCCESS", TRUE | 0x2 | GV_ADDMULTI);
13418 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_SUCCESS)));
13419 0 SvREADONLY_on(sv);
13420 } while(0) /*@SWIG@*/;
13421 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13422 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_FAILURE", TRUE | 0x2 | GV_ADDMULTI);
13423 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_FAILURE)));
13424 0 SvREADONLY_on(sv);
13425 } while(0) /*@SWIG@*/;
13426 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13427 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_CONTINUE", TRUE | 0x2 | GV_ADDMULTI);
13428 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_CONTINUE)));
13429 0 SvREADONLY_on(sv);
13430 } while(0) /*@SWIG@*/;
13431 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13432 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EDOM", TRUE | 0x2 | GV_ADDMULTI);
13433 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EDOM)));
13434 0 SvREADONLY_on(sv);
13435 } while(0) /*@SWIG@*/;
13436 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13437 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ERANGE", TRUE | 0x2 | GV_ADDMULTI);
13438 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ERANGE)));
13439 0 SvREADONLY_on(sv);
13440 } while(0) /*@SWIG@*/;
13441 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13442 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EFAULT", TRUE | 0x2 | GV_ADDMULTI);
13443 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EFAULT)));
13444 0 SvREADONLY_on(sv);
13445 } while(0) /*@SWIG@*/;
13446 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13447 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EINVAL", TRUE | 0x2 | GV_ADDMULTI);
13448 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EINVAL)));
13449 0 SvREADONLY_on(sv);
13450 } while(0) /*@SWIG@*/;
13451 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13452 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EFAILED", TRUE | 0x2 | GV_ADDMULTI);
13453 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EFAILED)));
13454 0 SvREADONLY_on(sv);
13455 } while(0) /*@SWIG@*/;
13456 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13457 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EFACTOR", TRUE | 0x2 | GV_ADDMULTI);
13458 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EFACTOR)));
13459 0 SvREADONLY_on(sv);
13460 } while(0) /*@SWIG@*/;
13461 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13462 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ESANITY", TRUE | 0x2 | GV_ADDMULTI);
13463 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ESANITY)));
13464 0 SvREADONLY_on(sv);
13465 } while(0) /*@SWIG@*/;
13466 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13467 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ENOMEM", TRUE | 0x2 | GV_ADDMULTI);
13468 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ENOMEM)));
13469 0 SvREADONLY_on(sv);
13470 } while(0) /*@SWIG@*/;
13471 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13472 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EBADFUNC", TRUE | 0x2 | GV_ADDMULTI);
13473 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EBADFUNC)));
13474 0 SvREADONLY_on(sv);
13475 } while(0) /*@SWIG@*/;
13476 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13477 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ERUNAWAY", TRUE | 0x2 | GV_ADDMULTI);
13478 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ERUNAWAY)));
13479 0 SvREADONLY_on(sv);
13480 } while(0) /*@SWIG@*/;
13481 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13482 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EMAXITER", TRUE | 0x2 | GV_ADDMULTI);
13483 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EMAXITER)));
13484 0 SvREADONLY_on(sv);
13485 } while(0) /*@SWIG@*/;
13486 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13487 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EZERODIV", TRUE | 0x2 | GV_ADDMULTI);
13488 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EZERODIV)));
13489 0 SvREADONLY_on(sv);
13490 } while(0) /*@SWIG@*/;
13491 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13492 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EBADTOL", TRUE | 0x2 | GV_ADDMULTI);
13493 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EBADTOL)));
13494 0 SvREADONLY_on(sv);
13495 } while(0) /*@SWIG@*/;
13496 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13497 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ETOL", TRUE | 0x2 | GV_ADDMULTI);
13498 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ETOL)));
13499 0 SvREADONLY_on(sv);
13500 } while(0) /*@SWIG@*/;
13501 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13502 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EUNDRFLW", TRUE | 0x2 | GV_ADDMULTI);
13503 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EUNDRFLW)));
13504 0 SvREADONLY_on(sv);
13505 } while(0) /*@SWIG@*/;
13506 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13507 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EOVRFLW", TRUE | 0x2 | GV_ADDMULTI);
13508 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EOVRFLW)));
13509 0 SvREADONLY_on(sv);
13510 } while(0) /*@SWIG@*/;
13511 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13512 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ELOSS", TRUE | 0x2 | GV_ADDMULTI);
13513 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ELOSS)));
13514 0 SvREADONLY_on(sv);
13515 } while(0) /*@SWIG@*/;
13516 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13517 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EROUND", TRUE | 0x2 | GV_ADDMULTI);
13518 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EROUND)));
13519 0 SvREADONLY_on(sv);
13520 } while(0) /*@SWIG@*/;
13521 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13522 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EBADLEN", TRUE | 0x2 | GV_ADDMULTI);
13523 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EBADLEN)));
13524 0 SvREADONLY_on(sv);
13525 } while(0) /*@SWIG@*/;
13526 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13527 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ENOTSQR", TRUE | 0x2 | GV_ADDMULTI);
13528 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ENOTSQR)));
13529 0 SvREADONLY_on(sv);
13530 } while(0) /*@SWIG@*/;
13531 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13532 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ESING", TRUE | 0x2 | GV_ADDMULTI);
13533 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ESING)));
13534 0 SvREADONLY_on(sv);
13535 } while(0) /*@SWIG@*/;
13536 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13537 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EDIVERGE", TRUE | 0x2 | GV_ADDMULTI);
13538 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EDIVERGE)));
13539 0 SvREADONLY_on(sv);
13540 } while(0) /*@SWIG@*/;
13541 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13542 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EUNSUP", TRUE | 0x2 | GV_ADDMULTI);
13543 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EUNSUP)));
13544 0 SvREADONLY_on(sv);
13545 } while(0) /*@SWIG@*/;
13546 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13547 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EUNIMPL", TRUE | 0x2 | GV_ADDMULTI);
13548 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EUNIMPL)));
13549 0 SvREADONLY_on(sv);
13550 } while(0) /*@SWIG@*/;
13551 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13552 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ECACHE", TRUE | 0x2 | GV_ADDMULTI);
13553 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ECACHE)));
13554 0 SvREADONLY_on(sv);
13555 } while(0) /*@SWIG@*/;
13556 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13557 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ETABLE", TRUE | 0x2 | GV_ADDMULTI);
13558 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ETABLE)));
13559 0 SvREADONLY_on(sv);
13560 } while(0) /*@SWIG@*/;
13561 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13562 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ENOPROG", TRUE | 0x2 | GV_ADDMULTI);
13563 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ENOPROG)));
13564 0 SvREADONLY_on(sv);
13565 } while(0) /*@SWIG@*/;
13566 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13567 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ENOPROGJ", TRUE | 0x2 | GV_ADDMULTI);
13568 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ENOPROGJ)));
13569 0 SvREADONLY_on(sv);
13570 } while(0) /*@SWIG@*/;
13571 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13572 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ETOLF", TRUE | 0x2 | GV_ADDMULTI);
13573 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ETOLF)));
13574 0 SvREADONLY_on(sv);
13575 } while(0) /*@SWIG@*/;
13576 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13577 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ETOLX", TRUE | 0x2 | GV_ADDMULTI);
13578 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ETOLX)));
13579 0 SvREADONLY_on(sv);
13580 } while(0) /*@SWIG@*/;
13581 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13582 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ETOLG", TRUE | 0x2 | GV_ADDMULTI);
13583 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ETOLG)));
13584 0 SvREADONLY_on(sv);
13585 } while(0) /*@SWIG@*/;
13586 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13587 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EOF", TRUE | 0x2 | GV_ADDMULTI);
13588 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EOF)));
13589 0 SvREADONLY_on(sv);
13590 } while(0) /*@SWIG@*/;
13591 0 SWIG_TypeClientData(SWIGTYPE_p_gsl_integration_workspace, (void*) "Math::GSL::Integration::gsl_integration_workspace");
13592 0 SWIG_TypeClientData(SWIGTYPE_p_gsl_integration_qaws_table, (void*) "Math::GSL::Integration::gsl_integration_qaws_table");
13593 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13594 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_INTEG_COSINE", TRUE | 0x2 | GV_ADDMULTI);
13595 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_INTEG_COSINE)));
13596 0 SvREADONLY_on(sv);
13597 } while(0) /*@SWIG@*/;
13598 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13599 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_INTEG_SINE", TRUE | 0x2 | GV_ADDMULTI);
13600 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_INTEG_SINE)));
13601 0 SvREADONLY_on(sv);
13602 } while(0) /*@SWIG@*/;
13603 0 SWIG_TypeClientData(SWIGTYPE_p_gsl_integration_qawo_table, (void*) "Math::GSL::Integration::gsl_integration_qawo_table");
13604 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13605 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_INTEG_GAUSS15", TRUE | 0x2 | GV_ADDMULTI);
13606 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_INTEG_GAUSS15)));
13607 0 SvREADONLY_on(sv);
13608 } while(0) /*@SWIG@*/;
13609 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13610 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_INTEG_GAUSS21", TRUE | 0x2 | GV_ADDMULTI);
13611 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_INTEG_GAUSS21)));
13612 0 SvREADONLY_on(sv);
13613 } while(0) /*@SWIG@*/;
13614 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13615 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_INTEG_GAUSS31", TRUE | 0x2 | GV_ADDMULTI);
13616 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_INTEG_GAUSS31)));
13617 0 SvREADONLY_on(sv);
13618 } while(0) /*@SWIG@*/;
13619 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13620 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_INTEG_GAUSS41", TRUE | 0x2 | GV_ADDMULTI);
13621 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_INTEG_GAUSS41)));
13622 0 SvREADONLY_on(sv);
13623 } while(0) /*@SWIG@*/;
13624 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13625 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_INTEG_GAUSS51", TRUE | 0x2 | GV_ADDMULTI);
13626 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_INTEG_GAUSS51)));
13627 0 SvREADONLY_on(sv);
13628 } while(0) /*@SWIG@*/;
13629 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13630 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_INTEG_GAUSS61", TRUE | 0x2 | GV_ADDMULTI);
13631 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_INTEG_GAUSS61)));
13632 0 SvREADONLY_on(sv);
13633 } while(0) /*@SWIG@*/;
13634 0 SWIG_TypeClientData(SWIGTYPE_p_gsl_integration_glfixed_table, (void*) "Math::GSL::Integration::gsl_integration_glfixed_table");
13635 0 SWIG_TypeClientData(SWIGTYPE_p_gsl_integration_cquad_ival, (void*) "Math::GSL::Integration::gsl_integration_cquad_ival");
13636 0 SWIG_TypeClientData(SWIGTYPE_p_gsl_integration_cquad_workspace, (void*) "Math::GSL::Integration::gsl_integration_cquad_workspace");
13637 0 SWIG_TypeClientData(SWIGTYPE_p_gsl_integration_romberg_workspace, (void*) "Math::GSL::Integration::gsl_integration_romberg_workspace");
13638 0 SWIG_TypeClientData(SWIGTYPE_p_gsl_integration_fixed_params, (void*) "Math::GSL::Integration::gsl_integration_fixed_params");
13639 0 SWIG_TypeClientData(SWIGTYPE_p_gsl_integration_fixed_type, (void*) "Math::GSL::Integration::gsl_integration_fixed_type");
13640 0 SWIG_TypeClientData(SWIGTYPE_p_gsl_integration_fixed_workspace, (void*) "Math::GSL::Integration::gsl_integration_fixed_workspace");
13641 0 SWIG_TypeClientData(SWIGTYPE_p_gsl_integration_lebedev_workspace, (void*) "Math::GSL::Integration::gsl_integration_lebedev_workspace");
13642 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13643 0 SV *sv = get_sv((char*) SWIG_prefix "M_E", TRUE | 0x2 | GV_ADDMULTI);
13644 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(2.71828182845904523536028747135)));
13645 0 SvREADONLY_on(sv);
13646 } while(0) /*@SWIG@*/;
13647 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13648 0 SV *sv = get_sv((char*) SWIG_prefix "M_LOG2E", TRUE | 0x2 | GV_ADDMULTI);
13649 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(1.44269504088896340735992468100)));
13650 0 SvREADONLY_on(sv);
13651 } while(0) /*@SWIG@*/;
13652 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13653 0 SV *sv = get_sv((char*) SWIG_prefix "M_LOG10E", TRUE | 0x2 | GV_ADDMULTI);
13654 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(0.43429448190325182765112891892)));
13655 0 SvREADONLY_on(sv);
13656 } while(0) /*@SWIG@*/;
13657 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13658 0 SV *sv = get_sv((char*) SWIG_prefix "M_SQRT2", TRUE | 0x2 | GV_ADDMULTI);
13659 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(1.41421356237309504880168872421)));
13660 0 SvREADONLY_on(sv);
13661 } while(0) /*@SWIG@*/;
13662 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13663 0 SV *sv = get_sv((char*) SWIG_prefix "M_SQRT1_2", TRUE | 0x2 | GV_ADDMULTI);
13664 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(0.70710678118654752440084436210)));
13665 0 SvREADONLY_on(sv);
13666 } while(0) /*@SWIG@*/;
13667 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13668 0 SV *sv = get_sv((char*) SWIG_prefix "M_SQRT3", TRUE | 0x2 | GV_ADDMULTI);
13669 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(1.73205080756887729352744634151)));
13670 0 SvREADONLY_on(sv);
13671 } while(0) /*@SWIG@*/;
13672 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13673 0 SV *sv = get_sv((char*) SWIG_prefix "M_PI", TRUE | 0x2 | GV_ADDMULTI);
13674 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(3.14159265358979323846264338328)));
13675 0 SvREADONLY_on(sv);
13676 } while(0) /*@SWIG@*/;
13677 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13678 0 SV *sv = get_sv((char*) SWIG_prefix "M_PI_2", TRUE | 0x2 | GV_ADDMULTI);
13679 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(1.57079632679489661923132169164)));
13680 0 SvREADONLY_on(sv);
13681 } while(0) /*@SWIG@*/;
13682 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13683 0 SV *sv = get_sv((char*) SWIG_prefix "M_PI_4", TRUE | 0x2 | GV_ADDMULTI);
13684 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(0.78539816339744830961566084582)));
13685 0 SvREADONLY_on(sv);
13686 } while(0) /*@SWIG@*/;
13687 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13688 0 SV *sv = get_sv((char*) SWIG_prefix "M_SQRTPI", TRUE | 0x2 | GV_ADDMULTI);
13689 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(1.77245385090551602729816748334)));
13690 0 SvREADONLY_on(sv);
13691 } while(0) /*@SWIG@*/;
13692 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13693 0 SV *sv = get_sv((char*) SWIG_prefix "M_2_SQRTPI", TRUE | 0x2 | GV_ADDMULTI);
13694 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(1.12837916709551257389615890312)));
13695 0 SvREADONLY_on(sv);
13696 } while(0) /*@SWIG@*/;
13697 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13698 0 SV *sv = get_sv((char*) SWIG_prefix "M_1_PI", TRUE | 0x2 | GV_ADDMULTI);
13699 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(0.31830988618379067153776752675)));
13700 0 SvREADONLY_on(sv);
13701 } while(0) /*@SWIG@*/;
13702 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13703 0 SV *sv = get_sv((char*) SWIG_prefix "M_2_PI", TRUE | 0x2 | GV_ADDMULTI);
13704 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(0.63661977236758134307553505349)));
13705 0 SvREADONLY_on(sv);
13706 } while(0) /*@SWIG@*/;
13707 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13708 0 SV *sv = get_sv((char*) SWIG_prefix "M_LN10", TRUE | 0x2 | GV_ADDMULTI);
13709 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(2.30258509299404568401799145468)));
13710 0 SvREADONLY_on(sv);
13711 } while(0) /*@SWIG@*/;
13712 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13713 0 SV *sv = get_sv((char*) SWIG_prefix "M_LN2", TRUE | 0x2 | GV_ADDMULTI);
13714 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(0.69314718055994530941723212146)));
13715 0 SvREADONLY_on(sv);
13716 } while(0) /*@SWIG@*/;
13717 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13718 0 SV *sv = get_sv((char*) SWIG_prefix "M_LNPI", TRUE | 0x2 | GV_ADDMULTI);
13719 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(1.14472988584940017414342735135)));
13720 0 SvREADONLY_on(sv);
13721 } while(0) /*@SWIG@*/;
13722 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13723 0 SV *sv = get_sv((char*) SWIG_prefix "M_EULER", TRUE | 0x2 | GV_ADDMULTI);
13724 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(0.57721566490153286060651209008)));
13725 0 SvREADONLY_on(sv);
13726 } while(0) /*@SWIG@*/;
13727 0 SWIG_TypeClientData(SWIGTYPE_p_gsl_function_struct, (void*) "Math::GSL::Integration::gsl_function_struct");
13728 0 SWIG_TypeClientData(SWIGTYPE_p_gsl_function_fdf_struct, (void*) "Math::GSL::Integration::gsl_function_fdf_struct");
13729 0 SWIG_TypeClientData(SWIGTYPE_p_gsl_function_vec_struct, (void*) "Math::GSL::Integration::gsl_function_vec_struct");
13730 0 ST(0) = &PL_sv_yes;
13731 0 XSRETURN(1);
13732 }
13733  
« xs/IEEEUtils_wrap.2.8.c ↑ Summary xs/Interp_wrap.2.8.c »