xs/Vector_wrap.2.8.c

filter: Statementstmt 0.0% 0 / 7071 Branchbran 0.0% 0 / 4012 Conditioncond n/a MC/DCmcdc n/a Subroutinesub n/a Podpod n/a totaltotal 0.0% 0 / 11083 CC 0 SCAR 0
CC
0
Cov
0%
CRAP 0
« xs/VectorComplex_wrap.2.8.c ↑ Summary xs/Version_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_char_const_view swig_types[1]
1512 #define SWIGTYPE_p__gsl_vector_char_view swig_types[2]
1513 #define SWIGTYPE_p__gsl_vector_complex_const_view swig_types[3]
1514 #define SWIGTYPE_p__gsl_vector_complex_view swig_types[4]
1515 #define SWIGTYPE_p__gsl_vector_const_view swig_types[5]
1516 #define SWIGTYPE_p__gsl_vector_int_const_view swig_types[6]
1517 #define SWIGTYPE_p__gsl_vector_int_view swig_types[7]
1518 #define SWIGTYPE_p__gsl_vector_view swig_types[8]
1519 #define SWIGTYPE_p_char swig_types[9]
1520 #define SWIGTYPE_p_double swig_types[10]
1521 #define SWIGTYPE_p_f_p_q_const__char_p_q_const__char_int_int__void swig_types[11]
1522 #define SWIGTYPE_p_f_p_q_const__char_p_q_const__char_int_p_q_const__char__void swig_types[12]
1523 #define SWIGTYPE_p_gsl_block swig_types[13]
1524 #define SWIGTYPE_p_gsl_block_char swig_types[14]
1525 #define SWIGTYPE_p_gsl_block_complex swig_types[15]
1526 #define SWIGTYPE_p_gsl_block_int swig_types[16]
1527 #define SWIGTYPE_p_gsl_complex swig_types[17]
1528 #define SWIGTYPE_p_gsl_vector swig_types[18]
1529 #define SWIGTYPE_p_gsl_vector_char swig_types[19]
1530 #define SWIGTYPE_p_gsl_vector_complex swig_types[20]
1531 #define SWIGTYPE_p_gsl_vector_int swig_types[21]
1532 #define SWIGTYPE_p_int swig_types[22]
1533 #define SWIGTYPE_p_size_t swig_types[23]
1534 static swig_type_info *swig_types[25];
1535 static swig_module_info swig_module = {swig_types, 24, 0, 0, 0, 0};
1536 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1537 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
1538  
1539 /* -------- TYPES TABLE (END) -------- */
1540  
1541 #define SWIG_init boot_Math__GSL__Vector
1542  
1543 #define SWIG_name "Math::GSL::Vectorc::boot_Math__GSL__Vector"
1544 #define SWIG_prefix "Math::GSL::Vectorc::"
1545  
1546 #define SWIG_as_voidptr(a) (void *)((const void *)(a))
1547 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),(void**)(a))
1548  
1549  
1550 #ifdef __cplusplus
1551 extern "C"
1552 #endif
1553 #ifndef MULTIPLICITY
1554 SWIGEXPORT void SWIG_init (CV* cv);
1555 #else
1556 SWIGEXPORT void SWIG_init (pTHXo_ CV* cv);
1557 #endif
1558  
1559  
1560 SWIGINTERNINLINE SV *
1561 0 SWIG_From_double SWIG_PERL_DECL_ARGS_1(double value)
1562 {
1563 0 return sv_2mortal(newSVnv(value));
1564 }
1565  
1566  
1567 SWIGINTERNINLINE SV *
1568 0 SWIG_From_long SWIG_PERL_DECL_ARGS_1(long value)
1569 {
1570 SV *sv;
1571 if (IVSIZE >= sizeof(value) || (value >= IV_MIN && value <= IV_MAX))
1572 0 sv = newSViv(value);
1573 else
1574 sv = newSVpvf("%ld", value);
1575 0 return sv_2mortal(sv);
1576 }
1577  
1578  
1579 SWIGINTERNINLINE SV *
1580 0 SWIG_From_int SWIG_PERL_DECL_ARGS_1(int value)
1581 {
1582 0 return SWIG_From_long SWIG_PERL_CALL_ARGS_1(value);
1583 }
1584  
1585  
1586 SWIGINTERN swig_type_info*
1587 0 SWIG_pchar_descriptor(void)
1588 {
1589 static int init = 0;
1590 static swig_type_info* info = 0;
1591 0 ▶ if (!init) {
Branch: 1 branch
BranchTrueFalseTotal
if (!init) { 0 0 0
1592 0 info = SWIG_TypeQuery("_p_char");
1593 0 init = 1;
1594 }
1595 0 return info;
1596 }
1597  
1598  
1599 SWIGINTERN int
1600 0 SWIG_AsCharPtrAndSize(SV *obj, char** cptr, size_t* psize, int *alloc)
1601 {
1602 0 ▶ if (SvMAGICAL(obj)) {
Branch: 1 branch
BranchTrueFalseTotal
if (SvMAGICAL(obj)) { 0 0 0
1603 0 SV *tmp = sv_newmortal();
1604 0 ▶ SvSetSV(tmp, obj);
Branch: 1 branch
BranchTrueFalseTotal
SvSetSV(tmp, obj); 0 0 0
1605 0 obj = tmp;
1606 }
1607 0 ▶ if (SvPOK(obj)) {
Branch: 1 branch
BranchTrueFalseTotal
if (SvPOK(obj)) { 0 0 0
1608 0 STRLEN len = 0;
1609 0 char *cstr = SvPV(obj, len);
1610 0 size_t size = len + 1;
1611 0 ▶ if (cptr) {
Branch: 1 branch
BranchTrueFalseTotal
if (cptr) { 0 0 0
1612 0 ▶ if (alloc) {
Branch: 1 branch
BranchTrueFalseTotal
if (alloc) { 0 0 0
1613 0 ▶ if (*alloc == SWIG_NEWOBJ) {
Branch: 1 branch
BranchTrueFalseTotal
if (*alloc == SWIG_NEWOBJ) { 0 0 0
1614 0 *cptr = (char *)memcpy(malloc((size)*sizeof(char)), cstr, sizeof(char)*(size));
1615 } else {
1616 0 *cptr = cstr;
1617 0 *alloc = SWIG_OLDOBJ;
1618 }
1619 }
1620 }
1621 0 ▶ if (psize) *psize = size;
Branch: 1 branch
BranchTrueFalseTotal
if (psize) *psize = size; 0 0 0
1622 0 return SWIG_OK;
1623 } else {
1624 0 swig_type_info* pchar_descriptor = SWIG_pchar_descriptor();
1625 0 ▶ if (pchar_descriptor) {
Branch: 1 branch
BranchTrueFalseTotal
if (pchar_descriptor) { 0 0 0
1626 0 char* vptr = 0;
1627 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
1628 0 ▶ if (cptr) *cptr = vptr;
Branch: 1 branch
BranchTrueFalseTotal
if (cptr) *cptr = vptr; 0 0 0
1629 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
1630 0 ▶ if (alloc) *alloc = SWIG_OLDOBJ;
Branch: 1 branch
BranchTrueFalseTotal
if (alloc) *alloc = SWIG_OLDOBJ; 0 0 0
1631 0 return SWIG_OK;
1632 }
1633 }
1634 }
1635 0 return SWIG_TypeError;
1636 }
1637  
1638  
1639  
1640  
1641  
1642 #include <limits.h>
1643 #if !defined(SWIG_NO_LLONG_MAX)
1644 # if !defined(LLONG_MAX) && defined(__GNUC__) && defined (__LONG_LONG_MAX__)
1645 # define LLONG_MAX __LONG_LONG_MAX__
1646 # define LLONG_MIN (-LLONG_MAX - 1LL)
1647 # define ULLONG_MAX (LLONG_MAX * 2ULL + 1ULL)
1648 # endif
1649 #endif
1650  
1651  
1652 #include <stdlib.h>
1653 #ifdef _MSC_VER
1654 # ifndef strtoull
1655 # define strtoull _strtoui64
1656 # endif
1657 # ifndef strtoll
1658 # define strtoll _strtoi64
1659 # endif
1660 #endif
1661  
1662  
1663 SWIGINTERN int
1664 0 SWIG_AsVal_double SWIG_PERL_DECL_ARGS_2(SV *obj, double *val)
1665 {
1666 0 ▶ if (SvNIOK(obj)) {
Branch: 1 branch
BranchTrueFalseTotal
if (SvNIOK(obj)) { 0 0 0
1667 0 ▶ if (val) *val = SvNV(obj);
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = SvNV(obj); 0 0 0
1668 0 return SWIG_OK;
1669 0 ▶ } else if (SvIOK(obj)) {
Branch: 1 branch
BranchTrueFalseTotal
} else if (SvIOK(obj)) { 0 0 0
1670 0 ▶ if (val) *val = (double) SvIV(obj);
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = (double) SvIV(obj); 0 0 0
1671 0 return SWIG_AddCast(SWIG_OK);
1672 } else {
1673 0 const char *nptr = SvPV_nolen(obj);
1674 0 ▶ if (nptr) {
Branch: 1 branch
BranchTrueFalseTotal
if (nptr) { 0 0 0
1675 char *endptr;
1676 double v;
1677 0 errno = 0;
1678 0 v = strtod(nptr, &endptr);
1679 0 ▶ if (errno == ERANGE) {
Branch: 1 branch
BranchTrueFalseTotal
if (errno == ERANGE) { 0 0 0
1680 0 errno = 0;
1681 0 return SWIG_OverflowError;
1682 } else {
1683 0 ▶ if (*endptr == '\0') {
Branch: 1 branch
BranchTrueFalseTotal
if (*endptr == '\0') { 0 0 0
1684 0 ▶ if (val) *val = v;
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = v; 0 0 0
1685 0 return SWIG_Str2NumCast(SWIG_OK);
1686 }
1687 }
1688 }
1689 }
1690 0 return SWIG_TypeError;
1691 }
1692  
1693  
1694 #include <float.h>
1695  
1696  
1697 #include <math.h>
1698  
1699  
1700 SWIGINTERNINLINE int
1701 0 SWIG_CanCastAsInteger(double *d, double min, double max) {
1702 0 double x = *d;
1703 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
1704 double fx, cx, rd;
1705 0 errno = 0;
1706 0 fx = floor(x);
1707 0 cx = ceil(x);
1708 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
1709 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
1710 0 errno = 0;
1711 } else {
1712 double summ, reps, diff;
1713 0 ▶ if (rd < x) {
Branch: 1 branch
BranchTrueFalseTotal
if (rd < x) { 0 0 0
1714 0 diff = x - rd;
1715 0 ▶ } else if (rd > x) {
Branch: 1 branch
BranchTrueFalseTotal
} else if (rd > x) { 0 0 0
1716 0 diff = rd - x;
1717 } else {
1718 0 return 1;
1719 }
1720 0 summ = rd + x;
1721 0 reps = diff/summ;
1722 0 ▶ if (reps < 8*DBL_EPSILON) {
Branch: 1 branch
BranchTrueFalseTotal
if (reps < 8*DBL_EPSILON) { 0 0 0
1723 0 *d = rd;
1724 0 return 1;
1725 }
1726 }
1727 }
1728 0 return 0;
1729 }
1730  
1731  
1732 SWIGINTERN int
1733 0 SWIG_AsVal_long SWIG_PERL_DECL_ARGS_2(SV *obj, long* val)
1734 {
1735 0 ▶ if (SvUOK(obj)) {
Branch: 1 branch
BranchTrueFalseTotal
if (SvUOK(obj)) { 0 0 0
1736 0 UV v = SvUV(obj);
1737 0 ▶ if (UVSIZE < sizeof(*val) || v <= LONG_MAX) {
Branch: 1 branch
BranchTrueFalseTotal
if (UVSIZE < sizeof(*val) || v <= LONG_MAX) { 0 0 0
1738 0 ▶ if (val) *val = v;
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = v; 0 0 0
1739 0 return SWIG_OK;
1740 }
1741 0 return SWIG_OverflowError;
1742 0 ▶ } else if (SvIOK(obj)) {
Branch: 1 branch
BranchTrueFalseTotal
} else if (SvIOK(obj)) { 0 0 0
1743 0 IV v = SvIV(obj);
1744 if (IVSIZE <= sizeof(*val) || (v >= LONG_MIN && v <= LONG_MAX)) {
1745 0 ▶ if(val) *val = v;
Branch: 1 branch
BranchTrueFalseTotal
if(val) *val = v; 0 0 0
1746 0 return SWIG_OK;
1747 }
1748 return SWIG_OverflowError;
1749 } else {
1750 0 int dispatch = 0;
1751 0 const char *nptr = SvPV_nolen(obj);
1752 0 ▶ if (nptr) {
Branch: 1 branch
BranchTrueFalseTotal
if (nptr) { 0 0 0
1753 char *endptr;
1754 long v;
1755 0 errno = 0;
1756 0 v = strtol(nptr, &endptr,0);
1757 0 ▶ if (errno == ERANGE) {
Branch: 1 branch
BranchTrueFalseTotal
if (errno == ERANGE) { 0 0 0
1758 0 errno = 0;
1759 0 return SWIG_OverflowError;
1760 } else {
1761 0 ▶ if (*endptr == '\0') {
Branch: 1 branch
BranchTrueFalseTotal
if (*endptr == '\0') { 0 0 0
1762 0 ▶ if (val) *val = v;
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = v; 0 0 0
1763 0 return SWIG_Str2NumCast(SWIG_OK);
1764 }
1765 }
1766 }
1767 0 ▶ if (!dispatch) {
Branch: 1 branch
BranchTrueFalseTotal
if (!dispatch) { 0 0 0
1768 double d;
1769 0 int res = SWIG_AddCast(SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(obj,&d));
1770 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
1771 0 ▶ if (val) *val = (long)(d);
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = (long)(d); 0 0 0
1772 0 return res;
1773 }
1774 }
1775 }
1776 0 return SWIG_TypeError;
1777 }
1778  
1779  
1780 SWIGINTERN int
1781 0 SWIG_AsVal_int SWIG_PERL_DECL_ARGS_2(SV * obj, int *val)
1782 {
1783 long v;
1784 0 int res = SWIG_AsVal_long SWIG_PERL_CALL_ARGS_2(obj, &v);
1785 0 ▶ if (SWIG_IsOK(res)) {
Branch: 1 branch
BranchTrueFalseTotal
if (SWIG_IsOK(res)) { 0 0 0
1786 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
1787 0 return SWIG_OverflowError;
1788 } else {
1789 0 ▶ if (val) *val = (int)(v);
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = (int)(v); 0 0 0
1790 }
1791 }
1792 0 return res;
1793 }
1794  
1795  
1796 SWIGINTERNINLINE SV *
1797 0 SWIG_FromCharPtrAndSize(const char* carray, size_t size)
1798 {
1799 0 SV *obj = sv_newmortal();
1800 0 ▶ if (carray) {
Branch: 1 branch
BranchTrueFalseTotal
if (carray) { 0 0 0
1801 0 sv_setpvn(obj, carray, size);
1802 } else {
1803 0 sv_setsv(obj, &PL_sv_undef);
1804 }
1805 0 return obj;
1806 }
1807  
1808  
1809 SWIGINTERNINLINE SV *
1810 0 SWIG_FromCharPtr(const char *cptr)
1811 {
1812 0 ▶ return SWIG_FromCharPtrAndSize(cptr, (cptr ? strlen(cptr) : 0));
Branch: 1 branch
BranchTrueFalseTotal
return SWIG_FromCharPtrAndSize(cptr, (cptr ? strlen(cptr) : 0)); 0 0 0
1813 }
1814  
1815  
1816 #include "gsl/gsl_nan.h"
1817 #include "gsl/gsl_errno.h"
1818 #include "gsl/gsl_math.h"
1819 #include "gsl/gsl_monte.h"
1820  
1821  
1822 struct perl_array {
1823 I32 len;
1824 AV *array;
1825 };
1826  
1827  
1828  
1829 enum awType { awDouble, awFloat, awInt, awUnsigned };
1830  
1831 typedef struct {
1832 I32 size;
1833 enum awType type;
1834 void * data;
1835 } array_wrapper;
1836  
1837 0 array_wrapper * array_wrapper_alloc(int numelem, enum awType type){
1838 0 array_wrapper * rv = malloc(sizeof(array_wrapper));
1839  
1840 0 ▶ if (rv == NULL)
Branch: 1 branch
BranchTrueFalseTotal
if (rv == NULL) 0 0 0
1841 0 croak("array_wrapper_alloc: can't malloc wrapper\n");
1842  
1843 0 switch (type){
1844 0 case awDouble:
1845 0 rv->data = malloc(sizeof(double) * numelem);
1846 0 break;
1847 0 case awFloat:
1848 0 rv->data = malloc(sizeof(float) * numelem);
1849 0 break;
1850 0 case awInt:
1851 0 rv->data = malloc(sizeof(int) * numelem);
1852 0 break;
1853 0 case awUnsigned:
1854 0 rv->data = malloc(sizeof(unsigned int) * numelem);
1855 0 break;
1856 0 default:
1857 0 croak("array_wrapper_alloc: type should be awDouble, awFloat, awInt, or awUnsigned");
1858 }
1859  
1860 0 ▶ if (rv->data == NULL)
Branch: 1 branch
BranchTrueFalseTotal
if (rv->data == NULL) 0 0 0
1861 0 croak("array_wrapper_alloc: can't malloc data");
1862  
1863 0 rv->size = numelem;
1864 0 rv->type = type;
1865 0 return rv;
1866 }
1867  
1868 0 void array_wrapper_free(array_wrapper * daw){
1869 0 free(daw->data);
1870 0 free(daw);
1871 0 }
1872  
1873  
1874 /* structure to hold required information while the gsl function call
1875 for each callback
1876 */
1877 struct gsl_function_perl {
1878 gsl_function C_gsl_function;
1879 SV * function;
1880 SV * params;
1881 };
1882  
1883 struct gsl_function_fdf_perl {
1884 gsl_function_fdf C_gsl_function_fdf;
1885 SV * f;
1886 SV * df;
1887 SV * fdf;
1888 SV * params;
1889 };
1890  
1891 struct gsl_monte_function_perl {
1892 gsl_monte_function C_gsl_monte_function;
1893 SV * f;
1894 SV * dim;
1895 SV * params;
1896 };
1897  
1898 0 void gsl_function_perl_free(struct gsl_function_perl * perl_f){
1899 0 ▶ if (perl_f != NULL) {
Branch: 1 branch
BranchTrueFalseTotal
if (perl_f != NULL) { 0 0 0
1900 0 SvREFCNT_dec(perl_f->function);
1901 0 SvREFCNT_dec(perl_f->params);
1902 0 Safefree(perl_f);
1903 }
1904 0 }
1905  
1906 0 void gsl_function_fdf_perl_free(struct gsl_function_fdf_perl * perl_fdf){
1907 0 ▶ if (perl_fdf != NULL) {
Branch: 1 branch
BranchTrueFalseTotal
if (perl_fdf != NULL) { 0 0 0
1908 0 SvREFCNT_dec(perl_fdf->f);
1909 0 SvREFCNT_dec(perl_fdf->df);
1910 0 SvREFCNT_dec(perl_fdf->fdf);
1911 0 SvREFCNT_dec(perl_fdf->params);
1912 0 Safefree(perl_fdf);
1913 }
1914 0 }
1915  
1916 /* These functions (C callbacks) calls the perl callbacks.
1917 Info for perl callback can be found using the 'void*params' parameter
1918 */
1919 0 double call_gsl_function_x_params(SV* function, double x, SV *params){
1920 unsigned int count;
1921 double y;
1922 0 dSP;
1923  
1924 //fprintf(stderr, "LOOKUP CALLBACK\n");
1925 0 ENTER;
1926 0 SAVETMPS;
1927  
1928 0 ▶ PUSHMARK(SP);
Branch: 1 branch
BranchTrueFalseTotal
PUSHMARK(SP); 0 0 0
1929 0 ▶ XPUSHs(sv_2mortal(newSVnv((double)x)));
Branch: 1 branch
BranchTrueFalseTotal
XPUSHs(sv_2mortal(newSVnv((double)x))); 0 0 0
1930 0 ▶ XPUSHs(params);
Branch: 1 branch
BranchTrueFalseTotal
XPUSHs(params); 0 0 0
1931 0 PUTBACK; /* make local stack pointer global */
1932  
1933 0 count = call_sv(function, G_SCALAR);
1934 0 SPAGAIN;
1935  
1936 0 ▶ if (count != 1)
Branch: 1 branch
BranchTrueFalseTotal
if (count != 1) 0 0 0
1937 0 croak("Expected to call subroutine in scalar context!");
1938  
1939 0 y = POPn;
1940  
1941 0 PUTBACK; /* make local stack pointer global */
1942 0 ▶ FREETMPS;
Branch: 1 branch
BranchTrueFalseTotal
FREETMPS; 0 0 0
1943 0 LEAVE;
1944  
1945 0 return y;
1946 }
1947  
1948 0 double call_gsl_function(double x , void *params){
1949 0 struct gsl_function_perl *F=(struct gsl_function_perl*)params;
1950 0 return call_gsl_function_x_params( F->function, x, F->params );
1951 }
1952  
1953 0 double call_gsl_function_fdf_f(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->f, x, F->params );
1956 }
1957  
1958 0 double call_gsl_function_fdf_df(double x , void *params){
1959 0 struct gsl_function_fdf_perl *F=(struct gsl_function_fdf_perl*)params;
1960 0 return call_gsl_function_x_params( F->df, x, F->params );
1961 }
1962  
1963 0 void call_gsl_function_fdf_fdf(double x , void *params, double *f, double *df ){
1964 0 struct gsl_function_fdf_perl *F=(struct gsl_function_fdf_perl*)params;
1965  
1966 0 dSP;
1967  
1968 0 ENTER;
1969 0 SAVETMPS;
1970  
1971 0 ▶ PUSHMARK(SP);
Branch: 1 branch
BranchTrueFalseTotal
PUSHMARK(SP); 0 0 0
1972 0 ▶ EXTEND(SP, 2);
Branch: 1 branch
BranchTrueFalseTotal
EXTEND(SP, 2); 0 0 0
1973 0 PUSHs(sv_2mortal(newSVnv((double)x)));
1974 0 PUSHs(F->params);
1975 0 PUTBACK; /* make local stack pointer global */
1976  
1977 {
1978 0 unsigned int count = call_sv(F->fdf, G_ARRAY);
1979 0 SPAGAIN;
1980  
1981 0 ▶ if (count != 2)
Branch: 1 branch
BranchTrueFalseTotal
if (count != 2) 0 0 0
1982 0 croak( "Expected two return values, got %d", count );
1983 }
1984  
1985 0 *df = POPn;
1986 0 *f = POPn;
1987  
1988 0 PUTBACK; /* make local stack pointer global */
1989 0 ▶ FREETMPS;
Branch: 1 branch
BranchTrueFalseTotal
FREETMPS; 0 0 0
1990 0 LEAVE;
1991 0 }
1992  
1993 0 double call_gsl_monte_function(double *x_array , size_t dim, void *params){
1994 0 struct gsl_monte_function_perl *F=(struct gsl_monte_function_perl*)params;
1995 unsigned int count;
1996 unsigned int i;
1997 AV* perl_array;
1998 double y;
1999 0 dSP;
2000  
2001 //fprintf(stderr, "LOOKUP CALLBACK\n");
2002 0 ENTER;
2003 0 SAVETMPS;
2004  
2005 0 ▶ PUSHMARK(SP);
Branch: 1 branch
BranchTrueFalseTotal
PUSHMARK(SP); 0 0 0
2006 0 perl_array=newAV();
2007 0 sv_2mortal((SV*)perl_array);
2008 0 ▶ XPUSHs(sv_2mortal(newRV((SV *)perl_array)));
Branch: 1 branch
BranchTrueFalseTotal
XPUSHs(sv_2mortal(newRV((SV *)perl_array))); 0 0 0
2009 0 ▶ for(i=0; i<dim; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for(i=0; i<dim; i++) { 0 0 0
2010 /* no mortal : it is referenced by the array */
2011 0 av_push(perl_array, newSVnv(x_array[i]));
2012 }
2013 0 ▶ XPUSHs(sv_2mortal(newSViv(dim)));
Branch: 1 branch
BranchTrueFalseTotal
XPUSHs(sv_2mortal(newSViv(dim))); 0 0 0
2014 0 ▶ XPUSHs(F->params);
Branch: 1 branch
BranchTrueFalseTotal
XPUSHs(F->params); 0 0 0
2015 0 PUTBACK; /* make local stack pointer global */
2016  
2017 0 count = call_sv(F->f, G_SCALAR);
2018 0 SPAGAIN;
2019  
2020 0 ▶ if (count != 1)
Branch: 1 branch
BranchTrueFalseTotal
if (count != 1) 0 0 0
2021 0 croak("Expected to call subroutine in scalar context!");
2022  
2023 0 y = POPn;
2024  
2025 0 PUTBACK; /* make local stack pointer global */
2026 0 ▶ FREETMPS;
Branch: 1 branch
BranchTrueFalseTotal
FREETMPS; 0 0 0
2027 0 LEAVE;
2028  
2029 0 return y;
2030 }
2031  
2032  
2033 0 void gsl_function_fdf_extract( char* param_name, HV* hash, SV* func[] ) {
2034 static const char *keys[3] = { "f", "df", "fdf" };
2035  
2036 int ikey;
2037  
2038 0 ▶ for ( ikey = 0 ; ikey < 3 ; ++ikey ) {
Branch: 1 branch
BranchTrueFalseTotal
for ( ikey = 0 ; ikey < 3 ; ++ikey ) { 0 0 0
2039 0 func[ikey] = 0;
2040 0 const char* key = keys[ikey];
2041 /* it just so happens that strlen(keys[ikey]) == ikey + 1 */
2042 0 SV** pp_sv = hv_fetch( hash, key, ikey+1, 0 );
2043 SV* function;
2044  
2045 0 ▶ if ( !pp_sv )
Branch: 1 branch
BranchTrueFalseTotal
if ( !pp_sv ) 0 0 0
2046 0 croak("Math::GSL : %s: missing key %s!", param_name, key);
2047  
2048 0 function = *pp_sv;
2049  
2050 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
2051 /* hold on to SV after the enclosing hash goes away */
2052 0 SvREFCNT_inc( function );
2053 0 func[ikey] = function;
2054 }
2055 else {
2056 0 croak( "Math::GSL : %s: key %s is not a reference to code!", param_name, key);
2057 }
2058 }
2059 0 }
2060  
2061  
2062  
2063 #include "gsl/gsl_inline.h"
2064 #include "gsl/gsl_nan.h"
2065 #include "gsl/gsl_vector.h"
2066 #include "gsl/gsl_vector_char.h"
2067 #include "gsl/gsl_vector_complex.h"
2068 #include "gsl/gsl_vector_complex_double.h"
2069 #include "gsl/gsl_vector_double.h"
2070 #include "gsl/gsl_vector_float.h"
2071 #include "gsl/gsl_vector_int.h"
2072  
2073  
2074 SWIGINTERN int
2075 0 SWIG_AsVal_unsigned_SS_long SWIG_PERL_DECL_ARGS_2(SV *obj, unsigned long *val)
2076 {
2077 0 ▶ if (SvUOK(obj)) {
Branch: 1 branch
BranchTrueFalseTotal
if (SvUOK(obj)) { 0 0 0
2078 0 UV v = SvUV(obj);
2079 if (UVSIZE <= sizeof(*val) || v <= ULONG_MAX) {
2080 0 ▶ if (val) *val = v;
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = v; 0 0 0
2081 0 return SWIG_OK;
2082 }
2083 return SWIG_OverflowError;
2084 0 ▶ } else if (SvIOK(obj)) {
Branch: 1 branch
BranchTrueFalseTotal
} else if (SvIOK(obj)) { 0 0 0
2085 0 IV v = SvIV(obj);
2086 0 ▶ if (v >= 0 && (IVSIZE <= sizeof(*val) || v <= ULONG_MAX)) {
Branch: 1 branch
BranchTrueFalseTotal
if (v >= 0 && (IVSIZE <= sizeof(*val) || v <= ULONG_MAX)) { 0 0 0
2087 0 ▶ if (val) *val = v;
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = v; 0 0 0
2088 0 return SWIG_OK;
2089 }
2090 0 return SWIG_OverflowError;
2091 } else {
2092 0 int dispatch = 0;
2093 0 const char *nptr = SvPV_nolen(obj);
2094 0 ▶ if (nptr) {
Branch: 1 branch
BranchTrueFalseTotal
if (nptr) { 0 0 0
2095 char *endptr;
2096 unsigned long v;
2097 0 errno = 0;
2098 0 v = strtoul(nptr, &endptr,0);
2099 0 ▶ if (errno == ERANGE) {
Branch: 1 branch
BranchTrueFalseTotal
if (errno == ERANGE) { 0 0 0
2100 0 errno = 0;
2101 0 return SWIG_OverflowError;
2102 } else {
2103 0 ▶ if (*endptr == '\0') {
Branch: 1 branch
BranchTrueFalseTotal
if (*endptr == '\0') { 0 0 0
2104 0 ▶ if (val) *val = v;
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = v; 0 0 0
2105 0 return SWIG_Str2NumCast(SWIG_OK);
2106 }
2107 }
2108 }
2109 0 ▶ if (!dispatch) {
Branch: 1 branch
BranchTrueFalseTotal
if (!dispatch) { 0 0 0
2110 double d;
2111 0 int res = SWIG_AddCast(SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(obj,&d));
2112 0 ▶ if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, 0, ULONG_MAX)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, 0, ULONG_MAX)) { 0 0 0
if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, 0, ULONG_MAX)) { 0 0 0
2113 0 ▶ if (val) *val = (unsigned long)(d);
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = (unsigned long)(d); 0 0 0
2114 0 return res;
2115 }
2116 }
2117 }
2118 0 return SWIG_TypeError;
2119 }
2120  
2121  
2122 #if defined(LLONG_MAX) && !defined(SWIG_LONG_LONG_AVAILABLE)
2123 # define SWIG_LONG_LONG_AVAILABLE
2124 #endif
2125  
2126  
2127 #ifdef SWIG_LONG_LONG_AVAILABLE
2128 SWIGINTERN int
2129 0 SWIG_AsVal_unsigned_SS_long_SS_long SWIG_PERL_DECL_ARGS_2(SV *obj, unsigned long long *val)
2130 {
2131 0 ▶ if (SvUOK(obj)) {
Branch: 1 branch
BranchTrueFalseTotal
if (SvUOK(obj)) { 0 0 0
2132 /* pretty sure this should be conditional on
2133 * (UVSIZE <= sizeof(*val) || v <= ULLONG_MAX) */
2134 0 ▶ if (val) *val = SvUV(obj);
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = SvUV(obj); 0 0 0
2135 0 return SWIG_OK;
2136 0 ▶ } else if (SvIOK(obj)) {
Branch: 1 branch
BranchTrueFalseTotal
} else if (SvIOK(obj)) { 0 0 0
2137 0 IV v = SvIV(obj);
2138 0 ▶ if (v >= 0 && (IVSIZE <= sizeof(*val) || v <= ULLONG_MAX)) {
Branch: 1 branch
BranchTrueFalseTotal
if (v >= 0 && (IVSIZE <= sizeof(*val) || v <= ULLONG_MAX)) { 0 0 0
2139 0 ▶ if (val) *val = v;
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = v; 0 0 0
2140 0 return SWIG_OK;
2141 } else {
2142 0 return SWIG_OverflowError;
2143 }
2144 } else {
2145 0 int dispatch = 0;
2146 0 const char *nptr = SvPV_nolen(obj);
2147 0 ▶ if (nptr) {
Branch: 1 branch
BranchTrueFalseTotal
if (nptr) { 0 0 0
2148 char *endptr;
2149 unsigned long long v;
2150 0 errno = 0;
2151 0 v = strtoull(nptr, &endptr,0);
2152 0 ▶ if (errno == ERANGE) {
Branch: 1 branch
BranchTrueFalseTotal
if (errno == ERANGE) { 0 0 0
2153 0 errno = 0;
2154 0 return SWIG_OverflowError;
2155 } else {
2156 0 ▶ if (*endptr == '\0') {
Branch: 1 branch
BranchTrueFalseTotal
if (*endptr == '\0') { 0 0 0
2157 0 ▶ if (val) *val = v;
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = v; 0 0 0
2158 0 return SWIG_Str2NumCast(SWIG_OK);
2159 }
2160 }
2161 }
2162 0 ▶ if (!dispatch) {
Branch: 1 branch
BranchTrueFalseTotal
if (!dispatch) { 0 0 0
2163 0 const double mant_max = 1LL << DBL_MANT_DIG;
2164 double d;
2165 0 int res = SWIG_AddCast(SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(obj,&d));
2166 0 ▶ if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, 0, mant_max)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, 0, mant_max)) { 0 0 0
if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, 0, mant_max)) { 0 0 0
2167 0 ▶ if (val) *val = (unsigned long long)(d);
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = (unsigned long long)(d); 0 0 0
2168 0 return res;
2169 }
2170 }
2171 }
2172 0 return SWIG_TypeError;
2173 }
2174 #endif
2175  
2176  
2177 SWIGINTERNINLINE int
2178 0 SWIG_AsVal_size_t SWIG_PERL_DECL_ARGS_2(SV * obj, size_t *val)
2179 {
2180 0 int res = SWIG_TypeError;
2181 #ifdef SWIG_LONG_LONG_AVAILABLE
2182 if (sizeof(size_t) <= sizeof(unsigned long)) {
2183 #endif
2184 unsigned long v;
2185 0 ▶ res = SWIG_AsVal_unsigned_SS_long SWIG_PERL_CALL_ARGS_2(obj, val ? &v : 0);
Branch: 1 branch
BranchTrueFalseTotal
res = SWIG_AsVal_unsigned_SS_long SWIG_PERL_CALL_ARGS_2(obj, val ? &v : 0); 0 0 0
2186 0 ▶ if (SWIG_IsOK(res) && val) *val = (size_t)(v);
Branch: 2 branches
BranchTrueFalseTotal
if (SWIG_IsOK(res) && val) *val = (size_t)(v); 0 0 0
if (SWIG_IsOK(res) && val) *val = (size_t)(v); 0 0 0
2187 #ifdef SWIG_LONG_LONG_AVAILABLE
2188 } else if (sizeof(size_t) <= sizeof(unsigned long long)) {
2189 unsigned long long v;
2190 res = SWIG_AsVal_unsigned_SS_long_SS_long SWIG_PERL_CALL_ARGS_2(obj, val ? &v : 0);
2191 if (SWIG_IsOK(res) && val) *val = (size_t)(v);
2192 }
2193 #endif
2194 0 return res;
2195 }
2196  
2197  
2198 SWIGINTERNINLINE SV *
2199 0 SWIG_From_unsigned_SS_long SWIG_PERL_DECL_ARGS_1(unsigned long value)
2200 {
2201 SV *sv;
2202 if (UVSIZE >= sizeof(value) || value <= UV_MAX)
2203 0 sv = newSVuv(value);
2204 else
2205 sv = newSVpvf("%lu", value);
2206 0 return sv_2mortal(sv);
2207 }
2208  
2209  
2210 #include <stdio.h>
2211 #if (defined(_MSC_VER) && (_MSC_VER < 1900)) || defined(__BORLANDC__) || defined(_WATCOM)
2212 # ifndef snprintf
2213 # define snprintf _snprintf
2214 # endif
2215 #endif
2216  
2217  
2218 #ifdef SWIG_LONG_LONG_AVAILABLE
2219 SWIGINTERNINLINE SV *
2220 SWIG_From_unsigned_SS_long_SS_long SWIG_PERL_DECL_ARGS_1(unsigned long long value)
2221 {
2222 SV *sv;
2223 if (UVSIZE >= sizeof(value) || value <= UV_MAX)
2224 sv = newSVuv((UV)(value));
2225 else {
2226 //sv = newSVpvf("%llu", value); doesn't work in non 64bit Perl
2227 char temp[256];
2228 SWIG_snprintf(temp, sizeof(temp), "%llu", value);
2229 sv = newSVpv(temp, 0);
2230 }
2231 return sv_2mortal(sv);
2232 }
2233 #endif
2234  
2235  
2236 SWIGINTERNINLINE SV *
2237 0 SWIG_From_size_t SWIG_PERL_DECL_ARGS_1(size_t value)
2238 {
2239 #ifdef SWIG_LONG_LONG_AVAILABLE
2240 if (sizeof(size_t) <= sizeof(unsigned long)) {
2241 #endif
2242 0 return SWIG_From_unsigned_SS_long SWIG_PERL_CALL_ARGS_1((unsigned long)(value));
2243 #ifdef SWIG_LONG_LONG_AVAILABLE
2244 } else {
2245 /* assume sizeof(size_t) <= sizeof(unsigned long long) */
2246 return SWIG_From_unsigned_SS_long_SS_long SWIG_PERL_CALL_ARGS_1((unsigned long long)(value));
2247 }
2248 #endif
2249 }
2250  
2251  
2252 SWIGINTERN int
2253 0 SWIG_AsCharArray(SV * obj, char *val, size_t size)
2254 {
2255 0 char* cptr = 0; size_t csize = 0; int alloc = SWIG_OLDOBJ;
2256 0 int res = SWIG_AsCharPtrAndSize(obj, &cptr, &csize, &alloc);
2257 0 ▶ if (SWIG_IsOK(res)) {
Branch: 1 branch
BranchTrueFalseTotal
if (SWIG_IsOK(res)) { 0 0 0
2258 /* special case of single char conversion when we don't need space for NUL */
2259 0 ▶ if (size == 1 && csize == 2 && cptr && !cptr[1]) --csize;
Branch: 4 branches
BranchTrueFalseTotal
if (size == 1 && csize == 2 && cptr && !cptr[1]) --csize; 0 0 0
if (size == 1 && csize == 2 && cptr && !cptr[1]) --csize; 0 0 0
if (size == 1 && csize == 2 && cptr && !cptr[1]) --csize; 0 0 0
if (size == 1 && csize == 2 && cptr && !cptr[1]) --csize; 0 0 0
2260 0 ▶ if (csize <= size) {
Branch: 1 branch
BranchTrueFalseTotal
if (csize <= size) { 0 0 0
2261 0 ▶ if (val) {
Branch: 1 branch
BranchTrueFalseTotal
if (val) { 0 0 0
2262 0 ▶ if (csize) memcpy(val, cptr, csize*sizeof(char));
Branch: 1 branch
BranchTrueFalseTotal
if (csize) memcpy(val, cptr, csize*sizeof(char)); 0 0 0
2263 0 ▶ if (csize < size) memset(val + csize, 0, (size - csize)*sizeof(char));
Branch: 1 branch
BranchTrueFalseTotal
if (csize < size) memset(val + csize, 0, (size - csize)*sizeof(char)); 0 0 0
2264 }
2265 0 ▶ if (alloc == SWIG_NEWOBJ) {
Branch: 1 branch
BranchTrueFalseTotal
if (alloc == SWIG_NEWOBJ) { 0 0 0
2266 0 free((char*)cptr);
2267 0 ▶ res = SWIG_DelNewMask(res);
Branch: 1 branch
BranchTrueFalseTotal
res = SWIG_DelNewMask(res); 0 0 0
2268 }
2269 0 return res;
2270 }
2271 0 ▶ if (alloc == SWIG_NEWOBJ) free((char*)cptr);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc == SWIG_NEWOBJ) free((char*)cptr); 0 0 0
2272 }
2273 0 return SWIG_TypeError;
2274 }
2275  
2276  
2277 SWIGINTERN int
2278 0 SWIG_AsVal_char SWIG_PERL_DECL_ARGS_2(SV * obj, char *val)
2279 {
2280 0 int res = SWIG_AsCharArray(obj, val, 1);
2281 0 ▶ if (!SWIG_IsOK(res)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res)) { 0 0 0
2282 long v;
2283 0 res = SWIG_AddCast(SWIG_AsVal_long SWIG_PERL_CALL_ARGS_2(obj, &v));
2284 0 ▶ if (SWIG_IsOK(res)) {
Branch: 1 branch
BranchTrueFalseTotal
if (SWIG_IsOK(res)) { 0 0 0
2285 0 ▶ if ((CHAR_MIN <= v) && (v <= CHAR_MAX)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((CHAR_MIN <= v) && (v <= CHAR_MAX)) { 0 0 0
if ((CHAR_MIN <= v) && (v <= CHAR_MAX)) { 0 0 0
2286 0 ▶ if (val) *val = (char)(v);
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = (char)(v); 0 0 0
2287 } else {
2288 0 res = SWIG_OverflowError;
2289 }
2290 }
2291 }
2292 0 return res;
2293 }
2294  
2295  
2296 SWIGINTERNINLINE SV *
2297 0 SWIG_From_char SWIG_PERL_DECL_ARGS_1(char c)
2298 {
2299 0 return SWIG_FromCharPtrAndSize(&c,1);
2300 }
2301  
2302 #ifdef __cplusplus
2303 extern "C" {
2304 #endif
2305  
2306 #define MAGIC_CLASS
2307 0 SWIGCLASS_STATIC int swig_magic_readonly(pTHX_ SV *SWIGUNUSEDPARM(sv), MAGIC *SWIGUNUSEDPARM(mg)) {
2308 MAGIC_PPERL
2309 0 croak("Value is read-only.");
2310 return 0;
2311 }
2312  
2313 #ifdef __cplusplus
2314 }
2315 #endif
2316  
2317 #ifdef __cplusplus
2318 extern "C" {
2319 #endif
2320 0 XS(_wrap_gsl_error) {
2321 {
2322 0 char *arg1 = (char *) 0 ;
2323 0 char *arg2 = (char *) 0 ;
2324 int arg3 ;
2325 int arg4 ;
2326 int res1 ;
2327 0 char *buf1 = 0 ;
2328 0 int alloc1 = 0 ;
2329 int res2 ;
2330 0 char *buf2 = 0 ;
2331 0 int alloc2 = 0 ;
2332 int val3 ;
2333 0 int ecode3 = 0 ;
2334 int val4 ;
2335 0 int ecode4 = 0 ;
2336 0 int argvi = 0;
2337 0 dXSARGS;
2338
2339 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
2340 0 SWIG_croak("Usage: gsl_error(reason,file,line,gsl_errno);");
2341 }
2342 0 res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
2343 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2344 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
2345 }
2346 0 arg1 = (char *)(buf1);
2347 0 res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
2348 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
2349 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
2350 }
2351 0 arg2 = (char *)(buf2);
2352 0 ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
2353 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
2354 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
2355 }
2356 0 arg3 = (int)(val3);
2357 0 ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
2358 0 ▶ if (!SWIG_IsOK(ecode4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode4)) { 0 0 0
2359 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
2360 }
2361 0 arg4 = (int)(val4);
2362 0 gsl_error((char const *)arg1,(char const *)arg2,arg3,arg4);
2363 0 ST(argvi) = &PL_sv_undef;
2364 0 ▶ if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc1 == SWIG_NEWOBJ) free((char*)buf1); 0 0 0
2365 0 ▶ if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); 0 0 0
2366
2367
2368 0 XSRETURN(argvi);
2369 0 fail:
2370 0 ▶ if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc1 == SWIG_NEWOBJ) free((char*)buf1); 0 0 0
2371 0 ▶ if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); 0 0 0
2372
2373
2374 0 SWIG_croak_null();
2375 }
2376 }
2377  
2378  
2379 0 XS(_wrap_gsl_stream_printf) {
2380 {
2381 0 char *arg1 = (char *) 0 ;
2382 0 char *arg2 = (char *) 0 ;
2383 int arg3 ;
2384 0 char *arg4 = (char *) 0 ;
2385 int res1 ;
2386 0 char *buf1 = 0 ;
2387 0 int alloc1 = 0 ;
2388 int res2 ;
2389 0 char *buf2 = 0 ;
2390 0 int alloc2 = 0 ;
2391 int val3 ;
2392 0 int ecode3 = 0 ;
2393 int res4 ;
2394 0 char *buf4 = 0 ;
2395 0 int alloc4 = 0 ;
2396 0 int argvi = 0;
2397 0 dXSARGS;
2398
2399 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
2400 0 SWIG_croak("Usage: gsl_stream_printf(label,file,line,reason);");
2401 }
2402 0 res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
2403 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2404 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
2405 }
2406 0 arg1 = (char *)(buf1);
2407 0 res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
2408 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
2409 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
2410 }
2411 0 arg2 = (char *)(buf2);
2412 0 ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
2413 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
2414 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
2415 }
2416 0 arg3 = (int)(val3);
2417 0 res4 = SWIG_AsCharPtrAndSize(ST(3), &buf4, NULL, &alloc4);
2418 0 ▶ if (!SWIG_IsOK(res4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res4)) { 0 0 0
2419 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
2420 }
2421 0 arg4 = (char *)(buf4);
2422 0 gsl_stream_printf((char const *)arg1,(char const *)arg2,arg3,(char const *)arg4);
2423 0 ST(argvi) = &PL_sv_undef;
2424 0 ▶ if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc1 == SWIG_NEWOBJ) free((char*)buf1); 0 0 0
2425 0 ▶ if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); 0 0 0
2426
2427 0 ▶ if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc4 == SWIG_NEWOBJ) free((char*)buf4); 0 0 0
2428 0 XSRETURN(argvi);
2429 0 fail:
2430 0 ▶ if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc1 == SWIG_NEWOBJ) free((char*)buf1); 0 0 0
2431 0 ▶ if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); 0 0 0
2432
2433 0 ▶ if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc4 == SWIG_NEWOBJ) free((char*)buf4); 0 0 0
2434 0 SWIG_croak_null();
2435 }
2436 }
2437  
2438  
2439 0 XS(_wrap_gsl_strerror) {
2440 {
2441 int arg1 ;
2442 int val1 ;
2443 0 int ecode1 = 0 ;
2444 0 int argvi = 0;
2445 0 char *result = 0 ;
2446 0 dXSARGS;
2447
2448 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
2449 0 SWIG_croak("Usage: gsl_strerror(gsl_errno);");
2450 }
2451 0 ecode1 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
2452 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
2453 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
2454 }
2455 0 arg1 = (int)(val1);
2456 0 result = (char *)gsl_strerror(arg1);
2457 0 ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
2458
2459 0 XSRETURN(argvi);
2460 0 fail:
2461
2462 0 SWIG_croak_null();
2463 }
2464 }
2465  
2466  
2467 0 XS(_wrap_gsl_set_error_handler) {
2468 {
2469 0 gsl_error_handler_t *arg1 = (gsl_error_handler_t *) 0 ;
2470 0 int argvi = 0;
2471 0 gsl_error_handler_t *result = 0 ;
2472 0 dXSARGS;
2473
2474 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
2475 0 SWIG_croak("Usage: gsl_set_error_handler(new_handler);");
2476 }
2477 {
2478 0 int res = SWIG_ConvertFunctionPtr(ST(0), (void**)(&arg1), SWIGTYPE_p_f_p_q_const__char_p_q_const__char_int_int__void);
2479 0 ▶ if (!SWIG_IsOK(res)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res)) { 0 0 0
2480 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
2481 }
2482 }
2483 0 result = (gsl_error_handler_t *)gsl_set_error_handler(arg1);
2484 0 ST(argvi) = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_q_const__char_p_q_const__char_int_int__void); argvi++ ;
2485
2486 0 XSRETURN(argvi);
2487 0 fail:
2488
2489 0 SWIG_croak_null();
2490 }
2491 }
2492  
2493  
2494 0 XS(_wrap_gsl_set_error_handler_off) {
2495 {
2496 0 int argvi = 0;
2497 0 gsl_error_handler_t *result = 0 ;
2498 0 dXSARGS;
2499
2500 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
2501 0 SWIG_croak("Usage: gsl_set_error_handler_off();");
2502 }
2503 0 result = (gsl_error_handler_t *)gsl_set_error_handler_off();
2504 0 ST(argvi) = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_q_const__char_p_q_const__char_int_int__void); argvi++ ;
2505 0 XSRETURN(argvi);
2506 0 fail:
2507 0 SWIG_croak_null();
2508 }
2509 }
2510  
2511  
2512 0 XS(_wrap_gsl_set_stream_handler) {
2513 {
2514 0 gsl_stream_handler_t *arg1 = (gsl_stream_handler_t *) 0 ;
2515 0 int argvi = 0;
2516 0 gsl_stream_handler_t *result = 0 ;
2517 0 dXSARGS;
2518
2519 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
2520 0 SWIG_croak("Usage: gsl_set_stream_handler(new_handler);");
2521 }
2522 {
2523 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);
2524 0 ▶ if (!SWIG_IsOK(res)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res)) { 0 0 0
2525 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
2526 }
2527 }
2528 0 result = (gsl_stream_handler_t *)gsl_set_stream_handler(arg1);
2529 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++ ;
2530
2531 0 XSRETURN(argvi);
2532 0 fail:
2533
2534 0 SWIG_croak_null();
2535 }
2536 }
2537  
2538  
2539 0 XS(_wrap_gsl_set_stream) {
2540 {
2541 0 FILE *arg1 = (FILE *) 0 ;
2542 0 void *argp1 = 0 ;
2543 0 int res1 = 0 ;
2544 0 int argvi = 0;
2545 0 FILE *result = 0 ;
2546 0 dXSARGS;
2547
2548 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
2549 0 SWIG_croak("Usage: gsl_set_stream(new_stream);");
2550 }
2551 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_FILE, 0 | 0 );
2552 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2553 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
2554 }
2555 0 arg1 = (FILE *)(argp1);
2556 0 result = (FILE *)gsl_set_stream(arg1);
2557 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FILE, 0 | 0); argvi++ ;
2558
2559 0 XSRETURN(argvi);
2560 0 fail:
2561
2562 0 SWIG_croak_null();
2563 }
2564 }
2565  
2566  
2567 0 XS(_wrap_fopen) {
2568 {
2569 0 char *arg1 = (char *) 0 ;
2570 0 char *arg2 = (char *) 0 ;
2571 int res1 ;
2572 0 char *buf1 = 0 ;
2573 0 int alloc1 = 0 ;
2574 int res2 ;
2575 0 char *buf2 = 0 ;
2576 0 int alloc2 = 0 ;
2577 0 int argvi = 0;
2578 0 FILE *result = 0 ;
2579 0 dXSARGS;
2580
2581 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
2582 0 SWIG_croak("Usage: fopen(char *,char *);");
2583 }
2584 0 res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
2585 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2586 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fopen" "', argument " "1"" of type '" "char *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fopen" "', argument " "1"" of type '" "char *""'"); 0 0 0
2587 }
2588 0 arg1 = (char *)(buf1);
2589 0 res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
2590 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
2591 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "fopen" "', argument " "2"" of type '" "char *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "fopen" "', argument " "2"" of type '" "char *""'"); 0 0 0
2592 }
2593 0 arg2 = (char *)(buf2);
2594 0 result = (FILE *)fopen(arg1,arg2);
2595 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FILE, 0 | 0); argvi++ ;
2596 0 ▶ if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc1 == SWIG_NEWOBJ) free((char*)buf1); 0 0 0
2597 0 ▶ if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); 0 0 0
2598 0 XSRETURN(argvi);
2599 0 fail:
2600 0 ▶ if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc1 == SWIG_NEWOBJ) free((char*)buf1); 0 0 0
2601 0 ▶ if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); 0 0 0
2602 0 SWIG_croak_null();
2603 }
2604 }
2605  
2606  
2607 0 XS(_wrap_fclose) {
2608 {
2609 0 FILE *arg1 = (FILE *) 0 ;
2610 0 void *argp1 = 0 ;
2611 0 int res1 = 0 ;
2612 0 int argvi = 0;
2613 int result;
2614 0 dXSARGS;
2615
2616 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
2617 0 SWIG_croak("Usage: fclose(FILE *);");
2618 }
2619 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_FILE, 0 | 0 );
2620 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2621 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fclose" "', argument " "1"" of type '" "FILE *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fclose" "', argument " "1"" of type '" "FILE *""'"); 0 0 0
2622 }
2623 0 arg1 = (FILE *)(argp1);
2624 0 result = (int)fclose(arg1);
2625 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
2626
2627 0 XSRETURN(argvi);
2628 0 fail:
2629
2630 0 SWIG_croak_null();
2631 }
2632 }
2633  
2634  
2635 0 XS(_wrap_gsl_vector_char_size_set) {
2636 {
2637 0 gsl_vector_char *arg1 = (gsl_vector_char *) 0 ;
2638 size_t arg2 ;
2639 0 void *argp1 = 0 ;
2640 0 int res1 = 0 ;
2641 size_t val2 ;
2642 0 int ecode2 = 0 ;
2643 0 int argvi = 0;
2644 0 dXSARGS;
2645
2646 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
2647 0 SWIG_croak("Usage: gsl_vector_char_size_set(self,size);");
2648 }
2649 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_char, 0 | 0 );
2650 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2651 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_size_set" "', argument " "1"" of type '" "gsl_vector_char *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_size_set" "', argument " "1"" of type '" "gsl_vector_char *""'"); 0 0 0
2652 }
2653 0 arg1 = (gsl_vector_char *)(argp1);
2654 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
2655 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
2656 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_char_size_set" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_char_size_set" "', argument " "2"" of type '" "size_t""'"); 0 0 0
2657 }
2658 0 arg2 = (size_t)(val2);
2659 0 ▶ if (arg1) (arg1)->size = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->size = arg2; 0 0 0
2660 0 ST(argvi) = &PL_sv_undef;
2661
2662
2663 0 XSRETURN(argvi);
2664 0 fail:
2665
2666
2667 0 SWIG_croak_null();
2668 }
2669 }
2670  
2671  
2672 0 XS(_wrap_gsl_vector_char_size_get) {
2673 {
2674 0 gsl_vector_char *arg1 = (gsl_vector_char *) 0 ;
2675 0 void *argp1 = 0 ;
2676 0 int res1 = 0 ;
2677 0 int argvi = 0;
2678 size_t result;
2679 0 dXSARGS;
2680
2681 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
2682 0 SWIG_croak("Usage: gsl_vector_char_size_get(self);");
2683 }
2684 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_char, 0 | 0 );
2685 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2686 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_size_get" "', argument " "1"" of type '" "gsl_vector_char *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_size_get" "', argument " "1"" of type '" "gsl_vector_char *""'"); 0 0 0
2687 }
2688 0 arg1 = (gsl_vector_char *)(argp1);
2689 0 result = ((arg1)->size);
2690 0 ST(argvi) = SWIG_From_size_t SWIG_PERL_CALL_ARGS_1((size_t)(result)); argvi++ ;
2691
2692 0 XSRETURN(argvi);
2693 0 fail:
2694
2695 0 SWIG_croak_null();
2696 }
2697 }
2698  
2699  
2700 0 XS(_wrap_gsl_vector_char_stride_set) {
2701 {
2702 0 gsl_vector_char *arg1 = (gsl_vector_char *) 0 ;
2703 size_t arg2 ;
2704 0 void *argp1 = 0 ;
2705 0 int res1 = 0 ;
2706 size_t val2 ;
2707 0 int ecode2 = 0 ;
2708 0 int argvi = 0;
2709 0 dXSARGS;
2710
2711 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
2712 0 SWIG_croak("Usage: gsl_vector_char_stride_set(self,stride);");
2713 }
2714 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_char, 0 | 0 );
2715 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2716 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_stride_set" "', argument " "1"" of type '" "gsl_vector_char *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_stride_set" "', argument " "1"" of type '" "gsl_vector_char *""'"); 0 0 0
2717 }
2718 0 arg1 = (gsl_vector_char *)(argp1);
2719 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
2720 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
2721 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_char_stride_set" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_char_stride_set" "', argument " "2"" of type '" "size_t""'"); 0 0 0
2722 }
2723 0 arg2 = (size_t)(val2);
2724 0 ▶ if (arg1) (arg1)->stride = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->stride = arg2; 0 0 0
2725 0 ST(argvi) = &PL_sv_undef;
2726
2727
2728 0 XSRETURN(argvi);
2729 0 fail:
2730
2731
2732 0 SWIG_croak_null();
2733 }
2734 }
2735  
2736  
2737 0 XS(_wrap_gsl_vector_char_stride_get) {
2738 {
2739 0 gsl_vector_char *arg1 = (gsl_vector_char *) 0 ;
2740 0 void *argp1 = 0 ;
2741 0 int res1 = 0 ;
2742 0 int argvi = 0;
2743 size_t result;
2744 0 dXSARGS;
2745
2746 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
2747 0 SWIG_croak("Usage: gsl_vector_char_stride_get(self);");
2748 }
2749 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_char, 0 | 0 );
2750 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2751 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_stride_get" "', argument " "1"" of type '" "gsl_vector_char *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_stride_get" "', argument " "1"" of type '" "gsl_vector_char *""'"); 0 0 0
2752 }
2753 0 arg1 = (gsl_vector_char *)(argp1);
2754 0 result = ((arg1)->stride);
2755 0 ST(argvi) = SWIG_From_size_t SWIG_PERL_CALL_ARGS_1((size_t)(result)); argvi++ ;
2756
2757 0 XSRETURN(argvi);
2758 0 fail:
2759
2760 0 SWIG_croak_null();
2761 }
2762 }
2763  
2764  
2765 0 XS(_wrap_gsl_vector_char_data_set) {
2766 {
2767 0 gsl_vector_char *arg1 = (gsl_vector_char *) 0 ;
2768 0 char *arg2 = (char *) 0 ;
2769 0 void *argp1 = 0 ;
2770 0 int res1 = 0 ;
2771 int res2 ;
2772 0 char *buf2 = 0 ;
2773 0 int alloc2 = 0 ;
2774 0 int argvi = 0;
2775 0 dXSARGS;
2776
2777 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
2778 0 SWIG_croak("Usage: gsl_vector_char_data_set(self,data);");
2779 }
2780 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_char, 0 | 0 );
2781 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2782 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_data_set" "', argument " "1"" of type '" "gsl_vector_char *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_data_set" "', argument " "1"" of type '" "gsl_vector_char *""'"); 0 0 0
2783 }
2784 0 arg1 = (gsl_vector_char *)(argp1);
2785 0 res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
2786 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
2787 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_vector_char_data_set" "', argument " "2"" of type '" "char *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_vector_char_data_set" "', argument " "2"" of type '" "char *""'"); 0 0 0
2788 }
2789 0 arg2 = (char *)(buf2);
2790 0 free((char*)arg1->data);
2791 0 ▶ if (arg2) {
Branch: 1 branch
BranchTrueFalseTotal
if (arg2) { 0 0 0
2792 0 size_t size = strlen((const char *)(arg2)) + 1;
2793 0 arg1->data = (char *)(char *)memcpy(malloc((size)*sizeof(char)), (const char *)(arg2), sizeof(char)*(size));
2794 } else {
2795 0 arg1->data = 0;
2796 }
2797 0 ST(argvi) = &PL_sv_undef;
2798
2799 0 ▶ if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); 0 0 0
2800 0 XSRETURN(argvi);
2801 0 fail:
2802
2803 0 ▶ if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); 0 0 0
2804 0 SWIG_croak_null();
2805 }
2806 }
2807  
2808  
2809 0 XS(_wrap_gsl_vector_char_data_get) {
2810 {
2811 0 gsl_vector_char *arg1 = (gsl_vector_char *) 0 ;
2812 0 void *argp1 = 0 ;
2813 0 int res1 = 0 ;
2814 0 int argvi = 0;
2815 0 char *result = 0 ;
2816 0 dXSARGS;
2817
2818 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
2819 0 SWIG_croak("Usage: gsl_vector_char_data_get(self);");
2820 }
2821 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_char, 0 | 0 );
2822 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2823 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_data_get" "', argument " "1"" of type '" "gsl_vector_char *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_data_get" "', argument " "1"" of type '" "gsl_vector_char *""'"); 0 0 0
2824 }
2825 0 arg1 = (gsl_vector_char *)(argp1);
2826 0 result = (char *) ((arg1)->data);
2827 0 ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
2828
2829 0 XSRETURN(argvi);
2830 0 fail:
2831
2832 0 SWIG_croak_null();
2833 }
2834 }
2835  
2836  
2837 0 XS(_wrap_gsl_vector_char_block_set) {
2838 {
2839 0 gsl_vector_char *arg1 = (gsl_vector_char *) 0 ;
2840 0 gsl_block_char *arg2 = (gsl_block_char *) 0 ;
2841 0 void *argp1 = 0 ;
2842 0 int res1 = 0 ;
2843 0 void *argp2 = 0 ;
2844 0 int res2 = 0 ;
2845 0 int argvi = 0;
2846 0 dXSARGS;
2847
2848 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
2849 0 SWIG_croak("Usage: gsl_vector_char_block_set(self,block);");
2850 }
2851 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_char, 0 | 0 );
2852 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2853 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_block_set" "', argument " "1"" of type '" "gsl_vector_char *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_block_set" "', argument " "1"" of type '" "gsl_vector_char *""'"); 0 0 0
2854 }
2855 0 arg1 = (gsl_vector_char *)(argp1);
2856 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_block_char, SWIG_POINTER_DISOWN | 0 );
2857 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
2858 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_vector_char_block_set" "', argument " "2"" of type '" "gsl_block_char *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_vector_char_block_set" "', argument " "2"" of type '" "gsl_block_char *""'"); 0 0 0
2859 }
2860 0 arg2 = (gsl_block_char *)(argp2);
2861 0 ▶ if (arg1) (arg1)->block = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->block = arg2; 0 0 0
2862 0 ST(argvi) = &PL_sv_undef;
2863
2864
2865 0 XSRETURN(argvi);
2866 0 fail:
2867
2868
2869 0 SWIG_croak_null();
2870 }
2871 }
2872  
2873  
2874 0 XS(_wrap_gsl_vector_char_block_get) {
2875 {
2876 0 gsl_vector_char *arg1 = (gsl_vector_char *) 0 ;
2877 0 void *argp1 = 0 ;
2878 0 int res1 = 0 ;
2879 0 int argvi = 0;
2880 0 gsl_block_char *result = 0 ;
2881 0 dXSARGS;
2882
2883 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
2884 0 SWIG_croak("Usage: gsl_vector_char_block_get(self);");
2885 }
2886 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_char, 0 | 0 );
2887 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2888 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_block_get" "', argument " "1"" of type '" "gsl_vector_char *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_block_get" "', argument " "1"" of type '" "gsl_vector_char *""'"); 0 0 0
2889 }
2890 0 arg1 = (gsl_vector_char *)(argp1);
2891 0 result = (gsl_block_char *) ((arg1)->block);
2892 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_block_char, 0 | 0); argvi++ ;
2893
2894 0 XSRETURN(argvi);
2895 0 fail:
2896
2897 0 SWIG_croak_null();
2898 }
2899 }
2900  
2901  
2902 0 XS(_wrap_gsl_vector_char_owner_set) {
2903 {
2904 0 gsl_vector_char *arg1 = (gsl_vector_char *) 0 ;
2905 int arg2 ;
2906 0 void *argp1 = 0 ;
2907 0 int res1 = 0 ;
2908 int val2 ;
2909 0 int ecode2 = 0 ;
2910 0 int argvi = 0;
2911 0 dXSARGS;
2912
2913 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
2914 0 SWIG_croak("Usage: gsl_vector_char_owner_set(self,owner);");
2915 }
2916 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_char, 0 | 0 );
2917 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2918 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_owner_set" "', argument " "1"" of type '" "gsl_vector_char *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_owner_set" "', argument " "1"" of type '" "gsl_vector_char *""'"); 0 0 0
2919 }
2920 0 arg1 = (gsl_vector_char *)(argp1);
2921 0 ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
2922 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
2923 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_char_owner_set" "', argument " "2"" of type '" "int""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_char_owner_set" "', argument " "2"" of type '" "int""'"); 0 0 0
2924 }
2925 0 arg2 = (int)(val2);
2926 0 ▶ if (arg1) (arg1)->owner = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->owner = arg2; 0 0 0
2927 0 ST(argvi) = &PL_sv_undef;
2928
2929
2930 0 XSRETURN(argvi);
2931 0 fail:
2932
2933
2934 0 SWIG_croak_null();
2935 }
2936 }
2937  
2938  
2939 0 XS(_wrap_gsl_vector_char_owner_get) {
2940 {
2941 0 gsl_vector_char *arg1 = (gsl_vector_char *) 0 ;
2942 0 void *argp1 = 0 ;
2943 0 int res1 = 0 ;
2944 0 int argvi = 0;
2945 int result;
2946 0 dXSARGS;
2947
2948 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
2949 0 SWIG_croak("Usage: gsl_vector_char_owner_get(self);");
2950 }
2951 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_char, 0 | 0 );
2952 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2953 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_owner_get" "', argument " "1"" of type '" "gsl_vector_char *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_owner_get" "', argument " "1"" of type '" "gsl_vector_char *""'"); 0 0 0
2954 }
2955 0 arg1 = (gsl_vector_char *)(argp1);
2956 0 result = (int) ((arg1)->owner);
2957 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
2958
2959 0 XSRETURN(argvi);
2960 0 fail:
2961
2962 0 SWIG_croak_null();
2963 }
2964 }
2965  
2966  
2967 0 XS(_wrap_new_gsl_vector_char) {
2968 {
2969 0 int argvi = 0;
2970 0 gsl_vector_char *result = 0 ;
2971 0 dXSARGS;
2972
2973 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
2974 0 SWIG_croak("Usage: new_gsl_vector_char();");
2975 }
2976 0 result = (gsl_vector_char *)calloc(1, sizeof(gsl_vector_char));
2977 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_vector_char, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
2978 0 XSRETURN(argvi);
2979 0 fail:
2980 0 SWIG_croak_null();
2981 }
2982 }
2983  
2984  
2985 0 XS(_wrap_delete_gsl_vector_char) {
2986 {
2987 0 gsl_vector_char *arg1 = (gsl_vector_char *) 0 ;
2988 0 void *argp1 = 0 ;
2989 0 int res1 = 0 ;
2990 0 int argvi = 0;
2991 0 dXSARGS;
2992
2993 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
2994 0 SWIG_croak("Usage: delete_gsl_vector_char(self);");
2995 }
2996 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_char, SWIG_POINTER_DISOWN | 0 );
2997 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2998 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_gsl_vector_char" "', argument " "1"" of type '" "gsl_vector_char *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_gsl_vector_char" "', argument " "1"" of type '" "gsl_vector_char *""'"); 0 0 0
2999 }
3000 0 arg1 = (gsl_vector_char *)(argp1);
3001 0 free((char *) arg1);
3002 0 ST(argvi) = &PL_sv_undef;
3003
3004 0 XSRETURN(argvi);
3005 0 fail:
3006
3007 0 SWIG_croak_null();
3008 }
3009 }
3010  
3011  
3012 0 XS(_wrap__gsl_vector_char_view_vector_set) {
3013 {
3014 0 _gsl_vector_char_view *arg1 = (_gsl_vector_char_view *) 0 ;
3015 0 gsl_vector_char *arg2 = (gsl_vector_char *) 0 ;
3016 0 void *argp1 = 0 ;
3017 0 int res1 = 0 ;
3018 0 void *argp2 = 0 ;
3019 0 int res2 = 0 ;
3020 0 int argvi = 0;
3021 0 dXSARGS;
3022
3023 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
3024 0 SWIG_croak("Usage: _gsl_vector_char_view_vector_set(self,vector);");
3025 }
3026 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__gsl_vector_char_view, 0 | 0 );
3027 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3028 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_gsl_vector_char_view_vector_set" "', argument " "1"" of type '" "_gsl_vector_char_view *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_gsl_vector_char_view_vector_set" "', argument " "1"" of type '" "_gsl_vector_char_view *""'"); 0 0 0
3029 }
3030 0 arg1 = (_gsl_vector_char_view *)(argp1);
3031 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector_char, 0 | 0 );
3032 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
3033 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_gsl_vector_char_view_vector_set" "', argument " "2"" of type '" "gsl_vector_char *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_gsl_vector_char_view_vector_set" "', argument " "2"" of type '" "gsl_vector_char *""'"); 0 0 0
3034 }
3035 0 arg2 = (gsl_vector_char *)(argp2);
3036 0 ▶ if (arg1) (arg1)->vector = *arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->vector = *arg2; 0 0 0
3037 0 ST(argvi) = &PL_sv_undef;
3038
3039
3040 0 XSRETURN(argvi);
3041 0 fail:
3042
3043
3044 0 SWIG_croak_null();
3045 }
3046 }
3047  
3048  
3049 0 XS(_wrap__gsl_vector_char_view_vector_get) {
3050 {
3051 0 _gsl_vector_char_view *arg1 = (_gsl_vector_char_view *) 0 ;
3052 0 void *argp1 = 0 ;
3053 0 int res1 = 0 ;
3054 0 int argvi = 0;
3055 0 gsl_vector_char *result = 0 ;
3056 0 dXSARGS;
3057
3058 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
3059 0 SWIG_croak("Usage: _gsl_vector_char_view_vector_get(self);");
3060 }
3061 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__gsl_vector_char_view, 0 | 0 );
3062 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3063 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_gsl_vector_char_view_vector_get" "', argument " "1"" of type '" "_gsl_vector_char_view *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_gsl_vector_char_view_vector_get" "', argument " "1"" of type '" "_gsl_vector_char_view *""'"); 0 0 0
3064 }
3065 0 arg1 = (_gsl_vector_char_view *)(argp1);
3066 0 result = (gsl_vector_char *)& ((arg1)->vector);
3067 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_vector_char, 0 | SWIG_SHADOW); argvi++ ;
3068
3069 0 XSRETURN(argvi);
3070 0 fail:
3071
3072 0 SWIG_croak_null();
3073 }
3074 }
3075  
3076  
3077 0 XS(_wrap_new__gsl_vector_char_view) {
3078 {
3079 0 int argvi = 0;
3080 0 _gsl_vector_char_view *result = 0 ;
3081 0 dXSARGS;
3082
3083 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
3084 0 SWIG_croak("Usage: new__gsl_vector_char_view();");
3085 }
3086 0 result = (_gsl_vector_char_view *)calloc(1, sizeof(_gsl_vector_char_view));
3087 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__gsl_vector_char_view, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
3088 0 XSRETURN(argvi);
3089 0 fail:
3090 0 SWIG_croak_null();
3091 }
3092 }
3093  
3094  
3095 0 XS(_wrap_delete__gsl_vector_char_view) {
3096 {
3097 0 _gsl_vector_char_view *arg1 = (_gsl_vector_char_view *) 0 ;
3098 0 void *argp1 = 0 ;
3099 0 int res1 = 0 ;
3100 0 int argvi = 0;
3101 0 dXSARGS;
3102
3103 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
3104 0 SWIG_croak("Usage: delete__gsl_vector_char_view(self);");
3105 }
3106 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__gsl_vector_char_view, SWIG_POINTER_DISOWN | 0 );
3107 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3108 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete__gsl_vector_char_view" "', argument " "1"" of type '" "_gsl_vector_char_view *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete__gsl_vector_char_view" "', argument " "1"" of type '" "_gsl_vector_char_view *""'"); 0 0 0
3109 }
3110 0 arg1 = (_gsl_vector_char_view *)(argp1);
3111 0 free((char *) arg1);
3112 0 ST(argvi) = &PL_sv_undef;
3113
3114 0 XSRETURN(argvi);
3115 0 fail:
3116
3117 0 SWIG_croak_null();
3118 }
3119 }
3120  
3121  
3122 0 XS(_wrap__gsl_vector_char_const_view_vector_set) {
3123 {
3124 0 _gsl_vector_char_const_view *arg1 = (_gsl_vector_char_const_view *) 0 ;
3125 0 gsl_vector_char *arg2 = (gsl_vector_char *) 0 ;
3126 0 void *argp1 = 0 ;
3127 0 int res1 = 0 ;
3128 0 void *argp2 = 0 ;
3129 0 int res2 = 0 ;
3130 0 int argvi = 0;
3131 0 dXSARGS;
3132
3133 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
3134 0 SWIG_croak("Usage: _gsl_vector_char_const_view_vector_set(self,vector);");
3135 }
3136 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__gsl_vector_char_const_view, 0 | 0 );
3137 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3138 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_gsl_vector_char_const_view_vector_set" "', argument " "1"" of type '" "_gsl_vector_char_const_view *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_gsl_vector_char_const_view_vector_set" "', argument " "1"" of type '" "_gsl_vector_char_const_view *""'"); 0 0 0
3139 }
3140 0 arg1 = (_gsl_vector_char_const_view *)(argp1);
3141 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector_char, 0 | 0 );
3142 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
3143 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_gsl_vector_char_const_view_vector_set" "', argument " "2"" of type '" "gsl_vector_char *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_gsl_vector_char_const_view_vector_set" "', argument " "2"" of type '" "gsl_vector_char *""'"); 0 0 0
3144 }
3145 0 arg2 = (gsl_vector_char *)(argp2);
3146 0 ▶ if (arg1) (arg1)->vector = *arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->vector = *arg2; 0 0 0
3147 0 ST(argvi) = &PL_sv_undef;
3148
3149
3150 0 XSRETURN(argvi);
3151 0 fail:
3152
3153
3154 0 SWIG_croak_null();
3155 }
3156 }
3157  
3158  
3159 0 XS(_wrap__gsl_vector_char_const_view_vector_get) {
3160 {
3161 0 _gsl_vector_char_const_view *arg1 = (_gsl_vector_char_const_view *) 0 ;
3162 0 void *argp1 = 0 ;
3163 0 int res1 = 0 ;
3164 0 int argvi = 0;
3165 0 gsl_vector_char *result = 0 ;
3166 0 dXSARGS;
3167
3168 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
3169 0 SWIG_croak("Usage: _gsl_vector_char_const_view_vector_get(self);");
3170 }
3171 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__gsl_vector_char_const_view, 0 | 0 );
3172 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3173 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_gsl_vector_char_const_view_vector_get" "', argument " "1"" of type '" "_gsl_vector_char_const_view *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_gsl_vector_char_const_view_vector_get" "', argument " "1"" of type '" "_gsl_vector_char_const_view *""'"); 0 0 0
3174 }
3175 0 arg1 = (_gsl_vector_char_const_view *)(argp1);
3176 0 result = (gsl_vector_char *)& ((arg1)->vector);
3177 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_vector_char, 0 | SWIG_SHADOW); argvi++ ;
3178
3179 0 XSRETURN(argvi);
3180 0 fail:
3181
3182 0 SWIG_croak_null();
3183 }
3184 }
3185  
3186  
3187 0 XS(_wrap_new__gsl_vector_char_const_view) {
3188 {
3189 0 int argvi = 0;
3190 0 _gsl_vector_char_const_view *result = 0 ;
3191 0 dXSARGS;
3192
3193 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
3194 0 SWIG_croak("Usage: new__gsl_vector_char_const_view();");
3195 }
3196 0 result = (_gsl_vector_char_const_view *)calloc(1, sizeof(_gsl_vector_char_const_view));
3197 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__gsl_vector_char_const_view, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
3198 0 XSRETURN(argvi);
3199 0 fail:
3200 0 SWIG_croak_null();
3201 }
3202 }
3203  
3204  
3205 0 XS(_wrap_delete__gsl_vector_char_const_view) {
3206 {
3207 0 _gsl_vector_char_const_view *arg1 = (_gsl_vector_char_const_view *) 0 ;
3208 0 void *argp1 = 0 ;
3209 0 int res1 = 0 ;
3210 0 int argvi = 0;
3211 0 dXSARGS;
3212
3213 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
3214 0 SWIG_croak("Usage: delete__gsl_vector_char_const_view(self);");
3215 }
3216 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__gsl_vector_char_const_view, SWIG_POINTER_DISOWN | 0 );
3217 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3218 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete__gsl_vector_char_const_view" "', argument " "1"" of type '" "_gsl_vector_char_const_view *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete__gsl_vector_char_const_view" "', argument " "1"" of type '" "_gsl_vector_char_const_view *""'"); 0 0 0
3219 }
3220 0 arg1 = (_gsl_vector_char_const_view *)(argp1);
3221 0 free((char *) arg1);
3222 0 ST(argvi) = &PL_sv_undef;
3223
3224 0 XSRETURN(argvi);
3225 0 fail:
3226
3227 0 SWIG_croak_null();
3228 }
3229 }
3230  
3231  
3232 0 XS(_wrap_gsl_vector_char_alloc) {
3233 {
3234 size_t arg1 ;
3235 size_t val1 ;
3236 0 int ecode1 = 0 ;
3237 0 int argvi = 0;
3238 0 gsl_vector_char *result = 0 ;
3239 0 dXSARGS;
3240
3241 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
3242 0 SWIG_croak("Usage: gsl_vector_char_alloc(n);");
3243 }
3244 0 ecode1 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
3245 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
3246 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_vector_char_alloc" "', argument " "1"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_vector_char_alloc" "', argument " "1"" of type '" "size_t""'"); 0 0 0
3247 }
3248 0 arg1 = (size_t)(val1);
3249 0 result = (gsl_vector_char *)gsl_vector_char_alloc(arg1);
3250 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_vector_char, 0 | SWIG_SHADOW); argvi++ ;
3251
3252 0 XSRETURN(argvi);
3253 0 fail:
3254
3255 0 SWIG_croak_null();
3256 }
3257 }
3258  
3259  
3260 0 XS(_wrap_gsl_vector_char_calloc) {
3261 {
3262 size_t arg1 ;
3263 size_t val1 ;
3264 0 int ecode1 = 0 ;
3265 0 int argvi = 0;
3266 0 gsl_vector_char *result = 0 ;
3267 0 dXSARGS;
3268
3269 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
3270 0 SWIG_croak("Usage: gsl_vector_char_calloc(n);");
3271 }
3272 0 ecode1 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
3273 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
3274 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_vector_char_calloc" "', argument " "1"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_vector_char_calloc" "', argument " "1"" of type '" "size_t""'"); 0 0 0
3275 }
3276 0 arg1 = (size_t)(val1);
3277 0 result = (gsl_vector_char *)gsl_vector_char_calloc(arg1);
3278 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_vector_char, 0 | SWIG_SHADOW); argvi++ ;
3279
3280 0 XSRETURN(argvi);
3281 0 fail:
3282
3283 0 SWIG_croak_null();
3284 }
3285 }
3286  
3287  
3288 0 XS(_wrap_gsl_vector_char_alloc_from_block) {
3289 {
3290 0 gsl_block_char *arg1 = (gsl_block_char *) 0 ;
3291 size_t arg2 ;
3292 size_t arg3 ;
3293 size_t arg4 ;
3294 0 void *argp1 = 0 ;
3295 0 int res1 = 0 ;
3296 size_t val2 ;
3297 0 int ecode2 = 0 ;
3298 size_t val3 ;
3299 0 int ecode3 = 0 ;
3300 size_t val4 ;
3301 0 int ecode4 = 0 ;
3302 0 int argvi = 0;
3303 0 gsl_vector_char *result = 0 ;
3304 0 dXSARGS;
3305
3306 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
3307 0 SWIG_croak("Usage: gsl_vector_char_alloc_from_block(b,offset,n,stride);");
3308 }
3309 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_block_char, 0 | 0 );
3310 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3311 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_alloc_from_block" "', argument " "1"" of type '" "gsl_block_char *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_alloc_from_block" "', argument " "1"" of type '" "gsl_block_char *""'"); 0 0 0
3312 }
3313 0 arg1 = (gsl_block_char *)(argp1);
3314 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
3315 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
3316 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_char_alloc_from_block" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_char_alloc_from_block" "', argument " "2"" of type '" "size_t""'"); 0 0 0
3317 }
3318 0 arg2 = (size_t)(val2);
3319 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
3320 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
3321 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_vector_char_alloc_from_block" "', argument " "3"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_vector_char_alloc_from_block" "', argument " "3"" of type '" "size_t""'"); 0 0 0
3322 }
3323 0 arg3 = (size_t)(val3);
3324 0 ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
3325 0 ▶ if (!SWIG_IsOK(ecode4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode4)) { 0 0 0
3326 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_vector_char_alloc_from_block" "', argument " "4"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_vector_char_alloc_from_block" "', argument " "4"" of type '" "size_t""'"); 0 0 0
3327 }
3328 0 arg4 = (size_t)(val4);
3329 0 result = (gsl_vector_char *)gsl_vector_char_alloc_from_block(arg1,arg2,arg3,arg4);
3330 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_vector_char, 0 | SWIG_SHADOW); argvi++ ;
3331
3332
3333
3334
3335 0 XSRETURN(argvi);
3336 0 fail:
3337
3338
3339
3340
3341 0 SWIG_croak_null();
3342 }
3343 }
3344  
3345  
3346 0 XS(_wrap_gsl_vector_char_alloc_from_vector) {
3347 {
3348 0 gsl_vector_char *arg1 = (gsl_vector_char *) 0 ;
3349 size_t arg2 ;
3350 size_t arg3 ;
3351 size_t arg4 ;
3352 0 void *argp1 = 0 ;
3353 0 int res1 = 0 ;
3354 size_t val2 ;
3355 0 int ecode2 = 0 ;
3356 size_t val3 ;
3357 0 int ecode3 = 0 ;
3358 size_t val4 ;
3359 0 int ecode4 = 0 ;
3360 0 int argvi = 0;
3361 0 gsl_vector_char *result = 0 ;
3362 0 dXSARGS;
3363
3364 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
3365 0 SWIG_croak("Usage: gsl_vector_char_alloc_from_vector(v,offset,n,stride);");
3366 }
3367 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_char, 0 | 0 );
3368 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3369 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_alloc_from_vector" "', argument " "1"" of type '" "gsl_vector_char *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_alloc_from_vector" "', argument " "1"" of type '" "gsl_vector_char *""'"); 0 0 0
3370 }
3371 0 arg1 = (gsl_vector_char *)(argp1);
3372 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
3373 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
3374 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_char_alloc_from_vector" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_char_alloc_from_vector" "', argument " "2"" of type '" "size_t""'"); 0 0 0
3375 }
3376 0 arg2 = (size_t)(val2);
3377 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
3378 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
3379 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_vector_char_alloc_from_vector" "', argument " "3"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_vector_char_alloc_from_vector" "', argument " "3"" of type '" "size_t""'"); 0 0 0
3380 }
3381 0 arg3 = (size_t)(val3);
3382 0 ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
3383 0 ▶ if (!SWIG_IsOK(ecode4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode4)) { 0 0 0
3384 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_vector_char_alloc_from_vector" "', argument " "4"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_vector_char_alloc_from_vector" "', argument " "4"" of type '" "size_t""'"); 0 0 0
3385 }
3386 0 arg4 = (size_t)(val4);
3387 0 result = (gsl_vector_char *)gsl_vector_char_alloc_from_vector(arg1,arg2,arg3,arg4);
3388 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_vector_char, 0 | SWIG_SHADOW); argvi++ ;
3389
3390
3391
3392
3393 0 XSRETURN(argvi);
3394 0 fail:
3395
3396
3397
3398
3399 0 SWIG_croak_null();
3400 }
3401 }
3402  
3403  
3404 0 XS(_wrap_gsl_vector_char_free) {
3405 {
3406 0 gsl_vector_char *arg1 = (gsl_vector_char *) 0 ;
3407 0 void *argp1 = 0 ;
3408 0 int res1 = 0 ;
3409 0 int argvi = 0;
3410 0 dXSARGS;
3411
3412 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
3413 0 SWIG_croak("Usage: gsl_vector_char_free(v);");
3414 }
3415 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_char, 0 | 0 );
3416 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3417 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_free" "', argument " "1"" of type '" "gsl_vector_char *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_free" "', argument " "1"" of type '" "gsl_vector_char *""'"); 0 0 0
3418 }
3419 0 arg1 = (gsl_vector_char *)(argp1);
3420 0 gsl_vector_char_free(arg1);
3421 0 ST(argvi) = &PL_sv_undef;
3422
3423 0 XSRETURN(argvi);
3424 0 fail:
3425
3426 0 SWIG_croak_null();
3427 }
3428 }
3429  
3430  
3431 0 XS(_wrap_gsl_vector_char_view_array) {
3432 {
3433 0 char *arg1 = (char *) 0 ;
3434 size_t arg2 ;
3435 int res1 ;
3436 0 char *buf1 = 0 ;
3437 0 int alloc1 = 0 ;
3438 size_t val2 ;
3439 0 int ecode2 = 0 ;
3440 0 int argvi = 0;
3441 _gsl_vector_char_view result;
3442 0 dXSARGS;
3443
3444 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
3445 0 SWIG_croak("Usage: gsl_vector_char_view_array(v,n);");
3446 }
3447 0 res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
3448 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3449 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_view_array" "', argument " "1"" of type '" "char *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_view_array" "', argument " "1"" of type '" "char *""'"); 0 0 0
3450 }
3451 0 arg1 = (char *)(buf1);
3452 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
3453 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
3454 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_char_view_array" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_char_view_array" "', argument " "2"" of type '" "size_t""'"); 0 0 0
3455 }
3456 0 arg2 = (size_t)(val2);
3457 0 result = gsl_vector_char_view_array(arg1,arg2);
3458 0 ST(argvi) = SWIG_NewPointerObj((_gsl_vector_char_view *)memcpy((_gsl_vector_char_view *)calloc(1,sizeof(_gsl_vector_char_view)),&result,sizeof(_gsl_vector_char_view)), SWIGTYPE_p__gsl_vector_char_view, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
3459 0 ▶ if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc1 == SWIG_NEWOBJ) free((char*)buf1); 0 0 0
3460
3461 0 XSRETURN(argvi);
3462 0 fail:
3463 0 ▶ if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc1 == SWIG_NEWOBJ) free((char*)buf1); 0 0 0
3464
3465 0 SWIG_croak_null();
3466 }
3467 }
3468  
3469  
3470 0 XS(_wrap_gsl_vector_char_view_array_with_stride) {
3471 {
3472 0 char *arg1 = (char *) 0 ;
3473 size_t arg2 ;
3474 size_t arg3 ;
3475 int res1 ;
3476 0 char *buf1 = 0 ;
3477 0 int alloc1 = 0 ;
3478 size_t val2 ;
3479 0 int ecode2 = 0 ;
3480 size_t val3 ;
3481 0 int ecode3 = 0 ;
3482 0 int argvi = 0;
3483 _gsl_vector_char_view result;
3484 0 dXSARGS;
3485
3486 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
3487 0 SWIG_croak("Usage: gsl_vector_char_view_array_with_stride(base,stride,n);");
3488 }
3489 0 res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
3490 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3491 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_view_array_with_stride" "', argument " "1"" of type '" "char *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_view_array_with_stride" "', argument " "1"" of type '" "char *""'"); 0 0 0
3492 }
3493 0 arg1 = (char *)(buf1);
3494 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
3495 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
3496 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_char_view_array_with_stride" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_char_view_array_with_stride" "', argument " "2"" of type '" "size_t""'"); 0 0 0
3497 }
3498 0 arg2 = (size_t)(val2);
3499 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
3500 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
3501 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_vector_char_view_array_with_stride" "', argument " "3"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_vector_char_view_array_with_stride" "', argument " "3"" of type '" "size_t""'"); 0 0 0
3502 }
3503 0 arg3 = (size_t)(val3);
3504 0 result = gsl_vector_char_view_array_with_stride(arg1,arg2,arg3);
3505 0 ST(argvi) = SWIG_NewPointerObj((_gsl_vector_char_view *)memcpy((_gsl_vector_char_view *)calloc(1,sizeof(_gsl_vector_char_view)),&result,sizeof(_gsl_vector_char_view)), SWIGTYPE_p__gsl_vector_char_view, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
3506 0 ▶ if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc1 == SWIG_NEWOBJ) free((char*)buf1); 0 0 0
3507
3508
3509 0 XSRETURN(argvi);
3510 0 fail:
3511 0 ▶ if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc1 == SWIG_NEWOBJ) free((char*)buf1); 0 0 0
3512
3513
3514 0 SWIG_croak_null();
3515 }
3516 }
3517  
3518  
3519 0 XS(_wrap_gsl_vector_char_const_view_array) {
3520 {
3521 0 char *arg1 = (char *) 0 ;
3522 size_t arg2 ;
3523 int res1 ;
3524 0 char *buf1 = 0 ;
3525 0 int alloc1 = 0 ;
3526 size_t val2 ;
3527 0 int ecode2 = 0 ;
3528 0 int argvi = 0;
3529 _gsl_vector_char_const_view result;
3530 0 dXSARGS;
3531
3532 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
3533 0 SWIG_croak("Usage: gsl_vector_char_const_view_array(v,n);");
3534 }
3535 0 res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
3536 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3537 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_const_view_array" "', argument " "1"" of type '" "char const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_const_view_array" "', argument " "1"" of type '" "char const *""'"); 0 0 0
3538 }
3539 0 arg1 = (char *)(buf1);
3540 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
3541 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
3542 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_char_const_view_array" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_char_const_view_array" "', argument " "2"" of type '" "size_t""'"); 0 0 0
3543 }
3544 0 arg2 = (size_t)(val2);
3545 0 result = gsl_vector_char_const_view_array((char const *)arg1,arg2);
3546 0 ST(argvi) = SWIG_NewPointerObj((_gsl_vector_char_const_view *)memcpy((_gsl_vector_char_const_view *)calloc(1,sizeof(_gsl_vector_char_const_view)),&result,sizeof(_gsl_vector_char_const_view)), SWIGTYPE_p__gsl_vector_char_const_view, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
3547 0 ▶ if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc1 == SWIG_NEWOBJ) free((char*)buf1); 0 0 0
3548
3549 0 XSRETURN(argvi);
3550 0 fail:
3551 0 ▶ if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc1 == SWIG_NEWOBJ) free((char*)buf1); 0 0 0
3552
3553 0 SWIG_croak_null();
3554 }
3555 }
3556  
3557  
3558 0 XS(_wrap_gsl_vector_char_const_view_array_with_stride) {
3559 {
3560 0 char *arg1 = (char *) 0 ;
3561 size_t arg2 ;
3562 size_t arg3 ;
3563 int res1 ;
3564 0 char *buf1 = 0 ;
3565 0 int alloc1 = 0 ;
3566 size_t val2 ;
3567 0 int ecode2 = 0 ;
3568 size_t val3 ;
3569 0 int ecode3 = 0 ;
3570 0 int argvi = 0;
3571 _gsl_vector_char_const_view result;
3572 0 dXSARGS;
3573
3574 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
3575 0 SWIG_croak("Usage: gsl_vector_char_const_view_array_with_stride(base,stride,n);");
3576 }
3577 0 res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
3578 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3579 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_const_view_array_with_stride" "', argument " "1"" of type '" "char const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_const_view_array_with_stride" "', argument " "1"" of type '" "char const *""'"); 0 0 0
3580 }
3581 0 arg1 = (char *)(buf1);
3582 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
3583 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
3584 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_char_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_char_const_view_array_with_stride" "', argument " "2"" of type '" "size_t""'"); 0 0 0
3585 }
3586 0 arg2 = (size_t)(val2);
3587 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
3588 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
3589 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_vector_char_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_char_const_view_array_with_stride" "', argument " "3"" of type '" "size_t""'"); 0 0 0
3590 }
3591 0 arg3 = (size_t)(val3);
3592 0 result = gsl_vector_char_const_view_array_with_stride((char const *)arg1,arg2,arg3);
3593 0 ST(argvi) = SWIG_NewPointerObj((_gsl_vector_char_const_view *)memcpy((_gsl_vector_char_const_view *)calloc(1,sizeof(_gsl_vector_char_const_view)),&result,sizeof(_gsl_vector_char_const_view)), SWIGTYPE_p__gsl_vector_char_const_view, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
3594 0 ▶ if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc1 == SWIG_NEWOBJ) free((char*)buf1); 0 0 0
3595
3596
3597 0 XSRETURN(argvi);
3598 0 fail:
3599 0 ▶ if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc1 == SWIG_NEWOBJ) free((char*)buf1); 0 0 0
3600
3601
3602 0 SWIG_croak_null();
3603 }
3604 }
3605  
3606  
3607 0 XS(_wrap_gsl_vector_char_subvector) {
3608 {
3609 0 gsl_vector_char *arg1 = (gsl_vector_char *) 0 ;
3610 size_t arg2 ;
3611 size_t arg3 ;
3612 0 void *argp1 = 0 ;
3613 0 int res1 = 0 ;
3614 size_t val2 ;
3615 0 int ecode2 = 0 ;
3616 size_t val3 ;
3617 0 int ecode3 = 0 ;
3618 0 int argvi = 0;
3619 _gsl_vector_char_view result;
3620 0 dXSARGS;
3621
3622 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
3623 0 SWIG_croak("Usage: gsl_vector_char_subvector(v,i,n);");
3624 }
3625 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_char, 0 | 0 );
3626 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3627 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_subvector" "', argument " "1"" of type '" "gsl_vector_char *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_subvector" "', argument " "1"" of type '" "gsl_vector_char *""'"); 0 0 0
3628 }
3629 0 arg1 = (gsl_vector_char *)(argp1);
3630 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
3631 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
3632 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_char_subvector" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_char_subvector" "', argument " "2"" of type '" "size_t""'"); 0 0 0
3633 }
3634 0 arg2 = (size_t)(val2);
3635 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
3636 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
3637 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_vector_char_subvector" "', argument " "3"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_vector_char_subvector" "', argument " "3"" of type '" "size_t""'"); 0 0 0
3638 }
3639 0 arg3 = (size_t)(val3);
3640 0 result = gsl_vector_char_subvector(arg1,arg2,arg3);
3641 0 ST(argvi) = SWIG_NewPointerObj((_gsl_vector_char_view *)memcpy((_gsl_vector_char_view *)calloc(1,sizeof(_gsl_vector_char_view)),&result,sizeof(_gsl_vector_char_view)), SWIGTYPE_p__gsl_vector_char_view, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
3642
3643
3644
3645 0 XSRETURN(argvi);
3646 0 fail:
3647
3648
3649
3650 0 SWIG_croak_null();
3651 }
3652 }
3653  
3654  
3655 0 XS(_wrap_gsl_vector_char_subvector_with_stride) {
3656 {
3657 0 gsl_vector_char *arg1 = (gsl_vector_char *) 0 ;
3658 size_t arg2 ;
3659 size_t arg3 ;
3660 size_t arg4 ;
3661 0 void *argp1 = 0 ;
3662 0 int res1 = 0 ;
3663 size_t val2 ;
3664 0 int ecode2 = 0 ;
3665 size_t val3 ;
3666 0 int ecode3 = 0 ;
3667 size_t val4 ;
3668 0 int ecode4 = 0 ;
3669 0 int argvi = 0;
3670 _gsl_vector_char_view result;
3671 0 dXSARGS;
3672
3673 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
3674 0 SWIG_croak("Usage: gsl_vector_char_subvector_with_stride(v,i,stride,n);");
3675 }
3676 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_char, 0 | 0 );
3677 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3678 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_subvector_with_stride" "', argument " "1"" of type '" "gsl_vector_char *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_subvector_with_stride" "', argument " "1"" of type '" "gsl_vector_char *""'"); 0 0 0
3679 }
3680 0 arg1 = (gsl_vector_char *)(argp1);
3681 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
3682 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
3683 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_char_subvector_with_stride" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_char_subvector_with_stride" "', argument " "2"" of type '" "size_t""'"); 0 0 0
3684 }
3685 0 arg2 = (size_t)(val2);
3686 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
3687 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
3688 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_vector_char_subvector_with_stride" "', argument " "3"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_vector_char_subvector_with_stride" "', argument " "3"" of type '" "size_t""'"); 0 0 0
3689 }
3690 0 arg3 = (size_t)(val3);
3691 0 ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
3692 0 ▶ if (!SWIG_IsOK(ecode4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode4)) { 0 0 0
3693 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_vector_char_subvector_with_stride" "', argument " "4"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_vector_char_subvector_with_stride" "', argument " "4"" of type '" "size_t""'"); 0 0 0
3694 }
3695 0 arg4 = (size_t)(val4);
3696 0 result = gsl_vector_char_subvector_with_stride(arg1,arg2,arg3,arg4);
3697 0 ST(argvi) = SWIG_NewPointerObj((_gsl_vector_char_view *)memcpy((_gsl_vector_char_view *)calloc(1,sizeof(_gsl_vector_char_view)),&result,sizeof(_gsl_vector_char_view)), SWIGTYPE_p__gsl_vector_char_view, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
3698
3699
3700
3701
3702 0 XSRETURN(argvi);
3703 0 fail:
3704
3705
3706
3707
3708 0 SWIG_croak_null();
3709 }
3710 }
3711  
3712  
3713 0 XS(_wrap_gsl_vector_char_const_subvector) {
3714 {
3715 0 gsl_vector_char *arg1 = (gsl_vector_char *) 0 ;
3716 size_t arg2 ;
3717 size_t arg3 ;
3718 0 void *argp1 = 0 ;
3719 0 int res1 = 0 ;
3720 size_t val2 ;
3721 0 int ecode2 = 0 ;
3722 size_t val3 ;
3723 0 int ecode3 = 0 ;
3724 0 int argvi = 0;
3725 _gsl_vector_char_const_view result;
3726 0 dXSARGS;
3727
3728 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
3729 0 SWIG_croak("Usage: gsl_vector_char_const_subvector(v,i,n);");
3730 }
3731 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_char, 0 | 0 );
3732 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3733 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_const_subvector" "', argument " "1"" of type '" "gsl_vector_char const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_const_subvector" "', argument " "1"" of type '" "gsl_vector_char const *""'"); 0 0 0
3734 }
3735 0 arg1 = (gsl_vector_char *)(argp1);
3736 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
3737 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
3738 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_char_const_subvector" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_char_const_subvector" "', argument " "2"" of type '" "size_t""'"); 0 0 0
3739 }
3740 0 arg2 = (size_t)(val2);
3741 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
3742 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
3743 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_vector_char_const_subvector" "', argument " "3"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_vector_char_const_subvector" "', argument " "3"" of type '" "size_t""'"); 0 0 0
3744 }
3745 0 arg3 = (size_t)(val3);
3746 0 result = gsl_vector_char_const_subvector((gsl_vector_char const *)arg1,arg2,arg3);
3747 0 ST(argvi) = SWIG_NewPointerObj((_gsl_vector_char_const_view *)memcpy((_gsl_vector_char_const_view *)calloc(1,sizeof(_gsl_vector_char_const_view)),&result,sizeof(_gsl_vector_char_const_view)), SWIGTYPE_p__gsl_vector_char_const_view, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
3748
3749
3750
3751 0 XSRETURN(argvi);
3752 0 fail:
3753
3754
3755
3756 0 SWIG_croak_null();
3757 }
3758 }
3759  
3760  
3761 0 XS(_wrap_gsl_vector_char_const_subvector_with_stride) {
3762 {
3763 0 gsl_vector_char *arg1 = (gsl_vector_char *) 0 ;
3764 size_t arg2 ;
3765 size_t arg3 ;
3766 size_t arg4 ;
3767 0 void *argp1 = 0 ;
3768 0 int res1 = 0 ;
3769 size_t val2 ;
3770 0 int ecode2 = 0 ;
3771 size_t val3 ;
3772 0 int ecode3 = 0 ;
3773 size_t val4 ;
3774 0 int ecode4 = 0 ;
3775 0 int argvi = 0;
3776 _gsl_vector_char_const_view result;
3777 0 dXSARGS;
3778
3779 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
3780 0 SWIG_croak("Usage: gsl_vector_char_const_subvector_with_stride(v,i,stride,n);");
3781 }
3782 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_char, 0 | 0 );
3783 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3784 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_const_subvector_with_stride" "', argument " "1"" of type '" "gsl_vector_char const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_const_subvector_with_stride" "', argument " "1"" of type '" "gsl_vector_char const *""'"); 0 0 0
3785 }
3786 0 arg1 = (gsl_vector_char *)(argp1);
3787 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
3788 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
3789 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_char_const_subvector_with_stride" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_char_const_subvector_with_stride" "', argument " "2"" of type '" "size_t""'"); 0 0 0
3790 }
3791 0 arg2 = (size_t)(val2);
3792 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
3793 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
3794 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_vector_char_const_subvector_with_stride" "', argument " "3"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_vector_char_const_subvector_with_stride" "', argument " "3"" of type '" "size_t""'"); 0 0 0
3795 }
3796 0 arg3 = (size_t)(val3);
3797 0 ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
3798 0 ▶ if (!SWIG_IsOK(ecode4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode4)) { 0 0 0
3799 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_vector_char_const_subvector_with_stride" "', argument " "4"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_vector_char_const_subvector_with_stride" "', argument " "4"" of type '" "size_t""'"); 0 0 0
3800 }
3801 0 arg4 = (size_t)(val4);
3802 0 result = gsl_vector_char_const_subvector_with_stride((gsl_vector_char const *)arg1,arg2,arg3,arg4);
3803 0 ST(argvi) = SWIG_NewPointerObj((_gsl_vector_char_const_view *)memcpy((_gsl_vector_char_const_view *)calloc(1,sizeof(_gsl_vector_char_const_view)),&result,sizeof(_gsl_vector_char_const_view)), SWIGTYPE_p__gsl_vector_char_const_view, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
3804
3805
3806
3807
3808 0 XSRETURN(argvi);
3809 0 fail:
3810
3811
3812
3813
3814 0 SWIG_croak_null();
3815 }
3816 }
3817  
3818  
3819 0 XS(_wrap_gsl_vector_char_set_zero) {
3820 {
3821 0 gsl_vector_char *arg1 = (gsl_vector_char *) 0 ;
3822 0 void *argp1 = 0 ;
3823 0 int res1 = 0 ;
3824 0 int argvi = 0;
3825 0 dXSARGS;
3826
3827 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
3828 0 SWIG_croak("Usage: gsl_vector_char_set_zero(v);");
3829 }
3830 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_char, 0 | 0 );
3831 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3832 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_set_zero" "', argument " "1"" of type '" "gsl_vector_char *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_set_zero" "', argument " "1"" of type '" "gsl_vector_char *""'"); 0 0 0
3833 }
3834 0 arg1 = (gsl_vector_char *)(argp1);
3835 0 gsl_vector_char_set_zero(arg1);
3836 0 ST(argvi) = &PL_sv_undef;
3837
3838 0 XSRETURN(argvi);
3839 0 fail:
3840
3841 0 SWIG_croak_null();
3842 }
3843 }
3844  
3845  
3846 0 XS(_wrap_gsl_vector_char_set_all) {
3847 {
3848 0 gsl_vector_char *arg1 = (gsl_vector_char *) 0 ;
3849 char arg2 ;
3850 0 void *argp1 = 0 ;
3851 0 int res1 = 0 ;
3852 char val2 ;
3853 0 int ecode2 = 0 ;
3854 0 int argvi = 0;
3855 0 dXSARGS;
3856
3857 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
3858 0 SWIG_croak("Usage: gsl_vector_char_set_all(v,x);");
3859 }
3860 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_char, 0 | 0 );
3861 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3862 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_set_all" "', argument " "1"" of type '" "gsl_vector_char *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_set_all" "', argument " "1"" of type '" "gsl_vector_char *""'"); 0 0 0
3863 }
3864 0 arg1 = (gsl_vector_char *)(argp1);
3865 0 ecode2 = SWIG_AsVal_char SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
3866 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
3867 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_char_set_all" "', argument " "2"" of type '" "char""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_char_set_all" "', argument " "2"" of type '" "char""'"); 0 0 0
3868 }
3869 0 arg2 = (char)(val2);
3870 0 gsl_vector_char_set_all(arg1,arg2);
3871 0 ST(argvi) = &PL_sv_undef;
3872
3873
3874 0 XSRETURN(argvi);
3875 0 fail:
3876
3877
3878 0 SWIG_croak_null();
3879 }
3880 }
3881  
3882  
3883 0 XS(_wrap_gsl_vector_char_set_basis) {
3884 {
3885 0 gsl_vector_char *arg1 = (gsl_vector_char *) 0 ;
3886 size_t arg2 ;
3887 0 void *argp1 = 0 ;
3888 0 int res1 = 0 ;
3889 size_t val2 ;
3890 0 int ecode2 = 0 ;
3891 0 int argvi = 0;
3892 int result;
3893 0 dXSARGS;
3894
3895 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
3896 0 SWIG_croak("Usage: gsl_vector_char_set_basis(v,i);");
3897 }
3898 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_char, 0 | 0 );
3899 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3900 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_set_basis" "', argument " "1"" of type '" "gsl_vector_char *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_set_basis" "', argument " "1"" of type '" "gsl_vector_char *""'"); 0 0 0
3901 }
3902 0 arg1 = (gsl_vector_char *)(argp1);
3903 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
3904 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
3905 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_char_set_basis" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_char_set_basis" "', argument " "2"" of type '" "size_t""'"); 0 0 0
3906 }
3907 0 arg2 = (size_t)(val2);
3908 0 result = (int)gsl_vector_char_set_basis(arg1,arg2);
3909 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
3910
3911
3912 0 XSRETURN(argvi);
3913 0 fail:
3914
3915
3916 0 SWIG_croak_null();
3917 }
3918 }
3919  
3920  
3921 0 XS(_wrap_gsl_vector_char_fread) {
3922 {
3923 0 FILE *arg1 = (FILE *) 0 ;
3924 0 gsl_vector_char *arg2 = (gsl_vector_char *) 0 ;
3925 0 void *argp1 = 0 ;
3926 0 int res1 = 0 ;
3927 0 void *argp2 = 0 ;
3928 0 int res2 = 0 ;
3929 0 int argvi = 0;
3930 int result;
3931 0 dXSARGS;
3932
3933 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
3934 0 SWIG_croak("Usage: gsl_vector_char_fread(stream,v);");
3935 }
3936 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_FILE, 0 | 0 );
3937 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3938 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_fread" "', argument " "1"" of type '" "FILE *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_fread" "', argument " "1"" of type '" "FILE *""'"); 0 0 0
3939 }
3940 0 arg1 = (FILE *)(argp1);
3941 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector_char, 0 | 0 );
3942 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
3943 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_vector_char_fread" "', argument " "2"" of type '" "gsl_vector_char *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_vector_char_fread" "', argument " "2"" of type '" "gsl_vector_char *""'"); 0 0 0
3944 }
3945 0 arg2 = (gsl_vector_char *)(argp2);
3946 0 result = (int)gsl_vector_char_fread(arg1,arg2);
3947 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
3948
3949
3950 0 XSRETURN(argvi);
3951 0 fail:
3952
3953
3954 0 SWIG_croak_null();
3955 }
3956 }
3957  
3958  
3959 0 XS(_wrap_gsl_vector_char_fwrite) {
3960 {
3961 0 FILE *arg1 = (FILE *) 0 ;
3962 0 gsl_vector_char *arg2 = (gsl_vector_char *) 0 ;
3963 0 void *argp1 = 0 ;
3964 0 int res1 = 0 ;
3965 0 void *argp2 = 0 ;
3966 0 int res2 = 0 ;
3967 0 int argvi = 0;
3968 int result;
3969 0 dXSARGS;
3970
3971 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
3972 0 SWIG_croak("Usage: gsl_vector_char_fwrite(stream,v);");
3973 }
3974 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_FILE, 0 | 0 );
3975 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3976 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_fwrite" "', argument " "1"" of type '" "FILE *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_fwrite" "', argument " "1"" of type '" "FILE *""'"); 0 0 0
3977 }
3978 0 arg1 = (FILE *)(argp1);
3979 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector_char, 0 | 0 );
3980 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
3981 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_vector_char_fwrite" "', argument " "2"" of type '" "gsl_vector_char const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_vector_char_fwrite" "', argument " "2"" of type '" "gsl_vector_char const *""'"); 0 0 0
3982 }
3983 0 arg2 = (gsl_vector_char *)(argp2);
3984 0 result = (int)gsl_vector_char_fwrite(arg1,(gsl_vector_char const *)arg2);
3985 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
3986
3987
3988 0 XSRETURN(argvi);
3989 0 fail:
3990
3991
3992 0 SWIG_croak_null();
3993 }
3994 }
3995  
3996  
3997 0 XS(_wrap_gsl_vector_char_fscanf) {
3998 {
3999 0 FILE *arg1 = (FILE *) 0 ;
4000 0 gsl_vector_char *arg2 = (gsl_vector_char *) 0 ;
4001 0 void *argp1 = 0 ;
4002 0 int res1 = 0 ;
4003 0 void *argp2 = 0 ;
4004 0 int res2 = 0 ;
4005 0 int argvi = 0;
4006 int result;
4007 0 dXSARGS;
4008
4009 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
4010 0 SWIG_croak("Usage: gsl_vector_char_fscanf(stream,v);");
4011 }
4012 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_FILE, 0 | 0 );
4013 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4014 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_fscanf" "', argument " "1"" of type '" "FILE *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_fscanf" "', argument " "1"" of type '" "FILE *""'"); 0 0 0
4015 }
4016 0 arg1 = (FILE *)(argp1);
4017 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector_char, 0 | 0 );
4018 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
4019 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_vector_char_fscanf" "', argument " "2"" of type '" "gsl_vector_char *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_vector_char_fscanf" "', argument " "2"" of type '" "gsl_vector_char *""'"); 0 0 0
4020 }
4021 0 arg2 = (gsl_vector_char *)(argp2);
4022 0 result = (int)gsl_vector_char_fscanf(arg1,arg2);
4023 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
4024
4025
4026 0 XSRETURN(argvi);
4027 0 fail:
4028
4029
4030 0 SWIG_croak_null();
4031 }
4032 }
4033  
4034  
4035 0 XS(_wrap_gsl_vector_char_fprintf) {
4036 {
4037 0 FILE *arg1 = (FILE *) 0 ;
4038 0 gsl_vector_char *arg2 = (gsl_vector_char *) 0 ;
4039 0 char *arg3 = (char *) 0 ;
4040 0 void *argp1 = 0 ;
4041 0 int res1 = 0 ;
4042 0 void *argp2 = 0 ;
4043 0 int res2 = 0 ;
4044 int res3 ;
4045 0 char *buf3 = 0 ;
4046 0 int alloc3 = 0 ;
4047 0 int argvi = 0;
4048 int result;
4049 0 dXSARGS;
4050
4051 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
4052 0 SWIG_croak("Usage: gsl_vector_char_fprintf(stream,v,format);");
4053 }
4054 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_FILE, 0 | 0 );
4055 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4056 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_fprintf" "', argument " "1"" of type '" "FILE *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_fprintf" "', argument " "1"" of type '" "FILE *""'"); 0 0 0
4057 }
4058 0 arg1 = (FILE *)(argp1);
4059 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector_char, 0 | 0 );
4060 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
4061 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_vector_char_fprintf" "', argument " "2"" of type '" "gsl_vector_char const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_vector_char_fprintf" "', argument " "2"" of type '" "gsl_vector_char const *""'"); 0 0 0
4062 }
4063 0 arg2 = (gsl_vector_char *)(argp2);
4064 0 res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
4065 0 ▶ if (!SWIG_IsOK(res3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res3)) { 0 0 0
4066 0 ▶ SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_vector_char_fprintf" "', argument " "3"" of type '" "char const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_vector_char_fprintf" "', argument " "3"" of type '" "char const *""'"); 0 0 0
4067 }
4068 0 arg3 = (char *)(buf3);
4069 0 result = (int)gsl_vector_char_fprintf(arg1,(gsl_vector_char const *)arg2,(char const *)arg3);
4070 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
4071
4072
4073 0 ▶ if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3); 0 0 0
4074 0 XSRETURN(argvi);
4075 0 fail:
4076
4077
4078 0 ▶ if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3); 0 0 0
4079 0 SWIG_croak_null();
4080 }
4081 }
4082  
4083  
4084 0 XS(_wrap_gsl_vector_char_memcpy) {
4085 {
4086 0 gsl_vector_char *arg1 = (gsl_vector_char *) 0 ;
4087 0 gsl_vector_char *arg2 = (gsl_vector_char *) 0 ;
4088 0 void *argp1 = 0 ;
4089 0 int res1 = 0 ;
4090 0 void *argp2 = 0 ;
4091 0 int res2 = 0 ;
4092 0 int argvi = 0;
4093 int result;
4094 0 dXSARGS;
4095
4096 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
4097 0 SWIG_croak("Usage: gsl_vector_char_memcpy(dest,src);");
4098 }
4099 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_char, 0 | 0 );
4100 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4101 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_memcpy" "', argument " "1"" of type '" "gsl_vector_char *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_memcpy" "', argument " "1"" of type '" "gsl_vector_char *""'"); 0 0 0
4102 }
4103 0 arg1 = (gsl_vector_char *)(argp1);
4104 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector_char, 0 | 0 );
4105 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
4106 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_vector_char_memcpy" "', argument " "2"" of type '" "gsl_vector_char const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_vector_char_memcpy" "', argument " "2"" of type '" "gsl_vector_char const *""'"); 0 0 0
4107 }
4108 0 arg2 = (gsl_vector_char *)(argp2);
4109 0 result = (int)gsl_vector_char_memcpy(arg1,(gsl_vector_char const *)arg2);
4110 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
4111
4112
4113 0 XSRETURN(argvi);
4114 0 fail:
4115
4116
4117 0 SWIG_croak_null();
4118 }
4119 }
4120  
4121  
4122 0 XS(_wrap_gsl_vector_char_reverse) {
4123 {
4124 0 gsl_vector_char *arg1 = (gsl_vector_char *) 0 ;
4125 0 void *argp1 = 0 ;
4126 0 int res1 = 0 ;
4127 0 int argvi = 0;
4128 int result;
4129 0 dXSARGS;
4130
4131 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
4132 0 SWIG_croak("Usage: gsl_vector_char_reverse(v);");
4133 }
4134 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_char, 0 | 0 );
4135 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4136 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_reverse" "', argument " "1"" of type '" "gsl_vector_char *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_reverse" "', argument " "1"" of type '" "gsl_vector_char *""'"); 0 0 0
4137 }
4138 0 arg1 = (gsl_vector_char *)(argp1);
4139 0 result = (int)gsl_vector_char_reverse(arg1);
4140 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
4141
4142 0 XSRETURN(argvi);
4143 0 fail:
4144
4145 0 SWIG_croak_null();
4146 }
4147 }
4148  
4149  
4150 0 XS(_wrap_gsl_vector_char_swap) {
4151 {
4152 0 gsl_vector_char *arg1 = (gsl_vector_char *) 0 ;
4153 0 gsl_vector_char *arg2 = (gsl_vector_char *) 0 ;
4154 0 void *argp1 = 0 ;
4155 0 int res1 = 0 ;
4156 0 void *argp2 = 0 ;
4157 0 int res2 = 0 ;
4158 0 int argvi = 0;
4159 int result;
4160 0 dXSARGS;
4161
4162 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
4163 0 SWIG_croak("Usage: gsl_vector_char_swap(v,w);");
4164 }
4165 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_char, 0 | 0 );
4166 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4167 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_swap" "', argument " "1"" of type '" "gsl_vector_char *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_swap" "', argument " "1"" of type '" "gsl_vector_char *""'"); 0 0 0
4168 }
4169 0 arg1 = (gsl_vector_char *)(argp1);
4170 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector_char, 0 | 0 );
4171 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
4172 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_vector_char_swap" "', argument " "2"" of type '" "gsl_vector_char *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_vector_char_swap" "', argument " "2"" of type '" "gsl_vector_char *""'"); 0 0 0
4173 }
4174 0 arg2 = (gsl_vector_char *)(argp2);
4175 0 result = (int)gsl_vector_char_swap(arg1,arg2);
4176 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
4177
4178
4179 0 XSRETURN(argvi);
4180 0 fail:
4181
4182
4183 0 SWIG_croak_null();
4184 }
4185 }
4186  
4187  
4188 0 XS(_wrap_gsl_vector_char_swap_elements) {
4189 {
4190 0 gsl_vector_char *arg1 = (gsl_vector_char *) 0 ;
4191 size_t arg2 ;
4192 size_t arg3 ;
4193 0 void *argp1 = 0 ;
4194 0 int res1 = 0 ;
4195 size_t val2 ;
4196 0 int ecode2 = 0 ;
4197 size_t val3 ;
4198 0 int ecode3 = 0 ;
4199 0 int argvi = 0;
4200 int result;
4201 0 dXSARGS;
4202
4203 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
4204 0 SWIG_croak("Usage: gsl_vector_char_swap_elements(v,i,j);");
4205 }
4206 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_char, 0 | 0 );
4207 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4208 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_swap_elements" "', argument " "1"" of type '" "gsl_vector_char *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_swap_elements" "', argument " "1"" of type '" "gsl_vector_char *""'"); 0 0 0
4209 }
4210 0 arg1 = (gsl_vector_char *)(argp1);
4211 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
4212 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
4213 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_char_swap_elements" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_char_swap_elements" "', argument " "2"" of type '" "size_t""'"); 0 0 0
4214 }
4215 0 arg2 = (size_t)(val2);
4216 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
4217 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
4218 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_vector_char_swap_elements" "', argument " "3"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_vector_char_swap_elements" "', argument " "3"" of type '" "size_t""'"); 0 0 0
4219 }
4220 0 arg3 = (size_t)(val3);
4221 0 result = (int)gsl_vector_char_swap_elements(arg1,arg2,arg3);
4222 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
4223
4224
4225
4226 0 XSRETURN(argvi);
4227 0 fail:
4228
4229
4230
4231 0 SWIG_croak_null();
4232 }
4233 }
4234  
4235  
4236 0 XS(_wrap_gsl_vector_char_max) {
4237 {
4238 0 gsl_vector_char *arg1 = (gsl_vector_char *) 0 ;
4239 0 void *argp1 = 0 ;
4240 0 int res1 = 0 ;
4241 0 int argvi = 0;
4242 char result;
4243 0 dXSARGS;
4244
4245 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
4246 0 SWIG_croak("Usage: gsl_vector_char_max(v);");
4247 }
4248 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_char, 0 | 0 );
4249 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4250 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_max" "', argument " "1"" of type '" "gsl_vector_char const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_max" "', argument " "1"" of type '" "gsl_vector_char const *""'"); 0 0 0
4251 }
4252 0 arg1 = (gsl_vector_char *)(argp1);
4253 0 result = (char)gsl_vector_char_max((gsl_vector_char const *)arg1);
4254 0 ST(argvi) = SWIG_From_char SWIG_PERL_CALL_ARGS_1((char)(result)); argvi++ ;
4255
4256 0 XSRETURN(argvi);
4257 0 fail:
4258
4259 0 SWIG_croak_null();
4260 }
4261 }
4262  
4263  
4264 0 XS(_wrap_gsl_vector_char_min) {
4265 {
4266 0 gsl_vector_char *arg1 = (gsl_vector_char *) 0 ;
4267 0 void *argp1 = 0 ;
4268 0 int res1 = 0 ;
4269 0 int argvi = 0;
4270 char result;
4271 0 dXSARGS;
4272
4273 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
4274 0 SWIG_croak("Usage: gsl_vector_char_min(v);");
4275 }
4276 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_char, 0 | 0 );
4277 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4278 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_min" "', argument " "1"" of type '" "gsl_vector_char const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_min" "', argument " "1"" of type '" "gsl_vector_char const *""'"); 0 0 0
4279 }
4280 0 arg1 = (gsl_vector_char *)(argp1);
4281 0 result = (char)gsl_vector_char_min((gsl_vector_char const *)arg1);
4282 0 ST(argvi) = SWIG_From_char SWIG_PERL_CALL_ARGS_1((char)(result)); argvi++ ;
4283
4284 0 XSRETURN(argvi);
4285 0 fail:
4286
4287 0 SWIG_croak_null();
4288 }
4289 }
4290  
4291  
4292 0 XS(_wrap_gsl_vector_char_minmax) {
4293 {
4294 0 gsl_vector_char *arg1 = (gsl_vector_char *) 0 ;
4295 0 char *arg2 = (char *) 0 ;
4296 0 char *arg3 = (char *) 0 ;
4297 0 void *argp1 = 0 ;
4298 0 int res1 = 0 ;
4299 int res2 ;
4300 0 char *buf2 = 0 ;
4301 0 int alloc2 = 0 ;
4302 int res3 ;
4303 0 char *buf3 = 0 ;
4304 0 int alloc3 = 0 ;
4305 0 int argvi = 0;
4306 0 dXSARGS;
4307
4308 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
4309 0 SWIG_croak("Usage: gsl_vector_char_minmax(v,min_out,max_out);");
4310 }
4311 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_char, 0 | 0 );
4312 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4313 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_minmax" "', argument " "1"" of type '" "gsl_vector_char const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_minmax" "', argument " "1"" of type '" "gsl_vector_char const *""'"); 0 0 0
4314 }
4315 0 arg1 = (gsl_vector_char *)(argp1);
4316 0 res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
4317 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
4318 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_vector_char_minmax" "', argument " "2"" of type '" "char *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_vector_char_minmax" "', argument " "2"" of type '" "char *""'"); 0 0 0
4319 }
4320 0 arg2 = (char *)(buf2);
4321 0 res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
4322 0 ▶ if (!SWIG_IsOK(res3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res3)) { 0 0 0
4323 0 ▶ SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_vector_char_minmax" "', argument " "3"" of type '" "char *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_vector_char_minmax" "', argument " "3"" of type '" "char *""'"); 0 0 0
4324 }
4325 0 arg3 = (char *)(buf3);
4326 0 gsl_vector_char_minmax((gsl_vector_char const *)arg1,arg2,arg3);
4327 0 ST(argvi) = &PL_sv_undef;
4328
4329 0 ▶ if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); 0 0 0
4330 0 ▶ if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3); 0 0 0
4331 0 XSRETURN(argvi);
4332 0 fail:
4333
4334 0 ▶ if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); 0 0 0
4335 0 ▶ if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3); 0 0 0
4336 0 SWIG_croak_null();
4337 }
4338 }
4339  
4340  
4341 0 XS(_wrap_gsl_vector_char_max_index) {
4342 {
4343 0 gsl_vector_char *arg1 = (gsl_vector_char *) 0 ;
4344 0 void *argp1 = 0 ;
4345 0 int res1 = 0 ;
4346 0 int argvi = 0;
4347 size_t result;
4348 0 dXSARGS;
4349
4350 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
4351 0 SWIG_croak("Usage: gsl_vector_char_max_index(v);");
4352 }
4353 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_char, 0 | 0 );
4354 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4355 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_max_index" "', argument " "1"" of type '" "gsl_vector_char const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_max_index" "', argument " "1"" of type '" "gsl_vector_char const *""'"); 0 0 0
4356 }
4357 0 arg1 = (gsl_vector_char *)(argp1);
4358 0 result = gsl_vector_char_max_index((gsl_vector_char const *)arg1);
4359 0 ST(argvi) = SWIG_From_size_t SWIG_PERL_CALL_ARGS_1((size_t)(result)); argvi++ ;
4360
4361 0 XSRETURN(argvi);
4362 0 fail:
4363
4364 0 SWIG_croak_null();
4365 }
4366 }
4367  
4368  
4369 0 XS(_wrap_gsl_vector_char_min_index) {
4370 {
4371 0 gsl_vector_char *arg1 = (gsl_vector_char *) 0 ;
4372 0 void *argp1 = 0 ;
4373 0 int res1 = 0 ;
4374 0 int argvi = 0;
4375 size_t result;
4376 0 dXSARGS;
4377
4378 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
4379 0 SWIG_croak("Usage: gsl_vector_char_min_index(v);");
4380 }
4381 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_char, 0 | 0 );
4382 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4383 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_min_index" "', argument " "1"" of type '" "gsl_vector_char const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_min_index" "', argument " "1"" of type '" "gsl_vector_char const *""'"); 0 0 0
4384 }
4385 0 arg1 = (gsl_vector_char *)(argp1);
4386 0 result = gsl_vector_char_min_index((gsl_vector_char const *)arg1);
4387 0 ST(argvi) = SWIG_From_size_t SWIG_PERL_CALL_ARGS_1((size_t)(result)); argvi++ ;
4388
4389 0 XSRETURN(argvi);
4390 0 fail:
4391
4392 0 SWIG_croak_null();
4393 }
4394 }
4395  
4396  
4397 0 XS(_wrap_gsl_vector_char_minmax_index) {
4398 {
4399 0 gsl_vector_char *arg1 = (gsl_vector_char *) 0 ;
4400 0 size_t *arg2 = (size_t *) 0 ;
4401 0 size_t *arg3 = (size_t *) 0 ;
4402 0 void *argp1 = 0 ;
4403 0 int res1 = 0 ;
4404 size_t temp2 ;
4405 0 int res2 = SWIG_TMPOBJ ;
4406 size_t temp3 ;
4407 0 int res3 = SWIG_TMPOBJ ;
4408 0 int argvi = 0;
4409 0 dXSARGS;
4410
4411 0 arg2 = &temp2;
4412 0 arg3 = &temp3;
4413 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
4414 0 SWIG_croak("Usage: gsl_vector_char_minmax_index(v);");
4415 }
4416 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_char, 0 | 0 );
4417 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4418 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_minmax_index" "', argument " "1"" of type '" "gsl_vector_char const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_minmax_index" "', argument " "1"" of type '" "gsl_vector_char const *""'"); 0 0 0
4419 }
4420 0 arg1 = (gsl_vector_char *)(argp1);
4421 0 gsl_vector_char_minmax_index((gsl_vector_char const *)arg1,arg2,arg3);
4422 0 ST(argvi) = &PL_sv_undef;
4423 0 ▶ if (SWIG_IsTmpObj(res2)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SWIG_IsTmpObj(res2)) { 0 0 0
if (SWIG_IsTmpObj(res2)) { 0 0 0
4424 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
4425 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
4426 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((*arg2)); argvi++ /*@SWIG@*/;
4427 } else {
4428 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
4429 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
4430 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
4431 0 ST(argvi) = SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_size_t, new_flags); argvi++ /*@SWIG@*/;
4432 }
4433 0 ▶ if (SWIG_IsTmpObj(res3)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SWIG_IsTmpObj(res3)) { 0 0 0
if (SWIG_IsTmpObj(res3)) { 0 0 0
4434 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
4435 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
4436 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((*arg3)); argvi++ /*@SWIG@*/;
4437 } else {
4438 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
4439 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
4440 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
4441 0 ST(argvi) = SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_size_t, new_flags); argvi++ /*@SWIG@*/;
4442 }
4443
4444
4445
4446 0 XSRETURN(argvi);
4447 0 fail:
4448
4449
4450
4451 0 SWIG_croak_null();
4452 }
4453 }
4454  
4455  
4456 0 XS(_wrap_gsl_vector_char_add) {
4457 {
4458 0 gsl_vector_char *arg1 = (gsl_vector_char *) 0 ;
4459 0 gsl_vector_char *arg2 = (gsl_vector_char *) 0 ;
4460 0 void *argp1 = 0 ;
4461 0 int res1 = 0 ;
4462 0 void *argp2 = 0 ;
4463 0 int res2 = 0 ;
4464 0 int argvi = 0;
4465 int result;
4466 0 dXSARGS;
4467
4468 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
4469 0 SWIG_croak("Usage: gsl_vector_char_add(a,b);");
4470 }
4471 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_char, 0 | 0 );
4472 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4473 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_add" "', argument " "1"" of type '" "gsl_vector_char *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_add" "', argument " "1"" of type '" "gsl_vector_char *""'"); 0 0 0
4474 }
4475 0 arg1 = (gsl_vector_char *)(argp1);
4476 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector_char, 0 | 0 );
4477 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
4478 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_vector_char_add" "', argument " "2"" of type '" "gsl_vector_char const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_vector_char_add" "', argument " "2"" of type '" "gsl_vector_char const *""'"); 0 0 0
4479 }
4480 0 arg2 = (gsl_vector_char *)(argp2);
4481 0 result = (int)gsl_vector_char_add(arg1,(gsl_vector_char const *)arg2);
4482 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
4483
4484
4485 0 XSRETURN(argvi);
4486 0 fail:
4487
4488
4489 0 SWIG_croak_null();
4490 }
4491 }
4492  
4493  
4494 0 XS(_wrap_gsl_vector_char_sub) {
4495 {
4496 0 gsl_vector_char *arg1 = (gsl_vector_char *) 0 ;
4497 0 gsl_vector_char *arg2 = (gsl_vector_char *) 0 ;
4498 0 void *argp1 = 0 ;
4499 0 int res1 = 0 ;
4500 0 void *argp2 = 0 ;
4501 0 int res2 = 0 ;
4502 0 int argvi = 0;
4503 int result;
4504 0 dXSARGS;
4505
4506 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
4507 0 SWIG_croak("Usage: gsl_vector_char_sub(a,b);");
4508 }
4509 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_char, 0 | 0 );
4510 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4511 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_sub" "', argument " "1"" of type '" "gsl_vector_char *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_sub" "', argument " "1"" of type '" "gsl_vector_char *""'"); 0 0 0
4512 }
4513 0 arg1 = (gsl_vector_char *)(argp1);
4514 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector_char, 0 | 0 );
4515 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
4516 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_vector_char_sub" "', argument " "2"" of type '" "gsl_vector_char const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_vector_char_sub" "', argument " "2"" of type '" "gsl_vector_char const *""'"); 0 0 0
4517 }
4518 0 arg2 = (gsl_vector_char *)(argp2);
4519 0 result = (int)gsl_vector_char_sub(arg1,(gsl_vector_char const *)arg2);
4520 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
4521
4522
4523 0 XSRETURN(argvi);
4524 0 fail:
4525
4526
4527 0 SWIG_croak_null();
4528 }
4529 }
4530  
4531  
4532 0 XS(_wrap_gsl_vector_char_mul) {
4533 {
4534 0 gsl_vector_char *arg1 = (gsl_vector_char *) 0 ;
4535 0 gsl_vector_char *arg2 = (gsl_vector_char *) 0 ;
4536 0 void *argp1 = 0 ;
4537 0 int res1 = 0 ;
4538 0 void *argp2 = 0 ;
4539 0 int res2 = 0 ;
4540 0 int argvi = 0;
4541 int result;
4542 0 dXSARGS;
4543
4544 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
4545 0 SWIG_croak("Usage: gsl_vector_char_mul(a,b);");
4546 }
4547 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_char, 0 | 0 );
4548 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4549 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_mul" "', argument " "1"" of type '" "gsl_vector_char *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_mul" "', argument " "1"" of type '" "gsl_vector_char *""'"); 0 0 0
4550 }
4551 0 arg1 = (gsl_vector_char *)(argp1);
4552 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector_char, 0 | 0 );
4553 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
4554 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_vector_char_mul" "', argument " "2"" of type '" "gsl_vector_char const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_vector_char_mul" "', argument " "2"" of type '" "gsl_vector_char const *""'"); 0 0 0
4555 }
4556 0 arg2 = (gsl_vector_char *)(argp2);
4557 0 result = (int)gsl_vector_char_mul(arg1,(gsl_vector_char const *)arg2);
4558 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
4559
4560
4561 0 XSRETURN(argvi);
4562 0 fail:
4563
4564
4565 0 SWIG_croak_null();
4566 }
4567 }
4568  
4569  
4570 0 XS(_wrap_gsl_vector_char_div) {
4571 {
4572 0 gsl_vector_char *arg1 = (gsl_vector_char *) 0 ;
4573 0 gsl_vector_char *arg2 = (gsl_vector_char *) 0 ;
4574 0 void *argp1 = 0 ;
4575 0 int res1 = 0 ;
4576 0 void *argp2 = 0 ;
4577 0 int res2 = 0 ;
4578 0 int argvi = 0;
4579 int result;
4580 0 dXSARGS;
4581
4582 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
4583 0 SWIG_croak("Usage: gsl_vector_char_div(a,b);");
4584 }
4585 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_char, 0 | 0 );
4586 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4587 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_div" "', argument " "1"" of type '" "gsl_vector_char *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_div" "', argument " "1"" of type '" "gsl_vector_char *""'"); 0 0 0
4588 }
4589 0 arg1 = (gsl_vector_char *)(argp1);
4590 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector_char, 0 | 0 );
4591 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
4592 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_vector_char_div" "', argument " "2"" of type '" "gsl_vector_char const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_vector_char_div" "', argument " "2"" of type '" "gsl_vector_char const *""'"); 0 0 0
4593 }
4594 0 arg2 = (gsl_vector_char *)(argp2);
4595 0 result = (int)gsl_vector_char_div(arg1,(gsl_vector_char const *)arg2);
4596 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
4597
4598
4599 0 XSRETURN(argvi);
4600 0 fail:
4601
4602
4603 0 SWIG_croak_null();
4604 }
4605 }
4606  
4607  
4608 0 XS(_wrap_gsl_vector_char_scale) {
4609 {
4610 0 gsl_vector_char *arg1 = (gsl_vector_char *) 0 ;
4611 char arg2 ;
4612 0 void *argp1 = 0 ;
4613 0 int res1 = 0 ;
4614 char val2 ;
4615 0 int ecode2 = 0 ;
4616 0 int argvi = 0;
4617 int result;
4618 0 dXSARGS;
4619
4620 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
4621 0 SWIG_croak("Usage: gsl_vector_char_scale(a,x);");
4622 }
4623 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_char, 0 | 0 );
4624 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4625 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_scale" "', argument " "1"" of type '" "gsl_vector_char *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_scale" "', argument " "1"" of type '" "gsl_vector_char *""'"); 0 0 0
4626 }
4627 0 arg1 = (gsl_vector_char *)(argp1);
4628 0 ecode2 = SWIG_AsVal_char SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
4629 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
4630 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_char_scale" "', argument " "2"" of type '" "char""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_char_scale" "', argument " "2"" of type '" "char""'"); 0 0 0
4631 }
4632 0 arg2 = (char)(val2);
4633 0 result = (int)gsl_vector_char_scale(arg1,arg2);
4634 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
4635
4636
4637 0 XSRETURN(argvi);
4638 0 fail:
4639
4640
4641 0 SWIG_croak_null();
4642 }
4643 }
4644  
4645  
4646 0 XS(_wrap_gsl_vector_char_add_constant) {
4647 {
4648 0 gsl_vector_char *arg1 = (gsl_vector_char *) 0 ;
4649 char arg2 ;
4650 0 void *argp1 = 0 ;
4651 0 int res1 = 0 ;
4652 char val2 ;
4653 0 int ecode2 = 0 ;
4654 0 int argvi = 0;
4655 int result;
4656 0 dXSARGS;
4657
4658 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
4659 0 SWIG_croak("Usage: gsl_vector_char_add_constant(a,x);");
4660 }
4661 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_char, 0 | 0 );
4662 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4663 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_add_constant" "', argument " "1"" of type '" "gsl_vector_char *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_add_constant" "', argument " "1"" of type '" "gsl_vector_char *""'"); 0 0 0
4664 }
4665 0 arg1 = (gsl_vector_char *)(argp1);
4666 0 ecode2 = SWIG_AsVal_char SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
4667 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
4668 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_char_add_constant" "', argument " "2"" of type '" "char""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_char_add_constant" "', argument " "2"" of type '" "char""'"); 0 0 0
4669 }
4670 0 arg2 = (char)(val2);
4671 0 result = (int)gsl_vector_char_add_constant(arg1,arg2);
4672 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
4673
4674
4675 0 XSRETURN(argvi);
4676 0 fail:
4677
4678
4679 0 SWIG_croak_null();
4680 }
4681 }
4682  
4683  
4684 0 XS(_wrap_gsl_vector_char_axpby) {
4685 {
4686 char arg1 ;
4687 0 gsl_vector_char *arg2 = (gsl_vector_char *) 0 ;
4688 char arg3 ;
4689 0 gsl_vector_char *arg4 = (gsl_vector_char *) 0 ;
4690 char val1 ;
4691 0 int ecode1 = 0 ;
4692 0 void *argp2 = 0 ;
4693 0 int res2 = 0 ;
4694 char val3 ;
4695 0 int ecode3 = 0 ;
4696 0 void *argp4 = 0 ;
4697 0 int res4 = 0 ;
4698 0 int argvi = 0;
4699 int result;
4700 0 dXSARGS;
4701
4702 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
4703 0 SWIG_croak("Usage: gsl_vector_char_axpby(alpha,x,beta,y);");
4704 }
4705 0 ecode1 = SWIG_AsVal_char SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
4706 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
4707 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_vector_char_axpby" "', argument " "1"" of type '" "char""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_vector_char_axpby" "', argument " "1"" of type '" "char""'"); 0 0 0
4708 }
4709 0 arg1 = (char)(val1);
4710 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector_char, 0 | 0 );
4711 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
4712 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_vector_char_axpby" "', argument " "2"" of type '" "gsl_vector_char const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_vector_char_axpby" "', argument " "2"" of type '" "gsl_vector_char const *""'"); 0 0 0
4713 }
4714 0 arg2 = (gsl_vector_char *)(argp2);
4715 0 ecode3 = SWIG_AsVal_char SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
4716 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
4717 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_vector_char_axpby" "', argument " "3"" of type '" "char""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_vector_char_axpby" "', argument " "3"" of type '" "char""'"); 0 0 0
4718 }
4719 0 arg3 = (char)(val3);
4720 0 res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_gsl_vector_char, 0 | 0 );
4721 0 ▶ if (!SWIG_IsOK(res4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res4)) { 0 0 0
4722 0 ▶ SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_vector_char_axpby" "', argument " "4"" of type '" "gsl_vector_char *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_vector_char_axpby" "', argument " "4"" of type '" "gsl_vector_char *""'"); 0 0 0
4723 }
4724 0 arg4 = (gsl_vector_char *)(argp4);
4725 0 result = (int)gsl_vector_char_axpby(arg1,(gsl_vector_char const *)arg2,arg3,arg4);
4726 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
4727
4728
4729
4730
4731 0 XSRETURN(argvi);
4732 0 fail:
4733
4734
4735
4736
4737 0 SWIG_croak_null();
4738 }
4739 }
4740  
4741  
4742 0 XS(_wrap_gsl_vector_char_sum) {
4743 {
4744 0 gsl_vector_char *arg1 = (gsl_vector_char *) 0 ;
4745 0 void *argp1 = 0 ;
4746 0 int res1 = 0 ;
4747 0 int argvi = 0;
4748 char result;
4749 0 dXSARGS;
4750
4751 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
4752 0 SWIG_croak("Usage: gsl_vector_char_sum(a);");
4753 }
4754 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_char, 0 | 0 );
4755 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4756 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_sum" "', argument " "1"" of type '" "gsl_vector_char const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_sum" "', argument " "1"" of type '" "gsl_vector_char const *""'"); 0 0 0
4757 }
4758 0 arg1 = (gsl_vector_char *)(argp1);
4759 0 result = (char)gsl_vector_char_sum((gsl_vector_char const *)arg1);
4760 0 ST(argvi) = SWIG_From_char SWIG_PERL_CALL_ARGS_1((char)(result)); argvi++ ;
4761
4762 0 XSRETURN(argvi);
4763 0 fail:
4764
4765 0 SWIG_croak_null();
4766 }
4767 }
4768  
4769  
4770 0 XS(_wrap_gsl_vector_char_equal) {
4771 {
4772 0 gsl_vector_char *arg1 = (gsl_vector_char *) 0 ;
4773 0 gsl_vector_char *arg2 = (gsl_vector_char *) 0 ;
4774 0 void *argp1 = 0 ;
4775 0 int res1 = 0 ;
4776 0 void *argp2 = 0 ;
4777 0 int res2 = 0 ;
4778 0 int argvi = 0;
4779 int result;
4780 0 dXSARGS;
4781
4782 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
4783 0 SWIG_croak("Usage: gsl_vector_char_equal(u,v);");
4784 }
4785 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_char, 0 | 0 );
4786 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4787 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_equal" "', argument " "1"" of type '" "gsl_vector_char const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_equal" "', argument " "1"" of type '" "gsl_vector_char const *""'"); 0 0 0
4788 }
4789 0 arg1 = (gsl_vector_char *)(argp1);
4790 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector_char, 0 | 0 );
4791 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
4792 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_vector_char_equal" "', argument " "2"" of type '" "gsl_vector_char const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_vector_char_equal" "', argument " "2"" of type '" "gsl_vector_char const *""'"); 0 0 0
4793 }
4794 0 arg2 = (gsl_vector_char *)(argp2);
4795 0 result = (int)gsl_vector_char_equal((gsl_vector_char const *)arg1,(gsl_vector_char const *)arg2);
4796 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
4797
4798
4799 0 XSRETURN(argvi);
4800 0 fail:
4801
4802
4803 0 SWIG_croak_null();
4804 }
4805 }
4806  
4807  
4808 0 XS(_wrap_gsl_vector_char_isnull) {
4809 {
4810 0 gsl_vector_char *arg1 = (gsl_vector_char *) 0 ;
4811 0 void *argp1 = 0 ;
4812 0 int res1 = 0 ;
4813 0 int argvi = 0;
4814 int result;
4815 0 dXSARGS;
4816
4817 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
4818 0 SWIG_croak("Usage: gsl_vector_char_isnull(v);");
4819 }
4820 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_char, 0 | 0 );
4821 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4822 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_isnull" "', argument " "1"" of type '" "gsl_vector_char const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_isnull" "', argument " "1"" of type '" "gsl_vector_char const *""'"); 0 0 0
4823 }
4824 0 arg1 = (gsl_vector_char *)(argp1);
4825 0 result = (int)gsl_vector_char_isnull((gsl_vector_char const *)arg1);
4826 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
4827
4828 0 XSRETURN(argvi);
4829 0 fail:
4830
4831 0 SWIG_croak_null();
4832 }
4833 }
4834  
4835  
4836 0 XS(_wrap_gsl_vector_char_ispos) {
4837 {
4838 0 gsl_vector_char *arg1 = (gsl_vector_char *) 0 ;
4839 0 void *argp1 = 0 ;
4840 0 int res1 = 0 ;
4841 0 int argvi = 0;
4842 int result;
4843 0 dXSARGS;
4844
4845 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
4846 0 SWIG_croak("Usage: gsl_vector_char_ispos(v);");
4847 }
4848 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_char, 0 | 0 );
4849 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4850 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_ispos" "', argument " "1"" of type '" "gsl_vector_char const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_ispos" "', argument " "1"" of type '" "gsl_vector_char const *""'"); 0 0 0
4851 }
4852 0 arg1 = (gsl_vector_char *)(argp1);
4853 0 result = (int)gsl_vector_char_ispos((gsl_vector_char const *)arg1);
4854 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
4855
4856 0 XSRETURN(argvi);
4857 0 fail:
4858
4859 0 SWIG_croak_null();
4860 }
4861 }
4862  
4863  
4864 0 XS(_wrap_gsl_vector_char_isneg) {
4865 {
4866 0 gsl_vector_char *arg1 = (gsl_vector_char *) 0 ;
4867 0 void *argp1 = 0 ;
4868 0 int res1 = 0 ;
4869 0 int argvi = 0;
4870 int result;
4871 0 dXSARGS;
4872
4873 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
4874 0 SWIG_croak("Usage: gsl_vector_char_isneg(v);");
4875 }
4876 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_char, 0 | 0 );
4877 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4878 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_isneg" "', argument " "1"" of type '" "gsl_vector_char const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_isneg" "', argument " "1"" of type '" "gsl_vector_char const *""'"); 0 0 0
4879 }
4880 0 arg1 = (gsl_vector_char *)(argp1);
4881 0 result = (int)gsl_vector_char_isneg((gsl_vector_char const *)arg1);
4882 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
4883
4884 0 XSRETURN(argvi);
4885 0 fail:
4886
4887 0 SWIG_croak_null();
4888 }
4889 }
4890  
4891  
4892 0 XS(_wrap_gsl_vector_char_isnonneg) {
4893 {
4894 0 gsl_vector_char *arg1 = (gsl_vector_char *) 0 ;
4895 0 void *argp1 = 0 ;
4896 0 int res1 = 0 ;
4897 0 int argvi = 0;
4898 int result;
4899 0 dXSARGS;
4900
4901 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
4902 0 SWIG_croak("Usage: gsl_vector_char_isnonneg(v);");
4903 }
4904 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_char, 0 | 0 );
4905 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4906 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_isnonneg" "', argument " "1"" of type '" "gsl_vector_char const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_isnonneg" "', argument " "1"" of type '" "gsl_vector_char const *""'"); 0 0 0
4907 }
4908 0 arg1 = (gsl_vector_char *)(argp1);
4909 0 result = (int)gsl_vector_char_isnonneg((gsl_vector_char const *)arg1);
4910 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
4911
4912 0 XSRETURN(argvi);
4913 0 fail:
4914
4915 0 SWIG_croak_null();
4916 }
4917 }
4918  
4919  
4920 0 XS(_wrap_gsl_vector_char_get) {
4921 {
4922 0 gsl_vector_char *arg1 = (gsl_vector_char *) 0 ;
4923 size_t arg2 ;
4924 0 void *argp1 = 0 ;
4925 0 int res1 = 0 ;
4926 size_t val2 ;
4927 0 int ecode2 = 0 ;
4928 0 int argvi = 0;
4929 char result;
4930 0 dXSARGS;
4931
4932 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
4933 0 SWIG_croak("Usage: gsl_vector_char_get(v,i);");
4934 }
4935 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_char, 0 | 0 );
4936 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4937 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_get" "', argument " "1"" of type '" "gsl_vector_char const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_get" "', argument " "1"" of type '" "gsl_vector_char const *""'"); 0 0 0
4938 }
4939 0 arg1 = (gsl_vector_char *)(argp1);
4940 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
4941 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
4942 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_char_get" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_char_get" "', argument " "2"" of type '" "size_t""'"); 0 0 0
4943 }
4944 0 arg2 = (size_t)(val2);
4945 0 result = (char)gsl_vector_char_get((gsl_vector_char const *)arg1,arg2);
4946 0 ST(argvi) = SWIG_From_char SWIG_PERL_CALL_ARGS_1((char)(result)); argvi++ ;
4947
4948
4949 0 XSRETURN(argvi);
4950 0 fail:
4951
4952
4953 0 SWIG_croak_null();
4954 }
4955 }
4956  
4957  
4958 0 XS(_wrap_gsl_vector_char_set) {
4959 {
4960 0 gsl_vector_char *arg1 = (gsl_vector_char *) 0 ;
4961 size_t arg2 ;
4962 char arg3 ;
4963 0 void *argp1 = 0 ;
4964 0 int res1 = 0 ;
4965 size_t val2 ;
4966 0 int ecode2 = 0 ;
4967 char val3 ;
4968 0 int ecode3 = 0 ;
4969 0 int argvi = 0;
4970 0 dXSARGS;
4971
4972 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
4973 0 SWIG_croak("Usage: gsl_vector_char_set(v,i,x);");
4974 }
4975 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_char, 0 | 0 );
4976 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4977 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_set" "', argument " "1"" of type '" "gsl_vector_char *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_set" "', argument " "1"" of type '" "gsl_vector_char *""'"); 0 0 0
4978 }
4979 0 arg1 = (gsl_vector_char *)(argp1);
4980 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
4981 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
4982 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_char_set" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_char_set" "', argument " "2"" of type '" "size_t""'"); 0 0 0
4983 }
4984 0 arg2 = (size_t)(val2);
4985 0 ecode3 = SWIG_AsVal_char SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
4986 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
4987 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_vector_char_set" "', argument " "3"" of type '" "char""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_vector_char_set" "', argument " "3"" of type '" "char""'"); 0 0 0
4988 }
4989 0 arg3 = (char)(val3);
4990 0 gsl_vector_char_set(arg1,arg2,arg3);
4991 0 ST(argvi) = &PL_sv_undef;
4992
4993
4994
4995 0 XSRETURN(argvi);
4996 0 fail:
4997
4998
4999
5000 0 SWIG_croak_null();
5001 }
5002 }
5003  
5004  
5005 0 XS(_wrap_gsl_vector_char_ptr) {
5006 {
5007 0 gsl_vector_char *arg1 = (gsl_vector_char *) 0 ;
5008 size_t arg2 ;
5009 0 void *argp1 = 0 ;
5010 0 int res1 = 0 ;
5011 size_t val2 ;
5012 0 int ecode2 = 0 ;
5013 0 int argvi = 0;
5014 0 char *result = 0 ;
5015 0 dXSARGS;
5016
5017 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
5018 0 SWIG_croak("Usage: gsl_vector_char_ptr(v,i);");
5019 }
5020 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_char, 0 | 0 );
5021 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
5022 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_ptr" "', argument " "1"" of type '" "gsl_vector_char *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_ptr" "', argument " "1"" of type '" "gsl_vector_char *""'"); 0 0 0
5023 }
5024 0 arg1 = (gsl_vector_char *)(argp1);
5025 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5026 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
5027 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_char_ptr" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_char_ptr" "', argument " "2"" of type '" "size_t""'"); 0 0 0
5028 }
5029 0 arg2 = (size_t)(val2);
5030 0 result = (char *)gsl_vector_char_ptr(arg1,arg2);
5031 0 ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
5032
5033
5034 0 XSRETURN(argvi);
5035 0 fail:
5036
5037
5038 0 SWIG_croak_null();
5039 }
5040 }
5041  
5042  
5043 0 XS(_wrap_gsl_vector_char_const_ptr) {
5044 {
5045 0 gsl_vector_char *arg1 = (gsl_vector_char *) 0 ;
5046 size_t arg2 ;
5047 0 void *argp1 = 0 ;
5048 0 int res1 = 0 ;
5049 size_t val2 ;
5050 0 int ecode2 = 0 ;
5051 0 int argvi = 0;
5052 0 char *result = 0 ;
5053 0 dXSARGS;
5054
5055 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
5056 0 SWIG_croak("Usage: gsl_vector_char_const_ptr(v,i);");
5057 }
5058 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_char, 0 | 0 );
5059 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
5060 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_const_ptr" "', argument " "1"" of type '" "gsl_vector_char const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_const_ptr" "', argument " "1"" of type '" "gsl_vector_char const *""'"); 0 0 0
5061 }
5062 0 arg1 = (gsl_vector_char *)(argp1);
5063 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5064 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
5065 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_char_const_ptr" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_char_const_ptr" "', argument " "2"" of type '" "size_t""'"); 0 0 0
5066 }
5067 0 arg2 = (size_t)(val2);
5068 0 result = (char *)gsl_vector_char_const_ptr((gsl_vector_char const *)arg1,arg2);
5069 0 ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
5070
5071
5072 0 XSRETURN(argvi);
5073 0 fail:
5074
5075
5076 0 SWIG_croak_null();
5077 }
5078 }
5079  
5080  
5081 0 XS(_wrap_gsl_vector_complex_size_set) {
5082 {
5083 0 gsl_vector_complex *arg1 = (gsl_vector_complex *) 0 ;
5084 size_t arg2 ;
5085 0 void *argp1 = 0 ;
5086 0 int res1 = 0 ;
5087 size_t val2 ;
5088 0 int ecode2 = 0 ;
5089 0 int argvi = 0;
5090 0 dXSARGS;
5091
5092 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
5093 0 SWIG_croak("Usage: gsl_vector_complex_size_set(self,size);");
5094 }
5095 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_complex, 0 | 0 );
5096 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
5097 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
5098 }
5099 0 arg1 = (gsl_vector_complex *)(argp1);
5100 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5101 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
5102 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
5103 }
5104 0 arg2 = (size_t)(val2);
5105 0 ▶ if (arg1) (arg1)->size = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->size = arg2; 0 0 0
5106 0 ST(argvi) = &PL_sv_undef;
5107
5108
5109 0 XSRETURN(argvi);
5110 0 fail:
5111
5112
5113 0 SWIG_croak_null();
5114 }
5115 }
5116  
5117  
5118 0 XS(_wrap_gsl_vector_complex_size_get) {
5119 {
5120 0 gsl_vector_complex *arg1 = (gsl_vector_complex *) 0 ;
5121 0 void *argp1 = 0 ;
5122 0 int res1 = 0 ;
5123 0 int argvi = 0;
5124 size_t result;
5125 0 dXSARGS;
5126
5127 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
5128 0 SWIG_croak("Usage: gsl_vector_complex_size_get(self);");
5129 }
5130 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_complex, 0 | 0 );
5131 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
5132 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
5133 }
5134 0 arg1 = (gsl_vector_complex *)(argp1);
5135 0 result = ((arg1)->size);
5136 0 ST(argvi) = SWIG_From_size_t SWIG_PERL_CALL_ARGS_1((size_t)(result)); argvi++ ;
5137
5138 0 XSRETURN(argvi);
5139 0 fail:
5140
5141 0 SWIG_croak_null();
5142 }
5143 }
5144  
5145  
5146 0 XS(_wrap_gsl_vector_complex_stride_set) {
5147 {
5148 0 gsl_vector_complex *arg1 = (gsl_vector_complex *) 0 ;
5149 size_t arg2 ;
5150 0 void *argp1 = 0 ;
5151 0 int res1 = 0 ;
5152 size_t val2 ;
5153 0 int ecode2 = 0 ;
5154 0 int argvi = 0;
5155 0 dXSARGS;
5156
5157 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
5158 0 SWIG_croak("Usage: gsl_vector_complex_stride_set(self,stride);");
5159 }
5160 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_complex, 0 | 0 );
5161 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
5162 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
5163 }
5164 0 arg1 = (gsl_vector_complex *)(argp1);
5165 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5166 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
5167 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
5168 }
5169 0 arg2 = (size_t)(val2);
5170 0 ▶ if (arg1) (arg1)->stride = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->stride = arg2; 0 0 0
5171 0 ST(argvi) = &PL_sv_undef;
5172
5173
5174 0 XSRETURN(argvi);
5175 0 fail:
5176
5177
5178 0 SWIG_croak_null();
5179 }
5180 }
5181  
5182  
5183 0 XS(_wrap_gsl_vector_complex_stride_get) {
5184 {
5185 0 gsl_vector_complex *arg1 = (gsl_vector_complex *) 0 ;
5186 0 void *argp1 = 0 ;
5187 0 int res1 = 0 ;
5188 0 int argvi = 0;
5189 size_t result;
5190 0 dXSARGS;
5191
5192 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
5193 0 SWIG_croak("Usage: gsl_vector_complex_stride_get(self);");
5194 }
5195 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_complex, 0 | 0 );
5196 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
5197 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
5198 }
5199 0 arg1 = (gsl_vector_complex *)(argp1);
5200 0 result = ((arg1)->stride);
5201 0 ST(argvi) = SWIG_From_size_t SWIG_PERL_CALL_ARGS_1((size_t)(result)); argvi++ ;
5202
5203 0 XSRETURN(argvi);
5204 0 fail:
5205
5206 0 SWIG_croak_null();
5207 }
5208 }
5209  
5210  
5211 0 XS(_wrap_gsl_vector_complex_data_set) {
5212 {
5213 0 gsl_vector_complex *arg1 = (gsl_vector_complex *) 0 ;
5214 0 double *arg2 = (double *) 0 ;
5215 0 void *argp1 = 0 ;
5216 0 int res1 = 0 ;
5217 0 int argvi = 0;
5218 0 dXSARGS;
5219
5220 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
5221 0 SWIG_croak("Usage: gsl_vector_complex_data_set(self,data);");
5222 }
5223 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_complex, 0 | 0 );
5224 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
5225 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_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
5226 }
5227 0 arg1 = (gsl_vector_complex *)(argp1);
5228 {
5229 AV *tempav;
5230 I32 len;
5231 int i;
5232 SV **tv;
5233 0 ▶ if (!SvROK(ST(1)))
Branch: 1 branch
BranchTrueFalseTotal
if (!SvROK(ST(1))) 0 0 0
5234 0 croak("Math::GSL : $data is not a reference!");
5235 0 ▶ if (SvTYPE(SvRV(ST(1))) != SVt_PVAV)
Branch: 1 branch
BranchTrueFalseTotal
if (SvTYPE(SvRV(ST(1))) != SVt_PVAV) 0 0 0
5236 0 croak("Math::GSL : $data is not an array ref!");
5237
5238 0 tempav = (AV*)SvRV(ST(1));
5239 0 len = av_len(tempav);
5240 0 arg2 = (double *) malloc((len+2)*sizeof(double));
5241 0 ▶ for (i = 0; i <= len; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; i <= len; i++) { 0 0 0
5242 0 tv = av_fetch(tempav, i, 0);
5243 0 arg2[i] = (double) SvNV(*tv);
5244 }
5245 }
5246 0 ▶ if (arg1) (arg1)->data = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->data = arg2; 0 0 0
5247 0 ST(argvi) = &PL_sv_undef;
5248
5249 {
5250 0 ▶ if (arg2) free(arg2);
Branch: 1 branch
BranchTrueFalseTotal
if (arg2) free(arg2); 0 0 0
5251 }
5252 0 XSRETURN(argvi);
5253 0 fail:
5254
5255 {
5256 0 ▶ if (arg2) free(arg2);
Branch: 1 branch
BranchTrueFalseTotal
if (arg2) free(arg2); 0 0 0
5257 }
5258 0 SWIG_croak_null();
5259 }
5260 }
5261  
5262  
5263 0 XS(_wrap_gsl_vector_complex_data_get) {
5264 {
5265 0 gsl_vector_complex *arg1 = (gsl_vector_complex *) 0 ;
5266 0 void *argp1 = 0 ;
5267 0 int res1 = 0 ;
5268 0 int argvi = 0;
5269 0 double *result = 0 ;
5270 0 dXSARGS;
5271
5272 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
5273 0 SWIG_croak("Usage: gsl_vector_complex_data_get(self);");
5274 }
5275 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_complex, 0 | 0 );
5276 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
5277 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
5278 }
5279 0 arg1 = (gsl_vector_complex *)(argp1);
5280 0 result = (double *) ((arg1)->data);
5281 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0); argvi++ ;
5282
5283 0 XSRETURN(argvi);
5284 0 fail:
5285
5286 0 SWIG_croak_null();
5287 }
5288 }
5289  
5290  
5291 0 XS(_wrap_gsl_vector_complex_block_set) {
5292 {
5293 0 gsl_vector_complex *arg1 = (gsl_vector_complex *) 0 ;
5294 0 gsl_block_complex *arg2 = (gsl_block_complex *) 0 ;
5295 0 void *argp1 = 0 ;
5296 0 int res1 = 0 ;
5297 0 void *argp2 = 0 ;
5298 0 int res2 = 0 ;
5299 0 int argvi = 0;
5300 0 dXSARGS;
5301
5302 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
5303 0 SWIG_croak("Usage: gsl_vector_complex_block_set(self,block);");
5304 }
5305 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_complex, 0 | 0 );
5306 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
5307 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
5308 }
5309 0 arg1 = (gsl_vector_complex *)(argp1);
5310 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_block_complex, SWIG_POINTER_DISOWN | 0 );
5311 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
5312 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
5313 }
5314 0 arg2 = (gsl_block_complex *)(argp2);
5315 0 ▶ if (arg1) (arg1)->block = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->block = arg2; 0 0 0
5316 0 ST(argvi) = &PL_sv_undef;
5317
5318
5319 0 XSRETURN(argvi);
5320 0 fail:
5321
5322
5323 0 SWIG_croak_null();
5324 }
5325 }
5326  
5327  
5328 0 XS(_wrap_gsl_vector_complex_block_get) {
5329 {
5330 0 gsl_vector_complex *arg1 = (gsl_vector_complex *) 0 ;
5331 0 void *argp1 = 0 ;
5332 0 int res1 = 0 ;
5333 0 int argvi = 0;
5334 0 gsl_block_complex *result = 0 ;
5335 0 dXSARGS;
5336
5337 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
5338 0 SWIG_croak("Usage: gsl_vector_complex_block_get(self);");
5339 }
5340 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_complex, 0 | 0 );
5341 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
5342 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
5343 }
5344 0 arg1 = (gsl_vector_complex *)(argp1);
5345 0 result = (gsl_block_complex *) ((arg1)->block);
5346 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_block_complex, 0 | 0); argvi++ ;
5347
5348 0 XSRETURN(argvi);
5349 0 fail:
5350
5351 0 SWIG_croak_null();
5352 }
5353 }
5354  
5355  
5356 0 XS(_wrap_gsl_vector_complex_owner_set) {
5357 {
5358 0 gsl_vector_complex *arg1 = (gsl_vector_complex *) 0 ;
5359 int arg2 ;
5360 0 void *argp1 = 0 ;
5361 0 int res1 = 0 ;
5362 int val2 ;
5363 0 int ecode2 = 0 ;
5364 0 int argvi = 0;
5365 0 dXSARGS;
5366
5367 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
5368 0 SWIG_croak("Usage: gsl_vector_complex_owner_set(self,owner);");
5369 }
5370 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_complex, 0 | 0 );
5371 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
5372 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
5373 }
5374 0 arg1 = (gsl_vector_complex *)(argp1);
5375 0 ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5376 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
5377 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
5378 }
5379 0 arg2 = (int)(val2);
5380 0 ▶ if (arg1) (arg1)->owner = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->owner = arg2; 0 0 0
5381 0 ST(argvi) = &PL_sv_undef;
5382
5383
5384 0 XSRETURN(argvi);
5385 0 fail:
5386
5387
5388 0 SWIG_croak_null();
5389 }
5390 }
5391  
5392  
5393 0 XS(_wrap_gsl_vector_complex_owner_get) {
5394 {
5395 0 gsl_vector_complex *arg1 = (gsl_vector_complex *) 0 ;
5396 0 void *argp1 = 0 ;
5397 0 int res1 = 0 ;
5398 0 int argvi = 0;
5399 int result;
5400 0 dXSARGS;
5401
5402 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
5403 0 SWIG_croak("Usage: gsl_vector_complex_owner_get(self);");
5404 }
5405 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_complex, 0 | 0 );
5406 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
5407 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
5408 }
5409 0 arg1 = (gsl_vector_complex *)(argp1);
5410 0 result = (int) ((arg1)->owner);
5411 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
5412
5413 0 XSRETURN(argvi);
5414 0 fail:
5415
5416 0 SWIG_croak_null();
5417 }
5418 }
5419  
5420  
5421 0 XS(_wrap_new_gsl_vector_complex) {
5422 {
5423 0 int argvi = 0;
5424 0 gsl_vector_complex *result = 0 ;
5425 0 dXSARGS;
5426
5427 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
5428 0 SWIG_croak("Usage: new_gsl_vector_complex();");
5429 }
5430 0 result = (gsl_vector_complex *)calloc(1, sizeof(gsl_vector_complex));
5431 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_vector_complex, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
5432 0 XSRETURN(argvi);
5433 0 fail:
5434 0 SWIG_croak_null();
5435 }
5436 }
5437  
5438  
5439 0 XS(_wrap_delete_gsl_vector_complex) {
5440 {
5441 0 gsl_vector_complex *arg1 = (gsl_vector_complex *) 0 ;
5442 0 void *argp1 = 0 ;
5443 0 int res1 = 0 ;
5444 0 int argvi = 0;
5445 0 dXSARGS;
5446
5447 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
5448 0 SWIG_croak("Usage: delete_gsl_vector_complex(self);");
5449 }
5450 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_complex, SWIG_POINTER_DISOWN | 0 );
5451 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
5452 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
5453 }
5454 0 arg1 = (gsl_vector_complex *)(argp1);
5455 0 free((char *) arg1);
5456 0 ST(argvi) = &PL_sv_undef;
5457
5458 0 XSRETURN(argvi);
5459 0 fail:
5460
5461 0 SWIG_croak_null();
5462 }
5463 }
5464  
5465  
5466 0 XS(_wrap__gsl_vector_complex_view_vector_set) {
5467 {
5468 0 _gsl_vector_complex_view *arg1 = (_gsl_vector_complex_view *) 0 ;
5469 0 gsl_vector_complex *arg2 = (gsl_vector_complex *) 0 ;
5470 0 void *argp1 = 0 ;
5471 0 int res1 = 0 ;
5472 0 void *argp2 = 0 ;
5473 0 int res2 = 0 ;
5474 0 int argvi = 0;
5475 0 dXSARGS;
5476
5477 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
5478 0 SWIG_croak("Usage: _gsl_vector_complex_view_vector_set(self,vector);");
5479 }
5480 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__gsl_vector_complex_view, 0 | 0 );
5481 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
5482 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
5483 }
5484 0 arg1 = (_gsl_vector_complex_view *)(argp1);
5485 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector_complex, 0 | 0 );
5486 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
5487 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
5488 }
5489 0 arg2 = (gsl_vector_complex *)(argp2);
5490 0 ▶ if (arg1) (arg1)->vector = *arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->vector = *arg2; 0 0 0
5491 0 ST(argvi) = &PL_sv_undef;
5492
5493
5494 0 XSRETURN(argvi);
5495 0 fail:
5496
5497
5498 0 SWIG_croak_null();
5499 }
5500 }
5501  
5502  
5503 0 XS(_wrap__gsl_vector_complex_view_vector_get) {
5504 {
5505 0 _gsl_vector_complex_view *arg1 = (_gsl_vector_complex_view *) 0 ;
5506 0 void *argp1 = 0 ;
5507 0 int res1 = 0 ;
5508 0 int argvi = 0;
5509 0 gsl_vector_complex *result = 0 ;
5510 0 dXSARGS;
5511
5512 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
5513 0 SWIG_croak("Usage: _gsl_vector_complex_view_vector_get(self);");
5514 }
5515 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__gsl_vector_complex_view, 0 | 0 );
5516 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
5517 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
5518 }
5519 0 arg1 = (_gsl_vector_complex_view *)(argp1);
5520 0 result = (gsl_vector_complex *)& ((arg1)->vector);
5521 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_vector_complex, 0 | SWIG_SHADOW); argvi++ ;
5522
5523 0 XSRETURN(argvi);
5524 0 fail:
5525
5526 0 SWIG_croak_null();
5527 }
5528 }
5529  
5530  
5531 0 XS(_wrap_new__gsl_vector_complex_view) {
5532 {
5533 0 int argvi = 0;
5534 0 _gsl_vector_complex_view *result = 0 ;
5535 0 dXSARGS;
5536
5537 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
5538 0 SWIG_croak("Usage: new__gsl_vector_complex_view();");
5539 }
5540 0 result = (_gsl_vector_complex_view *)calloc(1, sizeof(_gsl_vector_complex_view));
5541 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__gsl_vector_complex_view, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
5542 0 XSRETURN(argvi);
5543 0 fail:
5544 0 SWIG_croak_null();
5545 }
5546 }
5547  
5548  
5549 0 XS(_wrap_delete__gsl_vector_complex_view) {
5550 {
5551 0 _gsl_vector_complex_view *arg1 = (_gsl_vector_complex_view *) 0 ;
5552 0 void *argp1 = 0 ;
5553 0 int res1 = 0 ;
5554 0 int argvi = 0;
5555 0 dXSARGS;
5556
5557 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
5558 0 SWIG_croak("Usage: delete__gsl_vector_complex_view(self);");
5559 }
5560 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__gsl_vector_complex_view, SWIG_POINTER_DISOWN | 0 );
5561 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
5562 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
5563 }
5564 0 arg1 = (_gsl_vector_complex_view *)(argp1);
5565 0 free((char *) arg1);
5566 0 ST(argvi) = &PL_sv_undef;
5567
5568 0 XSRETURN(argvi);
5569 0 fail:
5570
5571 0 SWIG_croak_null();
5572 }
5573 }
5574  
5575  
5576 0 XS(_wrap__gsl_vector_complex_const_view_vector_set) {
5577 {
5578 0 _gsl_vector_complex_const_view *arg1 = (_gsl_vector_complex_const_view *) 0 ;
5579 0 gsl_vector_complex *arg2 = (gsl_vector_complex *) 0 ;
5580 0 void *argp1 = 0 ;
5581 0 int res1 = 0 ;
5582 0 void *argp2 = 0 ;
5583 0 int res2 = 0 ;
5584 0 int argvi = 0;
5585 0 dXSARGS;
5586
5587 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
5588 0 SWIG_croak("Usage: _gsl_vector_complex_const_view_vector_set(self,vector);");
5589 }
5590 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__gsl_vector_complex_const_view, 0 | 0 );
5591 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
5592 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
5593 }
5594 0 arg1 = (_gsl_vector_complex_const_view *)(argp1);
5595 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector_complex, 0 | 0 );
5596 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
5597 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
5598 }
5599 0 arg2 = (gsl_vector_complex *)(argp2);
5600 0 ▶ if (arg1) (arg1)->vector = *arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->vector = *arg2; 0 0 0
5601 0 ST(argvi) = &PL_sv_undef;
5602
5603
5604 0 XSRETURN(argvi);
5605 0 fail:
5606
5607
5608 0 SWIG_croak_null();
5609 }
5610 }
5611  
5612  
5613 0 XS(_wrap__gsl_vector_complex_const_view_vector_get) {
5614 {
5615 0 _gsl_vector_complex_const_view *arg1 = (_gsl_vector_complex_const_view *) 0 ;
5616 0 void *argp1 = 0 ;
5617 0 int res1 = 0 ;
5618 0 int argvi = 0;
5619 0 gsl_vector_complex *result = 0 ;
5620 0 dXSARGS;
5621
5622 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
5623 0 SWIG_croak("Usage: _gsl_vector_complex_const_view_vector_get(self);");
5624 }
5625 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__gsl_vector_complex_const_view, 0 | 0 );
5626 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
5627 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
5628 }
5629 0 arg1 = (_gsl_vector_complex_const_view *)(argp1);
5630 0 result = (gsl_vector_complex *)& ((arg1)->vector);
5631 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_vector_complex, 0 | SWIG_SHADOW); argvi++ ;
5632
5633 0 XSRETURN(argvi);
5634 0 fail:
5635
5636 0 SWIG_croak_null();
5637 }
5638 }
5639  
5640  
5641 0 XS(_wrap_new__gsl_vector_complex_const_view) {
5642 {
5643 0 int argvi = 0;
5644 0 _gsl_vector_complex_const_view *result = 0 ;
5645 0 dXSARGS;
5646
5647 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
5648 0 SWIG_croak("Usage: new__gsl_vector_complex_const_view();");
5649 }
5650 0 result = (_gsl_vector_complex_const_view *)calloc(1, sizeof(_gsl_vector_complex_const_view));
5651 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__gsl_vector_complex_const_view, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
5652 0 XSRETURN(argvi);
5653 0 fail:
5654 0 SWIG_croak_null();
5655 }
5656 }
5657  
5658  
5659 0 XS(_wrap_delete__gsl_vector_complex_const_view) {
5660 {
5661 0 _gsl_vector_complex_const_view *arg1 = (_gsl_vector_complex_const_view *) 0 ;
5662 0 void *argp1 = 0 ;
5663 0 int res1 = 0 ;
5664 0 int argvi = 0;
5665 0 dXSARGS;
5666
5667 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
5668 0 SWIG_croak("Usage: delete__gsl_vector_complex_const_view(self);");
5669 }
5670 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__gsl_vector_complex_const_view, SWIG_POINTER_DISOWN | 0 );
5671 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
5672 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
5673 }
5674 0 arg1 = (_gsl_vector_complex_const_view *)(argp1);
5675 0 free((char *) arg1);
5676 0 ST(argvi) = &PL_sv_undef;
5677
5678 0 XSRETURN(argvi);
5679 0 fail:
5680
5681 0 SWIG_croak_null();
5682 }
5683 }
5684  
5685  
5686 0 XS(_wrap_gsl_vector_complex_alloc) {
5687 {
5688 size_t arg1 ;
5689 size_t val1 ;
5690 0 int ecode1 = 0 ;
5691 0 int argvi = 0;
5692 0 gsl_vector_complex *result = 0 ;
5693 0 dXSARGS;
5694
5695 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
5696 0 SWIG_croak("Usage: gsl_vector_complex_alloc(n);");
5697 }
5698 0 ecode1 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
5699 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
5700 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
5701 }
5702 0 arg1 = (size_t)(val1);
5703 0 result = (gsl_vector_complex *)gsl_vector_complex_alloc(arg1);
5704 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_vector_complex, 0 | SWIG_SHADOW); argvi++ ;
5705
5706 0 XSRETURN(argvi);
5707 0 fail:
5708
5709 0 SWIG_croak_null();
5710 }
5711 }
5712  
5713  
5714 0 XS(_wrap_gsl_vector_complex_calloc) {
5715 {
5716 size_t arg1 ;
5717 size_t val1 ;
5718 0 int ecode1 = 0 ;
5719 0 int argvi = 0;
5720 0 gsl_vector_complex *result = 0 ;
5721 0 dXSARGS;
5722
5723 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
5724 0 SWIG_croak("Usage: gsl_vector_complex_calloc(n);");
5725 }
5726 0 ecode1 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
5727 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
5728 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
5729 }
5730 0 arg1 = (size_t)(val1);
5731 0 result = (gsl_vector_complex *)gsl_vector_complex_calloc(arg1);
5732 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_vector_complex, 0 | SWIG_SHADOW); argvi++ ;
5733
5734 0 XSRETURN(argvi);
5735 0 fail:
5736
5737 0 SWIG_croak_null();
5738 }
5739 }
5740  
5741  
5742 0 XS(_wrap_gsl_vector_complex_alloc_from_block) {
5743 {
5744 0 gsl_block_complex *arg1 = (gsl_block_complex *) 0 ;
5745 size_t arg2 ;
5746 size_t arg3 ;
5747 size_t arg4 ;
5748 0 void *argp1 = 0 ;
5749 0 int res1 = 0 ;
5750 size_t val2 ;
5751 0 int ecode2 = 0 ;
5752 size_t val3 ;
5753 0 int ecode3 = 0 ;
5754 size_t val4 ;
5755 0 int ecode4 = 0 ;
5756 0 int argvi = 0;
5757 0 gsl_vector_complex *result = 0 ;
5758 0 dXSARGS;
5759
5760 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
5761 0 SWIG_croak("Usage: gsl_vector_complex_alloc_from_block(b,offset,n,stride);");
5762 }
5763 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_block_complex, 0 | 0 );
5764 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
5765 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
5766 }
5767 0 arg1 = (gsl_block_complex *)(argp1);
5768 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5769 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
5770 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
5771 }
5772 0 arg2 = (size_t)(val2);
5773 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
5774 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
5775 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
5776 }
5777 0 arg3 = (size_t)(val3);
5778 0 ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
5779 0 ▶ if (!SWIG_IsOK(ecode4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode4)) { 0 0 0
5780 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
5781 }
5782 0 arg4 = (size_t)(val4);
5783 0 result = (gsl_vector_complex *)gsl_vector_complex_alloc_from_block(arg1,arg2,arg3,arg4);
5784 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_vector_complex, 0 | SWIG_SHADOW); argvi++ ;
5785
5786
5787
5788
5789 0 XSRETURN(argvi);
5790 0 fail:
5791
5792
5793
5794
5795 0 SWIG_croak_null();
5796 }
5797 }
5798  
5799  
5800 0 XS(_wrap_gsl_vector_complex_alloc_from_vector) {
5801 {
5802 0 gsl_vector_complex *arg1 = (gsl_vector_complex *) 0 ;
5803 size_t arg2 ;
5804 size_t arg3 ;
5805 size_t arg4 ;
5806 0 void *argp1 = 0 ;
5807 0 int res1 = 0 ;
5808 size_t val2 ;
5809 0 int ecode2 = 0 ;
5810 size_t val3 ;
5811 0 int ecode3 = 0 ;
5812 size_t val4 ;
5813 0 int ecode4 = 0 ;
5814 0 int argvi = 0;
5815 0 gsl_vector_complex *result = 0 ;
5816 0 dXSARGS;
5817
5818 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
5819 0 SWIG_croak("Usage: gsl_vector_complex_alloc_from_vector(v,offset,n,stride);");
5820 }
5821 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_complex, 0 | 0 );
5822 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
5823 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
5824 }
5825 0 arg1 = (gsl_vector_complex *)(argp1);
5826 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5827 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
5828 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
5829 }
5830 0 arg2 = (size_t)(val2);
5831 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
5832 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
5833 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
5834 }
5835 0 arg3 = (size_t)(val3);
5836 0 ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
5837 0 ▶ if (!SWIG_IsOK(ecode4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode4)) { 0 0 0
5838 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
5839 }
5840 0 arg4 = (size_t)(val4);
5841 0 result = (gsl_vector_complex *)gsl_vector_complex_alloc_from_vector(arg1,arg2,arg3,arg4);
5842 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_vector_complex, 0 | SWIG_SHADOW); argvi++ ;
5843
5844
5845
5846
5847 0 XSRETURN(argvi);
5848 0 fail:
5849
5850
5851
5852
5853 0 SWIG_croak_null();
5854 }
5855 }
5856  
5857  
5858 0 XS(_wrap_gsl_vector_complex_free) {
5859 {
5860 0 gsl_vector_complex *arg1 = (gsl_vector_complex *) 0 ;
5861 0 void *argp1 = 0 ;
5862 0 int res1 = 0 ;
5863 0 int argvi = 0;
5864 0 dXSARGS;
5865
5866 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
5867 0 SWIG_croak("Usage: gsl_vector_complex_free(v);");
5868 }
5869 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_complex, 0 | 0 );
5870 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
5871 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
5872 }
5873 0 arg1 = (gsl_vector_complex *)(argp1);
5874 0 gsl_vector_complex_free(arg1);
5875 0 ST(argvi) = &PL_sv_undef;
5876
5877 0 XSRETURN(argvi);
5878 0 fail:
5879
5880 0 SWIG_croak_null();
5881 }
5882 }
5883  
5884  
5885 0 XS(_wrap_gsl_vector_complex_view_array) {
5886 {
5887 0 double *arg1 = (double *) 0 ;
5888 size_t arg2 ;
5889 size_t val2 ;
5890 0 int ecode2 = 0 ;
5891 0 int argvi = 0;
5892 _gsl_vector_complex_view result;
5893 0 dXSARGS;
5894
5895 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
5896 0 SWIG_croak("Usage: gsl_vector_complex_view_array(base,n);");
5897 }
5898 {
5899 AV *tempav;
5900 I32 len;
5901 int i;
5902 SV **tv;
5903 0 ▶ if (!SvROK(ST(0)))
Branch: 1 branch
BranchTrueFalseTotal
if (!SvROK(ST(0))) 0 0 0
5904 0 croak("Math::GSL : $base is not a reference!");
5905 0 ▶ if (SvTYPE(SvRV(ST(0))) != SVt_PVAV)
Branch: 1 branch
BranchTrueFalseTotal
if (SvTYPE(SvRV(ST(0))) != SVt_PVAV) 0 0 0
5906 0 croak("Math::GSL : $base is not an array ref!");
5907
5908 0 tempav = (AV*)SvRV(ST(0));
5909 0 len = av_len(tempav);
5910 0 arg1 = (double *) malloc((len+2)*sizeof(double));
5911 0 ▶ for (i = 0; i <= len; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; i <= len; i++) { 0 0 0
5912 0 tv = av_fetch(tempav, i, 0);
5913 0 arg1[i] = (double) SvNV(*tv);
5914 }
5915 }
5916 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5917 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
5918 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
5919 }
5920 0 arg2 = (size_t)(val2);
5921 0 result = gsl_vector_complex_view_array(arg1,arg2);
5922 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++ ;
5923 {
5924 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
5925 }
5926
5927 0 XSRETURN(argvi);
5928 0 fail:
5929 {
5930 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
5931 }
5932
5933 0 SWIG_croak_null();
5934 }
5935 }
5936  
5937  
5938 0 XS(_wrap_gsl_vector_complex_view_array_with_stride) {
5939 {
5940 0 double *arg1 = (double *) 0 ;
5941 size_t arg2 ;
5942 size_t arg3 ;
5943 size_t val2 ;
5944 0 int ecode2 = 0 ;
5945 size_t val3 ;
5946 0 int ecode3 = 0 ;
5947 0 int argvi = 0;
5948 _gsl_vector_complex_view result;
5949 0 dXSARGS;
5950
5951 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
5952 0 SWIG_croak("Usage: gsl_vector_complex_view_array_with_stride(base,stride,n);");
5953 }
5954 {
5955 AV *tempav;
5956 I32 len;
5957 int i;
5958 SV **tv;
5959 0 ▶ if (!SvROK(ST(0)))
Branch: 1 branch
BranchTrueFalseTotal
if (!SvROK(ST(0))) 0 0 0
5960 0 croak("Math::GSL : $base is not a reference!");
5961 0 ▶ if (SvTYPE(SvRV(ST(0))) != SVt_PVAV)
Branch: 1 branch
BranchTrueFalseTotal
if (SvTYPE(SvRV(ST(0))) != SVt_PVAV) 0 0 0
5962 0 croak("Math::GSL : $base is not an array ref!");
5963
5964 0 tempav = (AV*)SvRV(ST(0));
5965 0 len = av_len(tempav);
5966 0 arg1 = (double *) malloc((len+2)*sizeof(double));
5967 0 ▶ for (i = 0; i <= len; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; i <= len; i++) { 0 0 0
5968 0 tv = av_fetch(tempav, i, 0);
5969 0 arg1[i] = (double) SvNV(*tv);
5970 }
5971 }
5972 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5973 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
5974 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
5975 }
5976 0 arg2 = (size_t)(val2);
5977 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
5978 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
5979 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
5980 }
5981 0 arg3 = (size_t)(val3);
5982 0 result = gsl_vector_complex_view_array_with_stride(arg1,arg2,arg3);
5983 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++ ;
5984 {
5985 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
5986 }
5987
5988
5989 0 XSRETURN(argvi);
5990 0 fail:
5991 {
5992 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
5993 }
5994
5995
5996 0 SWIG_croak_null();
5997 }
5998 }
5999  
6000  
6001 0 XS(_wrap_gsl_vector_complex_const_view_array) {
6002 {
6003 0 double *arg1 = (double *) 0 ;
6004 size_t arg2 ;
6005 size_t val2 ;
6006 0 int ecode2 = 0 ;
6007 0 int argvi = 0;
6008 _gsl_vector_complex_const_view result;
6009 0 dXSARGS;
6010
6011 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
6012 0 SWIG_croak("Usage: gsl_vector_complex_const_view_array(base,n);");
6013 }
6014 {
6015 AV *tempav;
6016 I32 len;
6017 int i;
6018 SV **tv;
6019 0 ▶ if (!SvROK(ST(0)))
Branch: 1 branch
BranchTrueFalseTotal
if (!SvROK(ST(0))) 0 0 0
6020 0 croak("Math::GSL : $base is not a reference!");
6021 0 ▶ if (SvTYPE(SvRV(ST(0))) != SVt_PVAV)
Branch: 1 branch
BranchTrueFalseTotal
if (SvTYPE(SvRV(ST(0))) != SVt_PVAV) 0 0 0
6022 0 croak("Math::GSL : $base is not an array ref!");
6023
6024 0 tempav = (AV*)SvRV(ST(0));
6025 0 len = av_len(tempav);
6026 0 arg1 = (double *) malloc((len+2)*sizeof(double));
6027 0 ▶ for (i = 0; i <= len; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; i <= len; i++) { 0 0 0
6028 0 tv = av_fetch(tempav, i, 0);
6029 0 arg1[i] = (double) SvNV(*tv);
6030 }
6031 }
6032 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6033 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
6034 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
6035 }
6036 0 arg2 = (size_t)(val2);
6037 0 result = gsl_vector_complex_const_view_array((double const *)arg1,arg2);
6038 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++ ;
6039 {
6040 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
6041 }
6042
6043 0 XSRETURN(argvi);
6044 0 fail:
6045 {
6046 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
6047 }
6048
6049 0 SWIG_croak_null();
6050 }
6051 }
6052  
6053  
6054 0 XS(_wrap_gsl_vector_complex_const_view_array_with_stride) {
6055 {
6056 0 double *arg1 = (double *) 0 ;
6057 size_t arg2 ;
6058 size_t arg3 ;
6059 size_t val2 ;
6060 0 int ecode2 = 0 ;
6061 size_t val3 ;
6062 0 int ecode3 = 0 ;
6063 0 int argvi = 0;
6064 _gsl_vector_complex_const_view result;
6065 0 dXSARGS;
6066
6067 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
6068 0 SWIG_croak("Usage: gsl_vector_complex_const_view_array_with_stride(base,stride,n);");
6069 }
6070 {
6071 AV *tempav;
6072 I32 len;
6073 int i;
6074 SV **tv;
6075 0 ▶ if (!SvROK(ST(0)))
Branch: 1 branch
BranchTrueFalseTotal
if (!SvROK(ST(0))) 0 0 0
6076 0 croak("Math::GSL : $base is not a reference!");
6077 0 ▶ if (SvTYPE(SvRV(ST(0))) != SVt_PVAV)
Branch: 1 branch
BranchTrueFalseTotal
if (SvTYPE(SvRV(ST(0))) != SVt_PVAV) 0 0 0
6078 0 croak("Math::GSL : $base is not an array ref!");
6079
6080 0 tempav = (AV*)SvRV(ST(0));
6081 0 len = av_len(tempav);
6082 0 arg1 = (double *) malloc((len+2)*sizeof(double));
6083 0 ▶ for (i = 0; i <= len; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; i <= len; i++) { 0 0 0
6084 0 tv = av_fetch(tempav, i, 0);
6085 0 arg1[i] = (double) SvNV(*tv);
6086 }
6087 }
6088 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6089 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
6090 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
6091 }
6092 0 arg2 = (size_t)(val2);
6093 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
6094 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
6095 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
6096 }
6097 0 arg3 = (size_t)(val3);
6098 0 result = gsl_vector_complex_const_view_array_with_stride((double const *)arg1,arg2,arg3);
6099 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++ ;
6100 {
6101 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
6102 }
6103
6104
6105 0 XSRETURN(argvi);
6106 0 fail:
6107 {
6108 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
6109 }
6110
6111
6112 0 SWIG_croak_null();
6113 }
6114 }
6115  
6116  
6117 0 XS(_wrap_gsl_vector_complex_subvector) {
6118 {
6119 0 gsl_vector_complex *arg1 = (gsl_vector_complex *) 0 ;
6120 size_t arg2 ;
6121 size_t arg3 ;
6122 0 void *argp1 = 0 ;
6123 0 int res1 = 0 ;
6124 size_t val2 ;
6125 0 int ecode2 = 0 ;
6126 size_t val3 ;
6127 0 int ecode3 = 0 ;
6128 0 int argvi = 0;
6129 _gsl_vector_complex_view result;
6130 0 dXSARGS;
6131
6132 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
6133 0 SWIG_croak("Usage: gsl_vector_complex_subvector(base,i,n);");
6134 }
6135 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_complex, 0 | 0 );
6136 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
6137 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
6138 }
6139 0 arg1 = (gsl_vector_complex *)(argp1);
6140 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6141 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
6142 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
6143 }
6144 0 arg2 = (size_t)(val2);
6145 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
6146 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
6147 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
6148 }
6149 0 arg3 = (size_t)(val3);
6150 0 result = gsl_vector_complex_subvector(arg1,arg2,arg3);
6151 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++ ;
6152
6153
6154
6155 0 XSRETURN(argvi);
6156 0 fail:
6157
6158
6159
6160 0 SWIG_croak_null();
6161 }
6162 }
6163  
6164  
6165 0 XS(_wrap_gsl_vector_complex_subvector_with_stride) {
6166 {
6167 0 gsl_vector_complex *arg1 = (gsl_vector_complex *) 0 ;
6168 size_t arg2 ;
6169 size_t arg3 ;
6170 size_t arg4 ;
6171 0 void *argp1 = 0 ;
6172 0 int res1 = 0 ;
6173 size_t val2 ;
6174 0 int ecode2 = 0 ;
6175 size_t val3 ;
6176 0 int ecode3 = 0 ;
6177 size_t val4 ;
6178 0 int ecode4 = 0 ;
6179 0 int argvi = 0;
6180 _gsl_vector_complex_view result;
6181 0 dXSARGS;
6182
6183 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
6184 0 SWIG_croak("Usage: gsl_vector_complex_subvector_with_stride(v,i,stride,n);");
6185 }
6186 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_complex, 0 | 0 );
6187 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
6188 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
6189 }
6190 0 arg1 = (gsl_vector_complex *)(argp1);
6191 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6192 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
6193 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
6194 }
6195 0 arg2 = (size_t)(val2);
6196 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
6197 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
6198 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
6199 }
6200 0 arg3 = (size_t)(val3);
6201 0 ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
6202 0 ▶ if (!SWIG_IsOK(ecode4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode4)) { 0 0 0
6203 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
6204 }
6205 0 arg4 = (size_t)(val4);
6206 0 result = gsl_vector_complex_subvector_with_stride(arg1,arg2,arg3,arg4);
6207 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++ ;
6208
6209
6210
6211
6212 0 XSRETURN(argvi);
6213 0 fail:
6214
6215
6216
6217
6218 0 SWIG_croak_null();
6219 }
6220 }
6221  
6222  
6223 0 XS(_wrap_gsl_vector_complex_const_subvector) {
6224 {
6225 0 gsl_vector_complex *arg1 = (gsl_vector_complex *) 0 ;
6226 size_t arg2 ;
6227 size_t arg3 ;
6228 0 void *argp1 = 0 ;
6229 0 int res1 = 0 ;
6230 size_t val2 ;
6231 0 int ecode2 = 0 ;
6232 size_t val3 ;
6233 0 int ecode3 = 0 ;
6234 0 int argvi = 0;
6235 _gsl_vector_complex_const_view result;
6236 0 dXSARGS;
6237
6238 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
6239 0 SWIG_croak("Usage: gsl_vector_complex_const_subvector(base,i,n);");
6240 }
6241 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_complex, 0 | 0 );
6242 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
6243 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
6244 }
6245 0 arg1 = (gsl_vector_complex *)(argp1);
6246 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6247 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
6248 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
6249 }
6250 0 arg2 = (size_t)(val2);
6251 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
6252 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
6253 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
6254 }
6255 0 arg3 = (size_t)(val3);
6256 0 result = gsl_vector_complex_const_subvector((gsl_vector_complex const *)arg1,arg2,arg3);
6257 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++ ;
6258
6259
6260
6261 0 XSRETURN(argvi);
6262 0 fail:
6263
6264
6265
6266 0 SWIG_croak_null();
6267 }
6268 }
6269  
6270  
6271 0 XS(_wrap_gsl_vector_complex_const_subvector_with_stride) {
6272 {
6273 0 gsl_vector_complex *arg1 = (gsl_vector_complex *) 0 ;
6274 size_t arg2 ;
6275 size_t arg3 ;
6276 size_t arg4 ;
6277 0 void *argp1 = 0 ;
6278 0 int res1 = 0 ;
6279 size_t val2 ;
6280 0 int ecode2 = 0 ;
6281 size_t val3 ;
6282 0 int ecode3 = 0 ;
6283 size_t val4 ;
6284 0 int ecode4 = 0 ;
6285 0 int argvi = 0;
6286 _gsl_vector_complex_const_view result;
6287 0 dXSARGS;
6288
6289 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
6290 0 SWIG_croak("Usage: gsl_vector_complex_const_subvector_with_stride(v,i,stride,n);");
6291 }
6292 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_complex, 0 | 0 );
6293 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
6294 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
6295 }
6296 0 arg1 = (gsl_vector_complex *)(argp1);
6297 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6298 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
6299 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
6300 }
6301 0 arg2 = (size_t)(val2);
6302 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
6303 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
6304 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
6305 }
6306 0 arg3 = (size_t)(val3);
6307 0 ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
6308 0 ▶ if (!SWIG_IsOK(ecode4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode4)) { 0 0 0
6309 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
6310 }
6311 0 arg4 = (size_t)(val4);
6312 0 result = gsl_vector_complex_const_subvector_with_stride((gsl_vector_complex const *)arg1,arg2,arg3,arg4);
6313 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++ ;
6314
6315
6316
6317
6318 0 XSRETURN(argvi);
6319 0 fail:
6320
6321
6322
6323
6324 0 SWIG_croak_null();
6325 }
6326 }
6327  
6328  
6329 0 XS(_wrap_gsl_vector_complex_real) {
6330 {
6331 0 gsl_vector_complex *arg1 = (gsl_vector_complex *) 0 ;
6332 0 void *argp1 = 0 ;
6333 0 int res1 = 0 ;
6334 0 int argvi = 0;
6335 _gsl_vector_view result;
6336 0 dXSARGS;
6337
6338 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
6339 0 SWIG_croak("Usage: gsl_vector_complex_real(v);");
6340 }
6341 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_complex, 0 | 0 );
6342 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
6343 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
6344 }
6345 0 arg1 = (gsl_vector_complex *)(argp1);
6346 0 result = gsl_vector_complex_real(arg1);
6347 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++ ;
6348
6349 0 XSRETURN(argvi);
6350 0 fail:
6351
6352 0 SWIG_croak_null();
6353 }
6354 }
6355  
6356  
6357 0 XS(_wrap_gsl_vector_complex_imag) {
6358 {
6359 0 gsl_vector_complex *arg1 = (gsl_vector_complex *) 0 ;
6360 0 void *argp1 = 0 ;
6361 0 int res1 = 0 ;
6362 0 int argvi = 0;
6363 _gsl_vector_view result;
6364 0 dXSARGS;
6365
6366 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
6367 0 SWIG_croak("Usage: gsl_vector_complex_imag(v);");
6368 }
6369 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_complex, 0 | 0 );
6370 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
6371 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
6372 }
6373 0 arg1 = (gsl_vector_complex *)(argp1);
6374 0 result = gsl_vector_complex_imag(arg1);
6375 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++ ;
6376
6377 0 XSRETURN(argvi);
6378 0 fail:
6379
6380 0 SWIG_croak_null();
6381 }
6382 }
6383  
6384  
6385 0 XS(_wrap_gsl_vector_complex_const_real) {
6386 {
6387 0 gsl_vector_complex *arg1 = (gsl_vector_complex *) 0 ;
6388 0 void *argp1 = 0 ;
6389 0 int res1 = 0 ;
6390 0 int argvi = 0;
6391 _gsl_vector_const_view result;
6392 0 dXSARGS;
6393
6394 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
6395 0 SWIG_croak("Usage: gsl_vector_complex_const_real(v);");
6396 }
6397 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_complex, 0 | 0 );
6398 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
6399 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
6400 }
6401 0 arg1 = (gsl_vector_complex *)(argp1);
6402 0 result = gsl_vector_complex_const_real((gsl_vector_complex const *)arg1);
6403 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++ ;
6404
6405 0 XSRETURN(argvi);
6406 0 fail:
6407
6408 0 SWIG_croak_null();
6409 }
6410 }
6411  
6412  
6413 0 XS(_wrap_gsl_vector_complex_const_imag) {
6414 {
6415 0 gsl_vector_complex *arg1 = (gsl_vector_complex *) 0 ;
6416 0 void *argp1 = 0 ;
6417 0 int res1 = 0 ;
6418 0 int argvi = 0;
6419 _gsl_vector_const_view result;
6420 0 dXSARGS;
6421
6422 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
6423 0 SWIG_croak("Usage: gsl_vector_complex_const_imag(v);");
6424 }
6425 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_complex, 0 | 0 );
6426 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
6427 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
6428 }
6429 0 arg1 = (gsl_vector_complex *)(argp1);
6430 0 result = gsl_vector_complex_const_imag((gsl_vector_complex const *)arg1);
6431 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++ ;
6432
6433 0 XSRETURN(argvi);
6434 0 fail:
6435
6436 0 SWIG_croak_null();
6437 }
6438 }
6439  
6440  
6441 0 XS(_wrap_gsl_vector_complex_set_zero) {
6442 {
6443 0 gsl_vector_complex *arg1 = (gsl_vector_complex *) 0 ;
6444 0 void *argp1 = 0 ;
6445 0 int res1 = 0 ;
6446 0 int argvi = 0;
6447 0 dXSARGS;
6448
6449 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
6450 0 SWIG_croak("Usage: gsl_vector_complex_set_zero(v);");
6451 }
6452 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_complex, 0 | 0 );
6453 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
6454 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
6455 }
6456 0 arg1 = (gsl_vector_complex *)(argp1);
6457 0 gsl_vector_complex_set_zero(arg1);
6458 0 ST(argvi) = &PL_sv_undef;
6459
6460 0 XSRETURN(argvi);
6461 0 fail:
6462
6463 0 SWIG_croak_null();
6464 }
6465 }
6466  
6467  
6468 0 XS(_wrap_gsl_vector_complex_set_all) {
6469 {
6470 0 gsl_vector_complex *arg1 = (gsl_vector_complex *) 0 ;
6471 gsl_complex arg2 ;
6472 0 void *argp1 = 0 ;
6473 0 int res1 = 0 ;
6474 void *argp2 ;
6475 0 int res2 = 0 ;
6476 0 int argvi = 0;
6477 0 dXSARGS;
6478
6479 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
6480 0 SWIG_croak("Usage: gsl_vector_complex_set_all(v,z);");
6481 }
6482 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_complex, 0 | 0 );
6483 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
6484 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
6485 }
6486 0 arg1 = (gsl_vector_complex *)(argp1);
6487 {
6488 0 res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_gsl_complex, 0 );
6489 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
6490 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
6491 }
6492 0 ▶ if (!argp2) {
Branch: 1 branch
BranchTrueFalseTotal
if (!argp2) { 0 0 0
6493 0 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "gsl_vector_complex_set_all" "', argument " "2"" of type '" "gsl_complex""'");
6494 } else {
6495 0 arg2 = *((gsl_complex *)(argp2));
6496 }
6497 }
6498 0 gsl_vector_complex_set_all(arg1,arg2);
6499 0 ST(argvi) = &PL_sv_undef;
6500
6501 0 XSRETURN(argvi);
6502 0 fail:
6503
6504 0 SWIG_croak_null();
6505 }
6506 }
6507  
6508  
6509 0 XS(_wrap_gsl_vector_complex_set_basis) {
6510 {
6511 0 gsl_vector_complex *arg1 = (gsl_vector_complex *) 0 ;
6512 size_t arg2 ;
6513 0 void *argp1 = 0 ;
6514 0 int res1 = 0 ;
6515 size_t val2 ;
6516 0 int ecode2 = 0 ;
6517 0 int argvi = 0;
6518 int result;
6519 0 dXSARGS;
6520
6521 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
6522 0 SWIG_croak("Usage: gsl_vector_complex_set_basis(v,i);");
6523 }
6524 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_complex, 0 | 0 );
6525 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
6526 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
6527 }
6528 0 arg1 = (gsl_vector_complex *)(argp1);
6529 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6530 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
6531 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
6532 }
6533 0 arg2 = (size_t)(val2);
6534 0 result = (int)gsl_vector_complex_set_basis(arg1,arg2);
6535 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
6536
6537
6538 0 XSRETURN(argvi);
6539 0 fail:
6540
6541
6542 0 SWIG_croak_null();
6543 }
6544 }
6545  
6546  
6547 0 XS(_wrap_gsl_vector_complex_fread) {
6548 {
6549 0 FILE *arg1 = (FILE *) 0 ;
6550 0 gsl_vector_complex *arg2 = (gsl_vector_complex *) 0 ;
6551 0 void *argp1 = 0 ;
6552 0 int res1 = 0 ;
6553 0 void *argp2 = 0 ;
6554 0 int res2 = 0 ;
6555 0 int argvi = 0;
6556 int result;
6557 0 dXSARGS;
6558
6559 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
6560 0 SWIG_croak("Usage: gsl_vector_complex_fread(stream,v);");
6561 }
6562 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_FILE, 0 | 0 );
6563 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
6564 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
6565 }
6566 0 arg1 = (FILE *)(argp1);
6567 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector_complex, 0 | 0 );
6568 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
6569 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
6570 }
6571 0 arg2 = (gsl_vector_complex *)(argp2);
6572 0 result = (int)gsl_vector_complex_fread(arg1,arg2);
6573 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
6574
6575
6576 0 XSRETURN(argvi);
6577 0 fail:
6578
6579
6580 0 SWIG_croak_null();
6581 }
6582 }
6583  
6584  
6585 0 XS(_wrap_gsl_vector_complex_fwrite) {
6586 {
6587 0 FILE *arg1 = (FILE *) 0 ;
6588 0 gsl_vector_complex *arg2 = (gsl_vector_complex *) 0 ;
6589 0 void *argp1 = 0 ;
6590 0 int res1 = 0 ;
6591 0 void *argp2 = 0 ;
6592 0 int res2 = 0 ;
6593 0 int argvi = 0;
6594 int result;
6595 0 dXSARGS;
6596
6597 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
6598 0 SWIG_croak("Usage: gsl_vector_complex_fwrite(stream,v);");
6599 }
6600 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_FILE, 0 | 0 );
6601 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
6602 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
6603 }
6604 0 arg1 = (FILE *)(argp1);
6605 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector_complex, 0 | 0 );
6606 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
6607 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
6608 }
6609 0 arg2 = (gsl_vector_complex *)(argp2);
6610 0 result = (int)gsl_vector_complex_fwrite(arg1,(gsl_vector_complex const *)arg2);
6611 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
6612
6613
6614 0 XSRETURN(argvi);
6615 0 fail:
6616
6617
6618 0 SWIG_croak_null();
6619 }
6620 }
6621  
6622  
6623 0 XS(_wrap_gsl_vector_complex_fscanf) {
6624 {
6625 0 FILE *arg1 = (FILE *) 0 ;
6626 0 gsl_vector_complex *arg2 = (gsl_vector_complex *) 0 ;
6627 0 void *argp1 = 0 ;
6628 0 int res1 = 0 ;
6629 0 void *argp2 = 0 ;
6630 0 int res2 = 0 ;
6631 0 int argvi = 0;
6632 int result;
6633 0 dXSARGS;
6634
6635 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
6636 0 SWIG_croak("Usage: gsl_vector_complex_fscanf(stream,v);");
6637 }
6638 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_FILE, 0 | 0 );
6639 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
6640 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
6641 }
6642 0 arg1 = (FILE *)(argp1);
6643 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector_complex, 0 | 0 );
6644 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
6645 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
6646 }
6647 0 arg2 = (gsl_vector_complex *)(argp2);
6648 0 result = (int)gsl_vector_complex_fscanf(arg1,arg2);
6649 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
6650
6651
6652 0 XSRETURN(argvi);
6653 0 fail:
6654
6655
6656 0 SWIG_croak_null();
6657 }
6658 }
6659  
6660  
6661 0 XS(_wrap_gsl_vector_complex_fprintf) {
6662 {
6663 0 FILE *arg1 = (FILE *) 0 ;
6664 0 gsl_vector_complex *arg2 = (gsl_vector_complex *) 0 ;
6665 0 char *arg3 = (char *) 0 ;
6666 0 void *argp1 = 0 ;
6667 0 int res1 = 0 ;
6668 0 void *argp2 = 0 ;
6669 0 int res2 = 0 ;
6670 int res3 ;
6671 0 char *buf3 = 0 ;
6672 0 int alloc3 = 0 ;
6673 0 int argvi = 0;
6674 int result;
6675 0 dXSARGS;
6676
6677 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
6678 0 SWIG_croak("Usage: gsl_vector_complex_fprintf(stream,v,format);");
6679 }
6680 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_FILE, 0 | 0 );
6681 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
6682 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
6683 }
6684 0 arg1 = (FILE *)(argp1);
6685 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector_complex, 0 | 0 );
6686 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
6687 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
6688 }
6689 0 arg2 = (gsl_vector_complex *)(argp2);
6690 0 res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
6691 0 ▶ if (!SWIG_IsOK(res3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res3)) { 0 0 0
6692 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
6693 }
6694 0 arg3 = (char *)(buf3);
6695 0 result = (int)gsl_vector_complex_fprintf(arg1,(gsl_vector_complex const *)arg2,(char const *)arg3);
6696 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
6697
6698
6699 0 ▶ if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3); 0 0 0
6700 0 XSRETURN(argvi);
6701 0 fail:
6702
6703
6704 0 ▶ if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3); 0 0 0
6705 0 SWIG_croak_null();
6706 }
6707 }
6708  
6709  
6710 0 XS(_wrap_gsl_vector_complex_memcpy) {
6711 {
6712 0 gsl_vector_complex *arg1 = (gsl_vector_complex *) 0 ;
6713 0 gsl_vector_complex *arg2 = (gsl_vector_complex *) 0 ;
6714 0 void *argp1 = 0 ;
6715 0 int res1 = 0 ;
6716 0 void *argp2 = 0 ;
6717 0 int res2 = 0 ;
6718 0 int argvi = 0;
6719 int result;
6720 0 dXSARGS;
6721
6722 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
6723 0 SWIG_croak("Usage: gsl_vector_complex_memcpy(dest,src);");
6724 }
6725 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_complex, 0 | 0 );
6726 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
6727 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
6728 }
6729 0 arg1 = (gsl_vector_complex *)(argp1);
6730 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector_complex, 0 | 0 );
6731 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
6732 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
6733 }
6734 0 arg2 = (gsl_vector_complex *)(argp2);
6735 0 result = (int)gsl_vector_complex_memcpy(arg1,(gsl_vector_complex const *)arg2);
6736 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
6737
6738
6739 0 XSRETURN(argvi);
6740 0 fail:
6741
6742
6743 0 SWIG_croak_null();
6744 }
6745 }
6746  
6747  
6748 0 XS(_wrap_gsl_vector_complex_conj_memcpy) {
6749 {
6750 0 gsl_vector_complex *arg1 = (gsl_vector_complex *) 0 ;
6751 0 gsl_vector_complex *arg2 = (gsl_vector_complex *) 0 ;
6752 0 void *argp1 = 0 ;
6753 0 int res1 = 0 ;
6754 0 void *argp2 = 0 ;
6755 0 int res2 = 0 ;
6756 0 int argvi = 0;
6757 int result;
6758 0 dXSARGS;
6759
6760 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
6761 0 SWIG_croak("Usage: gsl_vector_complex_conj_memcpy(dest,src);");
6762 }
6763 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_complex, 0 | 0 );
6764 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
6765 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
6766 }
6767 0 arg1 = (gsl_vector_complex *)(argp1);
6768 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector_complex, 0 | 0 );
6769 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
6770 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
6771 }
6772 0 arg2 = (gsl_vector_complex *)(argp2);
6773 0 result = (int)gsl_vector_complex_conj_memcpy(arg1,(gsl_vector_complex const *)arg2);
6774 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
6775
6776
6777 0 XSRETURN(argvi);
6778 0 fail:
6779
6780
6781 0 SWIG_croak_null();
6782 }
6783 }
6784  
6785  
6786 0 XS(_wrap_gsl_vector_complex_reverse) {
6787 {
6788 0 gsl_vector_complex *arg1 = (gsl_vector_complex *) 0 ;
6789 0 void *argp1 = 0 ;
6790 0 int res1 = 0 ;
6791 0 int argvi = 0;
6792 int result;
6793 0 dXSARGS;
6794
6795 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
6796 0 SWIG_croak("Usage: gsl_vector_complex_reverse(v);");
6797 }
6798 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_complex, 0 | 0 );
6799 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
6800 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
6801 }
6802 0 arg1 = (gsl_vector_complex *)(argp1);
6803 0 result = (int)gsl_vector_complex_reverse(arg1);
6804 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
6805
6806 0 XSRETURN(argvi);
6807 0 fail:
6808
6809 0 SWIG_croak_null();
6810 }
6811 }
6812  
6813  
6814 0 XS(_wrap_gsl_vector_complex_swap) {
6815 {
6816 0 gsl_vector_complex *arg1 = (gsl_vector_complex *) 0 ;
6817 0 gsl_vector_complex *arg2 = (gsl_vector_complex *) 0 ;
6818 0 void *argp1 = 0 ;
6819 0 int res1 = 0 ;
6820 0 void *argp2 = 0 ;
6821 0 int res2 = 0 ;
6822 0 int argvi = 0;
6823 int result;
6824 0 dXSARGS;
6825
6826 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
6827 0 SWIG_croak("Usage: gsl_vector_complex_swap(v,w);");
6828 }
6829 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_complex, 0 | 0 );
6830 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
6831 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
6832 }
6833 0 arg1 = (gsl_vector_complex *)(argp1);
6834 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector_complex, 0 | 0 );
6835 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
6836 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
6837 }
6838 0 arg2 = (gsl_vector_complex *)(argp2);
6839 0 result = (int)gsl_vector_complex_swap(arg1,arg2);
6840 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
6841
6842
6843 0 XSRETURN(argvi);
6844 0 fail:
6845
6846
6847 0 SWIG_croak_null();
6848 }
6849 }
6850  
6851  
6852 0 XS(_wrap_gsl_vector_complex_swap_elements) {
6853 {
6854 0 gsl_vector_complex *arg1 = (gsl_vector_complex *) 0 ;
6855 size_t arg2 ;
6856 size_t arg3 ;
6857 0 void *argp1 = 0 ;
6858 0 int res1 = 0 ;
6859 size_t val2 ;
6860 0 int ecode2 = 0 ;
6861 size_t val3 ;
6862 0 int ecode3 = 0 ;
6863 0 int argvi = 0;
6864 int result;
6865 0 dXSARGS;
6866
6867 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
6868 0 SWIG_croak("Usage: gsl_vector_complex_swap_elements(v,i,j);");
6869 }
6870 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_complex, 0 | 0 );
6871 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
6872 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
6873 }
6874 0 arg1 = (gsl_vector_complex *)(argp1);
6875 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6876 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
6877 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
6878 }
6879 0 arg2 = (size_t)(val2);
6880 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
6881 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
6882 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
6883 }
6884 0 arg3 = (size_t)(val3);
6885 0 result = (int)gsl_vector_complex_swap_elements(arg1,arg2,arg3);
6886 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
6887
6888
6889
6890 0 XSRETURN(argvi);
6891 0 fail:
6892
6893
6894
6895 0 SWIG_croak_null();
6896 }
6897 }
6898  
6899  
6900 0 XS(_wrap_gsl_vector_complex_equal) {
6901 {
6902 0 gsl_vector_complex *arg1 = (gsl_vector_complex *) 0 ;
6903 0 gsl_vector_complex *arg2 = (gsl_vector_complex *) 0 ;
6904 0 void *argp1 = 0 ;
6905 0 int res1 = 0 ;
6906 0 void *argp2 = 0 ;
6907 0 int res2 = 0 ;
6908 0 int argvi = 0;
6909 int result;
6910 0 dXSARGS;
6911
6912 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
6913 0 SWIG_croak("Usage: gsl_vector_complex_equal(u,v);");
6914 }
6915 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_complex, 0 | 0 );
6916 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
6917 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
6918 }
6919 0 arg1 = (gsl_vector_complex *)(argp1);
6920 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector_complex, 0 | 0 );
6921 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
6922 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
6923 }
6924 0 arg2 = (gsl_vector_complex *)(argp2);
6925 0 result = (int)gsl_vector_complex_equal((gsl_vector_complex const *)arg1,(gsl_vector_complex const *)arg2);
6926 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
6927
6928
6929 0 XSRETURN(argvi);
6930 0 fail:
6931
6932
6933 0 SWIG_croak_null();
6934 }
6935 }
6936  
6937  
6938 0 XS(_wrap_gsl_vector_complex_isnull) {
6939 {
6940 0 gsl_vector_complex *arg1 = (gsl_vector_complex *) 0 ;
6941 0 void *argp1 = 0 ;
6942 0 int res1 = 0 ;
6943 0 int argvi = 0;
6944 int result;
6945 0 dXSARGS;
6946
6947 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
6948 0 SWIG_croak("Usage: gsl_vector_complex_isnull(v);");
6949 }
6950 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_complex, 0 | 0 );
6951 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
6952 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
6953 }
6954 0 arg1 = (gsl_vector_complex *)(argp1);
6955 0 result = (int)gsl_vector_complex_isnull((gsl_vector_complex const *)arg1);
6956 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
6957
6958 0 XSRETURN(argvi);
6959 0 fail:
6960
6961 0 SWIG_croak_null();
6962 }
6963 }
6964  
6965  
6966 0 XS(_wrap_gsl_vector_complex_ispos) {
6967 {
6968 0 gsl_vector_complex *arg1 = (gsl_vector_complex *) 0 ;
6969 0 void *argp1 = 0 ;
6970 0 int res1 = 0 ;
6971 0 int argvi = 0;
6972 int result;
6973 0 dXSARGS;
6974
6975 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
6976 0 SWIG_croak("Usage: gsl_vector_complex_ispos(v);");
6977 }
6978 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_complex, 0 | 0 );
6979 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
6980 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
6981 }
6982 0 arg1 = (gsl_vector_complex *)(argp1);
6983 0 result = (int)gsl_vector_complex_ispos((gsl_vector_complex const *)arg1);
6984 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
6985
6986 0 XSRETURN(argvi);
6987 0 fail:
6988
6989 0 SWIG_croak_null();
6990 }
6991 }
6992  
6993  
6994 0 XS(_wrap_gsl_vector_complex_isneg) {
6995 {
6996 0 gsl_vector_complex *arg1 = (gsl_vector_complex *) 0 ;
6997 0 void *argp1 = 0 ;
6998 0 int res1 = 0 ;
6999 0 int argvi = 0;
7000 int result;
7001 0 dXSARGS;
7002
7003 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
7004 0 SWIG_croak("Usage: gsl_vector_complex_isneg(v);");
7005 }
7006 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_complex, 0 | 0 );
7007 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
7008 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
7009 }
7010 0 arg1 = (gsl_vector_complex *)(argp1);
7011 0 result = (int)gsl_vector_complex_isneg((gsl_vector_complex const *)arg1);
7012 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
7013
7014 0 XSRETURN(argvi);
7015 0 fail:
7016
7017 0 SWIG_croak_null();
7018 }
7019 }
7020  
7021  
7022 0 XS(_wrap_gsl_vector_complex_isnonneg) {
7023 {
7024 0 gsl_vector_complex *arg1 = (gsl_vector_complex *) 0 ;
7025 0 void *argp1 = 0 ;
7026 0 int res1 = 0 ;
7027 0 int argvi = 0;
7028 int result;
7029 0 dXSARGS;
7030
7031 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
7032 0 SWIG_croak("Usage: gsl_vector_complex_isnonneg(v);");
7033 }
7034 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_complex, 0 | 0 );
7035 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
7036 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
7037 }
7038 0 arg1 = (gsl_vector_complex *)(argp1);
7039 0 result = (int)gsl_vector_complex_isnonneg((gsl_vector_complex const *)arg1);
7040 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
7041
7042 0 XSRETURN(argvi);
7043 0 fail:
7044
7045 0 SWIG_croak_null();
7046 }
7047 }
7048  
7049  
7050 0 XS(_wrap_gsl_vector_complex_add) {
7051 {
7052 0 gsl_vector_complex *arg1 = (gsl_vector_complex *) 0 ;
7053 0 gsl_vector_complex *arg2 = (gsl_vector_complex *) 0 ;
7054 0 void *argp1 = 0 ;
7055 0 int res1 = 0 ;
7056 0 void *argp2 = 0 ;
7057 0 int res2 = 0 ;
7058 0 int argvi = 0;
7059 int result;
7060 0 dXSARGS;
7061
7062 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
7063 0 SWIG_croak("Usage: gsl_vector_complex_add(a,b);");
7064 }
7065 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_complex, 0 | 0 );
7066 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
7067 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
7068 }
7069 0 arg1 = (gsl_vector_complex *)(argp1);
7070 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector_complex, 0 | 0 );
7071 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
7072 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
7073 }
7074 0 arg2 = (gsl_vector_complex *)(argp2);
7075 0 result = (int)gsl_vector_complex_add(arg1,(gsl_vector_complex const *)arg2);
7076 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
7077
7078
7079 0 XSRETURN(argvi);
7080 0 fail:
7081
7082
7083 0 SWIG_croak_null();
7084 }
7085 }
7086  
7087  
7088 0 XS(_wrap_gsl_vector_complex_sub) {
7089 {
7090 0 gsl_vector_complex *arg1 = (gsl_vector_complex *) 0 ;
7091 0 gsl_vector_complex *arg2 = (gsl_vector_complex *) 0 ;
7092 0 void *argp1 = 0 ;
7093 0 int res1 = 0 ;
7094 0 void *argp2 = 0 ;
7095 0 int res2 = 0 ;
7096 0 int argvi = 0;
7097 int result;
7098 0 dXSARGS;
7099
7100 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
7101 0 SWIG_croak("Usage: gsl_vector_complex_sub(a,b);");
7102 }
7103 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_complex, 0 | 0 );
7104 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
7105 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
7106 }
7107 0 arg1 = (gsl_vector_complex *)(argp1);
7108 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector_complex, 0 | 0 );
7109 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
7110 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
7111 }
7112 0 arg2 = (gsl_vector_complex *)(argp2);
7113 0 result = (int)gsl_vector_complex_sub(arg1,(gsl_vector_complex const *)arg2);
7114 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
7115
7116
7117 0 XSRETURN(argvi);
7118 0 fail:
7119
7120
7121 0 SWIG_croak_null();
7122 }
7123 }
7124  
7125  
7126 0 XS(_wrap_gsl_vector_complex_mul) {
7127 {
7128 0 gsl_vector_complex *arg1 = (gsl_vector_complex *) 0 ;
7129 0 gsl_vector_complex *arg2 = (gsl_vector_complex *) 0 ;
7130 0 void *argp1 = 0 ;
7131 0 int res1 = 0 ;
7132 0 void *argp2 = 0 ;
7133 0 int res2 = 0 ;
7134 0 int argvi = 0;
7135 int result;
7136 0 dXSARGS;
7137
7138 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
7139 0 SWIG_croak("Usage: gsl_vector_complex_mul(a,b);");
7140 }
7141 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_complex, 0 | 0 );
7142 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
7143 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
7144 }
7145 0 arg1 = (gsl_vector_complex *)(argp1);
7146 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector_complex, 0 | 0 );
7147 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
7148 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
7149 }
7150 0 arg2 = (gsl_vector_complex *)(argp2);
7151 0 result = (int)gsl_vector_complex_mul(arg1,(gsl_vector_complex const *)arg2);
7152 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
7153
7154
7155 0 XSRETURN(argvi);
7156 0 fail:
7157
7158
7159 0 SWIG_croak_null();
7160 }
7161 }
7162  
7163  
7164 0 XS(_wrap_gsl_vector_complex_div) {
7165 {
7166 0 gsl_vector_complex *arg1 = (gsl_vector_complex *) 0 ;
7167 0 gsl_vector_complex *arg2 = (gsl_vector_complex *) 0 ;
7168 0 void *argp1 = 0 ;
7169 0 int res1 = 0 ;
7170 0 void *argp2 = 0 ;
7171 0 int res2 = 0 ;
7172 0 int argvi = 0;
7173 int result;
7174 0 dXSARGS;
7175
7176 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
7177 0 SWIG_croak("Usage: gsl_vector_complex_div(a,b);");
7178 }
7179 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_complex, 0 | 0 );
7180 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
7181 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
7182 }
7183 0 arg1 = (gsl_vector_complex *)(argp1);
7184 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector_complex, 0 | 0 );
7185 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
7186 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
7187 }
7188 0 arg2 = (gsl_vector_complex *)(argp2);
7189 0 result = (int)gsl_vector_complex_div(arg1,(gsl_vector_complex const *)arg2);
7190 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
7191
7192
7193 0 XSRETURN(argvi);
7194 0 fail:
7195
7196
7197 0 SWIG_croak_null();
7198 }
7199 }
7200  
7201  
7202 0 XS(_wrap_gsl_vector_complex_scale) {
7203 {
7204 0 gsl_vector_complex *arg1 = (gsl_vector_complex *) 0 ;
7205 gsl_complex arg2 ;
7206 0 void *argp1 = 0 ;
7207 0 int res1 = 0 ;
7208 void *argp2 ;
7209 0 int res2 = 0 ;
7210 0 int argvi = 0;
7211 int result;
7212 0 dXSARGS;
7213
7214 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
7215 0 SWIG_croak("Usage: gsl_vector_complex_scale(a,x);");
7216 }
7217 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_complex, 0 | 0 );
7218 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
7219 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
7220 }
7221 0 arg1 = (gsl_vector_complex *)(argp1);
7222 {
7223 0 res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_gsl_complex, 0 );
7224 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
7225 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
7226 }
7227 0 ▶ if (!argp2) {
Branch: 1 branch
BranchTrueFalseTotal
if (!argp2) { 0 0 0
7228 0 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "gsl_vector_complex_scale" "', argument " "2"" of type '" "gsl_complex const""'");
7229 } else {
7230 0 arg2 = *((gsl_complex *)(argp2));
7231 }
7232 }
7233 0 result = (int)gsl_vector_complex_scale(arg1,arg2);
7234 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
7235
7236 0 XSRETURN(argvi);
7237 0 fail:
7238
7239 0 SWIG_croak_null();
7240 }
7241 }
7242  
7243  
7244 0 XS(_wrap_gsl_vector_complex_add_constant) {
7245 {
7246 0 gsl_vector_complex *arg1 = (gsl_vector_complex *) 0 ;
7247 gsl_complex arg2 ;
7248 0 void *argp1 = 0 ;
7249 0 int res1 = 0 ;
7250 void *argp2 ;
7251 0 int res2 = 0 ;
7252 0 int argvi = 0;
7253 int result;
7254 0 dXSARGS;
7255
7256 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
7257 0 SWIG_croak("Usage: gsl_vector_complex_add_constant(a,x);");
7258 }
7259 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_complex, 0 | 0 );
7260 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
7261 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
7262 }
7263 0 arg1 = (gsl_vector_complex *)(argp1);
7264 {
7265 0 res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_gsl_complex, 0 );
7266 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
7267 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
7268 }
7269 0 ▶ if (!argp2) {
Branch: 1 branch
BranchTrueFalseTotal
if (!argp2) { 0 0 0
7270 0 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "gsl_vector_complex_add_constant" "', argument " "2"" of type '" "gsl_complex const""'");
7271 } else {
7272 0 arg2 = *((gsl_complex *)(argp2));
7273 }
7274 }
7275 0 result = (int)gsl_vector_complex_add_constant(arg1,arg2);
7276 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
7277
7278 0 XSRETURN(argvi);
7279 0 fail:
7280
7281 0 SWIG_croak_null();
7282 }
7283 }
7284  
7285  
7286 0 XS(_wrap_gsl_vector_complex_axpby) {
7287 {
7288 gsl_complex arg1 ;
7289 0 gsl_vector_complex *arg2 = (gsl_vector_complex *) 0 ;
7290 gsl_complex arg3 ;
7291 0 gsl_vector_complex *arg4 = (gsl_vector_complex *) 0 ;
7292 void *argp1 ;
7293 0 int res1 = 0 ;
7294 0 void *argp2 = 0 ;
7295 0 int res2 = 0 ;
7296 void *argp3 ;
7297 0 int res3 = 0 ;
7298 0 void *argp4 = 0 ;
7299 0 int res4 = 0 ;
7300 0 int argvi = 0;
7301 int result;
7302 0 dXSARGS;
7303
7304 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
7305 0 SWIG_croak("Usage: gsl_vector_complex_axpby(alpha,x,beta,y);");
7306 }
7307 {
7308 0 res1 = SWIG_ConvertPtr(ST(0), &argp1, SWIGTYPE_p_gsl_complex, 0 );
7309 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
7310 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
7311 }
7312 0 ▶ if (!argp1) {
Branch: 1 branch
BranchTrueFalseTotal
if (!argp1) { 0 0 0
7313 0 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "gsl_vector_complex_axpby" "', argument " "1"" of type '" "gsl_complex const""'");
7314 } else {
7315 0 arg1 = *((gsl_complex *)(argp1));
7316 }
7317 }
7318 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector_complex, 0 | 0 );
7319 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
7320 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
7321 }
7322 0 arg2 = (gsl_vector_complex *)(argp2);
7323 {
7324 0 res3 = SWIG_ConvertPtr(ST(2), &argp3, SWIGTYPE_p_gsl_complex, 0 );
7325 0 ▶ if (!SWIG_IsOK(res3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res3)) { 0 0 0
7326 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
7327 }
7328 0 ▶ if (!argp3) {
Branch: 1 branch
BranchTrueFalseTotal
if (!argp3) { 0 0 0
7329 0 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "gsl_vector_complex_axpby" "', argument " "3"" of type '" "gsl_complex const""'");
7330 } else {
7331 0 arg3 = *((gsl_complex *)(argp3));
7332 }
7333 }
7334 0 res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_gsl_vector_complex, 0 | 0 );
7335 0 ▶ if (!SWIG_IsOK(res4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res4)) { 0 0 0
7336 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
7337 }
7338 0 arg4 = (gsl_vector_complex *)(argp4);
7339 0 result = (int)gsl_vector_complex_axpby(arg1,(gsl_vector_complex const *)arg2,arg3,arg4);
7340 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
7341
7342
7343 0 XSRETURN(argvi);
7344 0 fail:
7345
7346
7347 0 SWIG_croak_null();
7348 }
7349 }
7350  
7351  
7352 0 XS(_wrap_gsl_vector_complex_div_real) {
7353 {
7354 0 gsl_vector_complex *arg1 = (gsl_vector_complex *) 0 ;
7355 0 gsl_vector *arg2 = (gsl_vector *) 0 ;
7356 0 void *argp1 = 0 ;
7357 0 int res1 = 0 ;
7358 0 void *argp2 = 0 ;
7359 0 int res2 = 0 ;
7360 0 int argvi = 0;
7361 int result;
7362 0 dXSARGS;
7363
7364 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
7365 0 SWIG_croak("Usage: gsl_vector_complex_div_real(a,b);");
7366 }
7367 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_complex, 0 | 0 );
7368 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
7369 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
7370 }
7371 0 arg1 = (gsl_vector_complex *)(argp1);
7372 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector, 0 | 0 );
7373 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
7374 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
7375 }
7376 0 arg2 = (gsl_vector *)(argp2);
7377 0 result = (int)gsl_vector_complex_div_real(arg1,(gsl_vector const *)arg2);
7378 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
7379
7380
7381 0 XSRETURN(argvi);
7382 0 fail:
7383
7384
7385 0 SWIG_croak_null();
7386 }
7387 }
7388  
7389  
7390 0 XS(_wrap_gsl_vector_complex_get) {
7391 {
7392 0 gsl_vector_complex *arg1 = (gsl_vector_complex *) 0 ;
7393 size_t arg2 ;
7394 0 void *argp1 = 0 ;
7395 0 int res1 = 0 ;
7396 size_t val2 ;
7397 0 int ecode2 = 0 ;
7398 0 int argvi = 0;
7399 gsl_complex result;
7400 0 dXSARGS;
7401
7402 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
7403 0 SWIG_croak("Usage: gsl_vector_complex_get(v,i);");
7404 }
7405 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_complex, 0 | 0 );
7406 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
7407 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
7408 }
7409 0 arg1 = (gsl_vector_complex *)(argp1);
7410 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
7411 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
7412 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
7413 }
7414 0 arg2 = (size_t)(val2);
7415 0 result = gsl_vector_complex_get((gsl_vector_complex const *)arg1,arg2);
7416 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 | 0); argvi++ ;
7417
7418
7419 0 XSRETURN(argvi);
7420 0 fail:
7421
7422
7423 0 SWIG_croak_null();
7424 }
7425 }
7426  
7427  
7428 0 XS(_wrap_gsl_vector_complex_set) {
7429 {
7430 0 gsl_vector_complex *arg1 = (gsl_vector_complex *) 0 ;
7431 size_t arg2 ;
7432 gsl_complex arg3 ;
7433 0 void *argp1 = 0 ;
7434 0 int res1 = 0 ;
7435 size_t val2 ;
7436 0 int ecode2 = 0 ;
7437 void *argp3 ;
7438 0 int res3 = 0 ;
7439 0 int argvi = 0;
7440 0 dXSARGS;
7441
7442 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
7443 0 SWIG_croak("Usage: gsl_vector_complex_set(v,i,z);");
7444 }
7445 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_complex, 0 | 0 );
7446 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
7447 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
7448 }
7449 0 arg1 = (gsl_vector_complex *)(argp1);
7450 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
7451 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
7452 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
7453 }
7454 0 arg2 = (size_t)(val2);
7455 {
7456 0 res3 = SWIG_ConvertPtr(ST(2), &argp3, SWIGTYPE_p_gsl_complex, 0 );
7457 0 ▶ if (!SWIG_IsOK(res3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res3)) { 0 0 0
7458 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
7459 }
7460 0 ▶ if (!argp3) {
Branch: 1 branch
BranchTrueFalseTotal
if (!argp3) { 0 0 0
7461 0 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "gsl_vector_complex_set" "', argument " "3"" of type '" "gsl_complex""'");
7462 } else {
7463 0 arg3 = *((gsl_complex *)(argp3));
7464 }
7465 }
7466 0 gsl_vector_complex_set(arg1,arg2,arg3);
7467 0 ST(argvi) = &PL_sv_undef;
7468
7469
7470 0 XSRETURN(argvi);
7471 0 fail:
7472
7473
7474 0 SWIG_croak_null();
7475 }
7476 }
7477  
7478  
7479 0 XS(_wrap_gsl_vector_complex_ptr) {
7480 {
7481 0 gsl_vector_complex *arg1 = (gsl_vector_complex *) 0 ;
7482 size_t arg2 ;
7483 0 void *argp1 = 0 ;
7484 0 int res1 = 0 ;
7485 size_t val2 ;
7486 0 int ecode2 = 0 ;
7487 0 int argvi = 0;
7488 0 gsl_complex *result = 0 ;
7489 0 dXSARGS;
7490
7491 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
7492 0 SWIG_croak("Usage: gsl_vector_complex_ptr(v,i);");
7493 }
7494 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_complex, 0 | 0 );
7495 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
7496 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
7497 }
7498 0 arg1 = (gsl_vector_complex *)(argp1);
7499 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
7500 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
7501 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
7502 }
7503 0 arg2 = (size_t)(val2);
7504 0 result = (gsl_complex *)gsl_vector_complex_ptr(arg1,arg2);
7505 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_complex, 0 | 0); argvi++ ;
7506
7507
7508 0 XSRETURN(argvi);
7509 0 fail:
7510
7511
7512 0 SWIG_croak_null();
7513 }
7514 }
7515  
7516  
7517 0 XS(_wrap_gsl_vector_complex_const_ptr) {
7518 {
7519 0 gsl_vector_complex *arg1 = (gsl_vector_complex *) 0 ;
7520 size_t arg2 ;
7521 0 void *argp1 = 0 ;
7522 0 int res1 = 0 ;
7523 size_t val2 ;
7524 0 int ecode2 = 0 ;
7525 0 int argvi = 0;
7526 0 gsl_complex *result = 0 ;
7527 0 dXSARGS;
7528
7529 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
7530 0 SWIG_croak("Usage: gsl_vector_complex_const_ptr(v,i);");
7531 }
7532 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_complex, 0 | 0 );
7533 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
7534 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
7535 }
7536 0 arg1 = (gsl_vector_complex *)(argp1);
7537 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
7538 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
7539 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
7540 }
7541 0 arg2 = (size_t)(val2);
7542 0 result = (gsl_complex *)gsl_vector_complex_const_ptr((gsl_vector_complex const *)arg1,arg2);
7543 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_complex, 0 | 0); argvi++ ;
7544
7545
7546 0 XSRETURN(argvi);
7547 0 fail:
7548
7549
7550 0 SWIG_croak_null();
7551 }
7552 }
7553  
7554  
7555 0 XS(_wrap_gsl_vector_size_set) {
7556 {
7557 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
7558 size_t arg2 ;
7559 0 void *argp1 = 0 ;
7560 0 int res1 = 0 ;
7561 size_t val2 ;
7562 0 int ecode2 = 0 ;
7563 0 int argvi = 0;
7564 0 dXSARGS;
7565
7566 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
7567 0 SWIG_croak("Usage: gsl_vector_size_set(self,size);");
7568 }
7569 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
7570 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
7571 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
7572 }
7573 0 arg1 = (gsl_vector *)(argp1);
7574 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
7575 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
7576 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
7577 }
7578 0 arg2 = (size_t)(val2);
7579 0 ▶ if (arg1) (arg1)->size = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->size = arg2; 0 0 0
7580 0 ST(argvi) = &PL_sv_undef;
7581
7582
7583 0 XSRETURN(argvi);
7584 0 fail:
7585
7586
7587 0 SWIG_croak_null();
7588 }
7589 }
7590  
7591  
7592 0 XS(_wrap_gsl_vector_size_get) {
7593 {
7594 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
7595 0 void *argp1 = 0 ;
7596 0 int res1 = 0 ;
7597 0 int argvi = 0;
7598 size_t result;
7599 0 dXSARGS;
7600
7601 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
7602 0 SWIG_croak("Usage: gsl_vector_size_get(self);");
7603 }
7604 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
7605 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
7606 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
7607 }
7608 0 arg1 = (gsl_vector *)(argp1);
7609 0 result = ((arg1)->size);
7610 0 ST(argvi) = SWIG_From_size_t SWIG_PERL_CALL_ARGS_1((size_t)(result)); argvi++ ;
7611
7612 0 XSRETURN(argvi);
7613 0 fail:
7614
7615 0 SWIG_croak_null();
7616 }
7617 }
7618  
7619  
7620 0 XS(_wrap_gsl_vector_stride_set) {
7621 {
7622 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
7623 size_t arg2 ;
7624 0 void *argp1 = 0 ;
7625 0 int res1 = 0 ;
7626 size_t val2 ;
7627 0 int ecode2 = 0 ;
7628 0 int argvi = 0;
7629 0 dXSARGS;
7630
7631 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
7632 0 SWIG_croak("Usage: gsl_vector_stride_set(self,stride);");
7633 }
7634 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
7635 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
7636 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
7637 }
7638 0 arg1 = (gsl_vector *)(argp1);
7639 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
7640 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
7641 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
7642 }
7643 0 arg2 = (size_t)(val2);
7644 0 ▶ if (arg1) (arg1)->stride = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->stride = arg2; 0 0 0
7645 0 ST(argvi) = &PL_sv_undef;
7646
7647
7648 0 XSRETURN(argvi);
7649 0 fail:
7650
7651
7652 0 SWIG_croak_null();
7653 }
7654 }
7655  
7656  
7657 0 XS(_wrap_gsl_vector_stride_get) {
7658 {
7659 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
7660 0 void *argp1 = 0 ;
7661 0 int res1 = 0 ;
7662 0 int argvi = 0;
7663 size_t result;
7664 0 dXSARGS;
7665
7666 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
7667 0 SWIG_croak("Usage: gsl_vector_stride_get(self);");
7668 }
7669 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
7670 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
7671 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
7672 }
7673 0 arg1 = (gsl_vector *)(argp1);
7674 0 result = ((arg1)->stride);
7675 0 ST(argvi) = SWIG_From_size_t SWIG_PERL_CALL_ARGS_1((size_t)(result)); argvi++ ;
7676
7677 0 XSRETURN(argvi);
7678 0 fail:
7679
7680 0 SWIG_croak_null();
7681 }
7682 }
7683  
7684  
7685 0 XS(_wrap_gsl_vector_data_set) {
7686 {
7687 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
7688 0 double *arg2 = (double *) 0 ;
7689 0 void *argp1 = 0 ;
7690 0 int res1 = 0 ;
7691 0 int argvi = 0;
7692 0 dXSARGS;
7693
7694 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
7695 0 SWIG_croak("Usage: gsl_vector_data_set(self,data);");
7696 }
7697 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
7698 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
7699 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
7700 }
7701 0 arg1 = (gsl_vector *)(argp1);
7702 {
7703 AV *tempav;
7704 I32 len;
7705 int i;
7706 SV **tv;
7707 0 ▶ if (!SvROK(ST(1)))
Branch: 1 branch
BranchTrueFalseTotal
if (!SvROK(ST(1))) 0 0 0
7708 0 croak("Math::GSL : $data is not a reference!");
7709 0 ▶ if (SvTYPE(SvRV(ST(1))) != SVt_PVAV)
Branch: 1 branch
BranchTrueFalseTotal
if (SvTYPE(SvRV(ST(1))) != SVt_PVAV) 0 0 0
7710 0 croak("Math::GSL : $data is not an array ref!");
7711
7712 0 tempav = (AV*)SvRV(ST(1));
7713 0 len = av_len(tempav);
7714 0 arg2 = (double *) malloc((len+2)*sizeof(double));
7715 0 ▶ for (i = 0; i <= len; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; i <= len; i++) { 0 0 0
7716 0 tv = av_fetch(tempav, i, 0);
7717 0 arg2[i] = (double) SvNV(*tv);
7718 }
7719 }
7720 0 ▶ if (arg1) (arg1)->data = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->data = arg2; 0 0 0
7721 0 ST(argvi) = &PL_sv_undef;
7722
7723 {
7724 0 ▶ if (arg2) free(arg2);
Branch: 1 branch
BranchTrueFalseTotal
if (arg2) free(arg2); 0 0 0
7725 }
7726 0 XSRETURN(argvi);
7727 0 fail:
7728
7729 {
7730 0 ▶ if (arg2) free(arg2);
Branch: 1 branch
BranchTrueFalseTotal
if (arg2) free(arg2); 0 0 0
7731 }
7732 0 SWIG_croak_null();
7733 }
7734 }
7735  
7736  
7737 0 XS(_wrap_gsl_vector_data_get) {
7738 {
7739 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
7740 0 void *argp1 = 0 ;
7741 0 int res1 = 0 ;
7742 0 int argvi = 0;
7743 0 double *result = 0 ;
7744 0 dXSARGS;
7745
7746 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
7747 0 SWIG_croak("Usage: gsl_vector_data_get(self);");
7748 }
7749 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
7750 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
7751 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
7752 }
7753 0 arg1 = (gsl_vector *)(argp1);
7754 0 result = (double *) ((arg1)->data);
7755 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0); argvi++ ;
7756
7757 0 XSRETURN(argvi);
7758 0 fail:
7759
7760 0 SWIG_croak_null();
7761 }
7762 }
7763  
7764  
7765 0 XS(_wrap_gsl_vector_block_set) {
7766 {
7767 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
7768 0 gsl_block *arg2 = (gsl_block *) 0 ;
7769 0 void *argp1 = 0 ;
7770 0 int res1 = 0 ;
7771 0 void *argp2 = 0 ;
7772 0 int res2 = 0 ;
7773 0 int argvi = 0;
7774 0 dXSARGS;
7775
7776 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
7777 0 SWIG_croak("Usage: gsl_vector_block_set(self,block);");
7778 }
7779 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
7780 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
7781 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
7782 }
7783 0 arg1 = (gsl_vector *)(argp1);
7784 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_block, SWIG_POINTER_DISOWN | 0 );
7785 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
7786 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
7787 }
7788 0 arg2 = (gsl_block *)(argp2);
7789 0 ▶ if (arg1) (arg1)->block = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->block = arg2; 0 0 0
7790 0 ST(argvi) = &PL_sv_undef;
7791
7792
7793 0 XSRETURN(argvi);
7794 0 fail:
7795
7796
7797 0 SWIG_croak_null();
7798 }
7799 }
7800  
7801  
7802 0 XS(_wrap_gsl_vector_block_get) {
7803 {
7804 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
7805 0 void *argp1 = 0 ;
7806 0 int res1 = 0 ;
7807 0 int argvi = 0;
7808 0 gsl_block *result = 0 ;
7809 0 dXSARGS;
7810
7811 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
7812 0 SWIG_croak("Usage: gsl_vector_block_get(self);");
7813 }
7814 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
7815 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
7816 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
7817 }
7818 0 arg1 = (gsl_vector *)(argp1);
7819 0 result = (gsl_block *) ((arg1)->block);
7820 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_block, 0 | 0); argvi++ ;
7821
7822 0 XSRETURN(argvi);
7823 0 fail:
7824
7825 0 SWIG_croak_null();
7826 }
7827 }
7828  
7829  
7830 0 XS(_wrap_gsl_vector_owner_set) {
7831 {
7832 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
7833 int arg2 ;
7834 0 void *argp1 = 0 ;
7835 0 int res1 = 0 ;
7836 int val2 ;
7837 0 int ecode2 = 0 ;
7838 0 int argvi = 0;
7839 0 dXSARGS;
7840
7841 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
7842 0 SWIG_croak("Usage: gsl_vector_owner_set(self,owner);");
7843 }
7844 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
7845 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
7846 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
7847 }
7848 0 arg1 = (gsl_vector *)(argp1);
7849 0 ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
7850 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
7851 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
7852 }
7853 0 arg2 = (int)(val2);
7854 0 ▶ if (arg1) (arg1)->owner = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->owner = arg2; 0 0 0
7855 0 ST(argvi) = &PL_sv_undef;
7856
7857
7858 0 XSRETURN(argvi);
7859 0 fail:
7860
7861
7862 0 SWIG_croak_null();
7863 }
7864 }
7865  
7866  
7867 0 XS(_wrap_gsl_vector_owner_get) {
7868 {
7869 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
7870 0 void *argp1 = 0 ;
7871 0 int res1 = 0 ;
7872 0 int argvi = 0;
7873 int result;
7874 0 dXSARGS;
7875
7876 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
7877 0 SWIG_croak("Usage: gsl_vector_owner_get(self);");
7878 }
7879 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
7880 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
7881 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
7882 }
7883 0 arg1 = (gsl_vector *)(argp1);
7884 0 result = (int) ((arg1)->owner);
7885 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
7886
7887 0 XSRETURN(argvi);
7888 0 fail:
7889
7890 0 SWIG_croak_null();
7891 }
7892 }
7893  
7894  
7895 0 XS(_wrap_new_gsl_vector) {
7896 {
7897 0 int argvi = 0;
7898 0 gsl_vector *result = 0 ;
7899 0 dXSARGS;
7900
7901 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
7902 0 SWIG_croak("Usage: new_gsl_vector();");
7903 }
7904 0 result = (gsl_vector *)calloc(1, sizeof(gsl_vector));
7905 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_vector, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
7906 0 XSRETURN(argvi);
7907 0 fail:
7908 0 SWIG_croak_null();
7909 }
7910 }
7911  
7912  
7913 0 XS(_wrap_delete_gsl_vector) {
7914 {
7915 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
7916 0 void *argp1 = 0 ;
7917 0 int res1 = 0 ;
7918 0 int argvi = 0;
7919 0 dXSARGS;
7920
7921 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
7922 0 SWIG_croak("Usage: delete_gsl_vector(self);");
7923 }
7924 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, SWIG_POINTER_DISOWN | 0 );
7925 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
7926 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
7927 }
7928 0 arg1 = (gsl_vector *)(argp1);
7929 0 free((char *) arg1);
7930 0 ST(argvi) = &PL_sv_undef;
7931
7932 0 XSRETURN(argvi);
7933 0 fail:
7934
7935 0 SWIG_croak_null();
7936 }
7937 }
7938  
7939  
7940 0 XS(_wrap__gsl_vector_view_vector_set) {
7941 {
7942 0 _gsl_vector_view *arg1 = (_gsl_vector_view *) 0 ;
7943 0 gsl_vector *arg2 = (gsl_vector *) 0 ;
7944 0 void *argp1 = 0 ;
7945 0 int res1 = 0 ;
7946 0 void *argp2 = 0 ;
7947 0 int res2 = 0 ;
7948 0 int argvi = 0;
7949 0 dXSARGS;
7950
7951 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
7952 0 SWIG_croak("Usage: _gsl_vector_view_vector_set(self,vector);");
7953 }
7954 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__gsl_vector_view, 0 | 0 );
7955 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
7956 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
7957 }
7958 0 arg1 = (_gsl_vector_view *)(argp1);
7959 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector, 0 | 0 );
7960 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
7961 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
7962 }
7963 0 arg2 = (gsl_vector *)(argp2);
7964 0 ▶ if (arg1) (arg1)->vector = *arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->vector = *arg2; 0 0 0
7965 0 ST(argvi) = &PL_sv_undef;
7966
7967
7968 0 XSRETURN(argvi);
7969 0 fail:
7970
7971
7972 0 SWIG_croak_null();
7973 }
7974 }
7975  
7976  
7977 0 XS(_wrap__gsl_vector_view_vector_get) {
7978 {
7979 0 _gsl_vector_view *arg1 = (_gsl_vector_view *) 0 ;
7980 0 void *argp1 = 0 ;
7981 0 int res1 = 0 ;
7982 0 int argvi = 0;
7983 0 gsl_vector *result = 0 ;
7984 0 dXSARGS;
7985
7986 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
7987 0 SWIG_croak("Usage: _gsl_vector_view_vector_get(self);");
7988 }
7989 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__gsl_vector_view, 0 | 0 );
7990 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
7991 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
7992 }
7993 0 arg1 = (_gsl_vector_view *)(argp1);
7994 0 result = (gsl_vector *)& ((arg1)->vector);
7995 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_vector, 0 | SWIG_SHADOW); argvi++ ;
7996
7997 0 XSRETURN(argvi);
7998 0 fail:
7999
8000 0 SWIG_croak_null();
8001 }
8002 }
8003  
8004  
8005 0 XS(_wrap_new__gsl_vector_view) {
8006 {
8007 0 int argvi = 0;
8008 0 _gsl_vector_view *result = 0 ;
8009 0 dXSARGS;
8010
8011 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
8012 0 SWIG_croak("Usage: new__gsl_vector_view();");
8013 }
8014 0 result = (_gsl_vector_view *)calloc(1, sizeof(_gsl_vector_view));
8015 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__gsl_vector_view, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
8016 0 XSRETURN(argvi);
8017 0 fail:
8018 0 SWIG_croak_null();
8019 }
8020 }
8021  
8022  
8023 0 XS(_wrap_delete__gsl_vector_view) {
8024 {
8025 0 _gsl_vector_view *arg1 = (_gsl_vector_view *) 0 ;
8026 0 void *argp1 = 0 ;
8027 0 int res1 = 0 ;
8028 0 int argvi = 0;
8029 0 dXSARGS;
8030
8031 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
8032 0 SWIG_croak("Usage: delete__gsl_vector_view(self);");
8033 }
8034 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__gsl_vector_view, SWIG_POINTER_DISOWN | 0 );
8035 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
8036 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
8037 }
8038 0 arg1 = (_gsl_vector_view *)(argp1);
8039 0 free((char *) arg1);
8040 0 ST(argvi) = &PL_sv_undef;
8041
8042 0 XSRETURN(argvi);
8043 0 fail:
8044
8045 0 SWIG_croak_null();
8046 }
8047 }
8048  
8049  
8050 0 XS(_wrap__gsl_vector_const_view_vector_set) {
8051 {
8052 0 _gsl_vector_const_view *arg1 = (_gsl_vector_const_view *) 0 ;
8053 0 gsl_vector *arg2 = (gsl_vector *) 0 ;
8054 0 void *argp1 = 0 ;
8055 0 int res1 = 0 ;
8056 0 void *argp2 = 0 ;
8057 0 int res2 = 0 ;
8058 0 int argvi = 0;
8059 0 dXSARGS;
8060
8061 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
8062 0 SWIG_croak("Usage: _gsl_vector_const_view_vector_set(self,vector);");
8063 }
8064 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__gsl_vector_const_view, 0 | 0 );
8065 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
8066 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
8067 }
8068 0 arg1 = (_gsl_vector_const_view *)(argp1);
8069 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector, 0 | 0 );
8070 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
8071 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
8072 }
8073 0 arg2 = (gsl_vector *)(argp2);
8074 0 ▶ if (arg1) (arg1)->vector = *arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->vector = *arg2; 0 0 0
8075 0 ST(argvi) = &PL_sv_undef;
8076
8077
8078 0 XSRETURN(argvi);
8079 0 fail:
8080
8081
8082 0 SWIG_croak_null();
8083 }
8084 }
8085  
8086  
8087 0 XS(_wrap__gsl_vector_const_view_vector_get) {
8088 {
8089 0 _gsl_vector_const_view *arg1 = (_gsl_vector_const_view *) 0 ;
8090 0 void *argp1 = 0 ;
8091 0 int res1 = 0 ;
8092 0 int argvi = 0;
8093 0 gsl_vector *result = 0 ;
8094 0 dXSARGS;
8095
8096 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
8097 0 SWIG_croak("Usage: _gsl_vector_const_view_vector_get(self);");
8098 }
8099 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__gsl_vector_const_view, 0 | 0 );
8100 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
8101 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
8102 }
8103 0 arg1 = (_gsl_vector_const_view *)(argp1);
8104 0 result = (gsl_vector *)& ((arg1)->vector);
8105 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_vector, 0 | SWIG_SHADOW); argvi++ ;
8106
8107 0 XSRETURN(argvi);
8108 0 fail:
8109
8110 0 SWIG_croak_null();
8111 }
8112 }
8113  
8114  
8115 0 XS(_wrap_new__gsl_vector_const_view) {
8116 {
8117 0 int argvi = 0;
8118 0 _gsl_vector_const_view *result = 0 ;
8119 0 dXSARGS;
8120
8121 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
8122 0 SWIG_croak("Usage: new__gsl_vector_const_view();");
8123 }
8124 0 result = (_gsl_vector_const_view *)calloc(1, sizeof(_gsl_vector_const_view));
8125 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__gsl_vector_const_view, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
8126 0 XSRETURN(argvi);
8127 0 fail:
8128 0 SWIG_croak_null();
8129 }
8130 }
8131  
8132  
8133 0 XS(_wrap_delete__gsl_vector_const_view) {
8134 {
8135 0 _gsl_vector_const_view *arg1 = (_gsl_vector_const_view *) 0 ;
8136 0 void *argp1 = 0 ;
8137 0 int res1 = 0 ;
8138 0 int argvi = 0;
8139 0 dXSARGS;
8140
8141 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
8142 0 SWIG_croak("Usage: delete__gsl_vector_const_view(self);");
8143 }
8144 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__gsl_vector_const_view, SWIG_POINTER_DISOWN | 0 );
8145 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
8146 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
8147 }
8148 0 arg1 = (_gsl_vector_const_view *)(argp1);
8149 0 free((char *) arg1);
8150 0 ST(argvi) = &PL_sv_undef;
8151
8152 0 XSRETURN(argvi);
8153 0 fail:
8154
8155 0 SWIG_croak_null();
8156 }
8157 }
8158  
8159  
8160 0 XS(_wrap_gsl_vector_alloc) {
8161 {
8162 size_t arg1 ;
8163 size_t val1 ;
8164 0 int ecode1 = 0 ;
8165 0 int argvi = 0;
8166 0 gsl_vector *result = 0 ;
8167 0 dXSARGS;
8168
8169 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
8170 0 SWIG_croak("Usage: gsl_vector_alloc(n);");
8171 }
8172 0 ecode1 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
8173 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
8174 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
8175 }
8176 0 arg1 = (size_t)(val1);
8177 0 result = (gsl_vector *)gsl_vector_alloc(arg1);
8178 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_vector, 0 | SWIG_SHADOW); argvi++ ;
8179
8180 0 XSRETURN(argvi);
8181 0 fail:
8182
8183 0 SWIG_croak_null();
8184 }
8185 }
8186  
8187  
8188 0 XS(_wrap_gsl_vector_calloc) {
8189 {
8190 size_t arg1 ;
8191 size_t val1 ;
8192 0 int ecode1 = 0 ;
8193 0 int argvi = 0;
8194 0 gsl_vector *result = 0 ;
8195 0 dXSARGS;
8196
8197 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
8198 0 SWIG_croak("Usage: gsl_vector_calloc(n);");
8199 }
8200 0 ecode1 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
8201 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
8202 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
8203 }
8204 0 arg1 = (size_t)(val1);
8205 0 result = (gsl_vector *)gsl_vector_calloc(arg1);
8206 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_vector, 0 | SWIG_SHADOW); argvi++ ;
8207
8208 0 XSRETURN(argvi);
8209 0 fail:
8210
8211 0 SWIG_croak_null();
8212 }
8213 }
8214  
8215  
8216 0 XS(_wrap_gsl_vector_alloc_from_block) {
8217 {
8218 0 gsl_block *arg1 = (gsl_block *) 0 ;
8219 size_t arg2 ;
8220 size_t arg3 ;
8221 size_t arg4 ;
8222 0 void *argp1 = 0 ;
8223 0 int res1 = 0 ;
8224 size_t val2 ;
8225 0 int ecode2 = 0 ;
8226 size_t val3 ;
8227 0 int ecode3 = 0 ;
8228 size_t val4 ;
8229 0 int ecode4 = 0 ;
8230 0 int argvi = 0;
8231 0 gsl_vector *result = 0 ;
8232 0 dXSARGS;
8233
8234 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
8235 0 SWIG_croak("Usage: gsl_vector_alloc_from_block(b,offset,n,stride);");
8236 }
8237 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_block, 0 | 0 );
8238 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
8239 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
8240 }
8241 0 arg1 = (gsl_block *)(argp1);
8242 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
8243 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
8244 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
8245 }
8246 0 arg2 = (size_t)(val2);
8247 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
8248 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
8249 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
8250 }
8251 0 arg3 = (size_t)(val3);
8252 0 ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
8253 0 ▶ if (!SWIG_IsOK(ecode4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode4)) { 0 0 0
8254 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
8255 }
8256 0 arg4 = (size_t)(val4);
8257 0 result = (gsl_vector *)gsl_vector_alloc_from_block(arg1,arg2,arg3,arg4);
8258 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_vector, 0 | SWIG_SHADOW); argvi++ ;
8259
8260
8261
8262
8263 0 XSRETURN(argvi);
8264 0 fail:
8265
8266
8267
8268
8269 0 SWIG_croak_null();
8270 }
8271 }
8272  
8273  
8274 0 XS(_wrap_gsl_vector_alloc_from_vector) {
8275 {
8276 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
8277 size_t arg2 ;
8278 size_t arg3 ;
8279 size_t arg4 ;
8280 0 void *argp1 = 0 ;
8281 0 int res1 = 0 ;
8282 size_t val2 ;
8283 0 int ecode2 = 0 ;
8284 size_t val3 ;
8285 0 int ecode3 = 0 ;
8286 size_t val4 ;
8287 0 int ecode4 = 0 ;
8288 0 int argvi = 0;
8289 0 gsl_vector *result = 0 ;
8290 0 dXSARGS;
8291
8292 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
8293 0 SWIG_croak("Usage: gsl_vector_alloc_from_vector(v,offset,n,stride);");
8294 }
8295 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
8296 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
8297 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
8298 }
8299 0 arg1 = (gsl_vector *)(argp1);
8300 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
8301 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
8302 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
8303 }
8304 0 arg2 = (size_t)(val2);
8305 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
8306 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
8307 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
8308 }
8309 0 arg3 = (size_t)(val3);
8310 0 ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
8311 0 ▶ if (!SWIG_IsOK(ecode4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode4)) { 0 0 0
8312 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
8313 }
8314 0 arg4 = (size_t)(val4);
8315 0 result = (gsl_vector *)gsl_vector_alloc_from_vector(arg1,arg2,arg3,arg4);
8316 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_vector, 0 | SWIG_SHADOW); argvi++ ;
8317
8318
8319
8320
8321 0 XSRETURN(argvi);
8322 0 fail:
8323
8324
8325
8326
8327 0 SWIG_croak_null();
8328 }
8329 }
8330  
8331  
8332 0 XS(_wrap_gsl_vector_free) {
8333 {
8334 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
8335 0 void *argp1 = 0 ;
8336 0 int res1 = 0 ;
8337 0 int argvi = 0;
8338 0 dXSARGS;
8339
8340 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
8341 0 SWIG_croak("Usage: gsl_vector_free(v);");
8342 }
8343 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
8344 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
8345 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
8346 }
8347 0 arg1 = (gsl_vector *)(argp1);
8348 0 gsl_vector_free(arg1);
8349 0 ST(argvi) = &PL_sv_undef;
8350
8351 0 XSRETURN(argvi);
8352 0 fail:
8353
8354 0 SWIG_croak_null();
8355 }
8356 }
8357  
8358  
8359 0 XS(_wrap_gsl_vector_view_array) {
8360 {
8361 0 double *arg1 = (double *) 0 ;
8362 size_t arg2 ;
8363 size_t val2 ;
8364 0 int ecode2 = 0 ;
8365 0 int argvi = 0;
8366 _gsl_vector_view result;
8367 0 dXSARGS;
8368
8369 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
8370 0 SWIG_croak("Usage: gsl_vector_view_array(v,n);");
8371 }
8372 {
8373 AV *tempav;
8374 I32 len;
8375 int i;
8376 SV **tv;
8377 0 ▶ if (!SvROK(ST(0)))
Branch: 1 branch
BranchTrueFalseTotal
if (!SvROK(ST(0))) 0 0 0
8378 0 croak("Math::GSL : $v is not a reference!");
8379 0 ▶ if (SvTYPE(SvRV(ST(0))) != SVt_PVAV)
Branch: 1 branch
BranchTrueFalseTotal
if (SvTYPE(SvRV(ST(0))) != SVt_PVAV) 0 0 0
8380 0 croak("Math::GSL : $v is not an array ref!");
8381
8382 0 tempav = (AV*)SvRV(ST(0));
8383 0 len = av_len(tempav);
8384 0 arg1 = (double *) malloc((len+2)*sizeof(double));
8385 0 ▶ for (i = 0; i <= len; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; i <= len; i++) { 0 0 0
8386 0 tv = av_fetch(tempav, i, 0);
8387 0 arg1[i] = (double) SvNV(*tv);
8388 }
8389 }
8390 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
8391 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
8392 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
8393 }
8394 0 arg2 = (size_t)(val2);
8395 0 result = gsl_vector_view_array(arg1,arg2);
8396 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++ ;
8397 {
8398 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
8399 }
8400
8401 0 XSRETURN(argvi);
8402 0 fail:
8403 {
8404 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
8405 }
8406
8407 0 SWIG_croak_null();
8408 }
8409 }
8410  
8411  
8412 0 XS(_wrap_gsl_vector_view_array_with_stride) {
8413 {
8414 0 double *arg1 = (double *) 0 ;
8415 size_t arg2 ;
8416 size_t arg3 ;
8417 size_t val2 ;
8418 0 int ecode2 = 0 ;
8419 size_t val3 ;
8420 0 int ecode3 = 0 ;
8421 0 int argvi = 0;
8422 _gsl_vector_view result;
8423 0 dXSARGS;
8424
8425 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
8426 0 SWIG_croak("Usage: gsl_vector_view_array_with_stride(base,stride,n);");
8427 }
8428 {
8429 AV *tempav;
8430 I32 len;
8431 int i;
8432 SV **tv;
8433 0 ▶ if (!SvROK(ST(0)))
Branch: 1 branch
BranchTrueFalseTotal
if (!SvROK(ST(0))) 0 0 0
8434 0 croak("Math::GSL : $base is not a reference!");
8435 0 ▶ if (SvTYPE(SvRV(ST(0))) != SVt_PVAV)
Branch: 1 branch
BranchTrueFalseTotal
if (SvTYPE(SvRV(ST(0))) != SVt_PVAV) 0 0 0
8436 0 croak("Math::GSL : $base is not an array ref!");
8437
8438 0 tempav = (AV*)SvRV(ST(0));
8439 0 len = av_len(tempav);
8440 0 arg1 = (double *) malloc((len+2)*sizeof(double));
8441 0 ▶ for (i = 0; i <= len; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; i <= len; i++) { 0 0 0
8442 0 tv = av_fetch(tempav, i, 0);
8443 0 arg1[i] = (double) SvNV(*tv);
8444 }
8445 }
8446 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
8447 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
8448 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
8449 }
8450 0 arg2 = (size_t)(val2);
8451 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
8452 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
8453 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
8454 }
8455 0 arg3 = (size_t)(val3);
8456 0 result = gsl_vector_view_array_with_stride(arg1,arg2,arg3);
8457 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++ ;
8458 {
8459 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
8460 }
8461
8462
8463 0 XSRETURN(argvi);
8464 0 fail:
8465 {
8466 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
8467 }
8468
8469
8470 0 SWIG_croak_null();
8471 }
8472 }
8473  
8474  
8475 0 XS(_wrap_gsl_vector_const_view_array) {
8476 {
8477 0 double *arg1 = (double *) 0 ;
8478 size_t arg2 ;
8479 size_t val2 ;
8480 0 int ecode2 = 0 ;
8481 0 int argvi = 0;
8482 _gsl_vector_const_view result;
8483 0 dXSARGS;
8484
8485 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
8486 0 SWIG_croak("Usage: gsl_vector_const_view_array(v,n);");
8487 }
8488 {
8489 AV *tempav;
8490 I32 len;
8491 int i;
8492 SV **tv;
8493 0 ▶ if (!SvROK(ST(0)))
Branch: 1 branch
BranchTrueFalseTotal
if (!SvROK(ST(0))) 0 0 0
8494 0 croak("Math::GSL : $v is not a reference!");
8495 0 ▶ if (SvTYPE(SvRV(ST(0))) != SVt_PVAV)
Branch: 1 branch
BranchTrueFalseTotal
if (SvTYPE(SvRV(ST(0))) != SVt_PVAV) 0 0 0
8496 0 croak("Math::GSL : $v is not an array ref!");
8497
8498 0 tempav = (AV*)SvRV(ST(0));
8499 0 len = av_len(tempav);
8500 0 arg1 = (double *) malloc((len+2)*sizeof(double));
8501 0 ▶ for (i = 0; i <= len; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; i <= len; i++) { 0 0 0
8502 0 tv = av_fetch(tempav, i, 0);
8503 0 arg1[i] = (double) SvNV(*tv);
8504 }
8505 }
8506 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
8507 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
8508 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
8509 }
8510 0 arg2 = (size_t)(val2);
8511 0 result = gsl_vector_const_view_array((double const *)arg1,arg2);
8512 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++ ;
8513 {
8514 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
8515 }
8516
8517 0 XSRETURN(argvi);
8518 0 fail:
8519 {
8520 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
8521 }
8522
8523 0 SWIG_croak_null();
8524 }
8525 }
8526  
8527  
8528 0 XS(_wrap_gsl_vector_const_view_array_with_stride) {
8529 {
8530 0 double *arg1 = (double *) 0 ;
8531 size_t arg2 ;
8532 size_t arg3 ;
8533 size_t val2 ;
8534 0 int ecode2 = 0 ;
8535 size_t val3 ;
8536 0 int ecode3 = 0 ;
8537 0 int argvi = 0;
8538 _gsl_vector_const_view result;
8539 0 dXSARGS;
8540
8541 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
8542 0 SWIG_croak("Usage: gsl_vector_const_view_array_with_stride(base,stride,n);");
8543 }
8544 {
8545 AV *tempav;
8546 I32 len;
8547 int i;
8548 SV **tv;
8549 0 ▶ if (!SvROK(ST(0)))
Branch: 1 branch
BranchTrueFalseTotal
if (!SvROK(ST(0))) 0 0 0
8550 0 croak("Math::GSL : $base is not a reference!");
8551 0 ▶ if (SvTYPE(SvRV(ST(0))) != SVt_PVAV)
Branch: 1 branch
BranchTrueFalseTotal
if (SvTYPE(SvRV(ST(0))) != SVt_PVAV) 0 0 0
8552 0 croak("Math::GSL : $base is not an array ref!");
8553
8554 0 tempav = (AV*)SvRV(ST(0));
8555 0 len = av_len(tempav);
8556 0 arg1 = (double *) malloc((len+2)*sizeof(double));
8557 0 ▶ for (i = 0; i <= len; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; i <= len; i++) { 0 0 0
8558 0 tv = av_fetch(tempav, i, 0);
8559 0 arg1[i] = (double) SvNV(*tv);
8560 }
8561 }
8562 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
8563 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
8564 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
8565 }
8566 0 arg2 = (size_t)(val2);
8567 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
8568 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
8569 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
8570 }
8571 0 arg3 = (size_t)(val3);
8572 0 result = gsl_vector_const_view_array_with_stride((double const *)arg1,arg2,arg3);
8573 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++ ;
8574 {
8575 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
8576 }
8577
8578
8579 0 XSRETURN(argvi);
8580 0 fail:
8581 {
8582 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
8583 }
8584
8585
8586 0 SWIG_croak_null();
8587 }
8588 }
8589  
8590  
8591 0 XS(_wrap_gsl_vector_subvector) {
8592 {
8593 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
8594 size_t arg2 ;
8595 size_t arg3 ;
8596 0 void *argp1 = 0 ;
8597 0 int res1 = 0 ;
8598 size_t val2 ;
8599 0 int ecode2 = 0 ;
8600 size_t val3 ;
8601 0 int ecode3 = 0 ;
8602 0 int argvi = 0;
8603 _gsl_vector_view result;
8604 0 dXSARGS;
8605
8606 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
8607 0 SWIG_croak("Usage: gsl_vector_subvector(v,i,n);");
8608 }
8609 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
8610 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
8611 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
8612 }
8613 0 arg1 = (gsl_vector *)(argp1);
8614 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
8615 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
8616 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
8617 }
8618 0 arg2 = (size_t)(val2);
8619 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
8620 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
8621 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
8622 }
8623 0 arg3 = (size_t)(val3);
8624 0 result = gsl_vector_subvector(arg1,arg2,arg3);
8625 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++ ;
8626
8627
8628
8629 0 XSRETURN(argvi);
8630 0 fail:
8631
8632
8633
8634 0 SWIG_croak_null();
8635 }
8636 }
8637  
8638  
8639 0 XS(_wrap_gsl_vector_subvector_with_stride) {
8640 {
8641 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
8642 size_t arg2 ;
8643 size_t arg3 ;
8644 size_t arg4 ;
8645 0 void *argp1 = 0 ;
8646 0 int res1 = 0 ;
8647 size_t val2 ;
8648 0 int ecode2 = 0 ;
8649 size_t val3 ;
8650 0 int ecode3 = 0 ;
8651 size_t val4 ;
8652 0 int ecode4 = 0 ;
8653 0 int argvi = 0;
8654 _gsl_vector_view result;
8655 0 dXSARGS;
8656
8657 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
8658 0 SWIG_croak("Usage: gsl_vector_subvector_with_stride(v,i,stride,n);");
8659 }
8660 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
8661 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
8662 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
8663 }
8664 0 arg1 = (gsl_vector *)(argp1);
8665 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
8666 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
8667 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
8668 }
8669 0 arg2 = (size_t)(val2);
8670 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
8671 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
8672 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
8673 }
8674 0 arg3 = (size_t)(val3);
8675 0 ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
8676 0 ▶ if (!SWIG_IsOK(ecode4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode4)) { 0 0 0
8677 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
8678 }
8679 0 arg4 = (size_t)(val4);
8680 0 result = gsl_vector_subvector_with_stride(arg1,arg2,arg3,arg4);
8681 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++ ;
8682
8683
8684
8685
8686 0 XSRETURN(argvi);
8687 0 fail:
8688
8689
8690
8691
8692 0 SWIG_croak_null();
8693 }
8694 }
8695  
8696  
8697 0 XS(_wrap_gsl_vector_const_subvector) {
8698 {
8699 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
8700 size_t arg2 ;
8701 size_t arg3 ;
8702 0 void *argp1 = 0 ;
8703 0 int res1 = 0 ;
8704 size_t val2 ;
8705 0 int ecode2 = 0 ;
8706 size_t val3 ;
8707 0 int ecode3 = 0 ;
8708 0 int argvi = 0;
8709 _gsl_vector_const_view result;
8710 0 dXSARGS;
8711
8712 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
8713 0 SWIG_croak("Usage: gsl_vector_const_subvector(v,i,n);");
8714 }
8715 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
8716 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
8717 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
8718 }
8719 0 arg1 = (gsl_vector *)(argp1);
8720 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
8721 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
8722 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
8723 }
8724 0 arg2 = (size_t)(val2);
8725 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
8726 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
8727 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
8728 }
8729 0 arg3 = (size_t)(val3);
8730 0 result = gsl_vector_const_subvector((gsl_vector const *)arg1,arg2,arg3);
8731 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++ ;
8732
8733
8734
8735 0 XSRETURN(argvi);
8736 0 fail:
8737
8738
8739
8740 0 SWIG_croak_null();
8741 }
8742 }
8743  
8744  
8745 0 XS(_wrap_gsl_vector_const_subvector_with_stride) {
8746 {
8747 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
8748 size_t arg2 ;
8749 size_t arg3 ;
8750 size_t arg4 ;
8751 0 void *argp1 = 0 ;
8752 0 int res1 = 0 ;
8753 size_t val2 ;
8754 0 int ecode2 = 0 ;
8755 size_t val3 ;
8756 0 int ecode3 = 0 ;
8757 size_t val4 ;
8758 0 int ecode4 = 0 ;
8759 0 int argvi = 0;
8760 _gsl_vector_const_view result;
8761 0 dXSARGS;
8762
8763 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
8764 0 SWIG_croak("Usage: gsl_vector_const_subvector_with_stride(v,i,stride,n);");
8765 }
8766 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
8767 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
8768 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
8769 }
8770 0 arg1 = (gsl_vector *)(argp1);
8771 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
8772 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
8773 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
8774 }
8775 0 arg2 = (size_t)(val2);
8776 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
8777 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
8778 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
8779 }
8780 0 arg3 = (size_t)(val3);
8781 0 ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
8782 0 ▶ if (!SWIG_IsOK(ecode4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode4)) { 0 0 0
8783 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
8784 }
8785 0 arg4 = (size_t)(val4);
8786 0 result = gsl_vector_const_subvector_with_stride((gsl_vector const *)arg1,arg2,arg3,arg4);
8787 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++ ;
8788
8789
8790
8791
8792 0 XSRETURN(argvi);
8793 0 fail:
8794
8795
8796
8797
8798 0 SWIG_croak_null();
8799 }
8800 }
8801  
8802  
8803 0 XS(_wrap_gsl_vector_set_zero) {
8804 {
8805 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
8806 0 void *argp1 = 0 ;
8807 0 int res1 = 0 ;
8808 0 int argvi = 0;
8809 0 dXSARGS;
8810
8811 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
8812 0 SWIG_croak("Usage: gsl_vector_set_zero(v);");
8813 }
8814 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
8815 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
8816 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
8817 }
8818 0 arg1 = (gsl_vector *)(argp1);
8819 0 gsl_vector_set_zero(arg1);
8820 0 ST(argvi) = &PL_sv_undef;
8821
8822 0 XSRETURN(argvi);
8823 0 fail:
8824
8825 0 SWIG_croak_null();
8826 }
8827 }
8828  
8829  
8830 0 XS(_wrap_gsl_vector_set_all) {
8831 {
8832 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
8833 double arg2 ;
8834 0 void *argp1 = 0 ;
8835 0 int res1 = 0 ;
8836 double val2 ;
8837 0 int ecode2 = 0 ;
8838 0 int argvi = 0;
8839 0 dXSARGS;
8840
8841 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
8842 0 SWIG_croak("Usage: gsl_vector_set_all(v,x);");
8843 }
8844 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
8845 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
8846 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
8847 }
8848 0 arg1 = (gsl_vector *)(argp1);
8849 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
8850 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
8851 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
8852 }
8853 0 arg2 = (double)(val2);
8854 0 gsl_vector_set_all(arg1,arg2);
8855 0 ST(argvi) = &PL_sv_undef;
8856
8857
8858 0 XSRETURN(argvi);
8859 0 fail:
8860
8861
8862 0 SWIG_croak_null();
8863 }
8864 }
8865  
8866  
8867 0 XS(_wrap_gsl_vector_set_basis) {
8868 {
8869 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
8870 size_t arg2 ;
8871 0 void *argp1 = 0 ;
8872 0 int res1 = 0 ;
8873 size_t val2 ;
8874 0 int ecode2 = 0 ;
8875 0 int argvi = 0;
8876 int result;
8877 0 dXSARGS;
8878
8879 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
8880 0 SWIG_croak("Usage: gsl_vector_set_basis(v,i);");
8881 }
8882 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
8883 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
8884 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
8885 }
8886 0 arg1 = (gsl_vector *)(argp1);
8887 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
8888 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
8889 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
8890 }
8891 0 arg2 = (size_t)(val2);
8892 0 result = (int)gsl_vector_set_basis(arg1,arg2);
8893 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
8894
8895
8896 0 XSRETURN(argvi);
8897 0 fail:
8898
8899
8900 0 SWIG_croak_null();
8901 }
8902 }
8903  
8904  
8905 0 XS(_wrap_gsl_vector_fread) {
8906 {
8907 0 FILE *arg1 = (FILE *) 0 ;
8908 0 gsl_vector *arg2 = (gsl_vector *) 0 ;
8909 0 void *argp1 = 0 ;
8910 0 int res1 = 0 ;
8911 0 void *argp2 = 0 ;
8912 0 int res2 = 0 ;
8913 0 int argvi = 0;
8914 int result;
8915 0 dXSARGS;
8916
8917 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
8918 0 SWIG_croak("Usage: gsl_vector_fread(stream,v);");
8919 }
8920 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_FILE, 0 | 0 );
8921 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
8922 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
8923 }
8924 0 arg1 = (FILE *)(argp1);
8925 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector, 0 | 0 );
8926 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
8927 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
8928 }
8929 0 arg2 = (gsl_vector *)(argp2);
8930 0 result = (int)gsl_vector_fread(arg1,arg2);
8931 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
8932
8933
8934 0 XSRETURN(argvi);
8935 0 fail:
8936
8937
8938 0 SWIG_croak_null();
8939 }
8940 }
8941  
8942  
8943 0 XS(_wrap_gsl_vector_fwrite) {
8944 {
8945 0 FILE *arg1 = (FILE *) 0 ;
8946 0 gsl_vector *arg2 = (gsl_vector *) 0 ;
8947 0 void *argp1 = 0 ;
8948 0 int res1 = 0 ;
8949 0 void *argp2 = 0 ;
8950 0 int res2 = 0 ;
8951 0 int argvi = 0;
8952 int result;
8953 0 dXSARGS;
8954
8955 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
8956 0 SWIG_croak("Usage: gsl_vector_fwrite(stream,v);");
8957 }
8958 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_FILE, 0 | 0 );
8959 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
8960 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
8961 }
8962 0 arg1 = (FILE *)(argp1);
8963 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector, 0 | 0 );
8964 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
8965 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
8966 }
8967 0 arg2 = (gsl_vector *)(argp2);
8968 0 result = (int)gsl_vector_fwrite(arg1,(gsl_vector const *)arg2);
8969 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
8970
8971
8972 0 XSRETURN(argvi);
8973 0 fail:
8974
8975
8976 0 SWIG_croak_null();
8977 }
8978 }
8979  
8980  
8981 0 XS(_wrap_gsl_vector_fscanf) {
8982 {
8983 0 FILE *arg1 = (FILE *) 0 ;
8984 0 gsl_vector *arg2 = (gsl_vector *) 0 ;
8985 0 void *argp1 = 0 ;
8986 0 int res1 = 0 ;
8987 0 void *argp2 = 0 ;
8988 0 int res2 = 0 ;
8989 0 int argvi = 0;
8990 int result;
8991 0 dXSARGS;
8992
8993 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
8994 0 SWIG_croak("Usage: gsl_vector_fscanf(stream,v);");
8995 }
8996 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_FILE, 0 | 0 );
8997 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
8998 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
8999 }
9000 0 arg1 = (FILE *)(argp1);
9001 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector, 0 | 0 );
9002 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
9003 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
9004 }
9005 0 arg2 = (gsl_vector *)(argp2);
9006 0 result = (int)gsl_vector_fscanf(arg1,arg2);
9007 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
9008
9009
9010 0 XSRETURN(argvi);
9011 0 fail:
9012
9013
9014 0 SWIG_croak_null();
9015 }
9016 }
9017  
9018  
9019 0 XS(_wrap_gsl_vector_fprintf) {
9020 {
9021 0 FILE *arg1 = (FILE *) 0 ;
9022 0 gsl_vector *arg2 = (gsl_vector *) 0 ;
9023 0 char *arg3 = (char *) 0 ;
9024 0 void *argp1 = 0 ;
9025 0 int res1 = 0 ;
9026 0 void *argp2 = 0 ;
9027 0 int res2 = 0 ;
9028 int res3 ;
9029 0 char *buf3 = 0 ;
9030 0 int alloc3 = 0 ;
9031 0 int argvi = 0;
9032 int result;
9033 0 dXSARGS;
9034
9035 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
9036 0 SWIG_croak("Usage: gsl_vector_fprintf(stream,v,format);");
9037 }
9038 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_FILE, 0 | 0 );
9039 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
9040 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
9041 }
9042 0 arg1 = (FILE *)(argp1);
9043 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector, 0 | 0 );
9044 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
9045 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
9046 }
9047 0 arg2 = (gsl_vector *)(argp2);
9048 0 res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
9049 0 ▶ if (!SWIG_IsOK(res3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res3)) { 0 0 0
9050 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
9051 }
9052 0 arg3 = (char *)(buf3);
9053 0 result = (int)gsl_vector_fprintf(arg1,(gsl_vector const *)arg2,(char const *)arg3);
9054 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
9055
9056
9057 0 ▶ if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3); 0 0 0
9058 0 XSRETURN(argvi);
9059 0 fail:
9060
9061
9062 0 ▶ if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3); 0 0 0
9063 0 SWIG_croak_null();
9064 }
9065 }
9066  
9067  
9068 0 XS(_wrap_gsl_vector_memcpy) {
9069 {
9070 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
9071 0 gsl_vector *arg2 = (gsl_vector *) 0 ;
9072 0 void *argp1 = 0 ;
9073 0 int res1 = 0 ;
9074 0 void *argp2 = 0 ;
9075 0 int res2 = 0 ;
9076 0 int argvi = 0;
9077 int result;
9078 0 dXSARGS;
9079
9080 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
9081 0 SWIG_croak("Usage: gsl_vector_memcpy(dest,src);");
9082 }
9083 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
9084 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
9085 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
9086 }
9087 0 arg1 = (gsl_vector *)(argp1);
9088 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector, 0 | 0 );
9089 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
9090 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
9091 }
9092 0 arg2 = (gsl_vector *)(argp2);
9093 0 result = (int)gsl_vector_memcpy(arg1,(gsl_vector const *)arg2);
9094 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
9095
9096
9097 0 XSRETURN(argvi);
9098 0 fail:
9099
9100
9101 0 SWIG_croak_null();
9102 }
9103 }
9104  
9105  
9106 0 XS(_wrap_gsl_vector_reverse) {
9107 {
9108 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
9109 0 void *argp1 = 0 ;
9110 0 int res1 = 0 ;
9111 0 int argvi = 0;
9112 int result;
9113 0 dXSARGS;
9114
9115 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
9116 0 SWIG_croak("Usage: gsl_vector_reverse(v);");
9117 }
9118 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
9119 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
9120 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
9121 }
9122 0 arg1 = (gsl_vector *)(argp1);
9123 0 result = (int)gsl_vector_reverse(arg1);
9124 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
9125
9126 0 XSRETURN(argvi);
9127 0 fail:
9128
9129 0 SWIG_croak_null();
9130 }
9131 }
9132  
9133  
9134 0 XS(_wrap_gsl_vector_swap) {
9135 {
9136 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
9137 0 gsl_vector *arg2 = (gsl_vector *) 0 ;
9138 0 void *argp1 = 0 ;
9139 0 int res1 = 0 ;
9140 0 void *argp2 = 0 ;
9141 0 int res2 = 0 ;
9142 0 int argvi = 0;
9143 int result;
9144 0 dXSARGS;
9145
9146 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
9147 0 SWIG_croak("Usage: gsl_vector_swap(v,w);");
9148 }
9149 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
9150 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
9151 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
9152 }
9153 0 arg1 = (gsl_vector *)(argp1);
9154 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector, 0 | 0 );
9155 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
9156 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
9157 }
9158 0 arg2 = (gsl_vector *)(argp2);
9159 0 result = (int)gsl_vector_swap(arg1,arg2);
9160 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
9161
9162
9163 0 XSRETURN(argvi);
9164 0 fail:
9165
9166
9167 0 SWIG_croak_null();
9168 }
9169 }
9170  
9171  
9172 0 XS(_wrap_gsl_vector_swap_elements) {
9173 {
9174 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
9175 size_t arg2 ;
9176 size_t arg3 ;
9177 0 void *argp1 = 0 ;
9178 0 int res1 = 0 ;
9179 size_t val2 ;
9180 0 int ecode2 = 0 ;
9181 size_t val3 ;
9182 0 int ecode3 = 0 ;
9183 0 int argvi = 0;
9184 int result;
9185 0 dXSARGS;
9186
9187 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
9188 0 SWIG_croak("Usage: gsl_vector_swap_elements(v,i,j);");
9189 }
9190 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
9191 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
9192 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
9193 }
9194 0 arg1 = (gsl_vector *)(argp1);
9195 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
9196 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
9197 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
9198 }
9199 0 arg2 = (size_t)(val2);
9200 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
9201 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
9202 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
9203 }
9204 0 arg3 = (size_t)(val3);
9205 0 result = (int)gsl_vector_swap_elements(arg1,arg2,arg3);
9206 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
9207
9208
9209
9210 0 XSRETURN(argvi);
9211 0 fail:
9212
9213
9214
9215 0 SWIG_croak_null();
9216 }
9217 }
9218  
9219  
9220 0 XS(_wrap_gsl_vector_max) {
9221 {
9222 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
9223 0 void *argp1 = 0 ;
9224 0 int res1 = 0 ;
9225 0 int argvi = 0;
9226 double result;
9227 0 dXSARGS;
9228
9229 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
9230 0 SWIG_croak("Usage: gsl_vector_max(v);");
9231 }
9232 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
9233 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
9234 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
9235 }
9236 0 arg1 = (gsl_vector *)(argp1);
9237 0 result = (double)gsl_vector_max((gsl_vector const *)arg1);
9238 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
9239
9240 0 XSRETURN(argvi);
9241 0 fail:
9242
9243 0 SWIG_croak_null();
9244 }
9245 }
9246  
9247  
9248 0 XS(_wrap_gsl_vector_min) {
9249 {
9250 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
9251 0 void *argp1 = 0 ;
9252 0 int res1 = 0 ;
9253 0 int argvi = 0;
9254 double result;
9255 0 dXSARGS;
9256
9257 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
9258 0 SWIG_croak("Usage: gsl_vector_min(v);");
9259 }
9260 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
9261 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
9262 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
9263 }
9264 0 arg1 = (gsl_vector *)(argp1);
9265 0 result = (double)gsl_vector_min((gsl_vector const *)arg1);
9266 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
9267
9268 0 XSRETURN(argvi);
9269 0 fail:
9270
9271 0 SWIG_croak_null();
9272 }
9273 }
9274  
9275  
9276 0 XS(_wrap_gsl_vector_minmax) {
9277 {
9278 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
9279 0 double *arg2 = (double *) 0 ;
9280 0 double *arg3 = (double *) 0 ;
9281 0 void *argp1 = 0 ;
9282 0 int res1 = 0 ;
9283 double temp2 ;
9284 0 int res2 = SWIG_TMPOBJ ;
9285 double temp3 ;
9286 0 int res3 = SWIG_TMPOBJ ;
9287 0 int argvi = 0;
9288 0 dXSARGS;
9289
9290 0 arg2 = &temp2;
9291 0 arg3 = &temp3;
9292 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
9293 0 SWIG_croak("Usage: gsl_vector_minmax(v);");
9294 }
9295 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
9296 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
9297 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
9298 }
9299 0 arg1 = (gsl_vector *)(argp1);
9300 0 gsl_vector_minmax((gsl_vector const *)arg1,arg2,arg3);
9301 0 ST(argvi) = &PL_sv_undef;
9302 0 ▶ if (SWIG_IsTmpObj(res2)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SWIG_IsTmpObj(res2)) { 0 0 0
if (SWIG_IsTmpObj(res2)) { 0 0 0
9303 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
9304 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
9305 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((*arg2)); argvi++ /*@SWIG@*/;
9306 } else {
9307 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
9308 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
9309 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
9310 0 ST(argvi) = SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, new_flags); argvi++ /*@SWIG@*/;
9311 }
9312 0 ▶ if (SWIG_IsTmpObj(res3)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SWIG_IsTmpObj(res3)) { 0 0 0
if (SWIG_IsTmpObj(res3)) { 0 0 0
9313 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
9314 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
9315 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((*arg3)); argvi++ /*@SWIG@*/;
9316 } else {
9317 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
9318 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
9319 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
9320 0 ST(argvi) = SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, new_flags); argvi++ /*@SWIG@*/;
9321 }
9322
9323
9324
9325 0 XSRETURN(argvi);
9326 0 fail:
9327
9328
9329
9330 0 SWIG_croak_null();
9331 }
9332 }
9333  
9334  
9335 0 XS(_wrap_gsl_vector_max_index) {
9336 {
9337 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
9338 0 void *argp1 = 0 ;
9339 0 int res1 = 0 ;
9340 0 int argvi = 0;
9341 size_t result;
9342 0 dXSARGS;
9343
9344 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
9345 0 SWIG_croak("Usage: gsl_vector_max_index(v);");
9346 }
9347 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
9348 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
9349 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
9350 }
9351 0 arg1 = (gsl_vector *)(argp1);
9352 0 result = gsl_vector_max_index((gsl_vector const *)arg1);
9353 0 ST(argvi) = SWIG_From_size_t SWIG_PERL_CALL_ARGS_1((size_t)(result)); argvi++ ;
9354
9355 0 XSRETURN(argvi);
9356 0 fail:
9357
9358 0 SWIG_croak_null();
9359 }
9360 }
9361  
9362  
9363 0 XS(_wrap_gsl_vector_min_index) {
9364 {
9365 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
9366 0 void *argp1 = 0 ;
9367 0 int res1 = 0 ;
9368 0 int argvi = 0;
9369 size_t result;
9370 0 dXSARGS;
9371
9372 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
9373 0 SWIG_croak("Usage: gsl_vector_min_index(v);");
9374 }
9375 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
9376 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
9377 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
9378 }
9379 0 arg1 = (gsl_vector *)(argp1);
9380 0 result = gsl_vector_min_index((gsl_vector const *)arg1);
9381 0 ST(argvi) = SWIG_From_size_t SWIG_PERL_CALL_ARGS_1((size_t)(result)); argvi++ ;
9382
9383 0 XSRETURN(argvi);
9384 0 fail:
9385
9386 0 SWIG_croak_null();
9387 }
9388 }
9389  
9390  
9391 0 XS(_wrap_gsl_vector_minmax_index) {
9392 {
9393 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
9394 0 size_t *arg2 = (size_t *) 0 ;
9395 0 size_t *arg3 = (size_t *) 0 ;
9396 0 void *argp1 = 0 ;
9397 0 int res1 = 0 ;
9398 size_t temp2 ;
9399 0 int res2 = SWIG_TMPOBJ ;
9400 size_t temp3 ;
9401 0 int res3 = SWIG_TMPOBJ ;
9402 0 int argvi = 0;
9403 0 dXSARGS;
9404
9405 0 arg2 = &temp2;
9406 0 arg3 = &temp3;
9407 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
9408 0 SWIG_croak("Usage: gsl_vector_minmax_index(v);");
9409 }
9410 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
9411 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
9412 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
9413 }
9414 0 arg1 = (gsl_vector *)(argp1);
9415 0 gsl_vector_minmax_index((gsl_vector const *)arg1,arg2,arg3);
9416 0 ST(argvi) = &PL_sv_undef;
9417 0 ▶ if (SWIG_IsTmpObj(res2)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SWIG_IsTmpObj(res2)) { 0 0 0
if (SWIG_IsTmpObj(res2)) { 0 0 0
9418 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
9419 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
9420 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((*arg2)); argvi++ /*@SWIG@*/;
9421 } else {
9422 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
9423 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
9424 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
9425 0 ST(argvi) = SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_size_t, new_flags); argvi++ /*@SWIG@*/;
9426 }
9427 0 ▶ if (SWIG_IsTmpObj(res3)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SWIG_IsTmpObj(res3)) { 0 0 0
if (SWIG_IsTmpObj(res3)) { 0 0 0
9428 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
9429 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
9430 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((*arg3)); argvi++ /*@SWIG@*/;
9431 } else {
9432 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
9433 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
9434 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
9435 0 ST(argvi) = SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_size_t, new_flags); argvi++ /*@SWIG@*/;
9436 }
9437
9438
9439
9440 0 XSRETURN(argvi);
9441 0 fail:
9442
9443
9444
9445 0 SWIG_croak_null();
9446 }
9447 }
9448  
9449  
9450 0 XS(_wrap_gsl_vector_add) {
9451 {
9452 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
9453 0 gsl_vector *arg2 = (gsl_vector *) 0 ;
9454 0 void *argp1 = 0 ;
9455 0 int res1 = 0 ;
9456 0 void *argp2 = 0 ;
9457 0 int res2 = 0 ;
9458 0 int argvi = 0;
9459 int result;
9460 0 dXSARGS;
9461
9462 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
9463 0 SWIG_croak("Usage: gsl_vector_add(a,b);");
9464 }
9465 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
9466 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
9467 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
9468 }
9469 0 arg1 = (gsl_vector *)(argp1);
9470 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector, 0 | 0 );
9471 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
9472 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
9473 }
9474 0 arg2 = (gsl_vector *)(argp2);
9475 0 result = (int)gsl_vector_add(arg1,(gsl_vector const *)arg2);
9476 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
9477
9478
9479 0 XSRETURN(argvi);
9480 0 fail:
9481
9482
9483 0 SWIG_croak_null();
9484 }
9485 }
9486  
9487  
9488 0 XS(_wrap_gsl_vector_sub) {
9489 {
9490 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
9491 0 gsl_vector *arg2 = (gsl_vector *) 0 ;
9492 0 void *argp1 = 0 ;
9493 0 int res1 = 0 ;
9494 0 void *argp2 = 0 ;
9495 0 int res2 = 0 ;
9496 0 int argvi = 0;
9497 int result;
9498 0 dXSARGS;
9499
9500 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
9501 0 SWIG_croak("Usage: gsl_vector_sub(a,b);");
9502 }
9503 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
9504 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
9505 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
9506 }
9507 0 arg1 = (gsl_vector *)(argp1);
9508 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector, 0 | 0 );
9509 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
9510 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
9511 }
9512 0 arg2 = (gsl_vector *)(argp2);
9513 0 result = (int)gsl_vector_sub(arg1,(gsl_vector const *)arg2);
9514 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
9515
9516
9517 0 XSRETURN(argvi);
9518 0 fail:
9519
9520
9521 0 SWIG_croak_null();
9522 }
9523 }
9524  
9525  
9526 0 XS(_wrap_gsl_vector_mul) {
9527 {
9528 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
9529 0 gsl_vector *arg2 = (gsl_vector *) 0 ;
9530 0 void *argp1 = 0 ;
9531 0 int res1 = 0 ;
9532 0 void *argp2 = 0 ;
9533 0 int res2 = 0 ;
9534 0 int argvi = 0;
9535 int result;
9536 0 dXSARGS;
9537
9538 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
9539 0 SWIG_croak("Usage: gsl_vector_mul(a,b);");
9540 }
9541 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
9542 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
9543 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
9544 }
9545 0 arg1 = (gsl_vector *)(argp1);
9546 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector, 0 | 0 );
9547 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
9548 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
9549 }
9550 0 arg2 = (gsl_vector *)(argp2);
9551 0 result = (int)gsl_vector_mul(arg1,(gsl_vector const *)arg2);
9552 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
9553
9554
9555 0 XSRETURN(argvi);
9556 0 fail:
9557
9558
9559 0 SWIG_croak_null();
9560 }
9561 }
9562  
9563  
9564 0 XS(_wrap_gsl_vector_div) {
9565 {
9566 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
9567 0 gsl_vector *arg2 = (gsl_vector *) 0 ;
9568 0 void *argp1 = 0 ;
9569 0 int res1 = 0 ;
9570 0 void *argp2 = 0 ;
9571 0 int res2 = 0 ;
9572 0 int argvi = 0;
9573 int result;
9574 0 dXSARGS;
9575
9576 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
9577 0 SWIG_croak("Usage: gsl_vector_div(a,b);");
9578 }
9579 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
9580 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
9581 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
9582 }
9583 0 arg1 = (gsl_vector *)(argp1);
9584 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector, 0 | 0 );
9585 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
9586 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
9587 }
9588 0 arg2 = (gsl_vector *)(argp2);
9589 0 result = (int)gsl_vector_div(arg1,(gsl_vector const *)arg2);
9590 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
9591
9592
9593 0 XSRETURN(argvi);
9594 0 fail:
9595
9596
9597 0 SWIG_croak_null();
9598 }
9599 }
9600  
9601  
9602 0 XS(_wrap_gsl_vector_scale) {
9603 {
9604 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
9605 double arg2 ;
9606 0 void *argp1 = 0 ;
9607 0 int res1 = 0 ;
9608 double val2 ;
9609 0 int ecode2 = 0 ;
9610 0 int argvi = 0;
9611 int result;
9612 0 dXSARGS;
9613
9614 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
9615 0 SWIG_croak("Usage: gsl_vector_scale(a,x);");
9616 }
9617 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
9618 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
9619 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
9620 }
9621 0 arg1 = (gsl_vector *)(argp1);
9622 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
9623 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
9624 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
9625 }
9626 0 arg2 = (double)(val2);
9627 0 result = (int)gsl_vector_scale(arg1,arg2);
9628 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
9629
9630
9631 0 XSRETURN(argvi);
9632 0 fail:
9633
9634
9635 0 SWIG_croak_null();
9636 }
9637 }
9638  
9639  
9640 0 XS(_wrap_gsl_vector_add_constant) {
9641 {
9642 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
9643 double arg2 ;
9644 0 void *argp1 = 0 ;
9645 0 int res1 = 0 ;
9646 double val2 ;
9647 0 int ecode2 = 0 ;
9648 0 int argvi = 0;
9649 int result;
9650 0 dXSARGS;
9651
9652 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
9653 0 SWIG_croak("Usage: gsl_vector_add_constant(a,x);");
9654 }
9655 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
9656 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
9657 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
9658 }
9659 0 arg1 = (gsl_vector *)(argp1);
9660 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
9661 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
9662 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
9663 }
9664 0 arg2 = (double)(val2);
9665 0 result = (int)gsl_vector_add_constant(arg1,arg2);
9666 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
9667
9668
9669 0 XSRETURN(argvi);
9670 0 fail:
9671
9672
9673 0 SWIG_croak_null();
9674 }
9675 }
9676  
9677  
9678 0 XS(_wrap_gsl_vector_axpby) {
9679 {
9680 double arg1 ;
9681 0 gsl_vector *arg2 = (gsl_vector *) 0 ;
9682 double arg3 ;
9683 0 gsl_vector *arg4 = (gsl_vector *) 0 ;
9684 double val1 ;
9685 0 int ecode1 = 0 ;
9686 0 void *argp2 = 0 ;
9687 0 int res2 = 0 ;
9688 double val3 ;
9689 0 int ecode3 = 0 ;
9690 0 void *argp4 = 0 ;
9691 0 int res4 = 0 ;
9692 0 int argvi = 0;
9693 int result;
9694 0 dXSARGS;
9695
9696 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
9697 0 SWIG_croak("Usage: gsl_vector_axpby(alpha,x,beta,y);");
9698 }
9699 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
9700 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
9701 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
9702 }
9703 0 arg1 = (double)(val1);
9704 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector, 0 | 0 );
9705 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
9706 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
9707 }
9708 0 arg2 = (gsl_vector *)(argp2);
9709 0 ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
9710 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
9711 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
9712 }
9713 0 arg3 = (double)(val3);
9714 0 res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_gsl_vector, 0 | 0 );
9715 0 ▶ if (!SWIG_IsOK(res4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res4)) { 0 0 0
9716 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
9717 }
9718 0 arg4 = (gsl_vector *)(argp4);
9719 0 result = (int)gsl_vector_axpby(arg1,(gsl_vector const *)arg2,arg3,arg4);
9720 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
9721
9722
9723
9724
9725 0 XSRETURN(argvi);
9726 0 fail:
9727
9728
9729
9730
9731 0 SWIG_croak_null();
9732 }
9733 }
9734  
9735  
9736 0 XS(_wrap_gsl_vector_sum) {
9737 {
9738 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
9739 0 void *argp1 = 0 ;
9740 0 int res1 = 0 ;
9741 0 int argvi = 0;
9742 double result;
9743 0 dXSARGS;
9744
9745 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
9746 0 SWIG_croak("Usage: gsl_vector_sum(a);");
9747 }
9748 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
9749 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
9750 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
9751 }
9752 0 arg1 = (gsl_vector *)(argp1);
9753 0 result = (double)gsl_vector_sum((gsl_vector const *)arg1);
9754 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
9755
9756 0 XSRETURN(argvi);
9757 0 fail:
9758
9759 0 SWIG_croak_null();
9760 }
9761 }
9762  
9763  
9764 0 XS(_wrap_gsl_vector_equal) {
9765 {
9766 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
9767 0 gsl_vector *arg2 = (gsl_vector *) 0 ;
9768 0 void *argp1 = 0 ;
9769 0 int res1 = 0 ;
9770 0 void *argp2 = 0 ;
9771 0 int res2 = 0 ;
9772 0 int argvi = 0;
9773 int result;
9774 0 dXSARGS;
9775
9776 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
9777 0 SWIG_croak("Usage: gsl_vector_equal(u,v);");
9778 }
9779 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
9780 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
9781 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
9782 }
9783 0 arg1 = (gsl_vector *)(argp1);
9784 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector, 0 | 0 );
9785 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
9786 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
9787 }
9788 0 arg2 = (gsl_vector *)(argp2);
9789 0 result = (int)gsl_vector_equal((gsl_vector const *)arg1,(gsl_vector const *)arg2);
9790 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
9791
9792
9793 0 XSRETURN(argvi);
9794 0 fail:
9795
9796
9797 0 SWIG_croak_null();
9798 }
9799 }
9800  
9801  
9802 0 XS(_wrap_gsl_vector_isnull) {
9803 {
9804 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
9805 0 void *argp1 = 0 ;
9806 0 int res1 = 0 ;
9807 0 int argvi = 0;
9808 int result;
9809 0 dXSARGS;
9810
9811 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
9812 0 SWIG_croak("Usage: gsl_vector_isnull(v);");
9813 }
9814 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
9815 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
9816 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
9817 }
9818 0 arg1 = (gsl_vector *)(argp1);
9819 0 result = (int)gsl_vector_isnull((gsl_vector const *)arg1);
9820 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
9821
9822 0 XSRETURN(argvi);
9823 0 fail:
9824
9825 0 SWIG_croak_null();
9826 }
9827 }
9828  
9829  
9830 0 XS(_wrap_gsl_vector_ispos) {
9831 {
9832 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
9833 0 void *argp1 = 0 ;
9834 0 int res1 = 0 ;
9835 0 int argvi = 0;
9836 int result;
9837 0 dXSARGS;
9838
9839 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
9840 0 SWIG_croak("Usage: gsl_vector_ispos(v);");
9841 }
9842 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
9843 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
9844 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
9845 }
9846 0 arg1 = (gsl_vector *)(argp1);
9847 0 result = (int)gsl_vector_ispos((gsl_vector const *)arg1);
9848 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
9849
9850 0 XSRETURN(argvi);
9851 0 fail:
9852
9853 0 SWIG_croak_null();
9854 }
9855 }
9856  
9857  
9858 0 XS(_wrap_gsl_vector_isneg) {
9859 {
9860 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
9861 0 void *argp1 = 0 ;
9862 0 int res1 = 0 ;
9863 0 int argvi = 0;
9864 int result;
9865 0 dXSARGS;
9866
9867 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
9868 0 SWIG_croak("Usage: gsl_vector_isneg(v);");
9869 }
9870 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
9871 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
9872 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
9873 }
9874 0 arg1 = (gsl_vector *)(argp1);
9875 0 result = (int)gsl_vector_isneg((gsl_vector const *)arg1);
9876 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
9877
9878 0 XSRETURN(argvi);
9879 0 fail:
9880
9881 0 SWIG_croak_null();
9882 }
9883 }
9884  
9885  
9886 0 XS(_wrap_gsl_vector_isnonneg) {
9887 {
9888 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
9889 0 void *argp1 = 0 ;
9890 0 int res1 = 0 ;
9891 0 int argvi = 0;
9892 int result;
9893 0 dXSARGS;
9894
9895 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
9896 0 SWIG_croak("Usage: gsl_vector_isnonneg(v);");
9897 }
9898 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
9899 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
9900 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
9901 }
9902 0 arg1 = (gsl_vector *)(argp1);
9903 0 result = (int)gsl_vector_isnonneg((gsl_vector const *)arg1);
9904 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
9905
9906 0 XSRETURN(argvi);
9907 0 fail:
9908
9909 0 SWIG_croak_null();
9910 }
9911 }
9912  
9913  
9914 0 XS(_wrap_gsl_vector_get) {
9915 {
9916 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
9917 size_t arg2 ;
9918 0 void *argp1 = 0 ;
9919 0 int res1 = 0 ;
9920 size_t val2 ;
9921 0 int ecode2 = 0 ;
9922 0 int argvi = 0;
9923 double result;
9924 0 dXSARGS;
9925
9926 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
9927 0 SWIG_croak("Usage: gsl_vector_get(v,i);");
9928 }
9929 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
9930 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
9931 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
9932 }
9933 0 arg1 = (gsl_vector *)(argp1);
9934 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
9935 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
9936 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
9937 }
9938 0 arg2 = (size_t)(val2);
9939 0 result = (double)gsl_vector_get((gsl_vector const *)arg1,arg2);
9940 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
9941
9942
9943 0 XSRETURN(argvi);
9944 0 fail:
9945
9946
9947 0 SWIG_croak_null();
9948 }
9949 }
9950  
9951  
9952 0 XS(_wrap_gsl_vector_set) {
9953 {
9954 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
9955 size_t arg2 ;
9956 double arg3 ;
9957 0 void *argp1 = 0 ;
9958 0 int res1 = 0 ;
9959 size_t val2 ;
9960 0 int ecode2 = 0 ;
9961 double val3 ;
9962 0 int ecode3 = 0 ;
9963 0 int argvi = 0;
9964 0 dXSARGS;
9965
9966 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
9967 0 SWIG_croak("Usage: gsl_vector_set(v,i,x);");
9968 }
9969 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
9970 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
9971 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
9972 }
9973 0 arg1 = (gsl_vector *)(argp1);
9974 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
9975 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
9976 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
9977 }
9978 0 arg2 = (size_t)(val2);
9979 0 ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
9980 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
9981 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
9982 }
9983 0 arg3 = (double)(val3);
9984 0 gsl_vector_set(arg1,arg2,arg3);
9985 0 ST(argvi) = &PL_sv_undef;
9986
9987
9988
9989 0 XSRETURN(argvi);
9990 0 fail:
9991
9992
9993
9994 0 SWIG_croak_null();
9995 }
9996 }
9997  
9998  
9999 0 XS(_wrap_gsl_vector_ptr) {
10000 {
10001 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
10002 size_t arg2 ;
10003 0 void *argp1 = 0 ;
10004 0 int res1 = 0 ;
10005 size_t val2 ;
10006 0 int ecode2 = 0 ;
10007 0 int argvi = 0;
10008 0 double *result = 0 ;
10009 0 dXSARGS;
10010
10011 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
10012 0 SWIG_croak("Usage: gsl_vector_ptr(v,i);");
10013 }
10014 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
10015 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
10016 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
10017 }
10018 0 arg1 = (gsl_vector *)(argp1);
10019 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10020 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
10021 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
10022 }
10023 0 arg2 = (size_t)(val2);
10024 0 result = (double *)gsl_vector_ptr(arg1,arg2);
10025 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0); argvi++ ;
10026
10027
10028 0 XSRETURN(argvi);
10029 0 fail:
10030
10031
10032 0 SWIG_croak_null();
10033 }
10034 }
10035  
10036  
10037 0 XS(_wrap_gsl_vector_const_ptr) {
10038 {
10039 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
10040 size_t arg2 ;
10041 0 void *argp1 = 0 ;
10042 0 int res1 = 0 ;
10043 size_t val2 ;
10044 0 int ecode2 = 0 ;
10045 0 int argvi = 0;
10046 0 double *result = 0 ;
10047 0 dXSARGS;
10048
10049 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
10050 0 SWIG_croak("Usage: gsl_vector_const_ptr(v,i);");
10051 }
10052 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
10053 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
10054 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
10055 }
10056 0 arg1 = (gsl_vector *)(argp1);
10057 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10058 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
10059 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
10060 }
10061 0 arg2 = (size_t)(val2);
10062 0 result = (double *)gsl_vector_const_ptr((gsl_vector const *)arg1,arg2);
10063 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0); argvi++ ;
10064
10065
10066 0 XSRETURN(argvi);
10067 0 fail:
10068
10069
10070 0 SWIG_croak_null();
10071 }
10072 }
10073  
10074  
10075 0 XS(_wrap_gsl_vector_int_size_set) {
10076 {
10077 0 gsl_vector_int *arg1 = (gsl_vector_int *) 0 ;
10078 size_t arg2 ;
10079 0 void *argp1 = 0 ;
10080 0 int res1 = 0 ;
10081 size_t val2 ;
10082 0 int ecode2 = 0 ;
10083 0 int argvi = 0;
10084 0 dXSARGS;
10085
10086 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
10087 0 SWIG_croak("Usage: gsl_vector_int_size_set(self,size);");
10088 }
10089 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_int, 0 | 0 );
10090 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
10091 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_size_set" "', argument " "1"" of type '" "gsl_vector_int *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_size_set" "', argument " "1"" of type '" "gsl_vector_int *""'"); 0 0 0
10092 }
10093 0 arg1 = (gsl_vector_int *)(argp1);
10094 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10095 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
10096 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_int_size_set" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_int_size_set" "', argument " "2"" of type '" "size_t""'"); 0 0 0
10097 }
10098 0 arg2 = (size_t)(val2);
10099 0 ▶ if (arg1) (arg1)->size = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->size = arg2; 0 0 0
10100 0 ST(argvi) = &PL_sv_undef;
10101
10102
10103 0 XSRETURN(argvi);
10104 0 fail:
10105
10106
10107 0 SWIG_croak_null();
10108 }
10109 }
10110  
10111  
10112 0 XS(_wrap_gsl_vector_int_size_get) {
10113 {
10114 0 gsl_vector_int *arg1 = (gsl_vector_int *) 0 ;
10115 0 void *argp1 = 0 ;
10116 0 int res1 = 0 ;
10117 0 int argvi = 0;
10118 size_t result;
10119 0 dXSARGS;
10120
10121 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
10122 0 SWIG_croak("Usage: gsl_vector_int_size_get(self);");
10123 }
10124 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_int, 0 | 0 );
10125 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
10126 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_size_get" "', argument " "1"" of type '" "gsl_vector_int *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_size_get" "', argument " "1"" of type '" "gsl_vector_int *""'"); 0 0 0
10127 }
10128 0 arg1 = (gsl_vector_int *)(argp1);
10129 0 result = ((arg1)->size);
10130 0 ST(argvi) = SWIG_From_size_t SWIG_PERL_CALL_ARGS_1((size_t)(result)); argvi++ ;
10131
10132 0 XSRETURN(argvi);
10133 0 fail:
10134
10135 0 SWIG_croak_null();
10136 }
10137 }
10138  
10139  
10140 0 XS(_wrap_gsl_vector_int_stride_set) {
10141 {
10142 0 gsl_vector_int *arg1 = (gsl_vector_int *) 0 ;
10143 size_t arg2 ;
10144 0 void *argp1 = 0 ;
10145 0 int res1 = 0 ;
10146 size_t val2 ;
10147 0 int ecode2 = 0 ;
10148 0 int argvi = 0;
10149 0 dXSARGS;
10150
10151 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
10152 0 SWIG_croak("Usage: gsl_vector_int_stride_set(self,stride);");
10153 }
10154 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_int, 0 | 0 );
10155 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
10156 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_stride_set" "', argument " "1"" of type '" "gsl_vector_int *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_stride_set" "', argument " "1"" of type '" "gsl_vector_int *""'"); 0 0 0
10157 }
10158 0 arg1 = (gsl_vector_int *)(argp1);
10159 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10160 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
10161 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_int_stride_set" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_int_stride_set" "', argument " "2"" of type '" "size_t""'"); 0 0 0
10162 }
10163 0 arg2 = (size_t)(val2);
10164 0 ▶ if (arg1) (arg1)->stride = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->stride = arg2; 0 0 0
10165 0 ST(argvi) = &PL_sv_undef;
10166
10167
10168 0 XSRETURN(argvi);
10169 0 fail:
10170
10171
10172 0 SWIG_croak_null();
10173 }
10174 }
10175  
10176  
10177 0 XS(_wrap_gsl_vector_int_stride_get) {
10178 {
10179 0 gsl_vector_int *arg1 = (gsl_vector_int *) 0 ;
10180 0 void *argp1 = 0 ;
10181 0 int res1 = 0 ;
10182 0 int argvi = 0;
10183 size_t result;
10184 0 dXSARGS;
10185
10186 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
10187 0 SWIG_croak("Usage: gsl_vector_int_stride_get(self);");
10188 }
10189 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_int, 0 | 0 );
10190 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
10191 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_stride_get" "', argument " "1"" of type '" "gsl_vector_int *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_stride_get" "', argument " "1"" of type '" "gsl_vector_int *""'"); 0 0 0
10192 }
10193 0 arg1 = (gsl_vector_int *)(argp1);
10194 0 result = ((arg1)->stride);
10195 0 ST(argvi) = SWIG_From_size_t SWIG_PERL_CALL_ARGS_1((size_t)(result)); argvi++ ;
10196
10197 0 XSRETURN(argvi);
10198 0 fail:
10199
10200 0 SWIG_croak_null();
10201 }
10202 }
10203  
10204  
10205 0 XS(_wrap_gsl_vector_int_data_set) {
10206 {
10207 0 gsl_vector_int *arg1 = (gsl_vector_int *) 0 ;
10208 0 int *arg2 = (int *) 0 ;
10209 0 void *argp1 = 0 ;
10210 0 int res1 = 0 ;
10211 0 void *argp2 = 0 ;
10212 0 int res2 = 0 ;
10213 0 int argvi = 0;
10214 0 dXSARGS;
10215
10216 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
10217 0 SWIG_croak("Usage: gsl_vector_int_data_set(self,data);");
10218 }
10219 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_int, 0 | 0 );
10220 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
10221 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_data_set" "', argument " "1"" of type '" "gsl_vector_int *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_data_set" "', argument " "1"" of type '" "gsl_vector_int *""'"); 0 0 0
10222 }
10223 0 arg1 = (gsl_vector_int *)(argp1);
10224 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_int, SWIG_POINTER_DISOWN | 0 );
10225 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
10226 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_vector_int_data_set" "', argument " "2"" of type '" "int *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_vector_int_data_set" "', argument " "2"" of type '" "int *""'"); 0 0 0
10227 }
10228 0 arg2 = (int *)(argp2);
10229 0 ▶ if (arg1) (arg1)->data = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->data = arg2; 0 0 0
10230 0 ST(argvi) = &PL_sv_undef;
10231
10232
10233 0 XSRETURN(argvi);
10234 0 fail:
10235
10236
10237 0 SWIG_croak_null();
10238 }
10239 }
10240  
10241  
10242 0 XS(_wrap_gsl_vector_int_data_get) {
10243 {
10244 0 gsl_vector_int *arg1 = (gsl_vector_int *) 0 ;
10245 0 void *argp1 = 0 ;
10246 0 int res1 = 0 ;
10247 0 int argvi = 0;
10248 0 int *result = 0 ;
10249 0 dXSARGS;
10250
10251 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
10252 0 SWIG_croak("Usage: gsl_vector_int_data_get(self);");
10253 }
10254 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_int, 0 | 0 );
10255 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
10256 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_data_get" "', argument " "1"" of type '" "gsl_vector_int *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_data_get" "', argument " "1"" of type '" "gsl_vector_int *""'"); 0 0 0
10257 }
10258 0 arg1 = (gsl_vector_int *)(argp1);
10259 0 result = (int *) ((arg1)->data);
10260 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0); argvi++ ;
10261
10262 0 XSRETURN(argvi);
10263 0 fail:
10264
10265 0 SWIG_croak_null();
10266 }
10267 }
10268  
10269  
10270 0 XS(_wrap_gsl_vector_int_block_set) {
10271 {
10272 0 gsl_vector_int *arg1 = (gsl_vector_int *) 0 ;
10273 0 gsl_block_int *arg2 = (gsl_block_int *) 0 ;
10274 0 void *argp1 = 0 ;
10275 0 int res1 = 0 ;
10276 0 void *argp2 = 0 ;
10277 0 int res2 = 0 ;
10278 0 int argvi = 0;
10279 0 dXSARGS;
10280
10281 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
10282 0 SWIG_croak("Usage: gsl_vector_int_block_set(self,block);");
10283 }
10284 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_int, 0 | 0 );
10285 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
10286 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_block_set" "', argument " "1"" of type '" "gsl_vector_int *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_block_set" "', argument " "1"" of type '" "gsl_vector_int *""'"); 0 0 0
10287 }
10288 0 arg1 = (gsl_vector_int *)(argp1);
10289 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_block_int, SWIG_POINTER_DISOWN | 0 );
10290 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
10291 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_vector_int_block_set" "', argument " "2"" of type '" "gsl_block_int *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_vector_int_block_set" "', argument " "2"" of type '" "gsl_block_int *""'"); 0 0 0
10292 }
10293 0 arg2 = (gsl_block_int *)(argp2);
10294 0 ▶ if (arg1) (arg1)->block = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->block = arg2; 0 0 0
10295 0 ST(argvi) = &PL_sv_undef;
10296
10297
10298 0 XSRETURN(argvi);
10299 0 fail:
10300
10301
10302 0 SWIG_croak_null();
10303 }
10304 }
10305  
10306  
10307 0 XS(_wrap_gsl_vector_int_block_get) {
10308 {
10309 0 gsl_vector_int *arg1 = (gsl_vector_int *) 0 ;
10310 0 void *argp1 = 0 ;
10311 0 int res1 = 0 ;
10312 0 int argvi = 0;
10313 0 gsl_block_int *result = 0 ;
10314 0 dXSARGS;
10315
10316 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
10317 0 SWIG_croak("Usage: gsl_vector_int_block_get(self);");
10318 }
10319 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_int, 0 | 0 );
10320 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
10321 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_block_get" "', argument " "1"" of type '" "gsl_vector_int *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_block_get" "', argument " "1"" of type '" "gsl_vector_int *""'"); 0 0 0
10322 }
10323 0 arg1 = (gsl_vector_int *)(argp1);
10324 0 result = (gsl_block_int *) ((arg1)->block);
10325 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_block_int, 0 | 0); argvi++ ;
10326
10327 0 XSRETURN(argvi);
10328 0 fail:
10329
10330 0 SWIG_croak_null();
10331 }
10332 }
10333  
10334  
10335 0 XS(_wrap_gsl_vector_int_owner_set) {
10336 {
10337 0 gsl_vector_int *arg1 = (gsl_vector_int *) 0 ;
10338 int arg2 ;
10339 0 void *argp1 = 0 ;
10340 0 int res1 = 0 ;
10341 int val2 ;
10342 0 int ecode2 = 0 ;
10343 0 int argvi = 0;
10344 0 dXSARGS;
10345
10346 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
10347 0 SWIG_croak("Usage: gsl_vector_int_owner_set(self,owner);");
10348 }
10349 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_int, 0 | 0 );
10350 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
10351 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_owner_set" "', argument " "1"" of type '" "gsl_vector_int *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_owner_set" "', argument " "1"" of type '" "gsl_vector_int *""'"); 0 0 0
10352 }
10353 0 arg1 = (gsl_vector_int *)(argp1);
10354 0 ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10355 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
10356 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_int_owner_set" "', argument " "2"" of type '" "int""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_int_owner_set" "', argument " "2"" of type '" "int""'"); 0 0 0
10357 }
10358 0 arg2 = (int)(val2);
10359 0 ▶ if (arg1) (arg1)->owner = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->owner = arg2; 0 0 0
10360 0 ST(argvi) = &PL_sv_undef;
10361
10362
10363 0 XSRETURN(argvi);
10364 0 fail:
10365
10366
10367 0 SWIG_croak_null();
10368 }
10369 }
10370  
10371  
10372 0 XS(_wrap_gsl_vector_int_owner_get) {
10373 {
10374 0 gsl_vector_int *arg1 = (gsl_vector_int *) 0 ;
10375 0 void *argp1 = 0 ;
10376 0 int res1 = 0 ;
10377 0 int argvi = 0;
10378 int result;
10379 0 dXSARGS;
10380
10381 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
10382 0 SWIG_croak("Usage: gsl_vector_int_owner_get(self);");
10383 }
10384 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_int, 0 | 0 );
10385 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
10386 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_owner_get" "', argument " "1"" of type '" "gsl_vector_int *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_owner_get" "', argument " "1"" of type '" "gsl_vector_int *""'"); 0 0 0
10387 }
10388 0 arg1 = (gsl_vector_int *)(argp1);
10389 0 result = (int) ((arg1)->owner);
10390 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
10391
10392 0 XSRETURN(argvi);
10393 0 fail:
10394
10395 0 SWIG_croak_null();
10396 }
10397 }
10398  
10399  
10400 0 XS(_wrap_new_gsl_vector_int) {
10401 {
10402 0 int argvi = 0;
10403 0 gsl_vector_int *result = 0 ;
10404 0 dXSARGS;
10405
10406 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
10407 0 SWIG_croak("Usage: new_gsl_vector_int();");
10408 }
10409 0 result = (gsl_vector_int *)calloc(1, sizeof(gsl_vector_int));
10410 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_vector_int, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
10411 0 XSRETURN(argvi);
10412 0 fail:
10413 0 SWIG_croak_null();
10414 }
10415 }
10416  
10417  
10418 0 XS(_wrap_delete_gsl_vector_int) {
10419 {
10420 0 gsl_vector_int *arg1 = (gsl_vector_int *) 0 ;
10421 0 void *argp1 = 0 ;
10422 0 int res1 = 0 ;
10423 0 int argvi = 0;
10424 0 dXSARGS;
10425
10426 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
10427 0 SWIG_croak("Usage: delete_gsl_vector_int(self);");
10428 }
10429 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_int, SWIG_POINTER_DISOWN | 0 );
10430 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
10431 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_gsl_vector_int" "', argument " "1"" of type '" "gsl_vector_int *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_gsl_vector_int" "', argument " "1"" of type '" "gsl_vector_int *""'"); 0 0 0
10432 }
10433 0 arg1 = (gsl_vector_int *)(argp1);
10434 0 free((char *) arg1);
10435 0 ST(argvi) = &PL_sv_undef;
10436
10437 0 XSRETURN(argvi);
10438 0 fail:
10439
10440 0 SWIG_croak_null();
10441 }
10442 }
10443  
10444  
10445 0 XS(_wrap__gsl_vector_int_view_vector_set) {
10446 {
10447 0 _gsl_vector_int_view *arg1 = (_gsl_vector_int_view *) 0 ;
10448 0 gsl_vector_int *arg2 = (gsl_vector_int *) 0 ;
10449 0 void *argp1 = 0 ;
10450 0 int res1 = 0 ;
10451 0 void *argp2 = 0 ;
10452 0 int res2 = 0 ;
10453 0 int argvi = 0;
10454 0 dXSARGS;
10455
10456 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
10457 0 SWIG_croak("Usage: _gsl_vector_int_view_vector_set(self,vector);");
10458 }
10459 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__gsl_vector_int_view, 0 | 0 );
10460 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
10461 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_gsl_vector_int_view_vector_set" "', argument " "1"" of type '" "_gsl_vector_int_view *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_gsl_vector_int_view_vector_set" "', argument " "1"" of type '" "_gsl_vector_int_view *""'"); 0 0 0
10462 }
10463 0 arg1 = (_gsl_vector_int_view *)(argp1);
10464 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector_int, 0 | 0 );
10465 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
10466 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_gsl_vector_int_view_vector_set" "', argument " "2"" of type '" "gsl_vector_int *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_gsl_vector_int_view_vector_set" "', argument " "2"" of type '" "gsl_vector_int *""'"); 0 0 0
10467 }
10468 0 arg2 = (gsl_vector_int *)(argp2);
10469 0 ▶ if (arg1) (arg1)->vector = *arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->vector = *arg2; 0 0 0
10470 0 ST(argvi) = &PL_sv_undef;
10471
10472
10473 0 XSRETURN(argvi);
10474 0 fail:
10475
10476
10477 0 SWIG_croak_null();
10478 }
10479 }
10480  
10481  
10482 0 XS(_wrap__gsl_vector_int_view_vector_get) {
10483 {
10484 0 _gsl_vector_int_view *arg1 = (_gsl_vector_int_view *) 0 ;
10485 0 void *argp1 = 0 ;
10486 0 int res1 = 0 ;
10487 0 int argvi = 0;
10488 0 gsl_vector_int *result = 0 ;
10489 0 dXSARGS;
10490
10491 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
10492 0 SWIG_croak("Usage: _gsl_vector_int_view_vector_get(self);");
10493 }
10494 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__gsl_vector_int_view, 0 | 0 );
10495 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
10496 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_gsl_vector_int_view_vector_get" "', argument " "1"" of type '" "_gsl_vector_int_view *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_gsl_vector_int_view_vector_get" "', argument " "1"" of type '" "_gsl_vector_int_view *""'"); 0 0 0
10497 }
10498 0 arg1 = (_gsl_vector_int_view *)(argp1);
10499 0 result = (gsl_vector_int *)& ((arg1)->vector);
10500 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_vector_int, 0 | SWIG_SHADOW); argvi++ ;
10501
10502 0 XSRETURN(argvi);
10503 0 fail:
10504
10505 0 SWIG_croak_null();
10506 }
10507 }
10508  
10509  
10510 0 XS(_wrap_new__gsl_vector_int_view) {
10511 {
10512 0 int argvi = 0;
10513 0 _gsl_vector_int_view *result = 0 ;
10514 0 dXSARGS;
10515
10516 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
10517 0 SWIG_croak("Usage: new__gsl_vector_int_view();");
10518 }
10519 0 result = (_gsl_vector_int_view *)calloc(1, sizeof(_gsl_vector_int_view));
10520 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__gsl_vector_int_view, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
10521 0 XSRETURN(argvi);
10522 0 fail:
10523 0 SWIG_croak_null();
10524 }
10525 }
10526  
10527  
10528 0 XS(_wrap_delete__gsl_vector_int_view) {
10529 {
10530 0 _gsl_vector_int_view *arg1 = (_gsl_vector_int_view *) 0 ;
10531 0 void *argp1 = 0 ;
10532 0 int res1 = 0 ;
10533 0 int argvi = 0;
10534 0 dXSARGS;
10535
10536 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
10537 0 SWIG_croak("Usage: delete__gsl_vector_int_view(self);");
10538 }
10539 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__gsl_vector_int_view, SWIG_POINTER_DISOWN | 0 );
10540 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
10541 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete__gsl_vector_int_view" "', argument " "1"" of type '" "_gsl_vector_int_view *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete__gsl_vector_int_view" "', argument " "1"" of type '" "_gsl_vector_int_view *""'"); 0 0 0
10542 }
10543 0 arg1 = (_gsl_vector_int_view *)(argp1);
10544 0 free((char *) arg1);
10545 0 ST(argvi) = &PL_sv_undef;
10546
10547 0 XSRETURN(argvi);
10548 0 fail:
10549
10550 0 SWIG_croak_null();
10551 }
10552 }
10553  
10554  
10555 0 XS(_wrap__gsl_vector_int_const_view_vector_set) {
10556 {
10557 0 _gsl_vector_int_const_view *arg1 = (_gsl_vector_int_const_view *) 0 ;
10558 0 gsl_vector_int *arg2 = (gsl_vector_int *) 0 ;
10559 0 void *argp1 = 0 ;
10560 0 int res1 = 0 ;
10561 0 void *argp2 = 0 ;
10562 0 int res2 = 0 ;
10563 0 int argvi = 0;
10564 0 dXSARGS;
10565
10566 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
10567 0 SWIG_croak("Usage: _gsl_vector_int_const_view_vector_set(self,vector);");
10568 }
10569 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__gsl_vector_int_const_view, 0 | 0 );
10570 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
10571 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_gsl_vector_int_const_view_vector_set" "', argument " "1"" of type '" "_gsl_vector_int_const_view *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_gsl_vector_int_const_view_vector_set" "', argument " "1"" of type '" "_gsl_vector_int_const_view *""'"); 0 0 0
10572 }
10573 0 arg1 = (_gsl_vector_int_const_view *)(argp1);
10574 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector_int, 0 | 0 );
10575 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
10576 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_gsl_vector_int_const_view_vector_set" "', argument " "2"" of type '" "gsl_vector_int *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_gsl_vector_int_const_view_vector_set" "', argument " "2"" of type '" "gsl_vector_int *""'"); 0 0 0
10577 }
10578 0 arg2 = (gsl_vector_int *)(argp2);
10579 0 ▶ if (arg1) (arg1)->vector = *arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->vector = *arg2; 0 0 0
10580 0 ST(argvi) = &PL_sv_undef;
10581
10582
10583 0 XSRETURN(argvi);
10584 0 fail:
10585
10586
10587 0 SWIG_croak_null();
10588 }
10589 }
10590  
10591  
10592 0 XS(_wrap__gsl_vector_int_const_view_vector_get) {
10593 {
10594 0 _gsl_vector_int_const_view *arg1 = (_gsl_vector_int_const_view *) 0 ;
10595 0 void *argp1 = 0 ;
10596 0 int res1 = 0 ;
10597 0 int argvi = 0;
10598 0 gsl_vector_int *result = 0 ;
10599 0 dXSARGS;
10600
10601 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
10602 0 SWIG_croak("Usage: _gsl_vector_int_const_view_vector_get(self);");
10603 }
10604 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__gsl_vector_int_const_view, 0 | 0 );
10605 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
10606 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_gsl_vector_int_const_view_vector_get" "', argument " "1"" of type '" "_gsl_vector_int_const_view *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_gsl_vector_int_const_view_vector_get" "', argument " "1"" of type '" "_gsl_vector_int_const_view *""'"); 0 0 0
10607 }
10608 0 arg1 = (_gsl_vector_int_const_view *)(argp1);
10609 0 result = (gsl_vector_int *)& ((arg1)->vector);
10610 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_vector_int, 0 | SWIG_SHADOW); argvi++ ;
10611
10612 0 XSRETURN(argvi);
10613 0 fail:
10614
10615 0 SWIG_croak_null();
10616 }
10617 }
10618  
10619  
10620 0 XS(_wrap_new__gsl_vector_int_const_view) {
10621 {
10622 0 int argvi = 0;
10623 0 _gsl_vector_int_const_view *result = 0 ;
10624 0 dXSARGS;
10625
10626 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
10627 0 SWIG_croak("Usage: new__gsl_vector_int_const_view();");
10628 }
10629 0 result = (_gsl_vector_int_const_view *)calloc(1, sizeof(_gsl_vector_int_const_view));
10630 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__gsl_vector_int_const_view, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
10631 0 XSRETURN(argvi);
10632 0 fail:
10633 0 SWIG_croak_null();
10634 }
10635 }
10636  
10637  
10638 0 XS(_wrap_delete__gsl_vector_int_const_view) {
10639 {
10640 0 _gsl_vector_int_const_view *arg1 = (_gsl_vector_int_const_view *) 0 ;
10641 0 void *argp1 = 0 ;
10642 0 int res1 = 0 ;
10643 0 int argvi = 0;
10644 0 dXSARGS;
10645
10646 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
10647 0 SWIG_croak("Usage: delete__gsl_vector_int_const_view(self);");
10648 }
10649 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__gsl_vector_int_const_view, SWIG_POINTER_DISOWN | 0 );
10650 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
10651 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete__gsl_vector_int_const_view" "', argument " "1"" of type '" "_gsl_vector_int_const_view *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete__gsl_vector_int_const_view" "', argument " "1"" of type '" "_gsl_vector_int_const_view *""'"); 0 0 0
10652 }
10653 0 arg1 = (_gsl_vector_int_const_view *)(argp1);
10654 0 free((char *) arg1);
10655 0 ST(argvi) = &PL_sv_undef;
10656
10657 0 XSRETURN(argvi);
10658 0 fail:
10659
10660 0 SWIG_croak_null();
10661 }
10662 }
10663  
10664  
10665 0 XS(_wrap_gsl_vector_int_alloc) {
10666 {
10667 size_t arg1 ;
10668 size_t val1 ;
10669 0 int ecode1 = 0 ;
10670 0 int argvi = 0;
10671 0 gsl_vector_int *result = 0 ;
10672 0 dXSARGS;
10673
10674 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
10675 0 SWIG_croak("Usage: gsl_vector_int_alloc(n);");
10676 }
10677 0 ecode1 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
10678 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
10679 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_vector_int_alloc" "', argument " "1"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_vector_int_alloc" "', argument " "1"" of type '" "size_t""'"); 0 0 0
10680 }
10681 0 arg1 = (size_t)(val1);
10682 0 result = (gsl_vector_int *)gsl_vector_int_alloc(arg1);
10683 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_vector_int, 0 | SWIG_SHADOW); argvi++ ;
10684
10685 0 XSRETURN(argvi);
10686 0 fail:
10687
10688 0 SWIG_croak_null();
10689 }
10690 }
10691  
10692  
10693 0 XS(_wrap_gsl_vector_int_calloc) {
10694 {
10695 size_t arg1 ;
10696 size_t val1 ;
10697 0 int ecode1 = 0 ;
10698 0 int argvi = 0;
10699 0 gsl_vector_int *result = 0 ;
10700 0 dXSARGS;
10701
10702 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
10703 0 SWIG_croak("Usage: gsl_vector_int_calloc(n);");
10704 }
10705 0 ecode1 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
10706 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
10707 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_vector_int_calloc" "', argument " "1"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_vector_int_calloc" "', argument " "1"" of type '" "size_t""'"); 0 0 0
10708 }
10709 0 arg1 = (size_t)(val1);
10710 0 result = (gsl_vector_int *)gsl_vector_int_calloc(arg1);
10711 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_vector_int, 0 | SWIG_SHADOW); argvi++ ;
10712
10713 0 XSRETURN(argvi);
10714 0 fail:
10715
10716 0 SWIG_croak_null();
10717 }
10718 }
10719  
10720  
10721 0 XS(_wrap_gsl_vector_int_alloc_from_block) {
10722 {
10723 0 gsl_block_int *arg1 = (gsl_block_int *) 0 ;
10724 size_t arg2 ;
10725 size_t arg3 ;
10726 size_t arg4 ;
10727 0 void *argp1 = 0 ;
10728 0 int res1 = 0 ;
10729 size_t val2 ;
10730 0 int ecode2 = 0 ;
10731 size_t val3 ;
10732 0 int ecode3 = 0 ;
10733 size_t val4 ;
10734 0 int ecode4 = 0 ;
10735 0 int argvi = 0;
10736 0 gsl_vector_int *result = 0 ;
10737 0 dXSARGS;
10738
10739 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
10740 0 SWIG_croak("Usage: gsl_vector_int_alloc_from_block(b,offset,n,stride);");
10741 }
10742 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_block_int, 0 | 0 );
10743 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
10744 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_alloc_from_block" "', argument " "1"" of type '" "gsl_block_int *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_alloc_from_block" "', argument " "1"" of type '" "gsl_block_int *""'"); 0 0 0
10745 }
10746 0 arg1 = (gsl_block_int *)(argp1);
10747 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10748 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
10749 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_int_alloc_from_block" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_int_alloc_from_block" "', argument " "2"" of type '" "size_t""'"); 0 0 0
10750 }
10751 0 arg2 = (size_t)(val2);
10752 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
10753 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
10754 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_vector_int_alloc_from_block" "', argument " "3"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_vector_int_alloc_from_block" "', argument " "3"" of type '" "size_t""'"); 0 0 0
10755 }
10756 0 arg3 = (size_t)(val3);
10757 0 ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
10758 0 ▶ if (!SWIG_IsOK(ecode4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode4)) { 0 0 0
10759 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_vector_int_alloc_from_block" "', argument " "4"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_vector_int_alloc_from_block" "', argument " "4"" of type '" "size_t""'"); 0 0 0
10760 }
10761 0 arg4 = (size_t)(val4);
10762 0 result = (gsl_vector_int *)gsl_vector_int_alloc_from_block(arg1,arg2,arg3,arg4);
10763 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_vector_int, 0 | SWIG_SHADOW); argvi++ ;
10764
10765
10766
10767
10768 0 XSRETURN(argvi);
10769 0 fail:
10770
10771
10772
10773
10774 0 SWIG_croak_null();
10775 }
10776 }
10777  
10778  
10779 0 XS(_wrap_gsl_vector_int_alloc_from_vector) {
10780 {
10781 0 gsl_vector_int *arg1 = (gsl_vector_int *) 0 ;
10782 size_t arg2 ;
10783 size_t arg3 ;
10784 size_t arg4 ;
10785 0 void *argp1 = 0 ;
10786 0 int res1 = 0 ;
10787 size_t val2 ;
10788 0 int ecode2 = 0 ;
10789 size_t val3 ;
10790 0 int ecode3 = 0 ;
10791 size_t val4 ;
10792 0 int ecode4 = 0 ;
10793 0 int argvi = 0;
10794 0 gsl_vector_int *result = 0 ;
10795 0 dXSARGS;
10796
10797 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
10798 0 SWIG_croak("Usage: gsl_vector_int_alloc_from_vector(v,offset,n,stride);");
10799 }
10800 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_int, 0 | 0 );
10801 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
10802 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_alloc_from_vector" "', argument " "1"" of type '" "gsl_vector_int *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_alloc_from_vector" "', argument " "1"" of type '" "gsl_vector_int *""'"); 0 0 0
10803 }
10804 0 arg1 = (gsl_vector_int *)(argp1);
10805 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10806 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
10807 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_int_alloc_from_vector" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_int_alloc_from_vector" "', argument " "2"" of type '" "size_t""'"); 0 0 0
10808 }
10809 0 arg2 = (size_t)(val2);
10810 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
10811 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
10812 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_vector_int_alloc_from_vector" "', argument " "3"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_vector_int_alloc_from_vector" "', argument " "3"" of type '" "size_t""'"); 0 0 0
10813 }
10814 0 arg3 = (size_t)(val3);
10815 0 ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
10816 0 ▶ if (!SWIG_IsOK(ecode4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode4)) { 0 0 0
10817 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_vector_int_alloc_from_vector" "', argument " "4"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_vector_int_alloc_from_vector" "', argument " "4"" of type '" "size_t""'"); 0 0 0
10818 }
10819 0 arg4 = (size_t)(val4);
10820 0 result = (gsl_vector_int *)gsl_vector_int_alloc_from_vector(arg1,arg2,arg3,arg4);
10821 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_vector_int, 0 | SWIG_SHADOW); argvi++ ;
10822
10823
10824
10825
10826 0 XSRETURN(argvi);
10827 0 fail:
10828
10829
10830
10831
10832 0 SWIG_croak_null();
10833 }
10834 }
10835  
10836  
10837 0 XS(_wrap_gsl_vector_int_free) {
10838 {
10839 0 gsl_vector_int *arg1 = (gsl_vector_int *) 0 ;
10840 0 void *argp1 = 0 ;
10841 0 int res1 = 0 ;
10842 0 int argvi = 0;
10843 0 dXSARGS;
10844
10845 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
10846 0 SWIG_croak("Usage: gsl_vector_int_free(v);");
10847 }
10848 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_int, 0 | 0 );
10849 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
10850 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_free" "', argument " "1"" of type '" "gsl_vector_int *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_free" "', argument " "1"" of type '" "gsl_vector_int *""'"); 0 0 0
10851 }
10852 0 arg1 = (gsl_vector_int *)(argp1);
10853 0 gsl_vector_int_free(arg1);
10854 0 ST(argvi) = &PL_sv_undef;
10855
10856 0 XSRETURN(argvi);
10857 0 fail:
10858
10859 0 SWIG_croak_null();
10860 }
10861 }
10862  
10863  
10864 0 XS(_wrap_gsl_vector_int_view_array) {
10865 {
10866 0 int *arg1 = (int *) 0 ;
10867 size_t arg2 ;
10868 size_t val2 ;
10869 0 int ecode2 = 0 ;
10870 0 int argvi = 0;
10871 _gsl_vector_int_view result;
10872 0 dXSARGS;
10873
10874 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
10875 0 SWIG_croak("Usage: gsl_vector_int_view_array(v,n);");
10876 }
10877 {
10878 AV *tempav;
10879 I32 len;
10880 int i;
10881 SV **tv;
10882 0 ▶ if (!SvROK(ST(0)))
Branch: 1 branch
BranchTrueFalseTotal
if (!SvROK(ST(0))) 0 0 0
10883 0 croak("Math::GSL : $v is not a reference!");
10884 0 ▶ if (SvTYPE(SvRV(ST(0))) != SVt_PVAV)
Branch: 1 branch
BranchTrueFalseTotal
if (SvTYPE(SvRV(ST(0))) != SVt_PVAV) 0 0 0
10885 0 croak("Math::GSL : $v is not an array ref!");
10886
10887 0 tempav = (AV*)SvRV(ST(0));
10888 0 len = av_len(tempav);
10889 0 arg1 = (int *) malloc((len+2)*sizeof(int));
10890 0 ▶ for (i = 0; i <= len; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; i <= len; i++) { 0 0 0
10891 0 tv = av_fetch(tempav, i, 0);
10892 0 arg1[i] = (int) SvNV(*tv);
10893 }
10894 }
10895 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10896 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
10897 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_int_view_array" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_int_view_array" "', argument " "2"" of type '" "size_t""'"); 0 0 0
10898 }
10899 0 arg2 = (size_t)(val2);
10900 0 result = gsl_vector_int_view_array(arg1,arg2);
10901 0 ST(argvi) = SWIG_NewPointerObj((_gsl_vector_int_view *)memcpy((_gsl_vector_int_view *)calloc(1,sizeof(_gsl_vector_int_view)),&result,sizeof(_gsl_vector_int_view)), SWIGTYPE_p__gsl_vector_int_view, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
10902 {
10903 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
10904 }
10905
10906 0 XSRETURN(argvi);
10907 0 fail:
10908 {
10909 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
10910 }
10911
10912 0 SWIG_croak_null();
10913 }
10914 }
10915  
10916  
10917 0 XS(_wrap_gsl_vector_int_view_array_with_stride) {
10918 {
10919 0 int *arg1 = (int *) 0 ;
10920 size_t arg2 ;
10921 size_t arg3 ;
10922 0 void *argp1 = 0 ;
10923 0 int res1 = 0 ;
10924 size_t val2 ;
10925 0 int ecode2 = 0 ;
10926 size_t val3 ;
10927 0 int ecode3 = 0 ;
10928 0 int argvi = 0;
10929 _gsl_vector_int_view result;
10930 0 dXSARGS;
10931
10932 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
10933 0 SWIG_croak("Usage: gsl_vector_int_view_array_with_stride(base,stride,n);");
10934 }
10935 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_int, 0 | 0 );
10936 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
10937 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_view_array_with_stride" "', argument " "1"" of type '" "int *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_view_array_with_stride" "', argument " "1"" of type '" "int *""'"); 0 0 0
10938 }
10939 0 arg1 = (int *)(argp1);
10940 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10941 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
10942 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_int_view_array_with_stride" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_int_view_array_with_stride" "', argument " "2"" of type '" "size_t""'"); 0 0 0
10943 }
10944 0 arg2 = (size_t)(val2);
10945 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
10946 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
10947 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_vector_int_view_array_with_stride" "', argument " "3"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_vector_int_view_array_with_stride" "', argument " "3"" of type '" "size_t""'"); 0 0 0
10948 }
10949 0 arg3 = (size_t)(val3);
10950 0 result = gsl_vector_int_view_array_with_stride(arg1,arg2,arg3);
10951 0 ST(argvi) = SWIG_NewPointerObj((_gsl_vector_int_view *)memcpy((_gsl_vector_int_view *)calloc(1,sizeof(_gsl_vector_int_view)),&result,sizeof(_gsl_vector_int_view)), SWIGTYPE_p__gsl_vector_int_view, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
10952
10953
10954
10955 0 XSRETURN(argvi);
10956 0 fail:
10957
10958
10959
10960 0 SWIG_croak_null();
10961 }
10962 }
10963  
10964  
10965 0 XS(_wrap_gsl_vector_int_const_view_array) {
10966 {
10967 0 int *arg1 = (int *) 0 ;
10968 size_t arg2 ;
10969 size_t val2 ;
10970 0 int ecode2 = 0 ;
10971 0 int argvi = 0;
10972 _gsl_vector_int_const_view result;
10973 0 dXSARGS;
10974
10975 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
10976 0 SWIG_croak("Usage: gsl_vector_int_const_view_array(v,n);");
10977 }
10978 {
10979 AV *tempav;
10980 I32 len;
10981 int i;
10982 SV **tv;
10983 0 ▶ if (!SvROK(ST(0)))
Branch: 1 branch
BranchTrueFalseTotal
if (!SvROK(ST(0))) 0 0 0
10984 0 croak("Math::GSL : $v is not a reference!");
10985 0 ▶ if (SvTYPE(SvRV(ST(0))) != SVt_PVAV)
Branch: 1 branch
BranchTrueFalseTotal
if (SvTYPE(SvRV(ST(0))) != SVt_PVAV) 0 0 0
10986 0 croak("Math::GSL : $v is not an array ref!");
10987
10988 0 tempav = (AV*)SvRV(ST(0));
10989 0 len = av_len(tempav);
10990 0 arg1 = (int *) malloc((len+2)*sizeof(int));
10991 0 ▶ for (i = 0; i <= len; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; i <= len; i++) { 0 0 0
10992 0 tv = av_fetch(tempav, i, 0);
10993 0 arg1[i] = (int) SvNV(*tv);
10994 }
10995 }
10996 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10997 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
10998 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_int_const_view_array" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_int_const_view_array" "', argument " "2"" of type '" "size_t""'"); 0 0 0
10999 }
11000 0 arg2 = (size_t)(val2);
11001 0 result = gsl_vector_int_const_view_array((int const *)arg1,arg2);
11002 0 ST(argvi) = SWIG_NewPointerObj((_gsl_vector_int_const_view *)memcpy((_gsl_vector_int_const_view *)calloc(1,sizeof(_gsl_vector_int_const_view)),&result,sizeof(_gsl_vector_int_const_view)), SWIGTYPE_p__gsl_vector_int_const_view, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
11003 {
11004 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
11005 }
11006
11007 0 XSRETURN(argvi);
11008 0 fail:
11009 {
11010 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
11011 }
11012
11013 0 SWIG_croak_null();
11014 }
11015 }
11016  
11017  
11018 0 XS(_wrap_gsl_vector_int_const_view_array_with_stride) {
11019 {
11020 0 int *arg1 = (int *) 0 ;
11021 size_t arg2 ;
11022 size_t arg3 ;
11023 0 void *argp1 = 0 ;
11024 0 int res1 = 0 ;
11025 size_t val2 ;
11026 0 int ecode2 = 0 ;
11027 size_t val3 ;
11028 0 int ecode3 = 0 ;
11029 0 int argvi = 0;
11030 _gsl_vector_int_const_view result;
11031 0 dXSARGS;
11032
11033 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
11034 0 SWIG_croak("Usage: gsl_vector_int_const_view_array_with_stride(base,stride,n);");
11035 }
11036 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_int, 0 | 0 );
11037 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
11038 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_const_view_array_with_stride" "', argument " "1"" of type '" "int const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_const_view_array_with_stride" "', argument " "1"" of type '" "int const *""'"); 0 0 0
11039 }
11040 0 arg1 = (int *)(argp1);
11041 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
11042 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
11043 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_int_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_int_const_view_array_with_stride" "', argument " "2"" of type '" "size_t""'"); 0 0 0
11044 }
11045 0 arg2 = (size_t)(val2);
11046 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
11047 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
11048 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_vector_int_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_int_const_view_array_with_stride" "', argument " "3"" of type '" "size_t""'"); 0 0 0
11049 }
11050 0 arg3 = (size_t)(val3);
11051 0 result = gsl_vector_int_const_view_array_with_stride((int const *)arg1,arg2,arg3);
11052 0 ST(argvi) = SWIG_NewPointerObj((_gsl_vector_int_const_view *)memcpy((_gsl_vector_int_const_view *)calloc(1,sizeof(_gsl_vector_int_const_view)),&result,sizeof(_gsl_vector_int_const_view)), SWIGTYPE_p__gsl_vector_int_const_view, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
11053
11054
11055
11056 0 XSRETURN(argvi);
11057 0 fail:
11058
11059
11060
11061 0 SWIG_croak_null();
11062 }
11063 }
11064  
11065  
11066 0 XS(_wrap_gsl_vector_int_subvector) {
11067 {
11068 0 gsl_vector_int *arg1 = (gsl_vector_int *) 0 ;
11069 size_t arg2 ;
11070 size_t arg3 ;
11071 0 void *argp1 = 0 ;
11072 0 int res1 = 0 ;
11073 size_t val2 ;
11074 0 int ecode2 = 0 ;
11075 size_t val3 ;
11076 0 int ecode3 = 0 ;
11077 0 int argvi = 0;
11078 _gsl_vector_int_view result;
11079 0 dXSARGS;
11080
11081 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
11082 0 SWIG_croak("Usage: gsl_vector_int_subvector(v,i,n);");
11083 }
11084 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_int, 0 | 0 );
11085 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
11086 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_subvector" "', argument " "1"" of type '" "gsl_vector_int *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_subvector" "', argument " "1"" of type '" "gsl_vector_int *""'"); 0 0 0
11087 }
11088 0 arg1 = (gsl_vector_int *)(argp1);
11089 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
11090 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
11091 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_int_subvector" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_int_subvector" "', argument " "2"" of type '" "size_t""'"); 0 0 0
11092 }
11093 0 arg2 = (size_t)(val2);
11094 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
11095 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
11096 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_vector_int_subvector" "', argument " "3"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_vector_int_subvector" "', argument " "3"" of type '" "size_t""'"); 0 0 0
11097 }
11098 0 arg3 = (size_t)(val3);
11099 0 result = gsl_vector_int_subvector(arg1,arg2,arg3);
11100 0 ST(argvi) = SWIG_NewPointerObj((_gsl_vector_int_view *)memcpy((_gsl_vector_int_view *)calloc(1,sizeof(_gsl_vector_int_view)),&result,sizeof(_gsl_vector_int_view)), SWIGTYPE_p__gsl_vector_int_view, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
11101
11102
11103
11104 0 XSRETURN(argvi);
11105 0 fail:
11106
11107
11108
11109 0 SWIG_croak_null();
11110 }
11111 }
11112  
11113  
11114 0 XS(_wrap_gsl_vector_int_subvector_with_stride) {
11115 {
11116 0 gsl_vector_int *arg1 = (gsl_vector_int *) 0 ;
11117 size_t arg2 ;
11118 size_t arg3 ;
11119 size_t arg4 ;
11120 0 void *argp1 = 0 ;
11121 0 int res1 = 0 ;
11122 size_t val2 ;
11123 0 int ecode2 = 0 ;
11124 size_t val3 ;
11125 0 int ecode3 = 0 ;
11126 size_t val4 ;
11127 0 int ecode4 = 0 ;
11128 0 int argvi = 0;
11129 _gsl_vector_int_view result;
11130 0 dXSARGS;
11131
11132 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
11133 0 SWIG_croak("Usage: gsl_vector_int_subvector_with_stride(v,i,stride,n);");
11134 }
11135 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_int, 0 | 0 );
11136 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
11137 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_subvector_with_stride" "', argument " "1"" of type '" "gsl_vector_int *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_subvector_with_stride" "', argument " "1"" of type '" "gsl_vector_int *""'"); 0 0 0
11138 }
11139 0 arg1 = (gsl_vector_int *)(argp1);
11140 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
11141 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
11142 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_int_subvector_with_stride" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_int_subvector_with_stride" "', argument " "2"" of type '" "size_t""'"); 0 0 0
11143 }
11144 0 arg2 = (size_t)(val2);
11145 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
11146 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
11147 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_vector_int_subvector_with_stride" "', argument " "3"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_vector_int_subvector_with_stride" "', argument " "3"" of type '" "size_t""'"); 0 0 0
11148 }
11149 0 arg3 = (size_t)(val3);
11150 0 ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
11151 0 ▶ if (!SWIG_IsOK(ecode4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode4)) { 0 0 0
11152 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_vector_int_subvector_with_stride" "', argument " "4"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_vector_int_subvector_with_stride" "', argument " "4"" of type '" "size_t""'"); 0 0 0
11153 }
11154 0 arg4 = (size_t)(val4);
11155 0 result = gsl_vector_int_subvector_with_stride(arg1,arg2,arg3,arg4);
11156 0 ST(argvi) = SWIG_NewPointerObj((_gsl_vector_int_view *)memcpy((_gsl_vector_int_view *)calloc(1,sizeof(_gsl_vector_int_view)),&result,sizeof(_gsl_vector_int_view)), SWIGTYPE_p__gsl_vector_int_view, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
11157
11158
11159
11160
11161 0 XSRETURN(argvi);
11162 0 fail:
11163
11164
11165
11166
11167 0 SWIG_croak_null();
11168 }
11169 }
11170  
11171  
11172 0 XS(_wrap_gsl_vector_int_const_subvector) {
11173 {
11174 0 gsl_vector_int *arg1 = (gsl_vector_int *) 0 ;
11175 size_t arg2 ;
11176 size_t arg3 ;
11177 0 void *argp1 = 0 ;
11178 0 int res1 = 0 ;
11179 size_t val2 ;
11180 0 int ecode2 = 0 ;
11181 size_t val3 ;
11182 0 int ecode3 = 0 ;
11183 0 int argvi = 0;
11184 _gsl_vector_int_const_view result;
11185 0 dXSARGS;
11186
11187 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
11188 0 SWIG_croak("Usage: gsl_vector_int_const_subvector(v,i,n);");
11189 }
11190 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_int, 0 | 0 );
11191 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
11192 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_const_subvector" "', argument " "1"" of type '" "gsl_vector_int const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_const_subvector" "', argument " "1"" of type '" "gsl_vector_int const *""'"); 0 0 0
11193 }
11194 0 arg1 = (gsl_vector_int *)(argp1);
11195 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
11196 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
11197 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_int_const_subvector" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_int_const_subvector" "', argument " "2"" of type '" "size_t""'"); 0 0 0
11198 }
11199 0 arg2 = (size_t)(val2);
11200 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
11201 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
11202 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_vector_int_const_subvector" "', argument " "3"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_vector_int_const_subvector" "', argument " "3"" of type '" "size_t""'"); 0 0 0
11203 }
11204 0 arg3 = (size_t)(val3);
11205 0 result = gsl_vector_int_const_subvector((gsl_vector_int const *)arg1,arg2,arg3);
11206 0 ST(argvi) = SWIG_NewPointerObj((_gsl_vector_int_const_view *)memcpy((_gsl_vector_int_const_view *)calloc(1,sizeof(_gsl_vector_int_const_view)),&result,sizeof(_gsl_vector_int_const_view)), SWIGTYPE_p__gsl_vector_int_const_view, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
11207
11208
11209
11210 0 XSRETURN(argvi);
11211 0 fail:
11212
11213
11214
11215 0 SWIG_croak_null();
11216 }
11217 }
11218  
11219  
11220 0 XS(_wrap_gsl_vector_int_const_subvector_with_stride) {
11221 {
11222 0 gsl_vector_int *arg1 = (gsl_vector_int *) 0 ;
11223 size_t arg2 ;
11224 size_t arg3 ;
11225 size_t arg4 ;
11226 0 void *argp1 = 0 ;
11227 0 int res1 = 0 ;
11228 size_t val2 ;
11229 0 int ecode2 = 0 ;
11230 size_t val3 ;
11231 0 int ecode3 = 0 ;
11232 size_t val4 ;
11233 0 int ecode4 = 0 ;
11234 0 int argvi = 0;
11235 _gsl_vector_int_const_view result;
11236 0 dXSARGS;
11237
11238 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
11239 0 SWIG_croak("Usage: gsl_vector_int_const_subvector_with_stride(v,i,stride,n);");
11240 }
11241 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_int, 0 | 0 );
11242 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
11243 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_const_subvector_with_stride" "', argument " "1"" of type '" "gsl_vector_int const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_const_subvector_with_stride" "', argument " "1"" of type '" "gsl_vector_int const *""'"); 0 0 0
11244 }
11245 0 arg1 = (gsl_vector_int *)(argp1);
11246 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
11247 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
11248 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_int_const_subvector_with_stride" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_int_const_subvector_with_stride" "', argument " "2"" of type '" "size_t""'"); 0 0 0
11249 }
11250 0 arg2 = (size_t)(val2);
11251 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
11252 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
11253 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_vector_int_const_subvector_with_stride" "', argument " "3"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_vector_int_const_subvector_with_stride" "', argument " "3"" of type '" "size_t""'"); 0 0 0
11254 }
11255 0 arg3 = (size_t)(val3);
11256 0 ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
11257 0 ▶ if (!SWIG_IsOK(ecode4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode4)) { 0 0 0
11258 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_vector_int_const_subvector_with_stride" "', argument " "4"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_vector_int_const_subvector_with_stride" "', argument " "4"" of type '" "size_t""'"); 0 0 0
11259 }
11260 0 arg4 = (size_t)(val4);
11261 0 result = gsl_vector_int_const_subvector_with_stride((gsl_vector_int const *)arg1,arg2,arg3,arg4);
11262 0 ST(argvi) = SWIG_NewPointerObj((_gsl_vector_int_const_view *)memcpy((_gsl_vector_int_const_view *)calloc(1,sizeof(_gsl_vector_int_const_view)),&result,sizeof(_gsl_vector_int_const_view)), SWIGTYPE_p__gsl_vector_int_const_view, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
11263
11264
11265
11266
11267 0 XSRETURN(argvi);
11268 0 fail:
11269
11270
11271
11272
11273 0 SWIG_croak_null();
11274 }
11275 }
11276  
11277  
11278 0 XS(_wrap_gsl_vector_int_set_zero) {
11279 {
11280 0 gsl_vector_int *arg1 = (gsl_vector_int *) 0 ;
11281 0 void *argp1 = 0 ;
11282 0 int res1 = 0 ;
11283 0 int argvi = 0;
11284 0 dXSARGS;
11285
11286 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
11287 0 SWIG_croak("Usage: gsl_vector_int_set_zero(v);");
11288 }
11289 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_int, 0 | 0 );
11290 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
11291 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_set_zero" "', argument " "1"" of type '" "gsl_vector_int *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_set_zero" "', argument " "1"" of type '" "gsl_vector_int *""'"); 0 0 0
11292 }
11293 0 arg1 = (gsl_vector_int *)(argp1);
11294 0 gsl_vector_int_set_zero(arg1);
11295 0 ST(argvi) = &PL_sv_undef;
11296
11297 0 XSRETURN(argvi);
11298 0 fail:
11299
11300 0 SWIG_croak_null();
11301 }
11302 }
11303  
11304  
11305 0 XS(_wrap_gsl_vector_int_set_all) {
11306 {
11307 0 gsl_vector_int *arg1 = (gsl_vector_int *) 0 ;
11308 int arg2 ;
11309 0 void *argp1 = 0 ;
11310 0 int res1 = 0 ;
11311 int val2 ;
11312 0 int ecode2 = 0 ;
11313 0 int argvi = 0;
11314 0 dXSARGS;
11315
11316 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
11317 0 SWIG_croak("Usage: gsl_vector_int_set_all(v,x);");
11318 }
11319 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_int, 0 | 0 );
11320 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
11321 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_set_all" "', argument " "1"" of type '" "gsl_vector_int *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_set_all" "', argument " "1"" of type '" "gsl_vector_int *""'"); 0 0 0
11322 }
11323 0 arg1 = (gsl_vector_int *)(argp1);
11324 0 ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
11325 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
11326 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_int_set_all" "', argument " "2"" of type '" "int""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_int_set_all" "', argument " "2"" of type '" "int""'"); 0 0 0
11327 }
11328 0 arg2 = (int)(val2);
11329 0 gsl_vector_int_set_all(arg1,arg2);
11330 0 ST(argvi) = &PL_sv_undef;
11331
11332
11333 0 XSRETURN(argvi);
11334 0 fail:
11335
11336
11337 0 SWIG_croak_null();
11338 }
11339 }
11340  
11341  
11342 0 XS(_wrap_gsl_vector_int_set_basis) {
11343 {
11344 0 gsl_vector_int *arg1 = (gsl_vector_int *) 0 ;
11345 size_t arg2 ;
11346 0 void *argp1 = 0 ;
11347 0 int res1 = 0 ;
11348 size_t val2 ;
11349 0 int ecode2 = 0 ;
11350 0 int argvi = 0;
11351 int result;
11352 0 dXSARGS;
11353
11354 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
11355 0 SWIG_croak("Usage: gsl_vector_int_set_basis(v,i);");
11356 }
11357 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_int, 0 | 0 );
11358 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
11359 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_set_basis" "', argument " "1"" of type '" "gsl_vector_int *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_set_basis" "', argument " "1"" of type '" "gsl_vector_int *""'"); 0 0 0
11360 }
11361 0 arg1 = (gsl_vector_int *)(argp1);
11362 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
11363 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
11364 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_int_set_basis" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_int_set_basis" "', argument " "2"" of type '" "size_t""'"); 0 0 0
11365 }
11366 0 arg2 = (size_t)(val2);
11367 0 result = (int)gsl_vector_int_set_basis(arg1,arg2);
11368 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
11369
11370
11371 0 XSRETURN(argvi);
11372 0 fail:
11373
11374
11375 0 SWIG_croak_null();
11376 }
11377 }
11378  
11379  
11380 0 XS(_wrap_gsl_vector_int_fread) {
11381 {
11382 0 FILE *arg1 = (FILE *) 0 ;
11383 0 gsl_vector_int *arg2 = (gsl_vector_int *) 0 ;
11384 0 void *argp1 = 0 ;
11385 0 int res1 = 0 ;
11386 0 void *argp2 = 0 ;
11387 0 int res2 = 0 ;
11388 0 int argvi = 0;
11389 int result;
11390 0 dXSARGS;
11391
11392 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
11393 0 SWIG_croak("Usage: gsl_vector_int_fread(stream,v);");
11394 }
11395 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_FILE, 0 | 0 );
11396 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
11397 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_fread" "', argument " "1"" of type '" "FILE *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_fread" "', argument " "1"" of type '" "FILE *""'"); 0 0 0
11398 }
11399 0 arg1 = (FILE *)(argp1);
11400 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector_int, 0 | 0 );
11401 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
11402 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_vector_int_fread" "', argument " "2"" of type '" "gsl_vector_int *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_vector_int_fread" "', argument " "2"" of type '" "gsl_vector_int *""'"); 0 0 0
11403 }
11404 0 arg2 = (gsl_vector_int *)(argp2);
11405 0 result = (int)gsl_vector_int_fread(arg1,arg2);
11406 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
11407
11408
11409 0 XSRETURN(argvi);
11410 0 fail:
11411
11412
11413 0 SWIG_croak_null();
11414 }
11415 }
11416  
11417  
11418 0 XS(_wrap_gsl_vector_int_fwrite) {
11419 {
11420 0 FILE *arg1 = (FILE *) 0 ;
11421 0 gsl_vector_int *arg2 = (gsl_vector_int *) 0 ;
11422 0 void *argp1 = 0 ;
11423 0 int res1 = 0 ;
11424 0 void *argp2 = 0 ;
11425 0 int res2 = 0 ;
11426 0 int argvi = 0;
11427 int result;
11428 0 dXSARGS;
11429
11430 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
11431 0 SWIG_croak("Usage: gsl_vector_int_fwrite(stream,v);");
11432 }
11433 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_FILE, 0 | 0 );
11434 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
11435 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_fwrite" "', argument " "1"" of type '" "FILE *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_fwrite" "', argument " "1"" of type '" "FILE *""'"); 0 0 0
11436 }
11437 0 arg1 = (FILE *)(argp1);
11438 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector_int, 0 | 0 );
11439 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
11440 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_vector_int_fwrite" "', argument " "2"" of type '" "gsl_vector_int const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_vector_int_fwrite" "', argument " "2"" of type '" "gsl_vector_int const *""'"); 0 0 0
11441 }
11442 0 arg2 = (gsl_vector_int *)(argp2);
11443 0 result = (int)gsl_vector_int_fwrite(arg1,(gsl_vector_int const *)arg2);
11444 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
11445
11446
11447 0 XSRETURN(argvi);
11448 0 fail:
11449
11450
11451 0 SWIG_croak_null();
11452 }
11453 }
11454  
11455  
11456 0 XS(_wrap_gsl_vector_int_fscanf) {
11457 {
11458 0 FILE *arg1 = (FILE *) 0 ;
11459 0 gsl_vector_int *arg2 = (gsl_vector_int *) 0 ;
11460 0 void *argp1 = 0 ;
11461 0 int res1 = 0 ;
11462 0 void *argp2 = 0 ;
11463 0 int res2 = 0 ;
11464 0 int argvi = 0;
11465 int result;
11466 0 dXSARGS;
11467
11468 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
11469 0 SWIG_croak("Usage: gsl_vector_int_fscanf(stream,v);");
11470 }
11471 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_FILE, 0 | 0 );
11472 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
11473 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_fscanf" "', argument " "1"" of type '" "FILE *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_fscanf" "', argument " "1"" of type '" "FILE *""'"); 0 0 0
11474 }
11475 0 arg1 = (FILE *)(argp1);
11476 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector_int, 0 | 0 );
11477 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
11478 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_vector_int_fscanf" "', argument " "2"" of type '" "gsl_vector_int *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_vector_int_fscanf" "', argument " "2"" of type '" "gsl_vector_int *""'"); 0 0 0
11479 }
11480 0 arg2 = (gsl_vector_int *)(argp2);
11481 0 result = (int)gsl_vector_int_fscanf(arg1,arg2);
11482 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
11483
11484
11485 0 XSRETURN(argvi);
11486 0 fail:
11487
11488
11489 0 SWIG_croak_null();
11490 }
11491 }
11492  
11493  
11494 0 XS(_wrap_gsl_vector_int_fprintf) {
11495 {
11496 0 FILE *arg1 = (FILE *) 0 ;
11497 0 gsl_vector_int *arg2 = (gsl_vector_int *) 0 ;
11498 0 char *arg3 = (char *) 0 ;
11499 0 void *argp1 = 0 ;
11500 0 int res1 = 0 ;
11501 0 void *argp2 = 0 ;
11502 0 int res2 = 0 ;
11503 int res3 ;
11504 0 char *buf3 = 0 ;
11505 0 int alloc3 = 0 ;
11506 0 int argvi = 0;
11507 int result;
11508 0 dXSARGS;
11509
11510 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
11511 0 SWIG_croak("Usage: gsl_vector_int_fprintf(stream,v,format);");
11512 }
11513 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_FILE, 0 | 0 );
11514 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
11515 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_fprintf" "', argument " "1"" of type '" "FILE *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_fprintf" "', argument " "1"" of type '" "FILE *""'"); 0 0 0
11516 }
11517 0 arg1 = (FILE *)(argp1);
11518 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector_int, 0 | 0 );
11519 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
11520 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_vector_int_fprintf" "', argument " "2"" of type '" "gsl_vector_int const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_vector_int_fprintf" "', argument " "2"" of type '" "gsl_vector_int const *""'"); 0 0 0
11521 }
11522 0 arg2 = (gsl_vector_int *)(argp2);
11523 0 res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
11524 0 ▶ if (!SWIG_IsOK(res3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res3)) { 0 0 0
11525 0 ▶ SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_vector_int_fprintf" "', argument " "3"" of type '" "char const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_vector_int_fprintf" "', argument " "3"" of type '" "char const *""'"); 0 0 0
11526 }
11527 0 arg3 = (char *)(buf3);
11528 0 result = (int)gsl_vector_int_fprintf(arg1,(gsl_vector_int const *)arg2,(char const *)arg3);
11529 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
11530
11531
11532 0 ▶ if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3); 0 0 0
11533 0 XSRETURN(argvi);
11534 0 fail:
11535
11536
11537 0 ▶ if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3); 0 0 0
11538 0 SWIG_croak_null();
11539 }
11540 }
11541  
11542  
11543 0 XS(_wrap_gsl_vector_int_memcpy) {
11544 {
11545 0 gsl_vector_int *arg1 = (gsl_vector_int *) 0 ;
11546 0 gsl_vector_int *arg2 = (gsl_vector_int *) 0 ;
11547 0 void *argp1 = 0 ;
11548 0 int res1 = 0 ;
11549 0 void *argp2 = 0 ;
11550 0 int res2 = 0 ;
11551 0 int argvi = 0;
11552 int result;
11553 0 dXSARGS;
11554
11555 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
11556 0 SWIG_croak("Usage: gsl_vector_int_memcpy(dest,src);");
11557 }
11558 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_int, 0 | 0 );
11559 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
11560 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_memcpy" "', argument " "1"" of type '" "gsl_vector_int *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_memcpy" "', argument " "1"" of type '" "gsl_vector_int *""'"); 0 0 0
11561 }
11562 0 arg1 = (gsl_vector_int *)(argp1);
11563 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector_int, 0 | 0 );
11564 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
11565 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_vector_int_memcpy" "', argument " "2"" of type '" "gsl_vector_int const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_vector_int_memcpy" "', argument " "2"" of type '" "gsl_vector_int const *""'"); 0 0 0
11566 }
11567 0 arg2 = (gsl_vector_int *)(argp2);
11568 0 result = (int)gsl_vector_int_memcpy(arg1,(gsl_vector_int const *)arg2);
11569 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
11570
11571
11572 0 XSRETURN(argvi);
11573 0 fail:
11574
11575
11576 0 SWIG_croak_null();
11577 }
11578 }
11579  
11580  
11581 0 XS(_wrap_gsl_vector_int_reverse) {
11582 {
11583 0 gsl_vector_int *arg1 = (gsl_vector_int *) 0 ;
11584 0 void *argp1 = 0 ;
11585 0 int res1 = 0 ;
11586 0 int argvi = 0;
11587 int result;
11588 0 dXSARGS;
11589
11590 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
11591 0 SWIG_croak("Usage: gsl_vector_int_reverse(v);");
11592 }
11593 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_int, 0 | 0 );
11594 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
11595 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_reverse" "', argument " "1"" of type '" "gsl_vector_int *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_reverse" "', argument " "1"" of type '" "gsl_vector_int *""'"); 0 0 0
11596 }
11597 0 arg1 = (gsl_vector_int *)(argp1);
11598 0 result = (int)gsl_vector_int_reverse(arg1);
11599 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
11600
11601 0 XSRETURN(argvi);
11602 0 fail:
11603
11604 0 SWIG_croak_null();
11605 }
11606 }
11607  
11608  
11609 0 XS(_wrap_gsl_vector_int_swap) {
11610 {
11611 0 gsl_vector_int *arg1 = (gsl_vector_int *) 0 ;
11612 0 gsl_vector_int *arg2 = (gsl_vector_int *) 0 ;
11613 0 void *argp1 = 0 ;
11614 0 int res1 = 0 ;
11615 0 void *argp2 = 0 ;
11616 0 int res2 = 0 ;
11617 0 int argvi = 0;
11618 int result;
11619 0 dXSARGS;
11620
11621 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
11622 0 SWIG_croak("Usage: gsl_vector_int_swap(v,w);");
11623 }
11624 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_int, 0 | 0 );
11625 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
11626 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_swap" "', argument " "1"" of type '" "gsl_vector_int *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_swap" "', argument " "1"" of type '" "gsl_vector_int *""'"); 0 0 0
11627 }
11628 0 arg1 = (gsl_vector_int *)(argp1);
11629 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector_int, 0 | 0 );
11630 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
11631 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_vector_int_swap" "', argument " "2"" of type '" "gsl_vector_int *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_vector_int_swap" "', argument " "2"" of type '" "gsl_vector_int *""'"); 0 0 0
11632 }
11633 0 arg2 = (gsl_vector_int *)(argp2);
11634 0 result = (int)gsl_vector_int_swap(arg1,arg2);
11635 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
11636
11637
11638 0 XSRETURN(argvi);
11639 0 fail:
11640
11641
11642 0 SWIG_croak_null();
11643 }
11644 }
11645  
11646  
11647 0 XS(_wrap_gsl_vector_int_swap_elements) {
11648 {
11649 0 gsl_vector_int *arg1 = (gsl_vector_int *) 0 ;
11650 size_t arg2 ;
11651 size_t arg3 ;
11652 0 void *argp1 = 0 ;
11653 0 int res1 = 0 ;
11654 size_t val2 ;
11655 0 int ecode2 = 0 ;
11656 size_t val3 ;
11657 0 int ecode3 = 0 ;
11658 0 int argvi = 0;
11659 int result;
11660 0 dXSARGS;
11661
11662 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
11663 0 SWIG_croak("Usage: gsl_vector_int_swap_elements(v,i,j);");
11664 }
11665 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_int, 0 | 0 );
11666 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
11667 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_swap_elements" "', argument " "1"" of type '" "gsl_vector_int *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_swap_elements" "', argument " "1"" of type '" "gsl_vector_int *""'"); 0 0 0
11668 }
11669 0 arg1 = (gsl_vector_int *)(argp1);
11670 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
11671 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
11672 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_int_swap_elements" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_int_swap_elements" "', argument " "2"" of type '" "size_t""'"); 0 0 0
11673 }
11674 0 arg2 = (size_t)(val2);
11675 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
11676 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
11677 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_vector_int_swap_elements" "', argument " "3"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_vector_int_swap_elements" "', argument " "3"" of type '" "size_t""'"); 0 0 0
11678 }
11679 0 arg3 = (size_t)(val3);
11680 0 result = (int)gsl_vector_int_swap_elements(arg1,arg2,arg3);
11681 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
11682
11683
11684
11685 0 XSRETURN(argvi);
11686 0 fail:
11687
11688
11689
11690 0 SWIG_croak_null();
11691 }
11692 }
11693  
11694  
11695 0 XS(_wrap_gsl_vector_int_max) {
11696 {
11697 0 gsl_vector_int *arg1 = (gsl_vector_int *) 0 ;
11698 0 void *argp1 = 0 ;
11699 0 int res1 = 0 ;
11700 0 int argvi = 0;
11701 int result;
11702 0 dXSARGS;
11703
11704 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
11705 0 SWIG_croak("Usage: gsl_vector_int_max(v);");
11706 }
11707 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_int, 0 | 0 );
11708 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
11709 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_max" "', argument " "1"" of type '" "gsl_vector_int const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_max" "', argument " "1"" of type '" "gsl_vector_int const *""'"); 0 0 0
11710 }
11711 0 arg1 = (gsl_vector_int *)(argp1);
11712 0 result = (int)gsl_vector_int_max((gsl_vector_int const *)arg1);
11713 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
11714
11715 0 XSRETURN(argvi);
11716 0 fail:
11717
11718 0 SWIG_croak_null();
11719 }
11720 }
11721  
11722  
11723 0 XS(_wrap_gsl_vector_int_min) {
11724 {
11725 0 gsl_vector_int *arg1 = (gsl_vector_int *) 0 ;
11726 0 void *argp1 = 0 ;
11727 0 int res1 = 0 ;
11728 0 int argvi = 0;
11729 int result;
11730 0 dXSARGS;
11731
11732 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
11733 0 SWIG_croak("Usage: gsl_vector_int_min(v);");
11734 }
11735 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_int, 0 | 0 );
11736 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
11737 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_min" "', argument " "1"" of type '" "gsl_vector_int const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_min" "', argument " "1"" of type '" "gsl_vector_int const *""'"); 0 0 0
11738 }
11739 0 arg1 = (gsl_vector_int *)(argp1);
11740 0 result = (int)gsl_vector_int_min((gsl_vector_int const *)arg1);
11741 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
11742
11743 0 XSRETURN(argvi);
11744 0 fail:
11745
11746 0 SWIG_croak_null();
11747 }
11748 }
11749  
11750  
11751 0 XS(_wrap_gsl_vector_int_minmax) {
11752 {
11753 0 gsl_vector_int *arg1 = (gsl_vector_int *) 0 ;
11754 0 int *arg2 = (int *) 0 ;
11755 0 int *arg3 = (int *) 0 ;
11756 0 void *argp1 = 0 ;
11757 0 int res1 = 0 ;
11758 0 void *argp2 = 0 ;
11759 0 int res2 = 0 ;
11760 0 void *argp3 = 0 ;
11761 0 int res3 = 0 ;
11762 0 int argvi = 0;
11763 0 dXSARGS;
11764
11765 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
11766 0 SWIG_croak("Usage: gsl_vector_int_minmax(v,min_out,max_out);");
11767 }
11768 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_int, 0 | 0 );
11769 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
11770 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_minmax" "', argument " "1"" of type '" "gsl_vector_int const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_minmax" "', argument " "1"" of type '" "gsl_vector_int const *""'"); 0 0 0
11771 }
11772 0 arg1 = (gsl_vector_int *)(argp1);
11773 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_int, 0 | 0 );
11774 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
11775 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_vector_int_minmax" "', argument " "2"" of type '" "int *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_vector_int_minmax" "', argument " "2"" of type '" "int *""'"); 0 0 0
11776 }
11777 0 arg2 = (int *)(argp2);
11778 0 res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_int, 0 | 0 );
11779 0 ▶ if (!SWIG_IsOK(res3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res3)) { 0 0 0
11780 0 ▶ SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_vector_int_minmax" "', argument " "3"" of type '" "int *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_vector_int_minmax" "', argument " "3"" of type '" "int *""'"); 0 0 0
11781 }
11782 0 arg3 = (int *)(argp3);
11783 0 gsl_vector_int_minmax((gsl_vector_int const *)arg1,arg2,arg3);
11784 0 ST(argvi) = &PL_sv_undef;
11785
11786
11787
11788 0 XSRETURN(argvi);
11789 0 fail:
11790
11791
11792
11793 0 SWIG_croak_null();
11794 }
11795 }
11796  
11797  
11798 0 XS(_wrap_gsl_vector_int_max_index) {
11799 {
11800 0 gsl_vector_int *arg1 = (gsl_vector_int *) 0 ;
11801 0 void *argp1 = 0 ;
11802 0 int res1 = 0 ;
11803 0 int argvi = 0;
11804 size_t result;
11805 0 dXSARGS;
11806
11807 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
11808 0 SWIG_croak("Usage: gsl_vector_int_max_index(v);");
11809 }
11810 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_int, 0 | 0 );
11811 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
11812 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_max_index" "', argument " "1"" of type '" "gsl_vector_int const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_max_index" "', argument " "1"" of type '" "gsl_vector_int const *""'"); 0 0 0
11813 }
11814 0 arg1 = (gsl_vector_int *)(argp1);
11815 0 result = gsl_vector_int_max_index((gsl_vector_int const *)arg1);
11816 0 ST(argvi) = SWIG_From_size_t SWIG_PERL_CALL_ARGS_1((size_t)(result)); argvi++ ;
11817
11818 0 XSRETURN(argvi);
11819 0 fail:
11820
11821 0 SWIG_croak_null();
11822 }
11823 }
11824  
11825  
11826 0 XS(_wrap_gsl_vector_int_min_index) {
11827 {
11828 0 gsl_vector_int *arg1 = (gsl_vector_int *) 0 ;
11829 0 void *argp1 = 0 ;
11830 0 int res1 = 0 ;
11831 0 int argvi = 0;
11832 size_t result;
11833 0 dXSARGS;
11834
11835 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
11836 0 SWIG_croak("Usage: gsl_vector_int_min_index(v);");
11837 }
11838 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_int, 0 | 0 );
11839 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
11840 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_min_index" "', argument " "1"" of type '" "gsl_vector_int const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_min_index" "', argument " "1"" of type '" "gsl_vector_int const *""'"); 0 0 0
11841 }
11842 0 arg1 = (gsl_vector_int *)(argp1);
11843 0 result = gsl_vector_int_min_index((gsl_vector_int const *)arg1);
11844 0 ST(argvi) = SWIG_From_size_t SWIG_PERL_CALL_ARGS_1((size_t)(result)); argvi++ ;
11845
11846 0 XSRETURN(argvi);
11847 0 fail:
11848
11849 0 SWIG_croak_null();
11850 }
11851 }
11852  
11853  
11854 0 XS(_wrap_gsl_vector_int_minmax_index) {
11855 {
11856 0 gsl_vector_int *arg1 = (gsl_vector_int *) 0 ;
11857 0 size_t *arg2 = (size_t *) 0 ;
11858 0 size_t *arg3 = (size_t *) 0 ;
11859 0 void *argp1 = 0 ;
11860 0 int res1 = 0 ;
11861 size_t temp2 ;
11862 0 int res2 = SWIG_TMPOBJ ;
11863 size_t temp3 ;
11864 0 int res3 = SWIG_TMPOBJ ;
11865 0 int argvi = 0;
11866 0 dXSARGS;
11867
11868 0 arg2 = &temp2;
11869 0 arg3 = &temp3;
11870 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
11871 0 SWIG_croak("Usage: gsl_vector_int_minmax_index(v);");
11872 }
11873 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_int, 0 | 0 );
11874 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
11875 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_minmax_index" "', argument " "1"" of type '" "gsl_vector_int const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_minmax_index" "', argument " "1"" of type '" "gsl_vector_int const *""'"); 0 0 0
11876 }
11877 0 arg1 = (gsl_vector_int *)(argp1);
11878 0 gsl_vector_int_minmax_index((gsl_vector_int const *)arg1,arg2,arg3);
11879 0 ST(argvi) = &PL_sv_undef;
11880 0 ▶ if (SWIG_IsTmpObj(res2)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SWIG_IsTmpObj(res2)) { 0 0 0
if (SWIG_IsTmpObj(res2)) { 0 0 0
11881 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
11882 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
11883 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((*arg2)); argvi++ /*@SWIG@*/;
11884 } else {
11885 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
11886 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
11887 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
11888 0 ST(argvi) = SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_size_t, new_flags); argvi++ /*@SWIG@*/;
11889 }
11890 0 ▶ if (SWIG_IsTmpObj(res3)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SWIG_IsTmpObj(res3)) { 0 0 0
if (SWIG_IsTmpObj(res3)) { 0 0 0
11891 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
11892 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
11893 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((*arg3)); argvi++ /*@SWIG@*/;
11894 } else {
11895 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
11896 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
11897 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
11898 0 ST(argvi) = SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_size_t, new_flags); argvi++ /*@SWIG@*/;
11899 }
11900
11901
11902
11903 0 XSRETURN(argvi);
11904 0 fail:
11905
11906
11907
11908 0 SWIG_croak_null();
11909 }
11910 }
11911  
11912  
11913 0 XS(_wrap_gsl_vector_int_add) {
11914 {
11915 0 gsl_vector_int *arg1 = (gsl_vector_int *) 0 ;
11916 0 gsl_vector_int *arg2 = (gsl_vector_int *) 0 ;
11917 0 void *argp1 = 0 ;
11918 0 int res1 = 0 ;
11919 0 void *argp2 = 0 ;
11920 0 int res2 = 0 ;
11921 0 int argvi = 0;
11922 int result;
11923 0 dXSARGS;
11924
11925 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
11926 0 SWIG_croak("Usage: gsl_vector_int_add(a,b);");
11927 }
11928 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_int, 0 | 0 );
11929 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
11930 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_add" "', argument " "1"" of type '" "gsl_vector_int *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_add" "', argument " "1"" of type '" "gsl_vector_int *""'"); 0 0 0
11931 }
11932 0 arg1 = (gsl_vector_int *)(argp1);
11933 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector_int, 0 | 0 );
11934 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
11935 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_vector_int_add" "', argument " "2"" of type '" "gsl_vector_int const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_vector_int_add" "', argument " "2"" of type '" "gsl_vector_int const *""'"); 0 0 0
11936 }
11937 0 arg2 = (gsl_vector_int *)(argp2);
11938 0 result = (int)gsl_vector_int_add(arg1,(gsl_vector_int const *)arg2);
11939 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
11940
11941
11942 0 XSRETURN(argvi);
11943 0 fail:
11944
11945
11946 0 SWIG_croak_null();
11947 }
11948 }
11949  
11950  
11951 0 XS(_wrap_gsl_vector_int_sub) {
11952 {
11953 0 gsl_vector_int *arg1 = (gsl_vector_int *) 0 ;
11954 0 gsl_vector_int *arg2 = (gsl_vector_int *) 0 ;
11955 0 void *argp1 = 0 ;
11956 0 int res1 = 0 ;
11957 0 void *argp2 = 0 ;
11958 0 int res2 = 0 ;
11959 0 int argvi = 0;
11960 int result;
11961 0 dXSARGS;
11962
11963 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
11964 0 SWIG_croak("Usage: gsl_vector_int_sub(a,b);");
11965 }
11966 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_int, 0 | 0 );
11967 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
11968 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_sub" "', argument " "1"" of type '" "gsl_vector_int *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_sub" "', argument " "1"" of type '" "gsl_vector_int *""'"); 0 0 0
11969 }
11970 0 arg1 = (gsl_vector_int *)(argp1);
11971 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector_int, 0 | 0 );
11972 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
11973 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_vector_int_sub" "', argument " "2"" of type '" "gsl_vector_int const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_vector_int_sub" "', argument " "2"" of type '" "gsl_vector_int const *""'"); 0 0 0
11974 }
11975 0 arg2 = (gsl_vector_int *)(argp2);
11976 0 result = (int)gsl_vector_int_sub(arg1,(gsl_vector_int const *)arg2);
11977 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
11978
11979
11980 0 XSRETURN(argvi);
11981 0 fail:
11982
11983
11984 0 SWIG_croak_null();
11985 }
11986 }
11987  
11988  
11989 0 XS(_wrap_gsl_vector_int_mul) {
11990 {
11991 0 gsl_vector_int *arg1 = (gsl_vector_int *) 0 ;
11992 0 gsl_vector_int *arg2 = (gsl_vector_int *) 0 ;
11993 0 void *argp1 = 0 ;
11994 0 int res1 = 0 ;
11995 0 void *argp2 = 0 ;
11996 0 int res2 = 0 ;
11997 0 int argvi = 0;
11998 int result;
11999 0 dXSARGS;
12000
12001 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
12002 0 SWIG_croak("Usage: gsl_vector_int_mul(a,b);");
12003 }
12004 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_int, 0 | 0 );
12005 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
12006 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_mul" "', argument " "1"" of type '" "gsl_vector_int *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_mul" "', argument " "1"" of type '" "gsl_vector_int *""'"); 0 0 0
12007 }
12008 0 arg1 = (gsl_vector_int *)(argp1);
12009 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector_int, 0 | 0 );
12010 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
12011 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_vector_int_mul" "', argument " "2"" of type '" "gsl_vector_int const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_vector_int_mul" "', argument " "2"" of type '" "gsl_vector_int const *""'"); 0 0 0
12012 }
12013 0 arg2 = (gsl_vector_int *)(argp2);
12014 0 result = (int)gsl_vector_int_mul(arg1,(gsl_vector_int const *)arg2);
12015 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
12016
12017
12018 0 XSRETURN(argvi);
12019 0 fail:
12020
12021
12022 0 SWIG_croak_null();
12023 }
12024 }
12025  
12026  
12027 0 XS(_wrap_gsl_vector_int_div) {
12028 {
12029 0 gsl_vector_int *arg1 = (gsl_vector_int *) 0 ;
12030 0 gsl_vector_int *arg2 = (gsl_vector_int *) 0 ;
12031 0 void *argp1 = 0 ;
12032 0 int res1 = 0 ;
12033 0 void *argp2 = 0 ;
12034 0 int res2 = 0 ;
12035 0 int argvi = 0;
12036 int result;
12037 0 dXSARGS;
12038
12039 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
12040 0 SWIG_croak("Usage: gsl_vector_int_div(a,b);");
12041 }
12042 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_int, 0 | 0 );
12043 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
12044 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_div" "', argument " "1"" of type '" "gsl_vector_int *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_div" "', argument " "1"" of type '" "gsl_vector_int *""'"); 0 0 0
12045 }
12046 0 arg1 = (gsl_vector_int *)(argp1);
12047 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector_int, 0 | 0 );
12048 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
12049 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_vector_int_div" "', argument " "2"" of type '" "gsl_vector_int const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_vector_int_div" "', argument " "2"" of type '" "gsl_vector_int const *""'"); 0 0 0
12050 }
12051 0 arg2 = (gsl_vector_int *)(argp2);
12052 0 result = (int)gsl_vector_int_div(arg1,(gsl_vector_int const *)arg2);
12053 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
12054
12055
12056 0 XSRETURN(argvi);
12057 0 fail:
12058
12059
12060 0 SWIG_croak_null();
12061 }
12062 }
12063  
12064  
12065 0 XS(_wrap_gsl_vector_int_scale) {
12066 {
12067 0 gsl_vector_int *arg1 = (gsl_vector_int *) 0 ;
12068 int arg2 ;
12069 0 void *argp1 = 0 ;
12070 0 int res1 = 0 ;
12071 int val2 ;
12072 0 int ecode2 = 0 ;
12073 0 int argvi = 0;
12074 int result;
12075 0 dXSARGS;
12076
12077 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
12078 0 SWIG_croak("Usage: gsl_vector_int_scale(a,x);");
12079 }
12080 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_int, 0 | 0 );
12081 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
12082 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_scale" "', argument " "1"" of type '" "gsl_vector_int *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_scale" "', argument " "1"" of type '" "gsl_vector_int *""'"); 0 0 0
12083 }
12084 0 arg1 = (gsl_vector_int *)(argp1);
12085 0 ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
12086 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
12087 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_int_scale" "', argument " "2"" of type '" "int""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_int_scale" "', argument " "2"" of type '" "int""'"); 0 0 0
12088 }
12089 0 arg2 = (int)(val2);
12090 0 result = (int)gsl_vector_int_scale(arg1,arg2);
12091 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
12092
12093
12094 0 XSRETURN(argvi);
12095 0 fail:
12096
12097
12098 0 SWIG_croak_null();
12099 }
12100 }
12101  
12102  
12103 0 XS(_wrap_gsl_vector_int_add_constant) {
12104 {
12105 0 gsl_vector_int *arg1 = (gsl_vector_int *) 0 ;
12106 int arg2 ;
12107 0 void *argp1 = 0 ;
12108 0 int res1 = 0 ;
12109 int val2 ;
12110 0 int ecode2 = 0 ;
12111 0 int argvi = 0;
12112 int result;
12113 0 dXSARGS;
12114
12115 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
12116 0 SWIG_croak("Usage: gsl_vector_int_add_constant(a,x);");
12117 }
12118 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_int, 0 | 0 );
12119 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
12120 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_add_constant" "', argument " "1"" of type '" "gsl_vector_int *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_add_constant" "', argument " "1"" of type '" "gsl_vector_int *""'"); 0 0 0
12121 }
12122 0 arg1 = (gsl_vector_int *)(argp1);
12123 0 ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
12124 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
12125 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_int_add_constant" "', argument " "2"" of type '" "int""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_int_add_constant" "', argument " "2"" of type '" "int""'"); 0 0 0
12126 }
12127 0 arg2 = (int)(val2);
12128 0 result = (int)gsl_vector_int_add_constant(arg1,arg2);
12129 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
12130
12131
12132 0 XSRETURN(argvi);
12133 0 fail:
12134
12135
12136 0 SWIG_croak_null();
12137 }
12138 }
12139  
12140  
12141 0 XS(_wrap_gsl_vector_int_axpby) {
12142 {
12143 int arg1 ;
12144 0 gsl_vector_int *arg2 = (gsl_vector_int *) 0 ;
12145 int arg3 ;
12146 0 gsl_vector_int *arg4 = (gsl_vector_int *) 0 ;
12147 int val1 ;
12148 0 int ecode1 = 0 ;
12149 0 void *argp2 = 0 ;
12150 0 int res2 = 0 ;
12151 int val3 ;
12152 0 int ecode3 = 0 ;
12153 0 void *argp4 = 0 ;
12154 0 int res4 = 0 ;
12155 0 int argvi = 0;
12156 int result;
12157 0 dXSARGS;
12158
12159 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
12160 0 SWIG_croak("Usage: gsl_vector_int_axpby(alpha,x,beta,y);");
12161 }
12162 0 ecode1 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
12163 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
12164 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_vector_int_axpby" "', argument " "1"" of type '" "int""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_vector_int_axpby" "', argument " "1"" of type '" "int""'"); 0 0 0
12165 }
12166 0 arg1 = (int)(val1);
12167 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector_int, 0 | 0 );
12168 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
12169 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_vector_int_axpby" "', argument " "2"" of type '" "gsl_vector_int const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_vector_int_axpby" "', argument " "2"" of type '" "gsl_vector_int const *""'"); 0 0 0
12170 }
12171 0 arg2 = (gsl_vector_int *)(argp2);
12172 0 ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
12173 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
12174 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_vector_int_axpby" "', argument " "3"" of type '" "int""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_vector_int_axpby" "', argument " "3"" of type '" "int""'"); 0 0 0
12175 }
12176 0 arg3 = (int)(val3);
12177 0 res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_gsl_vector_int, 0 | 0 );
12178 0 ▶ if (!SWIG_IsOK(res4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res4)) { 0 0 0
12179 0 ▶ SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_vector_int_axpby" "', argument " "4"" of type '" "gsl_vector_int *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_vector_int_axpby" "', argument " "4"" of type '" "gsl_vector_int *""'"); 0 0 0
12180 }
12181 0 arg4 = (gsl_vector_int *)(argp4);
12182 0 result = (int)gsl_vector_int_axpby(arg1,(gsl_vector_int const *)arg2,arg3,arg4);
12183 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
12184
12185
12186
12187
12188 0 XSRETURN(argvi);
12189 0 fail:
12190
12191
12192
12193
12194 0 SWIG_croak_null();
12195 }
12196 }
12197  
12198  
12199 0 XS(_wrap_gsl_vector_int_sum) {
12200 {
12201 0 gsl_vector_int *arg1 = (gsl_vector_int *) 0 ;
12202 0 void *argp1 = 0 ;
12203 0 int res1 = 0 ;
12204 0 int argvi = 0;
12205 int result;
12206 0 dXSARGS;
12207
12208 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
12209 0 SWIG_croak("Usage: gsl_vector_int_sum(a);");
12210 }
12211 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_int, 0 | 0 );
12212 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
12213 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_sum" "', argument " "1"" of type '" "gsl_vector_int const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_sum" "', argument " "1"" of type '" "gsl_vector_int const *""'"); 0 0 0
12214 }
12215 0 arg1 = (gsl_vector_int *)(argp1);
12216 0 result = (int)gsl_vector_int_sum((gsl_vector_int const *)arg1);
12217 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
12218
12219 0 XSRETURN(argvi);
12220 0 fail:
12221
12222 0 SWIG_croak_null();
12223 }
12224 }
12225  
12226  
12227 0 XS(_wrap_gsl_vector_int_equal) {
12228 {
12229 0 gsl_vector_int *arg1 = (gsl_vector_int *) 0 ;
12230 0 gsl_vector_int *arg2 = (gsl_vector_int *) 0 ;
12231 0 void *argp1 = 0 ;
12232 0 int res1 = 0 ;
12233 0 void *argp2 = 0 ;
12234 0 int res2 = 0 ;
12235 0 int argvi = 0;
12236 int result;
12237 0 dXSARGS;
12238
12239 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
12240 0 SWIG_croak("Usage: gsl_vector_int_equal(u,v);");
12241 }
12242 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_int, 0 | 0 );
12243 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
12244 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_equal" "', argument " "1"" of type '" "gsl_vector_int const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_equal" "', argument " "1"" of type '" "gsl_vector_int const *""'"); 0 0 0
12245 }
12246 0 arg1 = (gsl_vector_int *)(argp1);
12247 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector_int, 0 | 0 );
12248 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
12249 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_vector_int_equal" "', argument " "2"" of type '" "gsl_vector_int const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_vector_int_equal" "', argument " "2"" of type '" "gsl_vector_int const *""'"); 0 0 0
12250 }
12251 0 arg2 = (gsl_vector_int *)(argp2);
12252 0 result = (int)gsl_vector_int_equal((gsl_vector_int const *)arg1,(gsl_vector_int const *)arg2);
12253 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
12254
12255
12256 0 XSRETURN(argvi);
12257 0 fail:
12258
12259
12260 0 SWIG_croak_null();
12261 }
12262 }
12263  
12264  
12265 0 XS(_wrap_gsl_vector_int_isnull) {
12266 {
12267 0 gsl_vector_int *arg1 = (gsl_vector_int *) 0 ;
12268 0 void *argp1 = 0 ;
12269 0 int res1 = 0 ;
12270 0 int argvi = 0;
12271 int result;
12272 0 dXSARGS;
12273
12274 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
12275 0 SWIG_croak("Usage: gsl_vector_int_isnull(v);");
12276 }
12277 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_int, 0 | 0 );
12278 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
12279 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_isnull" "', argument " "1"" of type '" "gsl_vector_int const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_isnull" "', argument " "1"" of type '" "gsl_vector_int const *""'"); 0 0 0
12280 }
12281 0 arg1 = (gsl_vector_int *)(argp1);
12282 0 result = (int)gsl_vector_int_isnull((gsl_vector_int const *)arg1);
12283 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
12284
12285 0 XSRETURN(argvi);
12286 0 fail:
12287
12288 0 SWIG_croak_null();
12289 }
12290 }
12291  
12292  
12293 0 XS(_wrap_gsl_vector_int_ispos) {
12294 {
12295 0 gsl_vector_int *arg1 = (gsl_vector_int *) 0 ;
12296 0 void *argp1 = 0 ;
12297 0 int res1 = 0 ;
12298 0 int argvi = 0;
12299 int result;
12300 0 dXSARGS;
12301
12302 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
12303 0 SWIG_croak("Usage: gsl_vector_int_ispos(v);");
12304 }
12305 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_int, 0 | 0 );
12306 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
12307 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_ispos" "', argument " "1"" of type '" "gsl_vector_int const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_ispos" "', argument " "1"" of type '" "gsl_vector_int const *""'"); 0 0 0
12308 }
12309 0 arg1 = (gsl_vector_int *)(argp1);
12310 0 result = (int)gsl_vector_int_ispos((gsl_vector_int const *)arg1);
12311 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
12312
12313 0 XSRETURN(argvi);
12314 0 fail:
12315
12316 0 SWIG_croak_null();
12317 }
12318 }
12319  
12320  
12321 0 XS(_wrap_gsl_vector_int_isneg) {
12322 {
12323 0 gsl_vector_int *arg1 = (gsl_vector_int *) 0 ;
12324 0 void *argp1 = 0 ;
12325 0 int res1 = 0 ;
12326 0 int argvi = 0;
12327 int result;
12328 0 dXSARGS;
12329
12330 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
12331 0 SWIG_croak("Usage: gsl_vector_int_isneg(v);");
12332 }
12333 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_int, 0 | 0 );
12334 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
12335 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_isneg" "', argument " "1"" of type '" "gsl_vector_int const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_isneg" "', argument " "1"" of type '" "gsl_vector_int const *""'"); 0 0 0
12336 }
12337 0 arg1 = (gsl_vector_int *)(argp1);
12338 0 result = (int)gsl_vector_int_isneg((gsl_vector_int const *)arg1);
12339 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
12340
12341 0 XSRETURN(argvi);
12342 0 fail:
12343
12344 0 SWIG_croak_null();
12345 }
12346 }
12347  
12348  
12349 0 XS(_wrap_gsl_vector_int_isnonneg) {
12350 {
12351 0 gsl_vector_int *arg1 = (gsl_vector_int *) 0 ;
12352 0 void *argp1 = 0 ;
12353 0 int res1 = 0 ;
12354 0 int argvi = 0;
12355 int result;
12356 0 dXSARGS;
12357
12358 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
12359 0 SWIG_croak("Usage: gsl_vector_int_isnonneg(v);");
12360 }
12361 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_int, 0 | 0 );
12362 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
12363 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_isnonneg" "', argument " "1"" of type '" "gsl_vector_int const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_isnonneg" "', argument " "1"" of type '" "gsl_vector_int const *""'"); 0 0 0
12364 }
12365 0 arg1 = (gsl_vector_int *)(argp1);
12366 0 result = (int)gsl_vector_int_isnonneg((gsl_vector_int const *)arg1);
12367 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
12368
12369 0 XSRETURN(argvi);
12370 0 fail:
12371
12372 0 SWIG_croak_null();
12373 }
12374 }
12375  
12376  
12377 0 XS(_wrap_gsl_vector_int_get) {
12378 {
12379 0 gsl_vector_int *arg1 = (gsl_vector_int *) 0 ;
12380 size_t arg2 ;
12381 0 void *argp1 = 0 ;
12382 0 int res1 = 0 ;
12383 size_t val2 ;
12384 0 int ecode2 = 0 ;
12385 0 int argvi = 0;
12386 int result;
12387 0 dXSARGS;
12388
12389 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
12390 0 SWIG_croak("Usage: gsl_vector_int_get(v,i);");
12391 }
12392 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_int, 0 | 0 );
12393 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
12394 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_get" "', argument " "1"" of type '" "gsl_vector_int const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_get" "', argument " "1"" of type '" "gsl_vector_int const *""'"); 0 0 0
12395 }
12396 0 arg1 = (gsl_vector_int *)(argp1);
12397 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
12398 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
12399 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_int_get" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_int_get" "', argument " "2"" of type '" "size_t""'"); 0 0 0
12400 }
12401 0 arg2 = (size_t)(val2);
12402 0 result = (int)gsl_vector_int_get((gsl_vector_int const *)arg1,arg2);
12403 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
12404
12405
12406 0 XSRETURN(argvi);
12407 0 fail:
12408
12409
12410 0 SWIG_croak_null();
12411 }
12412 }
12413  
12414  
12415 0 XS(_wrap_gsl_vector_int_set) {
12416 {
12417 0 gsl_vector_int *arg1 = (gsl_vector_int *) 0 ;
12418 size_t arg2 ;
12419 int arg3 ;
12420 0 void *argp1 = 0 ;
12421 0 int res1 = 0 ;
12422 size_t val2 ;
12423 0 int ecode2 = 0 ;
12424 int val3 ;
12425 0 int ecode3 = 0 ;
12426 0 int argvi = 0;
12427 0 dXSARGS;
12428
12429 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
12430 0 SWIG_croak("Usage: gsl_vector_int_set(v,i,x);");
12431 }
12432 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_int, 0 | 0 );
12433 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
12434 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_set" "', argument " "1"" of type '" "gsl_vector_int *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_set" "', argument " "1"" of type '" "gsl_vector_int *""'"); 0 0 0
12435 }
12436 0 arg1 = (gsl_vector_int *)(argp1);
12437 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
12438 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
12439 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_int_set" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_int_set" "', argument " "2"" of type '" "size_t""'"); 0 0 0
12440 }
12441 0 arg2 = (size_t)(val2);
12442 0 ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
12443 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
12444 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_vector_int_set" "', argument " "3"" of type '" "int""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_vector_int_set" "', argument " "3"" of type '" "int""'"); 0 0 0
12445 }
12446 0 arg3 = (int)(val3);
12447 0 gsl_vector_int_set(arg1,arg2,arg3);
12448 0 ST(argvi) = &PL_sv_undef;
12449
12450
12451
12452 0 XSRETURN(argvi);
12453 0 fail:
12454
12455
12456
12457 0 SWIG_croak_null();
12458 }
12459 }
12460  
12461  
12462 0 XS(_wrap_gsl_vector_int_ptr) {
12463 {
12464 0 gsl_vector_int *arg1 = (gsl_vector_int *) 0 ;
12465 size_t arg2 ;
12466 0 void *argp1 = 0 ;
12467 0 int res1 = 0 ;
12468 size_t val2 ;
12469 0 int ecode2 = 0 ;
12470 0 int argvi = 0;
12471 0 int *result = 0 ;
12472 0 dXSARGS;
12473
12474 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
12475 0 SWIG_croak("Usage: gsl_vector_int_ptr(v,i);");
12476 }
12477 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_int, 0 | 0 );
12478 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
12479 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_ptr" "', argument " "1"" of type '" "gsl_vector_int *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_ptr" "', argument " "1"" of type '" "gsl_vector_int *""'"); 0 0 0
12480 }
12481 0 arg1 = (gsl_vector_int *)(argp1);
12482 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
12483 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
12484 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_int_ptr" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_int_ptr" "', argument " "2"" of type '" "size_t""'"); 0 0 0
12485 }
12486 0 arg2 = (size_t)(val2);
12487 0 result = (int *)gsl_vector_int_ptr(arg1,arg2);
12488 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0); argvi++ ;
12489
12490
12491 0 XSRETURN(argvi);
12492 0 fail:
12493
12494
12495 0 SWIG_croak_null();
12496 }
12497 }
12498  
12499  
12500 0 XS(_wrap_gsl_vector_int_const_ptr) {
12501 {
12502 0 gsl_vector_int *arg1 = (gsl_vector_int *) 0 ;
12503 size_t arg2 ;
12504 0 void *argp1 = 0 ;
12505 0 int res1 = 0 ;
12506 size_t val2 ;
12507 0 int ecode2 = 0 ;
12508 0 int argvi = 0;
12509 0 int *result = 0 ;
12510 0 dXSARGS;
12511
12512 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
12513 0 SWIG_croak("Usage: gsl_vector_int_const_ptr(v,i);");
12514 }
12515 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_int, 0 | 0 );
12516 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
12517 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_const_ptr" "', argument " "1"" of type '" "gsl_vector_int const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_const_ptr" "', argument " "1"" of type '" "gsl_vector_int const *""'"); 0 0 0
12518 }
12519 0 arg1 = (gsl_vector_int *)(argp1);
12520 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
12521 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
12522 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_int_const_ptr" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_int_const_ptr" "', argument " "2"" of type '" "size_t""'"); 0 0 0
12523 }
12524 0 arg2 = (size_t)(val2);
12525 0 result = (int *)gsl_vector_int_const_ptr((gsl_vector_int const *)arg1,arg2);
12526 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0); argvi++ ;
12527
12528
12529 0 XSRETURN(argvi);
12530 0 fail:
12531
12532
12533 0 SWIG_croak_null();
12534 }
12535 }
12536  
12537  
12538  
12539 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
12540  
12541 static swig_type_info _swigt__p_FILE = {"_p_FILE", "FILE *", 0, 0, (void*)0, 0};
12542 static swig_type_info _swigt__p__gsl_vector_char_const_view = {"_p__gsl_vector_char_const_view", "gsl_vector_char_const_view *|_gsl_vector_char_const_view *", 0, 0, (void*)"Math::GSL::Vector::_gsl_vector_char_const_view", 0};
12543 static swig_type_info _swigt__p__gsl_vector_char_view = {"_p__gsl_vector_char_view", "gsl_vector_char_view *|_gsl_vector_char_view *", 0, 0, (void*)"Math::GSL::Vector::_gsl_vector_char_view", 0};
12544 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::Vector::_gsl_vector_complex_const_view", 0};
12545 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::Vector::_gsl_vector_complex_view", 0};
12546 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::Vector::_gsl_vector_const_view", 0};
12547 static swig_type_info _swigt__p__gsl_vector_int_const_view = {"_p__gsl_vector_int_const_view", "gsl_vector_int_const_view *|_gsl_vector_int_const_view *", 0, 0, (void*)"Math::GSL::Vector::_gsl_vector_int_const_view", 0};
12548 static swig_type_info _swigt__p__gsl_vector_int_view = {"_p__gsl_vector_int_view", "gsl_vector_int_view *|_gsl_vector_int_view *", 0, 0, (void*)"Math::GSL::Vector::_gsl_vector_int_view", 0};
12549 static swig_type_info _swigt__p__gsl_vector_view = {"_p__gsl_vector_view", "gsl_vector_view *|_gsl_vector_view *", 0, 0, (void*)"Math::GSL::Vector::_gsl_vector_view", 0};
12550 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
12551 static swig_type_info _swigt__p_double = {"_p_double", "double *", 0, 0, (void*)0, 0};
12552 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};
12553 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};
12554 static swig_type_info _swigt__p_gsl_block = {"_p_gsl_block", "gsl_block *", 0, 0, (void*)0, 0};
12555 static swig_type_info _swigt__p_gsl_block_char = {"_p_gsl_block_char", "gsl_block_char *", 0, 0, (void*)0, 0};
12556 static swig_type_info _swigt__p_gsl_block_complex = {"_p_gsl_block_complex", "gsl_block_complex *", 0, 0, (void*)0, 0};
12557 static swig_type_info _swigt__p_gsl_block_int = {"_p_gsl_block_int", "gsl_block_int *", 0, 0, (void*)0, 0};
12558 static swig_type_info _swigt__p_gsl_complex = {"_p_gsl_complex", "gsl_complex *", 0, 0, (void*)0, 0};
12559 static swig_type_info _swigt__p_gsl_vector = {"_p_gsl_vector", "gsl_vector *", 0, 0, (void*)"Math::GSL::Vector::gsl_vector", 0};
12560 static swig_type_info _swigt__p_gsl_vector_char = {"_p_gsl_vector_char", "gsl_vector_char *", 0, 0, (void*)"Math::GSL::Vector::gsl_vector_char", 0};
12561 static swig_type_info _swigt__p_gsl_vector_complex = {"_p_gsl_vector_complex", "gsl_vector_complex *", 0, 0, (void*)"Math::GSL::Vector::gsl_vector_complex", 0};
12562 static swig_type_info _swigt__p_gsl_vector_int = {"_p_gsl_vector_int", "gsl_vector_int *", 0, 0, (void*)"Math::GSL::Vector::gsl_vector_int", 0};
12563 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
12564 static swig_type_info _swigt__p_size_t = {"_p_size_t", "size_t *", 0, 0, (void*)0, 0};
12565  
12566 static swig_type_info *swig_type_initial[] = {
12567 &_swigt__p_FILE,
12568 &_swigt__p__gsl_vector_char_const_view,
12569 &_swigt__p__gsl_vector_char_view,
12570 &_swigt__p__gsl_vector_complex_const_view,
12571 &_swigt__p__gsl_vector_complex_view,
12572 &_swigt__p__gsl_vector_const_view,
12573 &_swigt__p__gsl_vector_int_const_view,
12574 &_swigt__p__gsl_vector_int_view,
12575 &_swigt__p__gsl_vector_view,
12576 &_swigt__p_char,
12577 &_swigt__p_double,
12578 &_swigt__p_f_p_q_const__char_p_q_const__char_int_int__void,
12579 &_swigt__p_f_p_q_const__char_p_q_const__char_int_p_q_const__char__void,
12580 &_swigt__p_gsl_block,
12581 &_swigt__p_gsl_block_char,
12582 &_swigt__p_gsl_block_complex,
12583 &_swigt__p_gsl_block_int,
12584 &_swigt__p_gsl_complex,
12585 &_swigt__p_gsl_vector,
12586 &_swigt__p_gsl_vector_char,
12587 &_swigt__p_gsl_vector_complex,
12588 &_swigt__p_gsl_vector_int,
12589 &_swigt__p_int,
12590 &_swigt__p_size_t,
12591 };
12592  
12593 static swig_cast_info _swigc__p_FILE[] = { {&_swigt__p_FILE, 0, 0, 0},{0, 0, 0, 0}};
12594 static swig_cast_info _swigc__p__gsl_vector_char_const_view[] = { {&_swigt__p__gsl_vector_char_const_view, 0, 0, 0},{0, 0, 0, 0}};
12595 static swig_cast_info _swigc__p__gsl_vector_char_view[] = { {&_swigt__p__gsl_vector_char_view, 0, 0, 0},{0, 0, 0, 0}};
12596 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}};
12597 static swig_cast_info _swigc__p__gsl_vector_complex_view[] = { {&_swigt__p__gsl_vector_complex_view, 0, 0, 0},{0, 0, 0, 0}};
12598 static swig_cast_info _swigc__p__gsl_vector_const_view[] = { {&_swigt__p__gsl_vector_const_view, 0, 0, 0},{0, 0, 0, 0}};
12599 static swig_cast_info _swigc__p__gsl_vector_int_const_view[] = { {&_swigt__p__gsl_vector_int_const_view, 0, 0, 0},{0, 0, 0, 0}};
12600 static swig_cast_info _swigc__p__gsl_vector_int_view[] = { {&_swigt__p__gsl_vector_int_view, 0, 0, 0},{0, 0, 0, 0}};
12601 static swig_cast_info _swigc__p__gsl_vector_view[] = { {&_swigt__p__gsl_vector_view, 0, 0, 0},{0, 0, 0, 0}};
12602 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
12603 static swig_cast_info _swigc__p_double[] = { {&_swigt__p_double, 0, 0, 0},{0, 0, 0, 0}};
12604 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}};
12605 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}};
12606 static swig_cast_info _swigc__p_gsl_block[] = { {&_swigt__p_gsl_block, 0, 0, 0},{0, 0, 0, 0}};
12607 static swig_cast_info _swigc__p_gsl_block_char[] = { {&_swigt__p_gsl_block_char, 0, 0, 0},{0, 0, 0, 0}};
12608 static swig_cast_info _swigc__p_gsl_block_complex[] = { {&_swigt__p_gsl_block_complex, 0, 0, 0},{0, 0, 0, 0}};
12609 static swig_cast_info _swigc__p_gsl_block_int[] = { {&_swigt__p_gsl_block_int, 0, 0, 0},{0, 0, 0, 0}};
12610 static swig_cast_info _swigc__p_gsl_complex[] = { {&_swigt__p_gsl_complex, 0, 0, 0},{0, 0, 0, 0}};
12611 static swig_cast_info _swigc__p_gsl_vector[] = { {&_swigt__p_gsl_vector, 0, 0, 0},{0, 0, 0, 0}};
12612 static swig_cast_info _swigc__p_gsl_vector_char[] = { {&_swigt__p_gsl_vector_char, 0, 0, 0},{0, 0, 0, 0}};
12613 static swig_cast_info _swigc__p_gsl_vector_complex[] = { {&_swigt__p_gsl_vector_complex, 0, 0, 0},{0, 0, 0, 0}};
12614 static swig_cast_info _swigc__p_gsl_vector_int[] = { {&_swigt__p_gsl_vector_int, 0, 0, 0},{0, 0, 0, 0}};
12615 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
12616 static swig_cast_info _swigc__p_size_t[] = { {&_swigt__p_size_t, 0, 0, 0},{0, 0, 0, 0}};
12617  
12618 static swig_cast_info *swig_cast_initial[] = {
12619 _swigc__p_FILE,
12620 _swigc__p__gsl_vector_char_const_view,
12621 _swigc__p__gsl_vector_char_view,
12622 _swigc__p__gsl_vector_complex_const_view,
12623 _swigc__p__gsl_vector_complex_view,
12624 _swigc__p__gsl_vector_const_view,
12625 _swigc__p__gsl_vector_int_const_view,
12626 _swigc__p__gsl_vector_int_view,
12627 _swigc__p__gsl_vector_view,
12628 _swigc__p_char,
12629 _swigc__p_double,
12630 _swigc__p_f_p_q_const__char_p_q_const__char_int_int__void,
12631 _swigc__p_f_p_q_const__char_p_q_const__char_int_p_q_const__char__void,
12632 _swigc__p_gsl_block,
12633 _swigc__p_gsl_block_char,
12634 _swigc__p_gsl_block_complex,
12635 _swigc__p_gsl_block_int,
12636 _swigc__p_gsl_complex,
12637 _swigc__p_gsl_vector,
12638 _swigc__p_gsl_vector_char,
12639 _swigc__p_gsl_vector_complex,
12640 _swigc__p_gsl_vector_int,
12641 _swigc__p_int,
12642 _swigc__p_size_t,
12643 };
12644  
12645  
12646 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
12647  
12648 static swig_constant_info swig_constants[] = {
12649 {0,0,0,0,0,0}
12650 };
12651 #ifdef __cplusplus
12652 }
12653 #endif
12654 static swig_variable_info swig_variables[] = {
12655 {0,0,0,0}
12656 };
12657 static swig_command_info swig_commands[] = {
12658 {"Math::GSL::Vectorc::gsl_error", _wrap_gsl_error},
12659 {"Math::GSL::Vectorc::gsl_stream_printf", _wrap_gsl_stream_printf},
12660 {"Math::GSL::Vectorc::gsl_strerror", _wrap_gsl_strerror},
12661 {"Math::GSL::Vectorc::gsl_set_error_handler", _wrap_gsl_set_error_handler},
12662 {"Math::GSL::Vectorc::gsl_set_error_handler_off", _wrap_gsl_set_error_handler_off},
12663 {"Math::GSL::Vectorc::gsl_set_stream_handler", _wrap_gsl_set_stream_handler},
12664 {"Math::GSL::Vectorc::gsl_set_stream", _wrap_gsl_set_stream},
12665 {"Math::GSL::Vectorc::fopen", _wrap_fopen},
12666 {"Math::GSL::Vectorc::fclose", _wrap_fclose},
12667 {"Math::GSL::Vectorc::gsl_vector_char_size_set", _wrap_gsl_vector_char_size_set},
12668 {"Math::GSL::Vectorc::gsl_vector_char_size_get", _wrap_gsl_vector_char_size_get},
12669 {"Math::GSL::Vectorc::gsl_vector_char_stride_set", _wrap_gsl_vector_char_stride_set},
12670 {"Math::GSL::Vectorc::gsl_vector_char_stride_get", _wrap_gsl_vector_char_stride_get},
12671 {"Math::GSL::Vectorc::gsl_vector_char_data_set", _wrap_gsl_vector_char_data_set},
12672 {"Math::GSL::Vectorc::gsl_vector_char_data_get", _wrap_gsl_vector_char_data_get},
12673 {"Math::GSL::Vectorc::gsl_vector_char_block_set", _wrap_gsl_vector_char_block_set},
12674 {"Math::GSL::Vectorc::gsl_vector_char_block_get", _wrap_gsl_vector_char_block_get},
12675 {"Math::GSL::Vectorc::gsl_vector_char_owner_set", _wrap_gsl_vector_char_owner_set},
12676 {"Math::GSL::Vectorc::gsl_vector_char_owner_get", _wrap_gsl_vector_char_owner_get},
12677 {"Math::GSL::Vectorc::new_gsl_vector_char", _wrap_new_gsl_vector_char},
12678 {"Math::GSL::Vectorc::delete_gsl_vector_char", _wrap_delete_gsl_vector_char},
12679 {"Math::GSL::Vectorc::_gsl_vector_char_view_vector_set", _wrap__gsl_vector_char_view_vector_set},
12680 {"Math::GSL::Vectorc::_gsl_vector_char_view_vector_get", _wrap__gsl_vector_char_view_vector_get},
12681 {"Math::GSL::Vectorc::new__gsl_vector_char_view", _wrap_new__gsl_vector_char_view},
12682 {"Math::GSL::Vectorc::delete__gsl_vector_char_view", _wrap_delete__gsl_vector_char_view},
12683 {"Math::GSL::Vectorc::_gsl_vector_char_const_view_vector_set", _wrap__gsl_vector_char_const_view_vector_set},
12684 {"Math::GSL::Vectorc::_gsl_vector_char_const_view_vector_get", _wrap__gsl_vector_char_const_view_vector_get},
12685 {"Math::GSL::Vectorc::new__gsl_vector_char_const_view", _wrap_new__gsl_vector_char_const_view},
12686 {"Math::GSL::Vectorc::delete__gsl_vector_char_const_view", _wrap_delete__gsl_vector_char_const_view},
12687 {"Math::GSL::Vectorc::gsl_vector_char_alloc", _wrap_gsl_vector_char_alloc},
12688 {"Math::GSL::Vectorc::gsl_vector_char_calloc", _wrap_gsl_vector_char_calloc},
12689 {"Math::GSL::Vectorc::gsl_vector_char_alloc_from_block", _wrap_gsl_vector_char_alloc_from_block},
12690 {"Math::GSL::Vectorc::gsl_vector_char_alloc_from_vector", _wrap_gsl_vector_char_alloc_from_vector},
12691 {"Math::GSL::Vectorc::gsl_vector_char_free", _wrap_gsl_vector_char_free},
12692 {"Math::GSL::Vectorc::gsl_vector_char_view_array", _wrap_gsl_vector_char_view_array},
12693 {"Math::GSL::Vectorc::gsl_vector_char_view_array_with_stride", _wrap_gsl_vector_char_view_array_with_stride},
12694 {"Math::GSL::Vectorc::gsl_vector_char_const_view_array", _wrap_gsl_vector_char_const_view_array},
12695 {"Math::GSL::Vectorc::gsl_vector_char_const_view_array_with_stride", _wrap_gsl_vector_char_const_view_array_with_stride},
12696 {"Math::GSL::Vectorc::gsl_vector_char_subvector", _wrap_gsl_vector_char_subvector},
12697 {"Math::GSL::Vectorc::gsl_vector_char_subvector_with_stride", _wrap_gsl_vector_char_subvector_with_stride},
12698 {"Math::GSL::Vectorc::gsl_vector_char_const_subvector", _wrap_gsl_vector_char_const_subvector},
12699 {"Math::GSL::Vectorc::gsl_vector_char_const_subvector_with_stride", _wrap_gsl_vector_char_const_subvector_with_stride},
12700 {"Math::GSL::Vectorc::gsl_vector_char_set_zero", _wrap_gsl_vector_char_set_zero},
12701 {"Math::GSL::Vectorc::gsl_vector_char_set_all", _wrap_gsl_vector_char_set_all},
12702 {"Math::GSL::Vectorc::gsl_vector_char_set_basis", _wrap_gsl_vector_char_set_basis},
12703 {"Math::GSL::Vectorc::gsl_vector_char_fread", _wrap_gsl_vector_char_fread},
12704 {"Math::GSL::Vectorc::gsl_vector_char_fwrite", _wrap_gsl_vector_char_fwrite},
12705 {"Math::GSL::Vectorc::gsl_vector_char_fscanf", _wrap_gsl_vector_char_fscanf},
12706 {"Math::GSL::Vectorc::gsl_vector_char_fprintf", _wrap_gsl_vector_char_fprintf},
12707 {"Math::GSL::Vectorc::gsl_vector_char_memcpy", _wrap_gsl_vector_char_memcpy},
12708 {"Math::GSL::Vectorc::gsl_vector_char_reverse", _wrap_gsl_vector_char_reverse},
12709 {"Math::GSL::Vectorc::gsl_vector_char_swap", _wrap_gsl_vector_char_swap},
12710 {"Math::GSL::Vectorc::gsl_vector_char_swap_elements", _wrap_gsl_vector_char_swap_elements},
12711 {"Math::GSL::Vectorc::gsl_vector_char_max", _wrap_gsl_vector_char_max},
12712 {"Math::GSL::Vectorc::gsl_vector_char_min", _wrap_gsl_vector_char_min},
12713 {"Math::GSL::Vectorc::gsl_vector_char_minmax", _wrap_gsl_vector_char_minmax},
12714 {"Math::GSL::Vectorc::gsl_vector_char_max_index", _wrap_gsl_vector_char_max_index},
12715 {"Math::GSL::Vectorc::gsl_vector_char_min_index", _wrap_gsl_vector_char_min_index},
12716 {"Math::GSL::Vectorc::gsl_vector_char_minmax_index", _wrap_gsl_vector_char_minmax_index},
12717 {"Math::GSL::Vectorc::gsl_vector_char_add", _wrap_gsl_vector_char_add},
12718 {"Math::GSL::Vectorc::gsl_vector_char_sub", _wrap_gsl_vector_char_sub},
12719 {"Math::GSL::Vectorc::gsl_vector_char_mul", _wrap_gsl_vector_char_mul},
12720 {"Math::GSL::Vectorc::gsl_vector_char_div", _wrap_gsl_vector_char_div},
12721 {"Math::GSL::Vectorc::gsl_vector_char_scale", _wrap_gsl_vector_char_scale},
12722 {"Math::GSL::Vectorc::gsl_vector_char_add_constant", _wrap_gsl_vector_char_add_constant},
12723 {"Math::GSL::Vectorc::gsl_vector_char_axpby", _wrap_gsl_vector_char_axpby},
12724 {"Math::GSL::Vectorc::gsl_vector_char_sum", _wrap_gsl_vector_char_sum},
12725 {"Math::GSL::Vectorc::gsl_vector_char_equal", _wrap_gsl_vector_char_equal},
12726 {"Math::GSL::Vectorc::gsl_vector_char_isnull", _wrap_gsl_vector_char_isnull},
12727 {"Math::GSL::Vectorc::gsl_vector_char_ispos", _wrap_gsl_vector_char_ispos},
12728 {"Math::GSL::Vectorc::gsl_vector_char_isneg", _wrap_gsl_vector_char_isneg},
12729 {"Math::GSL::Vectorc::gsl_vector_char_isnonneg", _wrap_gsl_vector_char_isnonneg},
12730 {"Math::GSL::Vectorc::gsl_vector_char_get", _wrap_gsl_vector_char_get},
12731 {"Math::GSL::Vectorc::gsl_vector_char_set", _wrap_gsl_vector_char_set},
12732 {"Math::GSL::Vectorc::gsl_vector_char_ptr", _wrap_gsl_vector_char_ptr},
12733 {"Math::GSL::Vectorc::gsl_vector_char_const_ptr", _wrap_gsl_vector_char_const_ptr},
12734 {"Math::GSL::Vectorc::gsl_vector_complex_size_set", _wrap_gsl_vector_complex_size_set},
12735 {"Math::GSL::Vectorc::gsl_vector_complex_size_get", _wrap_gsl_vector_complex_size_get},
12736 {"Math::GSL::Vectorc::gsl_vector_complex_stride_set", _wrap_gsl_vector_complex_stride_set},
12737 {"Math::GSL::Vectorc::gsl_vector_complex_stride_get", _wrap_gsl_vector_complex_stride_get},
12738 {"Math::GSL::Vectorc::gsl_vector_complex_data_set", _wrap_gsl_vector_complex_data_set},
12739 {"Math::GSL::Vectorc::gsl_vector_complex_data_get", _wrap_gsl_vector_complex_data_get},
12740 {"Math::GSL::Vectorc::gsl_vector_complex_block_set", _wrap_gsl_vector_complex_block_set},
12741 {"Math::GSL::Vectorc::gsl_vector_complex_block_get", _wrap_gsl_vector_complex_block_get},
12742 {"Math::GSL::Vectorc::gsl_vector_complex_owner_set", _wrap_gsl_vector_complex_owner_set},
12743 {"Math::GSL::Vectorc::gsl_vector_complex_owner_get", _wrap_gsl_vector_complex_owner_get},
12744 {"Math::GSL::Vectorc::new_gsl_vector_complex", _wrap_new_gsl_vector_complex},
12745 {"Math::GSL::Vectorc::delete_gsl_vector_complex", _wrap_delete_gsl_vector_complex},
12746 {"Math::GSL::Vectorc::_gsl_vector_complex_view_vector_set", _wrap__gsl_vector_complex_view_vector_set},
12747 {"Math::GSL::Vectorc::_gsl_vector_complex_view_vector_get", _wrap__gsl_vector_complex_view_vector_get},
12748 {"Math::GSL::Vectorc::new__gsl_vector_complex_view", _wrap_new__gsl_vector_complex_view},
12749 {"Math::GSL::Vectorc::delete__gsl_vector_complex_view", _wrap_delete__gsl_vector_complex_view},
12750 {"Math::GSL::Vectorc::_gsl_vector_complex_const_view_vector_set", _wrap__gsl_vector_complex_const_view_vector_set},
12751 {"Math::GSL::Vectorc::_gsl_vector_complex_const_view_vector_get", _wrap__gsl_vector_complex_const_view_vector_get},
12752 {"Math::GSL::Vectorc::new__gsl_vector_complex_const_view", _wrap_new__gsl_vector_complex_const_view},
12753 {"Math::GSL::Vectorc::delete__gsl_vector_complex_const_view", _wrap_delete__gsl_vector_complex_const_view},
12754 {"Math::GSL::Vectorc::gsl_vector_complex_alloc", _wrap_gsl_vector_complex_alloc},
12755 {"Math::GSL::Vectorc::gsl_vector_complex_calloc", _wrap_gsl_vector_complex_calloc},
12756 {"Math::GSL::Vectorc::gsl_vector_complex_alloc_from_block", _wrap_gsl_vector_complex_alloc_from_block},
12757 {"Math::GSL::Vectorc::gsl_vector_complex_alloc_from_vector", _wrap_gsl_vector_complex_alloc_from_vector},
12758 {"Math::GSL::Vectorc::gsl_vector_complex_free", _wrap_gsl_vector_complex_free},
12759 {"Math::GSL::Vectorc::gsl_vector_complex_view_array", _wrap_gsl_vector_complex_view_array},
12760 {"Math::GSL::Vectorc::gsl_vector_complex_view_array_with_stride", _wrap_gsl_vector_complex_view_array_with_stride},
12761 {"Math::GSL::Vectorc::gsl_vector_complex_const_view_array", _wrap_gsl_vector_complex_const_view_array},
12762 {"Math::GSL::Vectorc::gsl_vector_complex_const_view_array_with_stride", _wrap_gsl_vector_complex_const_view_array_with_stride},
12763 {"Math::GSL::Vectorc::gsl_vector_complex_subvector", _wrap_gsl_vector_complex_subvector},
12764 {"Math::GSL::Vectorc::gsl_vector_complex_subvector_with_stride", _wrap_gsl_vector_complex_subvector_with_stride},
12765 {"Math::GSL::Vectorc::gsl_vector_complex_const_subvector", _wrap_gsl_vector_complex_const_subvector},
12766 {"Math::GSL::Vectorc::gsl_vector_complex_const_subvector_with_stride", _wrap_gsl_vector_complex_const_subvector_with_stride},
12767 {"Math::GSL::Vectorc::gsl_vector_complex_real", _wrap_gsl_vector_complex_real},
12768 {"Math::GSL::Vectorc::gsl_vector_complex_imag", _wrap_gsl_vector_complex_imag},
12769 {"Math::GSL::Vectorc::gsl_vector_complex_const_real", _wrap_gsl_vector_complex_const_real},
12770 {"Math::GSL::Vectorc::gsl_vector_complex_const_imag", _wrap_gsl_vector_complex_const_imag},
12771 {"Math::GSL::Vectorc::gsl_vector_complex_set_zero", _wrap_gsl_vector_complex_set_zero},
12772 {"Math::GSL::Vectorc::gsl_vector_complex_set_all", _wrap_gsl_vector_complex_set_all},
12773 {"Math::GSL::Vectorc::gsl_vector_complex_set_basis", _wrap_gsl_vector_complex_set_basis},
12774 {"Math::GSL::Vectorc::gsl_vector_complex_fread", _wrap_gsl_vector_complex_fread},
12775 {"Math::GSL::Vectorc::gsl_vector_complex_fwrite", _wrap_gsl_vector_complex_fwrite},
12776 {"Math::GSL::Vectorc::gsl_vector_complex_fscanf", _wrap_gsl_vector_complex_fscanf},
12777 {"Math::GSL::Vectorc::gsl_vector_complex_fprintf", _wrap_gsl_vector_complex_fprintf},
12778 {"Math::GSL::Vectorc::gsl_vector_complex_memcpy", _wrap_gsl_vector_complex_memcpy},
12779 {"Math::GSL::Vectorc::gsl_vector_complex_conj_memcpy", _wrap_gsl_vector_complex_conj_memcpy},
12780 {"Math::GSL::Vectorc::gsl_vector_complex_reverse", _wrap_gsl_vector_complex_reverse},
12781 {"Math::GSL::Vectorc::gsl_vector_complex_swap", _wrap_gsl_vector_complex_swap},
12782 {"Math::GSL::Vectorc::gsl_vector_complex_swap_elements", _wrap_gsl_vector_complex_swap_elements},
12783 {"Math::GSL::Vectorc::gsl_vector_complex_equal", _wrap_gsl_vector_complex_equal},
12784 {"Math::GSL::Vectorc::gsl_vector_complex_isnull", _wrap_gsl_vector_complex_isnull},
12785 {"Math::GSL::Vectorc::gsl_vector_complex_ispos", _wrap_gsl_vector_complex_ispos},
12786 {"Math::GSL::Vectorc::gsl_vector_complex_isneg", _wrap_gsl_vector_complex_isneg},
12787 {"Math::GSL::Vectorc::gsl_vector_complex_isnonneg", _wrap_gsl_vector_complex_isnonneg},
12788 {"Math::GSL::Vectorc::gsl_vector_complex_add", _wrap_gsl_vector_complex_add},
12789 {"Math::GSL::Vectorc::gsl_vector_complex_sub", _wrap_gsl_vector_complex_sub},
12790 {"Math::GSL::Vectorc::gsl_vector_complex_mul", _wrap_gsl_vector_complex_mul},
12791 {"Math::GSL::Vectorc::gsl_vector_complex_div", _wrap_gsl_vector_complex_div},
12792 {"Math::GSL::Vectorc::gsl_vector_complex_scale", _wrap_gsl_vector_complex_scale},
12793 {"Math::GSL::Vectorc::gsl_vector_complex_add_constant", _wrap_gsl_vector_complex_add_constant},
12794 {"Math::GSL::Vectorc::gsl_vector_complex_axpby", _wrap_gsl_vector_complex_axpby},
12795 {"Math::GSL::Vectorc::gsl_vector_complex_div_real", _wrap_gsl_vector_complex_div_real},
12796 {"Math::GSL::Vectorc::gsl_vector_complex_get", _wrap_gsl_vector_complex_get},
12797 {"Math::GSL::Vectorc::gsl_vector_complex_set", _wrap_gsl_vector_complex_set},
12798 {"Math::GSL::Vectorc::gsl_vector_complex_ptr", _wrap_gsl_vector_complex_ptr},
12799 {"Math::GSL::Vectorc::gsl_vector_complex_const_ptr", _wrap_gsl_vector_complex_const_ptr},
12800 {"Math::GSL::Vectorc::gsl_vector_size_set", _wrap_gsl_vector_size_set},
12801 {"Math::GSL::Vectorc::gsl_vector_size_get", _wrap_gsl_vector_size_get},
12802 {"Math::GSL::Vectorc::gsl_vector_stride_set", _wrap_gsl_vector_stride_set},
12803 {"Math::GSL::Vectorc::gsl_vector_stride_get", _wrap_gsl_vector_stride_get},
12804 {"Math::GSL::Vectorc::gsl_vector_data_set", _wrap_gsl_vector_data_set},
12805 {"Math::GSL::Vectorc::gsl_vector_data_get", _wrap_gsl_vector_data_get},
12806 {"Math::GSL::Vectorc::gsl_vector_block_set", _wrap_gsl_vector_block_set},
12807 {"Math::GSL::Vectorc::gsl_vector_block_get", _wrap_gsl_vector_block_get},
12808 {"Math::GSL::Vectorc::gsl_vector_owner_set", _wrap_gsl_vector_owner_set},
12809 {"Math::GSL::Vectorc::gsl_vector_owner_get", _wrap_gsl_vector_owner_get},
12810 {"Math::GSL::Vectorc::new_gsl_vector", _wrap_new_gsl_vector},
12811 {"Math::GSL::Vectorc::delete_gsl_vector", _wrap_delete_gsl_vector},
12812 {"Math::GSL::Vectorc::_gsl_vector_view_vector_set", _wrap__gsl_vector_view_vector_set},
12813 {"Math::GSL::Vectorc::_gsl_vector_view_vector_get", _wrap__gsl_vector_view_vector_get},
12814 {"Math::GSL::Vectorc::new__gsl_vector_view", _wrap_new__gsl_vector_view},
12815 {"Math::GSL::Vectorc::delete__gsl_vector_view", _wrap_delete__gsl_vector_view},
12816 {"Math::GSL::Vectorc::_gsl_vector_const_view_vector_set", _wrap__gsl_vector_const_view_vector_set},
12817 {"Math::GSL::Vectorc::_gsl_vector_const_view_vector_get", _wrap__gsl_vector_const_view_vector_get},
12818 {"Math::GSL::Vectorc::new__gsl_vector_const_view", _wrap_new__gsl_vector_const_view},
12819 {"Math::GSL::Vectorc::delete__gsl_vector_const_view", _wrap_delete__gsl_vector_const_view},
12820 {"Math::GSL::Vectorc::gsl_vector_alloc", _wrap_gsl_vector_alloc},
12821 {"Math::GSL::Vectorc::gsl_vector_calloc", _wrap_gsl_vector_calloc},
12822 {"Math::GSL::Vectorc::gsl_vector_alloc_from_block", _wrap_gsl_vector_alloc_from_block},
12823 {"Math::GSL::Vectorc::gsl_vector_alloc_from_vector", _wrap_gsl_vector_alloc_from_vector},
12824 {"Math::GSL::Vectorc::gsl_vector_free", _wrap_gsl_vector_free},
12825 {"Math::GSL::Vectorc::gsl_vector_view_array", _wrap_gsl_vector_view_array},
12826 {"Math::GSL::Vectorc::gsl_vector_view_array_with_stride", _wrap_gsl_vector_view_array_with_stride},
12827 {"Math::GSL::Vectorc::gsl_vector_const_view_array", _wrap_gsl_vector_const_view_array},
12828 {"Math::GSL::Vectorc::gsl_vector_const_view_array_with_stride", _wrap_gsl_vector_const_view_array_with_stride},
12829 {"Math::GSL::Vectorc::gsl_vector_subvector", _wrap_gsl_vector_subvector},
12830 {"Math::GSL::Vectorc::gsl_vector_subvector_with_stride", _wrap_gsl_vector_subvector_with_stride},
12831 {"Math::GSL::Vectorc::gsl_vector_const_subvector", _wrap_gsl_vector_const_subvector},
12832 {"Math::GSL::Vectorc::gsl_vector_const_subvector_with_stride", _wrap_gsl_vector_const_subvector_with_stride},
12833 {"Math::GSL::Vectorc::gsl_vector_set_zero", _wrap_gsl_vector_set_zero},
12834 {"Math::GSL::Vectorc::gsl_vector_set_all", _wrap_gsl_vector_set_all},
12835 {"Math::GSL::Vectorc::gsl_vector_set_basis", _wrap_gsl_vector_set_basis},
12836 {"Math::GSL::Vectorc::gsl_vector_fread", _wrap_gsl_vector_fread},
12837 {"Math::GSL::Vectorc::gsl_vector_fwrite", _wrap_gsl_vector_fwrite},
12838 {"Math::GSL::Vectorc::gsl_vector_fscanf", _wrap_gsl_vector_fscanf},
12839 {"Math::GSL::Vectorc::gsl_vector_fprintf", _wrap_gsl_vector_fprintf},
12840 {"Math::GSL::Vectorc::gsl_vector_memcpy", _wrap_gsl_vector_memcpy},
12841 {"Math::GSL::Vectorc::gsl_vector_reverse", _wrap_gsl_vector_reverse},
12842 {"Math::GSL::Vectorc::gsl_vector_swap", _wrap_gsl_vector_swap},
12843 {"Math::GSL::Vectorc::gsl_vector_swap_elements", _wrap_gsl_vector_swap_elements},
12844 {"Math::GSL::Vectorc::gsl_vector_max", _wrap_gsl_vector_max},
12845 {"Math::GSL::Vectorc::gsl_vector_min", _wrap_gsl_vector_min},
12846 {"Math::GSL::Vectorc::gsl_vector_minmax", _wrap_gsl_vector_minmax},
12847 {"Math::GSL::Vectorc::gsl_vector_max_index", _wrap_gsl_vector_max_index},
12848 {"Math::GSL::Vectorc::gsl_vector_min_index", _wrap_gsl_vector_min_index},
12849 {"Math::GSL::Vectorc::gsl_vector_minmax_index", _wrap_gsl_vector_minmax_index},
12850 {"Math::GSL::Vectorc::gsl_vector_add", _wrap_gsl_vector_add},
12851 {"Math::GSL::Vectorc::gsl_vector_sub", _wrap_gsl_vector_sub},
12852 {"Math::GSL::Vectorc::gsl_vector_mul", _wrap_gsl_vector_mul},
12853 {"Math::GSL::Vectorc::gsl_vector_div", _wrap_gsl_vector_div},
12854 {"Math::GSL::Vectorc::gsl_vector_scale", _wrap_gsl_vector_scale},
12855 {"Math::GSL::Vectorc::gsl_vector_add_constant", _wrap_gsl_vector_add_constant},
12856 {"Math::GSL::Vectorc::gsl_vector_axpby", _wrap_gsl_vector_axpby},
12857 {"Math::GSL::Vectorc::gsl_vector_sum", _wrap_gsl_vector_sum},
12858 {"Math::GSL::Vectorc::gsl_vector_equal", _wrap_gsl_vector_equal},
12859 {"Math::GSL::Vectorc::gsl_vector_isnull", _wrap_gsl_vector_isnull},
12860 {"Math::GSL::Vectorc::gsl_vector_ispos", _wrap_gsl_vector_ispos},
12861 {"Math::GSL::Vectorc::gsl_vector_isneg", _wrap_gsl_vector_isneg},
12862 {"Math::GSL::Vectorc::gsl_vector_isnonneg", _wrap_gsl_vector_isnonneg},
12863 {"Math::GSL::Vectorc::gsl_vector_get", _wrap_gsl_vector_get},
12864 {"Math::GSL::Vectorc::gsl_vector_set", _wrap_gsl_vector_set},
12865 {"Math::GSL::Vectorc::gsl_vector_ptr", _wrap_gsl_vector_ptr},
12866 {"Math::GSL::Vectorc::gsl_vector_const_ptr", _wrap_gsl_vector_const_ptr},
12867 {"Math::GSL::Vectorc::gsl_vector_int_size_set", _wrap_gsl_vector_int_size_set},
12868 {"Math::GSL::Vectorc::gsl_vector_int_size_get", _wrap_gsl_vector_int_size_get},
12869 {"Math::GSL::Vectorc::gsl_vector_int_stride_set", _wrap_gsl_vector_int_stride_set},
12870 {"Math::GSL::Vectorc::gsl_vector_int_stride_get", _wrap_gsl_vector_int_stride_get},
12871 {"Math::GSL::Vectorc::gsl_vector_int_data_set", _wrap_gsl_vector_int_data_set},
12872 {"Math::GSL::Vectorc::gsl_vector_int_data_get", _wrap_gsl_vector_int_data_get},
12873 {"Math::GSL::Vectorc::gsl_vector_int_block_set", _wrap_gsl_vector_int_block_set},
12874 {"Math::GSL::Vectorc::gsl_vector_int_block_get", _wrap_gsl_vector_int_block_get},
12875 {"Math::GSL::Vectorc::gsl_vector_int_owner_set", _wrap_gsl_vector_int_owner_set},
12876 {"Math::GSL::Vectorc::gsl_vector_int_owner_get", _wrap_gsl_vector_int_owner_get},
12877 {"Math::GSL::Vectorc::new_gsl_vector_int", _wrap_new_gsl_vector_int},
12878 {"Math::GSL::Vectorc::delete_gsl_vector_int", _wrap_delete_gsl_vector_int},
12879 {"Math::GSL::Vectorc::_gsl_vector_int_view_vector_set", _wrap__gsl_vector_int_view_vector_set},
12880 {"Math::GSL::Vectorc::_gsl_vector_int_view_vector_get", _wrap__gsl_vector_int_view_vector_get},
12881 {"Math::GSL::Vectorc::new__gsl_vector_int_view", _wrap_new__gsl_vector_int_view},
12882 {"Math::GSL::Vectorc::delete__gsl_vector_int_view", _wrap_delete__gsl_vector_int_view},
12883 {"Math::GSL::Vectorc::_gsl_vector_int_const_view_vector_set", _wrap__gsl_vector_int_const_view_vector_set},
12884 {"Math::GSL::Vectorc::_gsl_vector_int_const_view_vector_get", _wrap__gsl_vector_int_const_view_vector_get},
12885 {"Math::GSL::Vectorc::new__gsl_vector_int_const_view", _wrap_new__gsl_vector_int_const_view},
12886 {"Math::GSL::Vectorc::delete__gsl_vector_int_const_view", _wrap_delete__gsl_vector_int_const_view},
12887 {"Math::GSL::Vectorc::gsl_vector_int_alloc", _wrap_gsl_vector_int_alloc},
12888 {"Math::GSL::Vectorc::gsl_vector_int_calloc", _wrap_gsl_vector_int_calloc},
12889 {"Math::GSL::Vectorc::gsl_vector_int_alloc_from_block", _wrap_gsl_vector_int_alloc_from_block},
12890 {"Math::GSL::Vectorc::gsl_vector_int_alloc_from_vector", _wrap_gsl_vector_int_alloc_from_vector},
12891 {"Math::GSL::Vectorc::gsl_vector_int_free", _wrap_gsl_vector_int_free},
12892 {"Math::GSL::Vectorc::gsl_vector_int_view_array", _wrap_gsl_vector_int_view_array},
12893 {"Math::GSL::Vectorc::gsl_vector_int_view_array_with_stride", _wrap_gsl_vector_int_view_array_with_stride},
12894 {"Math::GSL::Vectorc::gsl_vector_int_const_view_array", _wrap_gsl_vector_int_const_view_array},
12895 {"Math::GSL::Vectorc::gsl_vector_int_const_view_array_with_stride", _wrap_gsl_vector_int_const_view_array_with_stride},
12896 {"Math::GSL::Vectorc::gsl_vector_int_subvector", _wrap_gsl_vector_int_subvector},
12897 {"Math::GSL::Vectorc::gsl_vector_int_subvector_with_stride", _wrap_gsl_vector_int_subvector_with_stride},
12898 {"Math::GSL::Vectorc::gsl_vector_int_const_subvector", _wrap_gsl_vector_int_const_subvector},
12899 {"Math::GSL::Vectorc::gsl_vector_int_const_subvector_with_stride", _wrap_gsl_vector_int_const_subvector_with_stride},
12900 {"Math::GSL::Vectorc::gsl_vector_int_set_zero", _wrap_gsl_vector_int_set_zero},
12901 {"Math::GSL::Vectorc::gsl_vector_int_set_all", _wrap_gsl_vector_int_set_all},
12902 {"Math::GSL::Vectorc::gsl_vector_int_set_basis", _wrap_gsl_vector_int_set_basis},
12903 {"Math::GSL::Vectorc::gsl_vector_int_fread", _wrap_gsl_vector_int_fread},
12904 {"Math::GSL::Vectorc::gsl_vector_int_fwrite", _wrap_gsl_vector_int_fwrite},
12905 {"Math::GSL::Vectorc::gsl_vector_int_fscanf", _wrap_gsl_vector_int_fscanf},
12906 {"Math::GSL::Vectorc::gsl_vector_int_fprintf", _wrap_gsl_vector_int_fprintf},
12907 {"Math::GSL::Vectorc::gsl_vector_int_memcpy", _wrap_gsl_vector_int_memcpy},
12908 {"Math::GSL::Vectorc::gsl_vector_int_reverse", _wrap_gsl_vector_int_reverse},
12909 {"Math::GSL::Vectorc::gsl_vector_int_swap", _wrap_gsl_vector_int_swap},
12910 {"Math::GSL::Vectorc::gsl_vector_int_swap_elements", _wrap_gsl_vector_int_swap_elements},
12911 {"Math::GSL::Vectorc::gsl_vector_int_max", _wrap_gsl_vector_int_max},
12912 {"Math::GSL::Vectorc::gsl_vector_int_min", _wrap_gsl_vector_int_min},
12913 {"Math::GSL::Vectorc::gsl_vector_int_minmax", _wrap_gsl_vector_int_minmax},
12914 {"Math::GSL::Vectorc::gsl_vector_int_max_index", _wrap_gsl_vector_int_max_index},
12915 {"Math::GSL::Vectorc::gsl_vector_int_min_index", _wrap_gsl_vector_int_min_index},
12916 {"Math::GSL::Vectorc::gsl_vector_int_minmax_index", _wrap_gsl_vector_int_minmax_index},
12917 {"Math::GSL::Vectorc::gsl_vector_int_add", _wrap_gsl_vector_int_add},
12918 {"Math::GSL::Vectorc::gsl_vector_int_sub", _wrap_gsl_vector_int_sub},
12919 {"Math::GSL::Vectorc::gsl_vector_int_mul", _wrap_gsl_vector_int_mul},
12920 {"Math::GSL::Vectorc::gsl_vector_int_div", _wrap_gsl_vector_int_div},
12921 {"Math::GSL::Vectorc::gsl_vector_int_scale", _wrap_gsl_vector_int_scale},
12922 {"Math::GSL::Vectorc::gsl_vector_int_add_constant", _wrap_gsl_vector_int_add_constant},
12923 {"Math::GSL::Vectorc::gsl_vector_int_axpby", _wrap_gsl_vector_int_axpby},
12924 {"Math::GSL::Vectorc::gsl_vector_int_sum", _wrap_gsl_vector_int_sum},
12925 {"Math::GSL::Vectorc::gsl_vector_int_equal", _wrap_gsl_vector_int_equal},
12926 {"Math::GSL::Vectorc::gsl_vector_int_isnull", _wrap_gsl_vector_int_isnull},
12927 {"Math::GSL::Vectorc::gsl_vector_int_ispos", _wrap_gsl_vector_int_ispos},
12928 {"Math::GSL::Vectorc::gsl_vector_int_isneg", _wrap_gsl_vector_int_isneg},
12929 {"Math::GSL::Vectorc::gsl_vector_int_isnonneg", _wrap_gsl_vector_int_isnonneg},
12930 {"Math::GSL::Vectorc::gsl_vector_int_get", _wrap_gsl_vector_int_get},
12931 {"Math::GSL::Vectorc::gsl_vector_int_set", _wrap_gsl_vector_int_set},
12932 {"Math::GSL::Vectorc::gsl_vector_int_ptr", _wrap_gsl_vector_int_ptr},
12933 {"Math::GSL::Vectorc::gsl_vector_int_const_ptr", _wrap_gsl_vector_int_const_ptr},
12934 {0,0}
12935 };
12936 /* -----------------------------------------------------------------------------
12937 * Type initialization:
12938 * This problem is tough by the requirement that no dynamic
12939 * memory is used. Also, since swig_type_info structures store pointers to
12940 * swig_cast_info structures and swig_cast_info structures store pointers back
12941 * to swig_type_info structures, we need some lookup code at initialization.
12942 * The idea is that swig generates all the structures that are needed.
12943 * The runtime then collects these partially filled structures.
12944 * The SWIG_InitializeModule function takes these initial arrays out of
12945 * swig_module, and does all the lookup, filling in the swig_module.types
12946 * array with the correct data and linking the correct swig_cast_info
12947 * structures together.
12948 *
12949 * The generated swig_type_info structures are assigned statically to an initial
12950 * array. We just loop through that array, and handle each type individually.
12951 * First we lookup if this type has been already loaded, and if so, use the
12952 * loaded structure instead of the generated one. Then we have to fill in the
12953 * cast linked list. The cast data is initially stored in something like a
12954 * two-dimensional array. Each row corresponds to a type (there are the same
12955 * number of rows as there are in the swig_type_initial array). Each entry in
12956 * a column is one of the swig_cast_info structures for that type.
12957 * The cast_initial array is actually an array of arrays, because each row has
12958 * a variable number of columns. So to actually build the cast linked list,
12959 * we find the array of casts associated with the type, and loop through it
12960 * adding the casts to the list. The one last trick we need to do is making
12961 * sure the type pointer in the swig_cast_info struct is correct.
12962 *
12963 * First off, we lookup the cast->type name to see if it is already loaded.
12964 * There are three cases to handle:
12965 * 1) If the cast->type has already been loaded AND the type we are adding
12966 * casting info to has not been loaded (it is in this module), THEN we
12967 * replace the cast->type pointer with the type pointer that has already
12968 * been loaded.
12969 * 2) If BOTH types (the one we are adding casting info to, and the
12970 * cast->type) are loaded, THEN the cast info has already been loaded by
12971 * the previous module so we just ignore it.
12972 * 3) Finally, if cast->type has not already been loaded, then we add that
12973 * swig_cast_info to the linked list (because the cast->type) pointer will
12974 * be correct.
12975 * ----------------------------------------------------------------------------- */
12976  
12977 #ifdef __cplusplus
12978 extern "C" {
12979 #if 0
12980 } /* c-mode */
12981 #endif
12982 #endif
12983  
12984 #if 0
12985 #define SWIGRUNTIME_DEBUG
12986 #endif
12987  
12988 #ifndef SWIG_INIT_CLIENT_DATA_TYPE
12989 #define SWIG_INIT_CLIENT_DATA_TYPE void *
12990 #endif
12991  
12992 SWIGRUNTIME void
12993 0 SWIG_InitializeModule(SWIG_INIT_CLIENT_DATA_TYPE clientdata) {
12994 size_t i;
12995 swig_module_info *module_head, *iter;
12996 int init;
12997
12998 /* check to see if the circular list has been setup, if not, set it up */
12999 0 ▶ if (swig_module.next==0) {
Branch: 1 branch
BranchTrueFalseTotal
if (swig_module.next==0) { 0 0 0
13000 /* Initialize the swig_module */
13001 0 swig_module.type_initial = swig_type_initial;
13002 0 swig_module.cast_initial = swig_cast_initial;
13003 0 swig_module.next = &swig_module;
13004 0 init = 1;
13005 } else {
13006 0 init = 0;
13007 }
13008
13009 /* Try and load any already created modules */
13010 0 module_head = SWIG_GetModule(clientdata);
13011 0 ▶ if (!module_head) {
Branch: 1 branch
BranchTrueFalseTotal
if (!module_head) { 0 0 0
13012 /* This is the first module loaded for this interpreter */
13013 /* so set the swig module into the interpreter */
13014 0 SWIG_SetModule(clientdata, &swig_module);
13015 } else {
13016 /* the interpreter has loaded a SWIG module, but has it loaded this one? */
13017 0 iter=module_head;
13018 do {
13019 0 ▶ if (iter==&swig_module) {
Branch: 1 branch
BranchTrueFalseTotal
if (iter==&swig_module) { 0 0 0
13020 /* Our module is already in the list, so there's nothing more to do. */
13021 0 return;
13022 }
13023 0 iter=iter->next;
13024 0 ▶ } while (iter!= module_head);
Branch: 1 branch
BranchTrueFalseTotal
} while (iter!= module_head); 0 0 0
13025
13026 /* otherwise we must add our module into the list */
13027 0 swig_module.next = module_head->next;
13028 0 module_head->next = &swig_module;
13029 }
13030
13031 /* When multiple interpreters are used, a module could have already been initialized in
13032 a different interpreter, but not yet have a pointer in this interpreter.
13033 In this case, we do not want to continue adding types... everything should be
13034 set up already */
13035 0 ▶ if (init == 0) return;
Branch: 1 branch
BranchTrueFalseTotal
if (init == 0) return; 0 0 0
13036
13037 /* Now work on filling in swig_module.types */
13038 #ifdef SWIGRUNTIME_DEBUG
13039 printf("SWIG_InitializeModule: size %lu\n", (unsigned long)swig_module.size);
13040 #endif
13041 0 ▶ for (i = 0; i < swig_module.size; ++i) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; i < swig_module.size; ++i) { 0 0 0
13042 0 swig_type_info *type = 0;
13043 swig_type_info *ret;
13044 swig_cast_info *cast;
13045
13046 #ifdef SWIGRUNTIME_DEBUG
13047 printf("SWIG_InitializeModule: type %lu %s\n", (unsigned long)i, swig_module.type_initial[i]->name);
13048 #endif
13049
13050 /* if there is another module already loaded */
13051 0 ▶ if (swig_module.next != &swig_module) {
Branch: 1 branch
BranchTrueFalseTotal
if (swig_module.next != &swig_module) { 0 0 0
13052 0 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
13053 }
13054 0 ▶ if (type) {
Branch: 1 branch
BranchTrueFalseTotal
if (type) { 0 0 0
13055 /* Overwrite clientdata field */
13056 #ifdef SWIGRUNTIME_DEBUG
13057 printf("SWIG_InitializeModule: found type %s\n", type->name);
13058 #endif
13059 0 ▶ if (swig_module.type_initial[i]->clientdata) {
Branch: 1 branch
BranchTrueFalseTotal
if (swig_module.type_initial[i]->clientdata) { 0 0 0
13060 0 type->clientdata = swig_module.type_initial[i]->clientdata;
13061 #ifdef SWIGRUNTIME_DEBUG
13062 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
13063 #endif
13064 }
13065 } else {
13066 0 type = swig_module.type_initial[i];
13067 }
13068
13069 /* Insert casting types */
13070 0 cast = swig_module.cast_initial[i];
13071 0 ▶ while (cast->type) {
Branch: 1 branch
BranchTrueFalseTotal
while (cast->type) { 0 0 0
13072 /* Don't need to add information already in the list */
13073 0 ret = 0;
13074 #ifdef SWIGRUNTIME_DEBUG
13075 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
13076 #endif
13077 0 ▶ if (swig_module.next != &swig_module) {
Branch: 1 branch
BranchTrueFalseTotal
if (swig_module.next != &swig_module) { 0 0 0
13078 0 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
13079 #ifdef SWIGRUNTIME_DEBUG
13080 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
13081 #endif
13082 }
13083 0 ▶ if (ret) {
Branch: 1 branch
BranchTrueFalseTotal
if (ret) { 0 0 0
13084 0 ▶ if (type == swig_module.type_initial[i]) {
Branch: 1 branch
BranchTrueFalseTotal
if (type == swig_module.type_initial[i]) { 0 0 0
13085 #ifdef SWIGRUNTIME_DEBUG
13086 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
13087 #endif
13088 0 cast->type = ret;
13089 0 ret = 0;
13090 } else {
13091 /* Check for casting already in the list */
13092 0 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
13093 #ifdef SWIGRUNTIME_DEBUG
13094 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
13095 #endif
13096 0 ▶ if (!ocast) ret = 0;
Branch: 1 branch
BranchTrueFalseTotal
if (!ocast) ret = 0; 0 0 0
13097 }
13098 }
13099
13100 0 ▶ if (!ret) {
Branch: 1 branch
BranchTrueFalseTotal
if (!ret) { 0 0 0
13101 #ifdef SWIGRUNTIME_DEBUG
13102 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
13103 #endif
13104 0 ▶ if (type->cast) {
Branch: 1 branch
BranchTrueFalseTotal
if (type->cast) { 0 0 0
13105 0 type->cast->prev = cast;
13106 0 cast->next = type->cast;
13107 }
13108 0 type->cast = cast;
13109 }
13110 0 cast++;
13111 }
13112 /* Set entry in modules->types array equal to the type */
13113 0 swig_module.types[i] = type;
13114 }
13115 0 swig_module.types[i] = 0;
13116
13117 #ifdef SWIGRUNTIME_DEBUG
13118 printf("**** SWIG_InitializeModule: Cast List ******\n");
13119 for (i = 0; i < swig_module.size; ++i) {
13120 int j = 0;
13121 swig_cast_info *cast = swig_module.cast_initial[i];
13122 printf("SWIG_InitializeModule: type %lu %s\n", (unsigned long)i, swig_module.type_initial[i]->name);
13123 while (cast->type) {
13124 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
13125 cast++;
13126 ++j;
13127 }
13128 printf("---- Total casts: %d\n",j);
13129 }
13130 printf("**** SWIG_InitializeModule: Cast List ******\n");
13131 #endif
13132 }
13133  
13134 /* This function will propagate the clientdata field of type to
13135 * any new swig_type_info structures that have been added into the list
13136 * of equivalent types. It is like calling
13137 * SWIG_TypeClientData(type, clientdata) a second time.
13138 */
13139 SWIGRUNTIME void
13140 0 SWIG_PropagateClientData(void) {
13141 size_t i;
13142 swig_cast_info *equiv;
13143 static int init_run = 0;
13144
13145 0 ▶ if (init_run) return;
Branch: 1 branch
BranchTrueFalseTotal
if (init_run) return; 0 0 0
13146 0 init_run = 1;
13147
13148 0 ▶ for (i = 0; i < swig_module.size; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; i < swig_module.size; i++) { 0 0 0
13149 0 ▶ if (swig_module.types[i]->clientdata) {
Branch: 1 branch
BranchTrueFalseTotal
if (swig_module.types[i]->clientdata) { 0 0 0
13150 0 equiv = swig_module.types[i]->cast;
13151 0 ▶ while (equiv) {
Branch: 1 branch
BranchTrueFalseTotal
while (equiv) { 0 0 0
13152 0 ▶ if (!equiv->converter) {
Branch: 1 branch
BranchTrueFalseTotal
if (!equiv->converter) { 0 0 0
13153 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
13154 0 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
13155 }
13156 0 equiv = equiv->next;
13157 }
13158 }
13159 }
13160 }
13161  
13162 #ifdef __cplusplus
13163 #if 0
13164 {
13165 /* c-mode */
13166 #endif
13167 }
13168 #endif
13169  
13170  
13171  
13172 #if defined(__cplusplus) && ! defined(XSPROTO)
13173 extern "C"
13174 #endif
13175  
13176 0 XS(SWIG_init) {
13177 0 dXSARGS;
13178 int i;
13179 (void)items;
13180
13181 0 SWIG_InitializeModule(0);
13182
13183 /* Install commands */
13184 0 ▶ for (i = 0; swig_commands[i].name; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; swig_commands[i].name; i++) { 0 0 0
13185 /* Casts only needed for Perl < 5.10. */
13186 #ifdef __cplusplus
13187 newXS(const_cast<char*>(swig_commands[i].name), swig_commands[i].wrapper, const_cast<char*>(__FILE__));
13188 #else
13189 0 newXS((char*)swig_commands[i].name, swig_commands[i].wrapper, (char*)__FILE__);
13190 #endif
13191 }
13192
13193 /* Install variables */
13194 0 ▶ for (i = 0; swig_variables[i].name; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; swig_variables[i].name; i++) { 0 0 0
13195 SV *sv;
13196 0 sv = get_sv(swig_variables[i].name, TRUE | 0x2 | GV_ADDMULTI);
13197 0 ▶ if (swig_variables[i].type) {
Branch: 1 branch
BranchTrueFalseTotal
if (swig_variables[i].type) { 0 0 0
13198 0 SWIG_MakePtr(sv,(void *)1, *swig_variables[i].type,0);
13199 } else {
13200 0 sv_setiv(sv,(IV) 0);
13201 }
13202 0 swig_create_magic(sv, swig_variables[i].name, swig_variables[i].set, swig_variables[i].get);
13203 }
13204
13205 /* Install constant */
13206 0 ▶ for (i = 0; swig_constants[i].type; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; swig_constants[i].type; i++) { 0 0 0
13207 SV *sv;
13208 0 sv = get_sv(swig_constants[i].name, TRUE | 0x2 | GV_ADDMULTI);
13209 0 switch(swig_constants[i].type) {
13210 0 case SWIG_INT:
13211 0 sv_setiv(sv, (IV) swig_constants[i].lvalue);
13212 0 break;
13213 0 case SWIG_FLOAT:
13214 0 sv_setnv(sv, (double) swig_constants[i].dvalue);
13215 0 break;
13216 0 case SWIG_STRING:
13217 0 sv_setpv(sv, (const char *) swig_constants[i].pvalue);
13218 0 break;
13219 0 case SWIG_POINTER:
13220 0 SWIG_MakePtr(sv, swig_constants[i].pvalue, *(swig_constants[i].ptype),0);
13221 0 break;
13222 0 case SWIG_BINARY:
13223 0 SWIG_MakePackedObj(sv, swig_constants[i].pvalue, swig_constants[i].lvalue, *(swig_constants[i].ptype));
13224 0 break;
13225 0 default:
13226 0 break;
13227 }
13228 0 SvREADONLY_on(sv);
13229 }
13230
13231 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13232 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_VERSION", TRUE | 0x2 | GV_ADDMULTI);
13233 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(2.8)));
13234 0 SvREADONLY_on(sv);
13235 } while(0) /*@SWIG@*/;
13236 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13237 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_MAJOR_VERSION", TRUE | 0x2 | GV_ADDMULTI);
13238 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(2)));
13239 0 SvREADONLY_on(sv);
13240 } while(0) /*@SWIG@*/;
13241 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13242 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_MINOR_VERSION", TRUE | 0x2 | GV_ADDMULTI);
13243 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(8)));
13244 0 SvREADONLY_on(sv);
13245 } while(0) /*@SWIG@*/;
13246 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13247 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_POSZERO", TRUE | 0x2 | GV_ADDMULTI);
13248 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)((+0.0))));
13249 0 SvREADONLY_on(sv);
13250 } while(0) /*@SWIG@*/;
13251 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13252 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_NEGZERO", TRUE | 0x2 | GV_ADDMULTI);
13253 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)((-0.0))));
13254 0 SvREADONLY_on(sv);
13255 } while(0) /*@SWIG@*/;
13256 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13257 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_SUCCESS", TRUE | 0x2 | GV_ADDMULTI);
13258 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_SUCCESS)));
13259 0 SvREADONLY_on(sv);
13260 } while(0) /*@SWIG@*/;
13261 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13262 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_FAILURE", TRUE | 0x2 | GV_ADDMULTI);
13263 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_FAILURE)));
13264 0 SvREADONLY_on(sv);
13265 } while(0) /*@SWIG@*/;
13266 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13267 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_CONTINUE", TRUE | 0x2 | GV_ADDMULTI);
13268 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_CONTINUE)));
13269 0 SvREADONLY_on(sv);
13270 } while(0) /*@SWIG@*/;
13271 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13272 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EDOM", TRUE | 0x2 | GV_ADDMULTI);
13273 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EDOM)));
13274 0 SvREADONLY_on(sv);
13275 } while(0) /*@SWIG@*/;
13276 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13277 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ERANGE", TRUE | 0x2 | GV_ADDMULTI);
13278 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ERANGE)));
13279 0 SvREADONLY_on(sv);
13280 } while(0) /*@SWIG@*/;
13281 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13282 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EFAULT", TRUE | 0x2 | GV_ADDMULTI);
13283 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EFAULT)));
13284 0 SvREADONLY_on(sv);
13285 } while(0) /*@SWIG@*/;
13286 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13287 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EINVAL", TRUE | 0x2 | GV_ADDMULTI);
13288 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EINVAL)));
13289 0 SvREADONLY_on(sv);
13290 } while(0) /*@SWIG@*/;
13291 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13292 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EFAILED", TRUE | 0x2 | GV_ADDMULTI);
13293 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EFAILED)));
13294 0 SvREADONLY_on(sv);
13295 } while(0) /*@SWIG@*/;
13296 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13297 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EFACTOR", TRUE | 0x2 | GV_ADDMULTI);
13298 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EFACTOR)));
13299 0 SvREADONLY_on(sv);
13300 } while(0) /*@SWIG@*/;
13301 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13302 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ESANITY", TRUE | 0x2 | GV_ADDMULTI);
13303 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ESANITY)));
13304 0 SvREADONLY_on(sv);
13305 } while(0) /*@SWIG@*/;
13306 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13307 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ENOMEM", TRUE | 0x2 | GV_ADDMULTI);
13308 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ENOMEM)));
13309 0 SvREADONLY_on(sv);
13310 } while(0) /*@SWIG@*/;
13311 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13312 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EBADFUNC", TRUE | 0x2 | GV_ADDMULTI);
13313 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EBADFUNC)));
13314 0 SvREADONLY_on(sv);
13315 } while(0) /*@SWIG@*/;
13316 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13317 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ERUNAWAY", TRUE | 0x2 | GV_ADDMULTI);
13318 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ERUNAWAY)));
13319 0 SvREADONLY_on(sv);
13320 } while(0) /*@SWIG@*/;
13321 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13322 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EMAXITER", TRUE | 0x2 | GV_ADDMULTI);
13323 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EMAXITER)));
13324 0 SvREADONLY_on(sv);
13325 } while(0) /*@SWIG@*/;
13326 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13327 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EZERODIV", TRUE | 0x2 | GV_ADDMULTI);
13328 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EZERODIV)));
13329 0 SvREADONLY_on(sv);
13330 } while(0) /*@SWIG@*/;
13331 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13332 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EBADTOL", TRUE | 0x2 | GV_ADDMULTI);
13333 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EBADTOL)));
13334 0 SvREADONLY_on(sv);
13335 } while(0) /*@SWIG@*/;
13336 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13337 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ETOL", TRUE | 0x2 | GV_ADDMULTI);
13338 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ETOL)));
13339 0 SvREADONLY_on(sv);
13340 } while(0) /*@SWIG@*/;
13341 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13342 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EUNDRFLW", TRUE | 0x2 | GV_ADDMULTI);
13343 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EUNDRFLW)));
13344 0 SvREADONLY_on(sv);
13345 } while(0) /*@SWIG@*/;
13346 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13347 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EOVRFLW", TRUE | 0x2 | GV_ADDMULTI);
13348 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EOVRFLW)));
13349 0 SvREADONLY_on(sv);
13350 } while(0) /*@SWIG@*/;
13351 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13352 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ELOSS", TRUE | 0x2 | GV_ADDMULTI);
13353 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ELOSS)));
13354 0 SvREADONLY_on(sv);
13355 } while(0) /*@SWIG@*/;
13356 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13357 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EROUND", TRUE | 0x2 | GV_ADDMULTI);
13358 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EROUND)));
13359 0 SvREADONLY_on(sv);
13360 } while(0) /*@SWIG@*/;
13361 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13362 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EBADLEN", TRUE | 0x2 | GV_ADDMULTI);
13363 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EBADLEN)));
13364 0 SvREADONLY_on(sv);
13365 } while(0) /*@SWIG@*/;
13366 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13367 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ENOTSQR", TRUE | 0x2 | GV_ADDMULTI);
13368 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ENOTSQR)));
13369 0 SvREADONLY_on(sv);
13370 } while(0) /*@SWIG@*/;
13371 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13372 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ESING", TRUE | 0x2 | GV_ADDMULTI);
13373 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ESING)));
13374 0 SvREADONLY_on(sv);
13375 } while(0) /*@SWIG@*/;
13376 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13377 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EDIVERGE", TRUE | 0x2 | GV_ADDMULTI);
13378 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EDIVERGE)));
13379 0 SvREADONLY_on(sv);
13380 } while(0) /*@SWIG@*/;
13381 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13382 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EUNSUP", TRUE | 0x2 | GV_ADDMULTI);
13383 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EUNSUP)));
13384 0 SvREADONLY_on(sv);
13385 } while(0) /*@SWIG@*/;
13386 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13387 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EUNIMPL", TRUE | 0x2 | GV_ADDMULTI);
13388 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EUNIMPL)));
13389 0 SvREADONLY_on(sv);
13390 } while(0) /*@SWIG@*/;
13391 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13392 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ECACHE", TRUE | 0x2 | GV_ADDMULTI);
13393 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ECACHE)));
13394 0 SvREADONLY_on(sv);
13395 } while(0) /*@SWIG@*/;
13396 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13397 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ETABLE", TRUE | 0x2 | GV_ADDMULTI);
13398 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ETABLE)));
13399 0 SvREADONLY_on(sv);
13400 } while(0) /*@SWIG@*/;
13401 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13402 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ENOPROG", TRUE | 0x2 | GV_ADDMULTI);
13403 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ENOPROG)));
13404 0 SvREADONLY_on(sv);
13405 } while(0) /*@SWIG@*/;
13406 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13407 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ENOPROGJ", TRUE | 0x2 | GV_ADDMULTI);
13408 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ENOPROGJ)));
13409 0 SvREADONLY_on(sv);
13410 } while(0) /*@SWIG@*/;
13411 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13412 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ETOLF", TRUE | 0x2 | GV_ADDMULTI);
13413 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ETOLF)));
13414 0 SvREADONLY_on(sv);
13415 } while(0) /*@SWIG@*/;
13416 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13417 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ETOLX", TRUE | 0x2 | GV_ADDMULTI);
13418 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ETOLX)));
13419 0 SvREADONLY_on(sv);
13420 } while(0) /*@SWIG@*/;
13421 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13422 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ETOLG", TRUE | 0x2 | GV_ADDMULTI);
13423 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ETOLG)));
13424 0 SvREADONLY_on(sv);
13425 } while(0) /*@SWIG@*/;
13426 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
13427 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EOF", TRUE | 0x2 | GV_ADDMULTI);
13428 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EOF)));
13429 0 SvREADONLY_on(sv);
13430 } while(0) /*@SWIG@*/;
13431 0 SWIG_TypeClientData(SWIGTYPE_p_gsl_vector_char, (void*) "Math::GSL::Vector::gsl_vector_char");
13432 0 SWIG_TypeClientData(SWIGTYPE_p__gsl_vector_char_view, (void*) "Math::GSL::Vector::_gsl_vector_char_view");
13433 0 SWIG_TypeClientData(SWIGTYPE_p__gsl_vector_char_const_view, (void*) "Math::GSL::Vector::_gsl_vector_char_const_view");
13434 0 SWIG_TypeClientData(SWIGTYPE_p_gsl_vector_complex, (void*) "Math::GSL::Vector::gsl_vector_complex");
13435 0 SWIG_TypeClientData(SWIGTYPE_p__gsl_vector_complex_view, (void*) "Math::GSL::Vector::_gsl_vector_complex_view");
13436 0 SWIG_TypeClientData(SWIGTYPE_p__gsl_vector_complex_const_view, (void*) "Math::GSL::Vector::_gsl_vector_complex_const_view");
13437 0 SWIG_TypeClientData(SWIGTYPE_p_gsl_vector, (void*) "Math::GSL::Vector::gsl_vector");
13438 0 SWIG_TypeClientData(SWIGTYPE_p__gsl_vector_view, (void*) "Math::GSL::Vector::_gsl_vector_view");
13439 0 SWIG_TypeClientData(SWIGTYPE_p__gsl_vector_const_view, (void*) "Math::GSL::Vector::_gsl_vector_const_view");
13440 0 SWIG_TypeClientData(SWIGTYPE_p_gsl_vector_int, (void*) "Math::GSL::Vector::gsl_vector_int");
13441 0 SWIG_TypeClientData(SWIGTYPE_p__gsl_vector_int_view, (void*) "Math::GSL::Vector::_gsl_vector_int_view");
13442 0 SWIG_TypeClientData(SWIGTYPE_p__gsl_vector_int_const_view, (void*) "Math::GSL::Vector::_gsl_vector_int_const_view");
13443 0 ST(0) = &PL_sv_yes;
13444 0 XSRETURN(1);
13445 }
13446  
« xs/VectorComplex_wrap.2.8.c ↑ Summary xs/Version_wrap.2.8.c »