xs/FFT_wrap.2.8.c

filter: Statementstmt 0.0% 0 / 4625 Branchbran 0.0% 0 / 2460 Conditioncond n/a MC/DCmcdc n/a Subroutinesub n/a Podpod n/a totaltotal 0.0% 0 / 7085 CC 0 SCAR 0
CC
0
Cov
0%
CRAP 0
« xs/Errno_wrap.2.8.c ↑ Summary xs/Fit_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_float swig_types[8]
1519 #define SWIGTYPE_p_gsl_complex swig_types[9]
1520 #define SWIGTYPE_p_gsl_complex_float swig_types[10]
1521 #define SWIGTYPE_p_gsl_complex_long_double swig_types[11]
1522 #define SWIGTYPE_p_gsl_fft_complex_wavetable swig_types[12]
1523 #define SWIGTYPE_p_gsl_fft_complex_workspace swig_types[13]
1524 #define SWIGTYPE_p_gsl_fft_direction swig_types[14]
1525 #define SWIGTYPE_p_gsl_fft_halfcomplex_wavetable swig_types[15]
1526 #define SWIGTYPE_p_gsl_fft_real_wavetable swig_types[16]
1527 #define SWIGTYPE_p_gsl_fft_real_workspace swig_types[17]
1528 #define SWIGTYPE_p_gsl_function_fdf_struct swig_types[18]
1529 #define SWIGTYPE_p_gsl_function_struct swig_types[19]
1530 #define SWIGTYPE_p_gsl_function_vec_struct swig_types[20]
1531 #define SWIGTYPE_p_int swig_types[21]
1532 #define SWIGTYPE_p_long_double swig_types[22]
1533 #define SWIGTYPE_p_p_gsl_complex swig_types[23]
1534 #define SWIGTYPE_p_size_t swig_types[24]
1535 #define SWIGTYPE_p_void swig_types[25]
1536 static swig_type_info *swig_types[27];
1537 static swig_module_info swig_module = {swig_types, 26, 0, 0, 0, 0};
1538 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1539 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
1540  
1541 /* -------- TYPES TABLE (END) -------- */
1542  
1543 #define SWIG_init boot_Math__GSL__FFT
1544  
1545 #define SWIG_name "Math::GSL::FFTc::boot_Math__GSL__FFT"
1546 #define SWIG_prefix "Math::GSL::FFTc::"
1547  
1548 #define SWIG_as_voidptr(a) (void *)((const void *)(a))
1549 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),(void**)(a))
1550  
1551  
1552 #ifdef __cplusplus
1553 extern "C"
1554 #endif
1555 #ifndef MULTIPLICITY
1556 SWIGEXPORT void SWIG_init (CV* cv);
1557 #else
1558 SWIGEXPORT void SWIG_init (pTHXo_ CV* cv);
1559 #endif
1560  
1561  
1562 SWIGINTERNINLINE SV *
1563 0 SWIG_From_double SWIG_PERL_DECL_ARGS_1(double value)
1564 {
1565 0 return sv_2mortal(newSVnv(value));
1566 }
1567  
1568  
1569 SWIGINTERNINLINE SV *
1570 0 SWIG_From_long SWIG_PERL_DECL_ARGS_1(long value)
1571 {
1572 SV *sv;
1573 if (IVSIZE >= sizeof(value) || (value >= IV_MIN && value <= IV_MAX))
1574 0 sv = newSViv(value);
1575 else
1576 sv = newSVpvf("%ld", value);
1577 0 return sv_2mortal(sv);
1578 }
1579  
1580  
1581 SWIGINTERNINLINE SV *
1582 0 SWIG_From_int SWIG_PERL_DECL_ARGS_1(int value)
1583 {
1584 0 return SWIG_From_long SWIG_PERL_CALL_ARGS_1(value);
1585 }
1586  
1587  
1588 SWIGINTERN swig_type_info*
1589 0 SWIG_pchar_descriptor(void)
1590 {
1591 static int init = 0;
1592 static swig_type_info* info = 0;
1593 0 ▶ if (!init) {
Branch: 1 branch
BranchTrueFalseTotal
if (!init) { 0 0 0
1594 0 info = SWIG_TypeQuery("_p_char");
1595 0 init = 1;
1596 }
1597 0 return info;
1598 }
1599  
1600  
1601 SWIGINTERN int
1602 0 SWIG_AsCharPtrAndSize(SV *obj, char** cptr, size_t* psize, int *alloc)
1603 {
1604 0 ▶ if (SvMAGICAL(obj)) {
Branch: 1 branch
BranchTrueFalseTotal
if (SvMAGICAL(obj)) { 0 0 0
1605 0 SV *tmp = sv_newmortal();
1606 0 ▶ SvSetSV(tmp, obj);
Branch: 1 branch
BranchTrueFalseTotal
SvSetSV(tmp, obj); 0 0 0
1607 0 obj = tmp;
1608 }
1609 0 ▶ if (SvPOK(obj)) {
Branch: 1 branch
BranchTrueFalseTotal
if (SvPOK(obj)) { 0 0 0
1610 0 STRLEN len = 0;
1611 0 char *cstr = SvPV(obj, len);
1612 0 size_t size = len + 1;
1613 0 ▶ if (cptr) {
Branch: 1 branch
BranchTrueFalseTotal
if (cptr) { 0 0 0
1614 0 ▶ if (alloc) {
Branch: 1 branch
BranchTrueFalseTotal
if (alloc) { 0 0 0
1615 0 ▶ if (*alloc == SWIG_NEWOBJ) {
Branch: 1 branch
BranchTrueFalseTotal
if (*alloc == SWIG_NEWOBJ) { 0 0 0
1616 0 *cptr = (char *)memcpy(malloc((size)*sizeof(char)), cstr, sizeof(char)*(size));
1617 } else {
1618 0 *cptr = cstr;
1619 0 *alloc = SWIG_OLDOBJ;
1620 }
1621 }
1622 }
1623 0 ▶ if (psize) *psize = size;
Branch: 1 branch
BranchTrueFalseTotal
if (psize) *psize = size; 0 0 0
1624 0 return SWIG_OK;
1625 } else {
1626 0 swig_type_info* pchar_descriptor = SWIG_pchar_descriptor();
1627 0 ▶ if (pchar_descriptor) {
Branch: 1 branch
BranchTrueFalseTotal
if (pchar_descriptor) { 0 0 0
1628 0 char* vptr = 0;
1629 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
1630 0 ▶ if (cptr) *cptr = vptr;
Branch: 1 branch
BranchTrueFalseTotal
if (cptr) *cptr = vptr; 0 0 0
1631 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
1632 0 ▶ if (alloc) *alloc = SWIG_OLDOBJ;
Branch: 1 branch
BranchTrueFalseTotal
if (alloc) *alloc = SWIG_OLDOBJ; 0 0 0
1633 0 return SWIG_OK;
1634 }
1635 }
1636 }
1637 0 return SWIG_TypeError;
1638 }
1639  
1640  
1641  
1642  
1643  
1644 #include <limits.h>
1645 #if !defined(SWIG_NO_LLONG_MAX)
1646 # if !defined(LLONG_MAX) && defined(__GNUC__) && defined (__LONG_LONG_MAX__)
1647 # define LLONG_MAX __LONG_LONG_MAX__
1648 # define LLONG_MIN (-LLONG_MAX - 1LL)
1649 # define ULLONG_MAX (LLONG_MAX * 2ULL + 1ULL)
1650 # endif
1651 #endif
1652  
1653  
1654 #include <stdlib.h>
1655 #ifdef _MSC_VER
1656 # ifndef strtoull
1657 # define strtoull _strtoui64
1658 # endif
1659 # ifndef strtoll
1660 # define strtoll _strtoi64
1661 # endif
1662 #endif
1663  
1664  
1665 SWIGINTERN int
1666 0 SWIG_AsVal_double SWIG_PERL_DECL_ARGS_2(SV *obj, double *val)
1667 {
1668 0 ▶ if (SvNIOK(obj)) {
Branch: 1 branch
BranchTrueFalseTotal
if (SvNIOK(obj)) { 0 0 0
1669 0 ▶ if (val) *val = SvNV(obj);
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = SvNV(obj); 0 0 0
1670 0 return SWIG_OK;
1671 0 ▶ } else if (SvIOK(obj)) {
Branch: 1 branch
BranchTrueFalseTotal
} else if (SvIOK(obj)) { 0 0 0
1672 0 ▶ if (val) *val = (double) SvIV(obj);
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = (double) SvIV(obj); 0 0 0
1673 0 return SWIG_AddCast(SWIG_OK);
1674 } else {
1675 0 const char *nptr = SvPV_nolen(obj);
1676 0 ▶ if (nptr) {
Branch: 1 branch
BranchTrueFalseTotal
if (nptr) { 0 0 0
1677 char *endptr;
1678 double v;
1679 0 errno = 0;
1680 0 v = strtod(nptr, &endptr);
1681 0 ▶ if (errno == ERANGE) {
Branch: 1 branch
BranchTrueFalseTotal
if (errno == ERANGE) { 0 0 0
1682 0 errno = 0;
1683 0 return SWIG_OverflowError;
1684 } else {
1685 0 ▶ if (*endptr == '\0') {
Branch: 1 branch
BranchTrueFalseTotal
if (*endptr == '\0') { 0 0 0
1686 0 ▶ if (val) *val = v;
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = v; 0 0 0
1687 0 return SWIG_Str2NumCast(SWIG_OK);
1688 }
1689 }
1690 }
1691 }
1692 0 return SWIG_TypeError;
1693 }
1694  
1695  
1696 #include <float.h>
1697  
1698  
1699 #include <math.h>
1700  
1701  
1702 SWIGINTERNINLINE int
1703 0 SWIG_CanCastAsInteger(double *d, double min, double max) {
1704 0 double x = *d;
1705 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
1706 double fx, cx, rd;
1707 0 errno = 0;
1708 0 fx = floor(x);
1709 0 cx = ceil(x);
1710 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
1711 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
1712 0 errno = 0;
1713 } else {
1714 double summ, reps, diff;
1715 0 ▶ if (rd < x) {
Branch: 1 branch
BranchTrueFalseTotal
if (rd < x) { 0 0 0
1716 0 diff = x - rd;
1717 0 ▶ } else if (rd > x) {
Branch: 1 branch
BranchTrueFalseTotal
} else if (rd > x) { 0 0 0
1718 0 diff = rd - x;
1719 } else {
1720 0 return 1;
1721 }
1722 0 summ = rd + x;
1723 0 reps = diff/summ;
1724 0 ▶ if (reps < 8*DBL_EPSILON) {
Branch: 1 branch
BranchTrueFalseTotal
if (reps < 8*DBL_EPSILON) { 0 0 0
1725 0 *d = rd;
1726 0 return 1;
1727 }
1728 }
1729 }
1730 0 return 0;
1731 }
1732  
1733  
1734 SWIGINTERN int
1735 0 SWIG_AsVal_long SWIG_PERL_DECL_ARGS_2(SV *obj, long* val)
1736 {
1737 0 ▶ if (SvUOK(obj)) {
Branch: 1 branch
BranchTrueFalseTotal
if (SvUOK(obj)) { 0 0 0
1738 0 UV v = SvUV(obj);
1739 0 ▶ if (UVSIZE < sizeof(*val) || v <= LONG_MAX) {
Branch: 1 branch
BranchTrueFalseTotal
if (UVSIZE < sizeof(*val) || v <= LONG_MAX) { 0 0 0
1740 0 ▶ if (val) *val = v;
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = v; 0 0 0
1741 0 return SWIG_OK;
1742 }
1743 0 return SWIG_OverflowError;
1744 0 ▶ } else if (SvIOK(obj)) {
Branch: 1 branch
BranchTrueFalseTotal
} else if (SvIOK(obj)) { 0 0 0
1745 0 IV v = SvIV(obj);
1746 if (IVSIZE <= sizeof(*val) || (v >= LONG_MIN && v <= LONG_MAX)) {
1747 0 ▶ if(val) *val = v;
Branch: 1 branch
BranchTrueFalseTotal
if(val) *val = v; 0 0 0
1748 0 return SWIG_OK;
1749 }
1750 return SWIG_OverflowError;
1751 } else {
1752 0 int dispatch = 0;
1753 0 const char *nptr = SvPV_nolen(obj);
1754 0 ▶ if (nptr) {
Branch: 1 branch
BranchTrueFalseTotal
if (nptr) { 0 0 0
1755 char *endptr;
1756 long v;
1757 0 errno = 0;
1758 0 v = strtol(nptr, &endptr,0);
1759 0 ▶ if (errno == ERANGE) {
Branch: 1 branch
BranchTrueFalseTotal
if (errno == ERANGE) { 0 0 0
1760 0 errno = 0;
1761 0 return SWIG_OverflowError;
1762 } else {
1763 0 ▶ if (*endptr == '\0') {
Branch: 1 branch
BranchTrueFalseTotal
if (*endptr == '\0') { 0 0 0
1764 0 ▶ if (val) *val = v;
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = v; 0 0 0
1765 0 return SWIG_Str2NumCast(SWIG_OK);
1766 }
1767 }
1768 }
1769 0 ▶ if (!dispatch) {
Branch: 1 branch
BranchTrueFalseTotal
if (!dispatch) { 0 0 0
1770 double d;
1771 0 int res = SWIG_AddCast(SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(obj,&d));
1772 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
1773 0 ▶ if (val) *val = (long)(d);
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = (long)(d); 0 0 0
1774 0 return res;
1775 }
1776 }
1777 }
1778 0 return SWIG_TypeError;
1779 }
1780  
1781  
1782 SWIGINTERN int
1783 0 SWIG_AsVal_int SWIG_PERL_DECL_ARGS_2(SV * obj, int *val)
1784 {
1785 long v;
1786 0 int res = SWIG_AsVal_long SWIG_PERL_CALL_ARGS_2(obj, &v);
1787 0 ▶ if (SWIG_IsOK(res)) {
Branch: 1 branch
BranchTrueFalseTotal
if (SWIG_IsOK(res)) { 0 0 0
1788 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
1789 0 return SWIG_OverflowError;
1790 } else {
1791 0 ▶ if (val) *val = (int)(v);
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = (int)(v); 0 0 0
1792 }
1793 }
1794 0 return res;
1795 }
1796  
1797  
1798 SWIGINTERNINLINE SV *
1799 0 SWIG_FromCharPtrAndSize(const char* carray, size_t size)
1800 {
1801 0 SV *obj = sv_newmortal();
1802 0 ▶ if (carray) {
Branch: 1 branch
BranchTrueFalseTotal
if (carray) { 0 0 0
1803 0 sv_setpvn(obj, carray, size);
1804 } else {
1805 0 sv_setsv(obj, &PL_sv_undef);
1806 }
1807 0 return obj;
1808 }
1809  
1810  
1811 SWIGINTERNINLINE SV *
1812 0 SWIG_FromCharPtr(const char *cptr)
1813 {
1814 0 ▶ return SWIG_FromCharPtrAndSize(cptr, (cptr ? strlen(cptr) : 0));
Branch: 1 branch
BranchTrueFalseTotal
return SWIG_FromCharPtrAndSize(cptr, (cptr ? strlen(cptr) : 0)); 0 0 0
1815 }
1816  
1817  
1818 #include "gsl/gsl_nan.h"
1819 #include "gsl/gsl_errno.h"
1820 #include "gsl/gsl_math.h"
1821 #include "gsl/gsl_monte.h"
1822  
1823  
1824 struct perl_array {
1825 I32 len;
1826 AV *array;
1827 };
1828  
1829  
1830  
1831 enum awType { awDouble, awFloat, awInt, awUnsigned };
1832  
1833 typedef struct {
1834 I32 size;
1835 enum awType type;
1836 void * data;
1837 } array_wrapper;
1838  
1839 0 array_wrapper * array_wrapper_alloc(int numelem, enum awType type){
1840 0 array_wrapper * rv = malloc(sizeof(array_wrapper));
1841  
1842 0 ▶ if (rv == NULL)
Branch: 1 branch
BranchTrueFalseTotal
if (rv == NULL) 0 0 0
1843 0 croak("array_wrapper_alloc: can't malloc wrapper\n");
1844  
1845 0 switch (type){
1846 0 case awDouble:
1847 0 rv->data = malloc(sizeof(double) * numelem);
1848 0 break;
1849 0 case awFloat:
1850 0 rv->data = malloc(sizeof(float) * numelem);
1851 0 break;
1852 0 case awInt:
1853 0 rv->data = malloc(sizeof(int) * numelem);
1854 0 break;
1855 0 case awUnsigned:
1856 0 rv->data = malloc(sizeof(unsigned int) * numelem);
1857 0 break;
1858 0 default:
1859 0 croak("array_wrapper_alloc: type should be awDouble, awFloat, awInt, or awUnsigned");
1860 }
1861  
1862 0 ▶ if (rv->data == NULL)
Branch: 1 branch
BranchTrueFalseTotal
if (rv->data == NULL) 0 0 0
1863 0 croak("array_wrapper_alloc: can't malloc data");
1864  
1865 0 rv->size = numelem;
1866 0 rv->type = type;
1867 0 return rv;
1868 }
1869  
1870 0 void array_wrapper_free(array_wrapper * daw){
1871 0 free(daw->data);
1872 0 free(daw);
1873 0 }
1874  
1875  
1876 /* structure to hold required information while the gsl function call
1877 for each callback
1878 */
1879 struct gsl_function_perl {
1880 gsl_function C_gsl_function;
1881 SV * function;
1882 SV * params;
1883 };
1884  
1885 struct gsl_function_fdf_perl {
1886 gsl_function_fdf C_gsl_function_fdf;
1887 SV * f;
1888 SV * df;
1889 SV * fdf;
1890 SV * params;
1891 };
1892  
1893 struct gsl_monte_function_perl {
1894 gsl_monte_function C_gsl_monte_function;
1895 SV * f;
1896 SV * dim;
1897 SV * params;
1898 };
1899  
1900 0 void gsl_function_perl_free(struct gsl_function_perl * perl_f){
1901 0 ▶ if (perl_f != NULL) {
Branch: 1 branch
BranchTrueFalseTotal
if (perl_f != NULL) { 0 0 0
1902 0 SvREFCNT_dec(perl_f->function);
1903 0 SvREFCNT_dec(perl_f->params);
1904 0 Safefree(perl_f);
1905 }
1906 0 }
1907  
1908 0 void gsl_function_fdf_perl_free(struct gsl_function_fdf_perl * perl_fdf){
1909 0 ▶ if (perl_fdf != NULL) {
Branch: 1 branch
BranchTrueFalseTotal
if (perl_fdf != NULL) { 0 0 0
1910 0 SvREFCNT_dec(perl_fdf->f);
1911 0 SvREFCNT_dec(perl_fdf->df);
1912 0 SvREFCNT_dec(perl_fdf->fdf);
1913 0 SvREFCNT_dec(perl_fdf->params);
1914 0 Safefree(perl_fdf);
1915 }
1916 0 }
1917  
1918 /* These functions (C callbacks) calls the perl callbacks.
1919 Info for perl callback can be found using the 'void*params' parameter
1920 */
1921 0 double call_gsl_function_x_params(SV* function, double x, SV *params){
1922 unsigned int count;
1923 double y;
1924 0 dSP;
1925  
1926 //fprintf(stderr, "LOOKUP CALLBACK\n");
1927 0 ENTER;
1928 0 SAVETMPS;
1929  
1930 0 ▶ PUSHMARK(SP);
Branch: 1 branch
BranchTrueFalseTotal
PUSHMARK(SP); 0 0 0
1931 0 ▶ XPUSHs(sv_2mortal(newSVnv((double)x)));
Branch: 1 branch
BranchTrueFalseTotal
XPUSHs(sv_2mortal(newSVnv((double)x))); 0 0 0
1932 0 ▶ XPUSHs(params);
Branch: 1 branch
BranchTrueFalseTotal
XPUSHs(params); 0 0 0
1933 0 PUTBACK; /* make local stack pointer global */
1934  
1935 0 count = call_sv(function, G_SCALAR);
1936 0 SPAGAIN;
1937  
1938 0 ▶ if (count != 1)
Branch: 1 branch
BranchTrueFalseTotal
if (count != 1) 0 0 0
1939 0 croak("Expected to call subroutine in scalar context!");
1940  
1941 0 y = POPn;
1942  
1943 0 PUTBACK; /* make local stack pointer global */
1944 0 ▶ FREETMPS;
Branch: 1 branch
BranchTrueFalseTotal
FREETMPS; 0 0 0
1945 0 LEAVE;
1946  
1947 0 return y;
1948 }
1949  
1950 0 double call_gsl_function(double x , void *params){
1951 0 struct gsl_function_perl *F=(struct gsl_function_perl*)params;
1952 0 return call_gsl_function_x_params( F->function, x, F->params );
1953 }
1954  
1955 0 double call_gsl_function_fdf_f(double x , void *params){
1956 0 struct gsl_function_fdf_perl *F=(struct gsl_function_fdf_perl*)params;
1957 0 return call_gsl_function_x_params( F->f, x, F->params );
1958 }
1959  
1960 0 double call_gsl_function_fdf_df(double x , void *params){
1961 0 struct gsl_function_fdf_perl *F=(struct gsl_function_fdf_perl*)params;
1962 0 return call_gsl_function_x_params( F->df, x, F->params );
1963 }
1964  
1965 0 void call_gsl_function_fdf_fdf(double x , void *params, double *f, double *df ){
1966 0 struct gsl_function_fdf_perl *F=(struct gsl_function_fdf_perl*)params;
1967  
1968 0 dSP;
1969  
1970 0 ENTER;
1971 0 SAVETMPS;
1972  
1973 0 ▶ PUSHMARK(SP);
Branch: 1 branch
BranchTrueFalseTotal
PUSHMARK(SP); 0 0 0
1974 0 ▶ EXTEND(SP, 2);
Branch: 1 branch
BranchTrueFalseTotal
EXTEND(SP, 2); 0 0 0
1975 0 PUSHs(sv_2mortal(newSVnv((double)x)));
1976 0 PUSHs(F->params);
1977 0 PUTBACK; /* make local stack pointer global */
1978  
1979 {
1980 0 unsigned int count = call_sv(F->fdf, G_ARRAY);
1981 0 SPAGAIN;
1982  
1983 0 ▶ if (count != 2)
Branch: 1 branch
BranchTrueFalseTotal
if (count != 2) 0 0 0
1984 0 croak( "Expected two return values, got %d", count );
1985 }
1986  
1987 0 *df = POPn;
1988 0 *f = POPn;
1989  
1990 0 PUTBACK; /* make local stack pointer global */
1991 0 ▶ FREETMPS;
Branch: 1 branch
BranchTrueFalseTotal
FREETMPS; 0 0 0
1992 0 LEAVE;
1993 0 }
1994  
1995 0 double call_gsl_monte_function(double *x_array , size_t dim, void *params){
1996 0 struct gsl_monte_function_perl *F=(struct gsl_monte_function_perl*)params;
1997 unsigned int count;
1998 unsigned int i;
1999 AV* perl_array;
2000 double y;
2001 0 dSP;
2002  
2003 //fprintf(stderr, "LOOKUP CALLBACK\n");
2004 0 ENTER;
2005 0 SAVETMPS;
2006  
2007 0 ▶ PUSHMARK(SP);
Branch: 1 branch
BranchTrueFalseTotal
PUSHMARK(SP); 0 0 0
2008 0 perl_array=newAV();
2009 0 sv_2mortal((SV*)perl_array);
2010 0 ▶ XPUSHs(sv_2mortal(newRV((SV *)perl_array)));
Branch: 1 branch
BranchTrueFalseTotal
XPUSHs(sv_2mortal(newRV((SV *)perl_array))); 0 0 0
2011 0 ▶ for(i=0; i<dim; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for(i=0; i<dim; i++) { 0 0 0
2012 /* no mortal : it is referenced by the array */
2013 0 av_push(perl_array, newSVnv(x_array[i]));
2014 }
2015 0 ▶ XPUSHs(sv_2mortal(newSViv(dim)));
Branch: 1 branch
BranchTrueFalseTotal
XPUSHs(sv_2mortal(newSViv(dim))); 0 0 0
2016 0 ▶ XPUSHs(F->params);
Branch: 1 branch
BranchTrueFalseTotal
XPUSHs(F->params); 0 0 0
2017 0 PUTBACK; /* make local stack pointer global */
2018  
2019 0 count = call_sv(F->f, G_SCALAR);
2020 0 SPAGAIN;
2021  
2022 0 ▶ if (count != 1)
Branch: 1 branch
BranchTrueFalseTotal
if (count != 1) 0 0 0
2023 0 croak("Expected to call subroutine in scalar context!");
2024  
2025 0 y = POPn;
2026  
2027 0 PUTBACK; /* make local stack pointer global */
2028 0 ▶ FREETMPS;
Branch: 1 branch
BranchTrueFalseTotal
FREETMPS; 0 0 0
2029 0 LEAVE;
2030  
2031 0 return y;
2032 }
2033  
2034  
2035 0 void gsl_function_fdf_extract( char* param_name, HV* hash, SV* func[] ) {
2036 static const char *keys[3] = { "f", "df", "fdf" };
2037  
2038 int ikey;
2039  
2040 0 ▶ for ( ikey = 0 ; ikey < 3 ; ++ikey ) {
Branch: 1 branch
BranchTrueFalseTotal
for ( ikey = 0 ; ikey < 3 ; ++ikey ) { 0 0 0
2041 0 func[ikey] = 0;
2042 0 const char* key = keys[ikey];
2043 /* it just so happens that strlen(keys[ikey]) == ikey + 1 */
2044 0 SV** pp_sv = hv_fetch( hash, key, ikey+1, 0 );
2045 SV* function;
2046  
2047 0 ▶ if ( !pp_sv )
Branch: 1 branch
BranchTrueFalseTotal
if ( !pp_sv ) 0 0 0
2048 0 croak("Math::GSL : %s: missing key %s!", param_name, key);
2049  
2050 0 function = *pp_sv;
2051  
2052 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
2053 /* hold on to SV after the enclosing hash goes away */
2054 0 SvREFCNT_inc( function );
2055 0 func[ikey] = function;
2056 }
2057 else {
2058 0 croak( "Math::GSL : %s: key %s is not a reference to code!", param_name, key);
2059 }
2060 }
2061 0 }
2062  
2063  
2064  
2065 /* Getting isfinite working pre C99 across multiple platforms is non-trivial. Users can provide SWIG_isfinite on older platforms. */
2066 #ifndef SWIG_isfinite
2067 /* isfinite() is a macro for C99 */
2068 # if defined(isfinite)
2069 # define SWIG_isfinite(X) (isfinite(X))
2070 # elif defined(__cplusplus) && __cplusplus >= 201103L
2071 /* Use a template so that this works whether isfinite() is std::isfinite() or
2072 * in the global namespace. The reality seems to vary between compiler
2073 * versions.
2074 *
2075 * Make sure namespace std exists to avoid compiler warnings.
2076 *
2077 * extern "C++" is required as this fragment can end up inside an extern "C" { } block
2078 */
2079 namespace std { }
2080 extern "C++" template<typename T>
2081 inline int SWIG_isfinite_func(T x) {
2082 using namespace std;
2083 return isfinite(x);
2084 }
2085 # define SWIG_isfinite(X) (SWIG_isfinite_func(X))
2086 # elif defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 2))
2087 # define SWIG_isfinite(X) (__builtin_isfinite(X))
2088 # elif defined(_MSC_VER)
2089 # define SWIG_isfinite(X) (_finite(X))
2090 # elif defined(__sun) && defined(__SVR4)
2091 # include <ieeefp.h>
2092 # define SWIG_isfinite(X) (finite(X))
2093 # endif
2094 #endif
2095  
2096  
2097 /* Accept infinite as a valid float value unless we are unable to check if a value is finite */
2098 #ifdef SWIG_isfinite
2099 # define SWIG_Float_Overflow_Check(X) ((X < -FLT_MAX || X > FLT_MAX) && SWIG_isfinite(X))
2100 #else
2101 # define SWIG_Float_Overflow_Check(X) ((X < -FLT_MAX || X > FLT_MAX))
2102 #endif
2103  
2104  
2105 SWIGINTERN int
2106 0 SWIG_AsVal_float SWIG_PERL_DECL_ARGS_2(SV * obj, float *val)
2107 {
2108 double v;
2109 0 int res = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(obj, &v);
2110 0 ▶ if (SWIG_IsOK(res)) {
Branch: 1 branch
BranchTrueFalseTotal
if (SWIG_IsOK(res)) { 0 0 0
2111 0 ▶ if (SWIG_Float_Overflow_Check(v)) {
Branch: 3 branches
BranchTrueFalseTotal
if (SWIG_Float_Overflow_Check(v)) { 0 0 0
if (SWIG_Float_Overflow_Check(v)) { 0 0 0
if (SWIG_Float_Overflow_Check(v)) { 0 0 0
2112 0 return SWIG_OverflowError;
2113 } else {
2114 0 ▶ if (val) *val = (float)(v);
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = (float)(v); 0 0 0
2115 }
2116 }
2117 0 return res;
2118 }
2119  
2120  
2121 SWIGINTERNINLINE SV *
2122 0 SWIG_From_float SWIG_PERL_DECL_ARGS_1(float value)
2123 {
2124 0 return SWIG_From_double SWIG_PERL_CALL_ARGS_1(value);
2125 }
2126  
2127  
2128 SWIGINTERN int
2129 0 SWIG_AsVal_unsigned_SS_long SWIG_PERL_DECL_ARGS_2(SV *obj, unsigned long *val)
2130 {
2131 0 ▶ if (SvUOK(obj)) {
Branch: 1 branch
BranchTrueFalseTotal
if (SvUOK(obj)) { 0 0 0
2132 0 UV v = SvUV(obj);
2133 if (UVSIZE <= sizeof(*val) || v <= ULONG_MAX) {
2134 0 ▶ if (val) *val = v;
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = v; 0 0 0
2135 0 return SWIG_OK;
2136 }
2137 return SWIG_OverflowError;
2138 0 ▶ } else if (SvIOK(obj)) {
Branch: 1 branch
BranchTrueFalseTotal
} else if (SvIOK(obj)) { 0 0 0
2139 0 IV v = SvIV(obj);
2140 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
2141 0 ▶ if (val) *val = v;
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = v; 0 0 0
2142 0 return SWIG_OK;
2143 }
2144 0 return SWIG_OverflowError;
2145 } else {
2146 0 int dispatch = 0;
2147 0 const char *nptr = SvPV_nolen(obj);
2148 0 ▶ if (nptr) {
Branch: 1 branch
BranchTrueFalseTotal
if (nptr) { 0 0 0
2149 char *endptr;
2150 unsigned long v;
2151 0 errno = 0;
2152 0 v = strtoul(nptr, &endptr,0);
2153 0 ▶ if (errno == ERANGE) {
Branch: 1 branch
BranchTrueFalseTotal
if (errno == ERANGE) { 0 0 0
2154 0 errno = 0;
2155 0 return SWIG_OverflowError;
2156 } else {
2157 0 ▶ if (*endptr == '\0') {
Branch: 1 branch
BranchTrueFalseTotal
if (*endptr == '\0') { 0 0 0
2158 0 ▶ if (val) *val = v;
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = v; 0 0 0
2159 0 return SWIG_Str2NumCast(SWIG_OK);
2160 }
2161 }
2162 }
2163 0 ▶ if (!dispatch) {
Branch: 1 branch
BranchTrueFalseTotal
if (!dispatch) { 0 0 0
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, 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
2167 0 ▶ if (val) *val = (unsigned long)(d);
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = (unsigned long)(d); 0 0 0
2168 0 return res;
2169 }
2170 }
2171 }
2172 0 return SWIG_TypeError;
2173 }
2174  
2175  
2176 SWIGINTERN int
2177 0 SWIG_AsVal_unsigned_SS_int SWIG_PERL_DECL_ARGS_2(SV * obj, unsigned int *val)
2178 {
2179 unsigned long v;
2180 0 int res = SWIG_AsVal_unsigned_SS_long SWIG_PERL_CALL_ARGS_2(obj, &v);
2181 0 ▶ if (SWIG_IsOK(res)) {
Branch: 1 branch
BranchTrueFalseTotal
if (SWIG_IsOK(res)) { 0 0 0
2182 0 ▶ if ((v > UINT_MAX)) {
Branch: 1 branch
BranchTrueFalseTotal
if ((v > UINT_MAX)) { 0 0 0
2183 0 return SWIG_OverflowError;
2184 } else {
2185 0 ▶ if (val) *val = (unsigned int)(v);
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = (unsigned int)(v); 0 0 0
2186 }
2187 }
2188 0 return res;
2189 }
2190  
2191  
2192 #if defined(LLONG_MAX) && !defined(SWIG_LONG_LONG_AVAILABLE)
2193 # define SWIG_LONG_LONG_AVAILABLE
2194 #endif
2195  
2196  
2197 #ifdef SWIG_LONG_LONG_AVAILABLE
2198 SWIGINTERN int
2199 0 SWIG_AsVal_unsigned_SS_long_SS_long SWIG_PERL_DECL_ARGS_2(SV *obj, unsigned long long *val)
2200 {
2201 0 ▶ if (SvUOK(obj)) {
Branch: 1 branch
BranchTrueFalseTotal
if (SvUOK(obj)) { 0 0 0
2202 /* pretty sure this should be conditional on
2203 * (UVSIZE <= sizeof(*val) || v <= ULLONG_MAX) */
2204 0 ▶ if (val) *val = SvUV(obj);
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = SvUV(obj); 0 0 0
2205 0 return SWIG_OK;
2206 0 ▶ } else if (SvIOK(obj)) {
Branch: 1 branch
BranchTrueFalseTotal
} else if (SvIOK(obj)) { 0 0 0
2207 0 IV v = SvIV(obj);
2208 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
2209 0 ▶ if (val) *val = v;
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = v; 0 0 0
2210 0 return SWIG_OK;
2211 } else {
2212 0 return SWIG_OverflowError;
2213 }
2214 } else {
2215 0 int dispatch = 0;
2216 0 const char *nptr = SvPV_nolen(obj);
2217 0 ▶ if (nptr) {
Branch: 1 branch
BranchTrueFalseTotal
if (nptr) { 0 0 0
2218 char *endptr;
2219 unsigned long long v;
2220 0 errno = 0;
2221 0 v = strtoull(nptr, &endptr,0);
2222 0 ▶ if (errno == ERANGE) {
Branch: 1 branch
BranchTrueFalseTotal
if (errno == ERANGE) { 0 0 0
2223 0 errno = 0;
2224 0 return SWIG_OverflowError;
2225 } else {
2226 0 ▶ if (*endptr == '\0') {
Branch: 1 branch
BranchTrueFalseTotal
if (*endptr == '\0') { 0 0 0
2227 0 ▶ if (val) *val = v;
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = v; 0 0 0
2228 0 return SWIG_Str2NumCast(SWIG_OK);
2229 }
2230 }
2231 }
2232 0 ▶ if (!dispatch) {
Branch: 1 branch
BranchTrueFalseTotal
if (!dispatch) { 0 0 0
2233 0 const double mant_max = 1LL << DBL_MANT_DIG;
2234 double d;
2235 0 int res = SWIG_AddCast(SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(obj,&d));
2236 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
2237 0 ▶ if (val) *val = (unsigned long long)(d);
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = (unsigned long long)(d); 0 0 0
2238 0 return res;
2239 }
2240 }
2241 }
2242 0 return SWIG_TypeError;
2243 }
2244 #endif
2245  
2246  
2247 SWIGINTERNINLINE int
2248 0 SWIG_AsVal_size_t SWIG_PERL_DECL_ARGS_2(SV * obj, size_t *val)
2249 {
2250 0 int res = SWIG_TypeError;
2251 #ifdef SWIG_LONG_LONG_AVAILABLE
2252 if (sizeof(size_t) <= sizeof(unsigned long)) {
2253 #endif
2254 unsigned long v;
2255 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
2256 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
2257 #ifdef SWIG_LONG_LONG_AVAILABLE
2258 } else if (sizeof(size_t) <= sizeof(unsigned long long)) {
2259 unsigned long long v;
2260 res = SWIG_AsVal_unsigned_SS_long_SS_long SWIG_PERL_CALL_ARGS_2(obj, val ? &v : 0);
2261 if (SWIG_IsOK(res) && val) *val = (size_t)(v);
2262 }
2263 #endif
2264 0 return res;
2265 }
2266  
2267  
2268 SWIGINTERNINLINE SV *
2269 0 SWIG_From_unsigned_SS_long SWIG_PERL_DECL_ARGS_1(unsigned long value)
2270 {
2271 SV *sv;
2272 if (UVSIZE >= sizeof(value) || value <= UV_MAX)
2273 0 sv = newSVuv(value);
2274 else
2275 sv = newSVpvf("%lu", value);
2276 0 return sv_2mortal(sv);
2277 }
2278  
2279  
2280 #include <stdio.h>
2281 #if (defined(_MSC_VER) && (_MSC_VER < 1900)) || defined(__BORLANDC__) || defined(_WATCOM)
2282 # ifndef snprintf
2283 # define snprintf _snprintf
2284 # endif
2285 #endif
2286  
2287  
2288 #ifdef SWIG_LONG_LONG_AVAILABLE
2289 SWIGINTERNINLINE SV *
2290 SWIG_From_unsigned_SS_long_SS_long SWIG_PERL_DECL_ARGS_1(unsigned long long value)
2291 {
2292 SV *sv;
2293 if (UVSIZE >= sizeof(value) || value <= UV_MAX)
2294 sv = newSVuv((UV)(value));
2295 else {
2296 //sv = newSVpvf("%llu", value); doesn't work in non 64bit Perl
2297 char temp[256];
2298 SWIG_snprintf(temp, sizeof(temp), "%llu", value);
2299 sv = newSVpv(temp, 0);
2300 }
2301 return sv_2mortal(sv);
2302 }
2303 #endif
2304  
2305  
2306 SWIGINTERNINLINE SV *
2307 0 SWIG_From_size_t SWIG_PERL_DECL_ARGS_1(size_t value)
2308 {
2309 #ifdef SWIG_LONG_LONG_AVAILABLE
2310 if (sizeof(size_t) <= sizeof(unsigned long)) {
2311 #endif
2312 0 return SWIG_From_unsigned_SS_long SWIG_PERL_CALL_ARGS_1((unsigned long)(value));
2313 #ifdef SWIG_LONG_LONG_AVAILABLE
2314 } else {
2315 /* assume sizeof(size_t) <= sizeof(unsigned long long) */
2316 return SWIG_From_unsigned_SS_long_SS_long SWIG_PERL_CALL_ARGS_1((unsigned long long)(value));
2317 }
2318 #endif
2319 }
2320  
2321  
2322 #include "gsl/gsl_inline.h"
2323 #include "gsl/gsl_complex.h"
2324 #include "gsl/gsl_sys.h"
2325 #include "gsl/gsl_pow_int.h"
2326 #include "gsl/gsl_nan.h"
2327 #include "gsl/gsl_machine.h"
2328 #include "gsl/gsl_math.h"
2329 #include "gsl/gsl_fft.h"
2330 #include "gsl/gsl_fft_complex.h"
2331 #include "gsl/gsl_fft_halfcomplex.h"
2332 #include "gsl/gsl_fft_real.h"
2333  
2334 #ifdef __cplusplus
2335 extern "C" {
2336 #endif
2337  
2338 #define MAGIC_CLASS
2339 0 SWIGCLASS_STATIC int swig_magic_readonly(pTHX_ SV *SWIGUNUSEDPARM(sv), MAGIC *SWIGUNUSEDPARM(mg)) {
2340 MAGIC_PPERL
2341 0 croak("Value is read-only.");
2342 return 0;
2343 }
2344  
2345 #ifdef __cplusplus
2346 }
2347 #endif
2348  
2349 #ifdef __cplusplus
2350 extern "C" {
2351 #endif
2352 0 XS(_wrap_gsl_error) {
2353 {
2354 0 char *arg1 = (char *) 0 ;
2355 0 char *arg2 = (char *) 0 ;
2356 int arg3 ;
2357 int arg4 ;
2358 int res1 ;
2359 0 char *buf1 = 0 ;
2360 0 int alloc1 = 0 ;
2361 int res2 ;
2362 0 char *buf2 = 0 ;
2363 0 int alloc2 = 0 ;
2364 int val3 ;
2365 0 int ecode3 = 0 ;
2366 int val4 ;
2367 0 int ecode4 = 0 ;
2368 0 int argvi = 0;
2369 0 dXSARGS;
2370
2371 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
2372 0 SWIG_croak("Usage: gsl_error(reason,file,line,gsl_errno);");
2373 }
2374 0 res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
2375 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2376 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
2377 }
2378 0 arg1 = (char *)(buf1);
2379 0 res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
2380 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
2381 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
2382 }
2383 0 arg2 = (char *)(buf2);
2384 0 ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
2385 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
2386 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
2387 }
2388 0 arg3 = (int)(val3);
2389 0 ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
2390 0 ▶ if (!SWIG_IsOK(ecode4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode4)) { 0 0 0
2391 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
2392 }
2393 0 arg4 = (int)(val4);
2394 0 gsl_error((char const *)arg1,(char const *)arg2,arg3,arg4);
2395 0 ST(argvi) = &PL_sv_undef;
2396 0 ▶ if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc1 == SWIG_NEWOBJ) free((char*)buf1); 0 0 0
2397 0 ▶ if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); 0 0 0
2398
2399
2400 0 XSRETURN(argvi);
2401 0 fail:
2402 0 ▶ if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc1 == SWIG_NEWOBJ) free((char*)buf1); 0 0 0
2403 0 ▶ if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); 0 0 0
2404
2405
2406 0 SWIG_croak_null();
2407 }
2408 }
2409  
2410  
2411 0 XS(_wrap_gsl_stream_printf) {
2412 {
2413 0 char *arg1 = (char *) 0 ;
2414 0 char *arg2 = (char *) 0 ;
2415 int arg3 ;
2416 0 char *arg4 = (char *) 0 ;
2417 int res1 ;
2418 0 char *buf1 = 0 ;
2419 0 int alloc1 = 0 ;
2420 int res2 ;
2421 0 char *buf2 = 0 ;
2422 0 int alloc2 = 0 ;
2423 int val3 ;
2424 0 int ecode3 = 0 ;
2425 int res4 ;
2426 0 char *buf4 = 0 ;
2427 0 int alloc4 = 0 ;
2428 0 int argvi = 0;
2429 0 dXSARGS;
2430
2431 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
2432 0 SWIG_croak("Usage: gsl_stream_printf(label,file,line,reason);");
2433 }
2434 0 res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
2435 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2436 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
2437 }
2438 0 arg1 = (char *)(buf1);
2439 0 res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
2440 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
2441 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
2442 }
2443 0 arg2 = (char *)(buf2);
2444 0 ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
2445 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
2446 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
2447 }
2448 0 arg3 = (int)(val3);
2449 0 res4 = SWIG_AsCharPtrAndSize(ST(3), &buf4, NULL, &alloc4);
2450 0 ▶ if (!SWIG_IsOK(res4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res4)) { 0 0 0
2451 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
2452 }
2453 0 arg4 = (char *)(buf4);
2454 0 gsl_stream_printf((char const *)arg1,(char const *)arg2,arg3,(char const *)arg4);
2455 0 ST(argvi) = &PL_sv_undef;
2456 0 ▶ if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc1 == SWIG_NEWOBJ) free((char*)buf1); 0 0 0
2457 0 ▶ if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); 0 0 0
2458
2459 0 ▶ if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc4 == SWIG_NEWOBJ) free((char*)buf4); 0 0 0
2460 0 XSRETURN(argvi);
2461 0 fail:
2462 0 ▶ if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc1 == SWIG_NEWOBJ) free((char*)buf1); 0 0 0
2463 0 ▶ if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); 0 0 0
2464
2465 0 ▶ if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc4 == SWIG_NEWOBJ) free((char*)buf4); 0 0 0
2466 0 SWIG_croak_null();
2467 }
2468 }
2469  
2470  
2471 0 XS(_wrap_gsl_strerror) {
2472 {
2473 int arg1 ;
2474 int val1 ;
2475 0 int ecode1 = 0 ;
2476 0 int argvi = 0;
2477 0 char *result = 0 ;
2478 0 dXSARGS;
2479
2480 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
2481 0 SWIG_croak("Usage: gsl_strerror(gsl_errno);");
2482 }
2483 0 ecode1 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
2484 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
2485 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
2486 }
2487 0 arg1 = (int)(val1);
2488 0 result = (char *)gsl_strerror(arg1);
2489 0 ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
2490
2491 0 XSRETURN(argvi);
2492 0 fail:
2493
2494 0 SWIG_croak_null();
2495 }
2496 }
2497  
2498  
2499 0 XS(_wrap_gsl_set_error_handler) {
2500 {
2501 0 gsl_error_handler_t *arg1 = (gsl_error_handler_t *) 0 ;
2502 0 int argvi = 0;
2503 0 gsl_error_handler_t *result = 0 ;
2504 0 dXSARGS;
2505
2506 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
2507 0 SWIG_croak("Usage: gsl_set_error_handler(new_handler);");
2508 }
2509 {
2510 0 int res = SWIG_ConvertFunctionPtr(ST(0), (void**)(&arg1), SWIGTYPE_p_f_p_q_const__char_p_q_const__char_int_int__void);
2511 0 ▶ if (!SWIG_IsOK(res)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res)) { 0 0 0
2512 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
2513 }
2514 }
2515 0 result = (gsl_error_handler_t *)gsl_set_error_handler(arg1);
2516 0 ST(argvi) = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_q_const__char_p_q_const__char_int_int__void); argvi++ ;
2517
2518 0 XSRETURN(argvi);
2519 0 fail:
2520
2521 0 SWIG_croak_null();
2522 }
2523 }
2524  
2525  
2526 0 XS(_wrap_gsl_set_error_handler_off) {
2527 {
2528 0 int argvi = 0;
2529 0 gsl_error_handler_t *result = 0 ;
2530 0 dXSARGS;
2531
2532 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
2533 0 SWIG_croak("Usage: gsl_set_error_handler_off();");
2534 }
2535 0 result = (gsl_error_handler_t *)gsl_set_error_handler_off();
2536 0 ST(argvi) = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_q_const__char_p_q_const__char_int_int__void); argvi++ ;
2537 0 XSRETURN(argvi);
2538 0 fail:
2539 0 SWIG_croak_null();
2540 }
2541 }
2542  
2543  
2544 0 XS(_wrap_gsl_set_stream_handler) {
2545 {
2546 0 gsl_stream_handler_t *arg1 = (gsl_stream_handler_t *) 0 ;
2547 0 int argvi = 0;
2548 0 gsl_stream_handler_t *result = 0 ;
2549 0 dXSARGS;
2550
2551 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
2552 0 SWIG_croak("Usage: gsl_set_stream_handler(new_handler);");
2553 }
2554 {
2555 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);
2556 0 ▶ if (!SWIG_IsOK(res)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res)) { 0 0 0
2557 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
2558 }
2559 }
2560 0 result = (gsl_stream_handler_t *)gsl_set_stream_handler(arg1);
2561 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++ ;
2562
2563 0 XSRETURN(argvi);
2564 0 fail:
2565
2566 0 SWIG_croak_null();
2567 }
2568 }
2569  
2570  
2571 0 XS(_wrap_gsl_set_stream) {
2572 {
2573 0 FILE *arg1 = (FILE *) 0 ;
2574 0 void *argp1 = 0 ;
2575 0 int res1 = 0 ;
2576 0 int argvi = 0;
2577 0 FILE *result = 0 ;
2578 0 dXSARGS;
2579
2580 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
2581 0 SWIG_croak("Usage: gsl_set_stream(new_stream);");
2582 }
2583 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_FILE, 0 | 0 );
2584 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2585 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
2586 }
2587 0 arg1 = (FILE *)(argp1);
2588 0 result = (FILE *)gsl_set_stream(arg1);
2589 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FILE, 0 | 0); argvi++ ;
2590
2591 0 XSRETURN(argvi);
2592 0 fail:
2593
2594 0 SWIG_croak_null();
2595 }
2596 }
2597  
2598  
2599 0 XS(_wrap_gsl_function_struct_function_set) {
2600 {
2601 0 struct gsl_function_struct *arg1 = (struct gsl_function_struct *) 0 ;
2602 0 double (*arg2)(double,void *) = (double (*)(double,void *)) 0 ;
2603 0 void *argp1 = 0 ;
2604 0 int res1 = 0 ;
2605 0 int argvi = 0;
2606 0 dXSARGS;
2607
2608 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
2609 0 SWIG_croak("Usage: gsl_function_struct_function_set(self,function);");
2610 }
2611 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_function_struct, 0 | 0 );
2612 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2613 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
2614 }
2615 0 arg1 = (struct gsl_function_struct *)(argp1);
2616 {
2617 0 int res = SWIG_ConvertFunctionPtr(ST(1), (void**)(&arg2), SWIGTYPE_p_f_double_p_void__double);
2618 0 ▶ if (!SWIG_IsOK(res)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res)) { 0 0 0
2619 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
2620 }
2621 }
2622 0 ▶ if (arg1) (arg1)->function = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->function = arg2; 0 0 0
2623 0 ST(argvi) = &PL_sv_undef;
2624
2625
2626 0 XSRETURN(argvi);
2627 0 fail:
2628
2629
2630 0 SWIG_croak_null();
2631 }
2632 }
2633  
2634  
2635 0 XS(_wrap_gsl_function_struct_function_get) {
2636 {
2637 0 struct gsl_function_struct *arg1 = (struct gsl_function_struct *) 0 ;
2638 0 void *argp1 = 0 ;
2639 0 int res1 = 0 ;
2640 0 int argvi = 0;
2641 0 double (*result)(double,void *) = 0 ;
2642 0 dXSARGS;
2643
2644 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
2645 0 SWIG_croak("Usage: gsl_function_struct_function_get(self);");
2646 }
2647 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_function_struct, 0 | 0 );
2648 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2649 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
2650 }
2651 0 arg1 = (struct gsl_function_struct *)(argp1);
2652 0 result = (double (*)(double,void *)) ((arg1)->function);
2653 0 ST(argvi) = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_double_p_void__double); argvi++ ;
2654
2655 0 XSRETURN(argvi);
2656 0 fail:
2657
2658 0 SWIG_croak_null();
2659 }
2660 }
2661  
2662  
2663 0 XS(_wrap_gsl_function_struct_params_set) {
2664 {
2665 0 struct gsl_function_struct *arg1 = (struct gsl_function_struct *) 0 ;
2666 0 void *arg2 = (void *) 0 ;
2667 0 void *argp1 = 0 ;
2668 0 int res1 = 0 ;
2669 int res2 ;
2670 0 int argvi = 0;
2671 0 dXSARGS;
2672
2673 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
2674 0 SWIG_croak("Usage: gsl_function_struct_params_set(self,params);");
2675 }
2676 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_function_struct, 0 | 0 );
2677 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2678 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
2679 }
2680 0 arg1 = (struct gsl_function_struct *)(argp1);
2681 0 res2 = SWIG_ConvertPtr(ST(1),SWIG_as_voidptrptr(&arg2), 0, SWIG_POINTER_DISOWN);
2682 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
2683 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
2684 }
2685 0 ▶ if (arg1) (arg1)->params = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->params = arg2; 0 0 0
2686 0 ST(argvi) = &PL_sv_undef;
2687
2688
2689 0 XSRETURN(argvi);
2690 0 fail:
2691
2692
2693 0 SWIG_croak_null();
2694 }
2695 }
2696  
2697  
2698 0 XS(_wrap_gsl_function_struct_params_get) {
2699 {
2700 0 struct gsl_function_struct *arg1 = (struct gsl_function_struct *) 0 ;
2701 0 void *argp1 = 0 ;
2702 0 int res1 = 0 ;
2703 0 int argvi = 0;
2704 0 void *result = 0 ;
2705 0 dXSARGS;
2706
2707 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
2708 0 SWIG_croak("Usage: gsl_function_struct_params_get(self);");
2709 }
2710 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_function_struct, 0 | 0 );
2711 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2712 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
2713 }
2714 0 arg1 = (struct gsl_function_struct *)(argp1);
2715 0 result = (void *) ((arg1)->params);
2716 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0); argvi++ ;
2717
2718 0 XSRETURN(argvi);
2719 0 fail:
2720
2721 0 SWIG_croak_null();
2722 }
2723 }
2724  
2725  
2726 0 XS(_wrap_new_gsl_function_struct) {
2727 {
2728 0 int argvi = 0;
2729 0 struct gsl_function_struct *result = 0 ;
2730 0 dXSARGS;
2731
2732 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
2733 0 SWIG_croak("Usage: new_gsl_function_struct();");
2734 }
2735 0 result = (struct gsl_function_struct *)calloc(1, sizeof(struct gsl_function_struct));
2736 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_function_struct, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
2737 0 XSRETURN(argvi);
2738 0 fail:
2739 0 SWIG_croak_null();
2740 }
2741 }
2742  
2743  
2744 0 XS(_wrap_delete_gsl_function_struct) {
2745 {
2746 0 struct gsl_function_struct *arg1 = (struct gsl_function_struct *) 0 ;
2747 0 void *argp1 = 0 ;
2748 0 int res1 = 0 ;
2749 0 int argvi = 0;
2750 0 dXSARGS;
2751
2752 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
2753 0 SWIG_croak("Usage: delete_gsl_function_struct(self);");
2754 }
2755 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_function_struct, SWIG_POINTER_DISOWN | 0 );
2756 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2757 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
2758 }
2759 0 arg1 = (struct gsl_function_struct *)(argp1);
2760 0 free((char *) arg1);
2761 0 ST(argvi) = &PL_sv_undef;
2762
2763 0 XSRETURN(argvi);
2764 0 fail:
2765
2766 0 SWIG_croak_null();
2767 }
2768 }
2769  
2770  
2771 0 XS(_wrap_gsl_function_fdf_struct_f_set) {
2772 {
2773 0 struct gsl_function_fdf_struct *arg1 = (struct gsl_function_fdf_struct *) 0 ;
2774 0 double (*arg2)(double,void *) = (double (*)(double,void *)) 0 ;
2775 0 void *argp1 = 0 ;
2776 0 int res1 = 0 ;
2777 0 int argvi = 0;
2778 0 dXSARGS;
2779
2780 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
2781 0 SWIG_croak("Usage: gsl_function_fdf_struct_f_set(self,f);");
2782 }
2783 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_function_fdf_struct, 0 | 0 );
2784 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2785 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
2786 }
2787 0 arg1 = (struct gsl_function_fdf_struct *)(argp1);
2788 {
2789 0 int res = SWIG_ConvertFunctionPtr(ST(1), (void**)(&arg2), SWIGTYPE_p_f_double_p_void__double);
2790 0 ▶ if (!SWIG_IsOK(res)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res)) { 0 0 0
2791 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
2792 }
2793 }
2794 0 ▶ if (arg1) (arg1)->f = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->f = arg2; 0 0 0
2795 0 ST(argvi) = &PL_sv_undef;
2796
2797
2798 0 XSRETURN(argvi);
2799 0 fail:
2800
2801
2802 0 SWIG_croak_null();
2803 }
2804 }
2805  
2806  
2807 0 XS(_wrap_gsl_function_fdf_struct_f_get) {
2808 {
2809 0 struct gsl_function_fdf_struct *arg1 = (struct gsl_function_fdf_struct *) 0 ;
2810 0 void *argp1 = 0 ;
2811 0 int res1 = 0 ;
2812 0 int argvi = 0;
2813 0 double (*result)(double,void *) = 0 ;
2814 0 dXSARGS;
2815
2816 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
2817 0 SWIG_croak("Usage: gsl_function_fdf_struct_f_get(self);");
2818 }
2819 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_function_fdf_struct, 0 | 0 );
2820 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2821 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
2822 }
2823 0 arg1 = (struct gsl_function_fdf_struct *)(argp1);
2824 0 result = (double (*)(double,void *)) ((arg1)->f);
2825 0 ST(argvi) = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_double_p_void__double); argvi++ ;
2826
2827 0 XSRETURN(argvi);
2828 0 fail:
2829
2830 0 SWIG_croak_null();
2831 }
2832 }
2833  
2834  
2835 0 XS(_wrap_gsl_function_fdf_struct_df_set) {
2836 {
2837 0 struct gsl_function_fdf_struct *arg1 = (struct gsl_function_fdf_struct *) 0 ;
2838 0 double (*arg2)(double,void *) = (double (*)(double,void *)) 0 ;
2839 0 void *argp1 = 0 ;
2840 0 int res1 = 0 ;
2841 0 int argvi = 0;
2842 0 dXSARGS;
2843
2844 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
2845 0 SWIG_croak("Usage: gsl_function_fdf_struct_df_set(self,df);");
2846 }
2847 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_function_fdf_struct, 0 | 0 );
2848 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2849 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
2850 }
2851 0 arg1 = (struct gsl_function_fdf_struct *)(argp1);
2852 {
2853 0 int res = SWIG_ConvertFunctionPtr(ST(1), (void**)(&arg2), SWIGTYPE_p_f_double_p_void__double);
2854 0 ▶ if (!SWIG_IsOK(res)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res)) { 0 0 0
2855 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
2856 }
2857 }
2858 0 ▶ if (arg1) (arg1)->df = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->df = arg2; 0 0 0
2859 0 ST(argvi) = &PL_sv_undef;
2860
2861
2862 0 XSRETURN(argvi);
2863 0 fail:
2864
2865
2866 0 SWIG_croak_null();
2867 }
2868 }
2869  
2870  
2871 0 XS(_wrap_gsl_function_fdf_struct_df_get) {
2872 {
2873 0 struct gsl_function_fdf_struct *arg1 = (struct gsl_function_fdf_struct *) 0 ;
2874 0 void *argp1 = 0 ;
2875 0 int res1 = 0 ;
2876 0 int argvi = 0;
2877 0 double (*result)(double,void *) = 0 ;
2878 0 dXSARGS;
2879
2880 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
2881 0 SWIG_croak("Usage: gsl_function_fdf_struct_df_get(self);");
2882 }
2883 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_function_fdf_struct, 0 | 0 );
2884 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2885 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
2886 }
2887 0 arg1 = (struct gsl_function_fdf_struct *)(argp1);
2888 0 result = (double (*)(double,void *)) ((arg1)->df);
2889 0 ST(argvi) = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_double_p_void__double); argvi++ ;
2890
2891 0 XSRETURN(argvi);
2892 0 fail:
2893
2894 0 SWIG_croak_null();
2895 }
2896 }
2897  
2898  
2899 0 XS(_wrap_gsl_function_fdf_struct_fdf_set) {
2900 {
2901 0 struct gsl_function_fdf_struct *arg1 = (struct gsl_function_fdf_struct *) 0 ;
2902 0 void (*arg2)(double,void *,double *,double *) = (void (*)(double,void *,double *,double *)) 0 ;
2903 0 void *argp1 = 0 ;
2904 0 int res1 = 0 ;
2905 0 int argvi = 0;
2906 0 dXSARGS;
2907
2908 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
2909 0 SWIG_croak("Usage: gsl_function_fdf_struct_fdf_set(self,fdf);");
2910 }
2911 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_function_fdf_struct, 0 | 0 );
2912 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2913 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
2914 }
2915 0 arg1 = (struct gsl_function_fdf_struct *)(argp1);
2916 {
2917 0 int res = SWIG_ConvertFunctionPtr(ST(1), (void**)(&arg2), SWIGTYPE_p_f_double_p_void_p_double_p_double__void);
2918 0 ▶ if (!SWIG_IsOK(res)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res)) { 0 0 0
2919 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
2920 }
2921 }
2922 0 ▶ if (arg1) (arg1)->fdf = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->fdf = arg2; 0 0 0
2923 0 ST(argvi) = &PL_sv_undef;
2924
2925
2926 0 XSRETURN(argvi);
2927 0 fail:
2928
2929
2930 0 SWIG_croak_null();
2931 }
2932 }
2933  
2934  
2935 0 XS(_wrap_gsl_function_fdf_struct_fdf_get) {
2936 {
2937 0 struct gsl_function_fdf_struct *arg1 = (struct gsl_function_fdf_struct *) 0 ;
2938 0 void *argp1 = 0 ;
2939 0 int res1 = 0 ;
2940 0 int argvi = 0;
2941 0 void (*result)(double,void *,double *,double *) = 0 ;
2942 0 dXSARGS;
2943
2944 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
2945 0 SWIG_croak("Usage: gsl_function_fdf_struct_fdf_get(self);");
2946 }
2947 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_function_fdf_struct, 0 | 0 );
2948 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2949 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
2950 }
2951 0 arg1 = (struct gsl_function_fdf_struct *)(argp1);
2952 0 result = (void (*)(double,void *,double *,double *)) ((arg1)->fdf);
2953 0 ST(argvi) = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_double_p_void_p_double_p_double__void); argvi++ ;
2954
2955 0 XSRETURN(argvi);
2956 0 fail:
2957
2958 0 SWIG_croak_null();
2959 }
2960 }
2961  
2962  
2963 0 XS(_wrap_gsl_function_fdf_struct_params_set) {
2964 {
2965 0 struct gsl_function_fdf_struct *arg1 = (struct gsl_function_fdf_struct *) 0 ;
2966 0 void *arg2 = (void *) 0 ;
2967 0 void *argp1 = 0 ;
2968 0 int res1 = 0 ;
2969 int res2 ;
2970 0 int argvi = 0;
2971 0 dXSARGS;
2972
2973 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
2974 0 SWIG_croak("Usage: gsl_function_fdf_struct_params_set(self,params);");
2975 }
2976 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_function_fdf_struct, 0 | 0 );
2977 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2978 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
2979 }
2980 0 arg1 = (struct gsl_function_fdf_struct *)(argp1);
2981 0 res2 = SWIG_ConvertPtr(ST(1),SWIG_as_voidptrptr(&arg2), 0, SWIG_POINTER_DISOWN);
2982 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
2983 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
2984 }
2985 0 ▶ if (arg1) (arg1)->params = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->params = arg2; 0 0 0
2986 0 ST(argvi) = &PL_sv_undef;
2987
2988
2989 0 XSRETURN(argvi);
2990 0 fail:
2991
2992
2993 0 SWIG_croak_null();
2994 }
2995 }
2996  
2997  
2998 0 XS(_wrap_gsl_function_fdf_struct_params_get) {
2999 {
3000 0 struct gsl_function_fdf_struct *arg1 = (struct gsl_function_fdf_struct *) 0 ;
3001 0 void *argp1 = 0 ;
3002 0 int res1 = 0 ;
3003 0 int argvi = 0;
3004 0 void *result = 0 ;
3005 0 dXSARGS;
3006
3007 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
3008 0 SWIG_croak("Usage: gsl_function_fdf_struct_params_get(self);");
3009 }
3010 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_function_fdf_struct, 0 | 0 );
3011 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3012 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
3013 }
3014 0 arg1 = (struct gsl_function_fdf_struct *)(argp1);
3015 0 result = (void *) ((arg1)->params);
3016 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0); argvi++ ;
3017
3018 0 XSRETURN(argvi);
3019 0 fail:
3020
3021 0 SWIG_croak_null();
3022 }
3023 }
3024  
3025  
3026 0 XS(_wrap_new_gsl_function_fdf_struct) {
3027 {
3028 0 int argvi = 0;
3029 0 struct gsl_function_fdf_struct *result = 0 ;
3030 0 dXSARGS;
3031
3032 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
3033 0 SWIG_croak("Usage: new_gsl_function_fdf_struct();");
3034 }
3035 0 result = (struct gsl_function_fdf_struct *)calloc(1, sizeof(struct gsl_function_fdf_struct));
3036 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_function_fdf_struct, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
3037 0 XSRETURN(argvi);
3038 0 fail:
3039 0 SWIG_croak_null();
3040 }
3041 }
3042  
3043  
3044 0 XS(_wrap_delete_gsl_function_fdf_struct) {
3045 {
3046 0 struct gsl_function_fdf_struct *arg1 = (struct gsl_function_fdf_struct *) 0 ;
3047 0 void *argp1 = 0 ;
3048 0 int res1 = 0 ;
3049 0 int argvi = 0;
3050 0 dXSARGS;
3051
3052 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
3053 0 SWIG_croak("Usage: delete_gsl_function_fdf_struct(self);");
3054 }
3055 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_function_fdf_struct, SWIG_POINTER_DISOWN | 0 );
3056 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3057 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
3058 }
3059 0 arg1 = (struct gsl_function_fdf_struct *)(argp1);
3060 0 free((char *) arg1);
3061 0 ST(argvi) = &PL_sv_undef;
3062
3063 0 XSRETURN(argvi);
3064 0 fail:
3065
3066 0 SWIG_croak_null();
3067 }
3068 }
3069  
3070  
3071 0 XS(_wrap_gsl_function_vec_struct_function_set) {
3072 {
3073 0 struct gsl_function_vec_struct *arg1 = (struct gsl_function_vec_struct *) 0 ;
3074 0 int (*arg2)(double,double [],void *) = (int (*)(double,double [],void *)) 0 ;
3075 0 void *argp1 = 0 ;
3076 0 int res1 = 0 ;
3077 0 int argvi = 0;
3078 0 dXSARGS;
3079
3080 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
3081 0 SWIG_croak("Usage: gsl_function_vec_struct_function_set(self,function);");
3082 }
3083 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_function_vec_struct, 0 | 0 );
3084 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3085 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
3086 }
3087 0 arg1 = (struct gsl_function_vec_struct *)(argp1);
3088 {
3089 0 int res = SWIG_ConvertFunctionPtr(ST(1), (void**)(&arg2), SWIGTYPE_p_f_double_a___double_p_void__int);
3090 0 ▶ if (!SWIG_IsOK(res)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res)) { 0 0 0
3091 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
3092 }
3093 }
3094 0 ▶ if (arg1) (arg1)->function = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->function = arg2; 0 0 0
3095 0 ST(argvi) = &PL_sv_undef;
3096
3097
3098 0 XSRETURN(argvi);
3099 0 fail:
3100
3101
3102 0 SWIG_croak_null();
3103 }
3104 }
3105  
3106  
3107 0 XS(_wrap_gsl_function_vec_struct_function_get) {
3108 {
3109 0 struct gsl_function_vec_struct *arg1 = (struct gsl_function_vec_struct *) 0 ;
3110 0 void *argp1 = 0 ;
3111 0 int res1 = 0 ;
3112 0 int argvi = 0;
3113 0 int (*result)(double,double [],void *) = 0 ;
3114 0 dXSARGS;
3115
3116 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
3117 0 SWIG_croak("Usage: gsl_function_vec_struct_function_get(self);");
3118 }
3119 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_function_vec_struct, 0 | 0 );
3120 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3121 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
3122 }
3123 0 arg1 = (struct gsl_function_vec_struct *)(argp1);
3124 0 result = (int (*)(double,double [],void *)) ((arg1)->function);
3125 0 ST(argvi) = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_double_a___double_p_void__int); argvi++ ;
3126
3127 0 XSRETURN(argvi);
3128 0 fail:
3129
3130 0 SWIG_croak_null();
3131 }
3132 }
3133  
3134  
3135 0 XS(_wrap_gsl_function_vec_struct_params_set) {
3136 {
3137 0 struct gsl_function_vec_struct *arg1 = (struct gsl_function_vec_struct *) 0 ;
3138 0 void *arg2 = (void *) 0 ;
3139 0 void *argp1 = 0 ;
3140 0 int res1 = 0 ;
3141 int res2 ;
3142 0 int argvi = 0;
3143 0 dXSARGS;
3144
3145 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
3146 0 SWIG_croak("Usage: gsl_function_vec_struct_params_set(self,params);");
3147 }
3148 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_function_vec_struct, 0 | 0 );
3149 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3150 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
3151 }
3152 0 arg1 = (struct gsl_function_vec_struct *)(argp1);
3153 0 res2 = SWIG_ConvertPtr(ST(1),SWIG_as_voidptrptr(&arg2), 0, SWIG_POINTER_DISOWN);
3154 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
3155 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
3156 }
3157 0 ▶ if (arg1) (arg1)->params = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->params = arg2; 0 0 0
3158 0 ST(argvi) = &PL_sv_undef;
3159
3160
3161 0 XSRETURN(argvi);
3162 0 fail:
3163
3164
3165 0 SWIG_croak_null();
3166 }
3167 }
3168  
3169  
3170 0 XS(_wrap_gsl_function_vec_struct_params_get) {
3171 {
3172 0 struct gsl_function_vec_struct *arg1 = (struct gsl_function_vec_struct *) 0 ;
3173 0 void *argp1 = 0 ;
3174 0 int res1 = 0 ;
3175 0 int argvi = 0;
3176 0 void *result = 0 ;
3177 0 dXSARGS;
3178
3179 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
3180 0 SWIG_croak("Usage: gsl_function_vec_struct_params_get(self);");
3181 }
3182 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_function_vec_struct, 0 | 0 );
3183 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3184 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
3185 }
3186 0 arg1 = (struct gsl_function_vec_struct *)(argp1);
3187 0 result = (void *) ((arg1)->params);
3188 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0); argvi++ ;
3189
3190 0 XSRETURN(argvi);
3191 0 fail:
3192
3193 0 SWIG_croak_null();
3194 }
3195 }
3196  
3197  
3198 0 XS(_wrap_new_gsl_function_vec_struct) {
3199 {
3200 0 int argvi = 0;
3201 0 struct gsl_function_vec_struct *result = 0 ;
3202 0 dXSARGS;
3203
3204 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
3205 0 SWIG_croak("Usage: new_gsl_function_vec_struct();");
3206 }
3207 0 result = (struct gsl_function_vec_struct *)calloc(1, sizeof(struct gsl_function_vec_struct));
3208 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_function_vec_struct, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
3209 0 XSRETURN(argvi);
3210 0 fail:
3211 0 SWIG_croak_null();
3212 }
3213 }
3214  
3215  
3216 0 XS(_wrap_delete_gsl_function_vec_struct) {
3217 {
3218 0 struct gsl_function_vec_struct *arg1 = (struct gsl_function_vec_struct *) 0 ;
3219 0 void *argp1 = 0 ;
3220 0 int res1 = 0 ;
3221 0 int argvi = 0;
3222 0 dXSARGS;
3223
3224 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
3225 0 SWIG_croak("Usage: delete_gsl_function_vec_struct(self);");
3226 }
3227 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_function_vec_struct, SWIG_POINTER_DISOWN | 0 );
3228 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3229 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
3230 }
3231 0 arg1 = (struct gsl_function_vec_struct *)(argp1);
3232 0 free((char *) arg1);
3233 0 ST(argvi) = &PL_sv_undef;
3234
3235 0 XSRETURN(argvi);
3236 0 fail:
3237
3238 0 SWIG_croak_null();
3239 }
3240 }
3241  
3242  
3243 0 XS(_wrap_gsl_log1p) {
3244 {
3245 double arg1 ;
3246 double val1 ;
3247 0 int ecode1 = 0 ;
3248 0 int argvi = 0;
3249 double result;
3250 0 dXSARGS;
3251
3252 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
3253 0 SWIG_croak("Usage: gsl_log1p(x);");
3254 }
3255 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
3256 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
3257 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_log1p" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_log1p" "', argument " "1"" of type '" "double""'"); 0 0 0
3258 }
3259 0 arg1 = (double)(val1);
3260 0 result = (double)gsl_log1p(arg1);
3261 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
3262
3263 0 XSRETURN(argvi);
3264 0 fail:
3265
3266 0 SWIG_croak_null();
3267 }
3268 }
3269  
3270  
3271 0 XS(_wrap_gsl_expm1) {
3272 {
3273 double arg1 ;
3274 double val1 ;
3275 0 int ecode1 = 0 ;
3276 0 int argvi = 0;
3277 double result;
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_expm1(x);");
3282 }
3283 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
3284 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
3285 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_expm1" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_expm1" "', argument " "1"" of type '" "double""'"); 0 0 0
3286 }
3287 0 arg1 = (double)(val1);
3288 0 result = (double)gsl_expm1(arg1);
3289 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
3290
3291 0 XSRETURN(argvi);
3292 0 fail:
3293
3294 0 SWIG_croak_null();
3295 }
3296 }
3297  
3298  
3299 0 XS(_wrap_gsl_hypot) {
3300 {
3301 double arg1 ;
3302 double arg2 ;
3303 double val1 ;
3304 0 int ecode1 = 0 ;
3305 double val2 ;
3306 0 int ecode2 = 0 ;
3307 0 int argvi = 0;
3308 double result;
3309 0 dXSARGS;
3310
3311 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
3312 0 SWIG_croak("Usage: gsl_hypot(x,y);");
3313 }
3314 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
3315 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
3316 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_hypot" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_hypot" "', argument " "1"" of type '" "double""'"); 0 0 0
3317 }
3318 0 arg1 = (double)(val1);
3319 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
3320 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
3321 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_hypot" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_hypot" "', argument " "2"" of type '" "double""'"); 0 0 0
3322 }
3323 0 arg2 = (double)(val2);
3324 0 result = (double)gsl_hypot(arg1,arg2);
3325 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
3326
3327
3328 0 XSRETURN(argvi);
3329 0 fail:
3330
3331
3332 0 SWIG_croak_null();
3333 }
3334 }
3335  
3336  
3337 0 XS(_wrap_gsl_hypot3) {
3338 {
3339 double arg1 ;
3340 double arg2 ;
3341 double arg3 ;
3342 double val1 ;
3343 0 int ecode1 = 0 ;
3344 double val2 ;
3345 0 int ecode2 = 0 ;
3346 double val3 ;
3347 0 int ecode3 = 0 ;
3348 0 int argvi = 0;
3349 double result;
3350 0 dXSARGS;
3351
3352 0 ▶ if ((items < 3) || (items > 3)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 3) || (items > 3)) { 0 0 0
if ((items < 3) || (items > 3)) { 0 0 0
3353 0 SWIG_croak("Usage: gsl_hypot3(x,y,z);");
3354 }
3355 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
3356 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
3357 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_hypot3" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_hypot3" "', argument " "1"" of type '" "double""'"); 0 0 0
3358 }
3359 0 arg1 = (double)(val1);
3360 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
3361 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
3362 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_hypot3" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_hypot3" "', argument " "2"" of type '" "double""'"); 0 0 0
3363 }
3364 0 arg2 = (double)(val2);
3365 0 ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
3366 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
3367 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_hypot3" "', argument " "3"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_hypot3" "', argument " "3"" of type '" "double""'"); 0 0 0
3368 }
3369 0 arg3 = (double)(val3);
3370 0 result = (double)gsl_hypot3(arg1,arg2,arg3);
3371 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
3372
3373
3374
3375 0 XSRETURN(argvi);
3376 0 fail:
3377
3378
3379
3380 0 SWIG_croak_null();
3381 }
3382 }
3383  
3384  
3385 0 XS(_wrap_gsl_acosh) {
3386 {
3387 double arg1 ;
3388 double val1 ;
3389 0 int ecode1 = 0 ;
3390 0 int argvi = 0;
3391 double result;
3392 0 dXSARGS;
3393
3394 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
3395 0 SWIG_croak("Usage: gsl_acosh(x);");
3396 }
3397 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
3398 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
3399 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_acosh" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_acosh" "', argument " "1"" of type '" "double""'"); 0 0 0
3400 }
3401 0 arg1 = (double)(val1);
3402 0 result = (double)gsl_acosh(arg1);
3403 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
3404
3405 0 XSRETURN(argvi);
3406 0 fail:
3407
3408 0 SWIG_croak_null();
3409 }
3410 }
3411  
3412  
3413 0 XS(_wrap_gsl_asinh) {
3414 {
3415 double arg1 ;
3416 double val1 ;
3417 0 int ecode1 = 0 ;
3418 0 int argvi = 0;
3419 double result;
3420 0 dXSARGS;
3421
3422 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
3423 0 SWIG_croak("Usage: gsl_asinh(x);");
3424 }
3425 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
3426 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
3427 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_asinh" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_asinh" "', argument " "1"" of type '" "double""'"); 0 0 0
3428 }
3429 0 arg1 = (double)(val1);
3430 0 result = (double)gsl_asinh(arg1);
3431 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
3432
3433 0 XSRETURN(argvi);
3434 0 fail:
3435
3436 0 SWIG_croak_null();
3437 }
3438 }
3439  
3440  
3441 0 XS(_wrap_gsl_atanh) {
3442 {
3443 double arg1 ;
3444 double val1 ;
3445 0 int ecode1 = 0 ;
3446 0 int argvi = 0;
3447 double result;
3448 0 dXSARGS;
3449
3450 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
3451 0 SWIG_croak("Usage: gsl_atanh(x);");
3452 }
3453 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
3454 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
3455 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_atanh" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_atanh" "', argument " "1"" of type '" "double""'"); 0 0 0
3456 }
3457 0 arg1 = (double)(val1);
3458 0 result = (double)gsl_atanh(arg1);
3459 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
3460
3461 0 XSRETURN(argvi);
3462 0 fail:
3463
3464 0 SWIG_croak_null();
3465 }
3466 }
3467  
3468  
3469 0 XS(_wrap_gsl_isnan) {
3470 {
3471 double arg1 ;
3472 double val1 ;
3473 0 int ecode1 = 0 ;
3474 0 int argvi = 0;
3475 int result;
3476 0 dXSARGS;
3477
3478 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
3479 0 SWIG_croak("Usage: gsl_isnan(x);");
3480 }
3481 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
3482 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
3483 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_isnan" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_isnan" "', argument " "1"" of type '" "double""'"); 0 0 0
3484 }
3485 0 arg1 = (double)(val1);
3486 0 result = (int)gsl_isnan(arg1);
3487 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
3488
3489 0 XSRETURN(argvi);
3490 0 fail:
3491
3492 0 SWIG_croak_null();
3493 }
3494 }
3495  
3496  
3497 0 XS(_wrap_gsl_isinf) {
3498 {
3499 double arg1 ;
3500 double val1 ;
3501 0 int ecode1 = 0 ;
3502 0 int argvi = 0;
3503 int result;
3504 0 dXSARGS;
3505
3506 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
3507 0 SWIG_croak("Usage: gsl_isinf(x);");
3508 }
3509 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
3510 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
3511 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_isinf" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_isinf" "', argument " "1"" of type '" "double""'"); 0 0 0
3512 }
3513 0 arg1 = (double)(val1);
3514 0 result = (int)gsl_isinf(arg1);
3515 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
3516
3517 0 XSRETURN(argvi);
3518 0 fail:
3519
3520 0 SWIG_croak_null();
3521 }
3522 }
3523  
3524  
3525 0 XS(_wrap_gsl_finite) {
3526 {
3527 double arg1 ;
3528 double val1 ;
3529 0 int ecode1 = 0 ;
3530 0 int argvi = 0;
3531 int result;
3532 0 dXSARGS;
3533
3534 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
3535 0 SWIG_croak("Usage: gsl_finite(x);");
3536 }
3537 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
3538 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
3539 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_finite" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_finite" "', argument " "1"" of type '" "double""'"); 0 0 0
3540 }
3541 0 arg1 = (double)(val1);
3542 0 result = (int)gsl_finite(arg1);
3543 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
3544
3545 0 XSRETURN(argvi);
3546 0 fail:
3547
3548 0 SWIG_croak_null();
3549 }
3550 }
3551  
3552  
3553 0 XS(_wrap_gsl_nan) {
3554 {
3555 0 int argvi = 0;
3556 double result;
3557 0 dXSARGS;
3558
3559 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
3560 0 SWIG_croak("Usage: gsl_nan();");
3561 }
3562 0 result = (double)gsl_nan();
3563 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
3564 0 XSRETURN(argvi);
3565 0 fail:
3566 0 SWIG_croak_null();
3567 }
3568 }
3569  
3570  
3571 0 XS(_wrap_gsl_posinf) {
3572 {
3573 0 int argvi = 0;
3574 double result;
3575 0 dXSARGS;
3576
3577 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
3578 0 SWIG_croak("Usage: gsl_posinf();");
3579 }
3580 0 result = (double)gsl_posinf();
3581 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
3582 0 XSRETURN(argvi);
3583 0 fail:
3584 0 SWIG_croak_null();
3585 }
3586 }
3587  
3588  
3589 0 XS(_wrap_gsl_neginf) {
3590 {
3591 0 int argvi = 0;
3592 double result;
3593 0 dXSARGS;
3594
3595 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
3596 0 SWIG_croak("Usage: gsl_neginf();");
3597 }
3598 0 result = (double)gsl_neginf();
3599 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
3600 0 XSRETURN(argvi);
3601 0 fail:
3602 0 SWIG_croak_null();
3603 }
3604 }
3605  
3606  
3607 0 XS(_wrap_gsl_fdiv) {
3608 {
3609 double arg1 ;
3610 double arg2 ;
3611 double val1 ;
3612 0 int ecode1 = 0 ;
3613 double val2 ;
3614 0 int ecode2 = 0 ;
3615 0 int argvi = 0;
3616 double result;
3617 0 dXSARGS;
3618
3619 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
3620 0 SWIG_croak("Usage: gsl_fdiv(x,y);");
3621 }
3622 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
3623 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
3624 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_fdiv" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_fdiv" "', argument " "1"" of type '" "double""'"); 0 0 0
3625 }
3626 0 arg1 = (double)(val1);
3627 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
3628 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
3629 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_fdiv" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_fdiv" "', argument " "2"" of type '" "double""'"); 0 0 0
3630 }
3631 0 arg2 = (double)(val2);
3632 0 result = (double)gsl_fdiv(arg1,arg2);
3633 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
3634
3635
3636 0 XSRETURN(argvi);
3637 0 fail:
3638
3639
3640 0 SWIG_croak_null();
3641 }
3642 }
3643  
3644  
3645 0 XS(_wrap_gsl_coerce_double) {
3646 {
3647 double arg1 ;
3648 double val1 ;
3649 0 int ecode1 = 0 ;
3650 0 int argvi = 0;
3651 double result;
3652 0 dXSARGS;
3653
3654 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
3655 0 SWIG_croak("Usage: gsl_coerce_double(x);");
3656 }
3657 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
3658 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
3659 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_coerce_double" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_coerce_double" "', argument " "1"" of type '" "double""'"); 0 0 0
3660 }
3661 0 arg1 = (double)(val1);
3662 0 result = (double)gsl_coerce_double(arg1);
3663 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
3664
3665 0 XSRETURN(argvi);
3666 0 fail:
3667
3668 0 SWIG_croak_null();
3669 }
3670 }
3671  
3672  
3673 0 XS(_wrap_gsl_coerce_float) {
3674 {
3675 float arg1 ;
3676 float val1 ;
3677 0 int ecode1 = 0 ;
3678 0 int argvi = 0;
3679 float result;
3680 0 dXSARGS;
3681
3682 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
3683 0 SWIG_croak("Usage: gsl_coerce_float(x);");
3684 }
3685 0 ecode1 = SWIG_AsVal_float SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
3686 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
3687 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_coerce_float" "', argument " "1"" of type '" "float""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_coerce_float" "', argument " "1"" of type '" "float""'"); 0 0 0
3688 }
3689 0 arg1 = (float)(val1);
3690 0 result = (float)gsl_coerce_float(arg1);
3691 0 ST(argvi) = SWIG_From_float SWIG_PERL_CALL_ARGS_1((float)(result)); argvi++ ;
3692
3693 0 XSRETURN(argvi);
3694 0 fail:
3695
3696 0 SWIG_croak_null();
3697 }
3698 }
3699  
3700  
3701 0 XS(_wrap_gsl_coerce_long_double) {
3702 {
3703 long double arg1 ;
3704 void *argp1 ;
3705 0 int res1 = 0 ;
3706 0 int argvi = 0;
3707 long double result;
3708 0 dXSARGS;
3709
3710 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
3711 0 SWIG_croak("Usage: gsl_coerce_long_double(x);");
3712 }
3713 {
3714 0 res1 = SWIG_ConvertPtr(ST(0), &argp1, SWIGTYPE_p_long_double, 0 );
3715 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3716 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_coerce_long_double" "', argument " "1"" of type '" "long double const""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_coerce_long_double" "', argument " "1"" of type '" "long double const""'"); 0 0 0
3717 }
3718 0 ▶ if (!argp1) {
Branch: 1 branch
BranchTrueFalseTotal
if (!argp1) { 0 0 0
3719 0 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "gsl_coerce_long_double" "', argument " "1"" of type '" "long double const""'");
3720 } else {
3721 0 arg1 = *((long double *)(argp1));
3722 }
3723 }
3724 0 result = (long double)gsl_coerce_long_double(arg1);
3725 0 ST(argvi) = SWIG_NewPointerObj((long double *)memcpy((long double *)calloc(1,sizeof(long double)),&result,sizeof(long double)), SWIGTYPE_p_long_double, SWIG_POINTER_OWN | 0); argvi++ ;
3726 0 XSRETURN(argvi);
3727 0 fail:
3728 0 SWIG_croak_null();
3729 }
3730 }
3731  
3732  
3733 0 XS(_wrap_gsl_ldexp) {
3734 {
3735 double arg1 ;
3736 int arg2 ;
3737 double val1 ;
3738 0 int ecode1 = 0 ;
3739 int val2 ;
3740 0 int ecode2 = 0 ;
3741 0 int argvi = 0;
3742 double result;
3743 0 dXSARGS;
3744
3745 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
3746 0 SWIG_croak("Usage: gsl_ldexp(x,e);");
3747 }
3748 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
3749 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
3750 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_ldexp" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_ldexp" "', argument " "1"" of type '" "double""'"); 0 0 0
3751 }
3752 0 arg1 = (double)(val1);
3753 0 ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
3754 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
3755 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_ldexp" "', argument " "2"" of type '" "int""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_ldexp" "', argument " "2"" of type '" "int""'"); 0 0 0
3756 }
3757 0 arg2 = (int)(val2);
3758 0 result = (double)gsl_ldexp(arg1,arg2);
3759 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
3760
3761
3762 0 XSRETURN(argvi);
3763 0 fail:
3764
3765
3766 0 SWIG_croak_null();
3767 }
3768 }
3769  
3770  
3771 0 XS(_wrap_gsl_frexp) {
3772 {
3773 double arg1 ;
3774 0 int *arg2 = (int *) 0 ;
3775 double val1 ;
3776 0 int ecode1 = 0 ;
3777 0 void *argp2 = 0 ;
3778 0 int res2 = 0 ;
3779 0 int argvi = 0;
3780 double result;
3781 0 dXSARGS;
3782
3783 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
3784 0 SWIG_croak("Usage: gsl_frexp(x,e);");
3785 }
3786 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
3787 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
3788 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_frexp" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_frexp" "', argument " "1"" of type '" "double""'"); 0 0 0
3789 }
3790 0 arg1 = (double)(val1);
3791 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_int, 0 | 0 );
3792 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
3793 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_frexp" "', argument " "2"" of type '" "int *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_frexp" "', argument " "2"" of type '" "int *""'"); 0 0 0
3794 }
3795 0 arg2 = (int *)(argp2);
3796 0 result = (double)gsl_frexp(arg1,arg2);
3797 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
3798
3799
3800 0 XSRETURN(argvi);
3801 0 fail:
3802
3803
3804 0 SWIG_croak_null();
3805 }
3806 }
3807  
3808  
3809 0 XS(_wrap_gsl_fcmp) {
3810 {
3811 double arg1 ;
3812 double arg2 ;
3813 double arg3 ;
3814 double val1 ;
3815 0 int ecode1 = 0 ;
3816 double val2 ;
3817 0 int ecode2 = 0 ;
3818 double val3 ;
3819 0 int ecode3 = 0 ;
3820 0 int argvi = 0;
3821 int result;
3822 0 dXSARGS;
3823
3824 0 ▶ if ((items < 3) || (items > 3)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 3) || (items > 3)) { 0 0 0
if ((items < 3) || (items > 3)) { 0 0 0
3825 0 SWIG_croak("Usage: gsl_fcmp(x1,x2,epsilon);");
3826 }
3827 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
3828 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
3829 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_fcmp" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_fcmp" "', argument " "1"" of type '" "double""'"); 0 0 0
3830 }
3831 0 arg1 = (double)(val1);
3832 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
3833 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
3834 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_fcmp" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_fcmp" "', argument " "2"" of type '" "double""'"); 0 0 0
3835 }
3836 0 arg2 = (double)(val2);
3837 0 ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
3838 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
3839 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_fcmp" "', argument " "3"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_fcmp" "', argument " "3"" of type '" "double""'"); 0 0 0
3840 }
3841 0 arg3 = (double)(val3);
3842 0 result = (int)gsl_fcmp(arg1,arg2,arg3);
3843 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
3844
3845
3846
3847 0 XSRETURN(argvi);
3848 0 fail:
3849
3850
3851
3852 0 SWIG_croak_null();
3853 }
3854 }
3855  
3856  
3857 0 XS(_wrap_gsl_pow_2) {
3858 {
3859 double arg1 ;
3860 double val1 ;
3861 0 int ecode1 = 0 ;
3862 0 int argvi = 0;
3863 double result;
3864 0 dXSARGS;
3865
3866 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
3867 0 SWIG_croak("Usage: gsl_pow_2(x);");
3868 }
3869 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
3870 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
3871 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_pow_2" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_pow_2" "', argument " "1"" of type '" "double""'"); 0 0 0
3872 }
3873 0 arg1 = (double)(val1);
3874 0 result = (double)gsl_pow_2(arg1);
3875 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
3876
3877 0 XSRETURN(argvi);
3878 0 fail:
3879
3880 0 SWIG_croak_null();
3881 }
3882 }
3883  
3884  
3885 0 XS(_wrap_gsl_pow_3) {
3886 {
3887 double arg1 ;
3888 double val1 ;
3889 0 int ecode1 = 0 ;
3890 0 int argvi = 0;
3891 double result;
3892 0 dXSARGS;
3893
3894 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
3895 0 SWIG_croak("Usage: gsl_pow_3(x);");
3896 }
3897 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
3898 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
3899 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_pow_3" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_pow_3" "', argument " "1"" of type '" "double""'"); 0 0 0
3900 }
3901 0 arg1 = (double)(val1);
3902 0 result = (double)gsl_pow_3(arg1);
3903 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
3904
3905 0 XSRETURN(argvi);
3906 0 fail:
3907
3908 0 SWIG_croak_null();
3909 }
3910 }
3911  
3912  
3913 0 XS(_wrap_gsl_pow_4) {
3914 {
3915 double arg1 ;
3916 double val1 ;
3917 0 int ecode1 = 0 ;
3918 0 int argvi = 0;
3919 double result;
3920 0 dXSARGS;
3921
3922 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
3923 0 SWIG_croak("Usage: gsl_pow_4(x);");
3924 }
3925 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
3926 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
3927 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_pow_4" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_pow_4" "', argument " "1"" of type '" "double""'"); 0 0 0
3928 }
3929 0 arg1 = (double)(val1);
3930 0 result = (double)gsl_pow_4(arg1);
3931 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
3932
3933 0 XSRETURN(argvi);
3934 0 fail:
3935
3936 0 SWIG_croak_null();
3937 }
3938 }
3939  
3940  
3941 0 XS(_wrap_gsl_pow_5) {
3942 {
3943 double arg1 ;
3944 double val1 ;
3945 0 int ecode1 = 0 ;
3946 0 int argvi = 0;
3947 double result;
3948 0 dXSARGS;
3949
3950 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
3951 0 SWIG_croak("Usage: gsl_pow_5(x);");
3952 }
3953 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
3954 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
3955 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_pow_5" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_pow_5" "', argument " "1"" of type '" "double""'"); 0 0 0
3956 }
3957 0 arg1 = (double)(val1);
3958 0 result = (double)gsl_pow_5(arg1);
3959 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
3960
3961 0 XSRETURN(argvi);
3962 0 fail:
3963
3964 0 SWIG_croak_null();
3965 }
3966 }
3967  
3968  
3969 0 XS(_wrap_gsl_pow_6) {
3970 {
3971 double arg1 ;
3972 double val1 ;
3973 0 int ecode1 = 0 ;
3974 0 int argvi = 0;
3975 double result;
3976 0 dXSARGS;
3977
3978 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
3979 0 SWIG_croak("Usage: gsl_pow_6(x);");
3980 }
3981 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
3982 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
3983 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_pow_6" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_pow_6" "', argument " "1"" of type '" "double""'"); 0 0 0
3984 }
3985 0 arg1 = (double)(val1);
3986 0 result = (double)gsl_pow_6(arg1);
3987 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
3988
3989 0 XSRETURN(argvi);
3990 0 fail:
3991
3992 0 SWIG_croak_null();
3993 }
3994 }
3995  
3996  
3997 0 XS(_wrap_gsl_pow_7) {
3998 {
3999 double arg1 ;
4000 double val1 ;
4001 0 int ecode1 = 0 ;
4002 0 int argvi = 0;
4003 double result;
4004 0 dXSARGS;
4005
4006 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
4007 0 SWIG_croak("Usage: gsl_pow_7(x);");
4008 }
4009 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
4010 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
4011 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_pow_7" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_pow_7" "', argument " "1"" of type '" "double""'"); 0 0 0
4012 }
4013 0 arg1 = (double)(val1);
4014 0 result = (double)gsl_pow_7(arg1);
4015 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
4016
4017 0 XSRETURN(argvi);
4018 0 fail:
4019
4020 0 SWIG_croak_null();
4021 }
4022 }
4023  
4024  
4025 0 XS(_wrap_gsl_pow_8) {
4026 {
4027 double arg1 ;
4028 double val1 ;
4029 0 int ecode1 = 0 ;
4030 0 int argvi = 0;
4031 double result;
4032 0 dXSARGS;
4033
4034 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
4035 0 SWIG_croak("Usage: gsl_pow_8(x);");
4036 }
4037 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
4038 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
4039 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_pow_8" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_pow_8" "', argument " "1"" of type '" "double""'"); 0 0 0
4040 }
4041 0 arg1 = (double)(val1);
4042 0 result = (double)gsl_pow_8(arg1);
4043 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
4044
4045 0 XSRETURN(argvi);
4046 0 fail:
4047
4048 0 SWIG_croak_null();
4049 }
4050 }
4051  
4052  
4053 0 XS(_wrap_gsl_pow_9) {
4054 {
4055 double arg1 ;
4056 double val1 ;
4057 0 int ecode1 = 0 ;
4058 0 int argvi = 0;
4059 double result;
4060 0 dXSARGS;
4061
4062 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
4063 0 SWIG_croak("Usage: gsl_pow_9(x);");
4064 }
4065 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
4066 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
4067 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_pow_9" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_pow_9" "', argument " "1"" of type '" "double""'"); 0 0 0
4068 }
4069 0 arg1 = (double)(val1);
4070 0 result = (double)gsl_pow_9(arg1);
4071 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
4072
4073 0 XSRETURN(argvi);
4074 0 fail:
4075
4076 0 SWIG_croak_null();
4077 }
4078 }
4079  
4080  
4081 0 XS(_wrap_gsl_pow_int) {
4082 {
4083 double arg1 ;
4084 int arg2 ;
4085 double val1 ;
4086 0 int ecode1 = 0 ;
4087 int val2 ;
4088 0 int ecode2 = 0 ;
4089 0 int argvi = 0;
4090 double result;
4091 0 dXSARGS;
4092
4093 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
4094 0 SWIG_croak("Usage: gsl_pow_int(x,n);");
4095 }
4096 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
4097 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
4098 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_pow_int" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_pow_int" "', argument " "1"" of type '" "double""'"); 0 0 0
4099 }
4100 0 arg1 = (double)(val1);
4101 0 ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
4102 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
4103 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_pow_int" "', argument " "2"" of type '" "int""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_pow_int" "', argument " "2"" of type '" "int""'"); 0 0 0
4104 }
4105 0 arg2 = (int)(val2);
4106 0 result = (double)gsl_pow_int(arg1,arg2);
4107 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
4108
4109
4110 0 XSRETURN(argvi);
4111 0 fail:
4112
4113
4114 0 SWIG_croak_null();
4115 }
4116 }
4117  
4118  
4119 0 XS(_wrap_gsl_pow_uint) {
4120 {
4121 double arg1 ;
4122 unsigned int arg2 ;
4123 double val1 ;
4124 0 int ecode1 = 0 ;
4125 unsigned int val2 ;
4126 0 int ecode2 = 0 ;
4127 0 int argvi = 0;
4128 double result;
4129 0 dXSARGS;
4130
4131 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
4132 0 SWIG_croak("Usage: gsl_pow_uint(x,n);");
4133 }
4134 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
4135 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
4136 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_pow_uint" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_pow_uint" "', argument " "1"" of type '" "double""'"); 0 0 0
4137 }
4138 0 arg1 = (double)(val1);
4139 0 ecode2 = SWIG_AsVal_unsigned_SS_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
4140 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
4141 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_pow_uint" "', argument " "2"" of type '" "unsigned int""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_pow_uint" "', argument " "2"" of type '" "unsigned int""'"); 0 0 0
4142 }
4143 0 arg2 = (unsigned int)(val2);
4144 0 result = (double)gsl_pow_uint(arg1,arg2);
4145 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
4146
4147
4148 0 XSRETURN(argvi);
4149 0 fail:
4150
4151
4152 0 SWIG_croak_null();
4153 }
4154 }
4155  
4156  
4157 0 XS(_wrap_gsl_complex_dat_set) {
4158 {
4159 0 gsl_complex *arg1 = (gsl_complex *) 0 ;
4160 0 double *arg2 = (double *) (double *)0 ;
4161 0 void *argp1 = 0 ;
4162 0 int res1 = 0 ;
4163 0 void *argp2 = 0 ;
4164 0 int res2 = 0 ;
4165 0 int argvi = 0;
4166 0 dXSARGS;
4167
4168 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
4169 0 SWIG_croak("Usage: gsl_complex_dat_set(self,dat);");
4170 }
4171 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_complex, 0 | 0 );
4172 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4173 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_complex_dat_set" "', argument " "1"" of type '" "gsl_complex *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_complex_dat_set" "', argument " "1"" of type '" "gsl_complex *""'"); 0 0 0
4174 }
4175 0 arg1 = (gsl_complex *)(argp1);
4176 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, 0 | 0 );
4177 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
4178 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_complex_dat_set" "', argument " "2"" of type '" "double [2]""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_complex_dat_set" "', argument " "2"" of type '" "double [2]""'"); 0 0 0
4179 }
4180 0 arg2 = (double *)(argp2);
4181 {
4182 0 ▶ if (arg2) {
Branch: 1 branch
BranchTrueFalseTotal
if (arg2) { 0 0 0
4183 0 size_t ii = 0;
4184 0 ▶ for (; ii < (size_t)2; ++ii) *(double *)&arg1->dat[ii] = *((double *)arg2 + ii);
Branch: 1 branch
BranchTrueFalseTotal
for (; ii < (size_t)2; ++ii) *(double *)&arg1->dat[ii] = *((double *)arg2 + ii); 0 0 0
4185 } else {
4186 0 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""dat""' of type '""double [2]""'");
4187 }
4188 }
4189 0 ST(argvi) = &PL_sv_undef;
4190
4191
4192 0 XSRETURN(argvi);
4193 0 fail:
4194
4195
4196 0 SWIG_croak_null();
4197 }
4198 }
4199  
4200  
4201 0 XS(_wrap_gsl_complex_dat_get) {
4202 {
4203 0 gsl_complex *arg1 = (gsl_complex *) 0 ;
4204 0 void *argp1 = 0 ;
4205 0 int res1 = 0 ;
4206 0 int argvi = 0;
4207 0 double *result = 0 ;
4208 0 dXSARGS;
4209
4210 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
4211 0 SWIG_croak("Usage: gsl_complex_dat_get(self);");
4212 }
4213 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_complex, 0 | 0 );
4214 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4215 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_complex_dat_get" "', argument " "1"" of type '" "gsl_complex *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_complex_dat_get" "', argument " "1"" of type '" "gsl_complex *""'"); 0 0 0
4216 }
4217 0 arg1 = (gsl_complex *)(argp1);
4218 0 result = (double *)(double *) ((arg1)->dat);
4219 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0); argvi++ ;
4220
4221 0 XSRETURN(argvi);
4222 0 fail:
4223
4224 0 SWIG_croak_null();
4225 }
4226 }
4227  
4228  
4229 0 XS(_wrap_new_gsl_complex) {
4230 {
4231 0 int argvi = 0;
4232 0 gsl_complex *result = 0 ;
4233 0 dXSARGS;
4234
4235 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
4236 0 SWIG_croak("Usage: new_gsl_complex();");
4237 }
4238 0 result = (gsl_complex *)calloc(1, sizeof(gsl_complex));
4239 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_complex, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
4240 0 XSRETURN(argvi);
4241 0 fail:
4242 0 SWIG_croak_null();
4243 }
4244 }
4245  
4246  
4247 0 XS(_wrap_delete_gsl_complex) {
4248 {
4249 0 gsl_complex *arg1 = (gsl_complex *) 0 ;
4250 0 void *argp1 = 0 ;
4251 0 int res1 = 0 ;
4252 0 int argvi = 0;
4253 0 dXSARGS;
4254
4255 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
4256 0 SWIG_croak("Usage: delete_gsl_complex(self);");
4257 }
4258 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_complex, SWIG_POINTER_DISOWN | 0 );
4259 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4260 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_gsl_complex" "', argument " "1"" of type '" "gsl_complex *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_gsl_complex" "', argument " "1"" of type '" "gsl_complex *""'"); 0 0 0
4261 }
4262 0 arg1 = (gsl_complex *)(argp1);
4263 0 free((char *) arg1);
4264 0 ST(argvi) = &PL_sv_undef;
4265
4266 0 XSRETURN(argvi);
4267 0 fail:
4268
4269 0 SWIG_croak_null();
4270 }
4271 }
4272  
4273  
4274 0 XS(_wrap_gsl_complex_long_double_dat_set) {
4275 {
4276 0 gsl_complex_long_double *arg1 = (gsl_complex_long_double *) 0 ;
4277 0 long double *arg2 = (long double *) (long double *)0 ;
4278 0 void *argp1 = 0 ;
4279 0 int res1 = 0 ;
4280 0 void *argp2 = 0 ;
4281 0 int res2 = 0 ;
4282 0 int argvi = 0;
4283 0 dXSARGS;
4284
4285 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
4286 0 SWIG_croak("Usage: gsl_complex_long_double_dat_set(self,dat);");
4287 }
4288 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_complex_long_double, 0 | 0 );
4289 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4290 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_complex_long_double_dat_set" "', argument " "1"" of type '" "gsl_complex_long_double *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_complex_long_double_dat_set" "', argument " "1"" of type '" "gsl_complex_long_double *""'"); 0 0 0
4291 }
4292 0 arg1 = (gsl_complex_long_double *)(argp1);
4293 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_long_double, 0 | 0 );
4294 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
4295 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_complex_long_double_dat_set" "', argument " "2"" of type '" "long double [2]""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_complex_long_double_dat_set" "', argument " "2"" of type '" "long double [2]""'"); 0 0 0
4296 }
4297 0 arg2 = (long double *)(argp2);
4298 {
4299 0 ▶ if (arg2) {
Branch: 1 branch
BranchTrueFalseTotal
if (arg2) { 0 0 0
4300 0 size_t ii = 0;
4301 0 ▶ for (; ii < (size_t)2; ++ii) *(long double *)&arg1->dat[ii] = *((long double *)arg2 + ii);
Branch: 1 branch
BranchTrueFalseTotal
for (; ii < (size_t)2; ++ii) *(long double *)&arg1->dat[ii] = *((long double *)arg2 + ii); 0 0 0
4302 } else {
4303 0 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""dat""' of type '""long double [2]""'");
4304 }
4305 }
4306 0 ST(argvi) = &PL_sv_undef;
4307
4308
4309 0 XSRETURN(argvi);
4310 0 fail:
4311
4312
4313 0 SWIG_croak_null();
4314 }
4315 }
4316  
4317  
4318 0 XS(_wrap_gsl_complex_long_double_dat_get) {
4319 {
4320 0 gsl_complex_long_double *arg1 = (gsl_complex_long_double *) 0 ;
4321 0 void *argp1 = 0 ;
4322 0 int res1 = 0 ;
4323 0 int argvi = 0;
4324 0 long double *result = 0 ;
4325 0 dXSARGS;
4326
4327 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
4328 0 SWIG_croak("Usage: gsl_complex_long_double_dat_get(self);");
4329 }
4330 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_complex_long_double, 0 | 0 );
4331 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4332 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_complex_long_double_dat_get" "', argument " "1"" of type '" "gsl_complex_long_double *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_complex_long_double_dat_get" "', argument " "1"" of type '" "gsl_complex_long_double *""'"); 0 0 0
4333 }
4334 0 arg1 = (gsl_complex_long_double *)(argp1);
4335 0 result = (long double *)(long double *) ((arg1)->dat);
4336 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_long_double, 0 | 0); argvi++ ;
4337
4338 0 XSRETURN(argvi);
4339 0 fail:
4340
4341 0 SWIG_croak_null();
4342 }
4343 }
4344  
4345  
4346 0 XS(_wrap_new_gsl_complex_long_double) {
4347 {
4348 0 int argvi = 0;
4349 0 gsl_complex_long_double *result = 0 ;
4350 0 dXSARGS;
4351
4352 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
4353 0 SWIG_croak("Usage: new_gsl_complex_long_double();");
4354 }
4355 0 result = (gsl_complex_long_double *)calloc(1, sizeof(gsl_complex_long_double));
4356 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_complex_long_double, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
4357 0 XSRETURN(argvi);
4358 0 fail:
4359 0 SWIG_croak_null();
4360 }
4361 }
4362  
4363  
4364 0 XS(_wrap_delete_gsl_complex_long_double) {
4365 {
4366 0 gsl_complex_long_double *arg1 = (gsl_complex_long_double *) 0 ;
4367 0 void *argp1 = 0 ;
4368 0 int res1 = 0 ;
4369 0 int argvi = 0;
4370 0 dXSARGS;
4371
4372 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
4373 0 SWIG_croak("Usage: delete_gsl_complex_long_double(self);");
4374 }
4375 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_complex_long_double, SWIG_POINTER_DISOWN | 0 );
4376 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4377 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_gsl_complex_long_double" "', argument " "1"" of type '" "gsl_complex_long_double *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_gsl_complex_long_double" "', argument " "1"" of type '" "gsl_complex_long_double *""'"); 0 0 0
4378 }
4379 0 arg1 = (gsl_complex_long_double *)(argp1);
4380 0 free((char *) arg1);
4381 0 ST(argvi) = &PL_sv_undef;
4382
4383 0 XSRETURN(argvi);
4384 0 fail:
4385
4386 0 SWIG_croak_null();
4387 }
4388 }
4389  
4390  
4391 0 XS(_wrap_gsl_complex_float_dat_set) {
4392 {
4393 0 gsl_complex_float *arg1 = (gsl_complex_float *) 0 ;
4394 0 float *arg2 = (float *) (float *)0 ;
4395 0 void *argp1 = 0 ;
4396 0 int res1 = 0 ;
4397 0 void *argp2 = 0 ;
4398 0 int res2 = 0 ;
4399 0 int argvi = 0;
4400 0 dXSARGS;
4401
4402 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
4403 0 SWIG_croak("Usage: gsl_complex_float_dat_set(self,dat);");
4404 }
4405 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_complex_float, 0 | 0 );
4406 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4407 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_complex_float_dat_set" "', argument " "1"" of type '" "gsl_complex_float *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_complex_float_dat_set" "', argument " "1"" of type '" "gsl_complex_float *""'"); 0 0 0
4408 }
4409 0 arg1 = (gsl_complex_float *)(argp1);
4410 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_float, 0 | 0 );
4411 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
4412 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_complex_float_dat_set" "', argument " "2"" of type '" "float [2]""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_complex_float_dat_set" "', argument " "2"" of type '" "float [2]""'"); 0 0 0
4413 }
4414 0 arg2 = (float *)(argp2);
4415 {
4416 0 ▶ if (arg2) {
Branch: 1 branch
BranchTrueFalseTotal
if (arg2) { 0 0 0
4417 0 size_t ii = 0;
4418 0 ▶ for (; ii < (size_t)2; ++ii) *(float *)&arg1->dat[ii] = *((float *)arg2 + ii);
Branch: 1 branch
BranchTrueFalseTotal
for (; ii < (size_t)2; ++ii) *(float *)&arg1->dat[ii] = *((float *)arg2 + ii); 0 0 0
4419 } else {
4420 0 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""dat""' of type '""float [2]""'");
4421 }
4422 }
4423 0 ST(argvi) = &PL_sv_undef;
4424
4425
4426 0 XSRETURN(argvi);
4427 0 fail:
4428
4429
4430 0 SWIG_croak_null();
4431 }
4432 }
4433  
4434  
4435 0 XS(_wrap_gsl_complex_float_dat_get) {
4436 {
4437 0 gsl_complex_float *arg1 = (gsl_complex_float *) 0 ;
4438 0 void *argp1 = 0 ;
4439 0 int res1 = 0 ;
4440 0 int argvi = 0;
4441 0 float *result = 0 ;
4442 0 dXSARGS;
4443
4444 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
4445 0 SWIG_croak("Usage: gsl_complex_float_dat_get(self);");
4446 }
4447 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_complex_float, 0 | 0 );
4448 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4449 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_complex_float_dat_get" "', argument " "1"" of type '" "gsl_complex_float *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_complex_float_dat_get" "', argument " "1"" of type '" "gsl_complex_float *""'"); 0 0 0
4450 }
4451 0 arg1 = (gsl_complex_float *)(argp1);
4452 0 result = (float *)(float *) ((arg1)->dat);
4453 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0); argvi++ ;
4454
4455 0 XSRETURN(argvi);
4456 0 fail:
4457
4458 0 SWIG_croak_null();
4459 }
4460 }
4461  
4462  
4463 0 XS(_wrap_new_gsl_complex_float) {
4464 {
4465 0 int argvi = 0;
4466 0 gsl_complex_float *result = 0 ;
4467 0 dXSARGS;
4468
4469 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
4470 0 SWIG_croak("Usage: new_gsl_complex_float();");
4471 }
4472 0 result = (gsl_complex_float *)calloc(1, sizeof(gsl_complex_float));
4473 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_complex_float, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
4474 0 XSRETURN(argvi);
4475 0 fail:
4476 0 SWIG_croak_null();
4477 }
4478 }
4479  
4480  
4481 0 XS(_wrap_delete_gsl_complex_float) {
4482 {
4483 0 gsl_complex_float *arg1 = (gsl_complex_float *) 0 ;
4484 0 void *argp1 = 0 ;
4485 0 int res1 = 0 ;
4486 0 int argvi = 0;
4487 0 dXSARGS;
4488
4489 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
4490 0 SWIG_croak("Usage: delete_gsl_complex_float(self);");
4491 }
4492 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_complex_float, SWIG_POINTER_DISOWN | 0 );
4493 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4494 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_gsl_complex_float" "', argument " "1"" of type '" "gsl_complex_float *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_gsl_complex_float" "', argument " "1"" of type '" "gsl_complex_float *""'"); 0 0 0
4495 }
4496 0 arg1 = (gsl_complex_float *)(argp1);
4497 0 free((char *) arg1);
4498 0 ST(argvi) = &PL_sv_undef;
4499
4500 0 XSRETURN(argvi);
4501 0 fail:
4502
4503 0 SWIG_croak_null();
4504 }
4505 }
4506  
4507  
4508 0 XS(_wrap_gsl_fft_complex_radix2_forward) {
4509 {
4510 0 gsl_complex_packed_array arg1 = (gsl_complex_packed_array) 0 ;
4511 size_t arg2 ;
4512 size_t arg3 ;
4513 size_t val2 ;
4514 0 int ecode2 = 0 ;
4515 size_t val3 ;
4516 0 int ecode3 = 0 ;
4517 0 int argvi = 0;
4518 SV * _saved[1] ;
4519 int result;
4520 0 dXSARGS;
4521
4522 0 ▶ if ((items < 3) || (items > 3)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 3) || (items > 3)) { 0 0 0
if ((items < 3) || (items > 3)) { 0 0 0
4523 0 SWIG_croak("Usage: gsl_fft_complex_radix2_forward(data,stride,n);");
4524 }
4525 {
4526 AV *tempav;
4527 I32 len;
4528 int i;
4529 SV **tv;
4530 0 ▶ if (!SvROK(ST(0)))
Branch: 1 branch
BranchTrueFalseTotal
if (!SvROK(ST(0))) 0 0 0
4531 0 croak("Math::GSL : $data is not a reference!");
4532 0 ▶ if (SvTYPE(SvRV(ST(0))) != SVt_PVAV)
Branch: 1 branch
BranchTrueFalseTotal
if (SvTYPE(SvRV(ST(0))) != SVt_PVAV) 0 0 0
4533 0 croak("Math::GSL : $data is not an array ref!");
4534
4535 0 tempav = (AV*)SvRV(ST(0));
4536 0 len = av_len(tempav);
4537 0 arg1 = (double *) malloc((len+2)*sizeof(double));
4538 0 ▶ for (i = 0; i <= len; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; i <= len; i++) { 0 0 0
4539 0 tv = av_fetch(tempav, i, 0);
4540 0 arg1[i] = (double) SvNV(*tv);
4541 }
4542 }
4543 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
4544 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
4545 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_fft_complex_radix2_forward" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_fft_complex_radix2_forward" "', argument " "2"" of type '" "size_t""'"); 0 0 0
4546 }
4547 0 arg2 = (size_t)(val2);
4548 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
4549 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
4550 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_fft_complex_radix2_forward" "', argument " "3"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_fft_complex_radix2_forward" "', argument " "3"" of type '" "size_t""'"); 0 0 0
4551 }
4552 0 arg3 = (size_t)(val3);
4553 0 _saved[0] = ST(0);
4554 0 result = (int)gsl_fft_complex_radix2_forward(arg1,arg2,arg3);
4555 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
4556 {
4557 0 int i=0;
4558 0 AV* tempav = newAV();
4559
4560 0 ▶ while( i < arg3 ) {
Branch: 1 branch
BranchTrueFalseTotal
while( i < arg3 ) { 0 0 0
4561 0 av_push(tempav, newSVnv((double) arg1[i]));
4562 0 i++;
4563 }
4564
4565 0 ST(argvi) = sv_2mortal( newRV_noinc( (SV*) tempav) );
4566 0 argvi++;
4567 }
4568 {
4569 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
4570 }
4571
4572
4573 0 XSRETURN(argvi);
4574 0 fail:
4575 {
4576 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
4577 }
4578
4579
4580 0 SWIG_croak_null();
4581 }
4582 }
4583  
4584  
4585 0 XS(_wrap_gsl_fft_complex_radix2_backward) {
4586 {
4587 0 gsl_complex_packed_array arg1 = (gsl_complex_packed_array) 0 ;
4588 size_t arg2 ;
4589 size_t arg3 ;
4590 size_t val2 ;
4591 0 int ecode2 = 0 ;
4592 size_t val3 ;
4593 0 int ecode3 = 0 ;
4594 0 int argvi = 0;
4595 SV * _saved[1] ;
4596 int result;
4597 0 dXSARGS;
4598
4599 0 ▶ if ((items < 3) || (items > 3)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 3) || (items > 3)) { 0 0 0
if ((items < 3) || (items > 3)) { 0 0 0
4600 0 SWIG_croak("Usage: gsl_fft_complex_radix2_backward(data,stride,n);");
4601 }
4602 {
4603 AV *tempav;
4604 I32 len;
4605 int i;
4606 SV **tv;
4607 0 ▶ if (!SvROK(ST(0)))
Branch: 1 branch
BranchTrueFalseTotal
if (!SvROK(ST(0))) 0 0 0
4608 0 croak("Math::GSL : $data is not a reference!");
4609 0 ▶ if (SvTYPE(SvRV(ST(0))) != SVt_PVAV)
Branch: 1 branch
BranchTrueFalseTotal
if (SvTYPE(SvRV(ST(0))) != SVt_PVAV) 0 0 0
4610 0 croak("Math::GSL : $data is not an array ref!");
4611
4612 0 tempav = (AV*)SvRV(ST(0));
4613 0 len = av_len(tempav);
4614 0 arg1 = (double *) malloc((len+2)*sizeof(double));
4615 0 ▶ for (i = 0; i <= len; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; i <= len; i++) { 0 0 0
4616 0 tv = av_fetch(tempav, i, 0);
4617 0 arg1[i] = (double) SvNV(*tv);
4618 }
4619 }
4620 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
4621 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
4622 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_fft_complex_radix2_backward" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_fft_complex_radix2_backward" "', argument " "2"" of type '" "size_t""'"); 0 0 0
4623 }
4624 0 arg2 = (size_t)(val2);
4625 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
4626 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
4627 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_fft_complex_radix2_backward" "', argument " "3"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_fft_complex_radix2_backward" "', argument " "3"" of type '" "size_t""'"); 0 0 0
4628 }
4629 0 arg3 = (size_t)(val3);
4630 0 _saved[0] = ST(0);
4631 0 result = (int)gsl_fft_complex_radix2_backward(arg1,arg2,arg3);
4632 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
4633 {
4634 0 int i=0;
4635 0 AV* tempav = newAV();
4636
4637 0 ▶ while( i < arg3 ) {
Branch: 1 branch
BranchTrueFalseTotal
while( i < arg3 ) { 0 0 0
4638 0 av_push(tempav, newSVnv((double) arg1[i]));
4639 0 i++;
4640 }
4641
4642 0 ST(argvi) = sv_2mortal( newRV_noinc( (SV*) tempav) );
4643 0 argvi++;
4644 }
4645 {
4646 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
4647 }
4648
4649
4650 0 XSRETURN(argvi);
4651 0 fail:
4652 {
4653 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
4654 }
4655
4656
4657 0 SWIG_croak_null();
4658 }
4659 }
4660  
4661  
4662 0 XS(_wrap_gsl_fft_complex_radix2_inverse) {
4663 {
4664 0 gsl_complex_packed_array arg1 = (gsl_complex_packed_array) 0 ;
4665 size_t arg2 ;
4666 size_t arg3 ;
4667 size_t val2 ;
4668 0 int ecode2 = 0 ;
4669 size_t val3 ;
4670 0 int ecode3 = 0 ;
4671 0 int argvi = 0;
4672 SV * _saved[1] ;
4673 int result;
4674 0 dXSARGS;
4675
4676 0 ▶ if ((items < 3) || (items > 3)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 3) || (items > 3)) { 0 0 0
if ((items < 3) || (items > 3)) { 0 0 0
4677 0 SWIG_croak("Usage: gsl_fft_complex_radix2_inverse(data,stride,n);");
4678 }
4679 {
4680 AV *tempav;
4681 I32 len;
4682 int i;
4683 SV **tv;
4684 0 ▶ if (!SvROK(ST(0)))
Branch: 1 branch
BranchTrueFalseTotal
if (!SvROK(ST(0))) 0 0 0
4685 0 croak("Math::GSL : $data is not a reference!");
4686 0 ▶ if (SvTYPE(SvRV(ST(0))) != SVt_PVAV)
Branch: 1 branch
BranchTrueFalseTotal
if (SvTYPE(SvRV(ST(0))) != SVt_PVAV) 0 0 0
4687 0 croak("Math::GSL : $data is not an array ref!");
4688
4689 0 tempav = (AV*)SvRV(ST(0));
4690 0 len = av_len(tempav);
4691 0 arg1 = (double *) malloc((len+2)*sizeof(double));
4692 0 ▶ for (i = 0; i <= len; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; i <= len; i++) { 0 0 0
4693 0 tv = av_fetch(tempav, i, 0);
4694 0 arg1[i] = (double) SvNV(*tv);
4695 }
4696 }
4697 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
4698 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
4699 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_fft_complex_radix2_inverse" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_fft_complex_radix2_inverse" "', argument " "2"" of type '" "size_t""'"); 0 0 0
4700 }
4701 0 arg2 = (size_t)(val2);
4702 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
4703 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
4704 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_fft_complex_radix2_inverse" "', argument " "3"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_fft_complex_radix2_inverse" "', argument " "3"" of type '" "size_t""'"); 0 0 0
4705 }
4706 0 arg3 = (size_t)(val3);
4707 0 _saved[0] = ST(0);
4708 0 result = (int)gsl_fft_complex_radix2_inverse(arg1,arg2,arg3);
4709 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
4710 {
4711 0 int i=0;
4712 0 AV* tempav = newAV();
4713
4714 0 ▶ while( i < arg3 ) {
Branch: 1 branch
BranchTrueFalseTotal
while( i < arg3 ) { 0 0 0
4715 0 av_push(tempav, newSVnv((double) arg1[i]));
4716 0 i++;
4717 }
4718
4719 0 ST(argvi) = sv_2mortal( newRV_noinc( (SV*) tempav) );
4720 0 argvi++;
4721 }
4722 {
4723 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
4724 }
4725
4726
4727 0 XSRETURN(argvi);
4728 0 fail:
4729 {
4730 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
4731 }
4732
4733
4734 0 SWIG_croak_null();
4735 }
4736 }
4737  
4738  
4739 0 XS(_wrap_gsl_fft_complex_radix2_transform) {
4740 {
4741 0 gsl_complex_packed_array arg1 = (gsl_complex_packed_array) 0 ;
4742 size_t arg2 ;
4743 size_t arg3 ;
4744 gsl_fft_direction arg4 ;
4745 size_t val2 ;
4746 0 int ecode2 = 0 ;
4747 size_t val3 ;
4748 0 int ecode3 = 0 ;
4749 int val4 ;
4750 0 int ecode4 = 0 ;
4751 0 int argvi = 0;
4752 SV * _saved[1] ;
4753 int result;
4754 0 dXSARGS;
4755
4756 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
4757 0 SWIG_croak("Usage: gsl_fft_complex_radix2_transform(data,stride,n,sign);");
4758 }
4759 {
4760 AV *tempav;
4761 I32 len;
4762 int i;
4763 SV **tv;
4764 0 ▶ if (!SvROK(ST(0)))
Branch: 1 branch
BranchTrueFalseTotal
if (!SvROK(ST(0))) 0 0 0
4765 0 croak("Math::GSL : $data is not a reference!");
4766 0 ▶ if (SvTYPE(SvRV(ST(0))) != SVt_PVAV)
Branch: 1 branch
BranchTrueFalseTotal
if (SvTYPE(SvRV(ST(0))) != SVt_PVAV) 0 0 0
4767 0 croak("Math::GSL : $data is not an array ref!");
4768
4769 0 tempav = (AV*)SvRV(ST(0));
4770 0 len = av_len(tempav);
4771 0 arg1 = (double *) malloc((len+2)*sizeof(double));
4772 0 ▶ for (i = 0; i <= len; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; i <= len; i++) { 0 0 0
4773 0 tv = av_fetch(tempav, i, 0);
4774 0 arg1[i] = (double) SvNV(*tv);
4775 }
4776 }
4777 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
4778 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
4779 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_fft_complex_radix2_transform" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_fft_complex_radix2_transform" "', argument " "2"" of type '" "size_t""'"); 0 0 0
4780 }
4781 0 arg2 = (size_t)(val2);
4782 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
4783 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
4784 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_fft_complex_radix2_transform" "', argument " "3"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_fft_complex_radix2_transform" "', argument " "3"" of type '" "size_t""'"); 0 0 0
4785 }
4786 0 arg3 = (size_t)(val3);
4787 0 ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
4788 0 ▶ if (!SWIG_IsOK(ecode4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode4)) { 0 0 0
4789 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_fft_complex_radix2_transform" "', argument " "4"" of type '" "gsl_fft_direction""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_fft_complex_radix2_transform" "', argument " "4"" of type '" "gsl_fft_direction""'"); 0 0 0
4790 }
4791 0 arg4 = (gsl_fft_direction)(val4);
4792 0 _saved[0] = ST(0);
4793 0 result = (int)gsl_fft_complex_radix2_transform(arg1,arg2,arg3,arg4);
4794 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
4795 {
4796 0 int i=0;
4797 0 AV* tempav = newAV();
4798
4799 0 ▶ while( i < arg3 ) {
Branch: 1 branch
BranchTrueFalseTotal
while( i < arg3 ) { 0 0 0
4800 0 av_push(tempav, newSVnv((double) arg1[i]));
4801 0 i++;
4802 }
4803
4804 0 ST(argvi) = sv_2mortal( newRV_noinc( (SV*) tempav) );
4805 0 argvi++;
4806 }
4807 {
4808 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
4809 }
4810
4811
4812
4813 0 XSRETURN(argvi);
4814 0 fail:
4815 {
4816 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
4817 }
4818
4819
4820
4821 0 SWIG_croak_null();
4822 }
4823 }
4824  
4825  
4826 0 XS(_wrap_gsl_fft_complex_radix2_dif_forward) {
4827 {
4828 0 gsl_complex_packed_array arg1 = (gsl_complex_packed_array) 0 ;
4829 size_t arg2 ;
4830 size_t arg3 ;
4831 size_t val2 ;
4832 0 int ecode2 = 0 ;
4833 size_t val3 ;
4834 0 int ecode3 = 0 ;
4835 0 int argvi = 0;
4836 SV * _saved[1] ;
4837 int result;
4838 0 dXSARGS;
4839
4840 0 ▶ if ((items < 3) || (items > 3)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 3) || (items > 3)) { 0 0 0
if ((items < 3) || (items > 3)) { 0 0 0
4841 0 SWIG_croak("Usage: gsl_fft_complex_radix2_dif_forward(data,stride,n);");
4842 }
4843 {
4844 AV *tempav;
4845 I32 len;
4846 int i;
4847 SV **tv;
4848 0 ▶ if (!SvROK(ST(0)))
Branch: 1 branch
BranchTrueFalseTotal
if (!SvROK(ST(0))) 0 0 0
4849 0 croak("Math::GSL : $data is not a reference!");
4850 0 ▶ if (SvTYPE(SvRV(ST(0))) != SVt_PVAV)
Branch: 1 branch
BranchTrueFalseTotal
if (SvTYPE(SvRV(ST(0))) != SVt_PVAV) 0 0 0
4851 0 croak("Math::GSL : $data is not an array ref!");
4852
4853 0 tempav = (AV*)SvRV(ST(0));
4854 0 len = av_len(tempav);
4855 0 arg1 = (double *) malloc((len+2)*sizeof(double));
4856 0 ▶ for (i = 0; i <= len; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; i <= len; i++) { 0 0 0
4857 0 tv = av_fetch(tempav, i, 0);
4858 0 arg1[i] = (double) SvNV(*tv);
4859 }
4860 }
4861 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
4862 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
4863 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_fft_complex_radix2_dif_forward" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_fft_complex_radix2_dif_forward" "', argument " "2"" of type '" "size_t""'"); 0 0 0
4864 }
4865 0 arg2 = (size_t)(val2);
4866 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
4867 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
4868 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_fft_complex_radix2_dif_forward" "', argument " "3"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_fft_complex_radix2_dif_forward" "', argument " "3"" of type '" "size_t""'"); 0 0 0
4869 }
4870 0 arg3 = (size_t)(val3);
4871 0 _saved[0] = ST(0);
4872 0 result = (int)gsl_fft_complex_radix2_dif_forward(arg1,arg2,arg3);
4873 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
4874 {
4875 0 int i=0;
4876 0 AV* tempav = newAV();
4877
4878 0 ▶ while( i < arg3 ) {
Branch: 1 branch
BranchTrueFalseTotal
while( i < arg3 ) { 0 0 0
4879 0 av_push(tempav, newSVnv((double) arg1[i]));
4880 0 i++;
4881 }
4882
4883 0 ST(argvi) = sv_2mortal( newRV_noinc( (SV*) tempav) );
4884 0 argvi++;
4885 }
4886 {
4887 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
4888 }
4889
4890
4891 0 XSRETURN(argvi);
4892 0 fail:
4893 {
4894 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
4895 }
4896
4897
4898 0 SWIG_croak_null();
4899 }
4900 }
4901  
4902  
4903 0 XS(_wrap_gsl_fft_complex_radix2_dif_backward) {
4904 {
4905 0 gsl_complex_packed_array arg1 = (gsl_complex_packed_array) 0 ;
4906 size_t arg2 ;
4907 size_t arg3 ;
4908 size_t val2 ;
4909 0 int ecode2 = 0 ;
4910 size_t val3 ;
4911 0 int ecode3 = 0 ;
4912 0 int argvi = 0;
4913 SV * _saved[1] ;
4914 int result;
4915 0 dXSARGS;
4916
4917 0 ▶ if ((items < 3) || (items > 3)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 3) || (items > 3)) { 0 0 0
if ((items < 3) || (items > 3)) { 0 0 0
4918 0 SWIG_croak("Usage: gsl_fft_complex_radix2_dif_backward(data,stride,n);");
4919 }
4920 {
4921 AV *tempav;
4922 I32 len;
4923 int i;
4924 SV **tv;
4925 0 ▶ if (!SvROK(ST(0)))
Branch: 1 branch
BranchTrueFalseTotal
if (!SvROK(ST(0))) 0 0 0
4926 0 croak("Math::GSL : $data is not a reference!");
4927 0 ▶ if (SvTYPE(SvRV(ST(0))) != SVt_PVAV)
Branch: 1 branch
BranchTrueFalseTotal
if (SvTYPE(SvRV(ST(0))) != SVt_PVAV) 0 0 0
4928 0 croak("Math::GSL : $data is not an array ref!");
4929
4930 0 tempav = (AV*)SvRV(ST(0));
4931 0 len = av_len(tempav);
4932 0 arg1 = (double *) malloc((len+2)*sizeof(double));
4933 0 ▶ for (i = 0; i <= len; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; i <= len; i++) { 0 0 0
4934 0 tv = av_fetch(tempav, i, 0);
4935 0 arg1[i] = (double) SvNV(*tv);
4936 }
4937 }
4938 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
4939 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
4940 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_fft_complex_radix2_dif_backward" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_fft_complex_radix2_dif_backward" "', argument " "2"" of type '" "size_t""'"); 0 0 0
4941 }
4942 0 arg2 = (size_t)(val2);
4943 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
4944 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
4945 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_fft_complex_radix2_dif_backward" "', argument " "3"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_fft_complex_radix2_dif_backward" "', argument " "3"" of type '" "size_t""'"); 0 0 0
4946 }
4947 0 arg3 = (size_t)(val3);
4948 0 _saved[0] = ST(0);
4949 0 result = (int)gsl_fft_complex_radix2_dif_backward(arg1,arg2,arg3);
4950 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
4951 {
4952 0 int i=0;
4953 0 AV* tempav = newAV();
4954
4955 0 ▶ while( i < arg3 ) {
Branch: 1 branch
BranchTrueFalseTotal
while( i < arg3 ) { 0 0 0
4956 0 av_push(tempav, newSVnv((double) arg1[i]));
4957 0 i++;
4958 }
4959
4960 0 ST(argvi) = sv_2mortal( newRV_noinc( (SV*) tempav) );
4961 0 argvi++;
4962 }
4963 {
4964 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
4965 }
4966
4967
4968 0 XSRETURN(argvi);
4969 0 fail:
4970 {
4971 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
4972 }
4973
4974
4975 0 SWIG_croak_null();
4976 }
4977 }
4978  
4979  
4980 0 XS(_wrap_gsl_fft_complex_radix2_dif_inverse) {
4981 {
4982 0 gsl_complex_packed_array arg1 = (gsl_complex_packed_array) 0 ;
4983 size_t arg2 ;
4984 size_t arg3 ;
4985 size_t val2 ;
4986 0 int ecode2 = 0 ;
4987 size_t val3 ;
4988 0 int ecode3 = 0 ;
4989 0 int argvi = 0;
4990 SV * _saved[1] ;
4991 int result;
4992 0 dXSARGS;
4993
4994 0 ▶ if ((items < 3) || (items > 3)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 3) || (items > 3)) { 0 0 0
if ((items < 3) || (items > 3)) { 0 0 0
4995 0 SWIG_croak("Usage: gsl_fft_complex_radix2_dif_inverse(data,stride,n);");
4996 }
4997 {
4998 AV *tempav;
4999 I32 len;
5000 int i;
5001 SV **tv;
5002 0 ▶ if (!SvROK(ST(0)))
Branch: 1 branch
BranchTrueFalseTotal
if (!SvROK(ST(0))) 0 0 0
5003 0 croak("Math::GSL : $data is not a reference!");
5004 0 ▶ if (SvTYPE(SvRV(ST(0))) != SVt_PVAV)
Branch: 1 branch
BranchTrueFalseTotal
if (SvTYPE(SvRV(ST(0))) != SVt_PVAV) 0 0 0
5005 0 croak("Math::GSL : $data is not an array ref!");
5006
5007 0 tempav = (AV*)SvRV(ST(0));
5008 0 len = av_len(tempav);
5009 0 arg1 = (double *) malloc((len+2)*sizeof(double));
5010 0 ▶ for (i = 0; i <= len; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; i <= len; i++) { 0 0 0
5011 0 tv = av_fetch(tempav, i, 0);
5012 0 arg1[i] = (double) SvNV(*tv);
5013 }
5014 }
5015 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5016 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
5017 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_fft_complex_radix2_dif_inverse" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_fft_complex_radix2_dif_inverse" "', argument " "2"" of type '" "size_t""'"); 0 0 0
5018 }
5019 0 arg2 = (size_t)(val2);
5020 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
5021 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
5022 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_fft_complex_radix2_dif_inverse" "', argument " "3"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_fft_complex_radix2_dif_inverse" "', argument " "3"" of type '" "size_t""'"); 0 0 0
5023 }
5024 0 arg3 = (size_t)(val3);
5025 0 _saved[0] = ST(0);
5026 0 result = (int)gsl_fft_complex_radix2_dif_inverse(arg1,arg2,arg3);
5027 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
5028 {
5029 0 int i=0;
5030 0 AV* tempav = newAV();
5031
5032 0 ▶ while( i < arg3 ) {
Branch: 1 branch
BranchTrueFalseTotal
while( i < arg3 ) { 0 0 0
5033 0 av_push(tempav, newSVnv((double) arg1[i]));
5034 0 i++;
5035 }
5036
5037 0 ST(argvi) = sv_2mortal( newRV_noinc( (SV*) tempav) );
5038 0 argvi++;
5039 }
5040 {
5041 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
5042 }
5043
5044
5045 0 XSRETURN(argvi);
5046 0 fail:
5047 {
5048 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
5049 }
5050
5051
5052 0 SWIG_croak_null();
5053 }
5054 }
5055  
5056  
5057 0 XS(_wrap_gsl_fft_complex_radix2_dif_transform) {
5058 {
5059 0 gsl_complex_packed_array arg1 = (gsl_complex_packed_array) 0 ;
5060 size_t arg2 ;
5061 size_t arg3 ;
5062 gsl_fft_direction arg4 ;
5063 size_t val2 ;
5064 0 int ecode2 = 0 ;
5065 size_t val3 ;
5066 0 int ecode3 = 0 ;
5067 int val4 ;
5068 0 int ecode4 = 0 ;
5069 0 int argvi = 0;
5070 SV * _saved[1] ;
5071 int result;
5072 0 dXSARGS;
5073
5074 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
5075 0 SWIG_croak("Usage: gsl_fft_complex_radix2_dif_transform(data,stride,n,sign);");
5076 }
5077 {
5078 AV *tempav;
5079 I32 len;
5080 int i;
5081 SV **tv;
5082 0 ▶ if (!SvROK(ST(0)))
Branch: 1 branch
BranchTrueFalseTotal
if (!SvROK(ST(0))) 0 0 0
5083 0 croak("Math::GSL : $data is not a reference!");
5084 0 ▶ if (SvTYPE(SvRV(ST(0))) != SVt_PVAV)
Branch: 1 branch
BranchTrueFalseTotal
if (SvTYPE(SvRV(ST(0))) != SVt_PVAV) 0 0 0
5085 0 croak("Math::GSL : $data is not an array ref!");
5086
5087 0 tempav = (AV*)SvRV(ST(0));
5088 0 len = av_len(tempav);
5089 0 arg1 = (double *) malloc((len+2)*sizeof(double));
5090 0 ▶ for (i = 0; i <= len; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; i <= len; i++) { 0 0 0
5091 0 tv = av_fetch(tempav, i, 0);
5092 0 arg1[i] = (double) SvNV(*tv);
5093 }
5094 }
5095 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5096 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
5097 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_fft_complex_radix2_dif_transform" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_fft_complex_radix2_dif_transform" "', argument " "2"" of type '" "size_t""'"); 0 0 0
5098 }
5099 0 arg2 = (size_t)(val2);
5100 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
5101 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
5102 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_fft_complex_radix2_dif_transform" "', argument " "3"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_fft_complex_radix2_dif_transform" "', argument " "3"" of type '" "size_t""'"); 0 0 0
5103 }
5104 0 arg3 = (size_t)(val3);
5105 0 ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
5106 0 ▶ if (!SWIG_IsOK(ecode4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode4)) { 0 0 0
5107 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_fft_complex_radix2_dif_transform" "', argument " "4"" of type '" "gsl_fft_direction""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_fft_complex_radix2_dif_transform" "', argument " "4"" of type '" "gsl_fft_direction""'"); 0 0 0
5108 }
5109 0 arg4 = (gsl_fft_direction)(val4);
5110 0 _saved[0] = ST(0);
5111 0 result = (int)gsl_fft_complex_radix2_dif_transform(arg1,arg2,arg3,arg4);
5112 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
5113 {
5114 0 int i=0;
5115 0 AV* tempav = newAV();
5116
5117 0 ▶ while( i < arg3 ) {
Branch: 1 branch
BranchTrueFalseTotal
while( i < arg3 ) { 0 0 0
5118 0 av_push(tempav, newSVnv((double) arg1[i]));
5119 0 i++;
5120 }
5121
5122 0 ST(argvi) = sv_2mortal( newRV_noinc( (SV*) tempav) );
5123 0 argvi++;
5124 }
5125 {
5126 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
5127 }
5128
5129
5130
5131 0 XSRETURN(argvi);
5132 0 fail:
5133 {
5134 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
5135 }
5136
5137
5138
5139 0 SWIG_croak_null();
5140 }
5141 }
5142  
5143  
5144 0 XS(_wrap_gsl_fft_complex_wavetable_n_set) {
5145 {
5146 0 gsl_fft_complex_wavetable *arg1 = (gsl_fft_complex_wavetable *) 0 ;
5147 size_t arg2 ;
5148 0 void *argp1 = 0 ;
5149 0 int res1 = 0 ;
5150 size_t val2 ;
5151 0 int ecode2 = 0 ;
5152 0 int argvi = 0;
5153 0 dXSARGS;
5154
5155 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
5156 0 SWIG_croak("Usage: gsl_fft_complex_wavetable_n_set(self,n);");
5157 }
5158 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_fft_complex_wavetable, 0 | 0 );
5159 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
5160 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_complex_wavetable_n_set" "', argument " "1"" of type '" "gsl_fft_complex_wavetable *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_complex_wavetable_n_set" "', argument " "1"" of type '" "gsl_fft_complex_wavetable *""'"); 0 0 0
5161 }
5162 0 arg1 = (gsl_fft_complex_wavetable *)(argp1);
5163 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5164 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
5165 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_fft_complex_wavetable_n_set" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_fft_complex_wavetable_n_set" "', argument " "2"" of type '" "size_t""'"); 0 0 0
5166 }
5167 0 arg2 = (size_t)(val2);
5168 0 ▶ if (arg1) (arg1)->n = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->n = arg2; 0 0 0
5169 0 ST(argvi) = &PL_sv_undef;
5170
5171
5172 0 XSRETURN(argvi);
5173 0 fail:
5174
5175
5176 0 SWIG_croak_null();
5177 }
5178 }
5179  
5180  
5181 0 XS(_wrap_gsl_fft_complex_wavetable_n_get) {
5182 {
5183 0 gsl_fft_complex_wavetable *arg1 = (gsl_fft_complex_wavetable *) 0 ;
5184 0 void *argp1 = 0 ;
5185 0 int res1 = 0 ;
5186 0 int argvi = 0;
5187 size_t result;
5188 0 dXSARGS;
5189
5190 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
5191 0 SWIG_croak("Usage: gsl_fft_complex_wavetable_n_get(self);");
5192 }
5193 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_fft_complex_wavetable, 0 | 0 );
5194 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
5195 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_complex_wavetable_n_get" "', argument " "1"" of type '" "gsl_fft_complex_wavetable *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_complex_wavetable_n_get" "', argument " "1"" of type '" "gsl_fft_complex_wavetable *""'"); 0 0 0
5196 }
5197 0 arg1 = (gsl_fft_complex_wavetable *)(argp1);
5198 0 result = ((arg1)->n);
5199 0 ST(argvi) = SWIG_From_size_t SWIG_PERL_CALL_ARGS_1((size_t)(result)); argvi++ ;
5200
5201 0 XSRETURN(argvi);
5202 0 fail:
5203
5204 0 SWIG_croak_null();
5205 }
5206 }
5207  
5208  
5209 0 XS(_wrap_gsl_fft_complex_wavetable_nf_set) {
5210 {
5211 0 gsl_fft_complex_wavetable *arg1 = (gsl_fft_complex_wavetable *) 0 ;
5212 size_t arg2 ;
5213 0 void *argp1 = 0 ;
5214 0 int res1 = 0 ;
5215 size_t val2 ;
5216 0 int ecode2 = 0 ;
5217 0 int argvi = 0;
5218 0 dXSARGS;
5219
5220 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
5221 0 SWIG_croak("Usage: gsl_fft_complex_wavetable_nf_set(self,nf);");
5222 }
5223 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_fft_complex_wavetable, 0 | 0 );
5224 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
5225 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_complex_wavetable_nf_set" "', argument " "1"" of type '" "gsl_fft_complex_wavetable *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_complex_wavetable_nf_set" "', argument " "1"" of type '" "gsl_fft_complex_wavetable *""'"); 0 0 0
5226 }
5227 0 arg1 = (gsl_fft_complex_wavetable *)(argp1);
5228 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5229 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
5230 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_fft_complex_wavetable_nf_set" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_fft_complex_wavetable_nf_set" "', argument " "2"" of type '" "size_t""'"); 0 0 0
5231 }
5232 0 arg2 = (size_t)(val2);
5233 0 ▶ if (arg1) (arg1)->nf = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->nf = arg2; 0 0 0
5234 0 ST(argvi) = &PL_sv_undef;
5235
5236
5237 0 XSRETURN(argvi);
5238 0 fail:
5239
5240
5241 0 SWIG_croak_null();
5242 }
5243 }
5244  
5245  
5246 0 XS(_wrap_gsl_fft_complex_wavetable_nf_get) {
5247 {
5248 0 gsl_fft_complex_wavetable *arg1 = (gsl_fft_complex_wavetable *) 0 ;
5249 0 void *argp1 = 0 ;
5250 0 int res1 = 0 ;
5251 0 int argvi = 0;
5252 size_t result;
5253 0 dXSARGS;
5254
5255 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
5256 0 SWIG_croak("Usage: gsl_fft_complex_wavetable_nf_get(self);");
5257 }
5258 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_fft_complex_wavetable, 0 | 0 );
5259 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
5260 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_complex_wavetable_nf_get" "', argument " "1"" of type '" "gsl_fft_complex_wavetable *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_complex_wavetable_nf_get" "', argument " "1"" of type '" "gsl_fft_complex_wavetable *""'"); 0 0 0
5261 }
5262 0 arg1 = (gsl_fft_complex_wavetable *)(argp1);
5263 0 result = ((arg1)->nf);
5264 0 ST(argvi) = SWIG_From_size_t SWIG_PERL_CALL_ARGS_1((size_t)(result)); argvi++ ;
5265
5266 0 XSRETURN(argvi);
5267 0 fail:
5268
5269 0 SWIG_croak_null();
5270 }
5271 }
5272  
5273  
5274 0 XS(_wrap_gsl_fft_complex_wavetable_factor_set) {
5275 {
5276 0 gsl_fft_complex_wavetable *arg1 = (gsl_fft_complex_wavetable *) 0 ;
5277 0 size_t *arg2 = (size_t *) (size_t *)0 ;
5278 0 void *argp1 = 0 ;
5279 0 int res1 = 0 ;
5280 0 void *argp2 = 0 ;
5281 0 int res2 = 0 ;
5282 0 int argvi = 0;
5283 0 dXSARGS;
5284
5285 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
5286 0 SWIG_croak("Usage: gsl_fft_complex_wavetable_factor_set(self,factor);");
5287 }
5288 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_fft_complex_wavetable, 0 | 0 );
5289 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
5290 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_complex_wavetable_factor_set" "', argument " "1"" of type '" "gsl_fft_complex_wavetable *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_complex_wavetable_factor_set" "', argument " "1"" of type '" "gsl_fft_complex_wavetable *""'"); 0 0 0
5291 }
5292 0 arg1 = (gsl_fft_complex_wavetable *)(argp1);
5293 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_size_t, 0 | 0 );
5294 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
5295 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_fft_complex_wavetable_factor_set" "', argument " "2"" of type '" "size_t [64]""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_fft_complex_wavetable_factor_set" "', argument " "2"" of type '" "size_t [64]""'"); 0 0 0
5296 }
5297 0 arg2 = (size_t *)(argp2);
5298 {
5299 0 ▶ if (arg2) {
Branch: 1 branch
BranchTrueFalseTotal
if (arg2) { 0 0 0
5300 0 size_t ii = 0;
5301 0 ▶ for (; ii < (size_t)64; ++ii) *(size_t *)&arg1->factor[ii] = *((size_t *)arg2 + ii);
Branch: 1 branch
BranchTrueFalseTotal
for (; ii < (size_t)64; ++ii) *(size_t *)&arg1->factor[ii] = *((size_t *)arg2 + ii); 0 0 0
5302 } else {
5303 0 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""factor""' of type '""size_t [64]""'");
5304 }
5305 }
5306 0 ST(argvi) = &PL_sv_undef;
5307
5308
5309 0 XSRETURN(argvi);
5310 0 fail:
5311
5312
5313 0 SWIG_croak_null();
5314 }
5315 }
5316  
5317  
5318 0 XS(_wrap_gsl_fft_complex_wavetable_factor_get) {
5319 {
5320 0 gsl_fft_complex_wavetable *arg1 = (gsl_fft_complex_wavetable *) 0 ;
5321 0 void *argp1 = 0 ;
5322 0 int res1 = 0 ;
5323 0 int argvi = 0;
5324 0 size_t *result = 0 ;
5325 0 dXSARGS;
5326
5327 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
5328 0 SWIG_croak("Usage: gsl_fft_complex_wavetable_factor_get(self);");
5329 }
5330 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_fft_complex_wavetable, 0 | 0 );
5331 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
5332 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_complex_wavetable_factor_get" "', argument " "1"" of type '" "gsl_fft_complex_wavetable *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_complex_wavetable_factor_get" "', argument " "1"" of type '" "gsl_fft_complex_wavetable *""'"); 0 0 0
5333 }
5334 0 arg1 = (gsl_fft_complex_wavetable *)(argp1);
5335 0 result = (size_t *)(size_t *) ((arg1)->factor);
5336 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_size_t, 0 | 0); argvi++ ;
5337
5338 0 XSRETURN(argvi);
5339 0 fail:
5340
5341 0 SWIG_croak_null();
5342 }
5343 }
5344  
5345  
5346 0 XS(_wrap_gsl_fft_complex_wavetable_twiddle_set) {
5347 {
5348 0 gsl_fft_complex_wavetable *arg1 = (gsl_fft_complex_wavetable *) 0 ;
5349 0 gsl_complex **arg2 = (gsl_complex **) (gsl_complex **)0 ;
5350 0 void *argp1 = 0 ;
5351 0 int res1 = 0 ;
5352 0 void *argp2 = 0 ;
5353 0 int res2 = 0 ;
5354 0 int argvi = 0;
5355 0 dXSARGS;
5356
5357 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
5358 0 SWIG_croak("Usage: gsl_fft_complex_wavetable_twiddle_set(self,twiddle);");
5359 }
5360 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_fft_complex_wavetable, 0 | 0 );
5361 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
5362 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_complex_wavetable_twiddle_set" "', argument " "1"" of type '" "gsl_fft_complex_wavetable *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_complex_wavetable_twiddle_set" "', argument " "1"" of type '" "gsl_fft_complex_wavetable *""'"); 0 0 0
5363 }
5364 0 arg1 = (gsl_fft_complex_wavetable *)(argp1);
5365 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_p_gsl_complex, 0 | 0 );
5366 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
5367 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_fft_complex_wavetable_twiddle_set" "', argument " "2"" of type '" "gsl_complex *[64]""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_fft_complex_wavetable_twiddle_set" "', argument " "2"" of type '" "gsl_complex *[64]""'"); 0 0 0
5368 }
5369 0 arg2 = (gsl_complex **)(argp2);
5370 {
5371 0 ▶ if (arg2) {
Branch: 1 branch
BranchTrueFalseTotal
if (arg2) { 0 0 0
5372 0 size_t ii = 0;
5373 0 ▶ for (; ii < (size_t)64; ++ii) *(gsl_complex * *)&arg1->twiddle[ii] = *((gsl_complex * *)arg2 + ii);
Branch: 1 branch
BranchTrueFalseTotal
for (; ii < (size_t)64; ++ii) *(gsl_complex * *)&arg1->twiddle[ii] = *((gsl_complex * *)arg2 + ii); 0 0 0
5374 } else {
5375 0 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""twiddle""' of type '""gsl_complex *[64]""'");
5376 }
5377 }
5378 0 ST(argvi) = &PL_sv_undef;
5379
5380
5381 0 XSRETURN(argvi);
5382 0 fail:
5383
5384
5385 0 SWIG_croak_null();
5386 }
5387 }
5388  
5389  
5390 0 XS(_wrap_gsl_fft_complex_wavetable_twiddle_get) {
5391 {
5392 0 gsl_fft_complex_wavetable *arg1 = (gsl_fft_complex_wavetable *) 0 ;
5393 0 void *argp1 = 0 ;
5394 0 int res1 = 0 ;
5395 0 int argvi = 0;
5396 0 gsl_complex **result = 0 ;
5397 0 dXSARGS;
5398
5399 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
5400 0 SWIG_croak("Usage: gsl_fft_complex_wavetable_twiddle_get(self);");
5401 }
5402 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_fft_complex_wavetable, 0 | 0 );
5403 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
5404 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_complex_wavetable_twiddle_get" "', argument " "1"" of type '" "gsl_fft_complex_wavetable *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_complex_wavetable_twiddle_get" "', argument " "1"" of type '" "gsl_fft_complex_wavetable *""'"); 0 0 0
5405 }
5406 0 arg1 = (gsl_fft_complex_wavetable *)(argp1);
5407 0 result = (gsl_complex **)(gsl_complex **) ((arg1)->twiddle);
5408 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_gsl_complex, 0 | 0); argvi++ ;
5409
5410 0 XSRETURN(argvi);
5411 0 fail:
5412
5413 0 SWIG_croak_null();
5414 }
5415 }
5416  
5417  
5418 0 XS(_wrap_gsl_fft_complex_wavetable_trig_set) {
5419 {
5420 0 gsl_fft_complex_wavetable *arg1 = (gsl_fft_complex_wavetable *) 0 ;
5421 0 gsl_complex *arg2 = (gsl_complex *) 0 ;
5422 0 void *argp1 = 0 ;
5423 0 int res1 = 0 ;
5424 0 void *argp2 = 0 ;
5425 0 int res2 = 0 ;
5426 0 int argvi = 0;
5427 0 dXSARGS;
5428
5429 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
5430 0 SWIG_croak("Usage: gsl_fft_complex_wavetable_trig_set(self,trig);");
5431 }
5432 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_fft_complex_wavetable, 0 | 0 );
5433 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
5434 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_complex_wavetable_trig_set" "', argument " "1"" of type '" "gsl_fft_complex_wavetable *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_complex_wavetable_trig_set" "', argument " "1"" of type '" "gsl_fft_complex_wavetable *""'"); 0 0 0
5435 }
5436 0 arg1 = (gsl_fft_complex_wavetable *)(argp1);
5437 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_complex, SWIG_POINTER_DISOWN | 0 );
5438 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
5439 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_fft_complex_wavetable_trig_set" "', argument " "2"" of type '" "gsl_complex *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_fft_complex_wavetable_trig_set" "', argument " "2"" of type '" "gsl_complex *""'"); 0 0 0
5440 }
5441 0 arg2 = (gsl_complex *)(argp2);
5442 0 ▶ if (arg1) (arg1)->trig = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->trig = arg2; 0 0 0
5443 0 ST(argvi) = &PL_sv_undef;
5444
5445
5446 0 XSRETURN(argvi);
5447 0 fail:
5448
5449
5450 0 SWIG_croak_null();
5451 }
5452 }
5453  
5454  
5455 0 XS(_wrap_gsl_fft_complex_wavetable_trig_get) {
5456 {
5457 0 gsl_fft_complex_wavetable *arg1 = (gsl_fft_complex_wavetable *) 0 ;
5458 0 void *argp1 = 0 ;
5459 0 int res1 = 0 ;
5460 0 int argvi = 0;
5461 0 gsl_complex *result = 0 ;
5462 0 dXSARGS;
5463
5464 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
5465 0 SWIG_croak("Usage: gsl_fft_complex_wavetable_trig_get(self);");
5466 }
5467 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_fft_complex_wavetable, 0 | 0 );
5468 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
5469 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_complex_wavetable_trig_get" "', argument " "1"" of type '" "gsl_fft_complex_wavetable *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_complex_wavetable_trig_get" "', argument " "1"" of type '" "gsl_fft_complex_wavetable *""'"); 0 0 0
5470 }
5471 0 arg1 = (gsl_fft_complex_wavetable *)(argp1);
5472 0 result = (gsl_complex *) ((arg1)->trig);
5473 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_complex, 0 | SWIG_SHADOW); argvi++ ;
5474
5475 0 XSRETURN(argvi);
5476 0 fail:
5477
5478 0 SWIG_croak_null();
5479 }
5480 }
5481  
5482  
5483 0 XS(_wrap_new_gsl_fft_complex_wavetable) {
5484 {
5485 0 int argvi = 0;
5486 0 gsl_fft_complex_wavetable *result = 0 ;
5487 0 dXSARGS;
5488
5489 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
5490 0 SWIG_croak("Usage: new_gsl_fft_complex_wavetable();");
5491 }
5492 0 result = (gsl_fft_complex_wavetable *)calloc(1, sizeof(gsl_fft_complex_wavetable));
5493 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_fft_complex_wavetable, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
5494 0 XSRETURN(argvi);
5495 0 fail:
5496 0 SWIG_croak_null();
5497 }
5498 }
5499  
5500  
5501 0 XS(_wrap_delete_gsl_fft_complex_wavetable) {
5502 {
5503 0 gsl_fft_complex_wavetable *arg1 = (gsl_fft_complex_wavetable *) 0 ;
5504 0 void *argp1 = 0 ;
5505 0 int res1 = 0 ;
5506 0 int argvi = 0;
5507 0 dXSARGS;
5508
5509 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
5510 0 SWIG_croak("Usage: delete_gsl_fft_complex_wavetable(self);");
5511 }
5512 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_fft_complex_wavetable, SWIG_POINTER_DISOWN | 0 );
5513 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
5514 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_gsl_fft_complex_wavetable" "', argument " "1"" of type '" "gsl_fft_complex_wavetable *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_gsl_fft_complex_wavetable" "', argument " "1"" of type '" "gsl_fft_complex_wavetable *""'"); 0 0 0
5515 }
5516 0 arg1 = (gsl_fft_complex_wavetable *)(argp1);
5517 0 free((char *) arg1);
5518 0 ST(argvi) = &PL_sv_undef;
5519
5520 0 XSRETURN(argvi);
5521 0 fail:
5522
5523 0 SWIG_croak_null();
5524 }
5525 }
5526  
5527  
5528 0 XS(_wrap_gsl_fft_complex_workspace_n_set) {
5529 {
5530 0 gsl_fft_complex_workspace *arg1 = (gsl_fft_complex_workspace *) 0 ;
5531 size_t arg2 ;
5532 0 void *argp1 = 0 ;
5533 0 int res1 = 0 ;
5534 size_t val2 ;
5535 0 int ecode2 = 0 ;
5536 0 int argvi = 0;
5537 0 dXSARGS;
5538
5539 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
5540 0 SWIG_croak("Usage: gsl_fft_complex_workspace_n_set(self,n);");
5541 }
5542 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_fft_complex_workspace, 0 | 0 );
5543 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
5544 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_complex_workspace_n_set" "', argument " "1"" of type '" "gsl_fft_complex_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_complex_workspace_n_set" "', argument " "1"" of type '" "gsl_fft_complex_workspace *""'"); 0 0 0
5545 }
5546 0 arg1 = (gsl_fft_complex_workspace *)(argp1);
5547 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5548 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
5549 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_fft_complex_workspace_n_set" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_fft_complex_workspace_n_set" "', argument " "2"" of type '" "size_t""'"); 0 0 0
5550 }
5551 0 arg2 = (size_t)(val2);
5552 0 ▶ if (arg1) (arg1)->n = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->n = arg2; 0 0 0
5553 0 ST(argvi) = &PL_sv_undef;
5554
5555
5556 0 XSRETURN(argvi);
5557 0 fail:
5558
5559
5560 0 SWIG_croak_null();
5561 }
5562 }
5563  
5564  
5565 0 XS(_wrap_gsl_fft_complex_workspace_n_get) {
5566 {
5567 0 gsl_fft_complex_workspace *arg1 = (gsl_fft_complex_workspace *) 0 ;
5568 0 void *argp1 = 0 ;
5569 0 int res1 = 0 ;
5570 0 int argvi = 0;
5571 size_t result;
5572 0 dXSARGS;
5573
5574 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
5575 0 SWIG_croak("Usage: gsl_fft_complex_workspace_n_get(self);");
5576 }
5577 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_fft_complex_workspace, 0 | 0 );
5578 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
5579 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_complex_workspace_n_get" "', argument " "1"" of type '" "gsl_fft_complex_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_complex_workspace_n_get" "', argument " "1"" of type '" "gsl_fft_complex_workspace *""'"); 0 0 0
5580 }
5581 0 arg1 = (gsl_fft_complex_workspace *)(argp1);
5582 0 result = ((arg1)->n);
5583 0 ST(argvi) = SWIG_From_size_t SWIG_PERL_CALL_ARGS_1((size_t)(result)); argvi++ ;
5584
5585 0 XSRETURN(argvi);
5586 0 fail:
5587
5588 0 SWIG_croak_null();
5589 }
5590 }
5591  
5592  
5593 0 XS(_wrap_gsl_fft_complex_workspace_scratch_set) {
5594 {
5595 0 gsl_fft_complex_workspace *arg1 = (gsl_fft_complex_workspace *) 0 ;
5596 0 double *arg2 = (double *) 0 ;
5597 0 void *argp1 = 0 ;
5598 0 int res1 = 0 ;
5599 0 void *argp2 = 0 ;
5600 0 int res2 = 0 ;
5601 0 int argvi = 0;
5602 0 dXSARGS;
5603
5604 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
5605 0 SWIG_croak("Usage: gsl_fft_complex_workspace_scratch_set(self,scratch);");
5606 }
5607 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_fft_complex_workspace, 0 | 0 );
5608 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
5609 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_complex_workspace_scratch_set" "', argument " "1"" of type '" "gsl_fft_complex_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_complex_workspace_scratch_set" "', argument " "1"" of type '" "gsl_fft_complex_workspace *""'"); 0 0 0
5610 }
5611 0 arg1 = (gsl_fft_complex_workspace *)(argp1);
5612 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, SWIG_POINTER_DISOWN | 0 );
5613 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
5614 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_fft_complex_workspace_scratch_set" "', argument " "2"" of type '" "double *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_fft_complex_workspace_scratch_set" "', argument " "2"" of type '" "double *""'"); 0 0 0
5615 }
5616 0 arg2 = (double *)(argp2);
5617 0 ▶ if (arg1) (arg1)->scratch = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->scratch = arg2; 0 0 0
5618 0 ST(argvi) = &PL_sv_undef;
5619
5620
5621 0 XSRETURN(argvi);
5622 0 fail:
5623
5624
5625 0 SWIG_croak_null();
5626 }
5627 }
5628  
5629  
5630 0 XS(_wrap_gsl_fft_complex_workspace_scratch_get) {
5631 {
5632 0 gsl_fft_complex_workspace *arg1 = (gsl_fft_complex_workspace *) 0 ;
5633 0 void *argp1 = 0 ;
5634 0 int res1 = 0 ;
5635 0 int argvi = 0;
5636 0 double *result = 0 ;
5637 0 dXSARGS;
5638
5639 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
5640 0 SWIG_croak("Usage: gsl_fft_complex_workspace_scratch_get(self);");
5641 }
5642 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_fft_complex_workspace, 0 | 0 );
5643 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
5644 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_complex_workspace_scratch_get" "', argument " "1"" of type '" "gsl_fft_complex_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_complex_workspace_scratch_get" "', argument " "1"" of type '" "gsl_fft_complex_workspace *""'"); 0 0 0
5645 }
5646 0 arg1 = (gsl_fft_complex_workspace *)(argp1);
5647 0 result = (double *) ((arg1)->scratch);
5648 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0); argvi++ ;
5649
5650 0 XSRETURN(argvi);
5651 0 fail:
5652
5653 0 SWIG_croak_null();
5654 }
5655 }
5656  
5657  
5658 0 XS(_wrap_new_gsl_fft_complex_workspace) {
5659 {
5660 0 int argvi = 0;
5661 0 gsl_fft_complex_workspace *result = 0 ;
5662 0 dXSARGS;
5663
5664 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
5665 0 SWIG_croak("Usage: new_gsl_fft_complex_workspace();");
5666 }
5667 0 result = (gsl_fft_complex_workspace *)calloc(1, sizeof(gsl_fft_complex_workspace));
5668 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_fft_complex_workspace, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
5669 0 XSRETURN(argvi);
5670 0 fail:
5671 0 SWIG_croak_null();
5672 }
5673 }
5674  
5675  
5676 0 XS(_wrap_delete_gsl_fft_complex_workspace) {
5677 {
5678 0 gsl_fft_complex_workspace *arg1 = (gsl_fft_complex_workspace *) 0 ;
5679 0 void *argp1 = 0 ;
5680 0 int res1 = 0 ;
5681 0 int argvi = 0;
5682 0 dXSARGS;
5683
5684 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
5685 0 SWIG_croak("Usage: delete_gsl_fft_complex_workspace(self);");
5686 }
5687 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_fft_complex_workspace, SWIG_POINTER_DISOWN | 0 );
5688 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
5689 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_gsl_fft_complex_workspace" "', argument " "1"" of type '" "gsl_fft_complex_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_gsl_fft_complex_workspace" "', argument " "1"" of type '" "gsl_fft_complex_workspace *""'"); 0 0 0
5690 }
5691 0 arg1 = (gsl_fft_complex_workspace *)(argp1);
5692 0 free((char *) arg1);
5693 0 ST(argvi) = &PL_sv_undef;
5694
5695 0 XSRETURN(argvi);
5696 0 fail:
5697
5698 0 SWIG_croak_null();
5699 }
5700 }
5701  
5702  
5703 0 XS(_wrap_gsl_fft_complex_wavetable_alloc) {
5704 {
5705 size_t arg1 ;
5706 size_t val1 ;
5707 0 int ecode1 = 0 ;
5708 0 int argvi = 0;
5709 0 gsl_fft_complex_wavetable *result = 0 ;
5710 0 dXSARGS;
5711
5712 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
5713 0 SWIG_croak("Usage: gsl_fft_complex_wavetable_alloc(n);");
5714 }
5715 0 ecode1 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
5716 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
5717 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_fft_complex_wavetable_alloc" "', argument " "1"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_fft_complex_wavetable_alloc" "', argument " "1"" of type '" "size_t""'"); 0 0 0
5718 }
5719 0 arg1 = (size_t)(val1);
5720 0 result = (gsl_fft_complex_wavetable *)gsl_fft_complex_wavetable_alloc(arg1);
5721 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_fft_complex_wavetable, 0 | SWIG_SHADOW); argvi++ ;
5722
5723 0 XSRETURN(argvi);
5724 0 fail:
5725
5726 0 SWIG_croak_null();
5727 }
5728 }
5729  
5730  
5731 0 XS(_wrap_gsl_fft_complex_wavetable_free) {
5732 {
5733 0 gsl_fft_complex_wavetable *arg1 = (gsl_fft_complex_wavetable *) 0 ;
5734 0 void *argp1 = 0 ;
5735 0 int res1 = 0 ;
5736 0 int argvi = 0;
5737 0 dXSARGS;
5738
5739 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
5740 0 SWIG_croak("Usage: gsl_fft_complex_wavetable_free(wavetable);");
5741 }
5742 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_fft_complex_wavetable, 0 | 0 );
5743 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
5744 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_complex_wavetable_free" "', argument " "1"" of type '" "gsl_fft_complex_wavetable *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_complex_wavetable_free" "', argument " "1"" of type '" "gsl_fft_complex_wavetable *""'"); 0 0 0
5745 }
5746 0 arg1 = (gsl_fft_complex_wavetable *)(argp1);
5747 0 gsl_fft_complex_wavetable_free(arg1);
5748 0 ST(argvi) = &PL_sv_undef;
5749
5750 0 XSRETURN(argvi);
5751 0 fail:
5752
5753 0 SWIG_croak_null();
5754 }
5755 }
5756  
5757  
5758 0 XS(_wrap_gsl_fft_complex_workspace_alloc) {
5759 {
5760 size_t arg1 ;
5761 size_t val1 ;
5762 0 int ecode1 = 0 ;
5763 0 int argvi = 0;
5764 0 gsl_fft_complex_workspace *result = 0 ;
5765 0 dXSARGS;
5766
5767 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
5768 0 SWIG_croak("Usage: gsl_fft_complex_workspace_alloc(n);");
5769 }
5770 0 ecode1 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
5771 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
5772 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_fft_complex_workspace_alloc" "', argument " "1"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_fft_complex_workspace_alloc" "', argument " "1"" of type '" "size_t""'"); 0 0 0
5773 }
5774 0 arg1 = (size_t)(val1);
5775 0 result = (gsl_fft_complex_workspace *)gsl_fft_complex_workspace_alloc(arg1);
5776 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_fft_complex_workspace, 0 | SWIG_SHADOW); argvi++ ;
5777
5778 0 XSRETURN(argvi);
5779 0 fail:
5780
5781 0 SWIG_croak_null();
5782 }
5783 }
5784  
5785  
5786 0 XS(_wrap_gsl_fft_complex_workspace_free) {
5787 {
5788 0 gsl_fft_complex_workspace *arg1 = (gsl_fft_complex_workspace *) 0 ;
5789 0 void *argp1 = 0 ;
5790 0 int res1 = 0 ;
5791 0 int argvi = 0;
5792 0 dXSARGS;
5793
5794 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
5795 0 SWIG_croak("Usage: gsl_fft_complex_workspace_free(workspace);");
5796 }
5797 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_fft_complex_workspace, 0 | 0 );
5798 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
5799 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_complex_workspace_free" "', argument " "1"" of type '" "gsl_fft_complex_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_complex_workspace_free" "', argument " "1"" of type '" "gsl_fft_complex_workspace *""'"); 0 0 0
5800 }
5801 0 arg1 = (gsl_fft_complex_workspace *)(argp1);
5802 0 gsl_fft_complex_workspace_free(arg1);
5803 0 ST(argvi) = &PL_sv_undef;
5804
5805 0 XSRETURN(argvi);
5806 0 fail:
5807
5808 0 SWIG_croak_null();
5809 }
5810 }
5811  
5812  
5813 0 XS(_wrap_gsl_fft_complex_memcpy) {
5814 {
5815 0 gsl_fft_complex_wavetable *arg1 = (gsl_fft_complex_wavetable *) 0 ;
5816 0 gsl_fft_complex_wavetable *arg2 = (gsl_fft_complex_wavetable *) 0 ;
5817 0 void *argp1 = 0 ;
5818 0 int res1 = 0 ;
5819 0 void *argp2 = 0 ;
5820 0 int res2 = 0 ;
5821 0 int argvi = 0;
5822 int result;
5823 0 dXSARGS;
5824
5825 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
5826 0 SWIG_croak("Usage: gsl_fft_complex_memcpy(dest,src);");
5827 }
5828 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_fft_complex_wavetable, 0 | 0 );
5829 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
5830 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_complex_memcpy" "', argument " "1"" of type '" "gsl_fft_complex_wavetable *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_complex_memcpy" "', argument " "1"" of type '" "gsl_fft_complex_wavetable *""'"); 0 0 0
5831 }
5832 0 arg1 = (gsl_fft_complex_wavetable *)(argp1);
5833 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_fft_complex_wavetable, 0 | 0 );
5834 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
5835 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_fft_complex_memcpy" "', argument " "2"" of type '" "gsl_fft_complex_wavetable *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_fft_complex_memcpy" "', argument " "2"" of type '" "gsl_fft_complex_wavetable *""'"); 0 0 0
5836 }
5837 0 arg2 = (gsl_fft_complex_wavetable *)(argp2);
5838 0 result = (int)gsl_fft_complex_memcpy(arg1,arg2);
5839 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
5840
5841
5842 0 XSRETURN(argvi);
5843 0 fail:
5844
5845
5846 0 SWIG_croak_null();
5847 }
5848 }
5849  
5850  
5851 0 XS(_wrap_gsl_fft_complex_forward) {
5852 {
5853 0 gsl_complex_packed_array arg1 = (gsl_complex_packed_array) 0 ;
5854 size_t arg2 ;
5855 size_t arg3 ;
5856 0 gsl_fft_complex_wavetable *arg4 = (gsl_fft_complex_wavetable *) 0 ;
5857 0 gsl_fft_complex_workspace *arg5 = (gsl_fft_complex_workspace *) 0 ;
5858 size_t val2 ;
5859 0 int ecode2 = 0 ;
5860 size_t val3 ;
5861 0 int ecode3 = 0 ;
5862 0 void *argp4 = 0 ;
5863 0 int res4 = 0 ;
5864 0 void *argp5 = 0 ;
5865 0 int res5 = 0 ;
5866 0 int argvi = 0;
5867 SV * _saved[1] ;
5868 int result;
5869 0 dXSARGS;
5870
5871 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
5872 0 SWIG_croak("Usage: gsl_fft_complex_forward(data,stride,n,wavetable,work);");
5873 }
5874 {
5875 AV *tempav;
5876 I32 len;
5877 int i;
5878 SV **tv;
5879 0 ▶ if (!SvROK(ST(0)))
Branch: 1 branch
BranchTrueFalseTotal
if (!SvROK(ST(0))) 0 0 0
5880 0 croak("Math::GSL : $data is not a reference!");
5881 0 ▶ if (SvTYPE(SvRV(ST(0))) != SVt_PVAV)
Branch: 1 branch
BranchTrueFalseTotal
if (SvTYPE(SvRV(ST(0))) != SVt_PVAV) 0 0 0
5882 0 croak("Math::GSL : $data is not an array ref!");
5883
5884 0 tempav = (AV*)SvRV(ST(0));
5885 0 len = av_len(tempav);
5886 0 arg1 = (double *) malloc((len+2)*sizeof(double));
5887 0 ▶ for (i = 0; i <= len; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; i <= len; i++) { 0 0 0
5888 0 tv = av_fetch(tempav, i, 0);
5889 0 arg1[i] = (double) SvNV(*tv);
5890 }
5891 }
5892 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5893 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
5894 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_fft_complex_forward" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_fft_complex_forward" "', argument " "2"" of type '" "size_t""'"); 0 0 0
5895 }
5896 0 arg2 = (size_t)(val2);
5897 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
5898 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
5899 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_fft_complex_forward" "', argument " "3"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_fft_complex_forward" "', argument " "3"" of type '" "size_t""'"); 0 0 0
5900 }
5901 0 arg3 = (size_t)(val3);
5902 0 res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_gsl_fft_complex_wavetable, 0 | 0 );
5903 0 ▶ if (!SWIG_IsOK(res4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res4)) { 0 0 0
5904 0 ▶ SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_fft_complex_forward" "', argument " "4"" of type '" "gsl_fft_complex_wavetable const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_fft_complex_forward" "', argument " "4"" of type '" "gsl_fft_complex_wavetable const *""'"); 0 0 0
5905 }
5906 0 arg4 = (gsl_fft_complex_wavetable *)(argp4);
5907 0 res5 = SWIG_ConvertPtr(ST(4), &argp5,SWIGTYPE_p_gsl_fft_complex_workspace, 0 | 0 );
5908 0 ▶ if (!SWIG_IsOK(res5)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res5)) { 0 0 0
5909 0 ▶ SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "gsl_fft_complex_forward" "', argument " "5"" of type '" "gsl_fft_complex_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "gsl_fft_complex_forward" "', argument " "5"" of type '" "gsl_fft_complex_workspace *""'"); 0 0 0
5910 }
5911 0 arg5 = (gsl_fft_complex_workspace *)(argp5);
5912 0 _saved[0] = ST(0);
5913 0 result = (int)gsl_fft_complex_forward(arg1,arg2,arg3,(gsl_fft_complex_wavetable const *)arg4,arg5);
5914 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
5915 {
5916 0 int i=0;
5917 0 AV* tempav = newAV();
5918
5919 0 ▶ while( i < arg3 ) {
Branch: 1 branch
BranchTrueFalseTotal
while( i < arg3 ) { 0 0 0
5920 0 av_push(tempav, newSVnv((double) arg1[i]));
5921 0 i++;
5922 }
5923
5924 0 ST(argvi) = sv_2mortal( newRV_noinc( (SV*) tempav) );
5925 0 argvi++;
5926 }
5927 {
5928 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
5929 }
5930
5931
5932
5933
5934 0 XSRETURN(argvi);
5935 0 fail:
5936 {
5937 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
5938 }
5939
5940
5941
5942
5943 0 SWIG_croak_null();
5944 }
5945 }
5946  
5947  
5948 0 XS(_wrap_gsl_fft_complex_backward) {
5949 {
5950 0 gsl_complex_packed_array arg1 = (gsl_complex_packed_array) 0 ;
5951 size_t arg2 ;
5952 size_t arg3 ;
5953 0 gsl_fft_complex_wavetable *arg4 = (gsl_fft_complex_wavetable *) 0 ;
5954 0 gsl_fft_complex_workspace *arg5 = (gsl_fft_complex_workspace *) 0 ;
5955 size_t val2 ;
5956 0 int ecode2 = 0 ;
5957 size_t val3 ;
5958 0 int ecode3 = 0 ;
5959 0 void *argp4 = 0 ;
5960 0 int res4 = 0 ;
5961 0 void *argp5 = 0 ;
5962 0 int res5 = 0 ;
5963 0 int argvi = 0;
5964 SV * _saved[1] ;
5965 int result;
5966 0 dXSARGS;
5967
5968 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
5969 0 SWIG_croak("Usage: gsl_fft_complex_backward(data,stride,n,wavetable,work);");
5970 }
5971 {
5972 AV *tempav;
5973 I32 len;
5974 int i;
5975 SV **tv;
5976 0 ▶ if (!SvROK(ST(0)))
Branch: 1 branch
BranchTrueFalseTotal
if (!SvROK(ST(0))) 0 0 0
5977 0 croak("Math::GSL : $data is not a reference!");
5978 0 ▶ if (SvTYPE(SvRV(ST(0))) != SVt_PVAV)
Branch: 1 branch
BranchTrueFalseTotal
if (SvTYPE(SvRV(ST(0))) != SVt_PVAV) 0 0 0
5979 0 croak("Math::GSL : $data is not an array ref!");
5980
5981 0 tempav = (AV*)SvRV(ST(0));
5982 0 len = av_len(tempav);
5983 0 arg1 = (double *) malloc((len+2)*sizeof(double));
5984 0 ▶ for (i = 0; i <= len; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; i <= len; i++) { 0 0 0
5985 0 tv = av_fetch(tempav, i, 0);
5986 0 arg1[i] = (double) SvNV(*tv);
5987 }
5988 }
5989 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5990 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
5991 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_fft_complex_backward" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_fft_complex_backward" "', argument " "2"" of type '" "size_t""'"); 0 0 0
5992 }
5993 0 arg2 = (size_t)(val2);
5994 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
5995 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
5996 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_fft_complex_backward" "', argument " "3"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_fft_complex_backward" "', argument " "3"" of type '" "size_t""'"); 0 0 0
5997 }
5998 0 arg3 = (size_t)(val3);
5999 0 res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_gsl_fft_complex_wavetable, 0 | 0 );
6000 0 ▶ if (!SWIG_IsOK(res4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res4)) { 0 0 0
6001 0 ▶ SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_fft_complex_backward" "', argument " "4"" of type '" "gsl_fft_complex_wavetable const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_fft_complex_backward" "', argument " "4"" of type '" "gsl_fft_complex_wavetable const *""'"); 0 0 0
6002 }
6003 0 arg4 = (gsl_fft_complex_wavetable *)(argp4);
6004 0 res5 = SWIG_ConvertPtr(ST(4), &argp5,SWIGTYPE_p_gsl_fft_complex_workspace, 0 | 0 );
6005 0 ▶ if (!SWIG_IsOK(res5)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res5)) { 0 0 0
6006 0 ▶ SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "gsl_fft_complex_backward" "', argument " "5"" of type '" "gsl_fft_complex_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "gsl_fft_complex_backward" "', argument " "5"" of type '" "gsl_fft_complex_workspace *""'"); 0 0 0
6007 }
6008 0 arg5 = (gsl_fft_complex_workspace *)(argp5);
6009 0 _saved[0] = ST(0);
6010 0 result = (int)gsl_fft_complex_backward(arg1,arg2,arg3,(gsl_fft_complex_wavetable const *)arg4,arg5);
6011 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
6012 {
6013 0 int i=0;
6014 0 AV* tempav = newAV();
6015
6016 0 ▶ while( i < arg3 ) {
Branch: 1 branch
BranchTrueFalseTotal
while( i < arg3 ) { 0 0 0
6017 0 av_push(tempav, newSVnv((double) arg1[i]));
6018 0 i++;
6019 }
6020
6021 0 ST(argvi) = sv_2mortal( newRV_noinc( (SV*) tempav) );
6022 0 argvi++;
6023 }
6024 {
6025 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
6026 }
6027
6028
6029
6030
6031 0 XSRETURN(argvi);
6032 0 fail:
6033 {
6034 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
6035 }
6036
6037
6038
6039
6040 0 SWIG_croak_null();
6041 }
6042 }
6043  
6044  
6045 0 XS(_wrap_gsl_fft_complex_inverse) {
6046 {
6047 0 gsl_complex_packed_array arg1 = (gsl_complex_packed_array) 0 ;
6048 size_t arg2 ;
6049 size_t arg3 ;
6050 0 gsl_fft_complex_wavetable *arg4 = (gsl_fft_complex_wavetable *) 0 ;
6051 0 gsl_fft_complex_workspace *arg5 = (gsl_fft_complex_workspace *) 0 ;
6052 size_t val2 ;
6053 0 int ecode2 = 0 ;
6054 size_t val3 ;
6055 0 int ecode3 = 0 ;
6056 0 void *argp4 = 0 ;
6057 0 int res4 = 0 ;
6058 0 void *argp5 = 0 ;
6059 0 int res5 = 0 ;
6060 0 int argvi = 0;
6061 SV * _saved[1] ;
6062 int result;
6063 0 dXSARGS;
6064
6065 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
6066 0 SWIG_croak("Usage: gsl_fft_complex_inverse(data,stride,n,wavetable,work);");
6067 }
6068 {
6069 AV *tempav;
6070 I32 len;
6071 int i;
6072 SV **tv;
6073 0 ▶ if (!SvROK(ST(0)))
Branch: 1 branch
BranchTrueFalseTotal
if (!SvROK(ST(0))) 0 0 0
6074 0 croak("Math::GSL : $data is not a reference!");
6075 0 ▶ if (SvTYPE(SvRV(ST(0))) != SVt_PVAV)
Branch: 1 branch
BranchTrueFalseTotal
if (SvTYPE(SvRV(ST(0))) != SVt_PVAV) 0 0 0
6076 0 croak("Math::GSL : $data is not an array ref!");
6077
6078 0 tempav = (AV*)SvRV(ST(0));
6079 0 len = av_len(tempav);
6080 0 arg1 = (double *) malloc((len+2)*sizeof(double));
6081 0 ▶ for (i = 0; i <= len; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; i <= len; i++) { 0 0 0
6082 0 tv = av_fetch(tempav, i, 0);
6083 0 arg1[i] = (double) SvNV(*tv);
6084 }
6085 }
6086 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6087 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
6088 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_fft_complex_inverse" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_fft_complex_inverse" "', argument " "2"" of type '" "size_t""'"); 0 0 0
6089 }
6090 0 arg2 = (size_t)(val2);
6091 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
6092 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
6093 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_fft_complex_inverse" "', argument " "3"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_fft_complex_inverse" "', argument " "3"" of type '" "size_t""'"); 0 0 0
6094 }
6095 0 arg3 = (size_t)(val3);
6096 0 res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_gsl_fft_complex_wavetable, 0 | 0 );
6097 0 ▶ if (!SWIG_IsOK(res4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res4)) { 0 0 0
6098 0 ▶ SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_fft_complex_inverse" "', argument " "4"" of type '" "gsl_fft_complex_wavetable const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_fft_complex_inverse" "', argument " "4"" of type '" "gsl_fft_complex_wavetable const *""'"); 0 0 0
6099 }
6100 0 arg4 = (gsl_fft_complex_wavetable *)(argp4);
6101 0 res5 = SWIG_ConvertPtr(ST(4), &argp5,SWIGTYPE_p_gsl_fft_complex_workspace, 0 | 0 );
6102 0 ▶ if (!SWIG_IsOK(res5)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res5)) { 0 0 0
6103 0 ▶ SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "gsl_fft_complex_inverse" "', argument " "5"" of type '" "gsl_fft_complex_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "gsl_fft_complex_inverse" "', argument " "5"" of type '" "gsl_fft_complex_workspace *""'"); 0 0 0
6104 }
6105 0 arg5 = (gsl_fft_complex_workspace *)(argp5);
6106 0 _saved[0] = ST(0);
6107 0 result = (int)gsl_fft_complex_inverse(arg1,arg2,arg3,(gsl_fft_complex_wavetable const *)arg4,arg5);
6108 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
6109 {
6110 0 int i=0;
6111 0 AV* tempav = newAV();
6112
6113 0 ▶ while( i < arg3 ) {
Branch: 1 branch
BranchTrueFalseTotal
while( i < arg3 ) { 0 0 0
6114 0 av_push(tempav, newSVnv((double) arg1[i]));
6115 0 i++;
6116 }
6117
6118 0 ST(argvi) = sv_2mortal( newRV_noinc( (SV*) tempav) );
6119 0 argvi++;
6120 }
6121 {
6122 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
6123 }
6124
6125
6126
6127
6128 0 XSRETURN(argvi);
6129 0 fail:
6130 {
6131 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
6132 }
6133
6134
6135
6136
6137 0 SWIG_croak_null();
6138 }
6139 }
6140  
6141  
6142 0 XS(_wrap_gsl_fft_complex_transform) {
6143 {
6144 0 gsl_complex_packed_array arg1 = (gsl_complex_packed_array) 0 ;
6145 size_t arg2 ;
6146 size_t arg3 ;
6147 0 gsl_fft_complex_wavetable *arg4 = (gsl_fft_complex_wavetable *) 0 ;
6148 0 gsl_fft_complex_workspace *arg5 = (gsl_fft_complex_workspace *) 0 ;
6149 gsl_fft_direction arg6 ;
6150 size_t val2 ;
6151 0 int ecode2 = 0 ;
6152 size_t val3 ;
6153 0 int ecode3 = 0 ;
6154 0 void *argp4 = 0 ;
6155 0 int res4 = 0 ;
6156 0 void *argp5 = 0 ;
6157 0 int res5 = 0 ;
6158 int val6 ;
6159 0 int ecode6 = 0 ;
6160 0 int argvi = 0;
6161 SV * _saved[1] ;
6162 int result;
6163 0 dXSARGS;
6164
6165 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
6166 0 SWIG_croak("Usage: gsl_fft_complex_transform(data,stride,n,wavetable,work,sign);");
6167 }
6168 {
6169 AV *tempav;
6170 I32 len;
6171 int i;
6172 SV **tv;
6173 0 ▶ if (!SvROK(ST(0)))
Branch: 1 branch
BranchTrueFalseTotal
if (!SvROK(ST(0))) 0 0 0
6174 0 croak("Math::GSL : $data is not a reference!");
6175 0 ▶ if (SvTYPE(SvRV(ST(0))) != SVt_PVAV)
Branch: 1 branch
BranchTrueFalseTotal
if (SvTYPE(SvRV(ST(0))) != SVt_PVAV) 0 0 0
6176 0 croak("Math::GSL : $data is not an array ref!");
6177
6178 0 tempav = (AV*)SvRV(ST(0));
6179 0 len = av_len(tempav);
6180 0 arg1 = (double *) malloc((len+2)*sizeof(double));
6181 0 ▶ for (i = 0; i <= len; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; i <= len; i++) { 0 0 0
6182 0 tv = av_fetch(tempav, i, 0);
6183 0 arg1[i] = (double) SvNV(*tv);
6184 }
6185 }
6186 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6187 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
6188 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_fft_complex_transform" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_fft_complex_transform" "', argument " "2"" of type '" "size_t""'"); 0 0 0
6189 }
6190 0 arg2 = (size_t)(val2);
6191 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
6192 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
6193 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_fft_complex_transform" "', argument " "3"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_fft_complex_transform" "', argument " "3"" of type '" "size_t""'"); 0 0 0
6194 }
6195 0 arg3 = (size_t)(val3);
6196 0 res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_gsl_fft_complex_wavetable, 0 | 0 );
6197 0 ▶ if (!SWIG_IsOK(res4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res4)) { 0 0 0
6198 0 ▶ SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_fft_complex_transform" "', argument " "4"" of type '" "gsl_fft_complex_wavetable const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_fft_complex_transform" "', argument " "4"" of type '" "gsl_fft_complex_wavetable const *""'"); 0 0 0
6199 }
6200 0 arg4 = (gsl_fft_complex_wavetable *)(argp4);
6201 0 res5 = SWIG_ConvertPtr(ST(4), &argp5,SWIGTYPE_p_gsl_fft_complex_workspace, 0 | 0 );
6202 0 ▶ if (!SWIG_IsOK(res5)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res5)) { 0 0 0
6203 0 ▶ SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "gsl_fft_complex_transform" "', argument " "5"" of type '" "gsl_fft_complex_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "gsl_fft_complex_transform" "', argument " "5"" of type '" "gsl_fft_complex_workspace *""'"); 0 0 0
6204 }
6205 0 arg5 = (gsl_fft_complex_workspace *)(argp5);
6206 0 ecode6 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(5), &val6);
6207 0 ▶ if (!SWIG_IsOK(ecode6)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode6)) { 0 0 0
6208 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "gsl_fft_complex_transform" "', argument " "6"" of type '" "gsl_fft_direction""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "gsl_fft_complex_transform" "', argument " "6"" of type '" "gsl_fft_direction""'"); 0 0 0
6209 }
6210 0 arg6 = (gsl_fft_direction)(val6);
6211 0 _saved[0] = ST(0);
6212 0 result = (int)gsl_fft_complex_transform(arg1,arg2,arg3,(gsl_fft_complex_wavetable const *)arg4,arg5,arg6);
6213 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
6214 {
6215 0 int i=0;
6216 0 AV* tempav = newAV();
6217
6218 0 ▶ while( i < arg3 ) {
Branch: 1 branch
BranchTrueFalseTotal
while( i < arg3 ) { 0 0 0
6219 0 av_push(tempav, newSVnv((double) arg1[i]));
6220 0 i++;
6221 }
6222
6223 0 ST(argvi) = sv_2mortal( newRV_noinc( (SV*) tempav) );
6224 0 argvi++;
6225 }
6226 {
6227 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
6228 }
6229
6230
6231
6232
6233
6234 0 XSRETURN(argvi);
6235 0 fail:
6236 {
6237 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
6238 }
6239
6240
6241
6242
6243
6244 0 SWIG_croak_null();
6245 }
6246 }
6247  
6248  
6249 0 XS(_wrap_gsl_fft_halfcomplex_radix2_backward) {
6250 {
6251 0 double *arg1 = (double *) (double *)0 ;
6252 size_t arg2 ;
6253 size_t arg3 ;
6254 size_t val2 ;
6255 0 int ecode2 = 0 ;
6256 size_t val3 ;
6257 0 int ecode3 = 0 ;
6258 0 int argvi = 0;
6259 SV * _saved[1] ;
6260 int result;
6261 0 dXSARGS;
6262
6263 0 ▶ if ((items < 3) || (items > 3)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 3) || (items > 3)) { 0 0 0
if ((items < 3) || (items > 3)) { 0 0 0
6264 0 SWIG_croak("Usage: gsl_fft_halfcomplex_radix2_backward(data,stride,n);");
6265 }
6266 {
6267 AV *tempav;
6268 I32 len;
6269 int i;
6270 SV **tv;
6271 0 ▶ if (!SvROK(ST(0)))
Branch: 1 branch
BranchTrueFalseTotal
if (!SvROK(ST(0))) 0 0 0
6272 0 croak("Math::GSL : $data is not a reference!");
6273 0 ▶ if (SvTYPE(SvRV(ST(0))) != SVt_PVAV)
Branch: 1 branch
BranchTrueFalseTotal
if (SvTYPE(SvRV(ST(0))) != SVt_PVAV) 0 0 0
6274 0 croak("Math::GSL : $data is not an array ref!");
6275
6276 0 tempav = (AV*)SvRV(ST(0));
6277 0 len = av_len(tempav);
6278 0 arg1 = (double *) malloc((len+2)*sizeof(double));
6279 0 ▶ for (i = 0; i <= len; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; i <= len; i++) { 0 0 0
6280 0 tv = av_fetch(tempav, i, 0);
6281 0 arg1[i] = (double) SvNV(*tv);
6282 }
6283 }
6284 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6285 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
6286 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_fft_halfcomplex_radix2_backward" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_fft_halfcomplex_radix2_backward" "', argument " "2"" of type '" "size_t""'"); 0 0 0
6287 }
6288 0 arg2 = (size_t)(val2);
6289 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
6290 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
6291 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_fft_halfcomplex_radix2_backward" "', argument " "3"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_fft_halfcomplex_radix2_backward" "', argument " "3"" of type '" "size_t""'"); 0 0 0
6292 }
6293 0 arg3 = (size_t)(val3);
6294 0 _saved[0] = ST(0);
6295 0 result = (int)gsl_fft_halfcomplex_radix2_backward(arg1,arg2,arg3);
6296 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
6297 {
6298 0 int i=0;
6299 0 AV* tempav = newAV();
6300
6301 0 ▶ while( i < arg3 ) {
Branch: 1 branch
BranchTrueFalseTotal
while( i < arg3 ) { 0 0 0
6302 0 av_push(tempav, newSVnv((double) arg1[i]));
6303 0 i++;
6304 }
6305
6306 0 ST(argvi) = sv_2mortal( newRV_noinc( (SV*) tempav) );
6307 0 argvi++;
6308 }
6309 {
6310 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
6311 }
6312
6313
6314 0 XSRETURN(argvi);
6315 0 fail:
6316 {
6317 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
6318 }
6319
6320
6321 0 SWIG_croak_null();
6322 }
6323 }
6324  
6325  
6326 0 XS(_wrap_gsl_fft_halfcomplex_radix2_inverse) {
6327 {
6328 0 double *arg1 = (double *) (double *)0 ;
6329 size_t arg2 ;
6330 size_t arg3 ;
6331 size_t val2 ;
6332 0 int ecode2 = 0 ;
6333 size_t val3 ;
6334 0 int ecode3 = 0 ;
6335 0 int argvi = 0;
6336 SV * _saved[1] ;
6337 int result;
6338 0 dXSARGS;
6339
6340 0 ▶ if ((items < 3) || (items > 3)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 3) || (items > 3)) { 0 0 0
if ((items < 3) || (items > 3)) { 0 0 0
6341 0 SWIG_croak("Usage: gsl_fft_halfcomplex_radix2_inverse(data,stride,n);");
6342 }
6343 {
6344 AV *tempav;
6345 I32 len;
6346 int i;
6347 SV **tv;
6348 0 ▶ if (!SvROK(ST(0)))
Branch: 1 branch
BranchTrueFalseTotal
if (!SvROK(ST(0))) 0 0 0
6349 0 croak("Math::GSL : $data is not a reference!");
6350 0 ▶ if (SvTYPE(SvRV(ST(0))) != SVt_PVAV)
Branch: 1 branch
BranchTrueFalseTotal
if (SvTYPE(SvRV(ST(0))) != SVt_PVAV) 0 0 0
6351 0 croak("Math::GSL : $data is not an array ref!");
6352
6353 0 tempav = (AV*)SvRV(ST(0));
6354 0 len = av_len(tempav);
6355 0 arg1 = (double *) malloc((len+2)*sizeof(double));
6356 0 ▶ for (i = 0; i <= len; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; i <= len; i++) { 0 0 0
6357 0 tv = av_fetch(tempav, i, 0);
6358 0 arg1[i] = (double) SvNV(*tv);
6359 }
6360 }
6361 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6362 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
6363 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_fft_halfcomplex_radix2_inverse" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_fft_halfcomplex_radix2_inverse" "', argument " "2"" of type '" "size_t""'"); 0 0 0
6364 }
6365 0 arg2 = (size_t)(val2);
6366 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
6367 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
6368 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_fft_halfcomplex_radix2_inverse" "', argument " "3"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_fft_halfcomplex_radix2_inverse" "', argument " "3"" of type '" "size_t""'"); 0 0 0
6369 }
6370 0 arg3 = (size_t)(val3);
6371 0 _saved[0] = ST(0);
6372 0 result = (int)gsl_fft_halfcomplex_radix2_inverse(arg1,arg2,arg3);
6373 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
6374 {
6375 0 int i=0;
6376 0 AV* tempav = newAV();
6377
6378 0 ▶ while( i < arg3 ) {
Branch: 1 branch
BranchTrueFalseTotal
while( i < arg3 ) { 0 0 0
6379 0 av_push(tempav, newSVnv((double) arg1[i]));
6380 0 i++;
6381 }
6382
6383 0 ST(argvi) = sv_2mortal( newRV_noinc( (SV*) tempav) );
6384 0 argvi++;
6385 }
6386 {
6387 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
6388 }
6389
6390
6391 0 XSRETURN(argvi);
6392 0 fail:
6393 {
6394 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
6395 }
6396
6397
6398 0 SWIG_croak_null();
6399 }
6400 }
6401  
6402  
6403 0 XS(_wrap_gsl_fft_halfcomplex_radix2_transform) {
6404 {
6405 0 double *arg1 = (double *) (double *)0 ;
6406 size_t arg2 ;
6407 size_t arg3 ;
6408 size_t val2 ;
6409 0 int ecode2 = 0 ;
6410 size_t val3 ;
6411 0 int ecode3 = 0 ;
6412 0 int argvi = 0;
6413 SV * _saved[1] ;
6414 int result;
6415 0 dXSARGS;
6416
6417 0 ▶ if ((items < 3) || (items > 3)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 3) || (items > 3)) { 0 0 0
if ((items < 3) || (items > 3)) { 0 0 0
6418 0 SWIG_croak("Usage: gsl_fft_halfcomplex_radix2_transform(data,stride,n);");
6419 }
6420 {
6421 AV *tempav;
6422 I32 len;
6423 int i;
6424 SV **tv;
6425 0 ▶ if (!SvROK(ST(0)))
Branch: 1 branch
BranchTrueFalseTotal
if (!SvROK(ST(0))) 0 0 0
6426 0 croak("Math::GSL : $data is not a reference!");
6427 0 ▶ if (SvTYPE(SvRV(ST(0))) != SVt_PVAV)
Branch: 1 branch
BranchTrueFalseTotal
if (SvTYPE(SvRV(ST(0))) != SVt_PVAV) 0 0 0
6428 0 croak("Math::GSL : $data is not an array ref!");
6429
6430 0 tempav = (AV*)SvRV(ST(0));
6431 0 len = av_len(tempav);
6432 0 arg1 = (double *) malloc((len+2)*sizeof(double));
6433 0 ▶ for (i = 0; i <= len; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; i <= len; i++) { 0 0 0
6434 0 tv = av_fetch(tempav, i, 0);
6435 0 arg1[i] = (double) SvNV(*tv);
6436 }
6437 }
6438 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6439 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
6440 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_fft_halfcomplex_radix2_transform" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_fft_halfcomplex_radix2_transform" "', argument " "2"" of type '" "size_t""'"); 0 0 0
6441 }
6442 0 arg2 = (size_t)(val2);
6443 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
6444 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
6445 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_fft_halfcomplex_radix2_transform" "', argument " "3"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_fft_halfcomplex_radix2_transform" "', argument " "3"" of type '" "size_t""'"); 0 0 0
6446 }
6447 0 arg3 = (size_t)(val3);
6448 0 _saved[0] = ST(0);
6449 0 result = (int)gsl_fft_halfcomplex_radix2_transform(arg1,arg2,arg3);
6450 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
6451 {
6452 0 int i=0;
6453 0 AV* tempav = newAV();
6454
6455 0 ▶ while( i < arg3 ) {
Branch: 1 branch
BranchTrueFalseTotal
while( i < arg3 ) { 0 0 0
6456 0 av_push(tempav, newSVnv((double) arg1[i]));
6457 0 i++;
6458 }
6459
6460 0 ST(argvi) = sv_2mortal( newRV_noinc( (SV*) tempav) );
6461 0 argvi++;
6462 }
6463 {
6464 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
6465 }
6466
6467
6468 0 XSRETURN(argvi);
6469 0 fail:
6470 {
6471 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
6472 }
6473
6474
6475 0 SWIG_croak_null();
6476 }
6477 }
6478  
6479  
6480 0 XS(_wrap_gsl_fft_halfcomplex_wavetable_n_set) {
6481 {
6482 0 gsl_fft_halfcomplex_wavetable *arg1 = (gsl_fft_halfcomplex_wavetable *) 0 ;
6483 size_t arg2 ;
6484 0 void *argp1 = 0 ;
6485 0 int res1 = 0 ;
6486 size_t val2 ;
6487 0 int ecode2 = 0 ;
6488 0 int argvi = 0;
6489 0 dXSARGS;
6490
6491 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
6492 0 SWIG_croak("Usage: gsl_fft_halfcomplex_wavetable_n_set(self,n);");
6493 }
6494 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_fft_halfcomplex_wavetable, 0 | 0 );
6495 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
6496 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_halfcomplex_wavetable_n_set" "', argument " "1"" of type '" "gsl_fft_halfcomplex_wavetable *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_halfcomplex_wavetable_n_set" "', argument " "1"" of type '" "gsl_fft_halfcomplex_wavetable *""'"); 0 0 0
6497 }
6498 0 arg1 = (gsl_fft_halfcomplex_wavetable *)(argp1);
6499 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6500 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
6501 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_fft_halfcomplex_wavetable_n_set" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_fft_halfcomplex_wavetable_n_set" "', argument " "2"" of type '" "size_t""'"); 0 0 0
6502 }
6503 0 arg2 = (size_t)(val2);
6504 0 ▶ if (arg1) (arg1)->n = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->n = arg2; 0 0 0
6505 0 ST(argvi) = &PL_sv_undef;
6506
6507
6508 0 XSRETURN(argvi);
6509 0 fail:
6510
6511
6512 0 SWIG_croak_null();
6513 }
6514 }
6515  
6516  
6517 0 XS(_wrap_gsl_fft_halfcomplex_wavetable_n_get) {
6518 {
6519 0 gsl_fft_halfcomplex_wavetable *arg1 = (gsl_fft_halfcomplex_wavetable *) 0 ;
6520 0 void *argp1 = 0 ;
6521 0 int res1 = 0 ;
6522 0 int argvi = 0;
6523 size_t result;
6524 0 dXSARGS;
6525
6526 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
6527 0 SWIG_croak("Usage: gsl_fft_halfcomplex_wavetable_n_get(self);");
6528 }
6529 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_fft_halfcomplex_wavetable, 0 | 0 );
6530 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
6531 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_halfcomplex_wavetable_n_get" "', argument " "1"" of type '" "gsl_fft_halfcomplex_wavetable *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_halfcomplex_wavetable_n_get" "', argument " "1"" of type '" "gsl_fft_halfcomplex_wavetable *""'"); 0 0 0
6532 }
6533 0 arg1 = (gsl_fft_halfcomplex_wavetable *)(argp1);
6534 0 result = ((arg1)->n);
6535 0 ST(argvi) = SWIG_From_size_t SWIG_PERL_CALL_ARGS_1((size_t)(result)); argvi++ ;
6536
6537 0 XSRETURN(argvi);
6538 0 fail:
6539
6540 0 SWIG_croak_null();
6541 }
6542 }
6543  
6544  
6545 0 XS(_wrap_gsl_fft_halfcomplex_wavetable_nf_set) {
6546 {
6547 0 gsl_fft_halfcomplex_wavetable *arg1 = (gsl_fft_halfcomplex_wavetable *) 0 ;
6548 size_t arg2 ;
6549 0 void *argp1 = 0 ;
6550 0 int res1 = 0 ;
6551 size_t val2 ;
6552 0 int ecode2 = 0 ;
6553 0 int argvi = 0;
6554 0 dXSARGS;
6555
6556 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
6557 0 SWIG_croak("Usage: gsl_fft_halfcomplex_wavetable_nf_set(self,nf);");
6558 }
6559 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_fft_halfcomplex_wavetable, 0 | 0 );
6560 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
6561 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_halfcomplex_wavetable_nf_set" "', argument " "1"" of type '" "gsl_fft_halfcomplex_wavetable *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_halfcomplex_wavetable_nf_set" "', argument " "1"" of type '" "gsl_fft_halfcomplex_wavetable *""'"); 0 0 0
6562 }
6563 0 arg1 = (gsl_fft_halfcomplex_wavetable *)(argp1);
6564 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6565 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
6566 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_fft_halfcomplex_wavetable_nf_set" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_fft_halfcomplex_wavetable_nf_set" "', argument " "2"" of type '" "size_t""'"); 0 0 0
6567 }
6568 0 arg2 = (size_t)(val2);
6569 0 ▶ if (arg1) (arg1)->nf = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->nf = arg2; 0 0 0
6570 0 ST(argvi) = &PL_sv_undef;
6571
6572
6573 0 XSRETURN(argvi);
6574 0 fail:
6575
6576
6577 0 SWIG_croak_null();
6578 }
6579 }
6580  
6581  
6582 0 XS(_wrap_gsl_fft_halfcomplex_wavetable_nf_get) {
6583 {
6584 0 gsl_fft_halfcomplex_wavetable *arg1 = (gsl_fft_halfcomplex_wavetable *) 0 ;
6585 0 void *argp1 = 0 ;
6586 0 int res1 = 0 ;
6587 0 int argvi = 0;
6588 size_t result;
6589 0 dXSARGS;
6590
6591 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
6592 0 SWIG_croak("Usage: gsl_fft_halfcomplex_wavetable_nf_get(self);");
6593 }
6594 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_fft_halfcomplex_wavetable, 0 | 0 );
6595 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
6596 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_halfcomplex_wavetable_nf_get" "', argument " "1"" of type '" "gsl_fft_halfcomplex_wavetable *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_halfcomplex_wavetable_nf_get" "', argument " "1"" of type '" "gsl_fft_halfcomplex_wavetable *""'"); 0 0 0
6597 }
6598 0 arg1 = (gsl_fft_halfcomplex_wavetable *)(argp1);
6599 0 result = ((arg1)->nf);
6600 0 ST(argvi) = SWIG_From_size_t SWIG_PERL_CALL_ARGS_1((size_t)(result)); argvi++ ;
6601
6602 0 XSRETURN(argvi);
6603 0 fail:
6604
6605 0 SWIG_croak_null();
6606 }
6607 }
6608  
6609  
6610 0 XS(_wrap_gsl_fft_halfcomplex_wavetable_factor_set) {
6611 {
6612 0 gsl_fft_halfcomplex_wavetable *arg1 = (gsl_fft_halfcomplex_wavetable *) 0 ;
6613 0 size_t *arg2 = (size_t *) (size_t *)0 ;
6614 0 void *argp1 = 0 ;
6615 0 int res1 = 0 ;
6616 0 void *argp2 = 0 ;
6617 0 int res2 = 0 ;
6618 0 int argvi = 0;
6619 0 dXSARGS;
6620
6621 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
6622 0 SWIG_croak("Usage: gsl_fft_halfcomplex_wavetable_factor_set(self,factor);");
6623 }
6624 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_fft_halfcomplex_wavetable, 0 | 0 );
6625 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
6626 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_halfcomplex_wavetable_factor_set" "', argument " "1"" of type '" "gsl_fft_halfcomplex_wavetable *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_halfcomplex_wavetable_factor_set" "', argument " "1"" of type '" "gsl_fft_halfcomplex_wavetable *""'"); 0 0 0
6627 }
6628 0 arg1 = (gsl_fft_halfcomplex_wavetable *)(argp1);
6629 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_size_t, 0 | 0 );
6630 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
6631 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_fft_halfcomplex_wavetable_factor_set" "', argument " "2"" of type '" "size_t [64]""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_fft_halfcomplex_wavetable_factor_set" "', argument " "2"" of type '" "size_t [64]""'"); 0 0 0
6632 }
6633 0 arg2 = (size_t *)(argp2);
6634 {
6635 0 ▶ if (arg2) {
Branch: 1 branch
BranchTrueFalseTotal
if (arg2) { 0 0 0
6636 0 size_t ii = 0;
6637 0 ▶ for (; ii < (size_t)64; ++ii) *(size_t *)&arg1->factor[ii] = *((size_t *)arg2 + ii);
Branch: 1 branch
BranchTrueFalseTotal
for (; ii < (size_t)64; ++ii) *(size_t *)&arg1->factor[ii] = *((size_t *)arg2 + ii); 0 0 0
6638 } else {
6639 0 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""factor""' of type '""size_t [64]""'");
6640 }
6641 }
6642 0 ST(argvi) = &PL_sv_undef;
6643
6644
6645 0 XSRETURN(argvi);
6646 0 fail:
6647
6648
6649 0 SWIG_croak_null();
6650 }
6651 }
6652  
6653  
6654 0 XS(_wrap_gsl_fft_halfcomplex_wavetable_factor_get) {
6655 {
6656 0 gsl_fft_halfcomplex_wavetable *arg1 = (gsl_fft_halfcomplex_wavetable *) 0 ;
6657 0 void *argp1 = 0 ;
6658 0 int res1 = 0 ;
6659 0 int argvi = 0;
6660 0 size_t *result = 0 ;
6661 0 dXSARGS;
6662
6663 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
6664 0 SWIG_croak("Usage: gsl_fft_halfcomplex_wavetable_factor_get(self);");
6665 }
6666 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_fft_halfcomplex_wavetable, 0 | 0 );
6667 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
6668 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_halfcomplex_wavetable_factor_get" "', argument " "1"" of type '" "gsl_fft_halfcomplex_wavetable *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_halfcomplex_wavetable_factor_get" "', argument " "1"" of type '" "gsl_fft_halfcomplex_wavetable *""'"); 0 0 0
6669 }
6670 0 arg1 = (gsl_fft_halfcomplex_wavetable *)(argp1);
6671 0 result = (size_t *)(size_t *) ((arg1)->factor);
6672 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_size_t, 0 | 0); argvi++ ;
6673
6674 0 XSRETURN(argvi);
6675 0 fail:
6676
6677 0 SWIG_croak_null();
6678 }
6679 }
6680  
6681  
6682 0 XS(_wrap_gsl_fft_halfcomplex_wavetable_twiddle_set) {
6683 {
6684 0 gsl_fft_halfcomplex_wavetable *arg1 = (gsl_fft_halfcomplex_wavetable *) 0 ;
6685 0 gsl_complex **arg2 = (gsl_complex **) (gsl_complex **)0 ;
6686 0 void *argp1 = 0 ;
6687 0 int res1 = 0 ;
6688 0 void *argp2 = 0 ;
6689 0 int res2 = 0 ;
6690 0 int argvi = 0;
6691 0 dXSARGS;
6692
6693 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
6694 0 SWIG_croak("Usage: gsl_fft_halfcomplex_wavetable_twiddle_set(self,twiddle);");
6695 }
6696 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_fft_halfcomplex_wavetable, 0 | 0 );
6697 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
6698 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_halfcomplex_wavetable_twiddle_set" "', argument " "1"" of type '" "gsl_fft_halfcomplex_wavetable *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_halfcomplex_wavetable_twiddle_set" "', argument " "1"" of type '" "gsl_fft_halfcomplex_wavetable *""'"); 0 0 0
6699 }
6700 0 arg1 = (gsl_fft_halfcomplex_wavetable *)(argp1);
6701 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_p_gsl_complex, 0 | 0 );
6702 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
6703 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_fft_halfcomplex_wavetable_twiddle_set" "', argument " "2"" of type '" "gsl_complex *[64]""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_fft_halfcomplex_wavetable_twiddle_set" "', argument " "2"" of type '" "gsl_complex *[64]""'"); 0 0 0
6704 }
6705 0 arg2 = (gsl_complex **)(argp2);
6706 {
6707 0 ▶ if (arg2) {
Branch: 1 branch
BranchTrueFalseTotal
if (arg2) { 0 0 0
6708 0 size_t ii = 0;
6709 0 ▶ for (; ii < (size_t)64; ++ii) *(gsl_complex * *)&arg1->twiddle[ii] = *((gsl_complex * *)arg2 + ii);
Branch: 1 branch
BranchTrueFalseTotal
for (; ii < (size_t)64; ++ii) *(gsl_complex * *)&arg1->twiddle[ii] = *((gsl_complex * *)arg2 + ii); 0 0 0
6710 } else {
6711 0 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""twiddle""' of type '""gsl_complex *[64]""'");
6712 }
6713 }
6714 0 ST(argvi) = &PL_sv_undef;
6715
6716
6717 0 XSRETURN(argvi);
6718 0 fail:
6719
6720
6721 0 SWIG_croak_null();
6722 }
6723 }
6724  
6725  
6726 0 XS(_wrap_gsl_fft_halfcomplex_wavetable_twiddle_get) {
6727 {
6728 0 gsl_fft_halfcomplex_wavetable *arg1 = (gsl_fft_halfcomplex_wavetable *) 0 ;
6729 0 void *argp1 = 0 ;
6730 0 int res1 = 0 ;
6731 0 int argvi = 0;
6732 0 gsl_complex **result = 0 ;
6733 0 dXSARGS;
6734
6735 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
6736 0 SWIG_croak("Usage: gsl_fft_halfcomplex_wavetable_twiddle_get(self);");
6737 }
6738 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_fft_halfcomplex_wavetable, 0 | 0 );
6739 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
6740 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_halfcomplex_wavetable_twiddle_get" "', argument " "1"" of type '" "gsl_fft_halfcomplex_wavetable *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_halfcomplex_wavetable_twiddle_get" "', argument " "1"" of type '" "gsl_fft_halfcomplex_wavetable *""'"); 0 0 0
6741 }
6742 0 arg1 = (gsl_fft_halfcomplex_wavetable *)(argp1);
6743 0 result = (gsl_complex **)(gsl_complex **) ((arg1)->twiddle);
6744 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_gsl_complex, 0 | 0); argvi++ ;
6745
6746 0 XSRETURN(argvi);
6747 0 fail:
6748
6749 0 SWIG_croak_null();
6750 }
6751 }
6752  
6753  
6754 0 XS(_wrap_gsl_fft_halfcomplex_wavetable_trig_set) {
6755 {
6756 0 gsl_fft_halfcomplex_wavetable *arg1 = (gsl_fft_halfcomplex_wavetable *) 0 ;
6757 0 gsl_complex *arg2 = (gsl_complex *) 0 ;
6758 0 void *argp1 = 0 ;
6759 0 int res1 = 0 ;
6760 0 void *argp2 = 0 ;
6761 0 int res2 = 0 ;
6762 0 int argvi = 0;
6763 0 dXSARGS;
6764
6765 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
6766 0 SWIG_croak("Usage: gsl_fft_halfcomplex_wavetable_trig_set(self,trig);");
6767 }
6768 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_fft_halfcomplex_wavetable, 0 | 0 );
6769 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
6770 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_halfcomplex_wavetable_trig_set" "', argument " "1"" of type '" "gsl_fft_halfcomplex_wavetable *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_halfcomplex_wavetable_trig_set" "', argument " "1"" of type '" "gsl_fft_halfcomplex_wavetable *""'"); 0 0 0
6771 }
6772 0 arg1 = (gsl_fft_halfcomplex_wavetable *)(argp1);
6773 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_complex, SWIG_POINTER_DISOWN | 0 );
6774 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
6775 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_fft_halfcomplex_wavetable_trig_set" "', argument " "2"" of type '" "gsl_complex *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_fft_halfcomplex_wavetable_trig_set" "', argument " "2"" of type '" "gsl_complex *""'"); 0 0 0
6776 }
6777 0 arg2 = (gsl_complex *)(argp2);
6778 0 ▶ if (arg1) (arg1)->trig = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->trig = arg2; 0 0 0
6779 0 ST(argvi) = &PL_sv_undef;
6780
6781
6782 0 XSRETURN(argvi);
6783 0 fail:
6784
6785
6786 0 SWIG_croak_null();
6787 }
6788 }
6789  
6790  
6791 0 XS(_wrap_gsl_fft_halfcomplex_wavetable_trig_get) {
6792 {
6793 0 gsl_fft_halfcomplex_wavetable *arg1 = (gsl_fft_halfcomplex_wavetable *) 0 ;
6794 0 void *argp1 = 0 ;
6795 0 int res1 = 0 ;
6796 0 int argvi = 0;
6797 0 gsl_complex *result = 0 ;
6798 0 dXSARGS;
6799
6800 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
6801 0 SWIG_croak("Usage: gsl_fft_halfcomplex_wavetable_trig_get(self);");
6802 }
6803 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_fft_halfcomplex_wavetable, 0 | 0 );
6804 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
6805 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_halfcomplex_wavetable_trig_get" "', argument " "1"" of type '" "gsl_fft_halfcomplex_wavetable *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_halfcomplex_wavetable_trig_get" "', argument " "1"" of type '" "gsl_fft_halfcomplex_wavetable *""'"); 0 0 0
6806 }
6807 0 arg1 = (gsl_fft_halfcomplex_wavetable *)(argp1);
6808 0 result = (gsl_complex *) ((arg1)->trig);
6809 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_complex, 0 | SWIG_SHADOW); argvi++ ;
6810
6811 0 XSRETURN(argvi);
6812 0 fail:
6813
6814 0 SWIG_croak_null();
6815 }
6816 }
6817  
6818  
6819 0 XS(_wrap_new_gsl_fft_halfcomplex_wavetable) {
6820 {
6821 0 int argvi = 0;
6822 0 gsl_fft_halfcomplex_wavetable *result = 0 ;
6823 0 dXSARGS;
6824
6825 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
6826 0 SWIG_croak("Usage: new_gsl_fft_halfcomplex_wavetable();");
6827 }
6828 0 result = (gsl_fft_halfcomplex_wavetable *)calloc(1, sizeof(gsl_fft_halfcomplex_wavetable));
6829 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_fft_halfcomplex_wavetable, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
6830 0 XSRETURN(argvi);
6831 0 fail:
6832 0 SWIG_croak_null();
6833 }
6834 }
6835  
6836  
6837 0 XS(_wrap_delete_gsl_fft_halfcomplex_wavetable) {
6838 {
6839 0 gsl_fft_halfcomplex_wavetable *arg1 = (gsl_fft_halfcomplex_wavetable *) 0 ;
6840 0 void *argp1 = 0 ;
6841 0 int res1 = 0 ;
6842 0 int argvi = 0;
6843 0 dXSARGS;
6844
6845 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
6846 0 SWIG_croak("Usage: delete_gsl_fft_halfcomplex_wavetable(self);");
6847 }
6848 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_fft_halfcomplex_wavetable, SWIG_POINTER_DISOWN | 0 );
6849 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
6850 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_gsl_fft_halfcomplex_wavetable" "', argument " "1"" of type '" "gsl_fft_halfcomplex_wavetable *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_gsl_fft_halfcomplex_wavetable" "', argument " "1"" of type '" "gsl_fft_halfcomplex_wavetable *""'"); 0 0 0
6851 }
6852 0 arg1 = (gsl_fft_halfcomplex_wavetable *)(argp1);
6853 0 free((char *) arg1);
6854 0 ST(argvi) = &PL_sv_undef;
6855
6856 0 XSRETURN(argvi);
6857 0 fail:
6858
6859 0 SWIG_croak_null();
6860 }
6861 }
6862  
6863  
6864 0 XS(_wrap_gsl_fft_halfcomplex_wavetable_alloc) {
6865 {
6866 size_t arg1 ;
6867 size_t val1 ;
6868 0 int ecode1 = 0 ;
6869 0 int argvi = 0;
6870 0 gsl_fft_halfcomplex_wavetable *result = 0 ;
6871 0 dXSARGS;
6872
6873 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
6874 0 SWIG_croak("Usage: gsl_fft_halfcomplex_wavetable_alloc(n);");
6875 }
6876 0 ecode1 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
6877 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
6878 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_fft_halfcomplex_wavetable_alloc" "', argument " "1"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_fft_halfcomplex_wavetable_alloc" "', argument " "1"" of type '" "size_t""'"); 0 0 0
6879 }
6880 0 arg1 = (size_t)(val1);
6881 0 result = (gsl_fft_halfcomplex_wavetable *)gsl_fft_halfcomplex_wavetable_alloc(arg1);
6882 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_fft_halfcomplex_wavetable, 0 | SWIG_SHADOW); argvi++ ;
6883
6884 0 XSRETURN(argvi);
6885 0 fail:
6886
6887 0 SWIG_croak_null();
6888 }
6889 }
6890  
6891  
6892 0 XS(_wrap_gsl_fft_halfcomplex_wavetable_free) {
6893 {
6894 0 gsl_fft_halfcomplex_wavetable *arg1 = (gsl_fft_halfcomplex_wavetable *) 0 ;
6895 0 void *argp1 = 0 ;
6896 0 int res1 = 0 ;
6897 0 int argvi = 0;
6898 0 dXSARGS;
6899
6900 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
6901 0 SWIG_croak("Usage: gsl_fft_halfcomplex_wavetable_free(wavetable);");
6902 }
6903 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_fft_halfcomplex_wavetable, 0 | 0 );
6904 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
6905 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_halfcomplex_wavetable_free" "', argument " "1"" of type '" "gsl_fft_halfcomplex_wavetable *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_halfcomplex_wavetable_free" "', argument " "1"" of type '" "gsl_fft_halfcomplex_wavetable *""'"); 0 0 0
6906 }
6907 0 arg1 = (gsl_fft_halfcomplex_wavetable *)(argp1);
6908 0 gsl_fft_halfcomplex_wavetable_free(arg1);
6909 0 ST(argvi) = &PL_sv_undef;
6910
6911 0 XSRETURN(argvi);
6912 0 fail:
6913
6914 0 SWIG_croak_null();
6915 }
6916 }
6917  
6918  
6919 0 XS(_wrap_gsl_fft_halfcomplex_backward) {
6920 {
6921 0 double *arg1 = (double *) (double *)0 ;
6922 size_t arg2 ;
6923 size_t arg3 ;
6924 0 gsl_fft_halfcomplex_wavetable *arg4 = (gsl_fft_halfcomplex_wavetable *) 0 ;
6925 0 gsl_fft_real_workspace *arg5 = (gsl_fft_real_workspace *) 0 ;
6926 size_t val2 ;
6927 0 int ecode2 = 0 ;
6928 size_t val3 ;
6929 0 int ecode3 = 0 ;
6930 0 void *argp4 = 0 ;
6931 0 int res4 = 0 ;
6932 0 void *argp5 = 0 ;
6933 0 int res5 = 0 ;
6934 0 int argvi = 0;
6935 SV * _saved[1] ;
6936 int result;
6937 0 dXSARGS;
6938
6939 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
6940 0 SWIG_croak("Usage: gsl_fft_halfcomplex_backward(data,stride,n,wavetable,work);");
6941 }
6942 {
6943 AV *tempav;
6944 I32 len;
6945 int i;
6946 SV **tv;
6947 0 ▶ if (!SvROK(ST(0)))
Branch: 1 branch
BranchTrueFalseTotal
if (!SvROK(ST(0))) 0 0 0
6948 0 croak("Math::GSL : $data is not a reference!");
6949 0 ▶ if (SvTYPE(SvRV(ST(0))) != SVt_PVAV)
Branch: 1 branch
BranchTrueFalseTotal
if (SvTYPE(SvRV(ST(0))) != SVt_PVAV) 0 0 0
6950 0 croak("Math::GSL : $data is not an array ref!");
6951
6952 0 tempav = (AV*)SvRV(ST(0));
6953 0 len = av_len(tempav);
6954 0 arg1 = (double *) malloc((len+2)*sizeof(double));
6955 0 ▶ for (i = 0; i <= len; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; i <= len; i++) { 0 0 0
6956 0 tv = av_fetch(tempav, i, 0);
6957 0 arg1[i] = (double) SvNV(*tv);
6958 }
6959 }
6960 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6961 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
6962 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_fft_halfcomplex_backward" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_fft_halfcomplex_backward" "', argument " "2"" of type '" "size_t""'"); 0 0 0
6963 }
6964 0 arg2 = (size_t)(val2);
6965 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
6966 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
6967 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_fft_halfcomplex_backward" "', argument " "3"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_fft_halfcomplex_backward" "', argument " "3"" of type '" "size_t""'"); 0 0 0
6968 }
6969 0 arg3 = (size_t)(val3);
6970 0 res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_gsl_fft_halfcomplex_wavetable, 0 | 0 );
6971 0 ▶ if (!SWIG_IsOK(res4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res4)) { 0 0 0
6972 0 ▶ SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_fft_halfcomplex_backward" "', argument " "4"" of type '" "gsl_fft_halfcomplex_wavetable const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_fft_halfcomplex_backward" "', argument " "4"" of type '" "gsl_fft_halfcomplex_wavetable const *""'"); 0 0 0
6973 }
6974 0 arg4 = (gsl_fft_halfcomplex_wavetable *)(argp4);
6975 0 res5 = SWIG_ConvertPtr(ST(4), &argp5,SWIGTYPE_p_gsl_fft_real_workspace, 0 | 0 );
6976 0 ▶ if (!SWIG_IsOK(res5)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res5)) { 0 0 0
6977 0 ▶ SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "gsl_fft_halfcomplex_backward" "', argument " "5"" of type '" "gsl_fft_real_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "gsl_fft_halfcomplex_backward" "', argument " "5"" of type '" "gsl_fft_real_workspace *""'"); 0 0 0
6978 }
6979 0 arg5 = (gsl_fft_real_workspace *)(argp5);
6980 0 _saved[0] = ST(0);
6981 0 result = (int)gsl_fft_halfcomplex_backward(arg1,arg2,arg3,(gsl_fft_halfcomplex_wavetable const *)arg4,arg5);
6982 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
6983 {
6984 0 int i=0;
6985 0 AV* tempav = newAV();
6986
6987 0 ▶ while( i < arg3 ) {
Branch: 1 branch
BranchTrueFalseTotal
while( i < arg3 ) { 0 0 0
6988 0 av_push(tempav, newSVnv((double) arg1[i]));
6989 0 i++;
6990 }
6991
6992 0 ST(argvi) = sv_2mortal( newRV_noinc( (SV*) tempav) );
6993 0 argvi++;
6994 }
6995 {
6996 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
6997 }
6998
6999
7000
7001
7002 0 XSRETURN(argvi);
7003 0 fail:
7004 {
7005 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
7006 }
7007
7008
7009
7010
7011 0 SWIG_croak_null();
7012 }
7013 }
7014  
7015  
7016 0 XS(_wrap_gsl_fft_halfcomplex_inverse) {
7017 {
7018 0 double *arg1 = (double *) (double *)0 ;
7019 size_t arg2 ;
7020 size_t arg3 ;
7021 0 gsl_fft_halfcomplex_wavetable *arg4 = (gsl_fft_halfcomplex_wavetable *) 0 ;
7022 0 gsl_fft_real_workspace *arg5 = (gsl_fft_real_workspace *) 0 ;
7023 size_t val2 ;
7024 0 int ecode2 = 0 ;
7025 size_t val3 ;
7026 0 int ecode3 = 0 ;
7027 0 void *argp4 = 0 ;
7028 0 int res4 = 0 ;
7029 0 void *argp5 = 0 ;
7030 0 int res5 = 0 ;
7031 0 int argvi = 0;
7032 SV * _saved[1] ;
7033 int result;
7034 0 dXSARGS;
7035
7036 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
7037 0 SWIG_croak("Usage: gsl_fft_halfcomplex_inverse(data,stride,n,wavetable,work);");
7038 }
7039 {
7040 AV *tempav;
7041 I32 len;
7042 int i;
7043 SV **tv;
7044 0 ▶ if (!SvROK(ST(0)))
Branch: 1 branch
BranchTrueFalseTotal
if (!SvROK(ST(0))) 0 0 0
7045 0 croak("Math::GSL : $data is not a reference!");
7046 0 ▶ if (SvTYPE(SvRV(ST(0))) != SVt_PVAV)
Branch: 1 branch
BranchTrueFalseTotal
if (SvTYPE(SvRV(ST(0))) != SVt_PVAV) 0 0 0
7047 0 croak("Math::GSL : $data is not an array ref!");
7048
7049 0 tempav = (AV*)SvRV(ST(0));
7050 0 len = av_len(tempav);
7051 0 arg1 = (double *) malloc((len+2)*sizeof(double));
7052 0 ▶ for (i = 0; i <= len; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; i <= len; i++) { 0 0 0
7053 0 tv = av_fetch(tempav, i, 0);
7054 0 arg1[i] = (double) SvNV(*tv);
7055 }
7056 }
7057 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
7058 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
7059 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_fft_halfcomplex_inverse" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_fft_halfcomplex_inverse" "', argument " "2"" of type '" "size_t""'"); 0 0 0
7060 }
7061 0 arg2 = (size_t)(val2);
7062 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
7063 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
7064 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_fft_halfcomplex_inverse" "', argument " "3"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_fft_halfcomplex_inverse" "', argument " "3"" of type '" "size_t""'"); 0 0 0
7065 }
7066 0 arg3 = (size_t)(val3);
7067 0 res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_gsl_fft_halfcomplex_wavetable, 0 | 0 );
7068 0 ▶ if (!SWIG_IsOK(res4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res4)) { 0 0 0
7069 0 ▶ SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_fft_halfcomplex_inverse" "', argument " "4"" of type '" "gsl_fft_halfcomplex_wavetable const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_fft_halfcomplex_inverse" "', argument " "4"" of type '" "gsl_fft_halfcomplex_wavetable const *""'"); 0 0 0
7070 }
7071 0 arg4 = (gsl_fft_halfcomplex_wavetable *)(argp4);
7072 0 res5 = SWIG_ConvertPtr(ST(4), &argp5,SWIGTYPE_p_gsl_fft_real_workspace, 0 | 0 );
7073 0 ▶ if (!SWIG_IsOK(res5)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res5)) { 0 0 0
7074 0 ▶ SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "gsl_fft_halfcomplex_inverse" "', argument " "5"" of type '" "gsl_fft_real_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "gsl_fft_halfcomplex_inverse" "', argument " "5"" of type '" "gsl_fft_real_workspace *""'"); 0 0 0
7075 }
7076 0 arg5 = (gsl_fft_real_workspace *)(argp5);
7077 0 _saved[0] = ST(0);
7078 0 result = (int)gsl_fft_halfcomplex_inverse(arg1,arg2,arg3,(gsl_fft_halfcomplex_wavetable const *)arg4,arg5);
7079 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
7080 {
7081 0 int i=0;
7082 0 AV* tempav = newAV();
7083
7084 0 ▶ while( i < arg3 ) {
Branch: 1 branch
BranchTrueFalseTotal
while( i < arg3 ) { 0 0 0
7085 0 av_push(tempav, newSVnv((double) arg1[i]));
7086 0 i++;
7087 }
7088
7089 0 ST(argvi) = sv_2mortal( newRV_noinc( (SV*) tempav) );
7090 0 argvi++;
7091 }
7092 {
7093 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
7094 }
7095
7096
7097
7098
7099 0 XSRETURN(argvi);
7100 0 fail:
7101 {
7102 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
7103 }
7104
7105
7106
7107
7108 0 SWIG_croak_null();
7109 }
7110 }
7111  
7112  
7113 0 XS(_wrap_gsl_fft_halfcomplex_transform) {
7114 {
7115 0 double *arg1 = (double *) (double *)0 ;
7116 size_t arg2 ;
7117 size_t arg3 ;
7118 0 gsl_fft_halfcomplex_wavetable *arg4 = (gsl_fft_halfcomplex_wavetable *) 0 ;
7119 0 gsl_fft_real_workspace *arg5 = (gsl_fft_real_workspace *) 0 ;
7120 size_t val2 ;
7121 0 int ecode2 = 0 ;
7122 size_t val3 ;
7123 0 int ecode3 = 0 ;
7124 0 void *argp4 = 0 ;
7125 0 int res4 = 0 ;
7126 0 void *argp5 = 0 ;
7127 0 int res5 = 0 ;
7128 0 int argvi = 0;
7129 SV * _saved[1] ;
7130 int result;
7131 0 dXSARGS;
7132
7133 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
7134 0 SWIG_croak("Usage: gsl_fft_halfcomplex_transform(data,stride,n,wavetable,work);");
7135 }
7136 {
7137 AV *tempav;
7138 I32 len;
7139 int i;
7140 SV **tv;
7141 0 ▶ if (!SvROK(ST(0)))
Branch: 1 branch
BranchTrueFalseTotal
if (!SvROK(ST(0))) 0 0 0
7142 0 croak("Math::GSL : $data is not a reference!");
7143 0 ▶ if (SvTYPE(SvRV(ST(0))) != SVt_PVAV)
Branch: 1 branch
BranchTrueFalseTotal
if (SvTYPE(SvRV(ST(0))) != SVt_PVAV) 0 0 0
7144 0 croak("Math::GSL : $data is not an array ref!");
7145
7146 0 tempav = (AV*)SvRV(ST(0));
7147 0 len = av_len(tempav);
7148 0 arg1 = (double *) malloc((len+2)*sizeof(double));
7149 0 ▶ for (i = 0; i <= len; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; i <= len; i++) { 0 0 0
7150 0 tv = av_fetch(tempav, i, 0);
7151 0 arg1[i] = (double) SvNV(*tv);
7152 }
7153 }
7154 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
7155 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
7156 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_fft_halfcomplex_transform" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_fft_halfcomplex_transform" "', argument " "2"" of type '" "size_t""'"); 0 0 0
7157 }
7158 0 arg2 = (size_t)(val2);
7159 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
7160 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
7161 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_fft_halfcomplex_transform" "', argument " "3"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_fft_halfcomplex_transform" "', argument " "3"" of type '" "size_t""'"); 0 0 0
7162 }
7163 0 arg3 = (size_t)(val3);
7164 0 res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_gsl_fft_halfcomplex_wavetable, 0 | 0 );
7165 0 ▶ if (!SWIG_IsOK(res4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res4)) { 0 0 0
7166 0 ▶ SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_fft_halfcomplex_transform" "', argument " "4"" of type '" "gsl_fft_halfcomplex_wavetable const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_fft_halfcomplex_transform" "', argument " "4"" of type '" "gsl_fft_halfcomplex_wavetable const *""'"); 0 0 0
7167 }
7168 0 arg4 = (gsl_fft_halfcomplex_wavetable *)(argp4);
7169 0 res5 = SWIG_ConvertPtr(ST(4), &argp5,SWIGTYPE_p_gsl_fft_real_workspace, 0 | 0 );
7170 0 ▶ if (!SWIG_IsOK(res5)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res5)) { 0 0 0
7171 0 ▶ SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "gsl_fft_halfcomplex_transform" "', argument " "5"" of type '" "gsl_fft_real_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "gsl_fft_halfcomplex_transform" "', argument " "5"" of type '" "gsl_fft_real_workspace *""'"); 0 0 0
7172 }
7173 0 arg5 = (gsl_fft_real_workspace *)(argp5);
7174 0 _saved[0] = ST(0);
7175 0 result = (int)gsl_fft_halfcomplex_transform(arg1,arg2,arg3,(gsl_fft_halfcomplex_wavetable const *)arg4,arg5);
7176 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
7177 {
7178 0 int i=0;
7179 0 AV* tempav = newAV();
7180
7181 0 ▶ while( i < arg3 ) {
Branch: 1 branch
BranchTrueFalseTotal
while( i < arg3 ) { 0 0 0
7182 0 av_push(tempav, newSVnv((double) arg1[i]));
7183 0 i++;
7184 }
7185
7186 0 ST(argvi) = sv_2mortal( newRV_noinc( (SV*) tempav) );
7187 0 argvi++;
7188 }
7189 {
7190 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
7191 }
7192
7193
7194
7195
7196 0 XSRETURN(argvi);
7197 0 fail:
7198 {
7199 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
7200 }
7201
7202
7203
7204
7205 0 SWIG_croak_null();
7206 }
7207 }
7208  
7209  
7210 0 XS(_wrap_gsl_fft_halfcomplex_unpack) {
7211 {
7212 0 double *arg1 = (double *) (double *)0 ;
7213 0 double *arg2 = (double *) (double *)0 ;
7214 size_t arg3 ;
7215 size_t arg4 ;
7216 size_t val3 ;
7217 0 int ecode3 = 0 ;
7218 size_t val4 ;
7219 0 int ecode4 = 0 ;
7220 0 int argvi = 0;
7221 SV * _saved[1] ;
7222 int result;
7223 0 dXSARGS;
7224
7225 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
7226 0 SWIG_croak("Usage: gsl_fft_halfcomplex_unpack(halfcomplex_coefficient,complex_coefficient,stride,n);");
7227 }
7228 {
7229 AV *tempav;
7230 I32 len;
7231 int i;
7232 SV **tv;
7233 0 ▶ if (!SvROK(ST(0)))
Branch: 1 branch
BranchTrueFalseTotal
if (!SvROK(ST(0))) 0 0 0
7234 0 croak("Math::GSL : $halfcomplex_coefficient is not a reference!");
7235 0 ▶ if (SvTYPE(SvRV(ST(0))) != SVt_PVAV)
Branch: 1 branch
BranchTrueFalseTotal
if (SvTYPE(SvRV(ST(0))) != SVt_PVAV) 0 0 0
7236 0 croak("Math::GSL : $halfcomplex_coefficient is not an array ref!");
7237
7238 0 tempav = (AV*)SvRV(ST(0));
7239 0 len = av_len(tempav);
7240 0 arg1 = (double *) malloc((len+2)*sizeof(double));
7241 0 ▶ for (i = 0; i <= len; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; i <= len; i++) { 0 0 0
7242 0 tv = av_fetch(tempav, i, 0);
7243 0 arg1[i] = (double) SvNV(*tv);
7244 }
7245 }
7246 {
7247 AV *tempav;
7248 I32 len;
7249 int i;
7250 SV **tv;
7251 0 ▶ if (!SvROK(ST(1)))
Branch: 1 branch
BranchTrueFalseTotal
if (!SvROK(ST(1))) 0 0 0
7252 0 croak("Math::GSL : $complex_coefficient is not a reference!");
7253 0 ▶ if (SvTYPE(SvRV(ST(1))) != SVt_PVAV)
Branch: 1 branch
BranchTrueFalseTotal
if (SvTYPE(SvRV(ST(1))) != SVt_PVAV) 0 0 0
7254 0 croak("Math::GSL : $complex_coefficient is not an array ref!");
7255
7256 0 tempav = (AV*)SvRV(ST(1));
7257 0 len = av_len(tempav);
7258 0 arg2 = (double *) malloc((len+2)*sizeof(double));
7259 0 ▶ for (i = 0; i <= len; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; i <= len; i++) { 0 0 0
7260 0 tv = av_fetch(tempav, i, 0);
7261 0 arg2[i] = (double) SvNV(*tv);
7262 }
7263 }
7264 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
7265 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
7266 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_fft_halfcomplex_unpack" "', argument " "3"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_fft_halfcomplex_unpack" "', argument " "3"" of type '" "size_t""'"); 0 0 0
7267 }
7268 0 arg3 = (size_t)(val3);
7269 0 ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
7270 0 ▶ if (!SWIG_IsOK(ecode4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode4)) { 0 0 0
7271 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_fft_halfcomplex_unpack" "', argument " "4"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_fft_halfcomplex_unpack" "', argument " "4"" of type '" "size_t""'"); 0 0 0
7272 }
7273 0 arg4 = (size_t)(val4);
7274 0 _saved[0] = ST(0);
7275 0 result = (int)gsl_fft_halfcomplex_unpack((double const (*))arg1,arg2,arg3,arg4);
7276 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
7277 {
7278 0 printf("FFT ARGOUT halfcomplex unpack\n");
7279 0 int i=0;
7280 0 AV* tempav = newAV();
7281
7282 0 ▶ while( i < arg4 ) {
Branch: 1 branch
BranchTrueFalseTotal
while( i < arg4 ) { 0 0 0
7283 0 av_push(tempav, newSVnv((double) arg1[i]));
7284 0 i++;
7285 }
7286
7287 0 ST(argvi) = sv_2mortal( newRV_noinc( (SV*) tempav) );
7288 0 argvi++;
7289 }
7290 {
7291 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
7292 }
7293 {
7294 0 ▶ if (arg2) free(arg2);
Branch: 1 branch
BranchTrueFalseTotal
if (arg2) free(arg2); 0 0 0
7295 }
7296
7297
7298 0 XSRETURN(argvi);
7299 0 fail:
7300 {
7301 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
7302 }
7303 {
7304 0 ▶ if (arg2) free(arg2);
Branch: 1 branch
BranchTrueFalseTotal
if (arg2) free(arg2); 0 0 0
7305 }
7306
7307
7308 0 SWIG_croak_null();
7309 }
7310 }
7311  
7312  
7313 0 XS(_wrap_gsl_fft_halfcomplex_radix2_unpack) {
7314 {
7315 0 double *arg1 = (double *) (double *)0 ;
7316 0 double *arg2 = (double *) (double *)0 ;
7317 size_t arg3 ;
7318 size_t arg4 ;
7319 size_t val3 ;
7320 0 int ecode3 = 0 ;
7321 size_t val4 ;
7322 0 int ecode4 = 0 ;
7323 0 int argvi = 0;
7324 SV * _saved[1] ;
7325 int result;
7326 0 dXSARGS;
7327
7328 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
7329 0 SWIG_croak("Usage: gsl_fft_halfcomplex_radix2_unpack(halfcomplex_coefficient,complex_coefficient,stride,n);");
7330 }
7331 {
7332 AV *tempav;
7333 I32 len;
7334 int i;
7335 SV **tv;
7336 0 ▶ if (!SvROK(ST(0)))
Branch: 1 branch
BranchTrueFalseTotal
if (!SvROK(ST(0))) 0 0 0
7337 0 croak("Math::GSL : $halfcomplex_coefficient is not a reference!");
7338 0 ▶ if (SvTYPE(SvRV(ST(0))) != SVt_PVAV)
Branch: 1 branch
BranchTrueFalseTotal
if (SvTYPE(SvRV(ST(0))) != SVt_PVAV) 0 0 0
7339 0 croak("Math::GSL : $halfcomplex_coefficient is not an array ref!");
7340
7341 0 tempav = (AV*)SvRV(ST(0));
7342 0 len = av_len(tempav);
7343 0 arg1 = (double *) malloc((len+2)*sizeof(double));
7344 0 ▶ for (i = 0; i <= len; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; i <= len; i++) { 0 0 0
7345 0 tv = av_fetch(tempav, i, 0);
7346 0 arg1[i] = (double) SvNV(*tv);
7347 }
7348 }
7349 {
7350 AV *tempav;
7351 I32 len;
7352 int i;
7353 SV **tv;
7354 0 ▶ if (!SvROK(ST(1)))
Branch: 1 branch
BranchTrueFalseTotal
if (!SvROK(ST(1))) 0 0 0
7355 0 croak("Math::GSL : $complex_coefficient is not a reference!");
7356 0 ▶ if (SvTYPE(SvRV(ST(1))) != SVt_PVAV)
Branch: 1 branch
BranchTrueFalseTotal
if (SvTYPE(SvRV(ST(1))) != SVt_PVAV) 0 0 0
7357 0 croak("Math::GSL : $complex_coefficient is not an array ref!");
7358
7359 0 tempav = (AV*)SvRV(ST(1));
7360 0 len = av_len(tempav);
7361 0 arg2 = (double *) malloc((len+2)*sizeof(double));
7362 0 ▶ for (i = 0; i <= len; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; i <= len; i++) { 0 0 0
7363 0 tv = av_fetch(tempav, i, 0);
7364 0 arg2[i] = (double) SvNV(*tv);
7365 }
7366 }
7367 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
7368 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
7369 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_fft_halfcomplex_radix2_unpack" "', argument " "3"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_fft_halfcomplex_radix2_unpack" "', argument " "3"" of type '" "size_t""'"); 0 0 0
7370 }
7371 0 arg3 = (size_t)(val3);
7372 0 ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
7373 0 ▶ if (!SWIG_IsOK(ecode4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode4)) { 0 0 0
7374 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_fft_halfcomplex_radix2_unpack" "', argument " "4"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_fft_halfcomplex_radix2_unpack" "', argument " "4"" of type '" "size_t""'"); 0 0 0
7375 }
7376 0 arg4 = (size_t)(val4);
7377 0 _saved[0] = ST(0);
7378 0 result = (int)gsl_fft_halfcomplex_radix2_unpack((double const (*))arg1,arg2,arg3,arg4);
7379 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
7380 {
7381 0 printf("FFT ARGOUT halfcomplex unpack\n");
7382 0 int i=0;
7383 0 AV* tempav = newAV();
7384
7385 0 ▶ while( i < arg4 ) {
Branch: 1 branch
BranchTrueFalseTotal
while( i < arg4 ) { 0 0 0
7386 0 av_push(tempav, newSVnv((double) arg1[i]));
7387 0 i++;
7388 }
7389
7390 0 ST(argvi) = sv_2mortal( newRV_noinc( (SV*) tempav) );
7391 0 argvi++;
7392 }
7393 {
7394 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
7395 }
7396 {
7397 0 ▶ if (arg2) free(arg2);
Branch: 1 branch
BranchTrueFalseTotal
if (arg2) free(arg2); 0 0 0
7398 }
7399
7400
7401 0 XSRETURN(argvi);
7402 0 fail:
7403 {
7404 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
7405 }
7406 {
7407 0 ▶ if (arg2) free(arg2);
Branch: 1 branch
BranchTrueFalseTotal
if (arg2) free(arg2); 0 0 0
7408 }
7409
7410
7411 0 SWIG_croak_null();
7412 }
7413 }
7414  
7415  
7416 0 XS(_wrap_gsl_fft_real_radix2_transform) {
7417 {
7418 0 double *arg1 = (double *) (double *)0 ;
7419 size_t arg2 ;
7420 size_t arg3 ;
7421 size_t val2 ;
7422 0 int ecode2 = 0 ;
7423 size_t val3 ;
7424 0 int ecode3 = 0 ;
7425 0 int argvi = 0;
7426 SV * _saved[1] ;
7427 int result;
7428 0 dXSARGS;
7429
7430 0 ▶ if ((items < 3) || (items > 3)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 3) || (items > 3)) { 0 0 0
if ((items < 3) || (items > 3)) { 0 0 0
7431 0 SWIG_croak("Usage: gsl_fft_real_radix2_transform(data,stride,n);");
7432 }
7433 {
7434 AV *tempav;
7435 I32 len;
7436 int i;
7437 SV **tv;
7438 0 ▶ if (!SvROK(ST(0)))
Branch: 1 branch
BranchTrueFalseTotal
if (!SvROK(ST(0))) 0 0 0
7439 0 croak("Math::GSL : $data is not a reference!");
7440 0 ▶ if (SvTYPE(SvRV(ST(0))) != SVt_PVAV)
Branch: 1 branch
BranchTrueFalseTotal
if (SvTYPE(SvRV(ST(0))) != SVt_PVAV) 0 0 0
7441 0 croak("Math::GSL : $data is not an array ref!");
7442
7443 0 tempav = (AV*)SvRV(ST(0));
7444 0 len = av_len(tempav);
7445 0 arg1 = (double *) malloc((len+2)*sizeof(double));
7446 0 ▶ for (i = 0; i <= len; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; i <= len; i++) { 0 0 0
7447 0 tv = av_fetch(tempav, i, 0);
7448 0 arg1[i] = (double) SvNV(*tv);
7449 }
7450 }
7451 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
7452 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
7453 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_fft_real_radix2_transform" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_fft_real_radix2_transform" "', argument " "2"" of type '" "size_t""'"); 0 0 0
7454 }
7455 0 arg2 = (size_t)(val2);
7456 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
7457 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
7458 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_fft_real_radix2_transform" "', argument " "3"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_fft_real_radix2_transform" "', argument " "3"" of type '" "size_t""'"); 0 0 0
7459 }
7460 0 arg3 = (size_t)(val3);
7461 0 _saved[0] = ST(0);
7462 0 result = (int)gsl_fft_real_radix2_transform(arg1,arg2,arg3);
7463 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
7464 {
7465 0 int i=0;
7466 0 AV* tempav = newAV();
7467
7468 0 ▶ while( i < arg3 ) {
Branch: 1 branch
BranchTrueFalseTotal
while( i < arg3 ) { 0 0 0
7469 0 av_push(tempav, newSVnv((double) arg1[i]));
7470 0 i++;
7471 }
7472
7473 0 ST(argvi) = sv_2mortal( newRV_noinc( (SV*) tempav) );
7474 0 argvi++;
7475 }
7476 {
7477 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
7478 }
7479
7480
7481 0 XSRETURN(argvi);
7482 0 fail:
7483 {
7484 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
7485 }
7486
7487
7488 0 SWIG_croak_null();
7489 }
7490 }
7491  
7492  
7493 0 XS(_wrap_gsl_fft_real_wavetable_n_set) {
7494 {
7495 0 gsl_fft_real_wavetable *arg1 = (gsl_fft_real_wavetable *) 0 ;
7496 size_t arg2 ;
7497 0 void *argp1 = 0 ;
7498 0 int res1 = 0 ;
7499 size_t val2 ;
7500 0 int ecode2 = 0 ;
7501 0 int argvi = 0;
7502 0 dXSARGS;
7503
7504 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
7505 0 SWIG_croak("Usage: gsl_fft_real_wavetable_n_set(self,n);");
7506 }
7507 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_fft_real_wavetable, 0 | 0 );
7508 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
7509 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_real_wavetable_n_set" "', argument " "1"" of type '" "gsl_fft_real_wavetable *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_real_wavetable_n_set" "', argument " "1"" of type '" "gsl_fft_real_wavetable *""'"); 0 0 0
7510 }
7511 0 arg1 = (gsl_fft_real_wavetable *)(argp1);
7512 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
7513 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
7514 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_fft_real_wavetable_n_set" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_fft_real_wavetable_n_set" "', argument " "2"" of type '" "size_t""'"); 0 0 0
7515 }
7516 0 arg2 = (size_t)(val2);
7517 0 ▶ if (arg1) (arg1)->n = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->n = arg2; 0 0 0
7518 0 ST(argvi) = &PL_sv_undef;
7519
7520
7521 0 XSRETURN(argvi);
7522 0 fail:
7523
7524
7525 0 SWIG_croak_null();
7526 }
7527 }
7528  
7529  
7530 0 XS(_wrap_gsl_fft_real_wavetable_n_get) {
7531 {
7532 0 gsl_fft_real_wavetable *arg1 = (gsl_fft_real_wavetable *) 0 ;
7533 0 void *argp1 = 0 ;
7534 0 int res1 = 0 ;
7535 0 int argvi = 0;
7536 size_t result;
7537 0 dXSARGS;
7538
7539 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
7540 0 SWIG_croak("Usage: gsl_fft_real_wavetable_n_get(self);");
7541 }
7542 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_fft_real_wavetable, 0 | 0 );
7543 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
7544 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_real_wavetable_n_get" "', argument " "1"" of type '" "gsl_fft_real_wavetable *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_real_wavetable_n_get" "', argument " "1"" of type '" "gsl_fft_real_wavetable *""'"); 0 0 0
7545 }
7546 0 arg1 = (gsl_fft_real_wavetable *)(argp1);
7547 0 result = ((arg1)->n);
7548 0 ST(argvi) = SWIG_From_size_t SWIG_PERL_CALL_ARGS_1((size_t)(result)); argvi++ ;
7549
7550 0 XSRETURN(argvi);
7551 0 fail:
7552
7553 0 SWIG_croak_null();
7554 }
7555 }
7556  
7557  
7558 0 XS(_wrap_gsl_fft_real_wavetable_nf_set) {
7559 {
7560 0 gsl_fft_real_wavetable *arg1 = (gsl_fft_real_wavetable *) 0 ;
7561 size_t arg2 ;
7562 0 void *argp1 = 0 ;
7563 0 int res1 = 0 ;
7564 size_t val2 ;
7565 0 int ecode2 = 0 ;
7566 0 int argvi = 0;
7567 0 dXSARGS;
7568
7569 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
7570 0 SWIG_croak("Usage: gsl_fft_real_wavetable_nf_set(self,nf);");
7571 }
7572 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_fft_real_wavetable, 0 | 0 );
7573 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
7574 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_real_wavetable_nf_set" "', argument " "1"" of type '" "gsl_fft_real_wavetable *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_real_wavetable_nf_set" "', argument " "1"" of type '" "gsl_fft_real_wavetable *""'"); 0 0 0
7575 }
7576 0 arg1 = (gsl_fft_real_wavetable *)(argp1);
7577 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
7578 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
7579 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_fft_real_wavetable_nf_set" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_fft_real_wavetable_nf_set" "', argument " "2"" of type '" "size_t""'"); 0 0 0
7580 }
7581 0 arg2 = (size_t)(val2);
7582 0 ▶ if (arg1) (arg1)->nf = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->nf = arg2; 0 0 0
7583 0 ST(argvi) = &PL_sv_undef;
7584
7585
7586 0 XSRETURN(argvi);
7587 0 fail:
7588
7589
7590 0 SWIG_croak_null();
7591 }
7592 }
7593  
7594  
7595 0 XS(_wrap_gsl_fft_real_wavetable_nf_get) {
7596 {
7597 0 gsl_fft_real_wavetable *arg1 = (gsl_fft_real_wavetable *) 0 ;
7598 0 void *argp1 = 0 ;
7599 0 int res1 = 0 ;
7600 0 int argvi = 0;
7601 size_t result;
7602 0 dXSARGS;
7603
7604 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
7605 0 SWIG_croak("Usage: gsl_fft_real_wavetable_nf_get(self);");
7606 }
7607 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_fft_real_wavetable, 0 | 0 );
7608 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
7609 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_real_wavetable_nf_get" "', argument " "1"" of type '" "gsl_fft_real_wavetable *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_real_wavetable_nf_get" "', argument " "1"" of type '" "gsl_fft_real_wavetable *""'"); 0 0 0
7610 }
7611 0 arg1 = (gsl_fft_real_wavetable *)(argp1);
7612 0 result = ((arg1)->nf);
7613 0 ST(argvi) = SWIG_From_size_t SWIG_PERL_CALL_ARGS_1((size_t)(result)); argvi++ ;
7614
7615 0 XSRETURN(argvi);
7616 0 fail:
7617
7618 0 SWIG_croak_null();
7619 }
7620 }
7621  
7622  
7623 0 XS(_wrap_gsl_fft_real_wavetable_factor_set) {
7624 {
7625 0 gsl_fft_real_wavetable *arg1 = (gsl_fft_real_wavetable *) 0 ;
7626 0 size_t *arg2 = (size_t *) (size_t *)0 ;
7627 0 void *argp1 = 0 ;
7628 0 int res1 = 0 ;
7629 0 void *argp2 = 0 ;
7630 0 int res2 = 0 ;
7631 0 int argvi = 0;
7632 0 dXSARGS;
7633
7634 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
7635 0 SWIG_croak("Usage: gsl_fft_real_wavetable_factor_set(self,factor);");
7636 }
7637 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_fft_real_wavetable, 0 | 0 );
7638 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
7639 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_real_wavetable_factor_set" "', argument " "1"" of type '" "gsl_fft_real_wavetable *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_real_wavetable_factor_set" "', argument " "1"" of type '" "gsl_fft_real_wavetable *""'"); 0 0 0
7640 }
7641 0 arg1 = (gsl_fft_real_wavetable *)(argp1);
7642 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_size_t, 0 | 0 );
7643 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
7644 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_fft_real_wavetable_factor_set" "', argument " "2"" of type '" "size_t [64]""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_fft_real_wavetable_factor_set" "', argument " "2"" of type '" "size_t [64]""'"); 0 0 0
7645 }
7646 0 arg2 = (size_t *)(argp2);
7647 {
7648 0 ▶ if (arg2) {
Branch: 1 branch
BranchTrueFalseTotal
if (arg2) { 0 0 0
7649 0 size_t ii = 0;
7650 0 ▶ for (; ii < (size_t)64; ++ii) *(size_t *)&arg1->factor[ii] = *((size_t *)arg2 + ii);
Branch: 1 branch
BranchTrueFalseTotal
for (; ii < (size_t)64; ++ii) *(size_t *)&arg1->factor[ii] = *((size_t *)arg2 + ii); 0 0 0
7651 } else {
7652 0 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""factor""' of type '""size_t [64]""'");
7653 }
7654 }
7655 0 ST(argvi) = &PL_sv_undef;
7656
7657
7658 0 XSRETURN(argvi);
7659 0 fail:
7660
7661
7662 0 SWIG_croak_null();
7663 }
7664 }
7665  
7666  
7667 0 XS(_wrap_gsl_fft_real_wavetable_factor_get) {
7668 {
7669 0 gsl_fft_real_wavetable *arg1 = (gsl_fft_real_wavetable *) 0 ;
7670 0 void *argp1 = 0 ;
7671 0 int res1 = 0 ;
7672 0 int argvi = 0;
7673 0 size_t *result = 0 ;
7674 0 dXSARGS;
7675
7676 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
7677 0 SWIG_croak("Usage: gsl_fft_real_wavetable_factor_get(self);");
7678 }
7679 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_fft_real_wavetable, 0 | 0 );
7680 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
7681 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_real_wavetable_factor_get" "', argument " "1"" of type '" "gsl_fft_real_wavetable *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_real_wavetable_factor_get" "', argument " "1"" of type '" "gsl_fft_real_wavetable *""'"); 0 0 0
7682 }
7683 0 arg1 = (gsl_fft_real_wavetable *)(argp1);
7684 0 result = (size_t *)(size_t *) ((arg1)->factor);
7685 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_size_t, 0 | 0); argvi++ ;
7686
7687 0 XSRETURN(argvi);
7688 0 fail:
7689
7690 0 SWIG_croak_null();
7691 }
7692 }
7693  
7694  
7695 0 XS(_wrap_gsl_fft_real_wavetable_twiddle_set) {
7696 {
7697 0 gsl_fft_real_wavetable *arg1 = (gsl_fft_real_wavetable *) 0 ;
7698 0 gsl_complex **arg2 = (gsl_complex **) (gsl_complex **)0 ;
7699 0 void *argp1 = 0 ;
7700 0 int res1 = 0 ;
7701 0 void *argp2 = 0 ;
7702 0 int res2 = 0 ;
7703 0 int argvi = 0;
7704 0 dXSARGS;
7705
7706 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
7707 0 SWIG_croak("Usage: gsl_fft_real_wavetable_twiddle_set(self,twiddle);");
7708 }
7709 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_fft_real_wavetable, 0 | 0 );
7710 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
7711 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_real_wavetable_twiddle_set" "', argument " "1"" of type '" "gsl_fft_real_wavetable *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_real_wavetable_twiddle_set" "', argument " "1"" of type '" "gsl_fft_real_wavetable *""'"); 0 0 0
7712 }
7713 0 arg1 = (gsl_fft_real_wavetable *)(argp1);
7714 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_p_gsl_complex, 0 | 0 );
7715 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
7716 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_fft_real_wavetable_twiddle_set" "', argument " "2"" of type '" "gsl_complex *[64]""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_fft_real_wavetable_twiddle_set" "', argument " "2"" of type '" "gsl_complex *[64]""'"); 0 0 0
7717 }
7718 0 arg2 = (gsl_complex **)(argp2);
7719 {
7720 0 ▶ if (arg2) {
Branch: 1 branch
BranchTrueFalseTotal
if (arg2) { 0 0 0
7721 0 size_t ii = 0;
7722 0 ▶ for (; ii < (size_t)64; ++ii) *(gsl_complex * *)&arg1->twiddle[ii] = *((gsl_complex * *)arg2 + ii);
Branch: 1 branch
BranchTrueFalseTotal
for (; ii < (size_t)64; ++ii) *(gsl_complex * *)&arg1->twiddle[ii] = *((gsl_complex * *)arg2 + ii); 0 0 0
7723 } else {
7724 0 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""twiddle""' of type '""gsl_complex *[64]""'");
7725 }
7726 }
7727 0 ST(argvi) = &PL_sv_undef;
7728
7729
7730 0 XSRETURN(argvi);
7731 0 fail:
7732
7733
7734 0 SWIG_croak_null();
7735 }
7736 }
7737  
7738  
7739 0 XS(_wrap_gsl_fft_real_wavetable_twiddle_get) {
7740 {
7741 0 gsl_fft_real_wavetable *arg1 = (gsl_fft_real_wavetable *) 0 ;
7742 0 void *argp1 = 0 ;
7743 0 int res1 = 0 ;
7744 0 int argvi = 0;
7745 0 gsl_complex **result = 0 ;
7746 0 dXSARGS;
7747
7748 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
7749 0 SWIG_croak("Usage: gsl_fft_real_wavetable_twiddle_get(self);");
7750 }
7751 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_fft_real_wavetable, 0 | 0 );
7752 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
7753 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_real_wavetable_twiddle_get" "', argument " "1"" of type '" "gsl_fft_real_wavetable *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_real_wavetable_twiddle_get" "', argument " "1"" of type '" "gsl_fft_real_wavetable *""'"); 0 0 0
7754 }
7755 0 arg1 = (gsl_fft_real_wavetable *)(argp1);
7756 0 result = (gsl_complex **)(gsl_complex **) ((arg1)->twiddle);
7757 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_gsl_complex, 0 | 0); argvi++ ;
7758
7759 0 XSRETURN(argvi);
7760 0 fail:
7761
7762 0 SWIG_croak_null();
7763 }
7764 }
7765  
7766  
7767 0 XS(_wrap_gsl_fft_real_wavetable_trig_set) {
7768 {
7769 0 gsl_fft_real_wavetable *arg1 = (gsl_fft_real_wavetable *) 0 ;
7770 0 gsl_complex *arg2 = (gsl_complex *) 0 ;
7771 0 void *argp1 = 0 ;
7772 0 int res1 = 0 ;
7773 0 void *argp2 = 0 ;
7774 0 int res2 = 0 ;
7775 0 int argvi = 0;
7776 0 dXSARGS;
7777
7778 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
7779 0 SWIG_croak("Usage: gsl_fft_real_wavetable_trig_set(self,trig);");
7780 }
7781 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_fft_real_wavetable, 0 | 0 );
7782 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
7783 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_real_wavetable_trig_set" "', argument " "1"" of type '" "gsl_fft_real_wavetable *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_real_wavetable_trig_set" "', argument " "1"" of type '" "gsl_fft_real_wavetable *""'"); 0 0 0
7784 }
7785 0 arg1 = (gsl_fft_real_wavetable *)(argp1);
7786 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_complex, SWIG_POINTER_DISOWN | 0 );
7787 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
7788 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_fft_real_wavetable_trig_set" "', argument " "2"" of type '" "gsl_complex *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_fft_real_wavetable_trig_set" "', argument " "2"" of type '" "gsl_complex *""'"); 0 0 0
7789 }
7790 0 arg2 = (gsl_complex *)(argp2);
7791 0 ▶ if (arg1) (arg1)->trig = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->trig = arg2; 0 0 0
7792 0 ST(argvi) = &PL_sv_undef;
7793
7794
7795 0 XSRETURN(argvi);
7796 0 fail:
7797
7798
7799 0 SWIG_croak_null();
7800 }
7801 }
7802  
7803  
7804 0 XS(_wrap_gsl_fft_real_wavetable_trig_get) {
7805 {
7806 0 gsl_fft_real_wavetable *arg1 = (gsl_fft_real_wavetable *) 0 ;
7807 0 void *argp1 = 0 ;
7808 0 int res1 = 0 ;
7809 0 int argvi = 0;
7810 0 gsl_complex *result = 0 ;
7811 0 dXSARGS;
7812
7813 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
7814 0 SWIG_croak("Usage: gsl_fft_real_wavetable_trig_get(self);");
7815 }
7816 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_fft_real_wavetable, 0 | 0 );
7817 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
7818 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_real_wavetable_trig_get" "', argument " "1"" of type '" "gsl_fft_real_wavetable *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_real_wavetable_trig_get" "', argument " "1"" of type '" "gsl_fft_real_wavetable *""'"); 0 0 0
7819 }
7820 0 arg1 = (gsl_fft_real_wavetable *)(argp1);
7821 0 result = (gsl_complex *) ((arg1)->trig);
7822 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_complex, 0 | SWIG_SHADOW); argvi++ ;
7823
7824 0 XSRETURN(argvi);
7825 0 fail:
7826
7827 0 SWIG_croak_null();
7828 }
7829 }
7830  
7831  
7832 0 XS(_wrap_new_gsl_fft_real_wavetable) {
7833 {
7834 0 int argvi = 0;
7835 0 gsl_fft_real_wavetable *result = 0 ;
7836 0 dXSARGS;
7837
7838 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
7839 0 SWIG_croak("Usage: new_gsl_fft_real_wavetable();");
7840 }
7841 0 result = (gsl_fft_real_wavetable *)calloc(1, sizeof(gsl_fft_real_wavetable));
7842 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_fft_real_wavetable, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
7843 0 XSRETURN(argvi);
7844 0 fail:
7845 0 SWIG_croak_null();
7846 }
7847 }
7848  
7849  
7850 0 XS(_wrap_delete_gsl_fft_real_wavetable) {
7851 {
7852 0 gsl_fft_real_wavetable *arg1 = (gsl_fft_real_wavetable *) 0 ;
7853 0 void *argp1 = 0 ;
7854 0 int res1 = 0 ;
7855 0 int argvi = 0;
7856 0 dXSARGS;
7857
7858 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
7859 0 SWIG_croak("Usage: delete_gsl_fft_real_wavetable(self);");
7860 }
7861 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_fft_real_wavetable, SWIG_POINTER_DISOWN | 0 );
7862 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
7863 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_gsl_fft_real_wavetable" "', argument " "1"" of type '" "gsl_fft_real_wavetable *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_gsl_fft_real_wavetable" "', argument " "1"" of type '" "gsl_fft_real_wavetable *""'"); 0 0 0
7864 }
7865 0 arg1 = (gsl_fft_real_wavetable *)(argp1);
7866 0 free((char *) arg1);
7867 0 ST(argvi) = &PL_sv_undef;
7868
7869 0 XSRETURN(argvi);
7870 0 fail:
7871
7872 0 SWIG_croak_null();
7873 }
7874 }
7875  
7876  
7877 0 XS(_wrap_gsl_fft_real_workspace_n_set) {
7878 {
7879 0 gsl_fft_real_workspace *arg1 = (gsl_fft_real_workspace *) 0 ;
7880 size_t arg2 ;
7881 0 void *argp1 = 0 ;
7882 0 int res1 = 0 ;
7883 size_t val2 ;
7884 0 int ecode2 = 0 ;
7885 0 int argvi = 0;
7886 0 dXSARGS;
7887
7888 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
7889 0 SWIG_croak("Usage: gsl_fft_real_workspace_n_set(self,n);");
7890 }
7891 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_fft_real_workspace, 0 | 0 );
7892 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
7893 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_real_workspace_n_set" "', argument " "1"" of type '" "gsl_fft_real_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_real_workspace_n_set" "', argument " "1"" of type '" "gsl_fft_real_workspace *""'"); 0 0 0
7894 }
7895 0 arg1 = (gsl_fft_real_workspace *)(argp1);
7896 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
7897 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
7898 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_fft_real_workspace_n_set" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_fft_real_workspace_n_set" "', argument " "2"" of type '" "size_t""'"); 0 0 0
7899 }
7900 0 arg2 = (size_t)(val2);
7901 0 ▶ if (arg1) (arg1)->n = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->n = arg2; 0 0 0
7902 0 ST(argvi) = &PL_sv_undef;
7903
7904
7905 0 XSRETURN(argvi);
7906 0 fail:
7907
7908
7909 0 SWIG_croak_null();
7910 }
7911 }
7912  
7913  
7914 0 XS(_wrap_gsl_fft_real_workspace_n_get) {
7915 {
7916 0 gsl_fft_real_workspace *arg1 = (gsl_fft_real_workspace *) 0 ;
7917 0 void *argp1 = 0 ;
7918 0 int res1 = 0 ;
7919 0 int argvi = 0;
7920 size_t result;
7921 0 dXSARGS;
7922
7923 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
7924 0 SWIG_croak("Usage: gsl_fft_real_workspace_n_get(self);");
7925 }
7926 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_fft_real_workspace, 0 | 0 );
7927 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
7928 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_real_workspace_n_get" "', argument " "1"" of type '" "gsl_fft_real_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_real_workspace_n_get" "', argument " "1"" of type '" "gsl_fft_real_workspace *""'"); 0 0 0
7929 }
7930 0 arg1 = (gsl_fft_real_workspace *)(argp1);
7931 0 result = ((arg1)->n);
7932 0 ST(argvi) = SWIG_From_size_t SWIG_PERL_CALL_ARGS_1((size_t)(result)); argvi++ ;
7933
7934 0 XSRETURN(argvi);
7935 0 fail:
7936
7937 0 SWIG_croak_null();
7938 }
7939 }
7940  
7941  
7942 0 XS(_wrap_gsl_fft_real_workspace_scratch_set) {
7943 {
7944 0 gsl_fft_real_workspace *arg1 = (gsl_fft_real_workspace *) 0 ;
7945 0 double *arg2 = (double *) 0 ;
7946 0 void *argp1 = 0 ;
7947 0 int res1 = 0 ;
7948 0 void *argp2 = 0 ;
7949 0 int res2 = 0 ;
7950 0 int argvi = 0;
7951 0 dXSARGS;
7952
7953 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
7954 0 SWIG_croak("Usage: gsl_fft_real_workspace_scratch_set(self,scratch);");
7955 }
7956 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_fft_real_workspace, 0 | 0 );
7957 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
7958 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_real_workspace_scratch_set" "', argument " "1"" of type '" "gsl_fft_real_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_real_workspace_scratch_set" "', argument " "1"" of type '" "gsl_fft_real_workspace *""'"); 0 0 0
7959 }
7960 0 arg1 = (gsl_fft_real_workspace *)(argp1);
7961 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, SWIG_POINTER_DISOWN | 0 );
7962 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
7963 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_fft_real_workspace_scratch_set" "', argument " "2"" of type '" "double *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_fft_real_workspace_scratch_set" "', argument " "2"" of type '" "double *""'"); 0 0 0
7964 }
7965 0 arg2 = (double *)(argp2);
7966 0 ▶ if (arg1) (arg1)->scratch = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->scratch = arg2; 0 0 0
7967 0 ST(argvi) = &PL_sv_undef;
7968
7969
7970 0 XSRETURN(argvi);
7971 0 fail:
7972
7973
7974 0 SWIG_croak_null();
7975 }
7976 }
7977  
7978  
7979 0 XS(_wrap_gsl_fft_real_workspace_scratch_get) {
7980 {
7981 0 gsl_fft_real_workspace *arg1 = (gsl_fft_real_workspace *) 0 ;
7982 0 void *argp1 = 0 ;
7983 0 int res1 = 0 ;
7984 0 int argvi = 0;
7985 0 double *result = 0 ;
7986 0 dXSARGS;
7987
7988 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
7989 0 SWIG_croak("Usage: gsl_fft_real_workspace_scratch_get(self);");
7990 }
7991 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_fft_real_workspace, 0 | 0 );
7992 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
7993 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_real_workspace_scratch_get" "', argument " "1"" of type '" "gsl_fft_real_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_real_workspace_scratch_get" "', argument " "1"" of type '" "gsl_fft_real_workspace *""'"); 0 0 0
7994 }
7995 0 arg1 = (gsl_fft_real_workspace *)(argp1);
7996 0 result = (double *) ((arg1)->scratch);
7997 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0); argvi++ ;
7998
7999 0 XSRETURN(argvi);
8000 0 fail:
8001
8002 0 SWIG_croak_null();
8003 }
8004 }
8005  
8006  
8007 0 XS(_wrap_new_gsl_fft_real_workspace) {
8008 {
8009 0 int argvi = 0;
8010 0 gsl_fft_real_workspace *result = 0 ;
8011 0 dXSARGS;
8012
8013 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
8014 0 SWIG_croak("Usage: new_gsl_fft_real_workspace();");
8015 }
8016 0 result = (gsl_fft_real_workspace *)calloc(1, sizeof(gsl_fft_real_workspace));
8017 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_fft_real_workspace, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
8018 0 XSRETURN(argvi);
8019 0 fail:
8020 0 SWIG_croak_null();
8021 }
8022 }
8023  
8024  
8025 0 XS(_wrap_delete_gsl_fft_real_workspace) {
8026 {
8027 0 gsl_fft_real_workspace *arg1 = (gsl_fft_real_workspace *) 0 ;
8028 0 void *argp1 = 0 ;
8029 0 int res1 = 0 ;
8030 0 int argvi = 0;
8031 0 dXSARGS;
8032
8033 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
8034 0 SWIG_croak("Usage: delete_gsl_fft_real_workspace(self);");
8035 }
8036 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_fft_real_workspace, SWIG_POINTER_DISOWN | 0 );
8037 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
8038 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_gsl_fft_real_workspace" "', argument " "1"" of type '" "gsl_fft_real_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_gsl_fft_real_workspace" "', argument " "1"" of type '" "gsl_fft_real_workspace *""'"); 0 0 0
8039 }
8040 0 arg1 = (gsl_fft_real_workspace *)(argp1);
8041 0 free((char *) arg1);
8042 0 ST(argvi) = &PL_sv_undef;
8043
8044 0 XSRETURN(argvi);
8045 0 fail:
8046
8047 0 SWIG_croak_null();
8048 }
8049 }
8050  
8051  
8052 0 XS(_wrap_gsl_fft_real_wavetable_alloc) {
8053 {
8054 size_t arg1 ;
8055 size_t val1 ;
8056 0 int ecode1 = 0 ;
8057 0 int argvi = 0;
8058 0 gsl_fft_real_wavetable *result = 0 ;
8059 0 dXSARGS;
8060
8061 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
8062 0 SWIG_croak("Usage: gsl_fft_real_wavetable_alloc(n);");
8063 }
8064 0 ecode1 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
8065 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
8066 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_fft_real_wavetable_alloc" "', argument " "1"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_fft_real_wavetable_alloc" "', argument " "1"" of type '" "size_t""'"); 0 0 0
8067 }
8068 0 arg1 = (size_t)(val1);
8069 0 result = (gsl_fft_real_wavetable *)gsl_fft_real_wavetable_alloc(arg1);
8070 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_fft_real_wavetable, 0 | SWIG_SHADOW); argvi++ ;
8071
8072 0 XSRETURN(argvi);
8073 0 fail:
8074
8075 0 SWIG_croak_null();
8076 }
8077 }
8078  
8079  
8080 0 XS(_wrap_gsl_fft_real_wavetable_free) {
8081 {
8082 0 gsl_fft_real_wavetable *arg1 = (gsl_fft_real_wavetable *) 0 ;
8083 0 void *argp1 = 0 ;
8084 0 int res1 = 0 ;
8085 0 int argvi = 0;
8086 0 dXSARGS;
8087
8088 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
8089 0 SWIG_croak("Usage: gsl_fft_real_wavetable_free(wavetable);");
8090 }
8091 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_fft_real_wavetable, 0 | 0 );
8092 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
8093 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_real_wavetable_free" "', argument " "1"" of type '" "gsl_fft_real_wavetable *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_real_wavetable_free" "', argument " "1"" of type '" "gsl_fft_real_wavetable *""'"); 0 0 0
8094 }
8095 0 arg1 = (gsl_fft_real_wavetable *)(argp1);
8096 0 gsl_fft_real_wavetable_free(arg1);
8097 0 ST(argvi) = &PL_sv_undef;
8098
8099 0 XSRETURN(argvi);
8100 0 fail:
8101
8102 0 SWIG_croak_null();
8103 }
8104 }
8105  
8106  
8107 0 XS(_wrap_gsl_fft_real_workspace_alloc) {
8108 {
8109 size_t arg1 ;
8110 size_t val1 ;
8111 0 int ecode1 = 0 ;
8112 0 int argvi = 0;
8113 0 gsl_fft_real_workspace *result = 0 ;
8114 0 dXSARGS;
8115
8116 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
8117 0 SWIG_croak("Usage: gsl_fft_real_workspace_alloc(n);");
8118 }
8119 0 ecode1 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
8120 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
8121 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_fft_real_workspace_alloc" "', argument " "1"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_fft_real_workspace_alloc" "', argument " "1"" of type '" "size_t""'"); 0 0 0
8122 }
8123 0 arg1 = (size_t)(val1);
8124 0 result = (gsl_fft_real_workspace *)gsl_fft_real_workspace_alloc(arg1);
8125 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_fft_real_workspace, 0 | SWIG_SHADOW); argvi++ ;
8126
8127 0 XSRETURN(argvi);
8128 0 fail:
8129
8130 0 SWIG_croak_null();
8131 }
8132 }
8133  
8134  
8135 0 XS(_wrap_gsl_fft_real_workspace_free) {
8136 {
8137 0 gsl_fft_real_workspace *arg1 = (gsl_fft_real_workspace *) 0 ;
8138 0 void *argp1 = 0 ;
8139 0 int res1 = 0 ;
8140 0 int argvi = 0;
8141 0 dXSARGS;
8142
8143 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
8144 0 SWIG_croak("Usage: gsl_fft_real_workspace_free(workspace);");
8145 }
8146 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_fft_real_workspace, 0 | 0 );
8147 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
8148 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_real_workspace_free" "', argument " "1"" of type '" "gsl_fft_real_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_fft_real_workspace_free" "', argument " "1"" of type '" "gsl_fft_real_workspace *""'"); 0 0 0
8149 }
8150 0 arg1 = (gsl_fft_real_workspace *)(argp1);
8151 0 gsl_fft_real_workspace_free(arg1);
8152 0 ST(argvi) = &PL_sv_undef;
8153
8154 0 XSRETURN(argvi);
8155 0 fail:
8156
8157 0 SWIG_croak_null();
8158 }
8159 }
8160  
8161  
8162 0 XS(_wrap_gsl_fft_real_transform) {
8163 {
8164 0 double *arg1 = (double *) (double *)0 ;
8165 size_t arg2 ;
8166 size_t arg3 ;
8167 0 gsl_fft_real_wavetable *arg4 = (gsl_fft_real_wavetable *) 0 ;
8168 0 gsl_fft_real_workspace *arg5 = (gsl_fft_real_workspace *) 0 ;
8169 size_t val2 ;
8170 0 int ecode2 = 0 ;
8171 size_t val3 ;
8172 0 int ecode3 = 0 ;
8173 0 void *argp4 = 0 ;
8174 0 int res4 = 0 ;
8175 0 void *argp5 = 0 ;
8176 0 int res5 = 0 ;
8177 0 int argvi = 0;
8178 SV * _saved[1] ;
8179 int result;
8180 0 dXSARGS;
8181
8182 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
8183 0 SWIG_croak("Usage: gsl_fft_real_transform(data,stride,n,wavetable,work);");
8184 }
8185 {
8186 AV *tempav;
8187 I32 len;
8188 int i;
8189 SV **tv;
8190 0 ▶ if (!SvROK(ST(0)))
Branch: 1 branch
BranchTrueFalseTotal
if (!SvROK(ST(0))) 0 0 0
8191 0 croak("Math::GSL : $data is not a reference!");
8192 0 ▶ if (SvTYPE(SvRV(ST(0))) != SVt_PVAV)
Branch: 1 branch
BranchTrueFalseTotal
if (SvTYPE(SvRV(ST(0))) != SVt_PVAV) 0 0 0
8193 0 croak("Math::GSL : $data is not an array ref!");
8194
8195 0 tempav = (AV*)SvRV(ST(0));
8196 0 len = av_len(tempav);
8197 0 arg1 = (double *) malloc((len+2)*sizeof(double));
8198 0 ▶ for (i = 0; i <= len; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; i <= len; i++) { 0 0 0
8199 0 tv = av_fetch(tempav, i, 0);
8200 0 arg1[i] = (double) SvNV(*tv);
8201 }
8202 }
8203 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
8204 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
8205 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_fft_real_transform" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_fft_real_transform" "', argument " "2"" of type '" "size_t""'"); 0 0 0
8206 }
8207 0 arg2 = (size_t)(val2);
8208 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
8209 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
8210 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_fft_real_transform" "', argument " "3"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_fft_real_transform" "', argument " "3"" of type '" "size_t""'"); 0 0 0
8211 }
8212 0 arg3 = (size_t)(val3);
8213 0 res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_gsl_fft_real_wavetable, 0 | 0 );
8214 0 ▶ if (!SWIG_IsOK(res4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res4)) { 0 0 0
8215 0 ▶ SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_fft_real_transform" "', argument " "4"" of type '" "gsl_fft_real_wavetable const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_fft_real_transform" "', argument " "4"" of type '" "gsl_fft_real_wavetable const *""'"); 0 0 0
8216 }
8217 0 arg4 = (gsl_fft_real_wavetable *)(argp4);
8218 0 res5 = SWIG_ConvertPtr(ST(4), &argp5,SWIGTYPE_p_gsl_fft_real_workspace, 0 | 0 );
8219 0 ▶ if (!SWIG_IsOK(res5)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res5)) { 0 0 0
8220 0 ▶ SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "gsl_fft_real_transform" "', argument " "5"" of type '" "gsl_fft_real_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "gsl_fft_real_transform" "', argument " "5"" of type '" "gsl_fft_real_workspace *""'"); 0 0 0
8221 }
8222 0 arg5 = (gsl_fft_real_workspace *)(argp5);
8223 0 _saved[0] = ST(0);
8224 0 result = (int)gsl_fft_real_transform(arg1,arg2,arg3,(gsl_fft_real_wavetable const *)arg4,arg5);
8225 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
8226 {
8227 0 int i=0;
8228 0 AV* tempav = newAV();
8229
8230 0 ▶ while( i < arg3 ) {
Branch: 1 branch
BranchTrueFalseTotal
while( i < arg3 ) { 0 0 0
8231 0 av_push(tempav, newSVnv((double) arg1[i]));
8232 0 i++;
8233 }
8234
8235 0 ST(argvi) = sv_2mortal( newRV_noinc( (SV*) tempav) );
8236 0 argvi++;
8237 }
8238 {
8239 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
8240 }
8241
8242
8243
8244
8245 0 XSRETURN(argvi);
8246 0 fail:
8247 {
8248 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
8249 }
8250
8251
8252
8253
8254 0 SWIG_croak_null();
8255 }
8256 }
8257  
8258  
8259 0 XS(_wrap_gsl_fft_real_unpack) {
8260 {
8261 0 double *arg1 = (double *) (double *)0 ;
8262 0 double *arg2 = (double *) (double *)0 ;
8263 size_t arg3 ;
8264 size_t arg4 ;
8265 size_t val3 ;
8266 0 int ecode3 = 0 ;
8267 size_t val4 ;
8268 0 int ecode4 = 0 ;
8269 0 int argvi = 0;
8270 SV * _saved[1] ;
8271 int result;
8272 0 dXSARGS;
8273
8274 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
8275 0 SWIG_croak("Usage: gsl_fft_real_unpack(real_coefficient,complex_coefficient,stride,n);");
8276 }
8277 {
8278 AV *tempav;
8279 I32 len;
8280 int i;
8281 SV **tv;
8282 0 ▶ if (!SvROK(ST(0)))
Branch: 1 branch
BranchTrueFalseTotal
if (!SvROK(ST(0))) 0 0 0
8283 0 croak("Math::GSL : $real_coefficient is not a reference!");
8284 0 ▶ if (SvTYPE(SvRV(ST(0))) != SVt_PVAV)
Branch: 1 branch
BranchTrueFalseTotal
if (SvTYPE(SvRV(ST(0))) != SVt_PVAV) 0 0 0
8285 0 croak("Math::GSL : $real_coefficient is not an array ref!");
8286
8287 0 tempav = (AV*)SvRV(ST(0));
8288 0 len = av_len(tempav);
8289 0 arg1 = (double *) malloc((len+2)*sizeof(double));
8290 0 ▶ for (i = 0; i <= len; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; i <= len; i++) { 0 0 0
8291 0 tv = av_fetch(tempav, i, 0);
8292 0 arg1[i] = (double) SvNV(*tv);
8293 }
8294 }
8295 {
8296 AV *tempav;
8297 I32 len;
8298 int i;
8299 SV **tv;
8300 0 ▶ if (!SvROK(ST(1)))
Branch: 1 branch
BranchTrueFalseTotal
if (!SvROK(ST(1))) 0 0 0
8301 0 croak("Math::GSL : $complex_coefficient is not a reference!");
8302 0 ▶ if (SvTYPE(SvRV(ST(1))) != SVt_PVAV)
Branch: 1 branch
BranchTrueFalseTotal
if (SvTYPE(SvRV(ST(1))) != SVt_PVAV) 0 0 0
8303 0 croak("Math::GSL : $complex_coefficient is not an array ref!");
8304
8305 0 tempav = (AV*)SvRV(ST(1));
8306 0 len = av_len(tempav);
8307 0 arg2 = (double *) malloc((len+2)*sizeof(double));
8308 0 ▶ for (i = 0; i <= len; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; i <= len; i++) { 0 0 0
8309 0 tv = av_fetch(tempav, i, 0);
8310 0 arg2[i] = (double) SvNV(*tv);
8311 }
8312 }
8313 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
8314 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
8315 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_fft_real_unpack" "', argument " "3"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_fft_real_unpack" "', argument " "3"" of type '" "size_t""'"); 0 0 0
8316 }
8317 0 arg3 = (size_t)(val3);
8318 0 ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
8319 0 ▶ if (!SWIG_IsOK(ecode4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode4)) { 0 0 0
8320 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_fft_real_unpack" "', argument " "4"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_fft_real_unpack" "', argument " "4"" of type '" "size_t""'"); 0 0 0
8321 }
8322 0 arg4 = (size_t)(val4);
8323 0 _saved[0] = ST(0);
8324 0 result = (int)gsl_fft_real_unpack((double const (*))arg1,arg2,arg3,arg4);
8325 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
8326 {
8327 0 printf("FFT ARGOUT unpack\n");
8328 0 int i=0;
8329 0 AV* tempav = newAV();
8330
8331 0 ▶ while( i < arg4 ) {
Branch: 1 branch
BranchTrueFalseTotal
while( i < arg4 ) { 0 0 0
8332 0 av_push(tempav, newSVnv((double) arg1[i]));
8333 0 i++;
8334 }
8335
8336 0 ST(argvi) = sv_2mortal( newRV_noinc( (SV*) tempav) );
8337 0 argvi++;
8338 }
8339 {
8340 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
8341 }
8342 {
8343 0 ▶ if (arg2) free(arg2);
Branch: 1 branch
BranchTrueFalseTotal
if (arg2) free(arg2); 0 0 0
8344 }
8345
8346
8347 0 XSRETURN(argvi);
8348 0 fail:
8349 {
8350 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
8351 }
8352 {
8353 0 ▶ if (arg2) free(arg2);
Branch: 1 branch
BranchTrueFalseTotal
if (arg2) free(arg2); 0 0 0
8354 }
8355
8356
8357 0 SWIG_croak_null();
8358 }
8359 }
8360  
8361  
8362  
8363 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
8364  
8365 static swig_type_info _swigt__p_FILE = {"_p_FILE", "FILE *", 0, 0, (void*)0, 0};
8366 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
8367 static swig_type_info _swigt__p_double = {"_p_double", "gsl_complex_packed_array|double *", 0, 0, (void*)0, 0};
8368 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};
8369 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};
8370 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};
8371 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};
8372 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};
8373 static swig_type_info _swigt__p_float = {"_p_float", "float *", 0, 0, (void*)0, 0};
8374 static swig_type_info _swigt__p_gsl_complex = {"_p_gsl_complex", "gsl_complex *", 0, 0, (void*)"Math::GSL::FFT::gsl_complex", 0};
8375 static swig_type_info _swigt__p_gsl_complex_float = {"_p_gsl_complex_float", "gsl_complex_float *", 0, 0, (void*)"Math::GSL::FFT::gsl_complex_float", 0};
8376 static swig_type_info _swigt__p_gsl_complex_long_double = {"_p_gsl_complex_long_double", "gsl_complex_long_double *", 0, 0, (void*)"Math::GSL::FFT::gsl_complex_long_double", 0};
8377 static swig_type_info _swigt__p_gsl_fft_complex_wavetable = {"_p_gsl_fft_complex_wavetable", "gsl_fft_complex_wavetable *", 0, 0, (void*)"Math::GSL::FFT::gsl_fft_complex_wavetable", 0};
8378 static swig_type_info _swigt__p_gsl_fft_complex_workspace = {"_p_gsl_fft_complex_workspace", "gsl_fft_complex_workspace *", 0, 0, (void*)"Math::GSL::FFT::gsl_fft_complex_workspace", 0};
8379 static swig_type_info _swigt__p_gsl_fft_direction = {"_p_gsl_fft_direction", "gsl_fft_direction *|enum gsl_fft_direction *", 0, 0, (void*)0, 0};
8380 static swig_type_info _swigt__p_gsl_fft_halfcomplex_wavetable = {"_p_gsl_fft_halfcomplex_wavetable", "gsl_fft_halfcomplex_wavetable *", 0, 0, (void*)"Math::GSL::FFT::gsl_fft_halfcomplex_wavetable", 0};
8381 static swig_type_info _swigt__p_gsl_fft_real_wavetable = {"_p_gsl_fft_real_wavetable", "gsl_fft_real_wavetable *", 0, 0, (void*)"Math::GSL::FFT::gsl_fft_real_wavetable", 0};
8382 static swig_type_info _swigt__p_gsl_fft_real_workspace = {"_p_gsl_fft_real_workspace", "gsl_fft_real_workspace *", 0, 0, (void*)"Math::GSL::FFT::gsl_fft_real_workspace", 0};
8383 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::FFT::gsl_function_fdf_struct", 0};
8384 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::FFT::gsl_function_struct", 0};
8385 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::FFT::gsl_function_vec_struct", 0};
8386 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
8387 static swig_type_info _swigt__p_long_double = {"_p_long_double", "long double *", 0, 0, (void*)0, 0};
8388 static swig_type_info _swigt__p_p_gsl_complex = {"_p_p_gsl_complex", "gsl_complex **", 0, 0, (void*)0, 0};
8389 static swig_type_info _swigt__p_size_t = {"_p_size_t", "size_t *", 0, 0, (void*)0, 0};
8390 static swig_type_info _swigt__p_void = {"_p_void", "void *", 0, 0, (void*)0, 0};
8391  
8392 static swig_type_info *swig_type_initial[] = {
8393 &_swigt__p_FILE,
8394 &_swigt__p_char,
8395 &_swigt__p_double,
8396 &_swigt__p_f_double_a___double_p_void__int,
8397 &_swigt__p_f_double_p_void__double,
8398 &_swigt__p_f_double_p_void_p_double_p_double__void,
8399 &_swigt__p_f_p_q_const__char_p_q_const__char_int_int__void,
8400 &_swigt__p_f_p_q_const__char_p_q_const__char_int_p_q_const__char__void,
8401 &_swigt__p_float,
8402 &_swigt__p_gsl_complex,
8403 &_swigt__p_gsl_complex_float,
8404 &_swigt__p_gsl_complex_long_double,
8405 &_swigt__p_gsl_fft_complex_wavetable,
8406 &_swigt__p_gsl_fft_complex_workspace,
8407 &_swigt__p_gsl_fft_direction,
8408 &_swigt__p_gsl_fft_halfcomplex_wavetable,
8409 &_swigt__p_gsl_fft_real_wavetable,
8410 &_swigt__p_gsl_fft_real_workspace,
8411 &_swigt__p_gsl_function_fdf_struct,
8412 &_swigt__p_gsl_function_struct,
8413 &_swigt__p_gsl_function_vec_struct,
8414 &_swigt__p_int,
8415 &_swigt__p_long_double,
8416 &_swigt__p_p_gsl_complex,
8417 &_swigt__p_size_t,
8418 &_swigt__p_void,
8419 };
8420  
8421 static swig_cast_info _swigc__p_FILE[] = { {&_swigt__p_FILE, 0, 0, 0},{0, 0, 0, 0}};
8422 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
8423 static swig_cast_info _swigc__p_double[] = { {&_swigt__p_double, 0, 0, 0},{0, 0, 0, 0}};
8424 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}};
8425 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}};
8426 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}};
8427 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}};
8428 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}};
8429 static swig_cast_info _swigc__p_float[] = { {&_swigt__p_float, 0, 0, 0},{0, 0, 0, 0}};
8430 static swig_cast_info _swigc__p_gsl_complex[] = { {&_swigt__p_gsl_complex, 0, 0, 0},{0, 0, 0, 0}};
8431 static swig_cast_info _swigc__p_gsl_complex_float[] = { {&_swigt__p_gsl_complex_float, 0, 0, 0},{0, 0, 0, 0}};
8432 static swig_cast_info _swigc__p_gsl_complex_long_double[] = { {&_swigt__p_gsl_complex_long_double, 0, 0, 0},{0, 0, 0, 0}};
8433 static swig_cast_info _swigc__p_gsl_fft_complex_wavetable[] = { {&_swigt__p_gsl_fft_complex_wavetable, 0, 0, 0},{0, 0, 0, 0}};
8434 static swig_cast_info _swigc__p_gsl_fft_complex_workspace[] = { {&_swigt__p_gsl_fft_complex_workspace, 0, 0, 0},{0, 0, 0, 0}};
8435 static swig_cast_info _swigc__p_gsl_fft_direction[] = { {&_swigt__p_gsl_fft_direction, 0, 0, 0},{0, 0, 0, 0}};
8436 static swig_cast_info _swigc__p_gsl_fft_halfcomplex_wavetable[] = { {&_swigt__p_gsl_fft_halfcomplex_wavetable, 0, 0, 0},{0, 0, 0, 0}};
8437 static swig_cast_info _swigc__p_gsl_fft_real_wavetable[] = { {&_swigt__p_gsl_fft_real_wavetable, 0, 0, 0},{0, 0, 0, 0}};
8438 static swig_cast_info _swigc__p_gsl_fft_real_workspace[] = { {&_swigt__p_gsl_fft_real_workspace, 0, 0, 0},{0, 0, 0, 0}};
8439 static swig_cast_info _swigc__p_gsl_function_fdf_struct[] = { {&_swigt__p_gsl_function_fdf_struct, 0, 0, 0},{0, 0, 0, 0}};
8440 static swig_cast_info _swigc__p_gsl_function_struct[] = { {&_swigt__p_gsl_function_struct, 0, 0, 0},{0, 0, 0, 0}};
8441 static swig_cast_info _swigc__p_gsl_function_vec_struct[] = { {&_swigt__p_gsl_function_vec_struct, 0, 0, 0},{0, 0, 0, 0}};
8442 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
8443 static swig_cast_info _swigc__p_long_double[] = { {&_swigt__p_long_double, 0, 0, 0},{0, 0, 0, 0}};
8444 static swig_cast_info _swigc__p_p_gsl_complex[] = { {&_swigt__p_p_gsl_complex, 0, 0, 0},{0, 0, 0, 0}};
8445 static swig_cast_info _swigc__p_size_t[] = { {&_swigt__p_size_t, 0, 0, 0},{0, 0, 0, 0}};
8446 static swig_cast_info _swigc__p_void[] = { {&_swigt__p_void, 0, 0, 0},{0, 0, 0, 0}};
8447  
8448 static swig_cast_info *swig_cast_initial[] = {
8449 _swigc__p_FILE,
8450 _swigc__p_char,
8451 _swigc__p_double,
8452 _swigc__p_f_double_a___double_p_void__int,
8453 _swigc__p_f_double_p_void__double,
8454 _swigc__p_f_double_p_void_p_double_p_double__void,
8455 _swigc__p_f_p_q_const__char_p_q_const__char_int_int__void,
8456 _swigc__p_f_p_q_const__char_p_q_const__char_int_p_q_const__char__void,
8457 _swigc__p_float,
8458 _swigc__p_gsl_complex,
8459 _swigc__p_gsl_complex_float,
8460 _swigc__p_gsl_complex_long_double,
8461 _swigc__p_gsl_fft_complex_wavetable,
8462 _swigc__p_gsl_fft_complex_workspace,
8463 _swigc__p_gsl_fft_direction,
8464 _swigc__p_gsl_fft_halfcomplex_wavetable,
8465 _swigc__p_gsl_fft_real_wavetable,
8466 _swigc__p_gsl_fft_real_workspace,
8467 _swigc__p_gsl_function_fdf_struct,
8468 _swigc__p_gsl_function_struct,
8469 _swigc__p_gsl_function_vec_struct,
8470 _swigc__p_int,
8471 _swigc__p_long_double,
8472 _swigc__p_p_gsl_complex,
8473 _swigc__p_size_t,
8474 _swigc__p_void,
8475 };
8476  
8477  
8478 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
8479  
8480 static swig_constant_info swig_constants[] = {
8481 {0,0,0,0,0,0}
8482 };
8483 #ifdef __cplusplus
8484 }
8485 #endif
8486 static swig_variable_info swig_variables[] = {
8487 {0,0,0,0}
8488 };
8489 static swig_command_info swig_commands[] = {
8490 {"Math::GSL::FFTc::gsl_error", _wrap_gsl_error},
8491 {"Math::GSL::FFTc::gsl_stream_printf", _wrap_gsl_stream_printf},
8492 {"Math::GSL::FFTc::gsl_strerror", _wrap_gsl_strerror},
8493 {"Math::GSL::FFTc::gsl_set_error_handler", _wrap_gsl_set_error_handler},
8494 {"Math::GSL::FFTc::gsl_set_error_handler_off", _wrap_gsl_set_error_handler_off},
8495 {"Math::GSL::FFTc::gsl_set_stream_handler", _wrap_gsl_set_stream_handler},
8496 {"Math::GSL::FFTc::gsl_set_stream", _wrap_gsl_set_stream},
8497 {"Math::GSL::FFTc::gsl_function_struct_function_set", _wrap_gsl_function_struct_function_set},
8498 {"Math::GSL::FFTc::gsl_function_struct_function_get", _wrap_gsl_function_struct_function_get},
8499 {"Math::GSL::FFTc::gsl_function_struct_params_set", _wrap_gsl_function_struct_params_set},
8500 {"Math::GSL::FFTc::gsl_function_struct_params_get", _wrap_gsl_function_struct_params_get},
8501 {"Math::GSL::FFTc::new_gsl_function_struct", _wrap_new_gsl_function_struct},
8502 {"Math::GSL::FFTc::delete_gsl_function_struct", _wrap_delete_gsl_function_struct},
8503 {"Math::GSL::FFTc::gsl_function_fdf_struct_f_set", _wrap_gsl_function_fdf_struct_f_set},
8504 {"Math::GSL::FFTc::gsl_function_fdf_struct_f_get", _wrap_gsl_function_fdf_struct_f_get},
8505 {"Math::GSL::FFTc::gsl_function_fdf_struct_df_set", _wrap_gsl_function_fdf_struct_df_set},
8506 {"Math::GSL::FFTc::gsl_function_fdf_struct_df_get", _wrap_gsl_function_fdf_struct_df_get},
8507 {"Math::GSL::FFTc::gsl_function_fdf_struct_fdf_set", _wrap_gsl_function_fdf_struct_fdf_set},
8508 {"Math::GSL::FFTc::gsl_function_fdf_struct_fdf_get", _wrap_gsl_function_fdf_struct_fdf_get},
8509 {"Math::GSL::FFTc::gsl_function_fdf_struct_params_set", _wrap_gsl_function_fdf_struct_params_set},
8510 {"Math::GSL::FFTc::gsl_function_fdf_struct_params_get", _wrap_gsl_function_fdf_struct_params_get},
8511 {"Math::GSL::FFTc::new_gsl_function_fdf_struct", _wrap_new_gsl_function_fdf_struct},
8512 {"Math::GSL::FFTc::delete_gsl_function_fdf_struct", _wrap_delete_gsl_function_fdf_struct},
8513 {"Math::GSL::FFTc::gsl_function_vec_struct_function_set", _wrap_gsl_function_vec_struct_function_set},
8514 {"Math::GSL::FFTc::gsl_function_vec_struct_function_get", _wrap_gsl_function_vec_struct_function_get},
8515 {"Math::GSL::FFTc::gsl_function_vec_struct_params_set", _wrap_gsl_function_vec_struct_params_set},
8516 {"Math::GSL::FFTc::gsl_function_vec_struct_params_get", _wrap_gsl_function_vec_struct_params_get},
8517 {"Math::GSL::FFTc::new_gsl_function_vec_struct", _wrap_new_gsl_function_vec_struct},
8518 {"Math::GSL::FFTc::delete_gsl_function_vec_struct", _wrap_delete_gsl_function_vec_struct},
8519 {"Math::GSL::FFTc::gsl_log1p", _wrap_gsl_log1p},
8520 {"Math::GSL::FFTc::gsl_expm1", _wrap_gsl_expm1},
8521 {"Math::GSL::FFTc::gsl_hypot", _wrap_gsl_hypot},
8522 {"Math::GSL::FFTc::gsl_hypot3", _wrap_gsl_hypot3},
8523 {"Math::GSL::FFTc::gsl_acosh", _wrap_gsl_acosh},
8524 {"Math::GSL::FFTc::gsl_asinh", _wrap_gsl_asinh},
8525 {"Math::GSL::FFTc::gsl_atanh", _wrap_gsl_atanh},
8526 {"Math::GSL::FFTc::gsl_isnan", _wrap_gsl_isnan},
8527 {"Math::GSL::FFTc::gsl_isinf", _wrap_gsl_isinf},
8528 {"Math::GSL::FFTc::gsl_finite", _wrap_gsl_finite},
8529 {"Math::GSL::FFTc::gsl_nan", _wrap_gsl_nan},
8530 {"Math::GSL::FFTc::gsl_posinf", _wrap_gsl_posinf},
8531 {"Math::GSL::FFTc::gsl_neginf", _wrap_gsl_neginf},
8532 {"Math::GSL::FFTc::gsl_fdiv", _wrap_gsl_fdiv},
8533 {"Math::GSL::FFTc::gsl_coerce_double", _wrap_gsl_coerce_double},
8534 {"Math::GSL::FFTc::gsl_coerce_float", _wrap_gsl_coerce_float},
8535 {"Math::GSL::FFTc::gsl_coerce_long_double", _wrap_gsl_coerce_long_double},
8536 {"Math::GSL::FFTc::gsl_ldexp", _wrap_gsl_ldexp},
8537 {"Math::GSL::FFTc::gsl_frexp", _wrap_gsl_frexp},
8538 {"Math::GSL::FFTc::gsl_fcmp", _wrap_gsl_fcmp},
8539 {"Math::GSL::FFTc::gsl_pow_2", _wrap_gsl_pow_2},
8540 {"Math::GSL::FFTc::gsl_pow_3", _wrap_gsl_pow_3},
8541 {"Math::GSL::FFTc::gsl_pow_4", _wrap_gsl_pow_4},
8542 {"Math::GSL::FFTc::gsl_pow_5", _wrap_gsl_pow_5},
8543 {"Math::GSL::FFTc::gsl_pow_6", _wrap_gsl_pow_6},
8544 {"Math::GSL::FFTc::gsl_pow_7", _wrap_gsl_pow_7},
8545 {"Math::GSL::FFTc::gsl_pow_8", _wrap_gsl_pow_8},
8546 {"Math::GSL::FFTc::gsl_pow_9", _wrap_gsl_pow_9},
8547 {"Math::GSL::FFTc::gsl_pow_int", _wrap_gsl_pow_int},
8548 {"Math::GSL::FFTc::gsl_pow_uint", _wrap_gsl_pow_uint},
8549 {"Math::GSL::FFTc::gsl_complex_dat_set", _wrap_gsl_complex_dat_set},
8550 {"Math::GSL::FFTc::gsl_complex_dat_get", _wrap_gsl_complex_dat_get},
8551 {"Math::GSL::FFTc::new_gsl_complex", _wrap_new_gsl_complex},
8552 {"Math::GSL::FFTc::delete_gsl_complex", _wrap_delete_gsl_complex},
8553 {"Math::GSL::FFTc::gsl_complex_long_double_dat_set", _wrap_gsl_complex_long_double_dat_set},
8554 {"Math::GSL::FFTc::gsl_complex_long_double_dat_get", _wrap_gsl_complex_long_double_dat_get},
8555 {"Math::GSL::FFTc::new_gsl_complex_long_double", _wrap_new_gsl_complex_long_double},
8556 {"Math::GSL::FFTc::delete_gsl_complex_long_double", _wrap_delete_gsl_complex_long_double},
8557 {"Math::GSL::FFTc::gsl_complex_float_dat_set", _wrap_gsl_complex_float_dat_set},
8558 {"Math::GSL::FFTc::gsl_complex_float_dat_get", _wrap_gsl_complex_float_dat_get},
8559 {"Math::GSL::FFTc::new_gsl_complex_float", _wrap_new_gsl_complex_float},
8560 {"Math::GSL::FFTc::delete_gsl_complex_float", _wrap_delete_gsl_complex_float},
8561 {"Math::GSL::FFTc::gsl_fft_complex_radix2_forward", _wrap_gsl_fft_complex_radix2_forward},
8562 {"Math::GSL::FFTc::gsl_fft_complex_radix2_backward", _wrap_gsl_fft_complex_radix2_backward},
8563 {"Math::GSL::FFTc::gsl_fft_complex_radix2_inverse", _wrap_gsl_fft_complex_radix2_inverse},
8564 {"Math::GSL::FFTc::gsl_fft_complex_radix2_transform", _wrap_gsl_fft_complex_radix2_transform},
8565 {"Math::GSL::FFTc::gsl_fft_complex_radix2_dif_forward", _wrap_gsl_fft_complex_radix2_dif_forward},
8566 {"Math::GSL::FFTc::gsl_fft_complex_radix2_dif_backward", _wrap_gsl_fft_complex_radix2_dif_backward},
8567 {"Math::GSL::FFTc::gsl_fft_complex_radix2_dif_inverse", _wrap_gsl_fft_complex_radix2_dif_inverse},
8568 {"Math::GSL::FFTc::gsl_fft_complex_radix2_dif_transform", _wrap_gsl_fft_complex_radix2_dif_transform},
8569 {"Math::GSL::FFTc::gsl_fft_complex_wavetable_n_set", _wrap_gsl_fft_complex_wavetable_n_set},
8570 {"Math::GSL::FFTc::gsl_fft_complex_wavetable_n_get", _wrap_gsl_fft_complex_wavetable_n_get},
8571 {"Math::GSL::FFTc::gsl_fft_complex_wavetable_nf_set", _wrap_gsl_fft_complex_wavetable_nf_set},
8572 {"Math::GSL::FFTc::gsl_fft_complex_wavetable_nf_get", _wrap_gsl_fft_complex_wavetable_nf_get},
8573 {"Math::GSL::FFTc::gsl_fft_complex_wavetable_factor_set", _wrap_gsl_fft_complex_wavetable_factor_set},
8574 {"Math::GSL::FFTc::gsl_fft_complex_wavetable_factor_get", _wrap_gsl_fft_complex_wavetable_factor_get},
8575 {"Math::GSL::FFTc::gsl_fft_complex_wavetable_twiddle_set", _wrap_gsl_fft_complex_wavetable_twiddle_set},
8576 {"Math::GSL::FFTc::gsl_fft_complex_wavetable_twiddle_get", _wrap_gsl_fft_complex_wavetable_twiddle_get},
8577 {"Math::GSL::FFTc::gsl_fft_complex_wavetable_trig_set", _wrap_gsl_fft_complex_wavetable_trig_set},
8578 {"Math::GSL::FFTc::gsl_fft_complex_wavetable_trig_get", _wrap_gsl_fft_complex_wavetable_trig_get},
8579 {"Math::GSL::FFTc::new_gsl_fft_complex_wavetable", _wrap_new_gsl_fft_complex_wavetable},
8580 {"Math::GSL::FFTc::delete_gsl_fft_complex_wavetable", _wrap_delete_gsl_fft_complex_wavetable},
8581 {"Math::GSL::FFTc::gsl_fft_complex_workspace_n_set", _wrap_gsl_fft_complex_workspace_n_set},
8582 {"Math::GSL::FFTc::gsl_fft_complex_workspace_n_get", _wrap_gsl_fft_complex_workspace_n_get},
8583 {"Math::GSL::FFTc::gsl_fft_complex_workspace_scratch_set", _wrap_gsl_fft_complex_workspace_scratch_set},
8584 {"Math::GSL::FFTc::gsl_fft_complex_workspace_scratch_get", _wrap_gsl_fft_complex_workspace_scratch_get},
8585 {"Math::GSL::FFTc::new_gsl_fft_complex_workspace", _wrap_new_gsl_fft_complex_workspace},
8586 {"Math::GSL::FFTc::delete_gsl_fft_complex_workspace", _wrap_delete_gsl_fft_complex_workspace},
8587 {"Math::GSL::FFTc::gsl_fft_complex_wavetable_alloc", _wrap_gsl_fft_complex_wavetable_alloc},
8588 {"Math::GSL::FFTc::gsl_fft_complex_wavetable_free", _wrap_gsl_fft_complex_wavetable_free},
8589 {"Math::GSL::FFTc::gsl_fft_complex_workspace_alloc", _wrap_gsl_fft_complex_workspace_alloc},
8590 {"Math::GSL::FFTc::gsl_fft_complex_workspace_free", _wrap_gsl_fft_complex_workspace_free},
8591 {"Math::GSL::FFTc::gsl_fft_complex_memcpy", _wrap_gsl_fft_complex_memcpy},
8592 {"Math::GSL::FFTc::gsl_fft_complex_forward", _wrap_gsl_fft_complex_forward},
8593 {"Math::GSL::FFTc::gsl_fft_complex_backward", _wrap_gsl_fft_complex_backward},
8594 {"Math::GSL::FFTc::gsl_fft_complex_inverse", _wrap_gsl_fft_complex_inverse},
8595 {"Math::GSL::FFTc::gsl_fft_complex_transform", _wrap_gsl_fft_complex_transform},
8596 {"Math::GSL::FFTc::gsl_fft_halfcomplex_radix2_backward", _wrap_gsl_fft_halfcomplex_radix2_backward},
8597 {"Math::GSL::FFTc::gsl_fft_halfcomplex_radix2_inverse", _wrap_gsl_fft_halfcomplex_radix2_inverse},
8598 {"Math::GSL::FFTc::gsl_fft_halfcomplex_radix2_transform", _wrap_gsl_fft_halfcomplex_radix2_transform},
8599 {"Math::GSL::FFTc::gsl_fft_halfcomplex_wavetable_n_set", _wrap_gsl_fft_halfcomplex_wavetable_n_set},
8600 {"Math::GSL::FFTc::gsl_fft_halfcomplex_wavetable_n_get", _wrap_gsl_fft_halfcomplex_wavetable_n_get},
8601 {"Math::GSL::FFTc::gsl_fft_halfcomplex_wavetable_nf_set", _wrap_gsl_fft_halfcomplex_wavetable_nf_set},
8602 {"Math::GSL::FFTc::gsl_fft_halfcomplex_wavetable_nf_get", _wrap_gsl_fft_halfcomplex_wavetable_nf_get},
8603 {"Math::GSL::FFTc::gsl_fft_halfcomplex_wavetable_factor_set", _wrap_gsl_fft_halfcomplex_wavetable_factor_set},
8604 {"Math::GSL::FFTc::gsl_fft_halfcomplex_wavetable_factor_get", _wrap_gsl_fft_halfcomplex_wavetable_factor_get},
8605 {"Math::GSL::FFTc::gsl_fft_halfcomplex_wavetable_twiddle_set", _wrap_gsl_fft_halfcomplex_wavetable_twiddle_set},
8606 {"Math::GSL::FFTc::gsl_fft_halfcomplex_wavetable_twiddle_get", _wrap_gsl_fft_halfcomplex_wavetable_twiddle_get},
8607 {"Math::GSL::FFTc::gsl_fft_halfcomplex_wavetable_trig_set", _wrap_gsl_fft_halfcomplex_wavetable_trig_set},
8608 {"Math::GSL::FFTc::gsl_fft_halfcomplex_wavetable_trig_get", _wrap_gsl_fft_halfcomplex_wavetable_trig_get},
8609 {"Math::GSL::FFTc::new_gsl_fft_halfcomplex_wavetable", _wrap_new_gsl_fft_halfcomplex_wavetable},
8610 {"Math::GSL::FFTc::delete_gsl_fft_halfcomplex_wavetable", _wrap_delete_gsl_fft_halfcomplex_wavetable},
8611 {"Math::GSL::FFTc::gsl_fft_halfcomplex_wavetable_alloc", _wrap_gsl_fft_halfcomplex_wavetable_alloc},
8612 {"Math::GSL::FFTc::gsl_fft_halfcomplex_wavetable_free", _wrap_gsl_fft_halfcomplex_wavetable_free},
8613 {"Math::GSL::FFTc::gsl_fft_halfcomplex_backward", _wrap_gsl_fft_halfcomplex_backward},
8614 {"Math::GSL::FFTc::gsl_fft_halfcomplex_inverse", _wrap_gsl_fft_halfcomplex_inverse},
8615 {"Math::GSL::FFTc::gsl_fft_halfcomplex_transform", _wrap_gsl_fft_halfcomplex_transform},
8616 {"Math::GSL::FFTc::gsl_fft_halfcomplex_unpack", _wrap_gsl_fft_halfcomplex_unpack},
8617 {"Math::GSL::FFTc::gsl_fft_halfcomplex_radix2_unpack", _wrap_gsl_fft_halfcomplex_radix2_unpack},
8618 {"Math::GSL::FFTc::gsl_fft_real_radix2_transform", _wrap_gsl_fft_real_radix2_transform},
8619 {"Math::GSL::FFTc::gsl_fft_real_wavetable_n_set", _wrap_gsl_fft_real_wavetable_n_set},
8620 {"Math::GSL::FFTc::gsl_fft_real_wavetable_n_get", _wrap_gsl_fft_real_wavetable_n_get},
8621 {"Math::GSL::FFTc::gsl_fft_real_wavetable_nf_set", _wrap_gsl_fft_real_wavetable_nf_set},
8622 {"Math::GSL::FFTc::gsl_fft_real_wavetable_nf_get", _wrap_gsl_fft_real_wavetable_nf_get},
8623 {"Math::GSL::FFTc::gsl_fft_real_wavetable_factor_set", _wrap_gsl_fft_real_wavetable_factor_set},
8624 {"Math::GSL::FFTc::gsl_fft_real_wavetable_factor_get", _wrap_gsl_fft_real_wavetable_factor_get},
8625 {"Math::GSL::FFTc::gsl_fft_real_wavetable_twiddle_set", _wrap_gsl_fft_real_wavetable_twiddle_set},
8626 {"Math::GSL::FFTc::gsl_fft_real_wavetable_twiddle_get", _wrap_gsl_fft_real_wavetable_twiddle_get},
8627 {"Math::GSL::FFTc::gsl_fft_real_wavetable_trig_set", _wrap_gsl_fft_real_wavetable_trig_set},
8628 {"Math::GSL::FFTc::gsl_fft_real_wavetable_trig_get", _wrap_gsl_fft_real_wavetable_trig_get},
8629 {"Math::GSL::FFTc::new_gsl_fft_real_wavetable", _wrap_new_gsl_fft_real_wavetable},
8630 {"Math::GSL::FFTc::delete_gsl_fft_real_wavetable", _wrap_delete_gsl_fft_real_wavetable},
8631 {"Math::GSL::FFTc::gsl_fft_real_workspace_n_set", _wrap_gsl_fft_real_workspace_n_set},
8632 {"Math::GSL::FFTc::gsl_fft_real_workspace_n_get", _wrap_gsl_fft_real_workspace_n_get},
8633 {"Math::GSL::FFTc::gsl_fft_real_workspace_scratch_set", _wrap_gsl_fft_real_workspace_scratch_set},
8634 {"Math::GSL::FFTc::gsl_fft_real_workspace_scratch_get", _wrap_gsl_fft_real_workspace_scratch_get},
8635 {"Math::GSL::FFTc::new_gsl_fft_real_workspace", _wrap_new_gsl_fft_real_workspace},
8636 {"Math::GSL::FFTc::delete_gsl_fft_real_workspace", _wrap_delete_gsl_fft_real_workspace},
8637 {"Math::GSL::FFTc::gsl_fft_real_wavetable_alloc", _wrap_gsl_fft_real_wavetable_alloc},
8638 {"Math::GSL::FFTc::gsl_fft_real_wavetable_free", _wrap_gsl_fft_real_wavetable_free},
8639 {"Math::GSL::FFTc::gsl_fft_real_workspace_alloc", _wrap_gsl_fft_real_workspace_alloc},
8640 {"Math::GSL::FFTc::gsl_fft_real_workspace_free", _wrap_gsl_fft_real_workspace_free},
8641 {"Math::GSL::FFTc::gsl_fft_real_transform", _wrap_gsl_fft_real_transform},
8642 {"Math::GSL::FFTc::gsl_fft_real_unpack", _wrap_gsl_fft_real_unpack},
8643 {0,0}
8644 };
8645 /* -----------------------------------------------------------------------------
8646 * Type initialization:
8647 * This problem is tough by the requirement that no dynamic
8648 * memory is used. Also, since swig_type_info structures store pointers to
8649 * swig_cast_info structures and swig_cast_info structures store pointers back
8650 * to swig_type_info structures, we need some lookup code at initialization.
8651 * The idea is that swig generates all the structures that are needed.
8652 * The runtime then collects these partially filled structures.
8653 * The SWIG_InitializeModule function takes these initial arrays out of
8654 * swig_module, and does all the lookup, filling in the swig_module.types
8655 * array with the correct data and linking the correct swig_cast_info
8656 * structures together.
8657 *
8658 * The generated swig_type_info structures are assigned statically to an initial
8659 * array. We just loop through that array, and handle each type individually.
8660 * First we lookup if this type has been already loaded, and if so, use the
8661 * loaded structure instead of the generated one. Then we have to fill in the
8662 * cast linked list. The cast data is initially stored in something like a
8663 * two-dimensional array. Each row corresponds to a type (there are the same
8664 * number of rows as there are in the swig_type_initial array). Each entry in
8665 * a column is one of the swig_cast_info structures for that type.
8666 * The cast_initial array is actually an array of arrays, because each row has
8667 * a variable number of columns. So to actually build the cast linked list,
8668 * we find the array of casts associated with the type, and loop through it
8669 * adding the casts to the list. The one last trick we need to do is making
8670 * sure the type pointer in the swig_cast_info struct is correct.
8671 *
8672 * First off, we lookup the cast->type name to see if it is already loaded.
8673 * There are three cases to handle:
8674 * 1) If the cast->type has already been loaded AND the type we are adding
8675 * casting info to has not been loaded (it is in this module), THEN we
8676 * replace the cast->type pointer with the type pointer that has already
8677 * been loaded.
8678 * 2) If BOTH types (the one we are adding casting info to, and the
8679 * cast->type) are loaded, THEN the cast info has already been loaded by
8680 * the previous module so we just ignore it.
8681 * 3) Finally, if cast->type has not already been loaded, then we add that
8682 * swig_cast_info to the linked list (because the cast->type) pointer will
8683 * be correct.
8684 * ----------------------------------------------------------------------------- */
8685  
8686 #ifdef __cplusplus
8687 extern "C" {
8688 #if 0
8689 } /* c-mode */
8690 #endif
8691 #endif
8692  
8693 #if 0
8694 #define SWIGRUNTIME_DEBUG
8695 #endif
8696  
8697 #ifndef SWIG_INIT_CLIENT_DATA_TYPE
8698 #define SWIG_INIT_CLIENT_DATA_TYPE void *
8699 #endif
8700  
8701 SWIGRUNTIME void
8702 0 SWIG_InitializeModule(SWIG_INIT_CLIENT_DATA_TYPE clientdata) {
8703 size_t i;
8704 swig_module_info *module_head, *iter;
8705 int init;
8706
8707 /* check to see if the circular list has been setup, if not, set it up */
8708 0 ▶ if (swig_module.next==0) {
Branch: 1 branch
BranchTrueFalseTotal
if (swig_module.next==0) { 0 0 0
8709 /* Initialize the swig_module */
8710 0 swig_module.type_initial = swig_type_initial;
8711 0 swig_module.cast_initial = swig_cast_initial;
8712 0 swig_module.next = &swig_module;
8713 0 init = 1;
8714 } else {
8715 0 init = 0;
8716 }
8717
8718 /* Try and load any already created modules */
8719 0 module_head = SWIG_GetModule(clientdata);
8720 0 ▶ if (!module_head) {
Branch: 1 branch
BranchTrueFalseTotal
if (!module_head) { 0 0 0
8721 /* This is the first module loaded for this interpreter */
8722 /* so set the swig module into the interpreter */
8723 0 SWIG_SetModule(clientdata, &swig_module);
8724 } else {
8725 /* the interpreter has loaded a SWIG module, but has it loaded this one? */
8726 0 iter=module_head;
8727 do {
8728 0 ▶ if (iter==&swig_module) {
Branch: 1 branch
BranchTrueFalseTotal
if (iter==&swig_module) { 0 0 0
8729 /* Our module is already in the list, so there's nothing more to do. */
8730 0 return;
8731 }
8732 0 iter=iter->next;
8733 0 ▶ } while (iter!= module_head);
Branch: 1 branch
BranchTrueFalseTotal
} while (iter!= module_head); 0 0 0
8734
8735 /* otherwise we must add our module into the list */
8736 0 swig_module.next = module_head->next;
8737 0 module_head->next = &swig_module;
8738 }
8739
8740 /* When multiple interpreters are used, a module could have already been initialized in
8741 a different interpreter, but not yet have a pointer in this interpreter.
8742 In this case, we do not want to continue adding types... everything should be
8743 set up already */
8744 0 ▶ if (init == 0) return;
Branch: 1 branch
BranchTrueFalseTotal
if (init == 0) return; 0 0 0
8745
8746 /* Now work on filling in swig_module.types */
8747 #ifdef SWIGRUNTIME_DEBUG
8748 printf("SWIG_InitializeModule: size %lu\n", (unsigned long)swig_module.size);
8749 #endif
8750 0 ▶ for (i = 0; i < swig_module.size; ++i) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; i < swig_module.size; ++i) { 0 0 0
8751 0 swig_type_info *type = 0;
8752 swig_type_info *ret;
8753 swig_cast_info *cast;
8754
8755 #ifdef SWIGRUNTIME_DEBUG
8756 printf("SWIG_InitializeModule: type %lu %s\n", (unsigned long)i, swig_module.type_initial[i]->name);
8757 #endif
8758
8759 /* if there is another module already loaded */
8760 0 ▶ if (swig_module.next != &swig_module) {
Branch: 1 branch
BranchTrueFalseTotal
if (swig_module.next != &swig_module) { 0 0 0
8761 0 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
8762 }
8763 0 ▶ if (type) {
Branch: 1 branch
BranchTrueFalseTotal
if (type) { 0 0 0
8764 /* Overwrite clientdata field */
8765 #ifdef SWIGRUNTIME_DEBUG
8766 printf("SWIG_InitializeModule: found type %s\n", type->name);
8767 #endif
8768 0 ▶ if (swig_module.type_initial[i]->clientdata) {
Branch: 1 branch
BranchTrueFalseTotal
if (swig_module.type_initial[i]->clientdata) { 0 0 0
8769 0 type->clientdata = swig_module.type_initial[i]->clientdata;
8770 #ifdef SWIGRUNTIME_DEBUG
8771 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
8772 #endif
8773 }
8774 } else {
8775 0 type = swig_module.type_initial[i];
8776 }
8777
8778 /* Insert casting types */
8779 0 cast = swig_module.cast_initial[i];
8780 0 ▶ while (cast->type) {
Branch: 1 branch
BranchTrueFalseTotal
while (cast->type) { 0 0 0
8781 /* Don't need to add information already in the list */
8782 0 ret = 0;
8783 #ifdef SWIGRUNTIME_DEBUG
8784 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
8785 #endif
8786 0 ▶ if (swig_module.next != &swig_module) {
Branch: 1 branch
BranchTrueFalseTotal
if (swig_module.next != &swig_module) { 0 0 0
8787 0 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
8788 #ifdef SWIGRUNTIME_DEBUG
8789 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
8790 #endif
8791 }
8792 0 ▶ if (ret) {
Branch: 1 branch
BranchTrueFalseTotal
if (ret) { 0 0 0
8793 0 ▶ if (type == swig_module.type_initial[i]) {
Branch: 1 branch
BranchTrueFalseTotal
if (type == swig_module.type_initial[i]) { 0 0 0
8794 #ifdef SWIGRUNTIME_DEBUG
8795 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
8796 #endif
8797 0 cast->type = ret;
8798 0 ret = 0;
8799 } else {
8800 /* Check for casting already in the list */
8801 0 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
8802 #ifdef SWIGRUNTIME_DEBUG
8803 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
8804 #endif
8805 0 ▶ if (!ocast) ret = 0;
Branch: 1 branch
BranchTrueFalseTotal
if (!ocast) ret = 0; 0 0 0
8806 }
8807 }
8808
8809 0 ▶ if (!ret) {
Branch: 1 branch
BranchTrueFalseTotal
if (!ret) { 0 0 0
8810 #ifdef SWIGRUNTIME_DEBUG
8811 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
8812 #endif
8813 0 ▶ if (type->cast) {
Branch: 1 branch
BranchTrueFalseTotal
if (type->cast) { 0 0 0
8814 0 type->cast->prev = cast;
8815 0 cast->next = type->cast;
8816 }
8817 0 type->cast = cast;
8818 }
8819 0 cast++;
8820 }
8821 /* Set entry in modules->types array equal to the type */
8822 0 swig_module.types[i] = type;
8823 }
8824 0 swig_module.types[i] = 0;
8825
8826 #ifdef SWIGRUNTIME_DEBUG
8827 printf("**** SWIG_InitializeModule: Cast List ******\n");
8828 for (i = 0; i < swig_module.size; ++i) {
8829 int j = 0;
8830 swig_cast_info *cast = swig_module.cast_initial[i];
8831 printf("SWIG_InitializeModule: type %lu %s\n", (unsigned long)i, swig_module.type_initial[i]->name);
8832 while (cast->type) {
8833 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
8834 cast++;
8835 ++j;
8836 }
8837 printf("---- Total casts: %d\n",j);
8838 }
8839 printf("**** SWIG_InitializeModule: Cast List ******\n");
8840 #endif
8841 }
8842  
8843 /* This function will propagate the clientdata field of type to
8844 * any new swig_type_info structures that have been added into the list
8845 * of equivalent types. It is like calling
8846 * SWIG_TypeClientData(type, clientdata) a second time.
8847 */
8848 SWIGRUNTIME void
8849 0 SWIG_PropagateClientData(void) {
8850 size_t i;
8851 swig_cast_info *equiv;
8852 static int init_run = 0;
8853
8854 0 ▶ if (init_run) return;
Branch: 1 branch
BranchTrueFalseTotal
if (init_run) return; 0 0 0
8855 0 init_run = 1;
8856
8857 0 ▶ for (i = 0; i < swig_module.size; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; i < swig_module.size; i++) { 0 0 0
8858 0 ▶ if (swig_module.types[i]->clientdata) {
Branch: 1 branch
BranchTrueFalseTotal
if (swig_module.types[i]->clientdata) { 0 0 0
8859 0 equiv = swig_module.types[i]->cast;
8860 0 ▶ while (equiv) {
Branch: 1 branch
BranchTrueFalseTotal
while (equiv) { 0 0 0
8861 0 ▶ if (!equiv->converter) {
Branch: 1 branch
BranchTrueFalseTotal
if (!equiv->converter) { 0 0 0
8862 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
8863 0 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
8864 }
8865 0 equiv = equiv->next;
8866 }
8867 }
8868 }
8869 }
8870  
8871 #ifdef __cplusplus
8872 #if 0
8873 {
8874 /* c-mode */
8875 #endif
8876 }
8877 #endif
8878  
8879  
8880  
8881 #if defined(__cplusplus) && ! defined(XSPROTO)
8882 extern "C"
8883 #endif
8884  
8885 0 XS(SWIG_init) {
8886 0 dXSARGS;
8887 int i;
8888 (void)items;
8889
8890 0 SWIG_InitializeModule(0);
8891
8892 /* Install commands */
8893 0 ▶ for (i = 0; swig_commands[i].name; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; swig_commands[i].name; i++) { 0 0 0
8894 /* Casts only needed for Perl < 5.10. */
8895 #ifdef __cplusplus
8896 newXS(const_cast<char*>(swig_commands[i].name), swig_commands[i].wrapper, const_cast<char*>(__FILE__));
8897 #else
8898 0 newXS((char*)swig_commands[i].name, swig_commands[i].wrapper, (char*)__FILE__);
8899 #endif
8900 }
8901
8902 /* Install variables */
8903 0 ▶ for (i = 0; swig_variables[i].name; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; swig_variables[i].name; i++) { 0 0 0
8904 SV *sv;
8905 0 sv = get_sv(swig_variables[i].name, TRUE | 0x2 | GV_ADDMULTI);
8906 0 ▶ if (swig_variables[i].type) {
Branch: 1 branch
BranchTrueFalseTotal
if (swig_variables[i].type) { 0 0 0
8907 0 SWIG_MakePtr(sv,(void *)1, *swig_variables[i].type,0);
8908 } else {
8909 0 sv_setiv(sv,(IV) 0);
8910 }
8911 0 swig_create_magic(sv, swig_variables[i].name, swig_variables[i].set, swig_variables[i].get);
8912 }
8913
8914 /* Install constant */
8915 0 ▶ for (i = 0; swig_constants[i].type; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; swig_constants[i].type; i++) { 0 0 0
8916 SV *sv;
8917 0 sv = get_sv(swig_constants[i].name, TRUE | 0x2 | GV_ADDMULTI);
8918 0 switch(swig_constants[i].type) {
8919 0 case SWIG_INT:
8920 0 sv_setiv(sv, (IV) swig_constants[i].lvalue);
8921 0 break;
8922 0 case SWIG_FLOAT:
8923 0 sv_setnv(sv, (double) swig_constants[i].dvalue);
8924 0 break;
8925 0 case SWIG_STRING:
8926 0 sv_setpv(sv, (const char *) swig_constants[i].pvalue);
8927 0 break;
8928 0 case SWIG_POINTER:
8929 0 SWIG_MakePtr(sv, swig_constants[i].pvalue, *(swig_constants[i].ptype),0);
8930 0 break;
8931 0 case SWIG_BINARY:
8932 0 SWIG_MakePackedObj(sv, swig_constants[i].pvalue, swig_constants[i].lvalue, *(swig_constants[i].ptype));
8933 0 break;
8934 0 default:
8935 0 break;
8936 }
8937 0 SvREADONLY_on(sv);
8938 }
8939
8940 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
8941 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_VERSION", TRUE | 0x2 | GV_ADDMULTI);
8942 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(2.8)));
8943 0 SvREADONLY_on(sv);
8944 } while(0) /*@SWIG@*/;
8945 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
8946 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_MAJOR_VERSION", TRUE | 0x2 | GV_ADDMULTI);
8947 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(2)));
8948 0 SvREADONLY_on(sv);
8949 } while(0) /*@SWIG@*/;
8950 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
8951 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_MINOR_VERSION", TRUE | 0x2 | GV_ADDMULTI);
8952 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(8)));
8953 0 SvREADONLY_on(sv);
8954 } while(0) /*@SWIG@*/;
8955 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
8956 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_POSZERO", TRUE | 0x2 | GV_ADDMULTI);
8957 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)((+0.0))));
8958 0 SvREADONLY_on(sv);
8959 } while(0) /*@SWIG@*/;
8960 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
8961 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_NEGZERO", TRUE | 0x2 | GV_ADDMULTI);
8962 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)((-0.0))));
8963 0 SvREADONLY_on(sv);
8964 } while(0) /*@SWIG@*/;
8965 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
8966 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_SUCCESS", TRUE | 0x2 | GV_ADDMULTI);
8967 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_SUCCESS)));
8968 0 SvREADONLY_on(sv);
8969 } while(0) /*@SWIG@*/;
8970 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
8971 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_FAILURE", TRUE | 0x2 | GV_ADDMULTI);
8972 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_FAILURE)));
8973 0 SvREADONLY_on(sv);
8974 } while(0) /*@SWIG@*/;
8975 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
8976 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_CONTINUE", TRUE | 0x2 | GV_ADDMULTI);
8977 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_CONTINUE)));
8978 0 SvREADONLY_on(sv);
8979 } while(0) /*@SWIG@*/;
8980 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
8981 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EDOM", TRUE | 0x2 | GV_ADDMULTI);
8982 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EDOM)));
8983 0 SvREADONLY_on(sv);
8984 } while(0) /*@SWIG@*/;
8985 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
8986 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ERANGE", TRUE | 0x2 | GV_ADDMULTI);
8987 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ERANGE)));
8988 0 SvREADONLY_on(sv);
8989 } while(0) /*@SWIG@*/;
8990 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
8991 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EFAULT", TRUE | 0x2 | GV_ADDMULTI);
8992 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EFAULT)));
8993 0 SvREADONLY_on(sv);
8994 } while(0) /*@SWIG@*/;
8995 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
8996 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EINVAL", TRUE | 0x2 | GV_ADDMULTI);
8997 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EINVAL)));
8998 0 SvREADONLY_on(sv);
8999 } while(0) /*@SWIG@*/;
9000 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9001 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EFAILED", TRUE | 0x2 | GV_ADDMULTI);
9002 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EFAILED)));
9003 0 SvREADONLY_on(sv);
9004 } while(0) /*@SWIG@*/;
9005 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9006 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EFACTOR", TRUE | 0x2 | GV_ADDMULTI);
9007 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EFACTOR)));
9008 0 SvREADONLY_on(sv);
9009 } while(0) /*@SWIG@*/;
9010 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9011 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ESANITY", TRUE | 0x2 | GV_ADDMULTI);
9012 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ESANITY)));
9013 0 SvREADONLY_on(sv);
9014 } while(0) /*@SWIG@*/;
9015 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9016 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ENOMEM", TRUE | 0x2 | GV_ADDMULTI);
9017 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ENOMEM)));
9018 0 SvREADONLY_on(sv);
9019 } while(0) /*@SWIG@*/;
9020 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9021 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EBADFUNC", TRUE | 0x2 | GV_ADDMULTI);
9022 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EBADFUNC)));
9023 0 SvREADONLY_on(sv);
9024 } while(0) /*@SWIG@*/;
9025 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9026 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ERUNAWAY", TRUE | 0x2 | GV_ADDMULTI);
9027 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ERUNAWAY)));
9028 0 SvREADONLY_on(sv);
9029 } while(0) /*@SWIG@*/;
9030 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9031 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EMAXITER", TRUE | 0x2 | GV_ADDMULTI);
9032 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EMAXITER)));
9033 0 SvREADONLY_on(sv);
9034 } while(0) /*@SWIG@*/;
9035 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9036 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EZERODIV", TRUE | 0x2 | GV_ADDMULTI);
9037 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EZERODIV)));
9038 0 SvREADONLY_on(sv);
9039 } while(0) /*@SWIG@*/;
9040 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9041 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EBADTOL", TRUE | 0x2 | GV_ADDMULTI);
9042 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EBADTOL)));
9043 0 SvREADONLY_on(sv);
9044 } while(0) /*@SWIG@*/;
9045 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9046 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ETOL", TRUE | 0x2 | GV_ADDMULTI);
9047 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ETOL)));
9048 0 SvREADONLY_on(sv);
9049 } while(0) /*@SWIG@*/;
9050 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9051 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EUNDRFLW", TRUE | 0x2 | GV_ADDMULTI);
9052 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EUNDRFLW)));
9053 0 SvREADONLY_on(sv);
9054 } while(0) /*@SWIG@*/;
9055 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9056 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EOVRFLW", TRUE | 0x2 | GV_ADDMULTI);
9057 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EOVRFLW)));
9058 0 SvREADONLY_on(sv);
9059 } while(0) /*@SWIG@*/;
9060 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9061 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ELOSS", TRUE | 0x2 | GV_ADDMULTI);
9062 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ELOSS)));
9063 0 SvREADONLY_on(sv);
9064 } while(0) /*@SWIG@*/;
9065 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9066 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EROUND", TRUE | 0x2 | GV_ADDMULTI);
9067 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EROUND)));
9068 0 SvREADONLY_on(sv);
9069 } while(0) /*@SWIG@*/;
9070 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9071 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EBADLEN", TRUE | 0x2 | GV_ADDMULTI);
9072 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EBADLEN)));
9073 0 SvREADONLY_on(sv);
9074 } while(0) /*@SWIG@*/;
9075 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9076 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ENOTSQR", TRUE | 0x2 | GV_ADDMULTI);
9077 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ENOTSQR)));
9078 0 SvREADONLY_on(sv);
9079 } while(0) /*@SWIG@*/;
9080 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9081 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ESING", TRUE | 0x2 | GV_ADDMULTI);
9082 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ESING)));
9083 0 SvREADONLY_on(sv);
9084 } while(0) /*@SWIG@*/;
9085 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9086 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EDIVERGE", TRUE | 0x2 | GV_ADDMULTI);
9087 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EDIVERGE)));
9088 0 SvREADONLY_on(sv);
9089 } while(0) /*@SWIG@*/;
9090 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9091 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EUNSUP", TRUE | 0x2 | GV_ADDMULTI);
9092 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EUNSUP)));
9093 0 SvREADONLY_on(sv);
9094 } while(0) /*@SWIG@*/;
9095 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9096 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EUNIMPL", TRUE | 0x2 | GV_ADDMULTI);
9097 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EUNIMPL)));
9098 0 SvREADONLY_on(sv);
9099 } while(0) /*@SWIG@*/;
9100 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9101 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ECACHE", TRUE | 0x2 | GV_ADDMULTI);
9102 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ECACHE)));
9103 0 SvREADONLY_on(sv);
9104 } while(0) /*@SWIG@*/;
9105 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9106 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ETABLE", TRUE | 0x2 | GV_ADDMULTI);
9107 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ETABLE)));
9108 0 SvREADONLY_on(sv);
9109 } while(0) /*@SWIG@*/;
9110 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9111 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ENOPROG", TRUE | 0x2 | GV_ADDMULTI);
9112 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ENOPROG)));
9113 0 SvREADONLY_on(sv);
9114 } while(0) /*@SWIG@*/;
9115 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9116 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ENOPROGJ", TRUE | 0x2 | GV_ADDMULTI);
9117 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ENOPROGJ)));
9118 0 SvREADONLY_on(sv);
9119 } while(0) /*@SWIG@*/;
9120 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9121 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ETOLF", TRUE | 0x2 | GV_ADDMULTI);
9122 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ETOLF)));
9123 0 SvREADONLY_on(sv);
9124 } while(0) /*@SWIG@*/;
9125 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9126 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ETOLX", TRUE | 0x2 | GV_ADDMULTI);
9127 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ETOLX)));
9128 0 SvREADONLY_on(sv);
9129 } while(0) /*@SWIG@*/;
9130 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9131 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ETOLG", TRUE | 0x2 | GV_ADDMULTI);
9132 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ETOLG)));
9133 0 SvREADONLY_on(sv);
9134 } while(0) /*@SWIG@*/;
9135 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9136 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EOF", TRUE | 0x2 | GV_ADDMULTI);
9137 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EOF)));
9138 0 SvREADONLY_on(sv);
9139 } while(0) /*@SWIG@*/;
9140 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9141 0 SV *sv = get_sv((char*) SWIG_prefix "M_E", TRUE | 0x2 | GV_ADDMULTI);
9142 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(2.71828182845904523536028747135)));
9143 0 SvREADONLY_on(sv);
9144 } while(0) /*@SWIG@*/;
9145 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9146 0 SV *sv = get_sv((char*) SWIG_prefix "M_LOG2E", TRUE | 0x2 | GV_ADDMULTI);
9147 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(1.44269504088896340735992468100)));
9148 0 SvREADONLY_on(sv);
9149 } while(0) /*@SWIG@*/;
9150 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9151 0 SV *sv = get_sv((char*) SWIG_prefix "M_LOG10E", TRUE | 0x2 | GV_ADDMULTI);
9152 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(0.43429448190325182765112891892)));
9153 0 SvREADONLY_on(sv);
9154 } while(0) /*@SWIG@*/;
9155 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9156 0 SV *sv = get_sv((char*) SWIG_prefix "M_SQRT2", TRUE | 0x2 | GV_ADDMULTI);
9157 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(1.41421356237309504880168872421)));
9158 0 SvREADONLY_on(sv);
9159 } while(0) /*@SWIG@*/;
9160 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9161 0 SV *sv = get_sv((char*) SWIG_prefix "M_SQRT1_2", TRUE | 0x2 | GV_ADDMULTI);
9162 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(0.70710678118654752440084436210)));
9163 0 SvREADONLY_on(sv);
9164 } while(0) /*@SWIG@*/;
9165 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9166 0 SV *sv = get_sv((char*) SWIG_prefix "M_SQRT3", TRUE | 0x2 | GV_ADDMULTI);
9167 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(1.73205080756887729352744634151)));
9168 0 SvREADONLY_on(sv);
9169 } while(0) /*@SWIG@*/;
9170 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9171 0 SV *sv = get_sv((char*) SWIG_prefix "M_PI", TRUE | 0x2 | GV_ADDMULTI);
9172 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(3.14159265358979323846264338328)));
9173 0 SvREADONLY_on(sv);
9174 } while(0) /*@SWIG@*/;
9175 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9176 0 SV *sv = get_sv((char*) SWIG_prefix "M_PI_2", TRUE | 0x2 | GV_ADDMULTI);
9177 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(1.57079632679489661923132169164)));
9178 0 SvREADONLY_on(sv);
9179 } while(0) /*@SWIG@*/;
9180 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9181 0 SV *sv = get_sv((char*) SWIG_prefix "M_PI_4", TRUE | 0x2 | GV_ADDMULTI);
9182 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(0.78539816339744830961566084582)));
9183 0 SvREADONLY_on(sv);
9184 } while(0) /*@SWIG@*/;
9185 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9186 0 SV *sv = get_sv((char*) SWIG_prefix "M_SQRTPI", TRUE | 0x2 | GV_ADDMULTI);
9187 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(1.77245385090551602729816748334)));
9188 0 SvREADONLY_on(sv);
9189 } while(0) /*@SWIG@*/;
9190 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9191 0 SV *sv = get_sv((char*) SWIG_prefix "M_2_SQRTPI", TRUE | 0x2 | GV_ADDMULTI);
9192 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(1.12837916709551257389615890312)));
9193 0 SvREADONLY_on(sv);
9194 } while(0) /*@SWIG@*/;
9195 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9196 0 SV *sv = get_sv((char*) SWIG_prefix "M_1_PI", TRUE | 0x2 | GV_ADDMULTI);
9197 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(0.31830988618379067153776752675)));
9198 0 SvREADONLY_on(sv);
9199 } while(0) /*@SWIG@*/;
9200 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9201 0 SV *sv = get_sv((char*) SWIG_prefix "M_2_PI", TRUE | 0x2 | GV_ADDMULTI);
9202 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(0.63661977236758134307553505349)));
9203 0 SvREADONLY_on(sv);
9204 } while(0) /*@SWIG@*/;
9205 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9206 0 SV *sv = get_sv((char*) SWIG_prefix "M_LN10", TRUE | 0x2 | GV_ADDMULTI);
9207 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(2.30258509299404568401799145468)));
9208 0 SvREADONLY_on(sv);
9209 } while(0) /*@SWIG@*/;
9210 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9211 0 SV *sv = get_sv((char*) SWIG_prefix "M_LN2", TRUE | 0x2 | GV_ADDMULTI);
9212 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(0.69314718055994530941723212146)));
9213 0 SvREADONLY_on(sv);
9214 } while(0) /*@SWIG@*/;
9215 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9216 0 SV *sv = get_sv((char*) SWIG_prefix "M_LNPI", TRUE | 0x2 | GV_ADDMULTI);
9217 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(1.14472988584940017414342735135)));
9218 0 SvREADONLY_on(sv);
9219 } while(0) /*@SWIG@*/;
9220 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9221 0 SV *sv = get_sv((char*) SWIG_prefix "M_EULER", TRUE | 0x2 | GV_ADDMULTI);
9222 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(0.57721566490153286060651209008)));
9223 0 SvREADONLY_on(sv);
9224 } while(0) /*@SWIG@*/;
9225 0 SWIG_TypeClientData(SWIGTYPE_p_gsl_function_struct, (void*) "Math::GSL::FFT::gsl_function_struct");
9226 0 SWIG_TypeClientData(SWIGTYPE_p_gsl_function_fdf_struct, (void*) "Math::GSL::FFT::gsl_function_fdf_struct");
9227 0 SWIG_TypeClientData(SWIGTYPE_p_gsl_function_vec_struct, (void*) "Math::GSL::FFT::gsl_function_vec_struct");
9228 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9229 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_DBL_EPSILON", TRUE | 0x2 | GV_ADDMULTI);
9230 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(2.2204460492503131e-16)));
9231 0 SvREADONLY_on(sv);
9232 } while(0) /*@SWIG@*/;
9233 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9234 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_SQRT_DBL_EPSILON", TRUE | 0x2 | GV_ADDMULTI);
9235 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(1.4901161193847656e-08)));
9236 0 SvREADONLY_on(sv);
9237 } while(0) /*@SWIG@*/;
9238 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9239 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ROOT3_DBL_EPSILON", TRUE | 0x2 | GV_ADDMULTI);
9240 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(6.0554544523933429e-06)));
9241 0 SvREADONLY_on(sv);
9242 } while(0) /*@SWIG@*/;
9243 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9244 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ROOT4_DBL_EPSILON", TRUE | 0x2 | GV_ADDMULTI);
9245 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(1.2207031250000000e-04)));
9246 0 SvREADONLY_on(sv);
9247 } while(0) /*@SWIG@*/;
9248 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9249 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ROOT5_DBL_EPSILON", TRUE | 0x2 | GV_ADDMULTI);
9250 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(7.4009597974140505e-04)));
9251 0 SvREADONLY_on(sv);
9252 } while(0) /*@SWIG@*/;
9253 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9254 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ROOT6_DBL_EPSILON", TRUE | 0x2 | GV_ADDMULTI);
9255 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(2.4607833005759251e-03)));
9256 0 SvREADONLY_on(sv);
9257 } while(0) /*@SWIG@*/;
9258 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9259 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_LOG_DBL_EPSILON", TRUE | 0x2 | GV_ADDMULTI);
9260 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)((-3.6043653389117154e+01))));
9261 0 SvREADONLY_on(sv);
9262 } while(0) /*@SWIG@*/;
9263 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9264 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_DBL_MIN", TRUE | 0x2 | GV_ADDMULTI);
9265 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(2.2250738585072014e-308)));
9266 0 SvREADONLY_on(sv);
9267 } while(0) /*@SWIG@*/;
9268 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9269 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_SQRT_DBL_MIN", TRUE | 0x2 | GV_ADDMULTI);
9270 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(1.4916681462400413e-154)));
9271 0 SvREADONLY_on(sv);
9272 } while(0) /*@SWIG@*/;
9273 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9274 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ROOT3_DBL_MIN", TRUE | 0x2 | GV_ADDMULTI);
9275 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(2.8126442852362996e-103)));
9276 0 SvREADONLY_on(sv);
9277 } while(0) /*@SWIG@*/;
9278 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9279 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ROOT4_DBL_MIN", TRUE | 0x2 | GV_ADDMULTI);
9280 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(1.2213386697554620e-77)));
9281 0 SvREADONLY_on(sv);
9282 } while(0) /*@SWIG@*/;
9283 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9284 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ROOT5_DBL_MIN", TRUE | 0x2 | GV_ADDMULTI);
9285 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(2.9476022969691763e-62)));
9286 0 SvREADONLY_on(sv);
9287 } while(0) /*@SWIG@*/;
9288 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9289 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ROOT6_DBL_MIN", TRUE | 0x2 | GV_ADDMULTI);
9290 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(5.3034368905798218e-52)));
9291 0 SvREADONLY_on(sv);
9292 } while(0) /*@SWIG@*/;
9293 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9294 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_LOG_DBL_MIN", TRUE | 0x2 | GV_ADDMULTI);
9295 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)((-7.0839641853226408e+02))));
9296 0 SvREADONLY_on(sv);
9297 } while(0) /*@SWIG@*/;
9298 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9299 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_DBL_MAX", TRUE | 0x2 | GV_ADDMULTI);
9300 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(1.7976931348623157e+308)));
9301 0 SvREADONLY_on(sv);
9302 } while(0) /*@SWIG@*/;
9303 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9304 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_SQRT_DBL_MAX", TRUE | 0x2 | GV_ADDMULTI);
9305 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(1.3407807929942596e+154)));
9306 0 SvREADONLY_on(sv);
9307 } while(0) /*@SWIG@*/;
9308 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9309 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ROOT3_DBL_MAX", TRUE | 0x2 | GV_ADDMULTI);
9310 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(5.6438030941222897e+102)));
9311 0 SvREADONLY_on(sv);
9312 } while(0) /*@SWIG@*/;
9313 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9314 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ROOT4_DBL_MAX", TRUE | 0x2 | GV_ADDMULTI);
9315 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(1.1579208923731620e+77)));
9316 0 SvREADONLY_on(sv);
9317 } while(0) /*@SWIG@*/;
9318 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9319 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ROOT5_DBL_MAX", TRUE | 0x2 | GV_ADDMULTI);
9320 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(4.4765466227572707e+61)));
9321 0 SvREADONLY_on(sv);
9322 } while(0) /*@SWIG@*/;
9323 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9324 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ROOT6_DBL_MAX", TRUE | 0x2 | GV_ADDMULTI);
9325 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(2.3756689782295612e+51)));
9326 0 SvREADONLY_on(sv);
9327 } while(0) /*@SWIG@*/;
9328 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9329 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_LOG_DBL_MAX", TRUE | 0x2 | GV_ADDMULTI);
9330 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(7.0978271289338397e+02)));
9331 0 SvREADONLY_on(sv);
9332 } while(0) /*@SWIG@*/;
9333 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9334 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_FLT_EPSILON", TRUE | 0x2 | GV_ADDMULTI);
9335 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(1.1920928955078125e-07)));
9336 0 SvREADONLY_on(sv);
9337 } while(0) /*@SWIG@*/;
9338 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9339 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_SQRT_FLT_EPSILON", TRUE | 0x2 | GV_ADDMULTI);
9340 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(3.4526698300124393e-04)));
9341 0 SvREADONLY_on(sv);
9342 } while(0) /*@SWIG@*/;
9343 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9344 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ROOT3_FLT_EPSILON", TRUE | 0x2 | GV_ADDMULTI);
9345 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(4.9215666011518501e-03)));
9346 0 SvREADONLY_on(sv);
9347 } while(0) /*@SWIG@*/;
9348 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9349 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ROOT4_FLT_EPSILON", TRUE | 0x2 | GV_ADDMULTI);
9350 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(1.8581361171917516e-02)));
9351 0 SvREADONLY_on(sv);
9352 } while(0) /*@SWIG@*/;
9353 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9354 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ROOT5_FLT_EPSILON", TRUE | 0x2 | GV_ADDMULTI);
9355 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(4.1234622211652937e-02)));
9356 0 SvREADONLY_on(sv);
9357 } while(0) /*@SWIG@*/;
9358 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9359 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ROOT6_FLT_EPSILON", TRUE | 0x2 | GV_ADDMULTI);
9360 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(7.0153878019335827e-02)));
9361 0 SvREADONLY_on(sv);
9362 } while(0) /*@SWIG@*/;
9363 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9364 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_LOG_FLT_EPSILON", TRUE | 0x2 | GV_ADDMULTI);
9365 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)((-1.5942385152878742e+01))));
9366 0 SvREADONLY_on(sv);
9367 } while(0) /*@SWIG@*/;
9368 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9369 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_FLT_MIN", TRUE | 0x2 | GV_ADDMULTI);
9370 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(1.1754943508222875e-38)));
9371 0 SvREADONLY_on(sv);
9372 } while(0) /*@SWIG@*/;
9373 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9374 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_SQRT_FLT_MIN", TRUE | 0x2 | GV_ADDMULTI);
9375 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(1.0842021724855044e-19)));
9376 0 SvREADONLY_on(sv);
9377 } while(0) /*@SWIG@*/;
9378 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9379 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ROOT3_FLT_MIN", TRUE | 0x2 | GV_ADDMULTI);
9380 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(2.2737367544323241e-13)));
9381 0 SvREADONLY_on(sv);
9382 } while(0) /*@SWIG@*/;
9383 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9384 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ROOT4_FLT_MIN", TRUE | 0x2 | GV_ADDMULTI);
9385 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(3.2927225399135965e-10)));
9386 0 SvREADONLY_on(sv);
9387 } while(0) /*@SWIG@*/;
9388 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9389 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ROOT5_FLT_MIN", TRUE | 0x2 | GV_ADDMULTI);
9390 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(2.5944428542140822e-08)));
9391 0 SvREADONLY_on(sv);
9392 } while(0) /*@SWIG@*/;
9393 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9394 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ROOT6_FLT_MIN", TRUE | 0x2 | GV_ADDMULTI);
9395 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(4.7683715820312542e-07)));
9396 0 SvREADONLY_on(sv);
9397 } while(0) /*@SWIG@*/;
9398 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9399 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_LOG_FLT_MIN", TRUE | 0x2 | GV_ADDMULTI);
9400 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)((-8.7336544750553102e+01))));
9401 0 SvREADONLY_on(sv);
9402 } while(0) /*@SWIG@*/;
9403 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9404 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_FLT_MAX", TRUE | 0x2 | GV_ADDMULTI);
9405 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(3.4028234663852886e+38)));
9406 0 SvREADONLY_on(sv);
9407 } while(0) /*@SWIG@*/;
9408 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9409 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_SQRT_FLT_MAX", TRUE | 0x2 | GV_ADDMULTI);
9410 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(1.8446743523953730e+19)));
9411 0 SvREADONLY_on(sv);
9412 } while(0) /*@SWIG@*/;
9413 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9414 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ROOT3_FLT_MAX", TRUE | 0x2 | GV_ADDMULTI);
9415 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(6.9814635196223242e+12)));
9416 0 SvREADONLY_on(sv);
9417 } while(0) /*@SWIG@*/;
9418 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9419 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ROOT4_FLT_MAX", TRUE | 0x2 | GV_ADDMULTI);
9420 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(4.2949672319999986e+09)));
9421 0 SvREADONLY_on(sv);
9422 } while(0) /*@SWIG@*/;
9423 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9424 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ROOT5_FLT_MAX", TRUE | 0x2 | GV_ADDMULTI);
9425 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(5.0859007855960041e+07)));
9426 0 SvREADONLY_on(sv);
9427 } while(0) /*@SWIG@*/;
9428 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9429 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ROOT6_FLT_MAX", TRUE | 0x2 | GV_ADDMULTI);
9430 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(2.6422459233807749e+06)));
9431 0 SvREADONLY_on(sv);
9432 } while(0) /*@SWIG@*/;
9433 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9434 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_LOG_FLT_MAX", TRUE | 0x2 | GV_ADDMULTI);
9435 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(8.8722839052068352e+01)));
9436 0 SvREADONLY_on(sv);
9437 } while(0) /*@SWIG@*/;
9438 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9439 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_SFLT_EPSILON", TRUE | 0x2 | GV_ADDMULTI);
9440 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(4.8828125000000000e-04)));
9441 0 SvREADONLY_on(sv);
9442 } while(0) /*@SWIG@*/;
9443 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9444 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_SQRT_SFLT_EPSILON", TRUE | 0x2 | GV_ADDMULTI);
9445 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(2.2097086912079612e-02)));
9446 0 SvREADONLY_on(sv);
9447 } while(0) /*@SWIG@*/;
9448 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9449 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ROOT3_SFLT_EPSILON", TRUE | 0x2 | GV_ADDMULTI);
9450 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(7.8745065618429588e-02)));
9451 0 SvREADONLY_on(sv);
9452 } while(0) /*@SWIG@*/;
9453 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9454 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ROOT4_SFLT_EPSILON", TRUE | 0x2 | GV_ADDMULTI);
9455 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(1.4865088937534013e-01)));
9456 0 SvREADONLY_on(sv);
9457 } while(0) /*@SWIG@*/;
9458 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9459 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ROOT5_SFLT_EPSILON", TRUE | 0x2 | GV_ADDMULTI);
9460 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(2.1763764082403100e-01)));
9461 0 SvREADONLY_on(sv);
9462 } while(0) /*@SWIG@*/;
9463 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9464 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ROOT6_SFLT_EPSILON", TRUE | 0x2 | GV_ADDMULTI);
9465 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(2.8061551207734325e-01)));
9466 0 SvREADONLY_on(sv);
9467 } while(0) /*@SWIG@*/;
9468 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9469 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_LOG_SFLT_EPSILON", TRUE | 0x2 | GV_ADDMULTI);
9470 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)((-7.6246189861593985e+00))));
9471 0 SvREADONLY_on(sv);
9472 } while(0) /*@SWIG@*/;
9473 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9474 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_MACH_EPS", TRUE | 0x2 | GV_ADDMULTI);
9475 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(2.2204460492503131e-16)));
9476 0 SvREADONLY_on(sv);
9477 } while(0) /*@SWIG@*/;
9478 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9479 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_SQRT_MACH_EPS", TRUE | 0x2 | GV_ADDMULTI);
9480 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(3.2e-08)));
9481 0 SvREADONLY_on(sv);
9482 } while(0) /*@SWIG@*/;
9483 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9484 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ROOT3_MACH_EPS", TRUE | 0x2 | GV_ADDMULTI);
9485 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(1.0e-05)));
9486 0 SvREADONLY_on(sv);
9487 } while(0) /*@SWIG@*/;
9488 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9489 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ROOT4_MACH_EPS", TRUE | 0x2 | GV_ADDMULTI);
9490 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(0.000178)));
9491 0 SvREADONLY_on(sv);
9492 } while(0) /*@SWIG@*/;
9493 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9494 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ROOT5_MACH_EPS", TRUE | 0x2 | GV_ADDMULTI);
9495 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(0.00100)));
9496 0 SvREADONLY_on(sv);
9497 } while(0) /*@SWIG@*/;
9498 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9499 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ROOT6_MACH_EPS", TRUE | 0x2 | GV_ADDMULTI);
9500 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(0.00316)));
9501 0 SvREADONLY_on(sv);
9502 } while(0) /*@SWIG@*/;
9503 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9504 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_LOG_MACH_EPS", TRUE | 0x2 | GV_ADDMULTI);
9505 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)((-34.54))));
9506 0 SvREADONLY_on(sv);
9507 } while(0) /*@SWIG@*/;
9508 0 SWIG_TypeClientData(SWIGTYPE_p_gsl_complex, (void*) "Math::GSL::FFT::gsl_complex");
9509 0 SWIG_TypeClientData(SWIGTYPE_p_gsl_complex_long_double, (void*) "Math::GSL::FFT::gsl_complex_long_double");
9510 0 SWIG_TypeClientData(SWIGTYPE_p_gsl_complex_float, (void*) "Math::GSL::FFT::gsl_complex_float");
9511 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9512 0 SV *sv = get_sv((char*) SWIG_prefix "gsl_fft_forward", TRUE | 0x2 | GV_ADDMULTI);
9513 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(gsl_fft_forward)));
9514 0 SvREADONLY_on(sv);
9515 } while(0) /*@SWIG@*/;
9516 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9517 0 SV *sv = get_sv((char*) SWIG_prefix "gsl_fft_backward", TRUE | 0x2 | GV_ADDMULTI);
9518 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(gsl_fft_backward)));
9519 0 SvREADONLY_on(sv);
9520 } while(0) /*@SWIG@*/;
9521 0 SWIG_TypeClientData(SWIGTYPE_p_gsl_fft_complex_wavetable, (void*) "Math::GSL::FFT::gsl_fft_complex_wavetable");
9522 0 SWIG_TypeClientData(SWIGTYPE_p_gsl_fft_complex_workspace, (void*) "Math::GSL::FFT::gsl_fft_complex_workspace");
9523 0 SWIG_TypeClientData(SWIGTYPE_p_gsl_fft_halfcomplex_wavetable, (void*) "Math::GSL::FFT::gsl_fft_halfcomplex_wavetable");
9524 0 SWIG_TypeClientData(SWIGTYPE_p_gsl_fft_real_wavetable, (void*) "Math::GSL::FFT::gsl_fft_real_wavetable");
9525 0 SWIG_TypeClientData(SWIGTYPE_p_gsl_fft_real_workspace, (void*) "Math::GSL::FFT::gsl_fft_real_workspace");
9526 0 ST(0) = &PL_sv_yes;
9527 0 XSRETURN(1);
9528 }
9529  
« xs/Errno_wrap.2.8.c ↑ Summary xs/Fit_wrap.2.8.c »