xs/VectorComplex_wrap.2.8.c

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