xs/MatrixComplex_wrap.2.8.c

filter: Statementstmt 0.0% 0 / 5018 Branchbran 0.0% 0 / 2854 Conditioncond n/a MC/DCmcdc n/a Subroutinesub n/a Podpod n/a totaltotal 0.0% 0 / 7872 CC 0 SCAR 0
CC
0
Cov
0%
CRAP 0
« xs/Machine_wrap.2.8.c ↑ Summary xs/Matrix_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_CBLAS_DIAG swig_types[0]
1511 #define SWIGTYPE_p_CBLAS_INDEX swig_types[1]
1512 #define SWIGTYPE_p_CBLAS_ORDER swig_types[2]
1513 #define SWIGTYPE_p_CBLAS_SIDE swig_types[3]
1514 #define SWIGTYPE_p_CBLAS_TRANSPOSE swig_types[4]
1515 #define SWIGTYPE_p_CBLAS_UPLO swig_types[5]
1516 #define SWIGTYPE_p_FILE swig_types[6]
1517 #define SWIGTYPE_p__gsl_matrix_complex_const_view swig_types[7]
1518 #define SWIGTYPE_p__gsl_matrix_complex_view swig_types[8]
1519 #define SWIGTYPE_p__gsl_vector_complex_const_view swig_types[9]
1520 #define SWIGTYPE_p__gsl_vector_complex_view swig_types[10]
1521 #define SWIGTYPE_p__gsl_vector_const_view swig_types[11]
1522 #define SWIGTYPE_p__gsl_vector_view swig_types[12]
1523 #define SWIGTYPE_p_char swig_types[13]
1524 #define SWIGTYPE_p_double swig_types[14]
1525 #define SWIGTYPE_p_f_p_q_const__char_p_q_const__char_int_int__void swig_types[15]
1526 #define SWIGTYPE_p_f_p_q_const__char_p_q_const__char_int_p_q_const__char__void swig_types[16]
1527 #define SWIGTYPE_p_float swig_types[17]
1528 #define SWIGTYPE_p_gsl_block swig_types[18]
1529 #define SWIGTYPE_p_gsl_block_complex swig_types[19]
1530 #define SWIGTYPE_p_gsl_complex swig_types[20]
1531 #define SWIGTYPE_p_gsl_complex_float swig_types[21]
1532 #define SWIGTYPE_p_gsl_complex_long_double swig_types[22]
1533 #define SWIGTYPE_p_gsl_matrix_complex swig_types[23]
1534 #define SWIGTYPE_p_gsl_vector swig_types[24]
1535 #define SWIGTYPE_p_gsl_vector_complex swig_types[25]
1536 #define SWIGTYPE_p_long_double swig_types[26]
1537 #define SWIGTYPE_p_size_t swig_types[27]
1538 static swig_type_info *swig_types[29];
1539 static swig_module_info swig_module = {swig_types, 28, 0, 0, 0, 0};
1540 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1541 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
1542  
1543 /* -------- TYPES TABLE (END) -------- */
1544  
1545 #define SWIG_init boot_Math__GSL__MatrixComplex
1546  
1547 #define SWIG_name "Math::GSL::MatrixComplexc::boot_Math__GSL__MatrixComplex"
1548 #define SWIG_prefix "Math::GSL::MatrixComplexc::"
1549  
1550 #define SWIG_as_voidptr(a) (void *)((const void *)(a))
1551 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),(void**)(a))
1552  
1553  
1554 #ifdef __cplusplus
1555 extern "C"
1556 #endif
1557 #ifndef MULTIPLICITY
1558 SWIGEXPORT void SWIG_init (CV* cv);
1559 #else
1560 SWIGEXPORT void SWIG_init (pTHXo_ CV* cv);
1561 #endif
1562  
1563  
1564 SWIGINTERNINLINE SV *
1565 0 SWIG_From_double SWIG_PERL_DECL_ARGS_1(double value)
1566 {
1567 0 return sv_2mortal(newSVnv(value));
1568 }
1569  
1570  
1571 SWIGINTERNINLINE SV *
1572 0 SWIG_From_long SWIG_PERL_DECL_ARGS_1(long value)
1573 {
1574 SV *sv;
1575 if (IVSIZE >= sizeof(value) || (value >= IV_MIN && value <= IV_MAX))
1576 0 sv = newSViv(value);
1577 else
1578 sv = newSVpvf("%ld", value);
1579 0 return sv_2mortal(sv);
1580 }
1581  
1582  
1583 SWIGINTERNINLINE SV *
1584 0 SWIG_From_int SWIG_PERL_DECL_ARGS_1(int value)
1585 {
1586 0 return SWIG_From_long SWIG_PERL_CALL_ARGS_1(value);
1587 }
1588  
1589  
1590 SWIGINTERN swig_type_info*
1591 0 SWIG_pchar_descriptor(void)
1592 {
1593 static int init = 0;
1594 static swig_type_info* info = 0;
1595 0 ▶ if (!init) {
Branch: 1 branch
BranchTrueFalseTotal
if (!init) { 0 0 0
1596 0 info = SWIG_TypeQuery("_p_char");
1597 0 init = 1;
1598 }
1599 0 return info;
1600 }
1601  
1602  
1603 SWIGINTERN int
1604 0 SWIG_AsCharPtrAndSize(SV *obj, char** cptr, size_t* psize, int *alloc)
1605 {
1606 0 ▶ if (SvMAGICAL(obj)) {
Branch: 1 branch
BranchTrueFalseTotal
if (SvMAGICAL(obj)) { 0 0 0
1607 0 SV *tmp = sv_newmortal();
1608 0 ▶ SvSetSV(tmp, obj);
Branch: 1 branch
BranchTrueFalseTotal
SvSetSV(tmp, obj); 0 0 0
1609 0 obj = tmp;
1610 }
1611 0 ▶ if (SvPOK(obj)) {
Branch: 1 branch
BranchTrueFalseTotal
if (SvPOK(obj)) { 0 0 0
1612 0 STRLEN len = 0;
1613 0 char *cstr = SvPV(obj, len);
1614 0 size_t size = len + 1;
1615 0 ▶ if (cptr) {
Branch: 1 branch
BranchTrueFalseTotal
if (cptr) { 0 0 0
1616 0 ▶ if (alloc) {
Branch: 1 branch
BranchTrueFalseTotal
if (alloc) { 0 0 0
1617 0 ▶ if (*alloc == SWIG_NEWOBJ) {
Branch: 1 branch
BranchTrueFalseTotal
if (*alloc == SWIG_NEWOBJ) { 0 0 0
1618 0 *cptr = (char *)memcpy(malloc((size)*sizeof(char)), cstr, sizeof(char)*(size));
1619 } else {
1620 0 *cptr = cstr;
1621 0 *alloc = SWIG_OLDOBJ;
1622 }
1623 }
1624 }
1625 0 ▶ if (psize) *psize = size;
Branch: 1 branch
BranchTrueFalseTotal
if (psize) *psize = size; 0 0 0
1626 0 return SWIG_OK;
1627 } else {
1628 0 swig_type_info* pchar_descriptor = SWIG_pchar_descriptor();
1629 0 ▶ if (pchar_descriptor) {
Branch: 1 branch
BranchTrueFalseTotal
if (pchar_descriptor) { 0 0 0
1630 0 char* vptr = 0;
1631 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
1632 0 ▶ if (cptr) *cptr = vptr;
Branch: 1 branch
BranchTrueFalseTotal
if (cptr) *cptr = vptr; 0 0 0
1633 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
1634 0 ▶ if (alloc) *alloc = SWIG_OLDOBJ;
Branch: 1 branch
BranchTrueFalseTotal
if (alloc) *alloc = SWIG_OLDOBJ; 0 0 0
1635 0 return SWIG_OK;
1636 }
1637 }
1638 }
1639 0 return SWIG_TypeError;
1640 }
1641  
1642  
1643  
1644  
1645  
1646 #include <limits.h>
1647 #if !defined(SWIG_NO_LLONG_MAX)
1648 # if !defined(LLONG_MAX) && defined(__GNUC__) && defined (__LONG_LONG_MAX__)
1649 # define LLONG_MAX __LONG_LONG_MAX__
1650 # define LLONG_MIN (-LLONG_MAX - 1LL)
1651 # define ULLONG_MAX (LLONG_MAX * 2ULL + 1ULL)
1652 # endif
1653 #endif
1654  
1655  
1656 #include <stdlib.h>
1657 #ifdef _MSC_VER
1658 # ifndef strtoull
1659 # define strtoull _strtoui64
1660 # endif
1661 # ifndef strtoll
1662 # define strtoll _strtoi64
1663 # endif
1664 #endif
1665  
1666  
1667 SWIGINTERN int
1668 0 SWIG_AsVal_double SWIG_PERL_DECL_ARGS_2(SV *obj, double *val)
1669 {
1670 0 ▶ if (SvNIOK(obj)) {
Branch: 1 branch
BranchTrueFalseTotal
if (SvNIOK(obj)) { 0 0 0
1671 0 ▶ if (val) *val = SvNV(obj);
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = SvNV(obj); 0 0 0
1672 0 return SWIG_OK;
1673 0 ▶ } else if (SvIOK(obj)) {
Branch: 1 branch
BranchTrueFalseTotal
} else if (SvIOK(obj)) { 0 0 0
1674 0 ▶ if (val) *val = (double) SvIV(obj);
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = (double) SvIV(obj); 0 0 0
1675 0 return SWIG_AddCast(SWIG_OK);
1676 } else {
1677 0 const char *nptr = SvPV_nolen(obj);
1678 0 ▶ if (nptr) {
Branch: 1 branch
BranchTrueFalseTotal
if (nptr) { 0 0 0
1679 char *endptr;
1680 double v;
1681 0 errno = 0;
1682 0 v = strtod(nptr, &endptr);
1683 0 ▶ if (errno == ERANGE) {
Branch: 1 branch
BranchTrueFalseTotal
if (errno == ERANGE) { 0 0 0
1684 0 errno = 0;
1685 0 return SWIG_OverflowError;
1686 } else {
1687 0 ▶ if (*endptr == '\0') {
Branch: 1 branch
BranchTrueFalseTotal
if (*endptr == '\0') { 0 0 0
1688 0 ▶ if (val) *val = v;
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = v; 0 0 0
1689 0 return SWIG_Str2NumCast(SWIG_OK);
1690 }
1691 }
1692 }
1693 }
1694 0 return SWIG_TypeError;
1695 }
1696  
1697  
1698 #include <float.h>
1699  
1700  
1701 #include <math.h>
1702  
1703  
1704 SWIGINTERNINLINE int
1705 0 SWIG_CanCastAsInteger(double *d, double min, double max) {
1706 0 double x = *d;
1707 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
1708 double fx, cx, rd;
1709 0 errno = 0;
1710 0 fx = floor(x);
1711 0 cx = ceil(x);
1712 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
1713 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
1714 0 errno = 0;
1715 } else {
1716 double summ, reps, diff;
1717 0 ▶ if (rd < x) {
Branch: 1 branch
BranchTrueFalseTotal
if (rd < x) { 0 0 0
1718 0 diff = x - rd;
1719 0 ▶ } else if (rd > x) {
Branch: 1 branch
BranchTrueFalseTotal
} else if (rd > x) { 0 0 0
1720 0 diff = rd - x;
1721 } else {
1722 0 return 1;
1723 }
1724 0 summ = rd + x;
1725 0 reps = diff/summ;
1726 0 ▶ if (reps < 8*DBL_EPSILON) {
Branch: 1 branch
BranchTrueFalseTotal
if (reps < 8*DBL_EPSILON) { 0 0 0
1727 0 *d = rd;
1728 0 return 1;
1729 }
1730 }
1731 }
1732 0 return 0;
1733 }
1734  
1735  
1736 SWIGINTERN int
1737 0 SWIG_AsVal_long SWIG_PERL_DECL_ARGS_2(SV *obj, long* val)
1738 {
1739 0 ▶ if (SvUOK(obj)) {
Branch: 1 branch
BranchTrueFalseTotal
if (SvUOK(obj)) { 0 0 0
1740 0 UV v = SvUV(obj);
1741 0 ▶ if (UVSIZE < sizeof(*val) || v <= LONG_MAX) {
Branch: 1 branch
BranchTrueFalseTotal
if (UVSIZE < sizeof(*val) || v <= LONG_MAX) { 0 0 0
1742 0 ▶ if (val) *val = v;
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = v; 0 0 0
1743 0 return SWIG_OK;
1744 }
1745 0 return SWIG_OverflowError;
1746 0 ▶ } else if (SvIOK(obj)) {
Branch: 1 branch
BranchTrueFalseTotal
} else if (SvIOK(obj)) { 0 0 0
1747 0 IV v = SvIV(obj);
1748 if (IVSIZE <= sizeof(*val) || (v >= LONG_MIN && v <= LONG_MAX)) {
1749 0 ▶ if(val) *val = v;
Branch: 1 branch
BranchTrueFalseTotal
if(val) *val = v; 0 0 0
1750 0 return SWIG_OK;
1751 }
1752 return SWIG_OverflowError;
1753 } else {
1754 0 int dispatch = 0;
1755 0 const char *nptr = SvPV_nolen(obj);
1756 0 ▶ if (nptr) {
Branch: 1 branch
BranchTrueFalseTotal
if (nptr) { 0 0 0
1757 char *endptr;
1758 long v;
1759 0 errno = 0;
1760 0 v = strtol(nptr, &endptr,0);
1761 0 ▶ if (errno == ERANGE) {
Branch: 1 branch
BranchTrueFalseTotal
if (errno == ERANGE) { 0 0 0
1762 0 errno = 0;
1763 0 return SWIG_OverflowError;
1764 } else {
1765 0 ▶ if (*endptr == '\0') {
Branch: 1 branch
BranchTrueFalseTotal
if (*endptr == '\0') { 0 0 0
1766 0 ▶ if (val) *val = v;
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = v; 0 0 0
1767 0 return SWIG_Str2NumCast(SWIG_OK);
1768 }
1769 }
1770 }
1771 0 ▶ if (!dispatch) {
Branch: 1 branch
BranchTrueFalseTotal
if (!dispatch) { 0 0 0
1772 double d;
1773 0 int res = SWIG_AddCast(SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(obj,&d));
1774 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
1775 0 ▶ if (val) *val = (long)(d);
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = (long)(d); 0 0 0
1776 0 return res;
1777 }
1778 }
1779 }
1780 0 return SWIG_TypeError;
1781 }
1782  
1783  
1784 SWIGINTERN int
1785 0 SWIG_AsVal_int SWIG_PERL_DECL_ARGS_2(SV * obj, int *val)
1786 {
1787 long v;
1788 0 int res = SWIG_AsVal_long SWIG_PERL_CALL_ARGS_2(obj, &v);
1789 0 ▶ if (SWIG_IsOK(res)) {
Branch: 1 branch
BranchTrueFalseTotal
if (SWIG_IsOK(res)) { 0 0 0
1790 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
1791 0 return SWIG_OverflowError;
1792 } else {
1793 0 ▶ if (val) *val = (int)(v);
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = (int)(v); 0 0 0
1794 }
1795 }
1796 0 return res;
1797 }
1798  
1799  
1800 SWIGINTERNINLINE SV *
1801 0 SWIG_FromCharPtrAndSize(const char* carray, size_t size)
1802 {
1803 0 SV *obj = sv_newmortal();
1804 0 ▶ if (carray) {
Branch: 1 branch
BranchTrueFalseTotal
if (carray) { 0 0 0
1805 0 sv_setpvn(obj, carray, size);
1806 } else {
1807 0 sv_setsv(obj, &PL_sv_undef);
1808 }
1809 0 return obj;
1810 }
1811  
1812  
1813 SWIGINTERNINLINE SV *
1814 0 SWIG_FromCharPtr(const char *cptr)
1815 {
1816 0 ▶ return SWIG_FromCharPtrAndSize(cptr, (cptr ? strlen(cptr) : 0));
Branch: 1 branch
BranchTrueFalseTotal
return SWIG_FromCharPtrAndSize(cptr, (cptr ? strlen(cptr) : 0)); 0 0 0
1817 }
1818  
1819  
1820 #include "gsl/gsl_nan.h"
1821 #include "gsl/gsl_errno.h"
1822 #include "gsl/gsl_math.h"
1823 #include "gsl/gsl_monte.h"
1824  
1825  
1826 struct perl_array {
1827 I32 len;
1828 AV *array;
1829 };
1830  
1831  
1832  
1833 enum awType { awDouble, awFloat, awInt, awUnsigned };
1834  
1835 typedef struct {
1836 I32 size;
1837 enum awType type;
1838 void * data;
1839 } array_wrapper;
1840  
1841 0 array_wrapper * array_wrapper_alloc(int numelem, enum awType type){
1842 0 array_wrapper * rv = malloc(sizeof(array_wrapper));
1843  
1844 0 ▶ if (rv == NULL)
Branch: 1 branch
BranchTrueFalseTotal
if (rv == NULL) 0 0 0
1845 0 croak("array_wrapper_alloc: can't malloc wrapper\n");
1846  
1847 0 switch (type){
1848 0 case awDouble:
1849 0 rv->data = malloc(sizeof(double) * numelem);
1850 0 break;
1851 0 case awFloat:
1852 0 rv->data = malloc(sizeof(float) * numelem);
1853 0 break;
1854 0 case awInt:
1855 0 rv->data = malloc(sizeof(int) * numelem);
1856 0 break;
1857 0 case awUnsigned:
1858 0 rv->data = malloc(sizeof(unsigned int) * numelem);
1859 0 break;
1860 0 default:
1861 0 croak("array_wrapper_alloc: type should be awDouble, awFloat, awInt, or awUnsigned");
1862 }
1863  
1864 0 ▶ if (rv->data == NULL)
Branch: 1 branch
BranchTrueFalseTotal
if (rv->data == NULL) 0 0 0
1865 0 croak("array_wrapper_alloc: can't malloc data");
1866  
1867 0 rv->size = numelem;
1868 0 rv->type = type;
1869 0 return rv;
1870 }
1871  
1872 0 void array_wrapper_free(array_wrapper * daw){
1873 0 free(daw->data);
1874 0 free(daw);
1875 0 }
1876  
1877  
1878 /* structure to hold required information while the gsl function call
1879 for each callback
1880 */
1881 struct gsl_function_perl {
1882 gsl_function C_gsl_function;
1883 SV * function;
1884 SV * params;
1885 };
1886  
1887 struct gsl_function_fdf_perl {
1888 gsl_function_fdf C_gsl_function_fdf;
1889 SV * f;
1890 SV * df;
1891 SV * fdf;
1892 SV * params;
1893 };
1894  
1895 struct gsl_monte_function_perl {
1896 gsl_monte_function C_gsl_monte_function;
1897 SV * f;
1898 SV * dim;
1899 SV * params;
1900 };
1901  
1902 0 void gsl_function_perl_free(struct gsl_function_perl * perl_f){
1903 0 ▶ if (perl_f != NULL) {
Branch: 1 branch
BranchTrueFalseTotal
if (perl_f != NULL) { 0 0 0
1904 0 SvREFCNT_dec(perl_f->function);
1905 0 SvREFCNT_dec(perl_f->params);
1906 0 Safefree(perl_f);
1907 }
1908 0 }
1909  
1910 0 void gsl_function_fdf_perl_free(struct gsl_function_fdf_perl * perl_fdf){
1911 0 ▶ if (perl_fdf != NULL) {
Branch: 1 branch
BranchTrueFalseTotal
if (perl_fdf != NULL) { 0 0 0
1912 0 SvREFCNT_dec(perl_fdf->f);
1913 0 SvREFCNT_dec(perl_fdf->df);
1914 0 SvREFCNT_dec(perl_fdf->fdf);
1915 0 SvREFCNT_dec(perl_fdf->params);
1916 0 Safefree(perl_fdf);
1917 }
1918 0 }
1919  
1920 /* These functions (C callbacks) calls the perl callbacks.
1921 Info for perl callback can be found using the 'void*params' parameter
1922 */
1923 0 double call_gsl_function_x_params(SV* function, double x, SV *params){
1924 unsigned int count;
1925 double y;
1926 0 dSP;
1927  
1928 //fprintf(stderr, "LOOKUP CALLBACK\n");
1929 0 ENTER;
1930 0 SAVETMPS;
1931  
1932 0 ▶ PUSHMARK(SP);
Branch: 1 branch
BranchTrueFalseTotal
PUSHMARK(SP); 0 0 0
1933 0 ▶ XPUSHs(sv_2mortal(newSVnv((double)x)));
Branch: 1 branch
BranchTrueFalseTotal
XPUSHs(sv_2mortal(newSVnv((double)x))); 0 0 0
1934 0 ▶ XPUSHs(params);
Branch: 1 branch
BranchTrueFalseTotal
XPUSHs(params); 0 0 0
1935 0 PUTBACK; /* make local stack pointer global */
1936  
1937 0 count = call_sv(function, G_SCALAR);
1938 0 SPAGAIN;
1939  
1940 0 ▶ if (count != 1)
Branch: 1 branch
BranchTrueFalseTotal
if (count != 1) 0 0 0
1941 0 croak("Expected to call subroutine in scalar context!");
1942  
1943 0 y = POPn;
1944  
1945 0 PUTBACK; /* make local stack pointer global */
1946 0 ▶ FREETMPS;
Branch: 1 branch
BranchTrueFalseTotal
FREETMPS; 0 0 0
1947 0 LEAVE;
1948  
1949 0 return y;
1950 }
1951  
1952 0 double call_gsl_function(double x , void *params){
1953 0 struct gsl_function_perl *F=(struct gsl_function_perl*)params;
1954 0 return call_gsl_function_x_params( F->function, x, F->params );
1955 }
1956  
1957 0 double call_gsl_function_fdf_f(double x , void *params){
1958 0 struct gsl_function_fdf_perl *F=(struct gsl_function_fdf_perl*)params;
1959 0 return call_gsl_function_x_params( F->f, x, F->params );
1960 }
1961  
1962 0 double call_gsl_function_fdf_df(double x , void *params){
1963 0 struct gsl_function_fdf_perl *F=(struct gsl_function_fdf_perl*)params;
1964 0 return call_gsl_function_x_params( F->df, x, F->params );
1965 }
1966  
1967 0 void call_gsl_function_fdf_fdf(double x , void *params, double *f, double *df ){
1968 0 struct gsl_function_fdf_perl *F=(struct gsl_function_fdf_perl*)params;
1969  
1970 0 dSP;
1971  
1972 0 ENTER;
1973 0 SAVETMPS;
1974  
1975 0 ▶ PUSHMARK(SP);
Branch: 1 branch
BranchTrueFalseTotal
PUSHMARK(SP); 0 0 0
1976 0 ▶ EXTEND(SP, 2);
Branch: 1 branch
BranchTrueFalseTotal
EXTEND(SP, 2); 0 0 0
1977 0 PUSHs(sv_2mortal(newSVnv((double)x)));
1978 0 PUSHs(F->params);
1979 0 PUTBACK; /* make local stack pointer global */
1980  
1981 {
1982 0 unsigned int count = call_sv(F->fdf, G_ARRAY);
1983 0 SPAGAIN;
1984  
1985 0 ▶ if (count != 2)
Branch: 1 branch
BranchTrueFalseTotal
if (count != 2) 0 0 0
1986 0 croak( "Expected two return values, got %d", count );
1987 }
1988  
1989 0 *df = POPn;
1990 0 *f = POPn;
1991  
1992 0 PUTBACK; /* make local stack pointer global */
1993 0 ▶ FREETMPS;
Branch: 1 branch
BranchTrueFalseTotal
FREETMPS; 0 0 0
1994 0 LEAVE;
1995 0 }
1996  
1997 0 double call_gsl_monte_function(double *x_array , size_t dim, void *params){
1998 0 struct gsl_monte_function_perl *F=(struct gsl_monte_function_perl*)params;
1999 unsigned int count;
2000 unsigned int i;
2001 AV* perl_array;
2002 double y;
2003 0 dSP;
2004  
2005 //fprintf(stderr, "LOOKUP CALLBACK\n");
2006 0 ENTER;
2007 0 SAVETMPS;
2008  
2009 0 ▶ PUSHMARK(SP);
Branch: 1 branch
BranchTrueFalseTotal
PUSHMARK(SP); 0 0 0
2010 0 perl_array=newAV();
2011 0 sv_2mortal((SV*)perl_array);
2012 0 ▶ XPUSHs(sv_2mortal(newRV((SV *)perl_array)));
Branch: 1 branch
BranchTrueFalseTotal
XPUSHs(sv_2mortal(newRV((SV *)perl_array))); 0 0 0
2013 0 ▶ for(i=0; i<dim; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for(i=0; i<dim; i++) { 0 0 0
2014 /* no mortal : it is referenced by the array */
2015 0 av_push(perl_array, newSVnv(x_array[i]));
2016 }
2017 0 ▶ XPUSHs(sv_2mortal(newSViv(dim)));
Branch: 1 branch
BranchTrueFalseTotal
XPUSHs(sv_2mortal(newSViv(dim))); 0 0 0
2018 0 ▶ XPUSHs(F->params);
Branch: 1 branch
BranchTrueFalseTotal
XPUSHs(F->params); 0 0 0
2019 0 PUTBACK; /* make local stack pointer global */
2020  
2021 0 count = call_sv(F->f, G_SCALAR);
2022 0 SPAGAIN;
2023  
2024 0 ▶ if (count != 1)
Branch: 1 branch
BranchTrueFalseTotal
if (count != 1) 0 0 0
2025 0 croak("Expected to call subroutine in scalar context!");
2026  
2027 0 y = POPn;
2028  
2029 0 PUTBACK; /* make local stack pointer global */
2030 0 ▶ FREETMPS;
Branch: 1 branch
BranchTrueFalseTotal
FREETMPS; 0 0 0
2031 0 LEAVE;
2032  
2033 0 return y;
2034 }
2035  
2036  
2037 0 void gsl_function_fdf_extract( char* param_name, HV* hash, SV* func[] ) {
2038 static const char *keys[3] = { "f", "df", "fdf" };
2039  
2040 int ikey;
2041  
2042 0 ▶ for ( ikey = 0 ; ikey < 3 ; ++ikey ) {
Branch: 1 branch
BranchTrueFalseTotal
for ( ikey = 0 ; ikey < 3 ; ++ikey ) { 0 0 0
2043 0 func[ikey] = 0;
2044 0 const char* key = keys[ikey];
2045 /* it just so happens that strlen(keys[ikey]) == ikey + 1 */
2046 0 SV** pp_sv = hv_fetch( hash, key, ikey+1, 0 );
2047 SV* function;
2048  
2049 0 ▶ if ( !pp_sv )
Branch: 1 branch
BranchTrueFalseTotal
if ( !pp_sv ) 0 0 0
2050 0 croak("Math::GSL : %s: missing key %s!", param_name, key);
2051  
2052 0 function = *pp_sv;
2053  
2054 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
2055 /* hold on to SV after the enclosing hash goes away */
2056 0 SvREFCNT_inc( function );
2057 0 func[ikey] = function;
2058 }
2059 else {
2060 0 croak( "Math::GSL : %s: key %s is not a reference to code!", param_name, key);
2061 }
2062 }
2063 0 }
2064  
2065  
2066  
2067 #include "gsl/gsl_inline.h"
2068 #include "gsl/gsl_blas_types.h"
2069 #include "gsl/gsl_matrix.h"
2070 #include "gsl/gsl_complex.h"
2071 #include "gsl/gsl_vector_double.h"
2072 #include "gsl/gsl_matrix_complex_double.h"
2073  
2074  
2075 SWIGINTERN int
2076 0 SWIG_AsVal_unsigned_SS_long SWIG_PERL_DECL_ARGS_2(SV *obj, unsigned long *val)
2077 {
2078 0 ▶ if (SvUOK(obj)) {
Branch: 1 branch
BranchTrueFalseTotal
if (SvUOK(obj)) { 0 0 0
2079 0 UV v = SvUV(obj);
2080 if (UVSIZE <= sizeof(*val) || v <= ULONG_MAX) {
2081 0 ▶ if (val) *val = v;
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = v; 0 0 0
2082 0 return SWIG_OK;
2083 }
2084 return SWIG_OverflowError;
2085 0 ▶ } else if (SvIOK(obj)) {
Branch: 1 branch
BranchTrueFalseTotal
} else if (SvIOK(obj)) { 0 0 0
2086 0 IV v = SvIV(obj);
2087 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
2088 0 ▶ if (val) *val = v;
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = v; 0 0 0
2089 0 return SWIG_OK;
2090 }
2091 0 return SWIG_OverflowError;
2092 } else {
2093 0 int dispatch = 0;
2094 0 const char *nptr = SvPV_nolen(obj);
2095 0 ▶ if (nptr) {
Branch: 1 branch
BranchTrueFalseTotal
if (nptr) { 0 0 0
2096 char *endptr;
2097 unsigned long v;
2098 0 errno = 0;
2099 0 v = strtoul(nptr, &endptr,0);
2100 0 ▶ if (errno == ERANGE) {
Branch: 1 branch
BranchTrueFalseTotal
if (errno == ERANGE) { 0 0 0
2101 0 errno = 0;
2102 0 return SWIG_OverflowError;
2103 } else {
2104 0 ▶ if (*endptr == '\0') {
Branch: 1 branch
BranchTrueFalseTotal
if (*endptr == '\0') { 0 0 0
2105 0 ▶ if (val) *val = v;
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = v; 0 0 0
2106 0 return SWIG_Str2NumCast(SWIG_OK);
2107 }
2108 }
2109 }
2110 0 ▶ if (!dispatch) {
Branch: 1 branch
BranchTrueFalseTotal
if (!dispatch) { 0 0 0
2111 double d;
2112 0 int res = SWIG_AddCast(SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(obj,&d));
2113 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
2114 0 ▶ if (val) *val = (unsigned long)(d);
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = (unsigned long)(d); 0 0 0
2115 0 return res;
2116 }
2117 }
2118 }
2119 0 return SWIG_TypeError;
2120 }
2121  
2122  
2123 #if defined(LLONG_MAX) && !defined(SWIG_LONG_LONG_AVAILABLE)
2124 # define SWIG_LONG_LONG_AVAILABLE
2125 #endif
2126  
2127  
2128 #ifdef SWIG_LONG_LONG_AVAILABLE
2129 SWIGINTERN int
2130 0 SWIG_AsVal_unsigned_SS_long_SS_long SWIG_PERL_DECL_ARGS_2(SV *obj, unsigned long long *val)
2131 {
2132 0 ▶ if (SvUOK(obj)) {
Branch: 1 branch
BranchTrueFalseTotal
if (SvUOK(obj)) { 0 0 0
2133 /* pretty sure this should be conditional on
2134 * (UVSIZE <= sizeof(*val) || v <= ULLONG_MAX) */
2135 0 ▶ if (val) *val = SvUV(obj);
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = SvUV(obj); 0 0 0
2136 0 return SWIG_OK;
2137 0 ▶ } else if (SvIOK(obj)) {
Branch: 1 branch
BranchTrueFalseTotal
} else if (SvIOK(obj)) { 0 0 0
2138 0 IV v = SvIV(obj);
2139 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
2140 0 ▶ if (val) *val = v;
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = v; 0 0 0
2141 0 return SWIG_OK;
2142 } else {
2143 0 return SWIG_OverflowError;
2144 }
2145 } else {
2146 0 int dispatch = 0;
2147 0 const char *nptr = SvPV_nolen(obj);
2148 0 ▶ if (nptr) {
Branch: 1 branch
BranchTrueFalseTotal
if (nptr) { 0 0 0
2149 char *endptr;
2150 unsigned long long v;
2151 0 errno = 0;
2152 0 v = strtoull(nptr, &endptr,0);
2153 0 ▶ if (errno == ERANGE) {
Branch: 1 branch
BranchTrueFalseTotal
if (errno == ERANGE) { 0 0 0
2154 0 errno = 0;
2155 0 return SWIG_OverflowError;
2156 } else {
2157 0 ▶ if (*endptr == '\0') {
Branch: 1 branch
BranchTrueFalseTotal
if (*endptr == '\0') { 0 0 0
2158 0 ▶ if (val) *val = v;
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = v; 0 0 0
2159 0 return SWIG_Str2NumCast(SWIG_OK);
2160 }
2161 }
2162 }
2163 0 ▶ if (!dispatch) {
Branch: 1 branch
BranchTrueFalseTotal
if (!dispatch) { 0 0 0
2164 0 const double mant_max = 1LL << DBL_MANT_DIG;
2165 double d;
2166 0 int res = SWIG_AddCast(SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(obj,&d));
2167 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
2168 0 ▶ if (val) *val = (unsigned long long)(d);
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = (unsigned long long)(d); 0 0 0
2169 0 return res;
2170 }
2171 }
2172 }
2173 0 return SWIG_TypeError;
2174 }
2175 #endif
2176  
2177  
2178 SWIGINTERNINLINE int
2179 0 SWIG_AsVal_size_t SWIG_PERL_DECL_ARGS_2(SV * obj, size_t *val)
2180 {
2181 0 int res = SWIG_TypeError;
2182 #ifdef SWIG_LONG_LONG_AVAILABLE
2183 if (sizeof(size_t) <= sizeof(unsigned long)) {
2184 #endif
2185 unsigned long v;
2186 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
2187 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
2188 #ifdef SWIG_LONG_LONG_AVAILABLE
2189 } else if (sizeof(size_t) <= sizeof(unsigned long long)) {
2190 unsigned long long v;
2191 res = SWIG_AsVal_unsigned_SS_long_SS_long SWIG_PERL_CALL_ARGS_2(obj, val ? &v : 0);
2192 if (SWIG_IsOK(res) && val) *val = (size_t)(v);
2193 }
2194 #endif
2195 0 return res;
2196 }
2197  
2198  
2199 SWIGINTERNINLINE SV *
2200 0 SWIG_From_unsigned_SS_long SWIG_PERL_DECL_ARGS_1(unsigned long value)
2201 {
2202 SV *sv;
2203 if (UVSIZE >= sizeof(value) || value <= UV_MAX)
2204 0 sv = newSVuv(value);
2205 else
2206 sv = newSVpvf("%lu", value);
2207 0 return sv_2mortal(sv);
2208 }
2209  
2210  
2211 #include <stdio.h>
2212 #if (defined(_MSC_VER) && (_MSC_VER < 1900)) || defined(__BORLANDC__) || defined(_WATCOM)
2213 # ifndef snprintf
2214 # define snprintf _snprintf
2215 # endif
2216 #endif
2217  
2218  
2219 #ifdef SWIG_LONG_LONG_AVAILABLE
2220 SWIGINTERNINLINE SV *
2221 SWIG_From_unsigned_SS_long_SS_long SWIG_PERL_DECL_ARGS_1(unsigned long long value)
2222 {
2223 SV *sv;
2224 if (UVSIZE >= sizeof(value) || value <= UV_MAX)
2225 sv = newSVuv((UV)(value));
2226 else {
2227 //sv = newSVpvf("%llu", value); doesn't work in non 64bit Perl
2228 char temp[256];
2229 SWIG_snprintf(temp, sizeof(temp), "%llu", value);
2230 sv = newSVpv(temp, 0);
2231 }
2232 return sv_2mortal(sv);
2233 }
2234 #endif
2235  
2236  
2237 SWIGINTERNINLINE SV *
2238 0 SWIG_From_size_t SWIG_PERL_DECL_ARGS_1(size_t value)
2239 {
2240 #ifdef SWIG_LONG_LONG_AVAILABLE
2241 if (sizeof(size_t) <= sizeof(unsigned long)) {
2242 #endif
2243 0 return SWIG_From_unsigned_SS_long SWIG_PERL_CALL_ARGS_1((unsigned long)(value));
2244 #ifdef SWIG_LONG_LONG_AVAILABLE
2245 } else {
2246 /* assume sizeof(size_t) <= sizeof(unsigned long long) */
2247 return SWIG_From_unsigned_SS_long_SS_long SWIG_PERL_CALL_ARGS_1((unsigned long long)(value));
2248 }
2249 #endif
2250 }
2251  
2252 #ifdef __cplusplus
2253 extern "C" {
2254 #endif
2255  
2256 #define MAGIC_CLASS
2257 0 SWIGCLASS_STATIC int swig_magic_readonly(pTHX_ SV *SWIGUNUSEDPARM(sv), MAGIC *SWIGUNUSEDPARM(mg)) {
2258 MAGIC_PPERL
2259 0 croak("Value is read-only.");
2260 return 0;
2261 }
2262  
2263 #ifdef __cplusplus
2264 }
2265 #endif
2266  
2267 #ifdef __cplusplus
2268 extern "C" {
2269 #endif
2270 0 XS(_wrap_gsl_error) {
2271 {
2272 0 char *arg1 = (char *) 0 ;
2273 0 char *arg2 = (char *) 0 ;
2274 int arg3 ;
2275 int arg4 ;
2276 int res1 ;
2277 0 char *buf1 = 0 ;
2278 0 int alloc1 = 0 ;
2279 int res2 ;
2280 0 char *buf2 = 0 ;
2281 0 int alloc2 = 0 ;
2282 int val3 ;
2283 0 int ecode3 = 0 ;
2284 int val4 ;
2285 0 int ecode4 = 0 ;
2286 0 int argvi = 0;
2287 0 dXSARGS;
2288
2289 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
2290 0 SWIG_croak("Usage: gsl_error(reason,file,line,gsl_errno);");
2291 }
2292 0 res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
2293 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2294 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
2295 }
2296 0 arg1 = (char *)(buf1);
2297 0 res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
2298 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
2299 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
2300 }
2301 0 arg2 = (char *)(buf2);
2302 0 ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
2303 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
2304 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
2305 }
2306 0 arg3 = (int)(val3);
2307 0 ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
2308 0 ▶ if (!SWIG_IsOK(ecode4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode4)) { 0 0 0
2309 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
2310 }
2311 0 arg4 = (int)(val4);
2312 0 gsl_error((char const *)arg1,(char const *)arg2,arg3,arg4);
2313 0 ST(argvi) = &PL_sv_undef;
2314 0 ▶ if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc1 == SWIG_NEWOBJ) free((char*)buf1); 0 0 0
2315 0 ▶ if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); 0 0 0
2316
2317
2318 0 XSRETURN(argvi);
2319 0 fail:
2320 0 ▶ if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc1 == SWIG_NEWOBJ) free((char*)buf1); 0 0 0
2321 0 ▶ if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); 0 0 0
2322
2323
2324 0 SWIG_croak_null();
2325 }
2326 }
2327  
2328  
2329 0 XS(_wrap_gsl_stream_printf) {
2330 {
2331 0 char *arg1 = (char *) 0 ;
2332 0 char *arg2 = (char *) 0 ;
2333 int arg3 ;
2334 0 char *arg4 = (char *) 0 ;
2335 int res1 ;
2336 0 char *buf1 = 0 ;
2337 0 int alloc1 = 0 ;
2338 int res2 ;
2339 0 char *buf2 = 0 ;
2340 0 int alloc2 = 0 ;
2341 int val3 ;
2342 0 int ecode3 = 0 ;
2343 int res4 ;
2344 0 char *buf4 = 0 ;
2345 0 int alloc4 = 0 ;
2346 0 int argvi = 0;
2347 0 dXSARGS;
2348
2349 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
2350 0 SWIG_croak("Usage: gsl_stream_printf(label,file,line,reason);");
2351 }
2352 0 res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
2353 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2354 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
2355 }
2356 0 arg1 = (char *)(buf1);
2357 0 res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
2358 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
2359 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
2360 }
2361 0 arg2 = (char *)(buf2);
2362 0 ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
2363 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
2364 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
2365 }
2366 0 arg3 = (int)(val3);
2367 0 res4 = SWIG_AsCharPtrAndSize(ST(3), &buf4, NULL, &alloc4);
2368 0 ▶ if (!SWIG_IsOK(res4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res4)) { 0 0 0
2369 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
2370 }
2371 0 arg4 = (char *)(buf4);
2372 0 gsl_stream_printf((char const *)arg1,(char const *)arg2,arg3,(char const *)arg4);
2373 0 ST(argvi) = &PL_sv_undef;
2374 0 ▶ if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc1 == SWIG_NEWOBJ) free((char*)buf1); 0 0 0
2375 0 ▶ if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); 0 0 0
2376
2377 0 ▶ if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc4 == SWIG_NEWOBJ) free((char*)buf4); 0 0 0
2378 0 XSRETURN(argvi);
2379 0 fail:
2380 0 ▶ if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc1 == SWIG_NEWOBJ) free((char*)buf1); 0 0 0
2381 0 ▶ if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); 0 0 0
2382
2383 0 ▶ if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc4 == SWIG_NEWOBJ) free((char*)buf4); 0 0 0
2384 0 SWIG_croak_null();
2385 }
2386 }
2387  
2388  
2389 0 XS(_wrap_gsl_strerror) {
2390 {
2391 int arg1 ;
2392 int val1 ;
2393 0 int ecode1 = 0 ;
2394 0 int argvi = 0;
2395 0 char *result = 0 ;
2396 0 dXSARGS;
2397
2398 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
2399 0 SWIG_croak("Usage: gsl_strerror(gsl_errno);");
2400 }
2401 0 ecode1 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
2402 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
2403 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
2404 }
2405 0 arg1 = (int)(val1);
2406 0 result = (char *)gsl_strerror(arg1);
2407 0 ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
2408
2409 0 XSRETURN(argvi);
2410 0 fail:
2411
2412 0 SWIG_croak_null();
2413 }
2414 }
2415  
2416  
2417 0 XS(_wrap_gsl_set_error_handler) {
2418 {
2419 0 gsl_error_handler_t *arg1 = (gsl_error_handler_t *) 0 ;
2420 0 int argvi = 0;
2421 0 gsl_error_handler_t *result = 0 ;
2422 0 dXSARGS;
2423
2424 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
2425 0 SWIG_croak("Usage: gsl_set_error_handler(new_handler);");
2426 }
2427 {
2428 0 int res = SWIG_ConvertFunctionPtr(ST(0), (void**)(&arg1), SWIGTYPE_p_f_p_q_const__char_p_q_const__char_int_int__void);
2429 0 ▶ if (!SWIG_IsOK(res)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res)) { 0 0 0
2430 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
2431 }
2432 }
2433 0 result = (gsl_error_handler_t *)gsl_set_error_handler(arg1);
2434 0 ST(argvi) = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_q_const__char_p_q_const__char_int_int__void); argvi++ ;
2435
2436 0 XSRETURN(argvi);
2437 0 fail:
2438
2439 0 SWIG_croak_null();
2440 }
2441 }
2442  
2443  
2444 0 XS(_wrap_gsl_set_error_handler_off) {
2445 {
2446 0 int argvi = 0;
2447 0 gsl_error_handler_t *result = 0 ;
2448 0 dXSARGS;
2449
2450 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
2451 0 SWIG_croak("Usage: gsl_set_error_handler_off();");
2452 }
2453 0 result = (gsl_error_handler_t *)gsl_set_error_handler_off();
2454 0 ST(argvi) = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_q_const__char_p_q_const__char_int_int__void); argvi++ ;
2455 0 XSRETURN(argvi);
2456 0 fail:
2457 0 SWIG_croak_null();
2458 }
2459 }
2460  
2461  
2462 0 XS(_wrap_gsl_set_stream_handler) {
2463 {
2464 0 gsl_stream_handler_t *arg1 = (gsl_stream_handler_t *) 0 ;
2465 0 int argvi = 0;
2466 0 gsl_stream_handler_t *result = 0 ;
2467 0 dXSARGS;
2468
2469 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
2470 0 SWIG_croak("Usage: gsl_set_stream_handler(new_handler);");
2471 }
2472 {
2473 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);
2474 0 ▶ if (!SWIG_IsOK(res)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res)) { 0 0 0
2475 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
2476 }
2477 }
2478 0 result = (gsl_stream_handler_t *)gsl_set_stream_handler(arg1);
2479 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++ ;
2480
2481 0 XSRETURN(argvi);
2482 0 fail:
2483
2484 0 SWIG_croak_null();
2485 }
2486 }
2487  
2488  
2489 0 XS(_wrap_gsl_set_stream) {
2490 {
2491 0 FILE *arg1 = (FILE *) 0 ;
2492 0 void *argp1 = 0 ;
2493 0 int res1 = 0 ;
2494 0 int argvi = 0;
2495 0 FILE *result = 0 ;
2496 0 dXSARGS;
2497
2498 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
2499 0 SWIG_croak("Usage: gsl_set_stream(new_stream);");
2500 }
2501 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_FILE, 0 | 0 );
2502 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2503 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
2504 }
2505 0 arg1 = (FILE *)(argp1);
2506 0 result = (FILE *)gsl_set_stream(arg1);
2507 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FILE, 0 | 0); argvi++ ;
2508
2509 0 XSRETURN(argvi);
2510 0 fail:
2511
2512 0 SWIG_croak_null();
2513 }
2514 }
2515  
2516  
2517 0 XS(_wrap_gsl_complex_dat_set) {
2518 {
2519 0 gsl_complex *arg1 = (gsl_complex *) 0 ;
2520 0 double *arg2 = (double *) (double *)0 ;
2521 0 void *argp1 = 0 ;
2522 0 int res1 = 0 ;
2523 0 void *argp2 = 0 ;
2524 0 int res2 = 0 ;
2525 0 int argvi = 0;
2526 0 dXSARGS;
2527
2528 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
2529 0 SWIG_croak("Usage: gsl_complex_dat_set(self,dat);");
2530 }
2531 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_complex, 0 | 0 );
2532 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2533 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_complex_dat_set" "', argument " "1"" of type '" "gsl_complex *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_complex_dat_set" "', argument " "1"" of type '" "gsl_complex *""'"); 0 0 0
2534 }
2535 0 arg1 = (gsl_complex *)(argp1);
2536 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, 0 | 0 );
2537 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
2538 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_complex_dat_set" "', argument " "2"" of type '" "double [2]""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_complex_dat_set" "', argument " "2"" of type '" "double [2]""'"); 0 0 0
2539 }
2540 0 arg2 = (double *)(argp2);
2541 {
2542 0 ▶ if (arg2) {
Branch: 1 branch
BranchTrueFalseTotal
if (arg2) { 0 0 0
2543 0 size_t ii = 0;
2544 0 ▶ for (; ii < (size_t)2; ++ii) *(double *)&arg1->dat[ii] = *((double *)arg2 + ii);
Branch: 1 branch
BranchTrueFalseTotal
for (; ii < (size_t)2; ++ii) *(double *)&arg1->dat[ii] = *((double *)arg2 + ii); 0 0 0
2545 } else {
2546 0 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""dat""' of type '""double [2]""'");
2547 }
2548 }
2549 0 ST(argvi) = &PL_sv_undef;
2550
2551
2552 0 XSRETURN(argvi);
2553 0 fail:
2554
2555
2556 0 SWIG_croak_null();
2557 }
2558 }
2559  
2560  
2561 0 XS(_wrap_gsl_complex_dat_get) {
2562 {
2563 0 gsl_complex *arg1 = (gsl_complex *) 0 ;
2564 0 void *argp1 = 0 ;
2565 0 int res1 = 0 ;
2566 0 int argvi = 0;
2567 0 double *result = 0 ;
2568 0 dXSARGS;
2569
2570 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
2571 0 SWIG_croak("Usage: gsl_complex_dat_get(self);");
2572 }
2573 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_complex, 0 | 0 );
2574 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2575 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_complex_dat_get" "', argument " "1"" of type '" "gsl_complex *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_complex_dat_get" "', argument " "1"" of type '" "gsl_complex *""'"); 0 0 0
2576 }
2577 0 arg1 = (gsl_complex *)(argp1);
2578 0 result = (double *)(double *) ((arg1)->dat);
2579 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0); argvi++ ;
2580
2581 0 XSRETURN(argvi);
2582 0 fail:
2583
2584 0 SWIG_croak_null();
2585 }
2586 }
2587  
2588  
2589 0 XS(_wrap_new_gsl_complex) {
2590 {
2591 0 int argvi = 0;
2592 0 gsl_complex *result = 0 ;
2593 0 dXSARGS;
2594
2595 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
2596 0 SWIG_croak("Usage: new_gsl_complex();");
2597 }
2598 0 result = (gsl_complex *)calloc(1, sizeof(gsl_complex));
2599 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_complex, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
2600 0 XSRETURN(argvi);
2601 0 fail:
2602 0 SWIG_croak_null();
2603 }
2604 }
2605  
2606  
2607 0 XS(_wrap_delete_gsl_complex) {
2608 {
2609 0 gsl_complex *arg1 = (gsl_complex *) 0 ;
2610 0 void *argp1 = 0 ;
2611 0 int res1 = 0 ;
2612 0 int argvi = 0;
2613 0 dXSARGS;
2614
2615 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
2616 0 SWIG_croak("Usage: delete_gsl_complex(self);");
2617 }
2618 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_complex, SWIG_POINTER_DISOWN | 0 );
2619 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2620 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_gsl_complex" "', argument " "1"" of type '" "gsl_complex *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_gsl_complex" "', argument " "1"" of type '" "gsl_complex *""'"); 0 0 0
2621 }
2622 0 arg1 = (gsl_complex *)(argp1);
2623 0 free((char *) arg1);
2624 0 ST(argvi) = &PL_sv_undef;
2625
2626 0 XSRETURN(argvi);
2627 0 fail:
2628
2629 0 SWIG_croak_null();
2630 }
2631 }
2632  
2633  
2634 0 XS(_wrap_gsl_complex_long_double_dat_set) {
2635 {
2636 0 gsl_complex_long_double *arg1 = (gsl_complex_long_double *) 0 ;
2637 0 long double *arg2 = (long double *) (long double *)0 ;
2638 0 void *argp1 = 0 ;
2639 0 int res1 = 0 ;
2640 0 void *argp2 = 0 ;
2641 0 int res2 = 0 ;
2642 0 int argvi = 0;
2643 0 dXSARGS;
2644
2645 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
2646 0 SWIG_croak("Usage: gsl_complex_long_double_dat_set(self,dat);");
2647 }
2648 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_complex_long_double, 0 | 0 );
2649 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2650 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_complex_long_double_dat_set" "', argument " "1"" of type '" "gsl_complex_long_double *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_complex_long_double_dat_set" "', argument " "1"" of type '" "gsl_complex_long_double *""'"); 0 0 0
2651 }
2652 0 arg1 = (gsl_complex_long_double *)(argp1);
2653 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_long_double, 0 | 0 );
2654 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
2655 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_complex_long_double_dat_set" "', argument " "2"" of type '" "long double [2]""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_complex_long_double_dat_set" "', argument " "2"" of type '" "long double [2]""'"); 0 0 0
2656 }
2657 0 arg2 = (long double *)(argp2);
2658 {
2659 0 ▶ if (arg2) {
Branch: 1 branch
BranchTrueFalseTotal
if (arg2) { 0 0 0
2660 0 size_t ii = 0;
2661 0 ▶ for (; ii < (size_t)2; ++ii) *(long double *)&arg1->dat[ii] = *((long double *)arg2 + ii);
Branch: 1 branch
BranchTrueFalseTotal
for (; ii < (size_t)2; ++ii) *(long double *)&arg1->dat[ii] = *((long double *)arg2 + ii); 0 0 0
2662 } else {
2663 0 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""dat""' of type '""long double [2]""'");
2664 }
2665 }
2666 0 ST(argvi) = &PL_sv_undef;
2667
2668
2669 0 XSRETURN(argvi);
2670 0 fail:
2671
2672
2673 0 SWIG_croak_null();
2674 }
2675 }
2676  
2677  
2678 0 XS(_wrap_gsl_complex_long_double_dat_get) {
2679 {
2680 0 gsl_complex_long_double *arg1 = (gsl_complex_long_double *) 0 ;
2681 0 void *argp1 = 0 ;
2682 0 int res1 = 0 ;
2683 0 int argvi = 0;
2684 0 long double *result = 0 ;
2685 0 dXSARGS;
2686
2687 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
2688 0 SWIG_croak("Usage: gsl_complex_long_double_dat_get(self);");
2689 }
2690 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_complex_long_double, 0 | 0 );
2691 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2692 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_complex_long_double_dat_get" "', argument " "1"" of type '" "gsl_complex_long_double *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_complex_long_double_dat_get" "', argument " "1"" of type '" "gsl_complex_long_double *""'"); 0 0 0
2693 }
2694 0 arg1 = (gsl_complex_long_double *)(argp1);
2695 0 result = (long double *)(long double *) ((arg1)->dat);
2696 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_long_double, 0 | 0); argvi++ ;
2697
2698 0 XSRETURN(argvi);
2699 0 fail:
2700
2701 0 SWIG_croak_null();
2702 }
2703 }
2704  
2705  
2706 0 XS(_wrap_new_gsl_complex_long_double) {
2707 {
2708 0 int argvi = 0;
2709 0 gsl_complex_long_double *result = 0 ;
2710 0 dXSARGS;
2711
2712 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
2713 0 SWIG_croak("Usage: new_gsl_complex_long_double();");
2714 }
2715 0 result = (gsl_complex_long_double *)calloc(1, sizeof(gsl_complex_long_double));
2716 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_complex_long_double, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
2717 0 XSRETURN(argvi);
2718 0 fail:
2719 0 SWIG_croak_null();
2720 }
2721 }
2722  
2723  
2724 0 XS(_wrap_delete_gsl_complex_long_double) {
2725 {
2726 0 gsl_complex_long_double *arg1 = (gsl_complex_long_double *) 0 ;
2727 0 void *argp1 = 0 ;
2728 0 int res1 = 0 ;
2729 0 int argvi = 0;
2730 0 dXSARGS;
2731
2732 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
2733 0 SWIG_croak("Usage: delete_gsl_complex_long_double(self);");
2734 }
2735 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_complex_long_double, SWIG_POINTER_DISOWN | 0 );
2736 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2737 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_gsl_complex_long_double" "', argument " "1"" of type '" "gsl_complex_long_double *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_gsl_complex_long_double" "', argument " "1"" of type '" "gsl_complex_long_double *""'"); 0 0 0
2738 }
2739 0 arg1 = (gsl_complex_long_double *)(argp1);
2740 0 free((char *) arg1);
2741 0 ST(argvi) = &PL_sv_undef;
2742
2743 0 XSRETURN(argvi);
2744 0 fail:
2745
2746 0 SWIG_croak_null();
2747 }
2748 }
2749  
2750  
2751 0 XS(_wrap_gsl_complex_float_dat_set) {
2752 {
2753 0 gsl_complex_float *arg1 = (gsl_complex_float *) 0 ;
2754 0 float *arg2 = (float *) (float *)0 ;
2755 0 void *argp1 = 0 ;
2756 0 int res1 = 0 ;
2757 0 void *argp2 = 0 ;
2758 0 int res2 = 0 ;
2759 0 int argvi = 0;
2760 0 dXSARGS;
2761
2762 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
2763 0 SWIG_croak("Usage: gsl_complex_float_dat_set(self,dat);");
2764 }
2765 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_complex_float, 0 | 0 );
2766 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2767 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_complex_float_dat_set" "', argument " "1"" of type '" "gsl_complex_float *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_complex_float_dat_set" "', argument " "1"" of type '" "gsl_complex_float *""'"); 0 0 0
2768 }
2769 0 arg1 = (gsl_complex_float *)(argp1);
2770 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_float, 0 | 0 );
2771 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
2772 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_complex_float_dat_set" "', argument " "2"" of type '" "float [2]""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_complex_float_dat_set" "', argument " "2"" of type '" "float [2]""'"); 0 0 0
2773 }
2774 0 arg2 = (float *)(argp2);
2775 {
2776 0 ▶ if (arg2) {
Branch: 1 branch
BranchTrueFalseTotal
if (arg2) { 0 0 0
2777 0 size_t ii = 0;
2778 0 ▶ for (; ii < (size_t)2; ++ii) *(float *)&arg1->dat[ii] = *((float *)arg2 + ii);
Branch: 1 branch
BranchTrueFalseTotal
for (; ii < (size_t)2; ++ii) *(float *)&arg1->dat[ii] = *((float *)arg2 + ii); 0 0 0
2779 } else {
2780 0 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""dat""' of type '""float [2]""'");
2781 }
2782 }
2783 0 ST(argvi) = &PL_sv_undef;
2784
2785
2786 0 XSRETURN(argvi);
2787 0 fail:
2788
2789
2790 0 SWIG_croak_null();
2791 }
2792 }
2793  
2794  
2795 0 XS(_wrap_gsl_complex_float_dat_get) {
2796 {
2797 0 gsl_complex_float *arg1 = (gsl_complex_float *) 0 ;
2798 0 void *argp1 = 0 ;
2799 0 int res1 = 0 ;
2800 0 int argvi = 0;
2801 0 float *result = 0 ;
2802 0 dXSARGS;
2803
2804 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
2805 0 SWIG_croak("Usage: gsl_complex_float_dat_get(self);");
2806 }
2807 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_complex_float, 0 | 0 );
2808 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2809 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_complex_float_dat_get" "', argument " "1"" of type '" "gsl_complex_float *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_complex_float_dat_get" "', argument " "1"" of type '" "gsl_complex_float *""'"); 0 0 0
2810 }
2811 0 arg1 = (gsl_complex_float *)(argp1);
2812 0 result = (float *)(float *) ((arg1)->dat);
2813 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0); argvi++ ;
2814
2815 0 XSRETURN(argvi);
2816 0 fail:
2817
2818 0 SWIG_croak_null();
2819 }
2820 }
2821  
2822  
2823 0 XS(_wrap_new_gsl_complex_float) {
2824 {
2825 0 int argvi = 0;
2826 0 gsl_complex_float *result = 0 ;
2827 0 dXSARGS;
2828
2829 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
2830 0 SWIG_croak("Usage: new_gsl_complex_float();");
2831 }
2832 0 result = (gsl_complex_float *)calloc(1, sizeof(gsl_complex_float));
2833 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_complex_float, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
2834 0 XSRETURN(argvi);
2835 0 fail:
2836 0 SWIG_croak_null();
2837 }
2838 }
2839  
2840  
2841 0 XS(_wrap_delete_gsl_complex_float) {
2842 {
2843 0 gsl_complex_float *arg1 = (gsl_complex_float *) 0 ;
2844 0 void *argp1 = 0 ;
2845 0 int res1 = 0 ;
2846 0 int argvi = 0;
2847 0 dXSARGS;
2848
2849 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
2850 0 SWIG_croak("Usage: delete_gsl_complex_float(self);");
2851 }
2852 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_complex_float, SWIG_POINTER_DISOWN | 0 );
2853 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2854 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_gsl_complex_float" "', argument " "1"" of type '" "gsl_complex_float *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_gsl_complex_float" "', argument " "1"" of type '" "gsl_complex_float *""'"); 0 0 0
2855 }
2856 0 arg1 = (gsl_complex_float *)(argp1);
2857 0 free((char *) arg1);
2858 0 ST(argvi) = &PL_sv_undef;
2859
2860 0 XSRETURN(argvi);
2861 0 fail:
2862
2863 0 SWIG_croak_null();
2864 }
2865 }
2866  
2867  
2868 0 XS(_wrap_gsl_vector_size_set) {
2869 {
2870 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
2871 size_t arg2 ;
2872 0 void *argp1 = 0 ;
2873 0 int res1 = 0 ;
2874 size_t val2 ;
2875 0 int ecode2 = 0 ;
2876 0 int argvi = 0;
2877 0 dXSARGS;
2878
2879 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
2880 0 SWIG_croak("Usage: gsl_vector_size_set(self,size);");
2881 }
2882 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
2883 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2884 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
2885 }
2886 0 arg1 = (gsl_vector *)(argp1);
2887 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
2888 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
2889 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
2890 }
2891 0 arg2 = (size_t)(val2);
2892 0 ▶ if (arg1) (arg1)->size = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->size = arg2; 0 0 0
2893 0 ST(argvi) = &PL_sv_undef;
2894
2895
2896 0 XSRETURN(argvi);
2897 0 fail:
2898
2899
2900 0 SWIG_croak_null();
2901 }
2902 }
2903  
2904  
2905 0 XS(_wrap_gsl_vector_size_get) {
2906 {
2907 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
2908 0 void *argp1 = 0 ;
2909 0 int res1 = 0 ;
2910 0 int argvi = 0;
2911 size_t result;
2912 0 dXSARGS;
2913
2914 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
2915 0 SWIG_croak("Usage: gsl_vector_size_get(self);");
2916 }
2917 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
2918 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2919 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
2920 }
2921 0 arg1 = (gsl_vector *)(argp1);
2922 0 result = ((arg1)->size);
2923 0 ST(argvi) = SWIG_From_size_t SWIG_PERL_CALL_ARGS_1((size_t)(result)); argvi++ ;
2924
2925 0 XSRETURN(argvi);
2926 0 fail:
2927
2928 0 SWIG_croak_null();
2929 }
2930 }
2931  
2932  
2933 0 XS(_wrap_gsl_vector_stride_set) {
2934 {
2935 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
2936 size_t arg2 ;
2937 0 void *argp1 = 0 ;
2938 0 int res1 = 0 ;
2939 size_t val2 ;
2940 0 int ecode2 = 0 ;
2941 0 int argvi = 0;
2942 0 dXSARGS;
2943
2944 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
2945 0 SWIG_croak("Usage: gsl_vector_stride_set(self,stride);");
2946 }
2947 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
2948 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2949 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_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
2950 }
2951 0 arg1 = (gsl_vector *)(argp1);
2952 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
2953 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
2954 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
2955 }
2956 0 arg2 = (size_t)(val2);
2957 0 ▶ if (arg1) (arg1)->stride = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->stride = arg2; 0 0 0
2958 0 ST(argvi) = &PL_sv_undef;
2959
2960
2961 0 XSRETURN(argvi);
2962 0 fail:
2963
2964
2965 0 SWIG_croak_null();
2966 }
2967 }
2968  
2969  
2970 0 XS(_wrap_gsl_vector_stride_get) {
2971 {
2972 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
2973 0 void *argp1 = 0 ;
2974 0 int res1 = 0 ;
2975 0 int argvi = 0;
2976 size_t result;
2977 0 dXSARGS;
2978
2979 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
2980 0 SWIG_croak("Usage: gsl_vector_stride_get(self);");
2981 }
2982 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
2983 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2984 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
2985 }
2986 0 arg1 = (gsl_vector *)(argp1);
2987 0 result = ((arg1)->stride);
2988 0 ST(argvi) = SWIG_From_size_t SWIG_PERL_CALL_ARGS_1((size_t)(result)); argvi++ ;
2989
2990 0 XSRETURN(argvi);
2991 0 fail:
2992
2993 0 SWIG_croak_null();
2994 }
2995 }
2996  
2997  
2998 0 XS(_wrap_gsl_vector_data_set) {
2999 {
3000 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
3001 0 double *arg2 = (double *) 0 ;
3002 0 void *argp1 = 0 ;
3003 0 int res1 = 0 ;
3004 0 int argvi = 0;
3005 0 dXSARGS;
3006
3007 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
3008 0 SWIG_croak("Usage: gsl_vector_data_set(self,data);");
3009 }
3010 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
3011 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3012 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_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
3013 }
3014 0 arg1 = (gsl_vector *)(argp1);
3015 {
3016 AV *tempav;
3017 I32 len;
3018 int i;
3019 SV **tv;
3020 0 ▶ if (!SvROK(ST(1)))
Branch: 1 branch
BranchTrueFalseTotal
if (!SvROK(ST(1))) 0 0 0
3021 0 croak("Math::GSL : $data is not a reference!");
3022 0 ▶ if (SvTYPE(SvRV(ST(1))) != SVt_PVAV)
Branch: 1 branch
BranchTrueFalseTotal
if (SvTYPE(SvRV(ST(1))) != SVt_PVAV) 0 0 0
3023 0 croak("Math::GSL : $data is not an array ref!");
3024
3025 0 tempav = (AV*)SvRV(ST(1));
3026 0 len = av_len(tempav);
3027 0 arg2 = (double *) malloc((len+2)*sizeof(double));
3028 0 ▶ for (i = 0; i <= len; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; i <= len; i++) { 0 0 0
3029 0 tv = av_fetch(tempav, i, 0);
3030 0 arg2[i] = (double) SvNV(*tv);
3031 }
3032 }
3033 0 ▶ if (arg1) (arg1)->data = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->data = arg2; 0 0 0
3034 0 ST(argvi) = &PL_sv_undef;
3035
3036 {
3037 0 ▶ if (arg2) free(arg2);
Branch: 1 branch
BranchTrueFalseTotal
if (arg2) free(arg2); 0 0 0
3038 }
3039 0 XSRETURN(argvi);
3040 0 fail:
3041
3042 {
3043 0 ▶ if (arg2) free(arg2);
Branch: 1 branch
BranchTrueFalseTotal
if (arg2) free(arg2); 0 0 0
3044 }
3045 0 SWIG_croak_null();
3046 }
3047 }
3048  
3049  
3050 0 XS(_wrap_gsl_vector_data_get) {
3051 {
3052 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
3053 0 void *argp1 = 0 ;
3054 0 int res1 = 0 ;
3055 0 int argvi = 0;
3056 0 double *result = 0 ;
3057 0 dXSARGS;
3058
3059 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
3060 0 SWIG_croak("Usage: gsl_vector_data_get(self);");
3061 }
3062 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
3063 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3064 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
3065 }
3066 0 arg1 = (gsl_vector *)(argp1);
3067 0 result = (double *) ((arg1)->data);
3068 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0); argvi++ ;
3069
3070 0 XSRETURN(argvi);
3071 0 fail:
3072
3073 0 SWIG_croak_null();
3074 }
3075 }
3076  
3077  
3078 0 XS(_wrap_gsl_vector_block_set) {
3079 {
3080 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
3081 0 gsl_block *arg2 = (gsl_block *) 0 ;
3082 0 void *argp1 = 0 ;
3083 0 int res1 = 0 ;
3084 0 void *argp2 = 0 ;
3085 0 int res2 = 0 ;
3086 0 int argvi = 0;
3087 0 dXSARGS;
3088
3089 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
3090 0 SWIG_croak("Usage: gsl_vector_block_set(self,block);");
3091 }
3092 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
3093 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3094 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
3095 }
3096 0 arg1 = (gsl_vector *)(argp1);
3097 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_block, SWIG_POINTER_DISOWN | 0 );
3098 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
3099 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
3100 }
3101 0 arg2 = (gsl_block *)(argp2);
3102 0 ▶ if (arg1) (arg1)->block = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->block = arg2; 0 0 0
3103 0 ST(argvi) = &PL_sv_undef;
3104
3105
3106 0 XSRETURN(argvi);
3107 0 fail:
3108
3109
3110 0 SWIG_croak_null();
3111 }
3112 }
3113  
3114  
3115 0 XS(_wrap_gsl_vector_block_get) {
3116 {
3117 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
3118 0 void *argp1 = 0 ;
3119 0 int res1 = 0 ;
3120 0 int argvi = 0;
3121 0 gsl_block *result = 0 ;
3122 0 dXSARGS;
3123
3124 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
3125 0 SWIG_croak("Usage: gsl_vector_block_get(self);");
3126 }
3127 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
3128 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3129 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
3130 }
3131 0 arg1 = (gsl_vector *)(argp1);
3132 0 result = (gsl_block *) ((arg1)->block);
3133 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_block, 0 | 0); argvi++ ;
3134
3135 0 XSRETURN(argvi);
3136 0 fail:
3137
3138 0 SWIG_croak_null();
3139 }
3140 }
3141  
3142  
3143 0 XS(_wrap_gsl_vector_owner_set) {
3144 {
3145 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
3146 int arg2 ;
3147 0 void *argp1 = 0 ;
3148 0 int res1 = 0 ;
3149 int val2 ;
3150 0 int ecode2 = 0 ;
3151 0 int argvi = 0;
3152 0 dXSARGS;
3153
3154 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
3155 0 SWIG_croak("Usage: gsl_vector_owner_set(self,owner);");
3156 }
3157 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
3158 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3159 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
3160 }
3161 0 arg1 = (gsl_vector *)(argp1);
3162 0 ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
3163 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
3164 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
3165 }
3166 0 arg2 = (int)(val2);
3167 0 ▶ if (arg1) (arg1)->owner = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->owner = arg2; 0 0 0
3168 0 ST(argvi) = &PL_sv_undef;
3169
3170
3171 0 XSRETURN(argvi);
3172 0 fail:
3173
3174
3175 0 SWIG_croak_null();
3176 }
3177 }
3178  
3179  
3180 0 XS(_wrap_gsl_vector_owner_get) {
3181 {
3182 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
3183 0 void *argp1 = 0 ;
3184 0 int res1 = 0 ;
3185 0 int argvi = 0;
3186 int result;
3187 0 dXSARGS;
3188
3189 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
3190 0 SWIG_croak("Usage: gsl_vector_owner_get(self);");
3191 }
3192 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
3193 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3194 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
3195 }
3196 0 arg1 = (gsl_vector *)(argp1);
3197 0 result = (int) ((arg1)->owner);
3198 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
3199
3200 0 XSRETURN(argvi);
3201 0 fail:
3202
3203 0 SWIG_croak_null();
3204 }
3205 }
3206  
3207  
3208 0 XS(_wrap_new_gsl_vector) {
3209 {
3210 0 int argvi = 0;
3211 0 gsl_vector *result = 0 ;
3212 0 dXSARGS;
3213
3214 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
3215 0 SWIG_croak("Usage: new_gsl_vector();");
3216 }
3217 0 result = (gsl_vector *)calloc(1, sizeof(gsl_vector));
3218 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_vector, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
3219 0 XSRETURN(argvi);
3220 0 fail:
3221 0 SWIG_croak_null();
3222 }
3223 }
3224  
3225  
3226 0 XS(_wrap_delete_gsl_vector) {
3227 {
3228 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
3229 0 void *argp1 = 0 ;
3230 0 int res1 = 0 ;
3231 0 int argvi = 0;
3232 0 dXSARGS;
3233
3234 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
3235 0 SWIG_croak("Usage: delete_gsl_vector(self);");
3236 }
3237 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, SWIG_POINTER_DISOWN | 0 );
3238 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3239 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
3240 }
3241 0 arg1 = (gsl_vector *)(argp1);
3242 0 free((char *) arg1);
3243 0 ST(argvi) = &PL_sv_undef;
3244
3245 0 XSRETURN(argvi);
3246 0 fail:
3247
3248 0 SWIG_croak_null();
3249 }
3250 }
3251  
3252  
3253 0 XS(_wrap__gsl_vector_view_vector_set) {
3254 {
3255 0 _gsl_vector_view *arg1 = (_gsl_vector_view *) 0 ;
3256 0 gsl_vector *arg2 = (gsl_vector *) 0 ;
3257 0 void *argp1 = 0 ;
3258 0 int res1 = 0 ;
3259 0 void *argp2 = 0 ;
3260 0 int res2 = 0 ;
3261 0 int argvi = 0;
3262 0 dXSARGS;
3263
3264 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
3265 0 SWIG_croak("Usage: _gsl_vector_view_vector_set(self,vector);");
3266 }
3267 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__gsl_vector_view, 0 | 0 );
3268 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3269 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
3270 }
3271 0 arg1 = (_gsl_vector_view *)(argp1);
3272 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector, 0 | 0 );
3273 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
3274 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
3275 }
3276 0 arg2 = (gsl_vector *)(argp2);
3277 0 ▶ if (arg1) (arg1)->vector = *arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->vector = *arg2; 0 0 0
3278 0 ST(argvi) = &PL_sv_undef;
3279
3280
3281 0 XSRETURN(argvi);
3282 0 fail:
3283
3284
3285 0 SWIG_croak_null();
3286 }
3287 }
3288  
3289  
3290 0 XS(_wrap__gsl_vector_view_vector_get) {
3291 {
3292 0 _gsl_vector_view *arg1 = (_gsl_vector_view *) 0 ;
3293 0 void *argp1 = 0 ;
3294 0 int res1 = 0 ;
3295 0 int argvi = 0;
3296 0 gsl_vector *result = 0 ;
3297 0 dXSARGS;
3298
3299 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
3300 0 SWIG_croak("Usage: _gsl_vector_view_vector_get(self);");
3301 }
3302 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__gsl_vector_view, 0 | 0 );
3303 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3304 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
3305 }
3306 0 arg1 = (_gsl_vector_view *)(argp1);
3307 0 result = (gsl_vector *)& ((arg1)->vector);
3308 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_vector, 0 | SWIG_SHADOW); argvi++ ;
3309
3310 0 XSRETURN(argvi);
3311 0 fail:
3312
3313 0 SWIG_croak_null();
3314 }
3315 }
3316  
3317  
3318 0 XS(_wrap_new__gsl_vector_view) {
3319 {
3320 0 int argvi = 0;
3321 0 _gsl_vector_view *result = 0 ;
3322 0 dXSARGS;
3323
3324 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
3325 0 SWIG_croak("Usage: new__gsl_vector_view();");
3326 }
3327 0 result = (_gsl_vector_view *)calloc(1, sizeof(_gsl_vector_view));
3328 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__gsl_vector_view, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
3329 0 XSRETURN(argvi);
3330 0 fail:
3331 0 SWIG_croak_null();
3332 }
3333 }
3334  
3335  
3336 0 XS(_wrap_delete__gsl_vector_view) {
3337 {
3338 0 _gsl_vector_view *arg1 = (_gsl_vector_view *) 0 ;
3339 0 void *argp1 = 0 ;
3340 0 int res1 = 0 ;
3341 0 int argvi = 0;
3342 0 dXSARGS;
3343
3344 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
3345 0 SWIG_croak("Usage: delete__gsl_vector_view(self);");
3346 }
3347 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__gsl_vector_view, SWIG_POINTER_DISOWN | 0 );
3348 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3349 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
3350 }
3351 0 arg1 = (_gsl_vector_view *)(argp1);
3352 0 free((char *) arg1);
3353 0 ST(argvi) = &PL_sv_undef;
3354
3355 0 XSRETURN(argvi);
3356 0 fail:
3357
3358 0 SWIG_croak_null();
3359 }
3360 }
3361  
3362  
3363 0 XS(_wrap__gsl_vector_const_view_vector_set) {
3364 {
3365 0 _gsl_vector_const_view *arg1 = (_gsl_vector_const_view *) 0 ;
3366 0 gsl_vector *arg2 = (gsl_vector *) 0 ;
3367 0 void *argp1 = 0 ;
3368 0 int res1 = 0 ;
3369 0 void *argp2 = 0 ;
3370 0 int res2 = 0 ;
3371 0 int argvi = 0;
3372 0 dXSARGS;
3373
3374 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
3375 0 SWIG_croak("Usage: _gsl_vector_const_view_vector_set(self,vector);");
3376 }
3377 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__gsl_vector_const_view, 0 | 0 );
3378 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3379 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
3380 }
3381 0 arg1 = (_gsl_vector_const_view *)(argp1);
3382 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector, 0 | 0 );
3383 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
3384 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
3385 }
3386 0 arg2 = (gsl_vector *)(argp2);
3387 0 ▶ if (arg1) (arg1)->vector = *arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->vector = *arg2; 0 0 0
3388 0 ST(argvi) = &PL_sv_undef;
3389
3390
3391 0 XSRETURN(argvi);
3392 0 fail:
3393
3394
3395 0 SWIG_croak_null();
3396 }
3397 }
3398  
3399  
3400 0 XS(_wrap__gsl_vector_const_view_vector_get) {
3401 {
3402 0 _gsl_vector_const_view *arg1 = (_gsl_vector_const_view *) 0 ;
3403 0 void *argp1 = 0 ;
3404 0 int res1 = 0 ;
3405 0 int argvi = 0;
3406 0 gsl_vector *result = 0 ;
3407 0 dXSARGS;
3408
3409 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
3410 0 SWIG_croak("Usage: _gsl_vector_const_view_vector_get(self);");
3411 }
3412 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__gsl_vector_const_view, 0 | 0 );
3413 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3414 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
3415 }
3416 0 arg1 = (_gsl_vector_const_view *)(argp1);
3417 0 result = (gsl_vector *)& ((arg1)->vector);
3418 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_vector, 0 | SWIG_SHADOW); argvi++ ;
3419
3420 0 XSRETURN(argvi);
3421 0 fail:
3422
3423 0 SWIG_croak_null();
3424 }
3425 }
3426  
3427  
3428 0 XS(_wrap_new__gsl_vector_const_view) {
3429 {
3430 0 int argvi = 0;
3431 0 _gsl_vector_const_view *result = 0 ;
3432 0 dXSARGS;
3433
3434 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
3435 0 SWIG_croak("Usage: new__gsl_vector_const_view();");
3436 }
3437 0 result = (_gsl_vector_const_view *)calloc(1, sizeof(_gsl_vector_const_view));
3438 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__gsl_vector_const_view, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
3439 0 XSRETURN(argvi);
3440 0 fail:
3441 0 SWIG_croak_null();
3442 }
3443 }
3444  
3445  
3446 0 XS(_wrap_delete__gsl_vector_const_view) {
3447 {
3448 0 _gsl_vector_const_view *arg1 = (_gsl_vector_const_view *) 0 ;
3449 0 void *argp1 = 0 ;
3450 0 int res1 = 0 ;
3451 0 int argvi = 0;
3452 0 dXSARGS;
3453
3454 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
3455 0 SWIG_croak("Usage: delete__gsl_vector_const_view(self);");
3456 }
3457 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__gsl_vector_const_view, SWIG_POINTER_DISOWN | 0 );
3458 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3459 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
3460 }
3461 0 arg1 = (_gsl_vector_const_view *)(argp1);
3462 0 free((char *) arg1);
3463 0 ST(argvi) = &PL_sv_undef;
3464
3465 0 XSRETURN(argvi);
3466 0 fail:
3467
3468 0 SWIG_croak_null();
3469 }
3470 }
3471  
3472  
3473 0 XS(_wrap_gsl_vector_alloc) {
3474 {
3475 size_t arg1 ;
3476 size_t val1 ;
3477 0 int ecode1 = 0 ;
3478 0 int argvi = 0;
3479 0 gsl_vector *result = 0 ;
3480 0 dXSARGS;
3481
3482 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
3483 0 SWIG_croak("Usage: gsl_vector_alloc(n);");
3484 }
3485 0 ecode1 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
3486 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
3487 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
3488 }
3489 0 arg1 = (size_t)(val1);
3490 0 result = (gsl_vector *)gsl_vector_alloc(arg1);
3491 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_vector, 0 | SWIG_SHADOW); argvi++ ;
3492
3493 0 XSRETURN(argvi);
3494 0 fail:
3495
3496 0 SWIG_croak_null();
3497 }
3498 }
3499  
3500  
3501 0 XS(_wrap_gsl_vector_calloc) {
3502 {
3503 size_t arg1 ;
3504 size_t val1 ;
3505 0 int ecode1 = 0 ;
3506 0 int argvi = 0;
3507 0 gsl_vector *result = 0 ;
3508 0 dXSARGS;
3509
3510 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
3511 0 SWIG_croak("Usage: gsl_vector_calloc(n);");
3512 }
3513 0 ecode1 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
3514 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
3515 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
3516 }
3517 0 arg1 = (size_t)(val1);
3518 0 result = (gsl_vector *)gsl_vector_calloc(arg1);
3519 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_vector, 0 | SWIG_SHADOW); argvi++ ;
3520
3521 0 XSRETURN(argvi);
3522 0 fail:
3523
3524 0 SWIG_croak_null();
3525 }
3526 }
3527  
3528  
3529 0 XS(_wrap_gsl_vector_alloc_from_block) {
3530 {
3531 0 gsl_block *arg1 = (gsl_block *) 0 ;
3532 size_t arg2 ;
3533 size_t arg3 ;
3534 size_t arg4 ;
3535 0 void *argp1 = 0 ;
3536 0 int res1 = 0 ;
3537 size_t val2 ;
3538 0 int ecode2 = 0 ;
3539 size_t val3 ;
3540 0 int ecode3 = 0 ;
3541 size_t val4 ;
3542 0 int ecode4 = 0 ;
3543 0 int argvi = 0;
3544 0 gsl_vector *result = 0 ;
3545 0 dXSARGS;
3546
3547 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
3548 0 SWIG_croak("Usage: gsl_vector_alloc_from_block(b,offset,n,stride);");
3549 }
3550 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_block, 0 | 0 );
3551 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3552 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
3553 }
3554 0 arg1 = (gsl_block *)(argp1);
3555 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
3556 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
3557 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
3558 }
3559 0 arg2 = (size_t)(val2);
3560 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
3561 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
3562 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
3563 }
3564 0 arg3 = (size_t)(val3);
3565 0 ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
3566 0 ▶ if (!SWIG_IsOK(ecode4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode4)) { 0 0 0
3567 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
3568 }
3569 0 arg4 = (size_t)(val4);
3570 0 result = (gsl_vector *)gsl_vector_alloc_from_block(arg1,arg2,arg3,arg4);
3571 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_vector, 0 | SWIG_SHADOW); argvi++ ;
3572
3573
3574
3575
3576 0 XSRETURN(argvi);
3577 0 fail:
3578
3579
3580
3581
3582 0 SWIG_croak_null();
3583 }
3584 }
3585  
3586  
3587 0 XS(_wrap_gsl_vector_alloc_from_vector) {
3588 {
3589 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
3590 size_t arg2 ;
3591 size_t arg3 ;
3592 size_t arg4 ;
3593 0 void *argp1 = 0 ;
3594 0 int res1 = 0 ;
3595 size_t val2 ;
3596 0 int ecode2 = 0 ;
3597 size_t val3 ;
3598 0 int ecode3 = 0 ;
3599 size_t val4 ;
3600 0 int ecode4 = 0 ;
3601 0 int argvi = 0;
3602 0 gsl_vector *result = 0 ;
3603 0 dXSARGS;
3604
3605 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
3606 0 SWIG_croak("Usage: gsl_vector_alloc_from_vector(v,offset,n,stride);");
3607 }
3608 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
3609 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3610 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_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
3611 }
3612 0 arg1 = (gsl_vector *)(argp1);
3613 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
3614 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
3615 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_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
3616 }
3617 0 arg2 = (size_t)(val2);
3618 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
3619 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
3620 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_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
3621 }
3622 0 arg3 = (size_t)(val3);
3623 0 ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
3624 0 ▶ if (!SWIG_IsOK(ecode4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode4)) { 0 0 0
3625 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
3626 }
3627 0 arg4 = (size_t)(val4);
3628 0 result = (gsl_vector *)gsl_vector_alloc_from_vector(arg1,arg2,arg3,arg4);
3629 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_vector, 0 | SWIG_SHADOW); argvi++ ;
3630
3631
3632
3633
3634 0 XSRETURN(argvi);
3635 0 fail:
3636
3637
3638
3639
3640 0 SWIG_croak_null();
3641 }
3642 }
3643  
3644  
3645 0 XS(_wrap_gsl_vector_free) {
3646 {
3647 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
3648 0 void *argp1 = 0 ;
3649 0 int res1 = 0 ;
3650 0 int argvi = 0;
3651 0 dXSARGS;
3652
3653 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
3654 0 SWIG_croak("Usage: gsl_vector_free(v);");
3655 }
3656 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
3657 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3658 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
3659 }
3660 0 arg1 = (gsl_vector *)(argp1);
3661 0 gsl_vector_free(arg1);
3662 0 ST(argvi) = &PL_sv_undef;
3663
3664 0 XSRETURN(argvi);
3665 0 fail:
3666
3667 0 SWIG_croak_null();
3668 }
3669 }
3670  
3671  
3672 0 XS(_wrap_gsl_vector_view_array) {
3673 {
3674 0 double *arg1 = (double *) 0 ;
3675 size_t arg2 ;
3676 size_t val2 ;
3677 0 int ecode2 = 0 ;
3678 0 int argvi = 0;
3679 _gsl_vector_view result;
3680 0 dXSARGS;
3681
3682 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
3683 0 SWIG_croak("Usage: gsl_vector_view_array(v,n);");
3684 }
3685 {
3686 AV *tempav;
3687 I32 len;
3688 int i;
3689 SV **tv;
3690 0 ▶ if (!SvROK(ST(0)))
Branch: 1 branch
BranchTrueFalseTotal
if (!SvROK(ST(0))) 0 0 0
3691 0 croak("Math::GSL : $v is not a reference!");
3692 0 ▶ if (SvTYPE(SvRV(ST(0))) != SVt_PVAV)
Branch: 1 branch
BranchTrueFalseTotal
if (SvTYPE(SvRV(ST(0))) != SVt_PVAV) 0 0 0
3693 0 croak("Math::GSL : $v is not an array ref!");
3694
3695 0 tempav = (AV*)SvRV(ST(0));
3696 0 len = av_len(tempav);
3697 0 arg1 = (double *) malloc((len+2)*sizeof(double));
3698 0 ▶ for (i = 0; i <= len; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; i <= len; i++) { 0 0 0
3699 0 tv = av_fetch(tempav, i, 0);
3700 0 arg1[i] = (double) SvNV(*tv);
3701 }
3702 }
3703 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
3704 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
3705 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
3706 }
3707 0 arg2 = (size_t)(val2);
3708 0 result = gsl_vector_view_array(arg1,arg2);
3709 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++ ;
3710 {
3711 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
3712 }
3713
3714 0 XSRETURN(argvi);
3715 0 fail:
3716 {
3717 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
3718 }
3719
3720 0 SWIG_croak_null();
3721 }
3722 }
3723  
3724  
3725 0 XS(_wrap_gsl_vector_view_array_with_stride) {
3726 {
3727 0 double *arg1 = (double *) 0 ;
3728 size_t arg2 ;
3729 size_t arg3 ;
3730 size_t val2 ;
3731 0 int ecode2 = 0 ;
3732 size_t val3 ;
3733 0 int ecode3 = 0 ;
3734 0 int argvi = 0;
3735 _gsl_vector_view result;
3736 0 dXSARGS;
3737
3738 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
3739 0 SWIG_croak("Usage: gsl_vector_view_array_with_stride(base,stride,n);");
3740 }
3741 {
3742 AV *tempav;
3743 I32 len;
3744 int i;
3745 SV **tv;
3746 0 ▶ if (!SvROK(ST(0)))
Branch: 1 branch
BranchTrueFalseTotal
if (!SvROK(ST(0))) 0 0 0
3747 0 croak("Math::GSL : $base is not a reference!");
3748 0 ▶ if (SvTYPE(SvRV(ST(0))) != SVt_PVAV)
Branch: 1 branch
BranchTrueFalseTotal
if (SvTYPE(SvRV(ST(0))) != SVt_PVAV) 0 0 0
3749 0 croak("Math::GSL : $base is not an array ref!");
3750
3751 0 tempav = (AV*)SvRV(ST(0));
3752 0 len = av_len(tempav);
3753 0 arg1 = (double *) malloc((len+2)*sizeof(double));
3754 0 ▶ for (i = 0; i <= len; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; i <= len; i++) { 0 0 0
3755 0 tv = av_fetch(tempav, i, 0);
3756 0 arg1[i] = (double) SvNV(*tv);
3757 }
3758 }
3759 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
3760 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
3761 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
3762 }
3763 0 arg2 = (size_t)(val2);
3764 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
3765 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
3766 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
3767 }
3768 0 arg3 = (size_t)(val3);
3769 0 result = gsl_vector_view_array_with_stride(arg1,arg2,arg3);
3770 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++ ;
3771 {
3772 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
3773 }
3774
3775
3776 0 XSRETURN(argvi);
3777 0 fail:
3778 {
3779 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
3780 }
3781
3782
3783 0 SWIG_croak_null();
3784 }
3785 }
3786  
3787  
3788 0 XS(_wrap_gsl_vector_const_view_array) {
3789 {
3790 0 double *arg1 = (double *) 0 ;
3791 size_t arg2 ;
3792 size_t val2 ;
3793 0 int ecode2 = 0 ;
3794 0 int argvi = 0;
3795 _gsl_vector_const_view result;
3796 0 dXSARGS;
3797
3798 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
3799 0 SWIG_croak("Usage: gsl_vector_const_view_array(v,n);");
3800 }
3801 {
3802 AV *tempav;
3803 I32 len;
3804 int i;
3805 SV **tv;
3806 0 ▶ if (!SvROK(ST(0)))
Branch: 1 branch
BranchTrueFalseTotal
if (!SvROK(ST(0))) 0 0 0
3807 0 croak("Math::GSL : $v is not a reference!");
3808 0 ▶ if (SvTYPE(SvRV(ST(0))) != SVt_PVAV)
Branch: 1 branch
BranchTrueFalseTotal
if (SvTYPE(SvRV(ST(0))) != SVt_PVAV) 0 0 0
3809 0 croak("Math::GSL : $v is not an array ref!");
3810
3811 0 tempav = (AV*)SvRV(ST(0));
3812 0 len = av_len(tempav);
3813 0 arg1 = (double *) malloc((len+2)*sizeof(double));
3814 0 ▶ for (i = 0; i <= len; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; i <= len; i++) { 0 0 0
3815 0 tv = av_fetch(tempav, i, 0);
3816 0 arg1[i] = (double) SvNV(*tv);
3817 }
3818 }
3819 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
3820 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
3821 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
3822 }
3823 0 arg2 = (size_t)(val2);
3824 0 result = gsl_vector_const_view_array((double const *)arg1,arg2);
3825 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++ ;
3826 {
3827 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
3828 }
3829
3830 0 XSRETURN(argvi);
3831 0 fail:
3832 {
3833 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
3834 }
3835
3836 0 SWIG_croak_null();
3837 }
3838 }
3839  
3840  
3841 0 XS(_wrap_gsl_vector_const_view_array_with_stride) {
3842 {
3843 0 double *arg1 = (double *) 0 ;
3844 size_t arg2 ;
3845 size_t arg3 ;
3846 size_t val2 ;
3847 0 int ecode2 = 0 ;
3848 size_t val3 ;
3849 0 int ecode3 = 0 ;
3850 0 int argvi = 0;
3851 _gsl_vector_const_view result;
3852 0 dXSARGS;
3853
3854 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
3855 0 SWIG_croak("Usage: gsl_vector_const_view_array_with_stride(base,stride,n);");
3856 }
3857 {
3858 AV *tempav;
3859 I32 len;
3860 int i;
3861 SV **tv;
3862 0 ▶ if (!SvROK(ST(0)))
Branch: 1 branch
BranchTrueFalseTotal
if (!SvROK(ST(0))) 0 0 0
3863 0 croak("Math::GSL : $base is not a reference!");
3864 0 ▶ if (SvTYPE(SvRV(ST(0))) != SVt_PVAV)
Branch: 1 branch
BranchTrueFalseTotal
if (SvTYPE(SvRV(ST(0))) != SVt_PVAV) 0 0 0
3865 0 croak("Math::GSL : $base is not an array ref!");
3866
3867 0 tempav = (AV*)SvRV(ST(0));
3868 0 len = av_len(tempav);
3869 0 arg1 = (double *) malloc((len+2)*sizeof(double));
3870 0 ▶ for (i = 0; i <= len; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; i <= len; i++) { 0 0 0
3871 0 tv = av_fetch(tempav, i, 0);
3872 0 arg1[i] = (double) SvNV(*tv);
3873 }
3874 }
3875 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
3876 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
3877 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
3878 }
3879 0 arg2 = (size_t)(val2);
3880 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
3881 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
3882 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
3883 }
3884 0 arg3 = (size_t)(val3);
3885 0 result = gsl_vector_const_view_array_with_stride((double const *)arg1,arg2,arg3);
3886 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++ ;
3887 {
3888 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
3889 }
3890
3891
3892 0 XSRETURN(argvi);
3893 0 fail:
3894 {
3895 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
3896 }
3897
3898
3899 0 SWIG_croak_null();
3900 }
3901 }
3902  
3903  
3904 0 XS(_wrap_gsl_vector_subvector) {
3905 {
3906 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
3907 size_t arg2 ;
3908 size_t arg3 ;
3909 0 void *argp1 = 0 ;
3910 0 int res1 = 0 ;
3911 size_t val2 ;
3912 0 int ecode2 = 0 ;
3913 size_t val3 ;
3914 0 int ecode3 = 0 ;
3915 0 int argvi = 0;
3916 _gsl_vector_view result;
3917 0 dXSARGS;
3918
3919 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
3920 0 SWIG_croak("Usage: gsl_vector_subvector(v,i,n);");
3921 }
3922 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
3923 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3924 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
3925 }
3926 0 arg1 = (gsl_vector *)(argp1);
3927 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
3928 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
3929 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
3930 }
3931 0 arg2 = (size_t)(val2);
3932 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
3933 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
3934 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
3935 }
3936 0 arg3 = (size_t)(val3);
3937 0 result = gsl_vector_subvector(arg1,arg2,arg3);
3938 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++ ;
3939
3940
3941
3942 0 XSRETURN(argvi);
3943 0 fail:
3944
3945
3946
3947 0 SWIG_croak_null();
3948 }
3949 }
3950  
3951  
3952 0 XS(_wrap_gsl_vector_subvector_with_stride) {
3953 {
3954 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
3955 size_t arg2 ;
3956 size_t arg3 ;
3957 size_t arg4 ;
3958 0 void *argp1 = 0 ;
3959 0 int res1 = 0 ;
3960 size_t val2 ;
3961 0 int ecode2 = 0 ;
3962 size_t val3 ;
3963 0 int ecode3 = 0 ;
3964 size_t val4 ;
3965 0 int ecode4 = 0 ;
3966 0 int argvi = 0;
3967 _gsl_vector_view result;
3968 0 dXSARGS;
3969
3970 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
3971 0 SWIG_croak("Usage: gsl_vector_subvector_with_stride(v,i,stride,n);");
3972 }
3973 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
3974 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3975 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
3976 }
3977 0 arg1 = (gsl_vector *)(argp1);
3978 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
3979 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
3980 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
3981 }
3982 0 arg2 = (size_t)(val2);
3983 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
3984 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
3985 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
3986 }
3987 0 arg3 = (size_t)(val3);
3988 0 ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
3989 0 ▶ if (!SWIG_IsOK(ecode4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode4)) { 0 0 0
3990 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
3991 }
3992 0 arg4 = (size_t)(val4);
3993 0 result = gsl_vector_subvector_with_stride(arg1,arg2,arg3,arg4);
3994 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++ ;
3995
3996
3997
3998
3999 0 XSRETURN(argvi);
4000 0 fail:
4001
4002
4003
4004
4005 0 SWIG_croak_null();
4006 }
4007 }
4008  
4009  
4010 0 XS(_wrap_gsl_vector_const_subvector) {
4011 {
4012 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
4013 size_t arg2 ;
4014 size_t arg3 ;
4015 0 void *argp1 = 0 ;
4016 0 int res1 = 0 ;
4017 size_t val2 ;
4018 0 int ecode2 = 0 ;
4019 size_t val3 ;
4020 0 int ecode3 = 0 ;
4021 0 int argvi = 0;
4022 _gsl_vector_const_view result;
4023 0 dXSARGS;
4024
4025 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
4026 0 SWIG_croak("Usage: gsl_vector_const_subvector(v,i,n);");
4027 }
4028 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
4029 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4030 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
4031 }
4032 0 arg1 = (gsl_vector *)(argp1);
4033 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
4034 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
4035 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
4036 }
4037 0 arg2 = (size_t)(val2);
4038 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
4039 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
4040 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
4041 }
4042 0 arg3 = (size_t)(val3);
4043 0 result = gsl_vector_const_subvector((gsl_vector const *)arg1,arg2,arg3);
4044 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++ ;
4045
4046
4047
4048 0 XSRETURN(argvi);
4049 0 fail:
4050
4051
4052
4053 0 SWIG_croak_null();
4054 }
4055 }
4056  
4057  
4058 0 XS(_wrap_gsl_vector_const_subvector_with_stride) {
4059 {
4060 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
4061 size_t arg2 ;
4062 size_t arg3 ;
4063 size_t arg4 ;
4064 0 void *argp1 = 0 ;
4065 0 int res1 = 0 ;
4066 size_t val2 ;
4067 0 int ecode2 = 0 ;
4068 size_t val3 ;
4069 0 int ecode3 = 0 ;
4070 size_t val4 ;
4071 0 int ecode4 = 0 ;
4072 0 int argvi = 0;
4073 _gsl_vector_const_view result;
4074 0 dXSARGS;
4075
4076 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
4077 0 SWIG_croak("Usage: gsl_vector_const_subvector_with_stride(v,i,stride,n);");
4078 }
4079 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
4080 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4081 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
4082 }
4083 0 arg1 = (gsl_vector *)(argp1);
4084 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
4085 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
4086 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
4087 }
4088 0 arg2 = (size_t)(val2);
4089 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
4090 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
4091 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
4092 }
4093 0 arg3 = (size_t)(val3);
4094 0 ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
4095 0 ▶ if (!SWIG_IsOK(ecode4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode4)) { 0 0 0
4096 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
4097 }
4098 0 arg4 = (size_t)(val4);
4099 0 result = gsl_vector_const_subvector_with_stride((gsl_vector const *)arg1,arg2,arg3,arg4);
4100 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++ ;
4101
4102
4103
4104
4105 0 XSRETURN(argvi);
4106 0 fail:
4107
4108
4109
4110
4111 0 SWIG_croak_null();
4112 }
4113 }
4114  
4115  
4116 0 XS(_wrap_gsl_vector_set_zero) {
4117 {
4118 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
4119 0 void *argp1 = 0 ;
4120 0 int res1 = 0 ;
4121 0 int argvi = 0;
4122 0 dXSARGS;
4123
4124 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
4125 0 SWIG_croak("Usage: gsl_vector_set_zero(v);");
4126 }
4127 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
4128 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4129 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
4130 }
4131 0 arg1 = (gsl_vector *)(argp1);
4132 0 gsl_vector_set_zero(arg1);
4133 0 ST(argvi) = &PL_sv_undef;
4134
4135 0 XSRETURN(argvi);
4136 0 fail:
4137
4138 0 SWIG_croak_null();
4139 }
4140 }
4141  
4142  
4143 0 XS(_wrap_gsl_vector_set_all) {
4144 {
4145 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
4146 double arg2 ;
4147 0 void *argp1 = 0 ;
4148 0 int res1 = 0 ;
4149 double val2 ;
4150 0 int ecode2 = 0 ;
4151 0 int argvi = 0;
4152 0 dXSARGS;
4153
4154 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
4155 0 SWIG_croak("Usage: gsl_vector_set_all(v,x);");
4156 }
4157 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
4158 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4159 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
4160 }
4161 0 arg1 = (gsl_vector *)(argp1);
4162 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
4163 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
4164 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
4165 }
4166 0 arg2 = (double)(val2);
4167 0 gsl_vector_set_all(arg1,arg2);
4168 0 ST(argvi) = &PL_sv_undef;
4169
4170
4171 0 XSRETURN(argvi);
4172 0 fail:
4173
4174
4175 0 SWIG_croak_null();
4176 }
4177 }
4178  
4179  
4180 0 XS(_wrap_gsl_vector_set_basis) {
4181 {
4182 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
4183 size_t arg2 ;
4184 0 void *argp1 = 0 ;
4185 0 int res1 = 0 ;
4186 size_t val2 ;
4187 0 int ecode2 = 0 ;
4188 0 int argvi = 0;
4189 int result;
4190 0 dXSARGS;
4191
4192 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
4193 0 SWIG_croak("Usage: gsl_vector_set_basis(v,i);");
4194 }
4195 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
4196 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4197 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
4198 }
4199 0 arg1 = (gsl_vector *)(argp1);
4200 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
4201 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
4202 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
4203 }
4204 0 arg2 = (size_t)(val2);
4205 0 result = (int)gsl_vector_set_basis(arg1,arg2);
4206 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
4207
4208
4209 0 XSRETURN(argvi);
4210 0 fail:
4211
4212
4213 0 SWIG_croak_null();
4214 }
4215 }
4216  
4217  
4218 0 XS(_wrap_gsl_vector_fread) {
4219 {
4220 0 FILE *arg1 = (FILE *) 0 ;
4221 0 gsl_vector *arg2 = (gsl_vector *) 0 ;
4222 0 void *argp1 = 0 ;
4223 0 int res1 = 0 ;
4224 0 void *argp2 = 0 ;
4225 0 int res2 = 0 ;
4226 0 int argvi = 0;
4227 int result;
4228 0 dXSARGS;
4229
4230 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
4231 0 SWIG_croak("Usage: gsl_vector_fread(stream,v);");
4232 }
4233 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_FILE, 0 | 0 );
4234 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4235 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
4236 }
4237 0 arg1 = (FILE *)(argp1);
4238 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector, 0 | 0 );
4239 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
4240 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
4241 }
4242 0 arg2 = (gsl_vector *)(argp2);
4243 0 result = (int)gsl_vector_fread(arg1,arg2);
4244 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
4245
4246
4247 0 XSRETURN(argvi);
4248 0 fail:
4249
4250
4251 0 SWIG_croak_null();
4252 }
4253 }
4254  
4255  
4256 0 XS(_wrap_gsl_vector_fwrite) {
4257 {
4258 0 FILE *arg1 = (FILE *) 0 ;
4259 0 gsl_vector *arg2 = (gsl_vector *) 0 ;
4260 0 void *argp1 = 0 ;
4261 0 int res1 = 0 ;
4262 0 void *argp2 = 0 ;
4263 0 int res2 = 0 ;
4264 0 int argvi = 0;
4265 int result;
4266 0 dXSARGS;
4267
4268 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
4269 0 SWIG_croak("Usage: gsl_vector_fwrite(stream,v);");
4270 }
4271 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_FILE, 0 | 0 );
4272 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4273 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
4274 }
4275 0 arg1 = (FILE *)(argp1);
4276 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector, 0 | 0 );
4277 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
4278 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
4279 }
4280 0 arg2 = (gsl_vector *)(argp2);
4281 0 result = (int)gsl_vector_fwrite(arg1,(gsl_vector const *)arg2);
4282 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
4283
4284
4285 0 XSRETURN(argvi);
4286 0 fail:
4287
4288
4289 0 SWIG_croak_null();
4290 }
4291 }
4292  
4293  
4294 0 XS(_wrap_gsl_vector_fscanf) {
4295 {
4296 0 FILE *arg1 = (FILE *) 0 ;
4297 0 gsl_vector *arg2 = (gsl_vector *) 0 ;
4298 0 void *argp1 = 0 ;
4299 0 int res1 = 0 ;
4300 0 void *argp2 = 0 ;
4301 0 int res2 = 0 ;
4302 0 int argvi = 0;
4303 int result;
4304 0 dXSARGS;
4305
4306 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
4307 0 SWIG_croak("Usage: gsl_vector_fscanf(stream,v);");
4308 }
4309 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_FILE, 0 | 0 );
4310 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4311 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
4312 }
4313 0 arg1 = (FILE *)(argp1);
4314 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector, 0 | 0 );
4315 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
4316 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
4317 }
4318 0 arg2 = (gsl_vector *)(argp2);
4319 0 result = (int)gsl_vector_fscanf(arg1,arg2);
4320 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
4321
4322
4323 0 XSRETURN(argvi);
4324 0 fail:
4325
4326
4327 0 SWIG_croak_null();
4328 }
4329 }
4330  
4331  
4332 0 XS(_wrap_gsl_vector_fprintf) {
4333 {
4334 0 FILE *arg1 = (FILE *) 0 ;
4335 0 gsl_vector *arg2 = (gsl_vector *) 0 ;
4336 0 char *arg3 = (char *) 0 ;
4337 0 void *argp1 = 0 ;
4338 0 int res1 = 0 ;
4339 0 void *argp2 = 0 ;
4340 0 int res2 = 0 ;
4341 int res3 ;
4342 0 char *buf3 = 0 ;
4343 0 int alloc3 = 0 ;
4344 0 int argvi = 0;
4345 int result;
4346 0 dXSARGS;
4347
4348 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
4349 0 SWIG_croak("Usage: gsl_vector_fprintf(stream,v,format);");
4350 }
4351 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_FILE, 0 | 0 );
4352 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4353 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
4354 }
4355 0 arg1 = (FILE *)(argp1);
4356 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector, 0 | 0 );
4357 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
4358 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
4359 }
4360 0 arg2 = (gsl_vector *)(argp2);
4361 0 res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
4362 0 ▶ if (!SWIG_IsOK(res3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res3)) { 0 0 0
4363 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
4364 }
4365 0 arg3 = (char *)(buf3);
4366 0 result = (int)gsl_vector_fprintf(arg1,(gsl_vector const *)arg2,(char const *)arg3);
4367 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
4368
4369
4370 0 ▶ if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3); 0 0 0
4371 0 XSRETURN(argvi);
4372 0 fail:
4373
4374
4375 0 ▶ if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3); 0 0 0
4376 0 SWIG_croak_null();
4377 }
4378 }
4379  
4380  
4381 0 XS(_wrap_gsl_vector_memcpy) {
4382 {
4383 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
4384 0 gsl_vector *arg2 = (gsl_vector *) 0 ;
4385 0 void *argp1 = 0 ;
4386 0 int res1 = 0 ;
4387 0 void *argp2 = 0 ;
4388 0 int res2 = 0 ;
4389 0 int argvi = 0;
4390 int result;
4391 0 dXSARGS;
4392
4393 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
4394 0 SWIG_croak("Usage: gsl_vector_memcpy(dest,src);");
4395 }
4396 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
4397 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4398 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
4399 }
4400 0 arg1 = (gsl_vector *)(argp1);
4401 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector, 0 | 0 );
4402 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
4403 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
4404 }
4405 0 arg2 = (gsl_vector *)(argp2);
4406 0 result = (int)gsl_vector_memcpy(arg1,(gsl_vector const *)arg2);
4407 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
4408
4409
4410 0 XSRETURN(argvi);
4411 0 fail:
4412
4413
4414 0 SWIG_croak_null();
4415 }
4416 }
4417  
4418  
4419 0 XS(_wrap_gsl_vector_reverse) {
4420 {
4421 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
4422 0 void *argp1 = 0 ;
4423 0 int res1 = 0 ;
4424 0 int argvi = 0;
4425 int result;
4426 0 dXSARGS;
4427
4428 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
4429 0 SWIG_croak("Usage: gsl_vector_reverse(v);");
4430 }
4431 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
4432 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4433 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
4434 }
4435 0 arg1 = (gsl_vector *)(argp1);
4436 0 result = (int)gsl_vector_reverse(arg1);
4437 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
4438
4439 0 XSRETURN(argvi);
4440 0 fail:
4441
4442 0 SWIG_croak_null();
4443 }
4444 }
4445  
4446  
4447 0 XS(_wrap_gsl_vector_swap) {
4448 {
4449 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
4450 0 gsl_vector *arg2 = (gsl_vector *) 0 ;
4451 0 void *argp1 = 0 ;
4452 0 int res1 = 0 ;
4453 0 void *argp2 = 0 ;
4454 0 int res2 = 0 ;
4455 0 int argvi = 0;
4456 int result;
4457 0 dXSARGS;
4458
4459 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
4460 0 SWIG_croak("Usage: gsl_vector_swap(v,w);");
4461 }
4462 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
4463 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4464 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
4465 }
4466 0 arg1 = (gsl_vector *)(argp1);
4467 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector, 0 | 0 );
4468 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
4469 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
4470 }
4471 0 arg2 = (gsl_vector *)(argp2);
4472 0 result = (int)gsl_vector_swap(arg1,arg2);
4473 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
4474
4475
4476 0 XSRETURN(argvi);
4477 0 fail:
4478
4479
4480 0 SWIG_croak_null();
4481 }
4482 }
4483  
4484  
4485 0 XS(_wrap_gsl_vector_swap_elements) {
4486 {
4487 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
4488 size_t arg2 ;
4489 size_t arg3 ;
4490 0 void *argp1 = 0 ;
4491 0 int res1 = 0 ;
4492 size_t val2 ;
4493 0 int ecode2 = 0 ;
4494 size_t val3 ;
4495 0 int ecode3 = 0 ;
4496 0 int argvi = 0;
4497 int result;
4498 0 dXSARGS;
4499
4500 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
4501 0 SWIG_croak("Usage: gsl_vector_swap_elements(v,i,j);");
4502 }
4503 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
4504 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4505 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
4506 }
4507 0 arg1 = (gsl_vector *)(argp1);
4508 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
4509 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
4510 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
4511 }
4512 0 arg2 = (size_t)(val2);
4513 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
4514 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
4515 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
4516 }
4517 0 arg3 = (size_t)(val3);
4518 0 result = (int)gsl_vector_swap_elements(arg1,arg2,arg3);
4519 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
4520
4521
4522
4523 0 XSRETURN(argvi);
4524 0 fail:
4525
4526
4527
4528 0 SWIG_croak_null();
4529 }
4530 }
4531  
4532  
4533 0 XS(_wrap_gsl_vector_max) {
4534 {
4535 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
4536 0 void *argp1 = 0 ;
4537 0 int res1 = 0 ;
4538 0 int argvi = 0;
4539 double result;
4540 0 dXSARGS;
4541
4542 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
4543 0 SWIG_croak("Usage: gsl_vector_max(v);");
4544 }
4545 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
4546 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4547 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
4548 }
4549 0 arg1 = (gsl_vector *)(argp1);
4550 0 result = (double)gsl_vector_max((gsl_vector const *)arg1);
4551 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
4552
4553 0 XSRETURN(argvi);
4554 0 fail:
4555
4556 0 SWIG_croak_null();
4557 }
4558 }
4559  
4560  
4561 0 XS(_wrap_gsl_vector_min) {
4562 {
4563 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
4564 0 void *argp1 = 0 ;
4565 0 int res1 = 0 ;
4566 0 int argvi = 0;
4567 double result;
4568 0 dXSARGS;
4569
4570 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
4571 0 SWIG_croak("Usage: gsl_vector_min(v);");
4572 }
4573 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
4574 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4575 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
4576 }
4577 0 arg1 = (gsl_vector *)(argp1);
4578 0 result = (double)gsl_vector_min((gsl_vector const *)arg1);
4579 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
4580
4581 0 XSRETURN(argvi);
4582 0 fail:
4583
4584 0 SWIG_croak_null();
4585 }
4586 }
4587  
4588  
4589 0 XS(_wrap_gsl_vector_minmax) {
4590 {
4591 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
4592 0 double *arg2 = (double *) 0 ;
4593 0 double *arg3 = (double *) 0 ;
4594 0 void *argp1 = 0 ;
4595 0 int res1 = 0 ;
4596 double temp2 ;
4597 0 int res2 = SWIG_TMPOBJ ;
4598 double temp3 ;
4599 0 int res3 = SWIG_TMPOBJ ;
4600 0 int argvi = 0;
4601 0 dXSARGS;
4602
4603 0 arg2 = &temp2;
4604 0 arg3 = &temp3;
4605 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
4606 0 SWIG_croak("Usage: gsl_vector_minmax(v);");
4607 }
4608 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
4609 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4610 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
4611 }
4612 0 arg1 = (gsl_vector *)(argp1);
4613 0 gsl_vector_minmax((gsl_vector const *)arg1,arg2,arg3);
4614 0 ST(argvi) = &PL_sv_undef;
4615 0 ▶ if (SWIG_IsTmpObj(res2)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SWIG_IsTmpObj(res2)) { 0 0 0
if (SWIG_IsTmpObj(res2)) { 0 0 0
4616 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
4617 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
4618 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((*arg2)); argvi++ /*@SWIG@*/;
4619 } else {
4620 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
4621 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
4622 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
4623 0 ST(argvi) = SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, new_flags); argvi++ /*@SWIG@*/;
4624 }
4625 0 ▶ if (SWIG_IsTmpObj(res3)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SWIG_IsTmpObj(res3)) { 0 0 0
if (SWIG_IsTmpObj(res3)) { 0 0 0
4626 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
4627 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
4628 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((*arg3)); argvi++ /*@SWIG@*/;
4629 } else {
4630 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
4631 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
4632 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
4633 0 ST(argvi) = SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, new_flags); argvi++ /*@SWIG@*/;
4634 }
4635
4636
4637
4638 0 XSRETURN(argvi);
4639 0 fail:
4640
4641
4642
4643 0 SWIG_croak_null();
4644 }
4645 }
4646  
4647  
4648 0 XS(_wrap_gsl_vector_max_index) {
4649 {
4650 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
4651 0 void *argp1 = 0 ;
4652 0 int res1 = 0 ;
4653 0 int argvi = 0;
4654 size_t result;
4655 0 dXSARGS;
4656
4657 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
4658 0 SWIG_croak("Usage: gsl_vector_max_index(v);");
4659 }
4660 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
4661 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4662 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
4663 }
4664 0 arg1 = (gsl_vector *)(argp1);
4665 0 result = gsl_vector_max_index((gsl_vector const *)arg1);
4666 0 ST(argvi) = SWIG_From_size_t SWIG_PERL_CALL_ARGS_1((size_t)(result)); argvi++ ;
4667
4668 0 XSRETURN(argvi);
4669 0 fail:
4670
4671 0 SWIG_croak_null();
4672 }
4673 }
4674  
4675  
4676 0 XS(_wrap_gsl_vector_min_index) {
4677 {
4678 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
4679 0 void *argp1 = 0 ;
4680 0 int res1 = 0 ;
4681 0 int argvi = 0;
4682 size_t result;
4683 0 dXSARGS;
4684
4685 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
4686 0 SWIG_croak("Usage: gsl_vector_min_index(v);");
4687 }
4688 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
4689 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4690 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
4691 }
4692 0 arg1 = (gsl_vector *)(argp1);
4693 0 result = gsl_vector_min_index((gsl_vector const *)arg1);
4694 0 ST(argvi) = SWIG_From_size_t SWIG_PERL_CALL_ARGS_1((size_t)(result)); argvi++ ;
4695
4696 0 XSRETURN(argvi);
4697 0 fail:
4698
4699 0 SWIG_croak_null();
4700 }
4701 }
4702  
4703  
4704 0 XS(_wrap_gsl_vector_minmax_index) {
4705 {
4706 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
4707 0 size_t *arg2 = (size_t *) 0 ;
4708 0 size_t *arg3 = (size_t *) 0 ;
4709 0 void *argp1 = 0 ;
4710 0 int res1 = 0 ;
4711 size_t temp2 ;
4712 0 int res2 = SWIG_TMPOBJ ;
4713 size_t temp3 ;
4714 0 int res3 = SWIG_TMPOBJ ;
4715 0 int argvi = 0;
4716 0 dXSARGS;
4717
4718 0 arg2 = &temp2;
4719 0 arg3 = &temp3;
4720 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
4721 0 SWIG_croak("Usage: gsl_vector_minmax_index(v);");
4722 }
4723 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
4724 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4725 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
4726 }
4727 0 arg1 = (gsl_vector *)(argp1);
4728 0 gsl_vector_minmax_index((gsl_vector const *)arg1,arg2,arg3);
4729 0 ST(argvi) = &PL_sv_undef;
4730 0 ▶ if (SWIG_IsTmpObj(res2)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SWIG_IsTmpObj(res2)) { 0 0 0
if (SWIG_IsTmpObj(res2)) { 0 0 0
4731 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
4732 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
4733 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((*arg2)); argvi++ /*@SWIG@*/;
4734 } else {
4735 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
4736 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
4737 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
4738 0 ST(argvi) = SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_size_t, new_flags); argvi++ /*@SWIG@*/;
4739 }
4740 0 ▶ if (SWIG_IsTmpObj(res3)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SWIG_IsTmpObj(res3)) { 0 0 0
if (SWIG_IsTmpObj(res3)) { 0 0 0
4741 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
4742 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
4743 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((*arg3)); argvi++ /*@SWIG@*/;
4744 } else {
4745 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
4746 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
4747 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
4748 0 ST(argvi) = SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_size_t, new_flags); argvi++ /*@SWIG@*/;
4749 }
4750
4751
4752
4753 0 XSRETURN(argvi);
4754 0 fail:
4755
4756
4757
4758 0 SWIG_croak_null();
4759 }
4760 }
4761  
4762  
4763 0 XS(_wrap_gsl_vector_add) {
4764 {
4765 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
4766 0 gsl_vector *arg2 = (gsl_vector *) 0 ;
4767 0 void *argp1 = 0 ;
4768 0 int res1 = 0 ;
4769 0 void *argp2 = 0 ;
4770 0 int res2 = 0 ;
4771 0 int argvi = 0;
4772 int result;
4773 0 dXSARGS;
4774
4775 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
4776 0 SWIG_croak("Usage: gsl_vector_add(a,b);");
4777 }
4778 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
4779 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4780 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
4781 }
4782 0 arg1 = (gsl_vector *)(argp1);
4783 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector, 0 | 0 );
4784 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
4785 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
4786 }
4787 0 arg2 = (gsl_vector *)(argp2);
4788 0 result = (int)gsl_vector_add(arg1,(gsl_vector const *)arg2);
4789 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
4790
4791
4792 0 XSRETURN(argvi);
4793 0 fail:
4794
4795
4796 0 SWIG_croak_null();
4797 }
4798 }
4799  
4800  
4801 0 XS(_wrap_gsl_vector_sub) {
4802 {
4803 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
4804 0 gsl_vector *arg2 = (gsl_vector *) 0 ;
4805 0 void *argp1 = 0 ;
4806 0 int res1 = 0 ;
4807 0 void *argp2 = 0 ;
4808 0 int res2 = 0 ;
4809 0 int argvi = 0;
4810 int result;
4811 0 dXSARGS;
4812
4813 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
4814 0 SWIG_croak("Usage: gsl_vector_sub(a,b);");
4815 }
4816 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
4817 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4818 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
4819 }
4820 0 arg1 = (gsl_vector *)(argp1);
4821 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector, 0 | 0 );
4822 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
4823 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
4824 }
4825 0 arg2 = (gsl_vector *)(argp2);
4826 0 result = (int)gsl_vector_sub(arg1,(gsl_vector const *)arg2);
4827 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
4828
4829
4830 0 XSRETURN(argvi);
4831 0 fail:
4832
4833
4834 0 SWIG_croak_null();
4835 }
4836 }
4837  
4838  
4839 0 XS(_wrap_gsl_vector_mul) {
4840 {
4841 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
4842 0 gsl_vector *arg2 = (gsl_vector *) 0 ;
4843 0 void *argp1 = 0 ;
4844 0 int res1 = 0 ;
4845 0 void *argp2 = 0 ;
4846 0 int res2 = 0 ;
4847 0 int argvi = 0;
4848 int result;
4849 0 dXSARGS;
4850
4851 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
4852 0 SWIG_croak("Usage: gsl_vector_mul(a,b);");
4853 }
4854 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
4855 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4856 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
4857 }
4858 0 arg1 = (gsl_vector *)(argp1);
4859 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector, 0 | 0 );
4860 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
4861 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
4862 }
4863 0 arg2 = (gsl_vector *)(argp2);
4864 0 result = (int)gsl_vector_mul(arg1,(gsl_vector const *)arg2);
4865 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
4866
4867
4868 0 XSRETURN(argvi);
4869 0 fail:
4870
4871
4872 0 SWIG_croak_null();
4873 }
4874 }
4875  
4876  
4877 0 XS(_wrap_gsl_vector_div) {
4878 {
4879 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
4880 0 gsl_vector *arg2 = (gsl_vector *) 0 ;
4881 0 void *argp1 = 0 ;
4882 0 int res1 = 0 ;
4883 0 void *argp2 = 0 ;
4884 0 int res2 = 0 ;
4885 0 int argvi = 0;
4886 int result;
4887 0 dXSARGS;
4888
4889 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
4890 0 SWIG_croak("Usage: gsl_vector_div(a,b);");
4891 }
4892 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
4893 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4894 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
4895 }
4896 0 arg1 = (gsl_vector *)(argp1);
4897 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector, 0 | 0 );
4898 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
4899 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
4900 }
4901 0 arg2 = (gsl_vector *)(argp2);
4902 0 result = (int)gsl_vector_div(arg1,(gsl_vector const *)arg2);
4903 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
4904
4905
4906 0 XSRETURN(argvi);
4907 0 fail:
4908
4909
4910 0 SWIG_croak_null();
4911 }
4912 }
4913  
4914  
4915 0 XS(_wrap_gsl_vector_scale) {
4916 {
4917 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
4918 double arg2 ;
4919 0 void *argp1 = 0 ;
4920 0 int res1 = 0 ;
4921 double val2 ;
4922 0 int ecode2 = 0 ;
4923 0 int argvi = 0;
4924 int result;
4925 0 dXSARGS;
4926
4927 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
4928 0 SWIG_croak("Usage: gsl_vector_scale(a,x);");
4929 }
4930 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
4931 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4932 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
4933 }
4934 0 arg1 = (gsl_vector *)(argp1);
4935 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
4936 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
4937 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
4938 }
4939 0 arg2 = (double)(val2);
4940 0 result = (int)gsl_vector_scale(arg1,arg2);
4941 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
4942
4943
4944 0 XSRETURN(argvi);
4945 0 fail:
4946
4947
4948 0 SWIG_croak_null();
4949 }
4950 }
4951  
4952  
4953 0 XS(_wrap_gsl_vector_add_constant) {
4954 {
4955 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
4956 double arg2 ;
4957 0 void *argp1 = 0 ;
4958 0 int res1 = 0 ;
4959 double val2 ;
4960 0 int ecode2 = 0 ;
4961 0 int argvi = 0;
4962 int result;
4963 0 dXSARGS;
4964
4965 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
4966 0 SWIG_croak("Usage: gsl_vector_add_constant(a,x);");
4967 }
4968 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
4969 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4970 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
4971 }
4972 0 arg1 = (gsl_vector *)(argp1);
4973 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
4974 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
4975 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
4976 }
4977 0 arg2 = (double)(val2);
4978 0 result = (int)gsl_vector_add_constant(arg1,arg2);
4979 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
4980
4981
4982 0 XSRETURN(argvi);
4983 0 fail:
4984
4985
4986 0 SWIG_croak_null();
4987 }
4988 }
4989  
4990  
4991 0 XS(_wrap_gsl_vector_axpby) {
4992 {
4993 double arg1 ;
4994 0 gsl_vector *arg2 = (gsl_vector *) 0 ;
4995 double arg3 ;
4996 0 gsl_vector *arg4 = (gsl_vector *) 0 ;
4997 double val1 ;
4998 0 int ecode1 = 0 ;
4999 0 void *argp2 = 0 ;
5000 0 int res2 = 0 ;
5001 double val3 ;
5002 0 int ecode3 = 0 ;
5003 0 void *argp4 = 0 ;
5004 0 int res4 = 0 ;
5005 0 int argvi = 0;
5006 int result;
5007 0 dXSARGS;
5008
5009 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
5010 0 SWIG_croak("Usage: gsl_vector_axpby(alpha,x,beta,y);");
5011 }
5012 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
5013 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
5014 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
5015 }
5016 0 arg1 = (double)(val1);
5017 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector, 0 | 0 );
5018 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
5019 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
5020 }
5021 0 arg2 = (gsl_vector *)(argp2);
5022 0 ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
5023 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
5024 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
5025 }
5026 0 arg3 = (double)(val3);
5027 0 res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_gsl_vector, 0 | 0 );
5028 0 ▶ if (!SWIG_IsOK(res4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res4)) { 0 0 0
5029 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
5030 }
5031 0 arg4 = (gsl_vector *)(argp4);
5032 0 result = (int)gsl_vector_axpby(arg1,(gsl_vector const *)arg2,arg3,arg4);
5033 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
5034
5035
5036
5037
5038 0 XSRETURN(argvi);
5039 0 fail:
5040
5041
5042
5043
5044 0 SWIG_croak_null();
5045 }
5046 }
5047  
5048  
5049 0 XS(_wrap_gsl_vector_sum) {
5050 {
5051 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
5052 0 void *argp1 = 0 ;
5053 0 int res1 = 0 ;
5054 0 int argvi = 0;
5055 double result;
5056 0 dXSARGS;
5057
5058 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
5059 0 SWIG_croak("Usage: gsl_vector_sum(a);");
5060 }
5061 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
5062 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
5063 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
5064 }
5065 0 arg1 = (gsl_vector *)(argp1);
5066 0 result = (double)gsl_vector_sum((gsl_vector const *)arg1);
5067 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
5068
5069 0 XSRETURN(argvi);
5070 0 fail:
5071
5072 0 SWIG_croak_null();
5073 }
5074 }
5075  
5076  
5077 0 XS(_wrap_gsl_vector_equal) {
5078 {
5079 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
5080 0 gsl_vector *arg2 = (gsl_vector *) 0 ;
5081 0 void *argp1 = 0 ;
5082 0 int res1 = 0 ;
5083 0 void *argp2 = 0 ;
5084 0 int res2 = 0 ;
5085 0 int argvi = 0;
5086 int result;
5087 0 dXSARGS;
5088
5089 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
5090 0 SWIG_croak("Usage: gsl_vector_equal(u,v);");
5091 }
5092 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
5093 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
5094 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
5095 }
5096 0 arg1 = (gsl_vector *)(argp1);
5097 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector, 0 | 0 );
5098 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
5099 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
5100 }
5101 0 arg2 = (gsl_vector *)(argp2);
5102 0 result = (int)gsl_vector_equal((gsl_vector const *)arg1,(gsl_vector const *)arg2);
5103 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
5104
5105
5106 0 XSRETURN(argvi);
5107 0 fail:
5108
5109
5110 0 SWIG_croak_null();
5111 }
5112 }
5113  
5114  
5115 0 XS(_wrap_gsl_vector_isnull) {
5116 {
5117 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
5118 0 void *argp1 = 0 ;
5119 0 int res1 = 0 ;
5120 0 int argvi = 0;
5121 int result;
5122 0 dXSARGS;
5123
5124 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
5125 0 SWIG_croak("Usage: gsl_vector_isnull(v);");
5126 }
5127 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
5128 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
5129 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
5130 }
5131 0 arg1 = (gsl_vector *)(argp1);
5132 0 result = (int)gsl_vector_isnull((gsl_vector const *)arg1);
5133 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
5134
5135 0 XSRETURN(argvi);
5136 0 fail:
5137
5138 0 SWIG_croak_null();
5139 }
5140 }
5141  
5142  
5143 0 XS(_wrap_gsl_vector_ispos) {
5144 {
5145 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
5146 0 void *argp1 = 0 ;
5147 0 int res1 = 0 ;
5148 0 int argvi = 0;
5149 int result;
5150 0 dXSARGS;
5151
5152 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
5153 0 SWIG_croak("Usage: gsl_vector_ispos(v);");
5154 }
5155 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
5156 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
5157 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
5158 }
5159 0 arg1 = (gsl_vector *)(argp1);
5160 0 result = (int)gsl_vector_ispos((gsl_vector const *)arg1);
5161 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
5162
5163 0 XSRETURN(argvi);
5164 0 fail:
5165
5166 0 SWIG_croak_null();
5167 }
5168 }
5169  
5170  
5171 0 XS(_wrap_gsl_vector_isneg) {
5172 {
5173 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
5174 0 void *argp1 = 0 ;
5175 0 int res1 = 0 ;
5176 0 int argvi = 0;
5177 int result;
5178 0 dXSARGS;
5179
5180 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
5181 0 SWIG_croak("Usage: gsl_vector_isneg(v);");
5182 }
5183 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
5184 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
5185 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
5186 }
5187 0 arg1 = (gsl_vector *)(argp1);
5188 0 result = (int)gsl_vector_isneg((gsl_vector const *)arg1);
5189 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
5190
5191 0 XSRETURN(argvi);
5192 0 fail:
5193
5194 0 SWIG_croak_null();
5195 }
5196 }
5197  
5198  
5199 0 XS(_wrap_gsl_vector_isnonneg) {
5200 {
5201 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
5202 0 void *argp1 = 0 ;
5203 0 int res1 = 0 ;
5204 0 int argvi = 0;
5205 int result;
5206 0 dXSARGS;
5207
5208 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
5209 0 SWIG_croak("Usage: gsl_vector_isnonneg(v);");
5210 }
5211 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
5212 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
5213 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
5214 }
5215 0 arg1 = (gsl_vector *)(argp1);
5216 0 result = (int)gsl_vector_isnonneg((gsl_vector const *)arg1);
5217 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
5218
5219 0 XSRETURN(argvi);
5220 0 fail:
5221
5222 0 SWIG_croak_null();
5223 }
5224 }
5225  
5226  
5227 0 XS(_wrap_gsl_vector_get) {
5228 {
5229 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
5230 size_t arg2 ;
5231 0 void *argp1 = 0 ;
5232 0 int res1 = 0 ;
5233 size_t val2 ;
5234 0 int ecode2 = 0 ;
5235 0 int argvi = 0;
5236 double result;
5237 0 dXSARGS;
5238
5239 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
5240 0 SWIG_croak("Usage: gsl_vector_get(v,i);");
5241 }
5242 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
5243 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
5244 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
5245 }
5246 0 arg1 = (gsl_vector *)(argp1);
5247 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5248 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
5249 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
5250 }
5251 0 arg2 = (size_t)(val2);
5252 0 result = (double)gsl_vector_get((gsl_vector const *)arg1,arg2);
5253 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
5254
5255
5256 0 XSRETURN(argvi);
5257 0 fail:
5258
5259
5260 0 SWIG_croak_null();
5261 }
5262 }
5263  
5264  
5265 0 XS(_wrap_gsl_vector_set) {
5266 {
5267 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
5268 size_t arg2 ;
5269 double arg3 ;
5270 0 void *argp1 = 0 ;
5271 0 int res1 = 0 ;
5272 size_t val2 ;
5273 0 int ecode2 = 0 ;
5274 double val3 ;
5275 0 int ecode3 = 0 ;
5276 0 int argvi = 0;
5277 0 dXSARGS;
5278
5279 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
5280 0 SWIG_croak("Usage: gsl_vector_set(v,i,x);");
5281 }
5282 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
5283 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
5284 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
5285 }
5286 0 arg1 = (gsl_vector *)(argp1);
5287 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5288 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
5289 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
5290 }
5291 0 arg2 = (size_t)(val2);
5292 0 ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
5293 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
5294 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
5295 }
5296 0 arg3 = (double)(val3);
5297 0 gsl_vector_set(arg1,arg2,arg3);
5298 0 ST(argvi) = &PL_sv_undef;
5299
5300
5301
5302 0 XSRETURN(argvi);
5303 0 fail:
5304
5305
5306
5307 0 SWIG_croak_null();
5308 }
5309 }
5310  
5311  
5312 0 XS(_wrap_gsl_vector_ptr) {
5313 {
5314 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
5315 size_t arg2 ;
5316 0 void *argp1 = 0 ;
5317 0 int res1 = 0 ;
5318 size_t val2 ;
5319 0 int ecode2 = 0 ;
5320 0 int argvi = 0;
5321 0 double *result = 0 ;
5322 0 dXSARGS;
5323
5324 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
5325 0 SWIG_croak("Usage: gsl_vector_ptr(v,i);");
5326 }
5327 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
5328 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
5329 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
5330 }
5331 0 arg1 = (gsl_vector *)(argp1);
5332 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5333 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
5334 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
5335 }
5336 0 arg2 = (size_t)(val2);
5337 0 result = (double *)gsl_vector_ptr(arg1,arg2);
5338 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0); argvi++ ;
5339
5340
5341 0 XSRETURN(argvi);
5342 0 fail:
5343
5344
5345 0 SWIG_croak_null();
5346 }
5347 }
5348  
5349  
5350 0 XS(_wrap_gsl_vector_const_ptr) {
5351 {
5352 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
5353 size_t arg2 ;
5354 0 void *argp1 = 0 ;
5355 0 int res1 = 0 ;
5356 size_t val2 ;
5357 0 int ecode2 = 0 ;
5358 0 int argvi = 0;
5359 0 double *result = 0 ;
5360 0 dXSARGS;
5361
5362 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
5363 0 SWIG_croak("Usage: gsl_vector_const_ptr(v,i);");
5364 }
5365 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
5366 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
5367 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
5368 }
5369 0 arg1 = (gsl_vector *)(argp1);
5370 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5371 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
5372 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
5373 }
5374 0 arg2 = (size_t)(val2);
5375 0 result = (double *)gsl_vector_const_ptr((gsl_vector const *)arg1,arg2);
5376 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0); argvi++ ;
5377
5378
5379 0 XSRETURN(argvi);
5380 0 fail:
5381
5382
5383 0 SWIG_croak_null();
5384 }
5385 }
5386  
5387  
5388 0 XS(_wrap_gsl_matrix_complex_size1_set) {
5389 {
5390 0 gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
5391 size_t arg2 ;
5392 0 void *argp1 = 0 ;
5393 0 int res1 = 0 ;
5394 size_t val2 ;
5395 0 int ecode2 = 0 ;
5396 0 int argvi = 0;
5397 0 dXSARGS;
5398
5399 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
5400 0 SWIG_croak("Usage: gsl_matrix_complex_size1_set(self,size1);");
5401 }
5402 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
5403 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
5404 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_size1_set" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_size1_set" "', argument " "1"" of type '" "gsl_matrix_complex *""'"); 0 0 0
5405 }
5406 0 arg1 = (gsl_matrix_complex *)(argp1);
5407 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5408 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
5409 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_size1_set" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_size1_set" "', argument " "2"" of type '" "size_t""'"); 0 0 0
5410 }
5411 0 arg2 = (size_t)(val2);
5412 0 ▶ if (arg1) (arg1)->size1 = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->size1 = arg2; 0 0 0
5413 0 ST(argvi) = &PL_sv_undef;
5414
5415
5416 0 XSRETURN(argvi);
5417 0 fail:
5418
5419
5420 0 SWIG_croak_null();
5421 }
5422 }
5423  
5424  
5425 0 XS(_wrap_gsl_matrix_complex_size1_get) {
5426 {
5427 0 gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
5428 0 void *argp1 = 0 ;
5429 0 int res1 = 0 ;
5430 0 int argvi = 0;
5431 size_t result;
5432 0 dXSARGS;
5433
5434 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
5435 0 SWIG_croak("Usage: gsl_matrix_complex_size1_get(self);");
5436 }
5437 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
5438 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
5439 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_size1_get" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_size1_get" "', argument " "1"" of type '" "gsl_matrix_complex *""'"); 0 0 0
5440 }
5441 0 arg1 = (gsl_matrix_complex *)(argp1);
5442 0 result = ((arg1)->size1);
5443 0 ST(argvi) = SWIG_From_size_t SWIG_PERL_CALL_ARGS_1((size_t)(result)); argvi++ ;
5444
5445 0 XSRETURN(argvi);
5446 0 fail:
5447
5448 0 SWIG_croak_null();
5449 }
5450 }
5451  
5452  
5453 0 XS(_wrap_gsl_matrix_complex_size2_set) {
5454 {
5455 0 gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
5456 size_t arg2 ;
5457 0 void *argp1 = 0 ;
5458 0 int res1 = 0 ;
5459 size_t val2 ;
5460 0 int ecode2 = 0 ;
5461 0 int argvi = 0;
5462 0 dXSARGS;
5463
5464 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
5465 0 SWIG_croak("Usage: gsl_matrix_complex_size2_set(self,size2);");
5466 }
5467 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
5468 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
5469 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_size2_set" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_size2_set" "', argument " "1"" of type '" "gsl_matrix_complex *""'"); 0 0 0
5470 }
5471 0 arg1 = (gsl_matrix_complex *)(argp1);
5472 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5473 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
5474 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_size2_set" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_size2_set" "', argument " "2"" of type '" "size_t""'"); 0 0 0
5475 }
5476 0 arg2 = (size_t)(val2);
5477 0 ▶ if (arg1) (arg1)->size2 = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->size2 = arg2; 0 0 0
5478 0 ST(argvi) = &PL_sv_undef;
5479
5480
5481 0 XSRETURN(argvi);
5482 0 fail:
5483
5484
5485 0 SWIG_croak_null();
5486 }
5487 }
5488  
5489  
5490 0 XS(_wrap_gsl_matrix_complex_size2_get) {
5491 {
5492 0 gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
5493 0 void *argp1 = 0 ;
5494 0 int res1 = 0 ;
5495 0 int argvi = 0;
5496 size_t result;
5497 0 dXSARGS;
5498
5499 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
5500 0 SWIG_croak("Usage: gsl_matrix_complex_size2_get(self);");
5501 }
5502 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
5503 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
5504 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_size2_get" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_size2_get" "', argument " "1"" of type '" "gsl_matrix_complex *""'"); 0 0 0
5505 }
5506 0 arg1 = (gsl_matrix_complex *)(argp1);
5507 0 result = ((arg1)->size2);
5508 0 ST(argvi) = SWIG_From_size_t SWIG_PERL_CALL_ARGS_1((size_t)(result)); argvi++ ;
5509
5510 0 XSRETURN(argvi);
5511 0 fail:
5512
5513 0 SWIG_croak_null();
5514 }
5515 }
5516  
5517  
5518 0 XS(_wrap_gsl_matrix_complex_tda_set) {
5519 {
5520 0 gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
5521 size_t arg2 ;
5522 0 void *argp1 = 0 ;
5523 0 int res1 = 0 ;
5524 size_t val2 ;
5525 0 int ecode2 = 0 ;
5526 0 int argvi = 0;
5527 0 dXSARGS;
5528
5529 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
5530 0 SWIG_croak("Usage: gsl_matrix_complex_tda_set(self,tda);");
5531 }
5532 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
5533 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
5534 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_tda_set" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_tda_set" "', argument " "1"" of type '" "gsl_matrix_complex *""'"); 0 0 0
5535 }
5536 0 arg1 = (gsl_matrix_complex *)(argp1);
5537 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5538 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
5539 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_tda_set" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_tda_set" "', argument " "2"" of type '" "size_t""'"); 0 0 0
5540 }
5541 0 arg2 = (size_t)(val2);
5542 0 ▶ if (arg1) (arg1)->tda = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->tda = arg2; 0 0 0
5543 0 ST(argvi) = &PL_sv_undef;
5544
5545
5546 0 XSRETURN(argvi);
5547 0 fail:
5548
5549
5550 0 SWIG_croak_null();
5551 }
5552 }
5553  
5554  
5555 0 XS(_wrap_gsl_matrix_complex_tda_get) {
5556 {
5557 0 gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
5558 0 void *argp1 = 0 ;
5559 0 int res1 = 0 ;
5560 0 int argvi = 0;
5561 size_t result;
5562 0 dXSARGS;
5563
5564 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
5565 0 SWIG_croak("Usage: gsl_matrix_complex_tda_get(self);");
5566 }
5567 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
5568 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
5569 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_tda_get" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_tda_get" "', argument " "1"" of type '" "gsl_matrix_complex *""'"); 0 0 0
5570 }
5571 0 arg1 = (gsl_matrix_complex *)(argp1);
5572 0 result = ((arg1)->tda);
5573 0 ST(argvi) = SWIG_From_size_t SWIG_PERL_CALL_ARGS_1((size_t)(result)); argvi++ ;
5574
5575 0 XSRETURN(argvi);
5576 0 fail:
5577
5578 0 SWIG_croak_null();
5579 }
5580 }
5581  
5582  
5583 0 XS(_wrap_gsl_matrix_complex_data_set) {
5584 {
5585 0 gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
5586 0 double *arg2 = (double *) 0 ;
5587 0 void *argp1 = 0 ;
5588 0 int res1 = 0 ;
5589 0 int argvi = 0;
5590 0 dXSARGS;
5591
5592 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
5593 0 SWIG_croak("Usage: gsl_matrix_complex_data_set(self,data);");
5594 }
5595 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
5596 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
5597 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_data_set" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_data_set" "', argument " "1"" of type '" "gsl_matrix_complex *""'"); 0 0 0
5598 }
5599 0 arg1 = (gsl_matrix_complex *)(argp1);
5600 {
5601 AV *tempav;
5602 I32 len;
5603 int i;
5604 SV **tv;
5605 0 ▶ if (!SvROK(ST(1)))
Branch: 1 branch
BranchTrueFalseTotal
if (!SvROK(ST(1))) 0 0 0
5606 0 croak("Math::GSL : $data is not a reference!");
5607 0 ▶ if (SvTYPE(SvRV(ST(1))) != SVt_PVAV)
Branch: 1 branch
BranchTrueFalseTotal
if (SvTYPE(SvRV(ST(1))) != SVt_PVAV) 0 0 0
5608 0 croak("Math::GSL : $data is not an array ref!");
5609
5610 0 tempav = (AV*)SvRV(ST(1));
5611 0 len = av_len(tempav);
5612 0 arg2 = (double *) malloc((len+2)*sizeof(double));
5613 0 ▶ for (i = 0; i <= len; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; i <= len; i++) { 0 0 0
5614 0 tv = av_fetch(tempav, i, 0);
5615 0 arg2[i] = (double) SvNV(*tv);
5616 }
5617 }
5618 0 ▶ if (arg1) (arg1)->data = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->data = arg2; 0 0 0
5619 0 ST(argvi) = &PL_sv_undef;
5620
5621 {
5622 0 ▶ if (arg2) free(arg2);
Branch: 1 branch
BranchTrueFalseTotal
if (arg2) free(arg2); 0 0 0
5623 }
5624 0 XSRETURN(argvi);
5625 0 fail:
5626
5627 {
5628 0 ▶ if (arg2) free(arg2);
Branch: 1 branch
BranchTrueFalseTotal
if (arg2) free(arg2); 0 0 0
5629 }
5630 0 SWIG_croak_null();
5631 }
5632 }
5633  
5634  
5635 0 XS(_wrap_gsl_matrix_complex_data_get) {
5636 {
5637 0 gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
5638 0 void *argp1 = 0 ;
5639 0 int res1 = 0 ;
5640 0 int argvi = 0;
5641 0 double *result = 0 ;
5642 0 dXSARGS;
5643
5644 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
5645 0 SWIG_croak("Usage: gsl_matrix_complex_data_get(self);");
5646 }
5647 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
5648 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
5649 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_data_get" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_data_get" "', argument " "1"" of type '" "gsl_matrix_complex *""'"); 0 0 0
5650 }
5651 0 arg1 = (gsl_matrix_complex *)(argp1);
5652 0 result = (double *) ((arg1)->data);
5653 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0); argvi++ ;
5654
5655 0 XSRETURN(argvi);
5656 0 fail:
5657
5658 0 SWIG_croak_null();
5659 }
5660 }
5661  
5662  
5663 0 XS(_wrap_gsl_matrix_complex_block_set) {
5664 {
5665 0 gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
5666 0 gsl_block_complex *arg2 = (gsl_block_complex *) 0 ;
5667 0 void *argp1 = 0 ;
5668 0 int res1 = 0 ;
5669 0 void *argp2 = 0 ;
5670 0 int res2 = 0 ;
5671 0 int argvi = 0;
5672 0 dXSARGS;
5673
5674 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
5675 0 SWIG_croak("Usage: gsl_matrix_complex_block_set(self,block);");
5676 }
5677 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
5678 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
5679 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_block_set" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_block_set" "', argument " "1"" of type '" "gsl_matrix_complex *""'"); 0 0 0
5680 }
5681 0 arg1 = (gsl_matrix_complex *)(argp1);
5682 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_block_complex, SWIG_POINTER_DISOWN | 0 );
5683 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
5684 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_complex_block_set" "', argument " "2"" of type '" "gsl_block_complex *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_complex_block_set" "', argument " "2"" of type '" "gsl_block_complex *""'"); 0 0 0
5685 }
5686 0 arg2 = (gsl_block_complex *)(argp2);
5687 0 ▶ if (arg1) (arg1)->block = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->block = arg2; 0 0 0
5688 0 ST(argvi) = &PL_sv_undef;
5689
5690
5691 0 XSRETURN(argvi);
5692 0 fail:
5693
5694
5695 0 SWIG_croak_null();
5696 }
5697 }
5698  
5699  
5700 0 XS(_wrap_gsl_matrix_complex_block_get) {
5701 {
5702 0 gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
5703 0 void *argp1 = 0 ;
5704 0 int res1 = 0 ;
5705 0 int argvi = 0;
5706 0 gsl_block_complex *result = 0 ;
5707 0 dXSARGS;
5708
5709 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
5710 0 SWIG_croak("Usage: gsl_matrix_complex_block_get(self);");
5711 }
5712 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
5713 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
5714 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_block_get" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_block_get" "', argument " "1"" of type '" "gsl_matrix_complex *""'"); 0 0 0
5715 }
5716 0 arg1 = (gsl_matrix_complex *)(argp1);
5717 0 result = (gsl_block_complex *) ((arg1)->block);
5718 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_block_complex, 0 | 0); argvi++ ;
5719
5720 0 XSRETURN(argvi);
5721 0 fail:
5722
5723 0 SWIG_croak_null();
5724 }
5725 }
5726  
5727  
5728 0 XS(_wrap_gsl_matrix_complex_owner_set) {
5729 {
5730 0 gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
5731 int arg2 ;
5732 0 void *argp1 = 0 ;
5733 0 int res1 = 0 ;
5734 int val2 ;
5735 0 int ecode2 = 0 ;
5736 0 int argvi = 0;
5737 0 dXSARGS;
5738
5739 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
5740 0 SWIG_croak("Usage: gsl_matrix_complex_owner_set(self,owner);");
5741 }
5742 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
5743 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
5744 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_owner_set" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_owner_set" "', argument " "1"" of type '" "gsl_matrix_complex *""'"); 0 0 0
5745 }
5746 0 arg1 = (gsl_matrix_complex *)(argp1);
5747 0 ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5748 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
5749 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_owner_set" "', argument " "2"" of type '" "int""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_owner_set" "', argument " "2"" of type '" "int""'"); 0 0 0
5750 }
5751 0 arg2 = (int)(val2);
5752 0 ▶ if (arg1) (arg1)->owner = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->owner = arg2; 0 0 0
5753 0 ST(argvi) = &PL_sv_undef;
5754
5755
5756 0 XSRETURN(argvi);
5757 0 fail:
5758
5759
5760 0 SWIG_croak_null();
5761 }
5762 }
5763  
5764  
5765 0 XS(_wrap_gsl_matrix_complex_owner_get) {
5766 {
5767 0 gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
5768 0 void *argp1 = 0 ;
5769 0 int res1 = 0 ;
5770 0 int argvi = 0;
5771 int result;
5772 0 dXSARGS;
5773
5774 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
5775 0 SWIG_croak("Usage: gsl_matrix_complex_owner_get(self);");
5776 }
5777 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
5778 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
5779 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_owner_get" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_owner_get" "', argument " "1"" of type '" "gsl_matrix_complex *""'"); 0 0 0
5780 }
5781 0 arg1 = (gsl_matrix_complex *)(argp1);
5782 0 result = (int) ((arg1)->owner);
5783 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
5784
5785 0 XSRETURN(argvi);
5786 0 fail:
5787
5788 0 SWIG_croak_null();
5789 }
5790 }
5791  
5792  
5793 0 XS(_wrap_new_gsl_matrix_complex) {
5794 {
5795 0 int argvi = 0;
5796 0 gsl_matrix_complex *result = 0 ;
5797 0 dXSARGS;
5798
5799 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
5800 0 SWIG_croak("Usage: new_gsl_matrix_complex();");
5801 }
5802 0 result = (gsl_matrix_complex *)calloc(1, sizeof(gsl_matrix_complex));
5803 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_matrix_complex, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
5804 0 XSRETURN(argvi);
5805 0 fail:
5806 0 SWIG_croak_null();
5807 }
5808 }
5809  
5810  
5811 0 XS(_wrap_delete_gsl_matrix_complex) {
5812 {
5813 0 gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
5814 0 void *argp1 = 0 ;
5815 0 int res1 = 0 ;
5816 0 int argvi = 0;
5817 0 dXSARGS;
5818
5819 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
5820 0 SWIG_croak("Usage: delete_gsl_matrix_complex(self);");
5821 }
5822 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, SWIG_POINTER_DISOWN | 0 );
5823 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
5824 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_gsl_matrix_complex" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_gsl_matrix_complex" "', argument " "1"" of type '" "gsl_matrix_complex *""'"); 0 0 0
5825 }
5826 0 arg1 = (gsl_matrix_complex *)(argp1);
5827 0 free((char *) arg1);
5828 0 ST(argvi) = &PL_sv_undef;
5829
5830 0 XSRETURN(argvi);
5831 0 fail:
5832
5833 0 SWIG_croak_null();
5834 }
5835 }
5836  
5837  
5838 0 XS(_wrap__gsl_matrix_complex_view_matrix_set) {
5839 {
5840 0 _gsl_matrix_complex_view *arg1 = (_gsl_matrix_complex_view *) 0 ;
5841 0 gsl_matrix_complex *arg2 = (gsl_matrix_complex *) 0 ;
5842 0 void *argp1 = 0 ;
5843 0 int res1 = 0 ;
5844 0 void *argp2 = 0 ;
5845 0 int res2 = 0 ;
5846 0 int argvi = 0;
5847 0 dXSARGS;
5848
5849 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
5850 0 SWIG_croak("Usage: _gsl_matrix_complex_view_matrix_set(self,matrix);");
5851 }
5852 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__gsl_matrix_complex_view, 0 | 0 );
5853 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
5854 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_gsl_matrix_complex_view_matrix_set" "', argument " "1"" of type '" "_gsl_matrix_complex_view *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_gsl_matrix_complex_view_matrix_set" "', argument " "1"" of type '" "_gsl_matrix_complex_view *""'"); 0 0 0
5855 }
5856 0 arg1 = (_gsl_matrix_complex_view *)(argp1);
5857 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
5858 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
5859 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_gsl_matrix_complex_view_matrix_set" "', argument " "2"" of type '" "gsl_matrix_complex *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_gsl_matrix_complex_view_matrix_set" "', argument " "2"" of type '" "gsl_matrix_complex *""'"); 0 0 0
5860 }
5861 0 arg2 = (gsl_matrix_complex *)(argp2);
5862 0 ▶ if (arg1) (arg1)->matrix = *arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->matrix = *arg2; 0 0 0
5863 0 ST(argvi) = &PL_sv_undef;
5864
5865
5866 0 XSRETURN(argvi);
5867 0 fail:
5868
5869
5870 0 SWIG_croak_null();
5871 }
5872 }
5873  
5874  
5875 0 XS(_wrap__gsl_matrix_complex_view_matrix_get) {
5876 {
5877 0 _gsl_matrix_complex_view *arg1 = (_gsl_matrix_complex_view *) 0 ;
5878 0 void *argp1 = 0 ;
5879 0 int res1 = 0 ;
5880 0 int argvi = 0;
5881 0 gsl_matrix_complex *result = 0 ;
5882 0 dXSARGS;
5883
5884 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
5885 0 SWIG_croak("Usage: _gsl_matrix_complex_view_matrix_get(self);");
5886 }
5887 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__gsl_matrix_complex_view, 0 | 0 );
5888 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
5889 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_gsl_matrix_complex_view_matrix_get" "', argument " "1"" of type '" "_gsl_matrix_complex_view *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_gsl_matrix_complex_view_matrix_get" "', argument " "1"" of type '" "_gsl_matrix_complex_view *""'"); 0 0 0
5890 }
5891 0 arg1 = (_gsl_matrix_complex_view *)(argp1);
5892 0 result = (gsl_matrix_complex *)& ((arg1)->matrix);
5893 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_matrix_complex, 0 | SWIG_SHADOW); argvi++ ;
5894
5895 0 XSRETURN(argvi);
5896 0 fail:
5897
5898 0 SWIG_croak_null();
5899 }
5900 }
5901  
5902  
5903 0 XS(_wrap_new__gsl_matrix_complex_view) {
5904 {
5905 0 int argvi = 0;
5906 0 _gsl_matrix_complex_view *result = 0 ;
5907 0 dXSARGS;
5908
5909 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
5910 0 SWIG_croak("Usage: new__gsl_matrix_complex_view();");
5911 }
5912 0 result = (_gsl_matrix_complex_view *)calloc(1, sizeof(_gsl_matrix_complex_view));
5913 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__gsl_matrix_complex_view, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
5914 0 XSRETURN(argvi);
5915 0 fail:
5916 0 SWIG_croak_null();
5917 }
5918 }
5919  
5920  
5921 0 XS(_wrap_delete__gsl_matrix_complex_view) {
5922 {
5923 0 _gsl_matrix_complex_view *arg1 = (_gsl_matrix_complex_view *) 0 ;
5924 0 void *argp1 = 0 ;
5925 0 int res1 = 0 ;
5926 0 int argvi = 0;
5927 0 dXSARGS;
5928
5929 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
5930 0 SWIG_croak("Usage: delete__gsl_matrix_complex_view(self);");
5931 }
5932 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__gsl_matrix_complex_view, SWIG_POINTER_DISOWN | 0 );
5933 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
5934 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete__gsl_matrix_complex_view" "', argument " "1"" of type '" "_gsl_matrix_complex_view *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete__gsl_matrix_complex_view" "', argument " "1"" of type '" "_gsl_matrix_complex_view *""'"); 0 0 0
5935 }
5936 0 arg1 = (_gsl_matrix_complex_view *)(argp1);
5937 0 free((char *) arg1);
5938 0 ST(argvi) = &PL_sv_undef;
5939
5940 0 XSRETURN(argvi);
5941 0 fail:
5942
5943 0 SWIG_croak_null();
5944 }
5945 }
5946  
5947  
5948 0 XS(_wrap__gsl_matrix_complex_const_view_matrix_set) {
5949 {
5950 0 _gsl_matrix_complex_const_view *arg1 = (_gsl_matrix_complex_const_view *) 0 ;
5951 0 gsl_matrix_complex *arg2 = (gsl_matrix_complex *) 0 ;
5952 0 void *argp1 = 0 ;
5953 0 int res1 = 0 ;
5954 0 void *argp2 = 0 ;
5955 0 int res2 = 0 ;
5956 0 int argvi = 0;
5957 0 dXSARGS;
5958
5959 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
5960 0 SWIG_croak("Usage: _gsl_matrix_complex_const_view_matrix_set(self,matrix);");
5961 }
5962 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__gsl_matrix_complex_const_view, 0 | 0 );
5963 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
5964 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_gsl_matrix_complex_const_view_matrix_set" "', argument " "1"" of type '" "_gsl_matrix_complex_const_view *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_gsl_matrix_complex_const_view_matrix_set" "', argument " "1"" of type '" "_gsl_matrix_complex_const_view *""'"); 0 0 0
5965 }
5966 0 arg1 = (_gsl_matrix_complex_const_view *)(argp1);
5967 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
5968 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
5969 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_gsl_matrix_complex_const_view_matrix_set" "', argument " "2"" of type '" "gsl_matrix_complex *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_gsl_matrix_complex_const_view_matrix_set" "', argument " "2"" of type '" "gsl_matrix_complex *""'"); 0 0 0
5970 }
5971 0 arg2 = (gsl_matrix_complex *)(argp2);
5972 0 ▶ if (arg1) (arg1)->matrix = *arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->matrix = *arg2; 0 0 0
5973 0 ST(argvi) = &PL_sv_undef;
5974
5975
5976 0 XSRETURN(argvi);
5977 0 fail:
5978
5979
5980 0 SWIG_croak_null();
5981 }
5982 }
5983  
5984  
5985 0 XS(_wrap__gsl_matrix_complex_const_view_matrix_get) {
5986 {
5987 0 _gsl_matrix_complex_const_view *arg1 = (_gsl_matrix_complex_const_view *) 0 ;
5988 0 void *argp1 = 0 ;
5989 0 int res1 = 0 ;
5990 0 int argvi = 0;
5991 0 gsl_matrix_complex *result = 0 ;
5992 0 dXSARGS;
5993
5994 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
5995 0 SWIG_croak("Usage: _gsl_matrix_complex_const_view_matrix_get(self);");
5996 }
5997 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__gsl_matrix_complex_const_view, 0 | 0 );
5998 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
5999 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_gsl_matrix_complex_const_view_matrix_get" "', argument " "1"" of type '" "_gsl_matrix_complex_const_view *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_gsl_matrix_complex_const_view_matrix_get" "', argument " "1"" of type '" "_gsl_matrix_complex_const_view *""'"); 0 0 0
6000 }
6001 0 arg1 = (_gsl_matrix_complex_const_view *)(argp1);
6002 0 result = (gsl_matrix_complex *)& ((arg1)->matrix);
6003 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_matrix_complex, 0 | SWIG_SHADOW); argvi++ ;
6004
6005 0 XSRETURN(argvi);
6006 0 fail:
6007
6008 0 SWIG_croak_null();
6009 }
6010 }
6011  
6012  
6013 0 XS(_wrap_new__gsl_matrix_complex_const_view) {
6014 {
6015 0 int argvi = 0;
6016 0 _gsl_matrix_complex_const_view *result = 0 ;
6017 0 dXSARGS;
6018
6019 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
6020 0 SWIG_croak("Usage: new__gsl_matrix_complex_const_view();");
6021 }
6022 0 result = (_gsl_matrix_complex_const_view *)calloc(1, sizeof(_gsl_matrix_complex_const_view));
6023 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__gsl_matrix_complex_const_view, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
6024 0 XSRETURN(argvi);
6025 0 fail:
6026 0 SWIG_croak_null();
6027 }
6028 }
6029  
6030  
6031 0 XS(_wrap_delete__gsl_matrix_complex_const_view) {
6032 {
6033 0 _gsl_matrix_complex_const_view *arg1 = (_gsl_matrix_complex_const_view *) 0 ;
6034 0 void *argp1 = 0 ;
6035 0 int res1 = 0 ;
6036 0 int argvi = 0;
6037 0 dXSARGS;
6038
6039 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
6040 0 SWIG_croak("Usage: delete__gsl_matrix_complex_const_view(self);");
6041 }
6042 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__gsl_matrix_complex_const_view, SWIG_POINTER_DISOWN | 0 );
6043 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
6044 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete__gsl_matrix_complex_const_view" "', argument " "1"" of type '" "_gsl_matrix_complex_const_view *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete__gsl_matrix_complex_const_view" "', argument " "1"" of type '" "_gsl_matrix_complex_const_view *""'"); 0 0 0
6045 }
6046 0 arg1 = (_gsl_matrix_complex_const_view *)(argp1);
6047 0 free((char *) arg1);
6048 0 ST(argvi) = &PL_sv_undef;
6049
6050 0 XSRETURN(argvi);
6051 0 fail:
6052
6053 0 SWIG_croak_null();
6054 }
6055 }
6056  
6057  
6058 0 XS(_wrap_gsl_matrix_complex_alloc) {
6059 {
6060 size_t arg1 ;
6061 size_t arg2 ;
6062 size_t val1 ;
6063 0 int ecode1 = 0 ;
6064 size_t val2 ;
6065 0 int ecode2 = 0 ;
6066 0 int argvi = 0;
6067 0 gsl_matrix_complex *result = 0 ;
6068 0 dXSARGS;
6069
6070 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
6071 0 SWIG_croak("Usage: gsl_matrix_complex_alloc(n1,n2);");
6072 }
6073 0 ecode1 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
6074 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
6075 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_matrix_complex_alloc" "', argument " "1"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_matrix_complex_alloc" "', argument " "1"" of type '" "size_t""'"); 0 0 0
6076 }
6077 0 arg1 = (size_t)(val1);
6078 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6079 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
6080 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_alloc" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_alloc" "', argument " "2"" of type '" "size_t""'"); 0 0 0
6081 }
6082 0 arg2 = (size_t)(val2);
6083 0 result = (gsl_matrix_complex *)gsl_matrix_complex_alloc(arg1,arg2);
6084 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_matrix_complex, 0 | SWIG_SHADOW); argvi++ ;
6085
6086
6087 0 XSRETURN(argvi);
6088 0 fail:
6089
6090
6091 0 SWIG_croak_null();
6092 }
6093 }
6094  
6095  
6096 0 XS(_wrap_gsl_matrix_complex_calloc) {
6097 {
6098 size_t arg1 ;
6099 size_t arg2 ;
6100 size_t val1 ;
6101 0 int ecode1 = 0 ;
6102 size_t val2 ;
6103 0 int ecode2 = 0 ;
6104 0 int argvi = 0;
6105 0 gsl_matrix_complex *result = 0 ;
6106 0 dXSARGS;
6107
6108 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
6109 0 SWIG_croak("Usage: gsl_matrix_complex_calloc(n1,n2);");
6110 }
6111 0 ecode1 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
6112 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
6113 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_matrix_complex_calloc" "', argument " "1"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_matrix_complex_calloc" "', argument " "1"" of type '" "size_t""'"); 0 0 0
6114 }
6115 0 arg1 = (size_t)(val1);
6116 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6117 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
6118 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_calloc" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_calloc" "', argument " "2"" of type '" "size_t""'"); 0 0 0
6119 }
6120 0 arg2 = (size_t)(val2);
6121 0 result = (gsl_matrix_complex *)gsl_matrix_complex_calloc(arg1,arg2);
6122 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_matrix_complex, 0 | SWIG_SHADOW); argvi++ ;
6123
6124
6125 0 XSRETURN(argvi);
6126 0 fail:
6127
6128
6129 0 SWIG_croak_null();
6130 }
6131 }
6132  
6133  
6134 0 XS(_wrap_gsl_matrix_complex_alloc_from_block) {
6135 {
6136 0 gsl_block_complex *arg1 = (gsl_block_complex *) 0 ;
6137 size_t arg2 ;
6138 size_t arg3 ;
6139 size_t arg4 ;
6140 size_t arg5 ;
6141 0 void *argp1 = 0 ;
6142 0 int res1 = 0 ;
6143 size_t val2 ;
6144 0 int ecode2 = 0 ;
6145 size_t val3 ;
6146 0 int ecode3 = 0 ;
6147 size_t val4 ;
6148 0 int ecode4 = 0 ;
6149 size_t val5 ;
6150 0 int ecode5 = 0 ;
6151 0 int argvi = 0;
6152 0 gsl_matrix_complex *result = 0 ;
6153 0 dXSARGS;
6154
6155 0 ▶ if ((items < 5) || (items > 5)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 5) || (items > 5)) { 0 0 0
if ((items < 5) || (items > 5)) { 0 0 0
6156 0 SWIG_croak("Usage: gsl_matrix_complex_alloc_from_block(b,offset,n1,n2,d2);");
6157 }
6158 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_block_complex, 0 | 0 );
6159 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
6160 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_alloc_from_block" "', argument " "1"" of type '" "gsl_block_complex *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_alloc_from_block" "', argument " "1"" of type '" "gsl_block_complex *""'"); 0 0 0
6161 }
6162 0 arg1 = (gsl_block_complex *)(argp1);
6163 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6164 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
6165 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_alloc_from_block" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_alloc_from_block" "', argument " "2"" of type '" "size_t""'"); 0 0 0
6166 }
6167 0 arg2 = (size_t)(val2);
6168 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
6169 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
6170 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_complex_alloc_from_block" "', argument " "3"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_complex_alloc_from_block" "', argument " "3"" of type '" "size_t""'"); 0 0 0
6171 }
6172 0 arg3 = (size_t)(val3);
6173 0 ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
6174 0 ▶ if (!SWIG_IsOK(ecode4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode4)) { 0 0 0
6175 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_matrix_complex_alloc_from_block" "', argument " "4"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_matrix_complex_alloc_from_block" "', argument " "4"" of type '" "size_t""'"); 0 0 0
6176 }
6177 0 arg4 = (size_t)(val4);
6178 0 ecode5 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
6179 0 ▶ if (!SWIG_IsOK(ecode5)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode5)) { 0 0 0
6180 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "gsl_matrix_complex_alloc_from_block" "', argument " "5"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "gsl_matrix_complex_alloc_from_block" "', argument " "5"" of type '" "size_t""'"); 0 0 0
6181 }
6182 0 arg5 = (size_t)(val5);
6183 0 result = (gsl_matrix_complex *)gsl_matrix_complex_alloc_from_block(arg1,arg2,arg3,arg4,arg5);
6184 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_matrix_complex, 0 | SWIG_SHADOW); argvi++ ;
6185
6186
6187
6188
6189
6190 0 XSRETURN(argvi);
6191 0 fail:
6192
6193
6194
6195
6196
6197 0 SWIG_croak_null();
6198 }
6199 }
6200  
6201  
6202 0 XS(_wrap_gsl_matrix_complex_alloc_from_matrix) {
6203 {
6204 0 gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
6205 size_t arg2 ;
6206 size_t arg3 ;
6207 size_t arg4 ;
6208 size_t arg5 ;
6209 0 void *argp1 = 0 ;
6210 0 int res1 = 0 ;
6211 size_t val2 ;
6212 0 int ecode2 = 0 ;
6213 size_t val3 ;
6214 0 int ecode3 = 0 ;
6215 size_t val4 ;
6216 0 int ecode4 = 0 ;
6217 size_t val5 ;
6218 0 int ecode5 = 0 ;
6219 0 int argvi = 0;
6220 0 gsl_matrix_complex *result = 0 ;
6221 0 dXSARGS;
6222
6223 0 ▶ if ((items < 5) || (items > 5)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 5) || (items > 5)) { 0 0 0
if ((items < 5) || (items > 5)) { 0 0 0
6224 0 SWIG_croak("Usage: gsl_matrix_complex_alloc_from_matrix(b,k1,k2,n1,n2);");
6225 }
6226 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
6227 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
6228 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_alloc_from_matrix" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_alloc_from_matrix" "', argument " "1"" of type '" "gsl_matrix_complex *""'"); 0 0 0
6229 }
6230 0 arg1 = (gsl_matrix_complex *)(argp1);
6231 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6232 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
6233 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_alloc_from_matrix" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_alloc_from_matrix" "', argument " "2"" of type '" "size_t""'"); 0 0 0
6234 }
6235 0 arg2 = (size_t)(val2);
6236 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
6237 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
6238 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_complex_alloc_from_matrix" "', argument " "3"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_complex_alloc_from_matrix" "', argument " "3"" of type '" "size_t""'"); 0 0 0
6239 }
6240 0 arg3 = (size_t)(val3);
6241 0 ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
6242 0 ▶ if (!SWIG_IsOK(ecode4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode4)) { 0 0 0
6243 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_matrix_complex_alloc_from_matrix" "', argument " "4"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_matrix_complex_alloc_from_matrix" "', argument " "4"" of type '" "size_t""'"); 0 0 0
6244 }
6245 0 arg4 = (size_t)(val4);
6246 0 ecode5 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
6247 0 ▶ if (!SWIG_IsOK(ecode5)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode5)) { 0 0 0
6248 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "gsl_matrix_complex_alloc_from_matrix" "', argument " "5"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "gsl_matrix_complex_alloc_from_matrix" "', argument " "5"" of type '" "size_t""'"); 0 0 0
6249 }
6250 0 arg5 = (size_t)(val5);
6251 0 result = (gsl_matrix_complex *)gsl_matrix_complex_alloc_from_matrix(arg1,arg2,arg3,arg4,arg5);
6252 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_matrix_complex, 0 | SWIG_SHADOW); argvi++ ;
6253
6254
6255
6256
6257
6258 0 XSRETURN(argvi);
6259 0 fail:
6260
6261
6262
6263
6264
6265 0 SWIG_croak_null();
6266 }
6267 }
6268  
6269  
6270 0 XS(_wrap_gsl_vector_complex_alloc_row_from_matrix) {
6271 {
6272 0 gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
6273 size_t arg2 ;
6274 0 void *argp1 = 0 ;
6275 0 int res1 = 0 ;
6276 size_t val2 ;
6277 0 int ecode2 = 0 ;
6278 0 int argvi = 0;
6279 0 gsl_vector_complex *result = 0 ;
6280 0 dXSARGS;
6281
6282 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
6283 0 SWIG_croak("Usage: gsl_vector_complex_alloc_row_from_matrix(m,i);");
6284 }
6285 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
6286 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
6287 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_complex_alloc_row_from_matrix" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_complex_alloc_row_from_matrix" "', argument " "1"" of type '" "gsl_matrix_complex *""'"); 0 0 0
6288 }
6289 0 arg1 = (gsl_matrix_complex *)(argp1);
6290 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6291 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
6292 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_complex_alloc_row_from_matrix" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_complex_alloc_row_from_matrix" "', argument " "2"" of type '" "size_t""'"); 0 0 0
6293 }
6294 0 arg2 = (size_t)(val2);
6295 0 result = (gsl_vector_complex *)gsl_vector_complex_alloc_row_from_matrix(arg1,arg2);
6296 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_vector_complex, 0 | 0); argvi++ ;
6297
6298
6299 0 XSRETURN(argvi);
6300 0 fail:
6301
6302
6303 0 SWIG_croak_null();
6304 }
6305 }
6306  
6307  
6308 0 XS(_wrap_gsl_vector_complex_alloc_col_from_matrix) {
6309 {
6310 0 gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
6311 size_t arg2 ;
6312 0 void *argp1 = 0 ;
6313 0 int res1 = 0 ;
6314 size_t val2 ;
6315 0 int ecode2 = 0 ;
6316 0 int argvi = 0;
6317 0 gsl_vector_complex *result = 0 ;
6318 0 dXSARGS;
6319
6320 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
6321 0 SWIG_croak("Usage: gsl_vector_complex_alloc_col_from_matrix(m,j);");
6322 }
6323 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
6324 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
6325 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_complex_alloc_col_from_matrix" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_complex_alloc_col_from_matrix" "', argument " "1"" of type '" "gsl_matrix_complex *""'"); 0 0 0
6326 }
6327 0 arg1 = (gsl_matrix_complex *)(argp1);
6328 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6329 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
6330 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_complex_alloc_col_from_matrix" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_complex_alloc_col_from_matrix" "', argument " "2"" of type '" "size_t""'"); 0 0 0
6331 }
6332 0 arg2 = (size_t)(val2);
6333 0 result = (gsl_vector_complex *)gsl_vector_complex_alloc_col_from_matrix(arg1,arg2);
6334 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_vector_complex, 0 | 0); argvi++ ;
6335
6336
6337 0 XSRETURN(argvi);
6338 0 fail:
6339
6340
6341 0 SWIG_croak_null();
6342 }
6343 }
6344  
6345  
6346 0 XS(_wrap_gsl_matrix_complex_free) {
6347 {
6348 0 gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
6349 0 void *argp1 = 0 ;
6350 0 int res1 = 0 ;
6351 0 int argvi = 0;
6352 0 dXSARGS;
6353
6354 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
6355 0 SWIG_croak("Usage: gsl_matrix_complex_free(m);");
6356 }
6357 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
6358 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
6359 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_free" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_free" "', argument " "1"" of type '" "gsl_matrix_complex *""'"); 0 0 0
6360 }
6361 0 arg1 = (gsl_matrix_complex *)(argp1);
6362 0 gsl_matrix_complex_free(arg1);
6363 0 ST(argvi) = &PL_sv_undef;
6364
6365 0 XSRETURN(argvi);
6366 0 fail:
6367
6368 0 SWIG_croak_null();
6369 }
6370 }
6371  
6372  
6373 0 XS(_wrap_gsl_matrix_complex_submatrix) {
6374 {
6375 0 gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
6376 size_t arg2 ;
6377 size_t arg3 ;
6378 size_t arg4 ;
6379 size_t arg5 ;
6380 0 void *argp1 = 0 ;
6381 0 int res1 = 0 ;
6382 size_t val2 ;
6383 0 int ecode2 = 0 ;
6384 size_t val3 ;
6385 0 int ecode3 = 0 ;
6386 size_t val4 ;
6387 0 int ecode4 = 0 ;
6388 size_t val5 ;
6389 0 int ecode5 = 0 ;
6390 0 int argvi = 0;
6391 _gsl_matrix_complex_view result;
6392 0 dXSARGS;
6393
6394 0 ▶ if ((items < 5) || (items > 5)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 5) || (items > 5)) { 0 0 0
if ((items < 5) || (items > 5)) { 0 0 0
6395 0 SWIG_croak("Usage: gsl_matrix_complex_submatrix(m,i,j,n1,n2);");
6396 }
6397 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_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_matrix_complex_submatrix" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_submatrix" "', argument " "1"" of type '" "gsl_matrix_complex *""'"); 0 0 0
6400 }
6401 0 arg1 = (gsl_matrix_complex *)(argp1);
6402 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6403 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
6404 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_submatrix" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_submatrix" "', argument " "2"" of type '" "size_t""'"); 0 0 0
6405 }
6406 0 arg2 = (size_t)(val2);
6407 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
6408 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
6409 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_complex_submatrix" "', argument " "3"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_complex_submatrix" "', argument " "3"" of type '" "size_t""'"); 0 0 0
6410 }
6411 0 arg3 = (size_t)(val3);
6412 0 ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
6413 0 ▶ if (!SWIG_IsOK(ecode4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode4)) { 0 0 0
6414 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_matrix_complex_submatrix" "', argument " "4"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_matrix_complex_submatrix" "', argument " "4"" of type '" "size_t""'"); 0 0 0
6415 }
6416 0 arg4 = (size_t)(val4);
6417 0 ecode5 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
6418 0 ▶ if (!SWIG_IsOK(ecode5)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode5)) { 0 0 0
6419 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "gsl_matrix_complex_submatrix" "', argument " "5"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "gsl_matrix_complex_submatrix" "', argument " "5"" of type '" "size_t""'"); 0 0 0
6420 }
6421 0 arg5 = (size_t)(val5);
6422 0 result = gsl_matrix_complex_submatrix(arg1,arg2,arg3,arg4,arg5);
6423 0 ST(argvi) = SWIG_NewPointerObj((_gsl_matrix_complex_view *)memcpy((_gsl_matrix_complex_view *)calloc(1,sizeof(_gsl_matrix_complex_view)),&result,sizeof(_gsl_matrix_complex_view)), SWIGTYPE_p__gsl_matrix_complex_view, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
6424
6425
6426
6427
6428
6429 0 XSRETURN(argvi);
6430 0 fail:
6431
6432
6433
6434
6435
6436 0 SWIG_croak_null();
6437 }
6438 }
6439  
6440  
6441 0 XS(_wrap_gsl_matrix_complex_row) {
6442 {
6443 0 gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
6444 size_t arg2 ;
6445 0 void *argp1 = 0 ;
6446 0 int res1 = 0 ;
6447 size_t val2 ;
6448 0 int ecode2 = 0 ;
6449 0 int argvi = 0;
6450 _gsl_vector_complex_view result;
6451 0 dXSARGS;
6452
6453 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
6454 0 SWIG_croak("Usage: gsl_matrix_complex_row(m,i);");
6455 }
6456 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
6457 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
6458 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_row" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_row" "', argument " "1"" of type '" "gsl_matrix_complex *""'"); 0 0 0
6459 }
6460 0 arg1 = (gsl_matrix_complex *)(argp1);
6461 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6462 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
6463 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_row" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_row" "', argument " "2"" of type '" "size_t""'"); 0 0 0
6464 }
6465 0 arg2 = (size_t)(val2);
6466 0 result = gsl_matrix_complex_row(arg1,arg2);
6467 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 | 0); argvi++ ;
6468
6469
6470 0 XSRETURN(argvi);
6471 0 fail:
6472
6473
6474 0 SWIG_croak_null();
6475 }
6476 }
6477  
6478  
6479 0 XS(_wrap_gsl_matrix_complex_column) {
6480 {
6481 0 gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
6482 size_t arg2 ;
6483 0 void *argp1 = 0 ;
6484 0 int res1 = 0 ;
6485 size_t val2 ;
6486 0 int ecode2 = 0 ;
6487 0 int argvi = 0;
6488 _gsl_vector_complex_view result;
6489 0 dXSARGS;
6490
6491 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
6492 0 SWIG_croak("Usage: gsl_matrix_complex_column(m,j);");
6493 }
6494 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
6495 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
6496 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_column" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_column" "', argument " "1"" of type '" "gsl_matrix_complex *""'"); 0 0 0
6497 }
6498 0 arg1 = (gsl_matrix_complex *)(argp1);
6499 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6500 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
6501 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_column" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_column" "', argument " "2"" of type '" "size_t""'"); 0 0 0
6502 }
6503 0 arg2 = (size_t)(val2);
6504 0 result = gsl_matrix_complex_column(arg1,arg2);
6505 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 | 0); argvi++ ;
6506
6507
6508 0 XSRETURN(argvi);
6509 0 fail:
6510
6511
6512 0 SWIG_croak_null();
6513 }
6514 }
6515  
6516  
6517 0 XS(_wrap_gsl_matrix_complex_diagonal) {
6518 {
6519 0 gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
6520 0 void *argp1 = 0 ;
6521 0 int res1 = 0 ;
6522 0 int argvi = 0;
6523 _gsl_vector_complex_view result;
6524 0 dXSARGS;
6525
6526 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
6527 0 SWIG_croak("Usage: gsl_matrix_complex_diagonal(m);");
6528 }
6529 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
6530 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
6531 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_diagonal" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_diagonal" "', argument " "1"" of type '" "gsl_matrix_complex *""'"); 0 0 0
6532 }
6533 0 arg1 = (gsl_matrix_complex *)(argp1);
6534 0 result = gsl_matrix_complex_diagonal(arg1);
6535 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 | 0); argvi++ ;
6536
6537 0 XSRETURN(argvi);
6538 0 fail:
6539
6540 0 SWIG_croak_null();
6541 }
6542 }
6543  
6544  
6545 0 XS(_wrap_gsl_matrix_complex_subdiagonal) {
6546 {
6547 0 gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
6548 size_t arg2 ;
6549 0 void *argp1 = 0 ;
6550 0 int res1 = 0 ;
6551 size_t val2 ;
6552 0 int ecode2 = 0 ;
6553 0 int argvi = 0;
6554 _gsl_vector_complex_view result;
6555 0 dXSARGS;
6556
6557 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
6558 0 SWIG_croak("Usage: gsl_matrix_complex_subdiagonal(m,k);");
6559 }
6560 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
6561 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
6562 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_subdiagonal" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_subdiagonal" "', argument " "1"" of type '" "gsl_matrix_complex *""'"); 0 0 0
6563 }
6564 0 arg1 = (gsl_matrix_complex *)(argp1);
6565 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6566 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
6567 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_subdiagonal" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_subdiagonal" "', argument " "2"" of type '" "size_t""'"); 0 0 0
6568 }
6569 0 arg2 = (size_t)(val2);
6570 0 result = gsl_matrix_complex_subdiagonal(arg1,arg2);
6571 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 | 0); argvi++ ;
6572
6573
6574 0 XSRETURN(argvi);
6575 0 fail:
6576
6577
6578 0 SWIG_croak_null();
6579 }
6580 }
6581  
6582  
6583 0 XS(_wrap_gsl_matrix_complex_superdiagonal) {
6584 {
6585 0 gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
6586 size_t arg2 ;
6587 0 void *argp1 = 0 ;
6588 0 int res1 = 0 ;
6589 size_t val2 ;
6590 0 int ecode2 = 0 ;
6591 0 int argvi = 0;
6592 _gsl_vector_complex_view result;
6593 0 dXSARGS;
6594
6595 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
6596 0 SWIG_croak("Usage: gsl_matrix_complex_superdiagonal(m,k);");
6597 }
6598 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
6599 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
6600 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_superdiagonal" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_superdiagonal" "', argument " "1"" of type '" "gsl_matrix_complex *""'"); 0 0 0
6601 }
6602 0 arg1 = (gsl_matrix_complex *)(argp1);
6603 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6604 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
6605 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_superdiagonal" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_superdiagonal" "', argument " "2"" of type '" "size_t""'"); 0 0 0
6606 }
6607 0 arg2 = (size_t)(val2);
6608 0 result = gsl_matrix_complex_superdiagonal(arg1,arg2);
6609 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 | 0); argvi++ ;
6610
6611
6612 0 XSRETURN(argvi);
6613 0 fail:
6614
6615
6616 0 SWIG_croak_null();
6617 }
6618 }
6619  
6620  
6621 0 XS(_wrap_gsl_matrix_complex_subrow) {
6622 {
6623 0 gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
6624 size_t arg2 ;
6625 size_t arg3 ;
6626 size_t arg4 ;
6627 0 void *argp1 = 0 ;
6628 0 int res1 = 0 ;
6629 size_t val2 ;
6630 0 int ecode2 = 0 ;
6631 size_t val3 ;
6632 0 int ecode3 = 0 ;
6633 size_t val4 ;
6634 0 int ecode4 = 0 ;
6635 0 int argvi = 0;
6636 _gsl_vector_complex_view result;
6637 0 dXSARGS;
6638
6639 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
6640 0 SWIG_croak("Usage: gsl_matrix_complex_subrow(m,i,offset,n);");
6641 }
6642 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
6643 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
6644 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_subrow" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_subrow" "', argument " "1"" of type '" "gsl_matrix_complex *""'"); 0 0 0
6645 }
6646 0 arg1 = (gsl_matrix_complex *)(argp1);
6647 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6648 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
6649 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_subrow" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_subrow" "', argument " "2"" of type '" "size_t""'"); 0 0 0
6650 }
6651 0 arg2 = (size_t)(val2);
6652 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
6653 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
6654 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_complex_subrow" "', argument " "3"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_complex_subrow" "', argument " "3"" of type '" "size_t""'"); 0 0 0
6655 }
6656 0 arg3 = (size_t)(val3);
6657 0 ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
6658 0 ▶ if (!SWIG_IsOK(ecode4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode4)) { 0 0 0
6659 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_matrix_complex_subrow" "', argument " "4"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_matrix_complex_subrow" "', argument " "4"" of type '" "size_t""'"); 0 0 0
6660 }
6661 0 arg4 = (size_t)(val4);
6662 0 result = gsl_matrix_complex_subrow(arg1,arg2,arg3,arg4);
6663 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 | 0); argvi++ ;
6664
6665
6666
6667
6668 0 XSRETURN(argvi);
6669 0 fail:
6670
6671
6672
6673
6674 0 SWIG_croak_null();
6675 }
6676 }
6677  
6678  
6679 0 XS(_wrap_gsl_matrix_complex_subcolumn) {
6680 {
6681 0 gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
6682 size_t arg2 ;
6683 size_t arg3 ;
6684 size_t arg4 ;
6685 0 void *argp1 = 0 ;
6686 0 int res1 = 0 ;
6687 size_t val2 ;
6688 0 int ecode2 = 0 ;
6689 size_t val3 ;
6690 0 int ecode3 = 0 ;
6691 size_t val4 ;
6692 0 int ecode4 = 0 ;
6693 0 int argvi = 0;
6694 _gsl_vector_complex_view result;
6695 0 dXSARGS;
6696
6697 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
6698 0 SWIG_croak("Usage: gsl_matrix_complex_subcolumn(m,j,offset,n);");
6699 }
6700 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
6701 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
6702 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_subcolumn" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_subcolumn" "', argument " "1"" of type '" "gsl_matrix_complex *""'"); 0 0 0
6703 }
6704 0 arg1 = (gsl_matrix_complex *)(argp1);
6705 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6706 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
6707 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_subcolumn" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_subcolumn" "', argument " "2"" of type '" "size_t""'"); 0 0 0
6708 }
6709 0 arg2 = (size_t)(val2);
6710 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
6711 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
6712 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_complex_subcolumn" "', argument " "3"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_complex_subcolumn" "', argument " "3"" of type '" "size_t""'"); 0 0 0
6713 }
6714 0 arg3 = (size_t)(val3);
6715 0 ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
6716 0 ▶ if (!SWIG_IsOK(ecode4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode4)) { 0 0 0
6717 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_matrix_complex_subcolumn" "', argument " "4"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_matrix_complex_subcolumn" "', argument " "4"" of type '" "size_t""'"); 0 0 0
6718 }
6719 0 arg4 = (size_t)(val4);
6720 0 result = gsl_matrix_complex_subcolumn(arg1,arg2,arg3,arg4);
6721 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 | 0); argvi++ ;
6722
6723
6724
6725
6726 0 XSRETURN(argvi);
6727 0 fail:
6728
6729
6730
6731
6732 0 SWIG_croak_null();
6733 }
6734 }
6735  
6736  
6737 0 XS(_wrap_gsl_matrix_complex_view_array) {
6738 {
6739 0 double *arg1 = (double *) 0 ;
6740 size_t arg2 ;
6741 size_t arg3 ;
6742 size_t val2 ;
6743 0 int ecode2 = 0 ;
6744 size_t val3 ;
6745 0 int ecode3 = 0 ;
6746 0 int argvi = 0;
6747 _gsl_matrix_complex_view result;
6748 0 dXSARGS;
6749
6750 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
6751 0 SWIG_croak("Usage: gsl_matrix_complex_view_array(base,n1,n2);");
6752 }
6753 {
6754 AV *tempav;
6755 I32 len;
6756 int i;
6757 SV **tv;
6758 0 ▶ if (!SvROK(ST(0)))
Branch: 1 branch
BranchTrueFalseTotal
if (!SvROK(ST(0))) 0 0 0
6759 0 croak("Math::GSL : $base is not a reference!");
6760 0 ▶ if (SvTYPE(SvRV(ST(0))) != SVt_PVAV)
Branch: 1 branch
BranchTrueFalseTotal
if (SvTYPE(SvRV(ST(0))) != SVt_PVAV) 0 0 0
6761 0 croak("Math::GSL : $base is not an array ref!");
6762
6763 0 tempav = (AV*)SvRV(ST(0));
6764 0 len = av_len(tempav);
6765 0 arg1 = (double *) malloc((len+2)*sizeof(double));
6766 0 ▶ for (i = 0; i <= len; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; i <= len; i++) { 0 0 0
6767 0 tv = av_fetch(tempav, i, 0);
6768 0 arg1[i] = (double) SvNV(*tv);
6769 }
6770 }
6771 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6772 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
6773 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_view_array" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_view_array" "', argument " "2"" of type '" "size_t""'"); 0 0 0
6774 }
6775 0 arg2 = (size_t)(val2);
6776 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
6777 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
6778 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_complex_view_array" "', argument " "3"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_complex_view_array" "', argument " "3"" of type '" "size_t""'"); 0 0 0
6779 }
6780 0 arg3 = (size_t)(val3);
6781 0 result = gsl_matrix_complex_view_array(arg1,arg2,arg3);
6782 0 ST(argvi) = SWIG_NewPointerObj((_gsl_matrix_complex_view *)memcpy((_gsl_matrix_complex_view *)calloc(1,sizeof(_gsl_matrix_complex_view)),&result,sizeof(_gsl_matrix_complex_view)), SWIGTYPE_p__gsl_matrix_complex_view, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
6783 {
6784 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
6785 }
6786
6787
6788 0 XSRETURN(argvi);
6789 0 fail:
6790 {
6791 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
6792 }
6793
6794
6795 0 SWIG_croak_null();
6796 }
6797 }
6798  
6799  
6800 0 XS(_wrap_gsl_matrix_complex_view_array_with_tda) {
6801 {
6802 0 double *arg1 = (double *) 0 ;
6803 size_t arg2 ;
6804 size_t arg3 ;
6805 size_t arg4 ;
6806 size_t val2 ;
6807 0 int ecode2 = 0 ;
6808 size_t val3 ;
6809 0 int ecode3 = 0 ;
6810 size_t val4 ;
6811 0 int ecode4 = 0 ;
6812 0 int argvi = 0;
6813 _gsl_matrix_complex_view result;
6814 0 dXSARGS;
6815
6816 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
6817 0 SWIG_croak("Usage: gsl_matrix_complex_view_array_with_tda(base,n1,n2,tda);");
6818 }
6819 {
6820 AV *tempav;
6821 I32 len;
6822 int i;
6823 SV **tv;
6824 0 ▶ if (!SvROK(ST(0)))
Branch: 1 branch
BranchTrueFalseTotal
if (!SvROK(ST(0))) 0 0 0
6825 0 croak("Math::GSL : $base is not a reference!");
6826 0 ▶ if (SvTYPE(SvRV(ST(0))) != SVt_PVAV)
Branch: 1 branch
BranchTrueFalseTotal
if (SvTYPE(SvRV(ST(0))) != SVt_PVAV) 0 0 0
6827 0 croak("Math::GSL : $base is not an array ref!");
6828
6829 0 tempav = (AV*)SvRV(ST(0));
6830 0 len = av_len(tempav);
6831 0 arg1 = (double *) malloc((len+2)*sizeof(double));
6832 0 ▶ for (i = 0; i <= len; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; i <= len; i++) { 0 0 0
6833 0 tv = av_fetch(tempav, i, 0);
6834 0 arg1[i] = (double) SvNV(*tv);
6835 }
6836 }
6837 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6838 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
6839 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_view_array_with_tda" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_view_array_with_tda" "', argument " "2"" of type '" "size_t""'"); 0 0 0
6840 }
6841 0 arg2 = (size_t)(val2);
6842 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
6843 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
6844 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_complex_view_array_with_tda" "', argument " "3"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_complex_view_array_with_tda" "', argument " "3"" of type '" "size_t""'"); 0 0 0
6845 }
6846 0 arg3 = (size_t)(val3);
6847 0 ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
6848 0 ▶ if (!SWIG_IsOK(ecode4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode4)) { 0 0 0
6849 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_matrix_complex_view_array_with_tda" "', argument " "4"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_matrix_complex_view_array_with_tda" "', argument " "4"" of type '" "size_t""'"); 0 0 0
6850 }
6851 0 arg4 = (size_t)(val4);
6852 0 result = gsl_matrix_complex_view_array_with_tda(arg1,arg2,arg3,arg4);
6853 0 ST(argvi) = SWIG_NewPointerObj((_gsl_matrix_complex_view *)memcpy((_gsl_matrix_complex_view *)calloc(1,sizeof(_gsl_matrix_complex_view)),&result,sizeof(_gsl_matrix_complex_view)), SWIGTYPE_p__gsl_matrix_complex_view, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
6854 {
6855 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
6856 }
6857
6858
6859
6860 0 XSRETURN(argvi);
6861 0 fail:
6862 {
6863 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
6864 }
6865
6866
6867
6868 0 SWIG_croak_null();
6869 }
6870 }
6871  
6872  
6873 0 XS(_wrap_gsl_matrix_complex_view_vector) {
6874 {
6875 0 gsl_vector_complex *arg1 = (gsl_vector_complex *) 0 ;
6876 size_t arg2 ;
6877 size_t arg3 ;
6878 0 void *argp1 = 0 ;
6879 0 int res1 = 0 ;
6880 size_t val2 ;
6881 0 int ecode2 = 0 ;
6882 size_t val3 ;
6883 0 int ecode3 = 0 ;
6884 0 int argvi = 0;
6885 _gsl_matrix_complex_view result;
6886 0 dXSARGS;
6887
6888 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
6889 0 SWIG_croak("Usage: gsl_matrix_complex_view_vector(v,n1,n2);");
6890 }
6891 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_complex, 0 | 0 );
6892 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
6893 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_view_vector" "', argument " "1"" of type '" "gsl_vector_complex *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_view_vector" "', argument " "1"" of type '" "gsl_vector_complex *""'"); 0 0 0
6894 }
6895 0 arg1 = (gsl_vector_complex *)(argp1);
6896 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6897 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
6898 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_view_vector" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_view_vector" "', argument " "2"" of type '" "size_t""'"); 0 0 0
6899 }
6900 0 arg2 = (size_t)(val2);
6901 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
6902 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
6903 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_complex_view_vector" "', argument " "3"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_complex_view_vector" "', argument " "3"" of type '" "size_t""'"); 0 0 0
6904 }
6905 0 arg3 = (size_t)(val3);
6906 0 result = gsl_matrix_complex_view_vector(arg1,arg2,arg3);
6907 0 ST(argvi) = SWIG_NewPointerObj((_gsl_matrix_complex_view *)memcpy((_gsl_matrix_complex_view *)calloc(1,sizeof(_gsl_matrix_complex_view)),&result,sizeof(_gsl_matrix_complex_view)), SWIGTYPE_p__gsl_matrix_complex_view, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
6908
6909
6910
6911 0 XSRETURN(argvi);
6912 0 fail:
6913
6914
6915
6916 0 SWIG_croak_null();
6917 }
6918 }
6919  
6920  
6921 0 XS(_wrap_gsl_matrix_complex_view_vector_with_tda) {
6922 {
6923 0 gsl_vector_complex *arg1 = (gsl_vector_complex *) 0 ;
6924 size_t arg2 ;
6925 size_t arg3 ;
6926 size_t arg4 ;
6927 0 void *argp1 = 0 ;
6928 0 int res1 = 0 ;
6929 size_t val2 ;
6930 0 int ecode2 = 0 ;
6931 size_t val3 ;
6932 0 int ecode3 = 0 ;
6933 size_t val4 ;
6934 0 int ecode4 = 0 ;
6935 0 int argvi = 0;
6936 _gsl_matrix_complex_view result;
6937 0 dXSARGS;
6938
6939 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
6940 0 SWIG_croak("Usage: gsl_matrix_complex_view_vector_with_tda(v,n1,n2,tda);");
6941 }
6942 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_complex, 0 | 0 );
6943 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
6944 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_view_vector_with_tda" "', argument " "1"" of type '" "gsl_vector_complex *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_view_vector_with_tda" "', argument " "1"" of type '" "gsl_vector_complex *""'"); 0 0 0
6945 }
6946 0 arg1 = (gsl_vector_complex *)(argp1);
6947 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6948 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
6949 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_view_vector_with_tda" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_view_vector_with_tda" "', argument " "2"" of type '" "size_t""'"); 0 0 0
6950 }
6951 0 arg2 = (size_t)(val2);
6952 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
6953 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
6954 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_complex_view_vector_with_tda" "', argument " "3"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_complex_view_vector_with_tda" "', argument " "3"" of type '" "size_t""'"); 0 0 0
6955 }
6956 0 arg3 = (size_t)(val3);
6957 0 ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
6958 0 ▶ if (!SWIG_IsOK(ecode4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode4)) { 0 0 0
6959 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_matrix_complex_view_vector_with_tda" "', argument " "4"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_matrix_complex_view_vector_with_tda" "', argument " "4"" of type '" "size_t""'"); 0 0 0
6960 }
6961 0 arg4 = (size_t)(val4);
6962 0 result = gsl_matrix_complex_view_vector_with_tda(arg1,arg2,arg3,arg4);
6963 0 ST(argvi) = SWIG_NewPointerObj((_gsl_matrix_complex_view *)memcpy((_gsl_matrix_complex_view *)calloc(1,sizeof(_gsl_matrix_complex_view)),&result,sizeof(_gsl_matrix_complex_view)), SWIGTYPE_p__gsl_matrix_complex_view, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
6964
6965
6966
6967
6968 0 XSRETURN(argvi);
6969 0 fail:
6970
6971
6972
6973
6974 0 SWIG_croak_null();
6975 }
6976 }
6977  
6978  
6979 0 XS(_wrap_gsl_matrix_complex_const_submatrix) {
6980 {
6981 0 gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
6982 size_t arg2 ;
6983 size_t arg3 ;
6984 size_t arg4 ;
6985 size_t arg5 ;
6986 0 void *argp1 = 0 ;
6987 0 int res1 = 0 ;
6988 size_t val2 ;
6989 0 int ecode2 = 0 ;
6990 size_t val3 ;
6991 0 int ecode3 = 0 ;
6992 size_t val4 ;
6993 0 int ecode4 = 0 ;
6994 size_t val5 ;
6995 0 int ecode5 = 0 ;
6996 0 int argvi = 0;
6997 _gsl_matrix_complex_const_view result;
6998 0 dXSARGS;
6999
7000 0 ▶ if ((items < 5) || (items > 5)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 5) || (items > 5)) { 0 0 0
if ((items < 5) || (items > 5)) { 0 0 0
7001 0 SWIG_croak("Usage: gsl_matrix_complex_const_submatrix(m,i,j,n1,n2);");
7002 }
7003 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
7004 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
7005 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_const_submatrix" "', argument " "1"" of type '" "gsl_matrix_complex const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_const_submatrix" "', argument " "1"" of type '" "gsl_matrix_complex const *""'"); 0 0 0
7006 }
7007 0 arg1 = (gsl_matrix_complex *)(argp1);
7008 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
7009 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
7010 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_const_submatrix" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_const_submatrix" "', argument " "2"" of type '" "size_t""'"); 0 0 0
7011 }
7012 0 arg2 = (size_t)(val2);
7013 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
7014 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
7015 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_complex_const_submatrix" "', argument " "3"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_complex_const_submatrix" "', argument " "3"" of type '" "size_t""'"); 0 0 0
7016 }
7017 0 arg3 = (size_t)(val3);
7018 0 ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
7019 0 ▶ if (!SWIG_IsOK(ecode4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode4)) { 0 0 0
7020 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_matrix_complex_const_submatrix" "', argument " "4"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_matrix_complex_const_submatrix" "', argument " "4"" of type '" "size_t""'"); 0 0 0
7021 }
7022 0 arg4 = (size_t)(val4);
7023 0 ecode5 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
7024 0 ▶ if (!SWIG_IsOK(ecode5)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode5)) { 0 0 0
7025 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "gsl_matrix_complex_const_submatrix" "', argument " "5"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "gsl_matrix_complex_const_submatrix" "', argument " "5"" of type '" "size_t""'"); 0 0 0
7026 }
7027 0 arg5 = (size_t)(val5);
7028 0 result = gsl_matrix_complex_const_submatrix((gsl_matrix_complex const *)arg1,arg2,arg3,arg4,arg5);
7029 0 ST(argvi) = SWIG_NewPointerObj((_gsl_matrix_complex_const_view *)memcpy((_gsl_matrix_complex_const_view *)calloc(1,sizeof(_gsl_matrix_complex_const_view)),&result,sizeof(_gsl_matrix_complex_const_view)), SWIGTYPE_p__gsl_matrix_complex_const_view, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
7030
7031
7032
7033
7034
7035 0 XSRETURN(argvi);
7036 0 fail:
7037
7038
7039
7040
7041
7042 0 SWIG_croak_null();
7043 }
7044 }
7045  
7046  
7047 0 XS(_wrap_gsl_matrix_complex_const_row) {
7048 {
7049 0 gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
7050 size_t arg2 ;
7051 0 void *argp1 = 0 ;
7052 0 int res1 = 0 ;
7053 size_t val2 ;
7054 0 int ecode2 = 0 ;
7055 0 int argvi = 0;
7056 _gsl_vector_complex_const_view result;
7057 0 dXSARGS;
7058
7059 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
7060 0 SWIG_croak("Usage: gsl_matrix_complex_const_row(m,i);");
7061 }
7062 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
7063 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
7064 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_const_row" "', argument " "1"" of type '" "gsl_matrix_complex const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_const_row" "', argument " "1"" of type '" "gsl_matrix_complex const *""'"); 0 0 0
7065 }
7066 0 arg1 = (gsl_matrix_complex *)(argp1);
7067 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
7068 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
7069 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_const_row" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_const_row" "', argument " "2"" of type '" "size_t""'"); 0 0 0
7070 }
7071 0 arg2 = (size_t)(val2);
7072 0 result = gsl_matrix_complex_const_row((gsl_matrix_complex const *)arg1,arg2);
7073 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 | 0); argvi++ ;
7074
7075
7076 0 XSRETURN(argvi);
7077 0 fail:
7078
7079
7080 0 SWIG_croak_null();
7081 }
7082 }
7083  
7084  
7085 0 XS(_wrap_gsl_matrix_complex_const_column) {
7086 {
7087 0 gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
7088 size_t arg2 ;
7089 0 void *argp1 = 0 ;
7090 0 int res1 = 0 ;
7091 size_t val2 ;
7092 0 int ecode2 = 0 ;
7093 0 int argvi = 0;
7094 _gsl_vector_complex_const_view result;
7095 0 dXSARGS;
7096
7097 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
7098 0 SWIG_croak("Usage: gsl_matrix_complex_const_column(m,j);");
7099 }
7100 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
7101 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
7102 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_const_column" "', argument " "1"" of type '" "gsl_matrix_complex const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_const_column" "', argument " "1"" of type '" "gsl_matrix_complex const *""'"); 0 0 0
7103 }
7104 0 arg1 = (gsl_matrix_complex *)(argp1);
7105 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
7106 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
7107 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_const_column" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_const_column" "', argument " "2"" of type '" "size_t""'"); 0 0 0
7108 }
7109 0 arg2 = (size_t)(val2);
7110 0 result = gsl_matrix_complex_const_column((gsl_matrix_complex const *)arg1,arg2);
7111 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 | 0); argvi++ ;
7112
7113
7114 0 XSRETURN(argvi);
7115 0 fail:
7116
7117
7118 0 SWIG_croak_null();
7119 }
7120 }
7121  
7122  
7123 0 XS(_wrap_gsl_matrix_complex_const_diagonal) {
7124 {
7125 0 gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
7126 0 void *argp1 = 0 ;
7127 0 int res1 = 0 ;
7128 0 int argvi = 0;
7129 _gsl_vector_complex_const_view result;
7130 0 dXSARGS;
7131
7132 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
7133 0 SWIG_croak("Usage: gsl_matrix_complex_const_diagonal(m);");
7134 }
7135 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
7136 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
7137 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_const_diagonal" "', argument " "1"" of type '" "gsl_matrix_complex const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_const_diagonal" "', argument " "1"" of type '" "gsl_matrix_complex const *""'"); 0 0 0
7138 }
7139 0 arg1 = (gsl_matrix_complex *)(argp1);
7140 0 result = gsl_matrix_complex_const_diagonal((gsl_matrix_complex const *)arg1);
7141 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 | 0); argvi++ ;
7142
7143 0 XSRETURN(argvi);
7144 0 fail:
7145
7146 0 SWIG_croak_null();
7147 }
7148 }
7149  
7150  
7151 0 XS(_wrap_gsl_matrix_complex_const_subdiagonal) {
7152 {
7153 0 gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
7154 size_t arg2 ;
7155 0 void *argp1 = 0 ;
7156 0 int res1 = 0 ;
7157 size_t val2 ;
7158 0 int ecode2 = 0 ;
7159 0 int argvi = 0;
7160 _gsl_vector_complex_const_view result;
7161 0 dXSARGS;
7162
7163 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
7164 0 SWIG_croak("Usage: gsl_matrix_complex_const_subdiagonal(m,k);");
7165 }
7166 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
7167 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
7168 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_const_subdiagonal" "', argument " "1"" of type '" "gsl_matrix_complex const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_const_subdiagonal" "', argument " "1"" of type '" "gsl_matrix_complex const *""'"); 0 0 0
7169 }
7170 0 arg1 = (gsl_matrix_complex *)(argp1);
7171 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
7172 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
7173 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_const_subdiagonal" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_const_subdiagonal" "', argument " "2"" of type '" "size_t""'"); 0 0 0
7174 }
7175 0 arg2 = (size_t)(val2);
7176 0 result = gsl_matrix_complex_const_subdiagonal((gsl_matrix_complex const *)arg1,arg2);
7177 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 | 0); argvi++ ;
7178
7179
7180 0 XSRETURN(argvi);
7181 0 fail:
7182
7183
7184 0 SWIG_croak_null();
7185 }
7186 }
7187  
7188  
7189 0 XS(_wrap_gsl_matrix_complex_const_superdiagonal) {
7190 {
7191 0 gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
7192 size_t arg2 ;
7193 0 void *argp1 = 0 ;
7194 0 int res1 = 0 ;
7195 size_t val2 ;
7196 0 int ecode2 = 0 ;
7197 0 int argvi = 0;
7198 _gsl_vector_complex_const_view result;
7199 0 dXSARGS;
7200
7201 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
7202 0 SWIG_croak("Usage: gsl_matrix_complex_const_superdiagonal(m,k);");
7203 }
7204 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
7205 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
7206 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_const_superdiagonal" "', argument " "1"" of type '" "gsl_matrix_complex const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_const_superdiagonal" "', argument " "1"" of type '" "gsl_matrix_complex const *""'"); 0 0 0
7207 }
7208 0 arg1 = (gsl_matrix_complex *)(argp1);
7209 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
7210 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
7211 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_const_superdiagonal" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_const_superdiagonal" "', argument " "2"" of type '" "size_t""'"); 0 0 0
7212 }
7213 0 arg2 = (size_t)(val2);
7214 0 result = gsl_matrix_complex_const_superdiagonal((gsl_matrix_complex const *)arg1,arg2);
7215 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 | 0); argvi++ ;
7216
7217
7218 0 XSRETURN(argvi);
7219 0 fail:
7220
7221
7222 0 SWIG_croak_null();
7223 }
7224 }
7225  
7226  
7227 0 XS(_wrap_gsl_matrix_complex_const_subrow) {
7228 {
7229 0 gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
7230 size_t arg2 ;
7231 size_t arg3 ;
7232 size_t arg4 ;
7233 0 void *argp1 = 0 ;
7234 0 int res1 = 0 ;
7235 size_t val2 ;
7236 0 int ecode2 = 0 ;
7237 size_t val3 ;
7238 0 int ecode3 = 0 ;
7239 size_t val4 ;
7240 0 int ecode4 = 0 ;
7241 0 int argvi = 0;
7242 _gsl_vector_complex_const_view result;
7243 0 dXSARGS;
7244
7245 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
7246 0 SWIG_croak("Usage: gsl_matrix_complex_const_subrow(m,i,offset,n);");
7247 }
7248 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
7249 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
7250 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_const_subrow" "', argument " "1"" of type '" "gsl_matrix_complex const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_const_subrow" "', argument " "1"" of type '" "gsl_matrix_complex const *""'"); 0 0 0
7251 }
7252 0 arg1 = (gsl_matrix_complex *)(argp1);
7253 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
7254 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
7255 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_const_subrow" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_const_subrow" "', argument " "2"" of type '" "size_t""'"); 0 0 0
7256 }
7257 0 arg2 = (size_t)(val2);
7258 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
7259 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
7260 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_complex_const_subrow" "', argument " "3"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_complex_const_subrow" "', argument " "3"" of type '" "size_t""'"); 0 0 0
7261 }
7262 0 arg3 = (size_t)(val3);
7263 0 ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
7264 0 ▶ if (!SWIG_IsOK(ecode4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode4)) { 0 0 0
7265 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_matrix_complex_const_subrow" "', argument " "4"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_matrix_complex_const_subrow" "', argument " "4"" of type '" "size_t""'"); 0 0 0
7266 }
7267 0 arg4 = (size_t)(val4);
7268 0 result = gsl_matrix_complex_const_subrow((gsl_matrix_complex const *)arg1,arg2,arg3,arg4);
7269 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 | 0); argvi++ ;
7270
7271
7272
7273
7274 0 XSRETURN(argvi);
7275 0 fail:
7276
7277
7278
7279
7280 0 SWIG_croak_null();
7281 }
7282 }
7283  
7284  
7285 0 XS(_wrap_gsl_matrix_complex_const_subcolumn) {
7286 {
7287 0 gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
7288 size_t arg2 ;
7289 size_t arg3 ;
7290 size_t arg4 ;
7291 0 void *argp1 = 0 ;
7292 0 int res1 = 0 ;
7293 size_t val2 ;
7294 0 int ecode2 = 0 ;
7295 size_t val3 ;
7296 0 int ecode3 = 0 ;
7297 size_t val4 ;
7298 0 int ecode4 = 0 ;
7299 0 int argvi = 0;
7300 _gsl_vector_complex_const_view result;
7301 0 dXSARGS;
7302
7303 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
7304 0 SWIG_croak("Usage: gsl_matrix_complex_const_subcolumn(m,j,offset,n);");
7305 }
7306 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
7307 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
7308 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_const_subcolumn" "', argument " "1"" of type '" "gsl_matrix_complex const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_const_subcolumn" "', argument " "1"" of type '" "gsl_matrix_complex const *""'"); 0 0 0
7309 }
7310 0 arg1 = (gsl_matrix_complex *)(argp1);
7311 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
7312 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
7313 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_const_subcolumn" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_const_subcolumn" "', argument " "2"" of type '" "size_t""'"); 0 0 0
7314 }
7315 0 arg2 = (size_t)(val2);
7316 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
7317 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
7318 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_complex_const_subcolumn" "', argument " "3"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_complex_const_subcolumn" "', argument " "3"" of type '" "size_t""'"); 0 0 0
7319 }
7320 0 arg3 = (size_t)(val3);
7321 0 ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
7322 0 ▶ if (!SWIG_IsOK(ecode4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode4)) { 0 0 0
7323 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_matrix_complex_const_subcolumn" "', argument " "4"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_matrix_complex_const_subcolumn" "', argument " "4"" of type '" "size_t""'"); 0 0 0
7324 }
7325 0 arg4 = (size_t)(val4);
7326 0 result = gsl_matrix_complex_const_subcolumn((gsl_matrix_complex const *)arg1,arg2,arg3,arg4);
7327 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 | 0); argvi++ ;
7328
7329
7330
7331
7332 0 XSRETURN(argvi);
7333 0 fail:
7334
7335
7336
7337
7338 0 SWIG_croak_null();
7339 }
7340 }
7341  
7342  
7343 0 XS(_wrap_gsl_matrix_complex_const_view_array) {
7344 {
7345 0 double *arg1 = (double *) 0 ;
7346 size_t arg2 ;
7347 size_t arg3 ;
7348 size_t val2 ;
7349 0 int ecode2 = 0 ;
7350 size_t val3 ;
7351 0 int ecode3 = 0 ;
7352 0 int argvi = 0;
7353 _gsl_matrix_complex_const_view result;
7354 0 dXSARGS;
7355
7356 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
7357 0 SWIG_croak("Usage: gsl_matrix_complex_const_view_array(base,n1,n2);");
7358 }
7359 {
7360 AV *tempav;
7361 I32 len;
7362 int i;
7363 SV **tv;
7364 0 ▶ if (!SvROK(ST(0)))
Branch: 1 branch
BranchTrueFalseTotal
if (!SvROK(ST(0))) 0 0 0
7365 0 croak("Math::GSL : $base is not a reference!");
7366 0 ▶ if (SvTYPE(SvRV(ST(0))) != SVt_PVAV)
Branch: 1 branch
BranchTrueFalseTotal
if (SvTYPE(SvRV(ST(0))) != SVt_PVAV) 0 0 0
7367 0 croak("Math::GSL : $base is not an array ref!");
7368
7369 0 tempav = (AV*)SvRV(ST(0));
7370 0 len = av_len(tempav);
7371 0 arg1 = (double *) malloc((len+2)*sizeof(double));
7372 0 ▶ for (i = 0; i <= len; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; i <= len; i++) { 0 0 0
7373 0 tv = av_fetch(tempav, i, 0);
7374 0 arg1[i] = (double) SvNV(*tv);
7375 }
7376 }
7377 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
7378 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
7379 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_const_view_array" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_const_view_array" "', argument " "2"" of type '" "size_t""'"); 0 0 0
7380 }
7381 0 arg2 = (size_t)(val2);
7382 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
7383 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
7384 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_complex_const_view_array" "', argument " "3"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_complex_const_view_array" "', argument " "3"" of type '" "size_t""'"); 0 0 0
7385 }
7386 0 arg3 = (size_t)(val3);
7387 0 result = gsl_matrix_complex_const_view_array((double const *)arg1,arg2,arg3);
7388 0 ST(argvi) = SWIG_NewPointerObj((_gsl_matrix_complex_const_view *)memcpy((_gsl_matrix_complex_const_view *)calloc(1,sizeof(_gsl_matrix_complex_const_view)),&result,sizeof(_gsl_matrix_complex_const_view)), SWIGTYPE_p__gsl_matrix_complex_const_view, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
7389 {
7390 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
7391 }
7392
7393
7394 0 XSRETURN(argvi);
7395 0 fail:
7396 {
7397 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
7398 }
7399
7400
7401 0 SWIG_croak_null();
7402 }
7403 }
7404  
7405  
7406 0 XS(_wrap_gsl_matrix_complex_const_view_array_with_tda) {
7407 {
7408 0 double *arg1 = (double *) 0 ;
7409 size_t arg2 ;
7410 size_t arg3 ;
7411 size_t arg4 ;
7412 size_t val2 ;
7413 0 int ecode2 = 0 ;
7414 size_t val3 ;
7415 0 int ecode3 = 0 ;
7416 size_t val4 ;
7417 0 int ecode4 = 0 ;
7418 0 int argvi = 0;
7419 _gsl_matrix_complex_const_view result;
7420 0 dXSARGS;
7421
7422 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
7423 0 SWIG_croak("Usage: gsl_matrix_complex_const_view_array_with_tda(base,n1,n2,tda);");
7424 }
7425 {
7426 AV *tempav;
7427 I32 len;
7428 int i;
7429 SV **tv;
7430 0 ▶ if (!SvROK(ST(0)))
Branch: 1 branch
BranchTrueFalseTotal
if (!SvROK(ST(0))) 0 0 0
7431 0 croak("Math::GSL : $base is not a reference!");
7432 0 ▶ if (SvTYPE(SvRV(ST(0))) != SVt_PVAV)
Branch: 1 branch
BranchTrueFalseTotal
if (SvTYPE(SvRV(ST(0))) != SVt_PVAV) 0 0 0
7433 0 croak("Math::GSL : $base is not an array ref!");
7434
7435 0 tempav = (AV*)SvRV(ST(0));
7436 0 len = av_len(tempav);
7437 0 arg1 = (double *) malloc((len+2)*sizeof(double));
7438 0 ▶ for (i = 0; i <= len; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; i <= len; i++) { 0 0 0
7439 0 tv = av_fetch(tempav, i, 0);
7440 0 arg1[i] = (double) SvNV(*tv);
7441 }
7442 }
7443 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
7444 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
7445 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_const_view_array_with_tda" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_const_view_array_with_tda" "', argument " "2"" of type '" "size_t""'"); 0 0 0
7446 }
7447 0 arg2 = (size_t)(val2);
7448 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
7449 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
7450 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_complex_const_view_array_with_tda" "', argument " "3"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_complex_const_view_array_with_tda" "', argument " "3"" of type '" "size_t""'"); 0 0 0
7451 }
7452 0 arg3 = (size_t)(val3);
7453 0 ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
7454 0 ▶ if (!SWIG_IsOK(ecode4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode4)) { 0 0 0
7455 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_matrix_complex_const_view_array_with_tda" "', argument " "4"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_matrix_complex_const_view_array_with_tda" "', argument " "4"" of type '" "size_t""'"); 0 0 0
7456 }
7457 0 arg4 = (size_t)(val4);
7458 0 result = gsl_matrix_complex_const_view_array_with_tda((double const *)arg1,arg2,arg3,arg4);
7459 0 ST(argvi) = SWIG_NewPointerObj((_gsl_matrix_complex_const_view *)memcpy((_gsl_matrix_complex_const_view *)calloc(1,sizeof(_gsl_matrix_complex_const_view)),&result,sizeof(_gsl_matrix_complex_const_view)), SWIGTYPE_p__gsl_matrix_complex_const_view, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
7460 {
7461 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
7462 }
7463
7464
7465
7466 0 XSRETURN(argvi);
7467 0 fail:
7468 {
7469 0 ▶ if (arg1) free(arg1);
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) free(arg1); 0 0 0
7470 }
7471
7472
7473
7474 0 SWIG_croak_null();
7475 }
7476 }
7477  
7478  
7479 0 XS(_wrap_gsl_matrix_complex_const_view_vector) {
7480 {
7481 0 gsl_vector_complex *arg1 = (gsl_vector_complex *) 0 ;
7482 size_t arg2 ;
7483 size_t arg3 ;
7484 0 void *argp1 = 0 ;
7485 0 int res1 = 0 ;
7486 size_t val2 ;
7487 0 int ecode2 = 0 ;
7488 size_t val3 ;
7489 0 int ecode3 = 0 ;
7490 0 int argvi = 0;
7491 _gsl_matrix_complex_const_view result;
7492 0 dXSARGS;
7493
7494 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
7495 0 SWIG_croak("Usage: gsl_matrix_complex_const_view_vector(v,n1,n2);");
7496 }
7497 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_complex, 0 | 0 );
7498 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
7499 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_const_view_vector" "', argument " "1"" of type '" "gsl_vector_complex const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_const_view_vector" "', argument " "1"" of type '" "gsl_vector_complex const *""'"); 0 0 0
7500 }
7501 0 arg1 = (gsl_vector_complex *)(argp1);
7502 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
7503 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
7504 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_const_view_vector" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_const_view_vector" "', argument " "2"" of type '" "size_t""'"); 0 0 0
7505 }
7506 0 arg2 = (size_t)(val2);
7507 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
7508 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
7509 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_complex_const_view_vector" "', argument " "3"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_complex_const_view_vector" "', argument " "3"" of type '" "size_t""'"); 0 0 0
7510 }
7511 0 arg3 = (size_t)(val3);
7512 0 result = gsl_matrix_complex_const_view_vector((gsl_vector_complex const *)arg1,arg2,arg3);
7513 0 ST(argvi) = SWIG_NewPointerObj((_gsl_matrix_complex_const_view *)memcpy((_gsl_matrix_complex_const_view *)calloc(1,sizeof(_gsl_matrix_complex_const_view)),&result,sizeof(_gsl_matrix_complex_const_view)), SWIGTYPE_p__gsl_matrix_complex_const_view, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
7514
7515
7516
7517 0 XSRETURN(argvi);
7518 0 fail:
7519
7520
7521
7522 0 SWIG_croak_null();
7523 }
7524 }
7525  
7526  
7527 0 XS(_wrap_gsl_matrix_complex_const_view_vector_with_tda) {
7528 {
7529 0 gsl_vector_complex *arg1 = (gsl_vector_complex *) 0 ;
7530 size_t arg2 ;
7531 size_t arg3 ;
7532 size_t arg4 ;
7533 0 void *argp1 = 0 ;
7534 0 int res1 = 0 ;
7535 size_t val2 ;
7536 0 int ecode2 = 0 ;
7537 size_t val3 ;
7538 0 int ecode3 = 0 ;
7539 size_t val4 ;
7540 0 int ecode4 = 0 ;
7541 0 int argvi = 0;
7542 _gsl_matrix_complex_const_view result;
7543 0 dXSARGS;
7544
7545 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
7546 0 SWIG_croak("Usage: gsl_matrix_complex_const_view_vector_with_tda(v,n1,n2,tda);");
7547 }
7548 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_complex, 0 | 0 );
7549 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
7550 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_const_view_vector_with_tda" "', argument " "1"" of type '" "gsl_vector_complex const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_const_view_vector_with_tda" "', argument " "1"" of type '" "gsl_vector_complex const *""'"); 0 0 0
7551 }
7552 0 arg1 = (gsl_vector_complex *)(argp1);
7553 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
7554 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
7555 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_const_view_vector_with_tda" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_const_view_vector_with_tda" "', argument " "2"" of type '" "size_t""'"); 0 0 0
7556 }
7557 0 arg2 = (size_t)(val2);
7558 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
7559 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
7560 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_complex_const_view_vector_with_tda" "', argument " "3"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_complex_const_view_vector_with_tda" "', argument " "3"" of type '" "size_t""'"); 0 0 0
7561 }
7562 0 arg3 = (size_t)(val3);
7563 0 ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
7564 0 ▶ if (!SWIG_IsOK(ecode4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode4)) { 0 0 0
7565 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_matrix_complex_const_view_vector_with_tda" "', argument " "4"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_matrix_complex_const_view_vector_with_tda" "', argument " "4"" of type '" "size_t""'"); 0 0 0
7566 }
7567 0 arg4 = (size_t)(val4);
7568 0 result = gsl_matrix_complex_const_view_vector_with_tda((gsl_vector_complex const *)arg1,arg2,arg3,arg4);
7569 0 ST(argvi) = SWIG_NewPointerObj((_gsl_matrix_complex_const_view *)memcpy((_gsl_matrix_complex_const_view *)calloc(1,sizeof(_gsl_matrix_complex_const_view)),&result,sizeof(_gsl_matrix_complex_const_view)), SWIGTYPE_p__gsl_matrix_complex_const_view, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
7570
7571
7572
7573
7574 0 XSRETURN(argvi);
7575 0 fail:
7576
7577
7578
7579
7580 0 SWIG_croak_null();
7581 }
7582 }
7583  
7584  
7585 0 XS(_wrap_gsl_matrix_complex_set_zero) {
7586 {
7587 0 gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
7588 0 void *argp1 = 0 ;
7589 0 int res1 = 0 ;
7590 0 int argvi = 0;
7591 0 dXSARGS;
7592
7593 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
7594 0 SWIG_croak("Usage: gsl_matrix_complex_set_zero(m);");
7595 }
7596 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
7597 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
7598 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_set_zero" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_set_zero" "', argument " "1"" of type '" "gsl_matrix_complex *""'"); 0 0 0
7599 }
7600 0 arg1 = (gsl_matrix_complex *)(argp1);
7601 0 gsl_matrix_complex_set_zero(arg1);
7602 0 ST(argvi) = &PL_sv_undef;
7603
7604 0 XSRETURN(argvi);
7605 0 fail:
7606
7607 0 SWIG_croak_null();
7608 }
7609 }
7610  
7611  
7612 0 XS(_wrap_gsl_matrix_complex_set_identity) {
7613 {
7614 0 gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
7615 0 void *argp1 = 0 ;
7616 0 int res1 = 0 ;
7617 0 int argvi = 0;
7618 0 dXSARGS;
7619
7620 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
7621 0 SWIG_croak("Usage: gsl_matrix_complex_set_identity(m);");
7622 }
7623 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
7624 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
7625 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_set_identity" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_set_identity" "', argument " "1"" of type '" "gsl_matrix_complex *""'"); 0 0 0
7626 }
7627 0 arg1 = (gsl_matrix_complex *)(argp1);
7628 0 gsl_matrix_complex_set_identity(arg1);
7629 0 ST(argvi) = &PL_sv_undef;
7630
7631 0 XSRETURN(argvi);
7632 0 fail:
7633
7634 0 SWIG_croak_null();
7635 }
7636 }
7637  
7638  
7639 0 XS(_wrap_gsl_matrix_complex_set_all) {
7640 {
7641 0 gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
7642 gsl_complex arg2 ;
7643 0 void *argp1 = 0 ;
7644 0 int res1 = 0 ;
7645 void *argp2 ;
7646 0 int res2 = 0 ;
7647 0 int argvi = 0;
7648 0 dXSARGS;
7649
7650 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
7651 0 SWIG_croak("Usage: gsl_matrix_complex_set_all(m,x);");
7652 }
7653 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
7654 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
7655 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_set_all" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_set_all" "', argument " "1"" of type '" "gsl_matrix_complex *""'"); 0 0 0
7656 }
7657 0 arg1 = (gsl_matrix_complex *)(argp1);
7658 {
7659 0 res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_gsl_complex, 0 );
7660 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
7661 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_complex_set_all" "', argument " "2"" of type '" "gsl_complex""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_complex_set_all" "', argument " "2"" of type '" "gsl_complex""'"); 0 0 0
7662 }
7663 0 ▶ if (!argp2) {
Branch: 1 branch
BranchTrueFalseTotal
if (!argp2) { 0 0 0
7664 0 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "gsl_matrix_complex_set_all" "', argument " "2"" of type '" "gsl_complex""'");
7665 } else {
7666 0 arg2 = *((gsl_complex *)(argp2));
7667 }
7668 }
7669 0 gsl_matrix_complex_set_all(arg1,arg2);
7670 0 ST(argvi) = &PL_sv_undef;
7671
7672 0 XSRETURN(argvi);
7673 0 fail:
7674
7675 0 SWIG_croak_null();
7676 }
7677 }
7678  
7679  
7680 0 XS(_wrap_gsl_matrix_complex_fread) {
7681 {
7682 0 FILE *arg1 = (FILE *) 0 ;
7683 0 gsl_matrix_complex *arg2 = (gsl_matrix_complex *) 0 ;
7684 0 void *argp1 = 0 ;
7685 0 int res1 = 0 ;
7686 0 void *argp2 = 0 ;
7687 0 int res2 = 0 ;
7688 0 int argvi = 0;
7689 int result;
7690 0 dXSARGS;
7691
7692 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
7693 0 SWIG_croak("Usage: gsl_matrix_complex_fread(stream,m);");
7694 }
7695 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_FILE, 0 | 0 );
7696 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
7697 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_fread" "', argument " "1"" of type '" "FILE *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_fread" "', argument " "1"" of type '" "FILE *""'"); 0 0 0
7698 }
7699 0 arg1 = (FILE *)(argp1);
7700 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
7701 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
7702 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_complex_fread" "', argument " "2"" of type '" "gsl_matrix_complex *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_complex_fread" "', argument " "2"" of type '" "gsl_matrix_complex *""'"); 0 0 0
7703 }
7704 0 arg2 = (gsl_matrix_complex *)(argp2);
7705 0 result = (int)gsl_matrix_complex_fread(arg1,arg2);
7706 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
7707
7708
7709 0 XSRETURN(argvi);
7710 0 fail:
7711
7712
7713 0 SWIG_croak_null();
7714 }
7715 }
7716  
7717  
7718 0 XS(_wrap_gsl_matrix_complex_fwrite) {
7719 {
7720 0 FILE *arg1 = (FILE *) 0 ;
7721 0 gsl_matrix_complex *arg2 = (gsl_matrix_complex *) 0 ;
7722 0 void *argp1 = 0 ;
7723 0 int res1 = 0 ;
7724 0 void *argp2 = 0 ;
7725 0 int res2 = 0 ;
7726 0 int argvi = 0;
7727 int result;
7728 0 dXSARGS;
7729
7730 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
7731 0 SWIG_croak("Usage: gsl_matrix_complex_fwrite(stream,m);");
7732 }
7733 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_FILE, 0 | 0 );
7734 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
7735 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_fwrite" "', argument " "1"" of type '" "FILE *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_fwrite" "', argument " "1"" of type '" "FILE *""'"); 0 0 0
7736 }
7737 0 arg1 = (FILE *)(argp1);
7738 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
7739 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
7740 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_complex_fwrite" "', argument " "2"" of type '" "gsl_matrix_complex const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_complex_fwrite" "', argument " "2"" of type '" "gsl_matrix_complex const *""'"); 0 0 0
7741 }
7742 0 arg2 = (gsl_matrix_complex *)(argp2);
7743 0 result = (int)gsl_matrix_complex_fwrite(arg1,(gsl_matrix_complex const *)arg2);
7744 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
7745
7746
7747 0 XSRETURN(argvi);
7748 0 fail:
7749
7750
7751 0 SWIG_croak_null();
7752 }
7753 }
7754  
7755  
7756 0 XS(_wrap_gsl_matrix_complex_fscanf) {
7757 {
7758 0 FILE *arg1 = (FILE *) 0 ;
7759 0 gsl_matrix_complex *arg2 = (gsl_matrix_complex *) 0 ;
7760 0 void *argp1 = 0 ;
7761 0 int res1 = 0 ;
7762 0 void *argp2 = 0 ;
7763 0 int res2 = 0 ;
7764 0 int argvi = 0;
7765 int result;
7766 0 dXSARGS;
7767
7768 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
7769 0 SWIG_croak("Usage: gsl_matrix_complex_fscanf(stream,m);");
7770 }
7771 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_FILE, 0 | 0 );
7772 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
7773 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_fscanf" "', argument " "1"" of type '" "FILE *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_fscanf" "', argument " "1"" of type '" "FILE *""'"); 0 0 0
7774 }
7775 0 arg1 = (FILE *)(argp1);
7776 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
7777 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
7778 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_complex_fscanf" "', argument " "2"" of type '" "gsl_matrix_complex *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_complex_fscanf" "', argument " "2"" of type '" "gsl_matrix_complex *""'"); 0 0 0
7779 }
7780 0 arg2 = (gsl_matrix_complex *)(argp2);
7781 0 result = (int)gsl_matrix_complex_fscanf(arg1,arg2);
7782 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
7783
7784
7785 0 XSRETURN(argvi);
7786 0 fail:
7787
7788
7789 0 SWIG_croak_null();
7790 }
7791 }
7792  
7793  
7794 0 XS(_wrap_gsl_matrix_complex_fprintf) {
7795 {
7796 0 FILE *arg1 = (FILE *) 0 ;
7797 0 gsl_matrix_complex *arg2 = (gsl_matrix_complex *) 0 ;
7798 0 char *arg3 = (char *) 0 ;
7799 0 void *argp1 = 0 ;
7800 0 int res1 = 0 ;
7801 0 void *argp2 = 0 ;
7802 0 int res2 = 0 ;
7803 int res3 ;
7804 0 char *buf3 = 0 ;
7805 0 int alloc3 = 0 ;
7806 0 int argvi = 0;
7807 int result;
7808 0 dXSARGS;
7809
7810 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
7811 0 SWIG_croak("Usage: gsl_matrix_complex_fprintf(stream,m,format);");
7812 }
7813 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_FILE, 0 | 0 );
7814 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
7815 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_fprintf" "', argument " "1"" of type '" "FILE *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_fprintf" "', argument " "1"" of type '" "FILE *""'"); 0 0 0
7816 }
7817 0 arg1 = (FILE *)(argp1);
7818 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
7819 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
7820 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_complex_fprintf" "', argument " "2"" of type '" "gsl_matrix_complex const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_complex_fprintf" "', argument " "2"" of type '" "gsl_matrix_complex const *""'"); 0 0 0
7821 }
7822 0 arg2 = (gsl_matrix_complex *)(argp2);
7823 0 res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
7824 0 ▶ if (!SWIG_IsOK(res3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res3)) { 0 0 0
7825 0 ▶ SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_matrix_complex_fprintf" "', argument " "3"" of type '" "char const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_matrix_complex_fprintf" "', argument " "3"" of type '" "char const *""'"); 0 0 0
7826 }
7827 0 arg3 = (char *)(buf3);
7828 0 result = (int)gsl_matrix_complex_fprintf(arg1,(gsl_matrix_complex const *)arg2,(char const *)arg3);
7829 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
7830
7831
7832 0 ▶ if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3); 0 0 0
7833 0 XSRETURN(argvi);
7834 0 fail:
7835
7836
7837 0 ▶ if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3); 0 0 0
7838 0 SWIG_croak_null();
7839 }
7840 }
7841  
7842  
7843 0 XS(_wrap_gsl_matrix_complex_memcpy) {
7844 {
7845 0 gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
7846 0 gsl_matrix_complex *arg2 = (gsl_matrix_complex *) 0 ;
7847 0 void *argp1 = 0 ;
7848 0 int res1 = 0 ;
7849 0 void *argp2 = 0 ;
7850 0 int res2 = 0 ;
7851 0 int argvi = 0;
7852 int result;
7853 0 dXSARGS;
7854
7855 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
7856 0 SWIG_croak("Usage: gsl_matrix_complex_memcpy(dest,src);");
7857 }
7858 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
7859 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
7860 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_memcpy" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_memcpy" "', argument " "1"" of type '" "gsl_matrix_complex *""'"); 0 0 0
7861 }
7862 0 arg1 = (gsl_matrix_complex *)(argp1);
7863 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
7864 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
7865 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_complex_memcpy" "', argument " "2"" of type '" "gsl_matrix_complex const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_complex_memcpy" "', argument " "2"" of type '" "gsl_matrix_complex const *""'"); 0 0 0
7866 }
7867 0 arg2 = (gsl_matrix_complex *)(argp2);
7868 0 result = (int)gsl_matrix_complex_memcpy(arg1,(gsl_matrix_complex const *)arg2);
7869 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
7870
7871
7872 0 XSRETURN(argvi);
7873 0 fail:
7874
7875
7876 0 SWIG_croak_null();
7877 }
7878 }
7879  
7880  
7881 0 XS(_wrap_gsl_matrix_complex_swap) {
7882 {
7883 0 gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
7884 0 gsl_matrix_complex *arg2 = (gsl_matrix_complex *) 0 ;
7885 0 void *argp1 = 0 ;
7886 0 int res1 = 0 ;
7887 0 void *argp2 = 0 ;
7888 0 int res2 = 0 ;
7889 0 int argvi = 0;
7890 int result;
7891 0 dXSARGS;
7892
7893 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
7894 0 SWIG_croak("Usage: gsl_matrix_complex_swap(m1,m2);");
7895 }
7896 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
7897 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
7898 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_swap" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_swap" "', argument " "1"" of type '" "gsl_matrix_complex *""'"); 0 0 0
7899 }
7900 0 arg1 = (gsl_matrix_complex *)(argp1);
7901 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
7902 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
7903 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_complex_swap" "', argument " "2"" of type '" "gsl_matrix_complex *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_complex_swap" "', argument " "2"" of type '" "gsl_matrix_complex *""'"); 0 0 0
7904 }
7905 0 arg2 = (gsl_matrix_complex *)(argp2);
7906 0 result = (int)gsl_matrix_complex_swap(arg1,arg2);
7907 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
7908
7909
7910 0 XSRETURN(argvi);
7911 0 fail:
7912
7913
7914 0 SWIG_croak_null();
7915 }
7916 }
7917  
7918  
7919 0 XS(_wrap_gsl_matrix_complex_tricpy) {
7920 {
7921 CBLAS_UPLO_t arg1 ;
7922 CBLAS_DIAG_t arg2 ;
7923 0 gsl_matrix_complex *arg3 = (gsl_matrix_complex *) 0 ;
7924 0 gsl_matrix_complex *arg4 = (gsl_matrix_complex *) 0 ;
7925 int val1 ;
7926 0 int ecode1 = 0 ;
7927 int val2 ;
7928 0 int ecode2 = 0 ;
7929 0 void *argp3 = 0 ;
7930 0 int res3 = 0 ;
7931 0 void *argp4 = 0 ;
7932 0 int res4 = 0 ;
7933 0 int argvi = 0;
7934 int result;
7935 0 dXSARGS;
7936
7937 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
7938 0 SWIG_croak("Usage: gsl_matrix_complex_tricpy(Uplo,Diag,dest,src);");
7939 }
7940 0 ecode1 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
7941 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
7942 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_matrix_complex_tricpy" "', argument " "1"" of type '" "CBLAS_UPLO_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_matrix_complex_tricpy" "', argument " "1"" of type '" "CBLAS_UPLO_t""'"); 0 0 0
7943 }
7944 0 arg1 = (CBLAS_UPLO_t)(val1);
7945 0 ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
7946 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
7947 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_tricpy" "', argument " "2"" of type '" "CBLAS_DIAG_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_tricpy" "', argument " "2"" of type '" "CBLAS_DIAG_t""'"); 0 0 0
7948 }
7949 0 arg2 = (CBLAS_DIAG_t)(val2);
7950 0 res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
7951 0 ▶ if (!SWIG_IsOK(res3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res3)) { 0 0 0
7952 0 ▶ SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_matrix_complex_tricpy" "', argument " "3"" of type '" "gsl_matrix_complex *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_matrix_complex_tricpy" "', argument " "3"" of type '" "gsl_matrix_complex *""'"); 0 0 0
7953 }
7954 0 arg3 = (gsl_matrix_complex *)(argp3);
7955 0 res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
7956 0 ▶ if (!SWIG_IsOK(res4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res4)) { 0 0 0
7957 0 ▶ SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_matrix_complex_tricpy" "', argument " "4"" of type '" "gsl_matrix_complex const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_matrix_complex_tricpy" "', argument " "4"" of type '" "gsl_matrix_complex const *""'"); 0 0 0
7958 }
7959 0 arg4 = (gsl_matrix_complex *)(argp4);
7960 0 result = (int)gsl_matrix_complex_tricpy(arg1,arg2,arg3,(gsl_matrix_complex const *)arg4);
7961 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
7962
7963
7964
7965
7966 0 XSRETURN(argvi);
7967 0 fail:
7968
7969
7970
7971
7972 0 SWIG_croak_null();
7973 }
7974 }
7975  
7976  
7977 0 XS(_wrap_gsl_matrix_complex_swap_rows) {
7978 {
7979 0 gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
7980 size_t arg2 ;
7981 size_t arg3 ;
7982 0 void *argp1 = 0 ;
7983 0 int res1 = 0 ;
7984 size_t val2 ;
7985 0 int ecode2 = 0 ;
7986 size_t val3 ;
7987 0 int ecode3 = 0 ;
7988 0 int argvi = 0;
7989 int result;
7990 0 dXSARGS;
7991
7992 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
7993 0 SWIG_croak("Usage: gsl_matrix_complex_swap_rows(m,i,j);");
7994 }
7995 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
7996 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
7997 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_swap_rows" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_swap_rows" "', argument " "1"" of type '" "gsl_matrix_complex *""'"); 0 0 0
7998 }
7999 0 arg1 = (gsl_matrix_complex *)(argp1);
8000 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
8001 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
8002 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_swap_rows" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_swap_rows" "', argument " "2"" of type '" "size_t""'"); 0 0 0
8003 }
8004 0 arg2 = (size_t)(val2);
8005 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
8006 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
8007 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_complex_swap_rows" "', argument " "3"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_complex_swap_rows" "', argument " "3"" of type '" "size_t""'"); 0 0 0
8008 }
8009 0 arg3 = (size_t)(val3);
8010 0 result = (int)gsl_matrix_complex_swap_rows(arg1,arg2,arg3);
8011 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
8012
8013
8014
8015 0 XSRETURN(argvi);
8016 0 fail:
8017
8018
8019
8020 0 SWIG_croak_null();
8021 }
8022 }
8023  
8024  
8025 0 XS(_wrap_gsl_matrix_complex_swap_columns) {
8026 {
8027 0 gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
8028 size_t arg2 ;
8029 size_t arg3 ;
8030 0 void *argp1 = 0 ;
8031 0 int res1 = 0 ;
8032 size_t val2 ;
8033 0 int ecode2 = 0 ;
8034 size_t val3 ;
8035 0 int ecode3 = 0 ;
8036 0 int argvi = 0;
8037 int result;
8038 0 dXSARGS;
8039
8040 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
8041 0 SWIG_croak("Usage: gsl_matrix_complex_swap_columns(m,i,j);");
8042 }
8043 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
8044 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
8045 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_swap_columns" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_swap_columns" "', argument " "1"" of type '" "gsl_matrix_complex *""'"); 0 0 0
8046 }
8047 0 arg1 = (gsl_matrix_complex *)(argp1);
8048 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
8049 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
8050 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_swap_columns" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_swap_columns" "', argument " "2"" of type '" "size_t""'"); 0 0 0
8051 }
8052 0 arg2 = (size_t)(val2);
8053 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
8054 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
8055 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_complex_swap_columns" "', argument " "3"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_complex_swap_columns" "', argument " "3"" of type '" "size_t""'"); 0 0 0
8056 }
8057 0 arg3 = (size_t)(val3);
8058 0 result = (int)gsl_matrix_complex_swap_columns(arg1,arg2,arg3);
8059 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
8060
8061
8062
8063 0 XSRETURN(argvi);
8064 0 fail:
8065
8066
8067
8068 0 SWIG_croak_null();
8069 }
8070 }
8071  
8072  
8073 0 XS(_wrap_gsl_matrix_complex_swap_rowcol) {
8074 {
8075 0 gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
8076 size_t arg2 ;
8077 size_t arg3 ;
8078 0 void *argp1 = 0 ;
8079 0 int res1 = 0 ;
8080 size_t val2 ;
8081 0 int ecode2 = 0 ;
8082 size_t val3 ;
8083 0 int ecode3 = 0 ;
8084 0 int argvi = 0;
8085 int result;
8086 0 dXSARGS;
8087
8088 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
8089 0 SWIG_croak("Usage: gsl_matrix_complex_swap_rowcol(m,i,j);");
8090 }
8091 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
8092 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
8093 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_swap_rowcol" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_swap_rowcol" "', argument " "1"" of type '" "gsl_matrix_complex *""'"); 0 0 0
8094 }
8095 0 arg1 = (gsl_matrix_complex *)(argp1);
8096 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
8097 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
8098 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_swap_rowcol" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_swap_rowcol" "', argument " "2"" of type '" "size_t""'"); 0 0 0
8099 }
8100 0 arg2 = (size_t)(val2);
8101 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
8102 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
8103 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_complex_swap_rowcol" "', argument " "3"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_complex_swap_rowcol" "', argument " "3"" of type '" "size_t""'"); 0 0 0
8104 }
8105 0 arg3 = (size_t)(val3);
8106 0 result = (int)gsl_matrix_complex_swap_rowcol(arg1,arg2,arg3);
8107 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
8108
8109
8110
8111 0 XSRETURN(argvi);
8112 0 fail:
8113
8114
8115
8116 0 SWIG_croak_null();
8117 }
8118 }
8119  
8120  
8121 0 XS(_wrap_gsl_matrix_complex_transpose) {
8122 {
8123 0 gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
8124 0 void *argp1 = 0 ;
8125 0 int res1 = 0 ;
8126 0 int argvi = 0;
8127 int result;
8128 0 dXSARGS;
8129
8130 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
8131 0 SWIG_croak("Usage: gsl_matrix_complex_transpose(m);");
8132 }
8133 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
8134 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
8135 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_transpose" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_transpose" "', argument " "1"" of type '" "gsl_matrix_complex *""'"); 0 0 0
8136 }
8137 0 arg1 = (gsl_matrix_complex *)(argp1);
8138 0 result = (int)gsl_matrix_complex_transpose(arg1);
8139 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
8140
8141 0 XSRETURN(argvi);
8142 0 fail:
8143
8144 0 SWIG_croak_null();
8145 }
8146 }
8147  
8148  
8149 0 XS(_wrap_gsl_matrix_complex_transpose_memcpy) {
8150 {
8151 0 gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
8152 0 gsl_matrix_complex *arg2 = (gsl_matrix_complex *) 0 ;
8153 0 void *argp1 = 0 ;
8154 0 int res1 = 0 ;
8155 0 void *argp2 = 0 ;
8156 0 int res2 = 0 ;
8157 0 int argvi = 0;
8158 int result;
8159 0 dXSARGS;
8160
8161 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
8162 0 SWIG_croak("Usage: gsl_matrix_complex_transpose_memcpy(dest,src);");
8163 }
8164 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
8165 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
8166 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_transpose_memcpy" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_transpose_memcpy" "', argument " "1"" of type '" "gsl_matrix_complex *""'"); 0 0 0
8167 }
8168 0 arg1 = (gsl_matrix_complex *)(argp1);
8169 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
8170 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
8171 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_complex_transpose_memcpy" "', argument " "2"" of type '" "gsl_matrix_complex const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_complex_transpose_memcpy" "', argument " "2"" of type '" "gsl_matrix_complex const *""'"); 0 0 0
8172 }
8173 0 arg2 = (gsl_matrix_complex *)(argp2);
8174 0 result = (int)gsl_matrix_complex_transpose_memcpy(arg1,(gsl_matrix_complex const *)arg2);
8175 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
8176
8177
8178 0 XSRETURN(argvi);
8179 0 fail:
8180
8181
8182 0 SWIG_croak_null();
8183 }
8184 }
8185  
8186  
8187 0 XS(_wrap_gsl_matrix_complex_transpose_tricpy) {
8188 {
8189 CBLAS_UPLO_t arg1 ;
8190 CBLAS_DIAG_t arg2 ;
8191 0 gsl_matrix_complex *arg3 = (gsl_matrix_complex *) 0 ;
8192 0 gsl_matrix_complex *arg4 = (gsl_matrix_complex *) 0 ;
8193 int val1 ;
8194 0 int ecode1 = 0 ;
8195 int val2 ;
8196 0 int ecode2 = 0 ;
8197 0 void *argp3 = 0 ;
8198 0 int res3 = 0 ;
8199 0 void *argp4 = 0 ;
8200 0 int res4 = 0 ;
8201 0 int argvi = 0;
8202 int result;
8203 0 dXSARGS;
8204
8205 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
8206 0 SWIG_croak("Usage: gsl_matrix_complex_transpose_tricpy(Uplo_src,Diag,dest,src);");
8207 }
8208 0 ecode1 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
8209 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
8210 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_matrix_complex_transpose_tricpy" "', argument " "1"" of type '" "CBLAS_UPLO_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_matrix_complex_transpose_tricpy" "', argument " "1"" of type '" "CBLAS_UPLO_t""'"); 0 0 0
8211 }
8212 0 arg1 = (CBLAS_UPLO_t)(val1);
8213 0 ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
8214 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
8215 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_transpose_tricpy" "', argument " "2"" of type '" "CBLAS_DIAG_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_transpose_tricpy" "', argument " "2"" of type '" "CBLAS_DIAG_t""'"); 0 0 0
8216 }
8217 0 arg2 = (CBLAS_DIAG_t)(val2);
8218 0 res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
8219 0 ▶ if (!SWIG_IsOK(res3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res3)) { 0 0 0
8220 0 ▶ SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_matrix_complex_transpose_tricpy" "', argument " "3"" of type '" "gsl_matrix_complex *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_matrix_complex_transpose_tricpy" "', argument " "3"" of type '" "gsl_matrix_complex *""'"); 0 0 0
8221 }
8222 0 arg3 = (gsl_matrix_complex *)(argp3);
8223 0 res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
8224 0 ▶ if (!SWIG_IsOK(res4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res4)) { 0 0 0
8225 0 ▶ SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_matrix_complex_transpose_tricpy" "', argument " "4"" of type '" "gsl_matrix_complex const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_matrix_complex_transpose_tricpy" "', argument " "4"" of type '" "gsl_matrix_complex const *""'"); 0 0 0
8226 }
8227 0 arg4 = (gsl_matrix_complex *)(argp4);
8228 0 result = (int)gsl_matrix_complex_transpose_tricpy(arg1,arg2,arg3,(gsl_matrix_complex const *)arg4);
8229 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
8230
8231
8232
8233
8234 0 XSRETURN(argvi);
8235 0 fail:
8236
8237
8238
8239
8240 0 SWIG_croak_null();
8241 }
8242 }
8243  
8244  
8245 0 XS(_wrap_gsl_matrix_complex_conjtrans_memcpy) {
8246 {
8247 0 gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
8248 0 gsl_matrix_complex *arg2 = (gsl_matrix_complex *) 0 ;
8249 0 void *argp1 = 0 ;
8250 0 int res1 = 0 ;
8251 0 void *argp2 = 0 ;
8252 0 int res2 = 0 ;
8253 0 int argvi = 0;
8254 int result;
8255 0 dXSARGS;
8256
8257 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
8258 0 SWIG_croak("Usage: gsl_matrix_complex_conjtrans_memcpy(dest,src);");
8259 }
8260 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
8261 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
8262 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_conjtrans_memcpy" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_conjtrans_memcpy" "', argument " "1"" of type '" "gsl_matrix_complex *""'"); 0 0 0
8263 }
8264 0 arg1 = (gsl_matrix_complex *)(argp1);
8265 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
8266 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
8267 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_complex_conjtrans_memcpy" "', argument " "2"" of type '" "gsl_matrix_complex const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_complex_conjtrans_memcpy" "', argument " "2"" of type '" "gsl_matrix_complex const *""'"); 0 0 0
8268 }
8269 0 arg2 = (gsl_matrix_complex *)(argp2);
8270 0 result = (int)gsl_matrix_complex_conjtrans_memcpy(arg1,(gsl_matrix_complex const *)arg2);
8271 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
8272
8273
8274 0 XSRETURN(argvi);
8275 0 fail:
8276
8277
8278 0 SWIG_croak_null();
8279 }
8280 }
8281  
8282  
8283 0 XS(_wrap_gsl_matrix_complex_equal) {
8284 {
8285 0 gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
8286 0 gsl_matrix_complex *arg2 = (gsl_matrix_complex *) 0 ;
8287 0 void *argp1 = 0 ;
8288 0 int res1 = 0 ;
8289 0 void *argp2 = 0 ;
8290 0 int res2 = 0 ;
8291 0 int argvi = 0;
8292 int result;
8293 0 dXSARGS;
8294
8295 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
8296 0 SWIG_croak("Usage: gsl_matrix_complex_equal(a,b);");
8297 }
8298 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
8299 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
8300 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_equal" "', argument " "1"" of type '" "gsl_matrix_complex const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_equal" "', argument " "1"" of type '" "gsl_matrix_complex const *""'"); 0 0 0
8301 }
8302 0 arg1 = (gsl_matrix_complex *)(argp1);
8303 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
8304 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
8305 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_complex_equal" "', argument " "2"" of type '" "gsl_matrix_complex const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_complex_equal" "', argument " "2"" of type '" "gsl_matrix_complex const *""'"); 0 0 0
8306 }
8307 0 arg2 = (gsl_matrix_complex *)(argp2);
8308 0 result = (int)gsl_matrix_complex_equal((gsl_matrix_complex const *)arg1,(gsl_matrix_complex const *)arg2);
8309 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
8310
8311
8312 0 XSRETURN(argvi);
8313 0 fail:
8314
8315
8316 0 SWIG_croak_null();
8317 }
8318 }
8319  
8320  
8321 0 XS(_wrap_gsl_matrix_complex_isnull) {
8322 {
8323 0 gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
8324 0 void *argp1 = 0 ;
8325 0 int res1 = 0 ;
8326 0 int argvi = 0;
8327 int result;
8328 0 dXSARGS;
8329
8330 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
8331 0 SWIG_croak("Usage: gsl_matrix_complex_isnull(m);");
8332 }
8333 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
8334 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
8335 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_isnull" "', argument " "1"" of type '" "gsl_matrix_complex const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_isnull" "', argument " "1"" of type '" "gsl_matrix_complex const *""'"); 0 0 0
8336 }
8337 0 arg1 = (gsl_matrix_complex *)(argp1);
8338 0 result = (int)gsl_matrix_complex_isnull((gsl_matrix_complex const *)arg1);
8339 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
8340
8341 0 XSRETURN(argvi);
8342 0 fail:
8343
8344 0 SWIG_croak_null();
8345 }
8346 }
8347  
8348  
8349 0 XS(_wrap_gsl_matrix_complex_ispos) {
8350 {
8351 0 gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
8352 0 void *argp1 = 0 ;
8353 0 int res1 = 0 ;
8354 0 int argvi = 0;
8355 int result;
8356 0 dXSARGS;
8357
8358 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
8359 0 SWIG_croak("Usage: gsl_matrix_complex_ispos(m);");
8360 }
8361 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
8362 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
8363 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_ispos" "', argument " "1"" of type '" "gsl_matrix_complex const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_ispos" "', argument " "1"" of type '" "gsl_matrix_complex const *""'"); 0 0 0
8364 }
8365 0 arg1 = (gsl_matrix_complex *)(argp1);
8366 0 result = (int)gsl_matrix_complex_ispos((gsl_matrix_complex const *)arg1);
8367 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
8368
8369 0 XSRETURN(argvi);
8370 0 fail:
8371
8372 0 SWIG_croak_null();
8373 }
8374 }
8375  
8376  
8377 0 XS(_wrap_gsl_matrix_complex_isneg) {
8378 {
8379 0 gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
8380 0 void *argp1 = 0 ;
8381 0 int res1 = 0 ;
8382 0 int argvi = 0;
8383 int result;
8384 0 dXSARGS;
8385
8386 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
8387 0 SWIG_croak("Usage: gsl_matrix_complex_isneg(m);");
8388 }
8389 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
8390 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
8391 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_isneg" "', argument " "1"" of type '" "gsl_matrix_complex const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_isneg" "', argument " "1"" of type '" "gsl_matrix_complex const *""'"); 0 0 0
8392 }
8393 0 arg1 = (gsl_matrix_complex *)(argp1);
8394 0 result = (int)gsl_matrix_complex_isneg((gsl_matrix_complex const *)arg1);
8395 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
8396
8397 0 XSRETURN(argvi);
8398 0 fail:
8399
8400 0 SWIG_croak_null();
8401 }
8402 }
8403  
8404  
8405 0 XS(_wrap_gsl_matrix_complex_isnonneg) {
8406 {
8407 0 gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
8408 0 void *argp1 = 0 ;
8409 0 int res1 = 0 ;
8410 0 int argvi = 0;
8411 int result;
8412 0 dXSARGS;
8413
8414 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
8415 0 SWIG_croak("Usage: gsl_matrix_complex_isnonneg(m);");
8416 }
8417 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
8418 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
8419 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_isnonneg" "', argument " "1"" of type '" "gsl_matrix_complex const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_isnonneg" "', argument " "1"" of type '" "gsl_matrix_complex const *""'"); 0 0 0
8420 }
8421 0 arg1 = (gsl_matrix_complex *)(argp1);
8422 0 result = (int)gsl_matrix_complex_isnonneg((gsl_matrix_complex const *)arg1);
8423 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
8424
8425 0 XSRETURN(argvi);
8426 0 fail:
8427
8428 0 SWIG_croak_null();
8429 }
8430 }
8431  
8432  
8433 0 XS(_wrap_gsl_matrix_complex_add) {
8434 {
8435 0 gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
8436 0 gsl_matrix_complex *arg2 = (gsl_matrix_complex *) 0 ;
8437 0 void *argp1 = 0 ;
8438 0 int res1 = 0 ;
8439 0 void *argp2 = 0 ;
8440 0 int res2 = 0 ;
8441 0 int argvi = 0;
8442 int result;
8443 0 dXSARGS;
8444
8445 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
8446 0 SWIG_croak("Usage: gsl_matrix_complex_add(a,b);");
8447 }
8448 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
8449 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
8450 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_add" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_add" "', argument " "1"" of type '" "gsl_matrix_complex *""'"); 0 0 0
8451 }
8452 0 arg1 = (gsl_matrix_complex *)(argp1);
8453 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
8454 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
8455 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_complex_add" "', argument " "2"" of type '" "gsl_matrix_complex const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_complex_add" "', argument " "2"" of type '" "gsl_matrix_complex const *""'"); 0 0 0
8456 }
8457 0 arg2 = (gsl_matrix_complex *)(argp2);
8458 0 result = (int)gsl_matrix_complex_add(arg1,(gsl_matrix_complex const *)arg2);
8459 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
8460
8461
8462 0 XSRETURN(argvi);
8463 0 fail:
8464
8465
8466 0 SWIG_croak_null();
8467 }
8468 }
8469  
8470  
8471 0 XS(_wrap_gsl_matrix_complex_sub) {
8472 {
8473 0 gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
8474 0 gsl_matrix_complex *arg2 = (gsl_matrix_complex *) 0 ;
8475 0 void *argp1 = 0 ;
8476 0 int res1 = 0 ;
8477 0 void *argp2 = 0 ;
8478 0 int res2 = 0 ;
8479 0 int argvi = 0;
8480 int result;
8481 0 dXSARGS;
8482
8483 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
8484 0 SWIG_croak("Usage: gsl_matrix_complex_sub(a,b);");
8485 }
8486 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
8487 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
8488 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_sub" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_sub" "', argument " "1"" of type '" "gsl_matrix_complex *""'"); 0 0 0
8489 }
8490 0 arg1 = (gsl_matrix_complex *)(argp1);
8491 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
8492 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
8493 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_complex_sub" "', argument " "2"" of type '" "gsl_matrix_complex const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_complex_sub" "', argument " "2"" of type '" "gsl_matrix_complex const *""'"); 0 0 0
8494 }
8495 0 arg2 = (gsl_matrix_complex *)(argp2);
8496 0 result = (int)gsl_matrix_complex_sub(arg1,(gsl_matrix_complex const *)arg2);
8497 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
8498
8499
8500 0 XSRETURN(argvi);
8501 0 fail:
8502
8503
8504 0 SWIG_croak_null();
8505 }
8506 }
8507  
8508  
8509 0 XS(_wrap_gsl_matrix_complex_mul_elements) {
8510 {
8511 0 gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
8512 0 gsl_matrix_complex *arg2 = (gsl_matrix_complex *) 0 ;
8513 0 void *argp1 = 0 ;
8514 0 int res1 = 0 ;
8515 0 void *argp2 = 0 ;
8516 0 int res2 = 0 ;
8517 0 int argvi = 0;
8518 int result;
8519 0 dXSARGS;
8520
8521 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
8522 0 SWIG_croak("Usage: gsl_matrix_complex_mul_elements(a,b);");
8523 }
8524 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
8525 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
8526 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_mul_elements" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_mul_elements" "', argument " "1"" of type '" "gsl_matrix_complex *""'"); 0 0 0
8527 }
8528 0 arg1 = (gsl_matrix_complex *)(argp1);
8529 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
8530 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
8531 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_complex_mul_elements" "', argument " "2"" of type '" "gsl_matrix_complex const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_complex_mul_elements" "', argument " "2"" of type '" "gsl_matrix_complex const *""'"); 0 0 0
8532 }
8533 0 arg2 = (gsl_matrix_complex *)(argp2);
8534 0 result = (int)gsl_matrix_complex_mul_elements(arg1,(gsl_matrix_complex const *)arg2);
8535 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
8536
8537
8538 0 XSRETURN(argvi);
8539 0 fail:
8540
8541
8542 0 SWIG_croak_null();
8543 }
8544 }
8545  
8546  
8547 0 XS(_wrap_gsl_matrix_complex_div_elements) {
8548 {
8549 0 gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
8550 0 gsl_matrix_complex *arg2 = (gsl_matrix_complex *) 0 ;
8551 0 void *argp1 = 0 ;
8552 0 int res1 = 0 ;
8553 0 void *argp2 = 0 ;
8554 0 int res2 = 0 ;
8555 0 int argvi = 0;
8556 int result;
8557 0 dXSARGS;
8558
8559 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
8560 0 SWIG_croak("Usage: gsl_matrix_complex_div_elements(a,b);");
8561 }
8562 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
8563 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
8564 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_div_elements" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_div_elements" "', argument " "1"" of type '" "gsl_matrix_complex *""'"); 0 0 0
8565 }
8566 0 arg1 = (gsl_matrix_complex *)(argp1);
8567 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
8568 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
8569 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_complex_div_elements" "', argument " "2"" of type '" "gsl_matrix_complex const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_complex_div_elements" "', argument " "2"" of type '" "gsl_matrix_complex const *""'"); 0 0 0
8570 }
8571 0 arg2 = (gsl_matrix_complex *)(argp2);
8572 0 result = (int)gsl_matrix_complex_div_elements(arg1,(gsl_matrix_complex const *)arg2);
8573 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
8574
8575
8576 0 XSRETURN(argvi);
8577 0 fail:
8578
8579
8580 0 SWIG_croak_null();
8581 }
8582 }
8583  
8584  
8585 0 XS(_wrap_gsl_matrix_complex_scale) {
8586 {
8587 0 gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
8588 gsl_complex arg2 ;
8589 0 void *argp1 = 0 ;
8590 0 int res1 = 0 ;
8591 void *argp2 ;
8592 0 int res2 = 0 ;
8593 0 int argvi = 0;
8594 int result;
8595 0 dXSARGS;
8596
8597 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
8598 0 SWIG_croak("Usage: gsl_matrix_complex_scale(a,x);");
8599 }
8600 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
8601 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
8602 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_scale" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_scale" "', argument " "1"" of type '" "gsl_matrix_complex *""'"); 0 0 0
8603 }
8604 0 arg1 = (gsl_matrix_complex *)(argp1);
8605 {
8606 0 res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_gsl_complex, 0 );
8607 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
8608 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_complex_scale" "', argument " "2"" of type '" "gsl_complex const""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_complex_scale" "', argument " "2"" of type '" "gsl_complex const""'"); 0 0 0
8609 }
8610 0 ▶ if (!argp2) {
Branch: 1 branch
BranchTrueFalseTotal
if (!argp2) { 0 0 0
8611 0 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "gsl_matrix_complex_scale" "', argument " "2"" of type '" "gsl_complex const""'");
8612 } else {
8613 0 arg2 = *((gsl_complex *)(argp2));
8614 }
8615 }
8616 0 result = (int)gsl_matrix_complex_scale(arg1,arg2);
8617 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
8618
8619 0 XSRETURN(argvi);
8620 0 fail:
8621
8622 0 SWIG_croak_null();
8623 }
8624 }
8625  
8626  
8627 0 XS(_wrap_gsl_matrix_complex_scale_rows) {
8628 {
8629 0 gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
8630 0 gsl_vector_complex *arg2 = (gsl_vector_complex *) 0 ;
8631 0 void *argp1 = 0 ;
8632 0 int res1 = 0 ;
8633 0 void *argp2 = 0 ;
8634 0 int res2 = 0 ;
8635 0 int argvi = 0;
8636 int result;
8637 0 dXSARGS;
8638
8639 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
8640 0 SWIG_croak("Usage: gsl_matrix_complex_scale_rows(a,x);");
8641 }
8642 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
8643 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
8644 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_scale_rows" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_scale_rows" "', argument " "1"" of type '" "gsl_matrix_complex *""'"); 0 0 0
8645 }
8646 0 arg1 = (gsl_matrix_complex *)(argp1);
8647 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector_complex, 0 | 0 );
8648 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
8649 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_complex_scale_rows" "', argument " "2"" of type '" "gsl_vector_complex const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_complex_scale_rows" "', argument " "2"" of type '" "gsl_vector_complex const *""'"); 0 0 0
8650 }
8651 0 arg2 = (gsl_vector_complex *)(argp2);
8652 0 result = (int)gsl_matrix_complex_scale_rows(arg1,(gsl_vector_complex const *)arg2);
8653 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
8654
8655
8656 0 XSRETURN(argvi);
8657 0 fail:
8658
8659
8660 0 SWIG_croak_null();
8661 }
8662 }
8663  
8664  
8665 0 XS(_wrap_gsl_matrix_complex_scale_columns) {
8666 {
8667 0 gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
8668 0 gsl_vector_complex *arg2 = (gsl_vector_complex *) 0 ;
8669 0 void *argp1 = 0 ;
8670 0 int res1 = 0 ;
8671 0 void *argp2 = 0 ;
8672 0 int res2 = 0 ;
8673 0 int argvi = 0;
8674 int result;
8675 0 dXSARGS;
8676
8677 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
8678 0 SWIG_croak("Usage: gsl_matrix_complex_scale_columns(a,x);");
8679 }
8680 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
8681 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
8682 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_scale_columns" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_scale_columns" "', argument " "1"" of type '" "gsl_matrix_complex *""'"); 0 0 0
8683 }
8684 0 arg1 = (gsl_matrix_complex *)(argp1);
8685 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector_complex, 0 | 0 );
8686 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
8687 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_complex_scale_columns" "', argument " "2"" of type '" "gsl_vector_complex const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_complex_scale_columns" "', argument " "2"" of type '" "gsl_vector_complex const *""'"); 0 0 0
8688 }
8689 0 arg2 = (gsl_vector_complex *)(argp2);
8690 0 result = (int)gsl_matrix_complex_scale_columns(arg1,(gsl_vector_complex const *)arg2);
8691 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
8692
8693
8694 0 XSRETURN(argvi);
8695 0 fail:
8696
8697
8698 0 SWIG_croak_null();
8699 }
8700 }
8701  
8702  
8703 0 XS(_wrap_gsl_matrix_complex_add_constant) {
8704 {
8705 0 gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
8706 gsl_complex arg2 ;
8707 0 void *argp1 = 0 ;
8708 0 int res1 = 0 ;
8709 void *argp2 ;
8710 0 int res2 = 0 ;
8711 0 int argvi = 0;
8712 int result;
8713 0 dXSARGS;
8714
8715 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
8716 0 SWIG_croak("Usage: gsl_matrix_complex_add_constant(a,x);");
8717 }
8718 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
8719 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
8720 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_add_constant" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_add_constant" "', argument " "1"" of type '" "gsl_matrix_complex *""'"); 0 0 0
8721 }
8722 0 arg1 = (gsl_matrix_complex *)(argp1);
8723 {
8724 0 res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_gsl_complex, 0 );
8725 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
8726 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_complex_add_constant" "', argument " "2"" of type '" "gsl_complex const""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_complex_add_constant" "', argument " "2"" of type '" "gsl_complex const""'"); 0 0 0
8727 }
8728 0 ▶ if (!argp2) {
Branch: 1 branch
BranchTrueFalseTotal
if (!argp2) { 0 0 0
8729 0 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "gsl_matrix_complex_add_constant" "', argument " "2"" of type '" "gsl_complex const""'");
8730 } else {
8731 0 arg2 = *((gsl_complex *)(argp2));
8732 }
8733 }
8734 0 result = (int)gsl_matrix_complex_add_constant(arg1,arg2);
8735 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
8736
8737 0 XSRETURN(argvi);
8738 0 fail:
8739
8740 0 SWIG_croak_null();
8741 }
8742 }
8743  
8744  
8745 0 XS(_wrap_gsl_matrix_complex_add_diagonal) {
8746 {
8747 0 gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
8748 gsl_complex arg2 ;
8749 0 void *argp1 = 0 ;
8750 0 int res1 = 0 ;
8751 void *argp2 ;
8752 0 int res2 = 0 ;
8753 0 int argvi = 0;
8754 int result;
8755 0 dXSARGS;
8756
8757 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
8758 0 SWIG_croak("Usage: gsl_matrix_complex_add_diagonal(a,x);");
8759 }
8760 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
8761 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
8762 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_add_diagonal" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_add_diagonal" "', argument " "1"" of type '" "gsl_matrix_complex *""'"); 0 0 0
8763 }
8764 0 arg1 = (gsl_matrix_complex *)(argp1);
8765 {
8766 0 res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_gsl_complex, 0 );
8767 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
8768 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_complex_add_diagonal" "', argument " "2"" of type '" "gsl_complex const""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_complex_add_diagonal" "', argument " "2"" of type '" "gsl_complex const""'"); 0 0 0
8769 }
8770 0 ▶ if (!argp2) {
Branch: 1 branch
BranchTrueFalseTotal
if (!argp2) { 0 0 0
8771 0 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "gsl_matrix_complex_add_diagonal" "', argument " "2"" of type '" "gsl_complex const""'");
8772 } else {
8773 0 arg2 = *((gsl_complex *)(argp2));
8774 }
8775 }
8776 0 result = (int)gsl_matrix_complex_add_diagonal(arg1,arg2);
8777 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
8778
8779 0 XSRETURN(argvi);
8780 0 fail:
8781
8782 0 SWIG_croak_null();
8783 }
8784 }
8785  
8786  
8787 0 XS(_wrap_gsl_matrix_complex_conjugate) {
8788 {
8789 0 gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
8790 0 void *argp1 = 0 ;
8791 0 int res1 = 0 ;
8792 0 int argvi = 0;
8793 int result;
8794 0 dXSARGS;
8795
8796 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
8797 0 SWIG_croak("Usage: gsl_matrix_complex_conjugate(a);");
8798 }
8799 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
8800 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
8801 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_conjugate" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_conjugate" "', argument " "1"" of type '" "gsl_matrix_complex *""'"); 0 0 0
8802 }
8803 0 arg1 = (gsl_matrix_complex *)(argp1);
8804 0 result = (int)gsl_matrix_complex_conjugate(arg1);
8805 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
8806
8807 0 XSRETURN(argvi);
8808 0 fail:
8809
8810 0 SWIG_croak_null();
8811 }
8812 }
8813  
8814  
8815 0 XS(_wrap_gsl_matrix_complex_get_row) {
8816 {
8817 0 gsl_vector_complex *arg1 = (gsl_vector_complex *) 0 ;
8818 0 gsl_matrix_complex *arg2 = (gsl_matrix_complex *) 0 ;
8819 size_t arg3 ;
8820 0 void *argp1 = 0 ;
8821 0 int res1 = 0 ;
8822 0 void *argp2 = 0 ;
8823 0 int res2 = 0 ;
8824 size_t val3 ;
8825 0 int ecode3 = 0 ;
8826 0 int argvi = 0;
8827 int result;
8828 0 dXSARGS;
8829
8830 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
8831 0 SWIG_croak("Usage: gsl_matrix_complex_get_row(v,m,i);");
8832 }
8833 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_complex, 0 | 0 );
8834 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
8835 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_get_row" "', argument " "1"" of type '" "gsl_vector_complex *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_get_row" "', argument " "1"" of type '" "gsl_vector_complex *""'"); 0 0 0
8836 }
8837 0 arg1 = (gsl_vector_complex *)(argp1);
8838 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
8839 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
8840 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_complex_get_row" "', argument " "2"" of type '" "gsl_matrix_complex const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_complex_get_row" "', argument " "2"" of type '" "gsl_matrix_complex const *""'"); 0 0 0
8841 }
8842 0 arg2 = (gsl_matrix_complex *)(argp2);
8843 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
8844 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
8845 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_complex_get_row" "', argument " "3"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_complex_get_row" "', argument " "3"" of type '" "size_t""'"); 0 0 0
8846 }
8847 0 arg3 = (size_t)(val3);
8848 0 result = (int)gsl_matrix_complex_get_row(arg1,(gsl_matrix_complex const *)arg2,arg3);
8849 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
8850
8851
8852
8853 0 XSRETURN(argvi);
8854 0 fail:
8855
8856
8857
8858 0 SWIG_croak_null();
8859 }
8860 }
8861  
8862  
8863 0 XS(_wrap_gsl_matrix_complex_get_col) {
8864 {
8865 0 gsl_vector_complex *arg1 = (gsl_vector_complex *) 0 ;
8866 0 gsl_matrix_complex *arg2 = (gsl_matrix_complex *) 0 ;
8867 size_t arg3 ;
8868 0 void *argp1 = 0 ;
8869 0 int res1 = 0 ;
8870 0 void *argp2 = 0 ;
8871 0 int res2 = 0 ;
8872 size_t val3 ;
8873 0 int ecode3 = 0 ;
8874 0 int argvi = 0;
8875 int result;
8876 0 dXSARGS;
8877
8878 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
8879 0 SWIG_croak("Usage: gsl_matrix_complex_get_col(v,m,j);");
8880 }
8881 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_complex, 0 | 0 );
8882 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
8883 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_get_col" "', argument " "1"" of type '" "gsl_vector_complex *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_get_col" "', argument " "1"" of type '" "gsl_vector_complex *""'"); 0 0 0
8884 }
8885 0 arg1 = (gsl_vector_complex *)(argp1);
8886 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
8887 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
8888 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_complex_get_col" "', argument " "2"" of type '" "gsl_matrix_complex const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_complex_get_col" "', argument " "2"" of type '" "gsl_matrix_complex const *""'"); 0 0 0
8889 }
8890 0 arg2 = (gsl_matrix_complex *)(argp2);
8891 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
8892 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
8893 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_complex_get_col" "', argument " "3"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_complex_get_col" "', argument " "3"" of type '" "size_t""'"); 0 0 0
8894 }
8895 0 arg3 = (size_t)(val3);
8896 0 result = (int)gsl_matrix_complex_get_col(arg1,(gsl_matrix_complex const *)arg2,arg3);
8897 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
8898
8899
8900
8901 0 XSRETURN(argvi);
8902 0 fail:
8903
8904
8905
8906 0 SWIG_croak_null();
8907 }
8908 }
8909  
8910  
8911 0 XS(_wrap_gsl_matrix_complex_set_row) {
8912 {
8913 0 gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
8914 size_t arg2 ;
8915 0 gsl_vector_complex *arg3 = (gsl_vector_complex *) 0 ;
8916 0 void *argp1 = 0 ;
8917 0 int res1 = 0 ;
8918 size_t val2 ;
8919 0 int ecode2 = 0 ;
8920 0 void *argp3 = 0 ;
8921 0 int res3 = 0 ;
8922 0 int argvi = 0;
8923 int result;
8924 0 dXSARGS;
8925
8926 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
8927 0 SWIG_croak("Usage: gsl_matrix_complex_set_row(m,i,v);");
8928 }
8929 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
8930 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
8931 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_set_row" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_set_row" "', argument " "1"" of type '" "gsl_matrix_complex *""'"); 0 0 0
8932 }
8933 0 arg1 = (gsl_matrix_complex *)(argp1);
8934 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
8935 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
8936 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_set_row" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_set_row" "', argument " "2"" of type '" "size_t""'"); 0 0 0
8937 }
8938 0 arg2 = (size_t)(val2);
8939 0 res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_gsl_vector_complex, 0 | 0 );
8940 0 ▶ if (!SWIG_IsOK(res3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res3)) { 0 0 0
8941 0 ▶ SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_matrix_complex_set_row" "', argument " "3"" of type '" "gsl_vector_complex const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_matrix_complex_set_row" "', argument " "3"" of type '" "gsl_vector_complex const *""'"); 0 0 0
8942 }
8943 0 arg3 = (gsl_vector_complex *)(argp3);
8944 0 result = (int)gsl_matrix_complex_set_row(arg1,arg2,(gsl_vector_complex const *)arg3);
8945 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
8946
8947
8948
8949 0 XSRETURN(argvi);
8950 0 fail:
8951
8952
8953
8954 0 SWIG_croak_null();
8955 }
8956 }
8957  
8958  
8959 0 XS(_wrap_gsl_matrix_complex_set_col) {
8960 {
8961 0 gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
8962 size_t arg2 ;
8963 0 gsl_vector_complex *arg3 = (gsl_vector_complex *) 0 ;
8964 0 void *argp1 = 0 ;
8965 0 int res1 = 0 ;
8966 size_t val2 ;
8967 0 int ecode2 = 0 ;
8968 0 void *argp3 = 0 ;
8969 0 int res3 = 0 ;
8970 0 int argvi = 0;
8971 int result;
8972 0 dXSARGS;
8973
8974 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
8975 0 SWIG_croak("Usage: gsl_matrix_complex_set_col(m,j,v);");
8976 }
8977 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
8978 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
8979 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_set_col" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_set_col" "', argument " "1"" of type '" "gsl_matrix_complex *""'"); 0 0 0
8980 }
8981 0 arg1 = (gsl_matrix_complex *)(argp1);
8982 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
8983 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
8984 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_set_col" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_set_col" "', argument " "2"" of type '" "size_t""'"); 0 0 0
8985 }
8986 0 arg2 = (size_t)(val2);
8987 0 res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_gsl_vector_complex, 0 | 0 );
8988 0 ▶ if (!SWIG_IsOK(res3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res3)) { 0 0 0
8989 0 ▶ SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_matrix_complex_set_col" "', argument " "3"" of type '" "gsl_vector_complex const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_matrix_complex_set_col" "', argument " "3"" of type '" "gsl_vector_complex const *""'"); 0 0 0
8990 }
8991 0 arg3 = (gsl_vector_complex *)(argp3);
8992 0 result = (int)gsl_matrix_complex_set_col(arg1,arg2,(gsl_vector_complex const *)arg3);
8993 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
8994
8995
8996
8997 0 XSRETURN(argvi);
8998 0 fail:
8999
9000
9001
9002 0 SWIG_croak_null();
9003 }
9004 }
9005  
9006  
9007 0 XS(_wrap_gsl_matrix_complex_get) {
9008 {
9009 0 gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
9010 size_t arg2 ;
9011 size_t arg3 ;
9012 0 void *argp1 = 0 ;
9013 0 int res1 = 0 ;
9014 size_t val2 ;
9015 0 int ecode2 = 0 ;
9016 size_t val3 ;
9017 0 int ecode3 = 0 ;
9018 0 int argvi = 0;
9019 gsl_complex result;
9020 0 dXSARGS;
9021
9022 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
9023 0 SWIG_croak("Usage: gsl_matrix_complex_get(m,i,j);");
9024 }
9025 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
9026 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
9027 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_get" "', argument " "1"" of type '" "gsl_matrix_complex const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_get" "', argument " "1"" of type '" "gsl_matrix_complex const *""'"); 0 0 0
9028 }
9029 0 arg1 = (gsl_matrix_complex *)(argp1);
9030 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
9031 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
9032 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_get" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_get" "', argument " "2"" of type '" "size_t""'"); 0 0 0
9033 }
9034 0 arg2 = (size_t)(val2);
9035 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
9036 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
9037 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_complex_get" "', argument " "3"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_complex_get" "', argument " "3"" of type '" "size_t""'"); 0 0 0
9038 }
9039 0 arg3 = (size_t)(val3);
9040 0 result = gsl_matrix_complex_get((gsl_matrix_complex const *)arg1,arg2,arg3);
9041 0 ST(argvi) = SWIG_NewPointerObj((gsl_complex *)memcpy((gsl_complex *)calloc(1,sizeof(gsl_complex)),&result,sizeof(gsl_complex)), SWIGTYPE_p_gsl_complex, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
9042
9043
9044
9045 0 XSRETURN(argvi);
9046 0 fail:
9047
9048
9049
9050 0 SWIG_croak_null();
9051 }
9052 }
9053  
9054  
9055 0 XS(_wrap_gsl_matrix_complex_set) {
9056 {
9057 0 gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
9058 size_t arg2 ;
9059 size_t arg3 ;
9060 gsl_complex arg4 ;
9061 0 void *argp1 = 0 ;
9062 0 int res1 = 0 ;
9063 size_t val2 ;
9064 0 int ecode2 = 0 ;
9065 size_t val3 ;
9066 0 int ecode3 = 0 ;
9067 void *argp4 ;
9068 0 int res4 = 0 ;
9069 0 int argvi = 0;
9070 0 dXSARGS;
9071
9072 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
9073 0 SWIG_croak("Usage: gsl_matrix_complex_set(m,i,j,x);");
9074 }
9075 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
9076 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
9077 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_set" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_set" "', argument " "1"" of type '" "gsl_matrix_complex *""'"); 0 0 0
9078 }
9079 0 arg1 = (gsl_matrix_complex *)(argp1);
9080 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
9081 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
9082 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_set" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_set" "', argument " "2"" of type '" "size_t""'"); 0 0 0
9083 }
9084 0 arg2 = (size_t)(val2);
9085 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
9086 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
9087 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_complex_set" "', argument " "3"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_complex_set" "', argument " "3"" of type '" "size_t""'"); 0 0 0
9088 }
9089 0 arg3 = (size_t)(val3);
9090 {
9091 0 res4 = SWIG_ConvertPtr(ST(3), &argp4, SWIGTYPE_p_gsl_complex, 0 );
9092 0 ▶ if (!SWIG_IsOK(res4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res4)) { 0 0 0
9093 0 ▶ SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_matrix_complex_set" "', argument " "4"" of type '" "gsl_complex const""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_matrix_complex_set" "', argument " "4"" of type '" "gsl_complex const""'"); 0 0 0
9094 }
9095 0 ▶ if (!argp4) {
Branch: 1 branch
BranchTrueFalseTotal
if (!argp4) { 0 0 0
9096 0 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "gsl_matrix_complex_set" "', argument " "4"" of type '" "gsl_complex const""'");
9097 } else {
9098 0 arg4 = *((gsl_complex *)(argp4));
9099 }
9100 }
9101 0 gsl_matrix_complex_set(arg1,arg2,arg3,arg4);
9102 0 ST(argvi) = &PL_sv_undef;
9103
9104
9105
9106 0 XSRETURN(argvi);
9107 0 fail:
9108
9109
9110
9111 0 SWIG_croak_null();
9112 }
9113 }
9114  
9115  
9116 0 XS(_wrap_gsl_matrix_complex_ptr) {
9117 {
9118 0 gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
9119 size_t arg2 ;
9120 size_t arg3 ;
9121 0 void *argp1 = 0 ;
9122 0 int res1 = 0 ;
9123 size_t val2 ;
9124 0 int ecode2 = 0 ;
9125 size_t val3 ;
9126 0 int ecode3 = 0 ;
9127 0 int argvi = 0;
9128 0 gsl_complex *result = 0 ;
9129 0 dXSARGS;
9130
9131 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
9132 0 SWIG_croak("Usage: gsl_matrix_complex_ptr(m,i,j);");
9133 }
9134 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
9135 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
9136 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_ptr" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_ptr" "', argument " "1"" of type '" "gsl_matrix_complex *""'"); 0 0 0
9137 }
9138 0 arg1 = (gsl_matrix_complex *)(argp1);
9139 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
9140 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
9141 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_ptr" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_ptr" "', argument " "2"" of type '" "size_t""'"); 0 0 0
9142 }
9143 0 arg2 = (size_t)(val2);
9144 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
9145 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
9146 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_complex_ptr" "', argument " "3"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_complex_ptr" "', argument " "3"" of type '" "size_t""'"); 0 0 0
9147 }
9148 0 arg3 = (size_t)(val3);
9149 0 result = (gsl_complex *)gsl_matrix_complex_ptr(arg1,arg2,arg3);
9150 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_complex, 0 | SWIG_SHADOW); argvi++ ;
9151
9152
9153
9154 0 XSRETURN(argvi);
9155 0 fail:
9156
9157
9158
9159 0 SWIG_croak_null();
9160 }
9161 }
9162  
9163  
9164 0 XS(_wrap_gsl_matrix_complex_const_ptr) {
9165 {
9166 0 gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
9167 size_t arg2 ;
9168 size_t arg3 ;
9169 0 void *argp1 = 0 ;
9170 0 int res1 = 0 ;
9171 size_t val2 ;
9172 0 int ecode2 = 0 ;
9173 size_t val3 ;
9174 0 int ecode3 = 0 ;
9175 0 int argvi = 0;
9176 0 gsl_complex *result = 0 ;
9177 0 dXSARGS;
9178
9179 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
9180 0 SWIG_croak("Usage: gsl_matrix_complex_const_ptr(m,i,j);");
9181 }
9182 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 | 0 );
9183 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
9184 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_const_ptr" "', argument " "1"" of type '" "gsl_matrix_complex const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_const_ptr" "', argument " "1"" of type '" "gsl_matrix_complex const *""'"); 0 0 0
9185 }
9186 0 arg1 = (gsl_matrix_complex *)(argp1);
9187 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
9188 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
9189 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_const_ptr" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_const_ptr" "', argument " "2"" of type '" "size_t""'"); 0 0 0
9190 }
9191 0 arg2 = (size_t)(val2);
9192 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
9193 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
9194 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_complex_const_ptr" "', argument " "3"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_complex_const_ptr" "', argument " "3"" of type '" "size_t""'"); 0 0 0
9195 }
9196 0 arg3 = (size_t)(val3);
9197 0 result = (gsl_complex *)gsl_matrix_complex_const_ptr((gsl_matrix_complex const *)arg1,arg2,arg3);
9198 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_complex, 0 | SWIG_SHADOW); argvi++ ;
9199
9200
9201
9202 0 XSRETURN(argvi);
9203 0 fail:
9204
9205
9206
9207 0 SWIG_croak_null();
9208 }
9209 }
9210  
9211  
9212  
9213 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
9214  
9215 static swig_type_info _swigt__p_CBLAS_DIAG = {"_p_CBLAS_DIAG", "CBLAS_DIAG_t *|enum CBLAS_DIAG *", 0, 0, (void*)0, 0};
9216 static swig_type_info _swigt__p_CBLAS_INDEX = {"_p_CBLAS_INDEX", "CBLAS_INDEX_t *|CBLAS_INDEX *", 0, 0, (void*)0, 0};
9217 static swig_type_info _swigt__p_CBLAS_ORDER = {"_p_CBLAS_ORDER", "CBLAS_ORDER_t *|enum CBLAS_ORDER *", 0, 0, (void*)0, 0};
9218 static swig_type_info _swigt__p_CBLAS_SIDE = {"_p_CBLAS_SIDE", "CBLAS_SIDE_t *|enum CBLAS_SIDE *", 0, 0, (void*)0, 0};
9219 static swig_type_info _swigt__p_CBLAS_TRANSPOSE = {"_p_CBLAS_TRANSPOSE", "CBLAS_TRANSPOSE_t *|enum CBLAS_TRANSPOSE *", 0, 0, (void*)0, 0};
9220 static swig_type_info _swigt__p_CBLAS_UPLO = {"_p_CBLAS_UPLO", "CBLAS_UPLO_t *|enum CBLAS_UPLO *", 0, 0, (void*)0, 0};
9221 static swig_type_info _swigt__p_FILE = {"_p_FILE", "FILE *", 0, 0, (void*)0, 0};
9222 static swig_type_info _swigt__p__gsl_matrix_complex_const_view = {"_p__gsl_matrix_complex_const_view", "gsl_matrix_complex_const_view *|_gsl_matrix_complex_const_view *", 0, 0, (void*)"Math::GSL::MatrixComplex::_gsl_matrix_complex_const_view", 0};
9223 static swig_type_info _swigt__p__gsl_matrix_complex_view = {"_p__gsl_matrix_complex_view", "gsl_matrix_complex_view *|_gsl_matrix_complex_view *", 0, 0, (void*)"Math::GSL::MatrixComplex::_gsl_matrix_complex_view", 0};
9224 static swig_type_info _swigt__p__gsl_vector_complex_const_view = {"_p__gsl_vector_complex_const_view", "_gsl_vector_complex_const_view *", 0, 0, (void*)0, 0};
9225 static swig_type_info _swigt__p__gsl_vector_complex_view = {"_p__gsl_vector_complex_view", "_gsl_vector_complex_view *", 0, 0, (void*)0, 0};
9226 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::MatrixComplex::_gsl_vector_const_view", 0};
9227 static swig_type_info _swigt__p__gsl_vector_view = {"_p__gsl_vector_view", "gsl_vector_view *|_gsl_vector_view *", 0, 0, (void*)"Math::GSL::MatrixComplex::_gsl_vector_view", 0};
9228 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
9229 static swig_type_info _swigt__p_double = {"_p_double", "double *", 0, 0, (void*)0, 0};
9230 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};
9231 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};
9232 static swig_type_info _swigt__p_float = {"_p_float", "float *", 0, 0, (void*)0, 0};
9233 static swig_type_info _swigt__p_gsl_block = {"_p_gsl_block", "gsl_block *", 0, 0, (void*)0, 0};
9234 static swig_type_info _swigt__p_gsl_block_complex = {"_p_gsl_block_complex", "gsl_block_complex *", 0, 0, (void*)0, 0};
9235 static swig_type_info _swigt__p_gsl_complex = {"_p_gsl_complex", "gsl_complex *", 0, 0, (void*)"Math::GSL::MatrixComplex::gsl_complex", 0};
9236 static swig_type_info _swigt__p_gsl_complex_float = {"_p_gsl_complex_float", "gsl_complex_float *", 0, 0, (void*)"Math::GSL::MatrixComplex::gsl_complex_float", 0};
9237 static swig_type_info _swigt__p_gsl_complex_long_double = {"_p_gsl_complex_long_double", "gsl_complex_long_double *", 0, 0, (void*)"Math::GSL::MatrixComplex::gsl_complex_long_double", 0};
9238 static swig_type_info _swigt__p_gsl_matrix_complex = {"_p_gsl_matrix_complex", "gsl_matrix_complex *", 0, 0, (void*)"Math::GSL::MatrixComplex::gsl_matrix_complex", 0};
9239 static swig_type_info _swigt__p_gsl_vector = {"_p_gsl_vector", "gsl_vector *", 0, 0, (void*)"Math::GSL::MatrixComplex::gsl_vector", 0};
9240 static swig_type_info _swigt__p_gsl_vector_complex = {"_p_gsl_vector_complex", "gsl_vector_complex *", 0, 0, (void*)0, 0};
9241 static swig_type_info _swigt__p_long_double = {"_p_long_double", "long double *", 0, 0, (void*)0, 0};
9242 static swig_type_info _swigt__p_size_t = {"_p_size_t", "size_t *", 0, 0, (void*)0, 0};
9243  
9244 static swig_type_info *swig_type_initial[] = {
9245 &_swigt__p_CBLAS_DIAG,
9246 &_swigt__p_CBLAS_INDEX,
9247 &_swigt__p_CBLAS_ORDER,
9248 &_swigt__p_CBLAS_SIDE,
9249 &_swigt__p_CBLAS_TRANSPOSE,
9250 &_swigt__p_CBLAS_UPLO,
9251 &_swigt__p_FILE,
9252 &_swigt__p__gsl_matrix_complex_const_view,
9253 &_swigt__p__gsl_matrix_complex_view,
9254 &_swigt__p__gsl_vector_complex_const_view,
9255 &_swigt__p__gsl_vector_complex_view,
9256 &_swigt__p__gsl_vector_const_view,
9257 &_swigt__p__gsl_vector_view,
9258 &_swigt__p_char,
9259 &_swigt__p_double,
9260 &_swigt__p_f_p_q_const__char_p_q_const__char_int_int__void,
9261 &_swigt__p_f_p_q_const__char_p_q_const__char_int_p_q_const__char__void,
9262 &_swigt__p_float,
9263 &_swigt__p_gsl_block,
9264 &_swigt__p_gsl_block_complex,
9265 &_swigt__p_gsl_complex,
9266 &_swigt__p_gsl_complex_float,
9267 &_swigt__p_gsl_complex_long_double,
9268 &_swigt__p_gsl_matrix_complex,
9269 &_swigt__p_gsl_vector,
9270 &_swigt__p_gsl_vector_complex,
9271 &_swigt__p_long_double,
9272 &_swigt__p_size_t,
9273 };
9274  
9275 static swig_cast_info _swigc__p_CBLAS_DIAG[] = { {&_swigt__p_CBLAS_DIAG, 0, 0, 0},{0, 0, 0, 0}};
9276 static swig_cast_info _swigc__p_CBLAS_INDEX[] = { {&_swigt__p_CBLAS_INDEX, 0, 0, 0},{0, 0, 0, 0}};
9277 static swig_cast_info _swigc__p_CBLAS_ORDER[] = { {&_swigt__p_CBLAS_ORDER, 0, 0, 0},{0, 0, 0, 0}};
9278 static swig_cast_info _swigc__p_CBLAS_SIDE[] = { {&_swigt__p_CBLAS_SIDE, 0, 0, 0},{0, 0, 0, 0}};
9279 static swig_cast_info _swigc__p_CBLAS_TRANSPOSE[] = { {&_swigt__p_CBLAS_TRANSPOSE, 0, 0, 0},{0, 0, 0, 0}};
9280 static swig_cast_info _swigc__p_CBLAS_UPLO[] = { {&_swigt__p_CBLAS_UPLO, 0, 0, 0},{0, 0, 0, 0}};
9281 static swig_cast_info _swigc__p_FILE[] = { {&_swigt__p_FILE, 0, 0, 0},{0, 0, 0, 0}};
9282 static swig_cast_info _swigc__p__gsl_matrix_complex_const_view[] = { {&_swigt__p__gsl_matrix_complex_const_view, 0, 0, 0},{0, 0, 0, 0}};
9283 static swig_cast_info _swigc__p__gsl_matrix_complex_view[] = { {&_swigt__p__gsl_matrix_complex_view, 0, 0, 0},{0, 0, 0, 0}};
9284 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}};
9285 static swig_cast_info _swigc__p__gsl_vector_complex_view[] = { {&_swigt__p__gsl_vector_complex_view, 0, 0, 0},{0, 0, 0, 0}};
9286 static swig_cast_info _swigc__p__gsl_vector_const_view[] = { {&_swigt__p__gsl_vector_const_view, 0, 0, 0},{0, 0, 0, 0}};
9287 static swig_cast_info _swigc__p__gsl_vector_view[] = { {&_swigt__p__gsl_vector_view, 0, 0, 0},{0, 0, 0, 0}};
9288 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
9289 static swig_cast_info _swigc__p_double[] = { {&_swigt__p_double, 0, 0, 0},{0, 0, 0, 0}};
9290 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}};
9291 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}};
9292 static swig_cast_info _swigc__p_float[] = { {&_swigt__p_float, 0, 0, 0},{0, 0, 0, 0}};
9293 static swig_cast_info _swigc__p_gsl_block[] = { {&_swigt__p_gsl_block, 0, 0, 0},{0, 0, 0, 0}};
9294 static swig_cast_info _swigc__p_gsl_block_complex[] = { {&_swigt__p_gsl_block_complex, 0, 0, 0},{0, 0, 0, 0}};
9295 static swig_cast_info _swigc__p_gsl_complex[] = { {&_swigt__p_gsl_complex, 0, 0, 0},{0, 0, 0, 0}};
9296 static swig_cast_info _swigc__p_gsl_complex_float[] = { {&_swigt__p_gsl_complex_float, 0, 0, 0},{0, 0, 0, 0}};
9297 static swig_cast_info _swigc__p_gsl_complex_long_double[] = { {&_swigt__p_gsl_complex_long_double, 0, 0, 0},{0, 0, 0, 0}};
9298 static swig_cast_info _swigc__p_gsl_matrix_complex[] = { {&_swigt__p_gsl_matrix_complex, 0, 0, 0},{0, 0, 0, 0}};
9299 static swig_cast_info _swigc__p_gsl_vector[] = { {&_swigt__p_gsl_vector, 0, 0, 0},{0, 0, 0, 0}};
9300 static swig_cast_info _swigc__p_gsl_vector_complex[] = { {&_swigt__p_gsl_vector_complex, 0, 0, 0},{0, 0, 0, 0}};
9301 static swig_cast_info _swigc__p_long_double[] = { {&_swigt__p_long_double, 0, 0, 0},{0, 0, 0, 0}};
9302 static swig_cast_info _swigc__p_size_t[] = { {&_swigt__p_size_t, 0, 0, 0},{0, 0, 0, 0}};
9303  
9304 static swig_cast_info *swig_cast_initial[] = {
9305 _swigc__p_CBLAS_DIAG,
9306 _swigc__p_CBLAS_INDEX,
9307 _swigc__p_CBLAS_ORDER,
9308 _swigc__p_CBLAS_SIDE,
9309 _swigc__p_CBLAS_TRANSPOSE,
9310 _swigc__p_CBLAS_UPLO,
9311 _swigc__p_FILE,
9312 _swigc__p__gsl_matrix_complex_const_view,
9313 _swigc__p__gsl_matrix_complex_view,
9314 _swigc__p__gsl_vector_complex_const_view,
9315 _swigc__p__gsl_vector_complex_view,
9316 _swigc__p__gsl_vector_const_view,
9317 _swigc__p__gsl_vector_view,
9318 _swigc__p_char,
9319 _swigc__p_double,
9320 _swigc__p_f_p_q_const__char_p_q_const__char_int_int__void,
9321 _swigc__p_f_p_q_const__char_p_q_const__char_int_p_q_const__char__void,
9322 _swigc__p_float,
9323 _swigc__p_gsl_block,
9324 _swigc__p_gsl_block_complex,
9325 _swigc__p_gsl_complex,
9326 _swigc__p_gsl_complex_float,
9327 _swigc__p_gsl_complex_long_double,
9328 _swigc__p_gsl_matrix_complex,
9329 _swigc__p_gsl_vector,
9330 _swigc__p_gsl_vector_complex,
9331 _swigc__p_long_double,
9332 _swigc__p_size_t,
9333 };
9334  
9335  
9336 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
9337  
9338 static swig_constant_info swig_constants[] = {
9339 {0,0,0,0,0,0}
9340 };
9341 #ifdef __cplusplus
9342 }
9343 #endif
9344 static swig_variable_info swig_variables[] = {
9345 {0,0,0,0}
9346 };
9347 static swig_command_info swig_commands[] = {
9348 {"Math::GSL::MatrixComplexc::gsl_error", _wrap_gsl_error},
9349 {"Math::GSL::MatrixComplexc::gsl_stream_printf", _wrap_gsl_stream_printf},
9350 {"Math::GSL::MatrixComplexc::gsl_strerror", _wrap_gsl_strerror},
9351 {"Math::GSL::MatrixComplexc::gsl_set_error_handler", _wrap_gsl_set_error_handler},
9352 {"Math::GSL::MatrixComplexc::gsl_set_error_handler_off", _wrap_gsl_set_error_handler_off},
9353 {"Math::GSL::MatrixComplexc::gsl_set_stream_handler", _wrap_gsl_set_stream_handler},
9354 {"Math::GSL::MatrixComplexc::gsl_set_stream", _wrap_gsl_set_stream},
9355 {"Math::GSL::MatrixComplexc::gsl_complex_dat_set", _wrap_gsl_complex_dat_set},
9356 {"Math::GSL::MatrixComplexc::gsl_complex_dat_get", _wrap_gsl_complex_dat_get},
9357 {"Math::GSL::MatrixComplexc::new_gsl_complex", _wrap_new_gsl_complex},
9358 {"Math::GSL::MatrixComplexc::delete_gsl_complex", _wrap_delete_gsl_complex},
9359 {"Math::GSL::MatrixComplexc::gsl_complex_long_double_dat_set", _wrap_gsl_complex_long_double_dat_set},
9360 {"Math::GSL::MatrixComplexc::gsl_complex_long_double_dat_get", _wrap_gsl_complex_long_double_dat_get},
9361 {"Math::GSL::MatrixComplexc::new_gsl_complex_long_double", _wrap_new_gsl_complex_long_double},
9362 {"Math::GSL::MatrixComplexc::delete_gsl_complex_long_double", _wrap_delete_gsl_complex_long_double},
9363 {"Math::GSL::MatrixComplexc::gsl_complex_float_dat_set", _wrap_gsl_complex_float_dat_set},
9364 {"Math::GSL::MatrixComplexc::gsl_complex_float_dat_get", _wrap_gsl_complex_float_dat_get},
9365 {"Math::GSL::MatrixComplexc::new_gsl_complex_float", _wrap_new_gsl_complex_float},
9366 {"Math::GSL::MatrixComplexc::delete_gsl_complex_float", _wrap_delete_gsl_complex_float},
9367 {"Math::GSL::MatrixComplexc::gsl_vector_size_set", _wrap_gsl_vector_size_set},
9368 {"Math::GSL::MatrixComplexc::gsl_vector_size_get", _wrap_gsl_vector_size_get},
9369 {"Math::GSL::MatrixComplexc::gsl_vector_stride_set", _wrap_gsl_vector_stride_set},
9370 {"Math::GSL::MatrixComplexc::gsl_vector_stride_get", _wrap_gsl_vector_stride_get},
9371 {"Math::GSL::MatrixComplexc::gsl_vector_data_set", _wrap_gsl_vector_data_set},
9372 {"Math::GSL::MatrixComplexc::gsl_vector_data_get", _wrap_gsl_vector_data_get},
9373 {"Math::GSL::MatrixComplexc::gsl_vector_block_set", _wrap_gsl_vector_block_set},
9374 {"Math::GSL::MatrixComplexc::gsl_vector_block_get", _wrap_gsl_vector_block_get},
9375 {"Math::GSL::MatrixComplexc::gsl_vector_owner_set", _wrap_gsl_vector_owner_set},
9376 {"Math::GSL::MatrixComplexc::gsl_vector_owner_get", _wrap_gsl_vector_owner_get},
9377 {"Math::GSL::MatrixComplexc::new_gsl_vector", _wrap_new_gsl_vector},
9378 {"Math::GSL::MatrixComplexc::delete_gsl_vector", _wrap_delete_gsl_vector},
9379 {"Math::GSL::MatrixComplexc::_gsl_vector_view_vector_set", _wrap__gsl_vector_view_vector_set},
9380 {"Math::GSL::MatrixComplexc::_gsl_vector_view_vector_get", _wrap__gsl_vector_view_vector_get},
9381 {"Math::GSL::MatrixComplexc::new__gsl_vector_view", _wrap_new__gsl_vector_view},
9382 {"Math::GSL::MatrixComplexc::delete__gsl_vector_view", _wrap_delete__gsl_vector_view},
9383 {"Math::GSL::MatrixComplexc::_gsl_vector_const_view_vector_set", _wrap__gsl_vector_const_view_vector_set},
9384 {"Math::GSL::MatrixComplexc::_gsl_vector_const_view_vector_get", _wrap__gsl_vector_const_view_vector_get},
9385 {"Math::GSL::MatrixComplexc::new__gsl_vector_const_view", _wrap_new__gsl_vector_const_view},
9386 {"Math::GSL::MatrixComplexc::delete__gsl_vector_const_view", _wrap_delete__gsl_vector_const_view},
9387 {"Math::GSL::MatrixComplexc::gsl_vector_alloc", _wrap_gsl_vector_alloc},
9388 {"Math::GSL::MatrixComplexc::gsl_vector_calloc", _wrap_gsl_vector_calloc},
9389 {"Math::GSL::MatrixComplexc::gsl_vector_alloc_from_block", _wrap_gsl_vector_alloc_from_block},
9390 {"Math::GSL::MatrixComplexc::gsl_vector_alloc_from_vector", _wrap_gsl_vector_alloc_from_vector},
9391 {"Math::GSL::MatrixComplexc::gsl_vector_free", _wrap_gsl_vector_free},
9392 {"Math::GSL::MatrixComplexc::gsl_vector_view_array", _wrap_gsl_vector_view_array},
9393 {"Math::GSL::MatrixComplexc::gsl_vector_view_array_with_stride", _wrap_gsl_vector_view_array_with_stride},
9394 {"Math::GSL::MatrixComplexc::gsl_vector_const_view_array", _wrap_gsl_vector_const_view_array},
9395 {"Math::GSL::MatrixComplexc::gsl_vector_const_view_array_with_stride", _wrap_gsl_vector_const_view_array_with_stride},
9396 {"Math::GSL::MatrixComplexc::gsl_vector_subvector", _wrap_gsl_vector_subvector},
9397 {"Math::GSL::MatrixComplexc::gsl_vector_subvector_with_stride", _wrap_gsl_vector_subvector_with_stride},
9398 {"Math::GSL::MatrixComplexc::gsl_vector_const_subvector", _wrap_gsl_vector_const_subvector},
9399 {"Math::GSL::MatrixComplexc::gsl_vector_const_subvector_with_stride", _wrap_gsl_vector_const_subvector_with_stride},
9400 {"Math::GSL::MatrixComplexc::gsl_vector_set_zero", _wrap_gsl_vector_set_zero},
9401 {"Math::GSL::MatrixComplexc::gsl_vector_set_all", _wrap_gsl_vector_set_all},
9402 {"Math::GSL::MatrixComplexc::gsl_vector_set_basis", _wrap_gsl_vector_set_basis},
9403 {"Math::GSL::MatrixComplexc::gsl_vector_fread", _wrap_gsl_vector_fread},
9404 {"Math::GSL::MatrixComplexc::gsl_vector_fwrite", _wrap_gsl_vector_fwrite},
9405 {"Math::GSL::MatrixComplexc::gsl_vector_fscanf", _wrap_gsl_vector_fscanf},
9406 {"Math::GSL::MatrixComplexc::gsl_vector_fprintf", _wrap_gsl_vector_fprintf},
9407 {"Math::GSL::MatrixComplexc::gsl_vector_memcpy", _wrap_gsl_vector_memcpy},
9408 {"Math::GSL::MatrixComplexc::gsl_vector_reverse", _wrap_gsl_vector_reverse},
9409 {"Math::GSL::MatrixComplexc::gsl_vector_swap", _wrap_gsl_vector_swap},
9410 {"Math::GSL::MatrixComplexc::gsl_vector_swap_elements", _wrap_gsl_vector_swap_elements},
9411 {"Math::GSL::MatrixComplexc::gsl_vector_max", _wrap_gsl_vector_max},
9412 {"Math::GSL::MatrixComplexc::gsl_vector_min", _wrap_gsl_vector_min},
9413 {"Math::GSL::MatrixComplexc::gsl_vector_minmax", _wrap_gsl_vector_minmax},
9414 {"Math::GSL::MatrixComplexc::gsl_vector_max_index", _wrap_gsl_vector_max_index},
9415 {"Math::GSL::MatrixComplexc::gsl_vector_min_index", _wrap_gsl_vector_min_index},
9416 {"Math::GSL::MatrixComplexc::gsl_vector_minmax_index", _wrap_gsl_vector_minmax_index},
9417 {"Math::GSL::MatrixComplexc::gsl_vector_add", _wrap_gsl_vector_add},
9418 {"Math::GSL::MatrixComplexc::gsl_vector_sub", _wrap_gsl_vector_sub},
9419 {"Math::GSL::MatrixComplexc::gsl_vector_mul", _wrap_gsl_vector_mul},
9420 {"Math::GSL::MatrixComplexc::gsl_vector_div", _wrap_gsl_vector_div},
9421 {"Math::GSL::MatrixComplexc::gsl_vector_scale", _wrap_gsl_vector_scale},
9422 {"Math::GSL::MatrixComplexc::gsl_vector_add_constant", _wrap_gsl_vector_add_constant},
9423 {"Math::GSL::MatrixComplexc::gsl_vector_axpby", _wrap_gsl_vector_axpby},
9424 {"Math::GSL::MatrixComplexc::gsl_vector_sum", _wrap_gsl_vector_sum},
9425 {"Math::GSL::MatrixComplexc::gsl_vector_equal", _wrap_gsl_vector_equal},
9426 {"Math::GSL::MatrixComplexc::gsl_vector_isnull", _wrap_gsl_vector_isnull},
9427 {"Math::GSL::MatrixComplexc::gsl_vector_ispos", _wrap_gsl_vector_ispos},
9428 {"Math::GSL::MatrixComplexc::gsl_vector_isneg", _wrap_gsl_vector_isneg},
9429 {"Math::GSL::MatrixComplexc::gsl_vector_isnonneg", _wrap_gsl_vector_isnonneg},
9430 {"Math::GSL::MatrixComplexc::gsl_vector_get", _wrap_gsl_vector_get},
9431 {"Math::GSL::MatrixComplexc::gsl_vector_set", _wrap_gsl_vector_set},
9432 {"Math::GSL::MatrixComplexc::gsl_vector_ptr", _wrap_gsl_vector_ptr},
9433 {"Math::GSL::MatrixComplexc::gsl_vector_const_ptr", _wrap_gsl_vector_const_ptr},
9434 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_size1_set", _wrap_gsl_matrix_complex_size1_set},
9435 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_size1_get", _wrap_gsl_matrix_complex_size1_get},
9436 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_size2_set", _wrap_gsl_matrix_complex_size2_set},
9437 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_size2_get", _wrap_gsl_matrix_complex_size2_get},
9438 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_tda_set", _wrap_gsl_matrix_complex_tda_set},
9439 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_tda_get", _wrap_gsl_matrix_complex_tda_get},
9440 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_data_set", _wrap_gsl_matrix_complex_data_set},
9441 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_data_get", _wrap_gsl_matrix_complex_data_get},
9442 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_block_set", _wrap_gsl_matrix_complex_block_set},
9443 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_block_get", _wrap_gsl_matrix_complex_block_get},
9444 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_owner_set", _wrap_gsl_matrix_complex_owner_set},
9445 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_owner_get", _wrap_gsl_matrix_complex_owner_get},
9446 {"Math::GSL::MatrixComplexc::new_gsl_matrix_complex", _wrap_new_gsl_matrix_complex},
9447 {"Math::GSL::MatrixComplexc::delete_gsl_matrix_complex", _wrap_delete_gsl_matrix_complex},
9448 {"Math::GSL::MatrixComplexc::_gsl_matrix_complex_view_matrix_set", _wrap__gsl_matrix_complex_view_matrix_set},
9449 {"Math::GSL::MatrixComplexc::_gsl_matrix_complex_view_matrix_get", _wrap__gsl_matrix_complex_view_matrix_get},
9450 {"Math::GSL::MatrixComplexc::new__gsl_matrix_complex_view", _wrap_new__gsl_matrix_complex_view},
9451 {"Math::GSL::MatrixComplexc::delete__gsl_matrix_complex_view", _wrap_delete__gsl_matrix_complex_view},
9452 {"Math::GSL::MatrixComplexc::_gsl_matrix_complex_const_view_matrix_set", _wrap__gsl_matrix_complex_const_view_matrix_set},
9453 {"Math::GSL::MatrixComplexc::_gsl_matrix_complex_const_view_matrix_get", _wrap__gsl_matrix_complex_const_view_matrix_get},
9454 {"Math::GSL::MatrixComplexc::new__gsl_matrix_complex_const_view", _wrap_new__gsl_matrix_complex_const_view},
9455 {"Math::GSL::MatrixComplexc::delete__gsl_matrix_complex_const_view", _wrap_delete__gsl_matrix_complex_const_view},
9456 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_alloc", _wrap_gsl_matrix_complex_alloc},
9457 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_calloc", _wrap_gsl_matrix_complex_calloc},
9458 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_alloc_from_block", _wrap_gsl_matrix_complex_alloc_from_block},
9459 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_alloc_from_matrix", _wrap_gsl_matrix_complex_alloc_from_matrix},
9460 {"Math::GSL::MatrixComplexc::gsl_vector_complex_alloc_row_from_matrix", _wrap_gsl_vector_complex_alloc_row_from_matrix},
9461 {"Math::GSL::MatrixComplexc::gsl_vector_complex_alloc_col_from_matrix", _wrap_gsl_vector_complex_alloc_col_from_matrix},
9462 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_free", _wrap_gsl_matrix_complex_free},
9463 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_submatrix", _wrap_gsl_matrix_complex_submatrix},
9464 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_row", _wrap_gsl_matrix_complex_row},
9465 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_column", _wrap_gsl_matrix_complex_column},
9466 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_diagonal", _wrap_gsl_matrix_complex_diagonal},
9467 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_subdiagonal", _wrap_gsl_matrix_complex_subdiagonal},
9468 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_superdiagonal", _wrap_gsl_matrix_complex_superdiagonal},
9469 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_subrow", _wrap_gsl_matrix_complex_subrow},
9470 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_subcolumn", _wrap_gsl_matrix_complex_subcolumn},
9471 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_view_array", _wrap_gsl_matrix_complex_view_array},
9472 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_view_array_with_tda", _wrap_gsl_matrix_complex_view_array_with_tda},
9473 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_view_vector", _wrap_gsl_matrix_complex_view_vector},
9474 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_view_vector_with_tda", _wrap_gsl_matrix_complex_view_vector_with_tda},
9475 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_const_submatrix", _wrap_gsl_matrix_complex_const_submatrix},
9476 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_const_row", _wrap_gsl_matrix_complex_const_row},
9477 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_const_column", _wrap_gsl_matrix_complex_const_column},
9478 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_const_diagonal", _wrap_gsl_matrix_complex_const_diagonal},
9479 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_const_subdiagonal", _wrap_gsl_matrix_complex_const_subdiagonal},
9480 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_const_superdiagonal", _wrap_gsl_matrix_complex_const_superdiagonal},
9481 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_const_subrow", _wrap_gsl_matrix_complex_const_subrow},
9482 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_const_subcolumn", _wrap_gsl_matrix_complex_const_subcolumn},
9483 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_const_view_array", _wrap_gsl_matrix_complex_const_view_array},
9484 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_const_view_array_with_tda", _wrap_gsl_matrix_complex_const_view_array_with_tda},
9485 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_const_view_vector", _wrap_gsl_matrix_complex_const_view_vector},
9486 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_const_view_vector_with_tda", _wrap_gsl_matrix_complex_const_view_vector_with_tda},
9487 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_set_zero", _wrap_gsl_matrix_complex_set_zero},
9488 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_set_identity", _wrap_gsl_matrix_complex_set_identity},
9489 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_set_all", _wrap_gsl_matrix_complex_set_all},
9490 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_fread", _wrap_gsl_matrix_complex_fread},
9491 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_fwrite", _wrap_gsl_matrix_complex_fwrite},
9492 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_fscanf", _wrap_gsl_matrix_complex_fscanf},
9493 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_fprintf", _wrap_gsl_matrix_complex_fprintf},
9494 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_memcpy", _wrap_gsl_matrix_complex_memcpy},
9495 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_swap", _wrap_gsl_matrix_complex_swap},
9496 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_tricpy", _wrap_gsl_matrix_complex_tricpy},
9497 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_swap_rows", _wrap_gsl_matrix_complex_swap_rows},
9498 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_swap_columns", _wrap_gsl_matrix_complex_swap_columns},
9499 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_swap_rowcol", _wrap_gsl_matrix_complex_swap_rowcol},
9500 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_transpose", _wrap_gsl_matrix_complex_transpose},
9501 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_transpose_memcpy", _wrap_gsl_matrix_complex_transpose_memcpy},
9502 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_transpose_tricpy", _wrap_gsl_matrix_complex_transpose_tricpy},
9503 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_conjtrans_memcpy", _wrap_gsl_matrix_complex_conjtrans_memcpy},
9504 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_equal", _wrap_gsl_matrix_complex_equal},
9505 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_isnull", _wrap_gsl_matrix_complex_isnull},
9506 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_ispos", _wrap_gsl_matrix_complex_ispos},
9507 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_isneg", _wrap_gsl_matrix_complex_isneg},
9508 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_isnonneg", _wrap_gsl_matrix_complex_isnonneg},
9509 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_add", _wrap_gsl_matrix_complex_add},
9510 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_sub", _wrap_gsl_matrix_complex_sub},
9511 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_mul_elements", _wrap_gsl_matrix_complex_mul_elements},
9512 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_div_elements", _wrap_gsl_matrix_complex_div_elements},
9513 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_scale", _wrap_gsl_matrix_complex_scale},
9514 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_scale_rows", _wrap_gsl_matrix_complex_scale_rows},
9515 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_scale_columns", _wrap_gsl_matrix_complex_scale_columns},
9516 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_add_constant", _wrap_gsl_matrix_complex_add_constant},
9517 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_add_diagonal", _wrap_gsl_matrix_complex_add_diagonal},
9518 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_conjugate", _wrap_gsl_matrix_complex_conjugate},
9519 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_get_row", _wrap_gsl_matrix_complex_get_row},
9520 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_get_col", _wrap_gsl_matrix_complex_get_col},
9521 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_set_row", _wrap_gsl_matrix_complex_set_row},
9522 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_set_col", _wrap_gsl_matrix_complex_set_col},
9523 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_get", _wrap_gsl_matrix_complex_get},
9524 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_set", _wrap_gsl_matrix_complex_set},
9525 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_ptr", _wrap_gsl_matrix_complex_ptr},
9526 {"Math::GSL::MatrixComplexc::gsl_matrix_complex_const_ptr", _wrap_gsl_matrix_complex_const_ptr},
9527 {0,0}
9528 };
9529 /* -----------------------------------------------------------------------------
9530 * Type initialization:
9531 * This problem is tough by the requirement that no dynamic
9532 * memory is used. Also, since swig_type_info structures store pointers to
9533 * swig_cast_info structures and swig_cast_info structures store pointers back
9534 * to swig_type_info structures, we need some lookup code at initialization.
9535 * The idea is that swig generates all the structures that are needed.
9536 * The runtime then collects these partially filled structures.
9537 * The SWIG_InitializeModule function takes these initial arrays out of
9538 * swig_module, and does all the lookup, filling in the swig_module.types
9539 * array with the correct data and linking the correct swig_cast_info
9540 * structures together.
9541 *
9542 * The generated swig_type_info structures are assigned statically to an initial
9543 * array. We just loop through that array, and handle each type individually.
9544 * First we lookup if this type has been already loaded, and if so, use the
9545 * loaded structure instead of the generated one. Then we have to fill in the
9546 * cast linked list. The cast data is initially stored in something like a
9547 * two-dimensional array. Each row corresponds to a type (there are the same
9548 * number of rows as there are in the swig_type_initial array). Each entry in
9549 * a column is one of the swig_cast_info structures for that type.
9550 * The cast_initial array is actually an array of arrays, because each row has
9551 * a variable number of columns. So to actually build the cast linked list,
9552 * we find the array of casts associated with the type, and loop through it
9553 * adding the casts to the list. The one last trick we need to do is making
9554 * sure the type pointer in the swig_cast_info struct is correct.
9555 *
9556 * First off, we lookup the cast->type name to see if it is already loaded.
9557 * There are three cases to handle:
9558 * 1) If the cast->type has already been loaded AND the type we are adding
9559 * casting info to has not been loaded (it is in this module), THEN we
9560 * replace the cast->type pointer with the type pointer that has already
9561 * been loaded.
9562 * 2) If BOTH types (the one we are adding casting info to, and the
9563 * cast->type) are loaded, THEN the cast info has already been loaded by
9564 * the previous module so we just ignore it.
9565 * 3) Finally, if cast->type has not already been loaded, then we add that
9566 * swig_cast_info to the linked list (because the cast->type) pointer will
9567 * be correct.
9568 * ----------------------------------------------------------------------------- */
9569  
9570 #ifdef __cplusplus
9571 extern "C" {
9572 #if 0
9573 } /* c-mode */
9574 #endif
9575 #endif
9576  
9577 #if 0
9578 #define SWIGRUNTIME_DEBUG
9579 #endif
9580  
9581 #ifndef SWIG_INIT_CLIENT_DATA_TYPE
9582 #define SWIG_INIT_CLIENT_DATA_TYPE void *
9583 #endif
9584  
9585 SWIGRUNTIME void
9586 0 SWIG_InitializeModule(SWIG_INIT_CLIENT_DATA_TYPE clientdata) {
9587 size_t i;
9588 swig_module_info *module_head, *iter;
9589 int init;
9590
9591 /* check to see if the circular list has been setup, if not, set it up */
9592 0 ▶ if (swig_module.next==0) {
Branch: 1 branch
BranchTrueFalseTotal
if (swig_module.next==0) { 0 0 0
9593 /* Initialize the swig_module */
9594 0 swig_module.type_initial = swig_type_initial;
9595 0 swig_module.cast_initial = swig_cast_initial;
9596 0 swig_module.next = &swig_module;
9597 0 init = 1;
9598 } else {
9599 0 init = 0;
9600 }
9601
9602 /* Try and load any already created modules */
9603 0 module_head = SWIG_GetModule(clientdata);
9604 0 ▶ if (!module_head) {
Branch: 1 branch
BranchTrueFalseTotal
if (!module_head) { 0 0 0
9605 /* This is the first module loaded for this interpreter */
9606 /* so set the swig module into the interpreter */
9607 0 SWIG_SetModule(clientdata, &swig_module);
9608 } else {
9609 /* the interpreter has loaded a SWIG module, but has it loaded this one? */
9610 0 iter=module_head;
9611 do {
9612 0 ▶ if (iter==&swig_module) {
Branch: 1 branch
BranchTrueFalseTotal
if (iter==&swig_module) { 0 0 0
9613 /* Our module is already in the list, so there's nothing more to do. */
9614 0 return;
9615 }
9616 0 iter=iter->next;
9617 0 ▶ } while (iter!= module_head);
Branch: 1 branch
BranchTrueFalseTotal
} while (iter!= module_head); 0 0 0
9618
9619 /* otherwise we must add our module into the list */
9620 0 swig_module.next = module_head->next;
9621 0 module_head->next = &swig_module;
9622 }
9623
9624 /* When multiple interpreters are used, a module could have already been initialized in
9625 a different interpreter, but not yet have a pointer in this interpreter.
9626 In this case, we do not want to continue adding types... everything should be
9627 set up already */
9628 0 ▶ if (init == 0) return;
Branch: 1 branch
BranchTrueFalseTotal
if (init == 0) return; 0 0 0
9629
9630 /* Now work on filling in swig_module.types */
9631 #ifdef SWIGRUNTIME_DEBUG
9632 printf("SWIG_InitializeModule: size %lu\n", (unsigned long)swig_module.size);
9633 #endif
9634 0 ▶ for (i = 0; i < swig_module.size; ++i) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; i < swig_module.size; ++i) { 0 0 0
9635 0 swig_type_info *type = 0;
9636 swig_type_info *ret;
9637 swig_cast_info *cast;
9638
9639 #ifdef SWIGRUNTIME_DEBUG
9640 printf("SWIG_InitializeModule: type %lu %s\n", (unsigned long)i, swig_module.type_initial[i]->name);
9641 #endif
9642
9643 /* if there is another module already loaded */
9644 0 ▶ if (swig_module.next != &swig_module) {
Branch: 1 branch
BranchTrueFalseTotal
if (swig_module.next != &swig_module) { 0 0 0
9645 0 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
9646 }
9647 0 ▶ if (type) {
Branch: 1 branch
BranchTrueFalseTotal
if (type) { 0 0 0
9648 /* Overwrite clientdata field */
9649 #ifdef SWIGRUNTIME_DEBUG
9650 printf("SWIG_InitializeModule: found type %s\n", type->name);
9651 #endif
9652 0 ▶ if (swig_module.type_initial[i]->clientdata) {
Branch: 1 branch
BranchTrueFalseTotal
if (swig_module.type_initial[i]->clientdata) { 0 0 0
9653 0 type->clientdata = swig_module.type_initial[i]->clientdata;
9654 #ifdef SWIGRUNTIME_DEBUG
9655 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
9656 #endif
9657 }
9658 } else {
9659 0 type = swig_module.type_initial[i];
9660 }
9661
9662 /* Insert casting types */
9663 0 cast = swig_module.cast_initial[i];
9664 0 ▶ while (cast->type) {
Branch: 1 branch
BranchTrueFalseTotal
while (cast->type) { 0 0 0
9665 /* Don't need to add information already in the list */
9666 0 ret = 0;
9667 #ifdef SWIGRUNTIME_DEBUG
9668 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
9669 #endif
9670 0 ▶ if (swig_module.next != &swig_module) {
Branch: 1 branch
BranchTrueFalseTotal
if (swig_module.next != &swig_module) { 0 0 0
9671 0 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
9672 #ifdef SWIGRUNTIME_DEBUG
9673 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
9674 #endif
9675 }
9676 0 ▶ if (ret) {
Branch: 1 branch
BranchTrueFalseTotal
if (ret) { 0 0 0
9677 0 ▶ if (type == swig_module.type_initial[i]) {
Branch: 1 branch
BranchTrueFalseTotal
if (type == swig_module.type_initial[i]) { 0 0 0
9678 #ifdef SWIGRUNTIME_DEBUG
9679 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
9680 #endif
9681 0 cast->type = ret;
9682 0 ret = 0;
9683 } else {
9684 /* Check for casting already in the list */
9685 0 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
9686 #ifdef SWIGRUNTIME_DEBUG
9687 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
9688 #endif
9689 0 ▶ if (!ocast) ret = 0;
Branch: 1 branch
BranchTrueFalseTotal
if (!ocast) ret = 0; 0 0 0
9690 }
9691 }
9692
9693 0 ▶ if (!ret) {
Branch: 1 branch
BranchTrueFalseTotal
if (!ret) { 0 0 0
9694 #ifdef SWIGRUNTIME_DEBUG
9695 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
9696 #endif
9697 0 ▶ if (type->cast) {
Branch: 1 branch
BranchTrueFalseTotal
if (type->cast) { 0 0 0
9698 0 type->cast->prev = cast;
9699 0 cast->next = type->cast;
9700 }
9701 0 type->cast = cast;
9702 }
9703 0 cast++;
9704 }
9705 /* Set entry in modules->types array equal to the type */
9706 0 swig_module.types[i] = type;
9707 }
9708 0 swig_module.types[i] = 0;
9709
9710 #ifdef SWIGRUNTIME_DEBUG
9711 printf("**** SWIG_InitializeModule: Cast List ******\n");
9712 for (i = 0; i < swig_module.size; ++i) {
9713 int j = 0;
9714 swig_cast_info *cast = swig_module.cast_initial[i];
9715 printf("SWIG_InitializeModule: type %lu %s\n", (unsigned long)i, swig_module.type_initial[i]->name);
9716 while (cast->type) {
9717 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
9718 cast++;
9719 ++j;
9720 }
9721 printf("---- Total casts: %d\n",j);
9722 }
9723 printf("**** SWIG_InitializeModule: Cast List ******\n");
9724 #endif
9725 }
9726  
9727 /* This function will propagate the clientdata field of type to
9728 * any new swig_type_info structures that have been added into the list
9729 * of equivalent types. It is like calling
9730 * SWIG_TypeClientData(type, clientdata) a second time.
9731 */
9732 SWIGRUNTIME void
9733 0 SWIG_PropagateClientData(void) {
9734 size_t i;
9735 swig_cast_info *equiv;
9736 static int init_run = 0;
9737
9738 0 ▶ if (init_run) return;
Branch: 1 branch
BranchTrueFalseTotal
if (init_run) return; 0 0 0
9739 0 init_run = 1;
9740
9741 0 ▶ for (i = 0; i < swig_module.size; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; i < swig_module.size; i++) { 0 0 0
9742 0 ▶ if (swig_module.types[i]->clientdata) {
Branch: 1 branch
BranchTrueFalseTotal
if (swig_module.types[i]->clientdata) { 0 0 0
9743 0 equiv = swig_module.types[i]->cast;
9744 0 ▶ while (equiv) {
Branch: 1 branch
BranchTrueFalseTotal
while (equiv) { 0 0 0
9745 0 ▶ if (!equiv->converter) {
Branch: 1 branch
BranchTrueFalseTotal
if (!equiv->converter) { 0 0 0
9746 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
9747 0 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
9748 }
9749 0 equiv = equiv->next;
9750 }
9751 }
9752 }
9753 }
9754  
9755 #ifdef __cplusplus
9756 #if 0
9757 {
9758 /* c-mode */
9759 #endif
9760 }
9761 #endif
9762  
9763  
9764  
9765 #if defined(__cplusplus) && ! defined(XSPROTO)
9766 extern "C"
9767 #endif
9768  
9769 0 XS(SWIG_init) {
9770 0 dXSARGS;
9771 int i;
9772 (void)items;
9773
9774 0 SWIG_InitializeModule(0);
9775
9776 /* Install commands */
9777 0 ▶ for (i = 0; swig_commands[i].name; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; swig_commands[i].name; i++) { 0 0 0
9778 /* Casts only needed for Perl < 5.10. */
9779 #ifdef __cplusplus
9780 newXS(const_cast<char*>(swig_commands[i].name), swig_commands[i].wrapper, const_cast<char*>(__FILE__));
9781 #else
9782 0 newXS((char*)swig_commands[i].name, swig_commands[i].wrapper, (char*)__FILE__);
9783 #endif
9784 }
9785
9786 /* Install variables */
9787 0 ▶ for (i = 0; swig_variables[i].name; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; swig_variables[i].name; i++) { 0 0 0
9788 SV *sv;
9789 0 sv = get_sv(swig_variables[i].name, TRUE | 0x2 | GV_ADDMULTI);
9790 0 ▶ if (swig_variables[i].type) {
Branch: 1 branch
BranchTrueFalseTotal
if (swig_variables[i].type) { 0 0 0
9791 0 SWIG_MakePtr(sv,(void *)1, *swig_variables[i].type,0);
9792 } else {
9793 0 sv_setiv(sv,(IV) 0);
9794 }
9795 0 swig_create_magic(sv, swig_variables[i].name, swig_variables[i].set, swig_variables[i].get);
9796 }
9797
9798 /* Install constant */
9799 0 ▶ for (i = 0; swig_constants[i].type; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; swig_constants[i].type; i++) { 0 0 0
9800 SV *sv;
9801 0 sv = get_sv(swig_constants[i].name, TRUE | 0x2 | GV_ADDMULTI);
9802 0 switch(swig_constants[i].type) {
9803 0 case SWIG_INT:
9804 0 sv_setiv(sv, (IV) swig_constants[i].lvalue);
9805 0 break;
9806 0 case SWIG_FLOAT:
9807 0 sv_setnv(sv, (double) swig_constants[i].dvalue);
9808 0 break;
9809 0 case SWIG_STRING:
9810 0 sv_setpv(sv, (const char *) swig_constants[i].pvalue);
9811 0 break;
9812 0 case SWIG_POINTER:
9813 0 SWIG_MakePtr(sv, swig_constants[i].pvalue, *(swig_constants[i].ptype),0);
9814 0 break;
9815 0 case SWIG_BINARY:
9816 0 SWIG_MakePackedObj(sv, swig_constants[i].pvalue, swig_constants[i].lvalue, *(swig_constants[i].ptype));
9817 0 break;
9818 0 default:
9819 0 break;
9820 }
9821 0 SvREADONLY_on(sv);
9822 }
9823
9824 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9825 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_VERSION", TRUE | 0x2 | GV_ADDMULTI);
9826 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(2.8)));
9827 0 SvREADONLY_on(sv);
9828 } while(0) /*@SWIG@*/;
9829 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9830 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_MAJOR_VERSION", TRUE | 0x2 | GV_ADDMULTI);
9831 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(2)));
9832 0 SvREADONLY_on(sv);
9833 } while(0) /*@SWIG@*/;
9834 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9835 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_MINOR_VERSION", TRUE | 0x2 | GV_ADDMULTI);
9836 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(8)));
9837 0 SvREADONLY_on(sv);
9838 } while(0) /*@SWIG@*/;
9839 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9840 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_POSZERO", TRUE | 0x2 | GV_ADDMULTI);
9841 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)((+0.0))));
9842 0 SvREADONLY_on(sv);
9843 } while(0) /*@SWIG@*/;
9844 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9845 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_NEGZERO", TRUE | 0x2 | GV_ADDMULTI);
9846 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)((-0.0))));
9847 0 SvREADONLY_on(sv);
9848 } while(0) /*@SWIG@*/;
9849 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9850 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_SUCCESS", TRUE | 0x2 | GV_ADDMULTI);
9851 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_SUCCESS)));
9852 0 SvREADONLY_on(sv);
9853 } while(0) /*@SWIG@*/;
9854 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9855 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_FAILURE", TRUE | 0x2 | GV_ADDMULTI);
9856 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_FAILURE)));
9857 0 SvREADONLY_on(sv);
9858 } while(0) /*@SWIG@*/;
9859 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9860 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_CONTINUE", TRUE | 0x2 | GV_ADDMULTI);
9861 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_CONTINUE)));
9862 0 SvREADONLY_on(sv);
9863 } while(0) /*@SWIG@*/;
9864 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9865 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EDOM", TRUE | 0x2 | GV_ADDMULTI);
9866 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EDOM)));
9867 0 SvREADONLY_on(sv);
9868 } while(0) /*@SWIG@*/;
9869 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9870 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ERANGE", TRUE | 0x2 | GV_ADDMULTI);
9871 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ERANGE)));
9872 0 SvREADONLY_on(sv);
9873 } while(0) /*@SWIG@*/;
9874 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9875 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EFAULT", TRUE | 0x2 | GV_ADDMULTI);
9876 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EFAULT)));
9877 0 SvREADONLY_on(sv);
9878 } while(0) /*@SWIG@*/;
9879 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9880 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EINVAL", TRUE | 0x2 | GV_ADDMULTI);
9881 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EINVAL)));
9882 0 SvREADONLY_on(sv);
9883 } while(0) /*@SWIG@*/;
9884 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9885 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EFAILED", TRUE | 0x2 | GV_ADDMULTI);
9886 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EFAILED)));
9887 0 SvREADONLY_on(sv);
9888 } while(0) /*@SWIG@*/;
9889 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9890 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EFACTOR", TRUE | 0x2 | GV_ADDMULTI);
9891 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EFACTOR)));
9892 0 SvREADONLY_on(sv);
9893 } while(0) /*@SWIG@*/;
9894 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9895 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ESANITY", TRUE | 0x2 | GV_ADDMULTI);
9896 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ESANITY)));
9897 0 SvREADONLY_on(sv);
9898 } while(0) /*@SWIG@*/;
9899 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9900 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ENOMEM", TRUE | 0x2 | GV_ADDMULTI);
9901 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ENOMEM)));
9902 0 SvREADONLY_on(sv);
9903 } while(0) /*@SWIG@*/;
9904 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9905 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EBADFUNC", TRUE | 0x2 | GV_ADDMULTI);
9906 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EBADFUNC)));
9907 0 SvREADONLY_on(sv);
9908 } while(0) /*@SWIG@*/;
9909 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9910 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ERUNAWAY", TRUE | 0x2 | GV_ADDMULTI);
9911 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ERUNAWAY)));
9912 0 SvREADONLY_on(sv);
9913 } while(0) /*@SWIG@*/;
9914 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9915 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EMAXITER", TRUE | 0x2 | GV_ADDMULTI);
9916 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EMAXITER)));
9917 0 SvREADONLY_on(sv);
9918 } while(0) /*@SWIG@*/;
9919 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9920 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EZERODIV", TRUE | 0x2 | GV_ADDMULTI);
9921 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EZERODIV)));
9922 0 SvREADONLY_on(sv);
9923 } while(0) /*@SWIG@*/;
9924 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9925 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EBADTOL", TRUE | 0x2 | GV_ADDMULTI);
9926 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EBADTOL)));
9927 0 SvREADONLY_on(sv);
9928 } while(0) /*@SWIG@*/;
9929 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9930 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ETOL", TRUE | 0x2 | GV_ADDMULTI);
9931 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ETOL)));
9932 0 SvREADONLY_on(sv);
9933 } while(0) /*@SWIG@*/;
9934 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9935 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EUNDRFLW", TRUE | 0x2 | GV_ADDMULTI);
9936 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EUNDRFLW)));
9937 0 SvREADONLY_on(sv);
9938 } while(0) /*@SWIG@*/;
9939 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9940 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EOVRFLW", TRUE | 0x2 | GV_ADDMULTI);
9941 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EOVRFLW)));
9942 0 SvREADONLY_on(sv);
9943 } while(0) /*@SWIG@*/;
9944 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9945 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ELOSS", TRUE | 0x2 | GV_ADDMULTI);
9946 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ELOSS)));
9947 0 SvREADONLY_on(sv);
9948 } while(0) /*@SWIG@*/;
9949 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9950 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EROUND", TRUE | 0x2 | GV_ADDMULTI);
9951 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EROUND)));
9952 0 SvREADONLY_on(sv);
9953 } while(0) /*@SWIG@*/;
9954 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9955 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EBADLEN", TRUE | 0x2 | GV_ADDMULTI);
9956 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EBADLEN)));
9957 0 SvREADONLY_on(sv);
9958 } while(0) /*@SWIG@*/;
9959 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9960 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ENOTSQR", TRUE | 0x2 | GV_ADDMULTI);
9961 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ENOTSQR)));
9962 0 SvREADONLY_on(sv);
9963 } while(0) /*@SWIG@*/;
9964 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9965 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ESING", TRUE | 0x2 | GV_ADDMULTI);
9966 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ESING)));
9967 0 SvREADONLY_on(sv);
9968 } while(0) /*@SWIG@*/;
9969 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9970 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EDIVERGE", TRUE | 0x2 | GV_ADDMULTI);
9971 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EDIVERGE)));
9972 0 SvREADONLY_on(sv);
9973 } while(0) /*@SWIG@*/;
9974 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9975 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EUNSUP", TRUE | 0x2 | GV_ADDMULTI);
9976 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EUNSUP)));
9977 0 SvREADONLY_on(sv);
9978 } while(0) /*@SWIG@*/;
9979 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9980 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EUNIMPL", TRUE | 0x2 | GV_ADDMULTI);
9981 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EUNIMPL)));
9982 0 SvREADONLY_on(sv);
9983 } while(0) /*@SWIG@*/;
9984 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9985 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ECACHE", TRUE | 0x2 | GV_ADDMULTI);
9986 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ECACHE)));
9987 0 SvREADONLY_on(sv);
9988 } while(0) /*@SWIG@*/;
9989 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9990 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ETABLE", TRUE | 0x2 | GV_ADDMULTI);
9991 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ETABLE)));
9992 0 SvREADONLY_on(sv);
9993 } while(0) /*@SWIG@*/;
9994 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
9995 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ENOPROG", TRUE | 0x2 | GV_ADDMULTI);
9996 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ENOPROG)));
9997 0 SvREADONLY_on(sv);
9998 } while(0) /*@SWIG@*/;
9999 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
10000 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ENOPROGJ", TRUE | 0x2 | GV_ADDMULTI);
10001 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ENOPROGJ)));
10002 0 SvREADONLY_on(sv);
10003 } while(0) /*@SWIG@*/;
10004 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
10005 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ETOLF", TRUE | 0x2 | GV_ADDMULTI);
10006 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ETOLF)));
10007 0 SvREADONLY_on(sv);
10008 } while(0) /*@SWIG@*/;
10009 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
10010 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ETOLX", TRUE | 0x2 | GV_ADDMULTI);
10011 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ETOLX)));
10012 0 SvREADONLY_on(sv);
10013 } while(0) /*@SWIG@*/;
10014 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
10015 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ETOLG", TRUE | 0x2 | GV_ADDMULTI);
10016 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ETOLG)));
10017 0 SvREADONLY_on(sv);
10018 } while(0) /*@SWIG@*/;
10019 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
10020 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EOF", TRUE | 0x2 | GV_ADDMULTI);
10021 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EOF)));
10022 0 SvREADONLY_on(sv);
10023 } while(0) /*@SWIG@*/;
10024 0 SWIG_TypeClientData(SWIGTYPE_p_gsl_complex, (void*) "Math::GSL::MatrixComplex::gsl_complex");
10025 0 SWIG_TypeClientData(SWIGTYPE_p_gsl_complex_long_double, (void*) "Math::GSL::MatrixComplex::gsl_complex_long_double");
10026 0 SWIG_TypeClientData(SWIGTYPE_p_gsl_complex_float, (void*) "Math::GSL::MatrixComplex::gsl_complex_float");
10027 0 SWIG_TypeClientData(SWIGTYPE_p_gsl_vector, (void*) "Math::GSL::MatrixComplex::gsl_vector");
10028 0 SWIG_TypeClientData(SWIGTYPE_p__gsl_vector_view, (void*) "Math::GSL::MatrixComplex::_gsl_vector_view");
10029 0 SWIG_TypeClientData(SWIGTYPE_p__gsl_vector_const_view, (void*) "Math::GSL::MatrixComplex::_gsl_vector_const_view");
10030 0 SWIG_TypeClientData(SWIGTYPE_p_gsl_matrix_complex, (void*) "Math::GSL::MatrixComplex::gsl_matrix_complex");
10031 0 SWIG_TypeClientData(SWIGTYPE_p__gsl_matrix_complex_view, (void*) "Math::GSL::MatrixComplex::_gsl_matrix_complex_view");
10032 0 SWIG_TypeClientData(SWIGTYPE_p__gsl_matrix_complex_const_view, (void*) "Math::GSL::MatrixComplex::_gsl_matrix_complex_const_view");
10033 0 ST(0) = &PL_sv_yes;
10034 0 XSRETURN(1);
10035 }
10036  
« xs/Machine_wrap.2.8.c ↑ Summary xs/Matrix_wrap.2.8.c »