1 /* ----------------------------------------------------------------------------
2  * This file was automatically generated by SWIG (http://www.swig.org).
3  * Version 4.0.1
4  *
5  * This file is not intended to be easily readable and contains a number of
6  * coding conventions designed to improve portability and efficiency. Do not make
7  * changes to this file unless you know what you are doing--modify the SWIG
8  * interface file instead.
9  * ----------------------------------------------------------------------------- */
10 
11 
12 #ifndef SWIGPERL
13 #define SWIGPERL
14 #endif
15 
16 #define SWIG_CASTRANK_MODE
17 
18 /* -----------------------------------------------------------------------------
19  *  This section contains generic SWIG labels for method/variable
20  *  declarations/attributes, and other compiler dependent labels.
21  * ----------------------------------------------------------------------------- */
22 
23 /* template workaround for compilers that cannot correctly implement the C++ standard */
24 #ifndef SWIGTEMPLATEDISAMBIGUATOR
25 # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
26 #  define SWIGTEMPLATEDISAMBIGUATOR template
27 # elif defined(__HP_aCC)
28 /* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */
29 /* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */
30 #  define SWIGTEMPLATEDISAMBIGUATOR template
31 # else
32 #  define SWIGTEMPLATEDISAMBIGUATOR
33 # endif
34 #endif
35 
36 /* inline attribute */
37 #ifndef SWIGINLINE
38 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
39 #   define SWIGINLINE inline
40 # else
41 #   define SWIGINLINE
42 # endif
43 #endif
44 
45 /* attribute recognised by some compilers to avoid 'unused' warnings */
46 #ifndef SWIGUNUSED
47 # if defined(__GNUC__)
48 #   if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
49 #     define SWIGUNUSED __attribute__ ((__unused__))
50 #   else
51 #     define SWIGUNUSED
52 #   endif
53 # elif defined(__ICC)
54 #   define SWIGUNUSED __attribute__ ((__unused__))
55 # else
56 #   define SWIGUNUSED
57 # endif
58 #endif
59 
60 #ifndef SWIG_MSC_UNSUPPRESS_4505
61 # if defined(_MSC_VER)
62 #   pragma warning(disable : 4505) /* unreferenced local function has been removed */
63 # endif
64 #endif
65 
66 #ifndef SWIGUNUSEDPARM
67 # ifdef __cplusplus
68 #   define SWIGUNUSEDPARM(p)
69 # else
70 #   define SWIGUNUSEDPARM(p) p SWIGUNUSED
71 # endif
72 #endif
73 
74 /* internal SWIG method */
75 #ifndef SWIGINTERN
76 # define SWIGINTERN static SWIGUNUSED
77 #endif
78 
79 /* internal inline SWIG method */
80 #ifndef SWIGINTERNINLINE
81 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
82 #endif
83 
84 /* exporting methods */
85 #if defined(__GNUC__)
86 #  if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
87 #    ifndef GCC_HASCLASSVISIBILITY
88 #      define GCC_HASCLASSVISIBILITY
89 #    endif
90 #  endif
91 #endif
92 
93 #ifndef SWIGEXPORT
94 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
95 #   if defined(STATIC_LINKED)
96 #     define SWIGEXPORT
97 #   else
98 #     define SWIGEXPORT __declspec(dllexport)
99 #   endif
100 # else
101 #   if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
102 #     define SWIGEXPORT __attribute__ ((visibility("default")))
103 #   else
104 #     define SWIGEXPORT
105 #   endif
106 # endif
107 #endif
108 
109 /* calling conventions for Windows */
110 #ifndef SWIGSTDCALL
111 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
112 #   define SWIGSTDCALL __stdcall
113 # else
114 #   define SWIGSTDCALL
115 # endif
116 #endif
117 
118 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
119 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
120 # define _CRT_SECURE_NO_DEPRECATE
121 #endif
122 
123 /* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */
124 #if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
125 # define _SCL_SECURE_NO_DEPRECATE
126 #endif
127 
128 /* Deal with Apple's deprecated 'AssertMacros.h' from Carbon-framework */
129 #if defined(__APPLE__) && !defined(__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES)
130 # define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0
131 #endif
132 
133 /* Intel's compiler complains if a variable which was never initialised is
134  * cast to void, which is a common idiom which we use to indicate that we
135  * are aware a variable isn't used.  So we just silence that warning.
136  * See: https://github.com/swig/swig/issues/192 for more discussion.
137  */
138 #ifdef __INTEL_COMPILER
139 # pragma warning disable 592
140 #endif
141 
142 /* -----------------------------------------------------------------------------
143  * swigrun.swg
144  *
145  * This file contains generic C API SWIG runtime support for pointer
146  * type checking.
147  * ----------------------------------------------------------------------------- */
148 
149 /* This should only be incremented when either the layout of swig_type_info changes,
150    or for whatever reason, the runtime changes incompatibly */
151 #define SWIG_RUNTIME_VERSION "4"
152 
153 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
154 #ifdef SWIG_TYPE_TABLE
155 # define SWIG_QUOTE_STRING(x) #x
156 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
157 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
158 #else
159 # define SWIG_TYPE_TABLE_NAME
160 #endif
161 
162 /*
163   You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
164   creating a static or dynamic library from the SWIG runtime code.
165   In 99.9% of the cases, SWIG just needs to declare them as 'static'.
166 
167   But only do this if strictly necessary, ie, if you have problems
168   with your compiler or suchlike.
169 */
170 
171 #ifndef SWIGRUNTIME
172 # define SWIGRUNTIME SWIGINTERN
173 #endif
174 
175 #ifndef SWIGRUNTIMEINLINE
176 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
177 #endif
178 
179 /*  Generic buffer size */
180 #ifndef SWIG_BUFFER_SIZE
181 # define SWIG_BUFFER_SIZE 1024
182 #endif
183 
184 /* Flags for pointer conversions */
185 #define SWIG_POINTER_DISOWN        0x1
186 #define SWIG_CAST_NEW_MEMORY       0x2
187 #define SWIG_POINTER_NO_NULL       0x4
188 
189 /* Flags for new pointer objects */
190 #define SWIG_POINTER_OWN           0x1
191 
192 
193 /*
194    Flags/methods for returning states.
195 
196    The SWIG conversion methods, as ConvertPtr, return an integer
197    that tells if the conversion was successful or not. And if not,
198    an error code can be returned (see swigerrors.swg for the codes).
199 
200    Use the following macros/flags to set or process the returning
201    states.
202 
203    In old versions of SWIG, code such as the following was usually written:
204 
205      if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
206        // success code
207      } else {
208        //fail code
209      }
210 
211    Now you can be more explicit:
212 
213     int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
214     if (SWIG_IsOK(res)) {
215       // success code
216     } else {
217       // fail code
218     }
219 
220    which is the same really, but now you can also do
221 
222     Type *ptr;
223     int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
224     if (SWIG_IsOK(res)) {
225       // success code
226       if (SWIG_IsNewObj(res) {
227         ...
228 	delete *ptr;
229       } else {
230         ...
231       }
232     } else {
233       // fail code
234     }
235 
236    I.e., now SWIG_ConvertPtr can return new objects and you can
237    identify the case and take care of the deallocation. Of course that
238    also requires SWIG_ConvertPtr to return new result values, such as
239 
240       int SWIG_ConvertPtr(obj, ptr,...) {
241         if (<obj is ok>) {
242           if (<need new object>) {
243             *ptr = <ptr to new allocated object>;
244             return SWIG_NEWOBJ;
245           } else {
246             *ptr = <ptr to old object>;
247             return SWIG_OLDOBJ;
248           }
249         } else {
250           return SWIG_BADOBJ;
251         }
252       }
253 
254    Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
255    more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
256    SWIG errors code.
257 
258    Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
259    allows to return the 'cast rank', for example, if you have this
260 
261        int food(double)
262        int fooi(int);
263 
264    and you call
265 
266       food(1)   // cast rank '1'  (1 -> 1.0)
267       fooi(1)   // cast rank '0'
268 
269    just use the SWIG_AddCast()/SWIG_CheckState()
270 */
271 
272 #define SWIG_OK                    (0)
273 #define SWIG_ERROR                 (-1)
274 #define SWIG_IsOK(r)               (r >= 0)
275 #define SWIG_ArgError(r)           ((r != SWIG_ERROR) ? r : SWIG_TypeError)
276 
277 /* The CastRankLimit says how many bits are used for the cast rank */
278 #define SWIG_CASTRANKLIMIT         (1 << 8)
279 /* The NewMask denotes the object was created (using new/malloc) */
280 #define SWIG_NEWOBJMASK            (SWIG_CASTRANKLIMIT  << 1)
281 /* The TmpMask is for in/out typemaps that use temporal objects */
282 #define SWIG_TMPOBJMASK            (SWIG_NEWOBJMASK << 1)
283 /* Simple returning values */
284 #define SWIG_BADOBJ                (SWIG_ERROR)
285 #define SWIG_OLDOBJ                (SWIG_OK)
286 #define SWIG_NEWOBJ                (SWIG_OK | SWIG_NEWOBJMASK)
287 #define SWIG_TMPOBJ                (SWIG_OK | SWIG_TMPOBJMASK)
288 /* Check, add and del mask methods */
289 #define SWIG_AddNewMask(r)         (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
290 #define SWIG_DelNewMask(r)         (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
291 #define SWIG_IsNewObj(r)           (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
292 #define SWIG_AddTmpMask(r)         (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
293 #define SWIG_DelTmpMask(r)         (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
294 #define SWIG_IsTmpObj(r)           (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
295 
296 /* Cast-Rank Mode */
297 #if defined(SWIG_CASTRANK_MODE)
298 #  ifndef SWIG_TypeRank
299 #    define SWIG_TypeRank             unsigned long
300 #  endif
301 #  ifndef SWIG_MAXCASTRANK            /* Default cast allowed */
302 #    define SWIG_MAXCASTRANK          (2)
303 #  endif
304 #  define SWIG_CASTRANKMASK          ((SWIG_CASTRANKLIMIT) -1)
305 #  define SWIG_CastRank(r)           (r & SWIG_CASTRANKMASK)
SWIG_AddCast(int r)306 SWIGINTERNINLINE int SWIG_AddCast(int r) {
307   return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
308 }
SWIG_CheckState(int r)309 SWIGINTERNINLINE int SWIG_CheckState(int r) {
310   return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
311 }
312 #else /* no cast-rank mode */
313 #  define SWIG_AddCast(r) (r)
314 #  define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 #endif
316 
317 
318 #include <string.h>
319 
320 #ifdef __cplusplus
321 extern "C" {
322 #endif
323 
324 typedef void *(*swig_converter_func)(void *, int *);
325 typedef struct swig_type_info *(*swig_dycast_func)(void **);
326 
327 /* Structure to store information on one type */
328 typedef struct swig_type_info {
329   const char             *name;			/* mangled name of this type */
330   const char             *str;			/* human readable name of this type */
331   swig_dycast_func        dcast;		/* dynamic cast function down a hierarchy */
332   struct swig_cast_info  *cast;			/* linked list of types that can cast into this type */
333   void                   *clientdata;		/* language specific type data */
334   int                    owndata;		/* flag if the structure owns the clientdata */
335 } swig_type_info;
336 
337 /* Structure to store a type and conversion function used for casting */
338 typedef struct swig_cast_info {
339   swig_type_info         *type;			/* pointer to type that is equivalent to this type */
340   swig_converter_func     converter;		/* function to cast the void pointers */
341   struct swig_cast_info  *next;			/* pointer to next cast in linked list */
342   struct swig_cast_info  *prev;			/* pointer to the previous cast */
343 } swig_cast_info;
344 
345 /* Structure used to store module information
346  * Each module generates one structure like this, and the runtime collects
347  * all of these structures and stores them in a circularly linked list.*/
348 typedef struct swig_module_info {
349   swig_type_info         **types;		/* Array of pointers to swig_type_info structures that are in this module */
350   size_t                 size;		        /* Number of types in this module */
351   struct swig_module_info *next;		/* Pointer to next element in circularly linked list */
352   swig_type_info         **type_initial;	/* Array of initially generated type structures */
353   swig_cast_info         **cast_initial;	/* Array of initially generated casting structures */
354   void                    *clientdata;		/* Language specific module data */
355 } swig_module_info;
356 
357 /*
358   Compare two type names skipping the space characters, therefore
359   "char*" == "char *" and "Class<int>" == "Class<int >", etc.
360 
361   Return 0 when the two name types are equivalent, as in
362   strncmp, but skipping ' '.
363 */
364 SWIGRUNTIME int
SWIG_TypeNameComp(const char * f1,const char * l1,const char * f2,const char * l2)365 SWIG_TypeNameComp(const char *f1, const char *l1,
366 		  const char *f2, const char *l2) {
367   for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
368     while ((*f1 == ' ') && (f1 != l1)) ++f1;
369     while ((*f2 == ' ') && (f2 != l2)) ++f2;
370     if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
371   }
372   return (int)((l1 - f1) - (l2 - f2));
373 }
374 
375 /*
376   Check type equivalence in a name list like <name1>|<name2>|...
377   Return 0 if equal, -1 if nb < tb, 1 if nb > tb
378 */
379 SWIGRUNTIME int
SWIG_TypeCmp(const char * nb,const char * tb)380 SWIG_TypeCmp(const char *nb, const char *tb) {
381   int equiv = 1;
382   const char* te = tb + strlen(tb);
383   const char* ne = nb;
384   while (equiv != 0 && *ne) {
385     for (nb = ne; *ne; ++ne) {
386       if (*ne == '|') break;
387     }
388     equiv = SWIG_TypeNameComp(nb, ne, tb, te);
389     if (*ne) ++ne;
390   }
391   return equiv;
392 }
393 
394 /*
395   Check type equivalence in a name list like <name1>|<name2>|...
396   Return 0 if not equal, 1 if equal
397 */
398 SWIGRUNTIME int
SWIG_TypeEquiv(const char * nb,const char * tb)399 SWIG_TypeEquiv(const char *nb, const char *tb) {
400   return SWIG_TypeCmp(nb, tb) == 0 ? 1 : 0;
401 }
402 
403 /*
404   Check the typename
405 */
406 SWIGRUNTIME swig_cast_info *
SWIG_TypeCheck(const char * c,swig_type_info * ty)407 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
408   if (ty) {
409     swig_cast_info *iter = ty->cast;
410     while (iter) {
411       if (strcmp(iter->type->name, c) == 0) {
412         if (iter == ty->cast)
413           return iter;
414         /* Move iter to the top of the linked list */
415         iter->prev->next = iter->next;
416         if (iter->next)
417           iter->next->prev = iter->prev;
418         iter->next = ty->cast;
419         iter->prev = 0;
420         if (ty->cast) ty->cast->prev = iter;
421         ty->cast = iter;
422         return iter;
423       }
424       iter = iter->next;
425     }
426   }
427   return 0;
428 }
429 
430 /*
431   Identical to SWIG_TypeCheck, except strcmp is replaced with a pointer comparison
432 */
433 SWIGRUNTIME swig_cast_info *
SWIG_TypeCheckStruct(swig_type_info * from,swig_type_info * ty)434 SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *ty) {
435   if (ty) {
436     swig_cast_info *iter = ty->cast;
437     while (iter) {
438       if (iter->type == from) {
439         if (iter == ty->cast)
440           return iter;
441         /* Move iter to the top of the linked list */
442         iter->prev->next = iter->next;
443         if (iter->next)
444           iter->next->prev = iter->prev;
445         iter->next = ty->cast;
446         iter->prev = 0;
447         if (ty->cast) ty->cast->prev = iter;
448         ty->cast = iter;
449         return iter;
450       }
451       iter = iter->next;
452     }
453   }
454   return 0;
455 }
456 
457 /*
458   Cast a pointer up an inheritance hierarchy
459 */
460 SWIGRUNTIMEINLINE void *
SWIG_TypeCast(swig_cast_info * ty,void * ptr,int * newmemory)461 SWIG_TypeCast(swig_cast_info *ty, void *ptr, int *newmemory) {
462   return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr, newmemory);
463 }
464 
465 /*
466    Dynamic pointer casting. Down an inheritance hierarchy
467 */
468 SWIGRUNTIME swig_type_info *
SWIG_TypeDynamicCast(swig_type_info * ty,void ** ptr)469 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
470   swig_type_info *lastty = ty;
471   if (!ty || !ty->dcast) return ty;
472   while (ty && (ty->dcast)) {
473     ty = (*ty->dcast)(ptr);
474     if (ty) lastty = ty;
475   }
476   return lastty;
477 }
478 
479 /*
480   Return the name associated with this type
481 */
482 SWIGRUNTIMEINLINE const char *
SWIG_TypeName(const swig_type_info * ty)483 SWIG_TypeName(const swig_type_info *ty) {
484   return ty->name;
485 }
486 
487 /*
488   Return the pretty name associated with this type,
489   that is an unmangled type name in a form presentable to the user.
490 */
491 SWIGRUNTIME const char *
SWIG_TypePrettyName(const swig_type_info * type)492 SWIG_TypePrettyName(const swig_type_info *type) {
493   /* The "str" field contains the equivalent pretty names of the
494      type, separated by vertical-bar characters.  We choose
495      to print the last name, as it is often (?) the most
496      specific. */
497   if (!type) return NULL;
498   if (type->str != NULL) {
499     const char *last_name = type->str;
500     const char *s;
501     for (s = type->str; *s; s++)
502       if (*s == '|') last_name = s+1;
503     return last_name;
504   }
505   else
506     return type->name;
507 }
508 
509 /*
510    Set the clientdata field for a type
511 */
512 SWIGRUNTIME void
SWIG_TypeClientData(swig_type_info * ti,void * clientdata)513 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
514   swig_cast_info *cast = ti->cast;
515   /* if (ti->clientdata == clientdata) return; */
516   ti->clientdata = clientdata;
517 
518   while (cast) {
519     if (!cast->converter) {
520       swig_type_info *tc = cast->type;
521       if (!tc->clientdata) {
522 	SWIG_TypeClientData(tc, clientdata);
523       }
524     }
525     cast = cast->next;
526   }
527 }
528 SWIGRUNTIME void
SWIG_TypeNewClientData(swig_type_info * ti,void * clientdata)529 SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
530   SWIG_TypeClientData(ti, clientdata);
531   ti->owndata = 1;
532 }
533 
534 /*
535   Search for a swig_type_info structure only by mangled name
536   Search is a O(log #types)
537 
538   We start searching at module start, and finish searching when start == end.
539   Note: if start == end at the beginning of the function, we go all the way around
540   the circular list.
541 */
542 SWIGRUNTIME swig_type_info *
SWIG_MangledTypeQueryModule(swig_module_info * start,swig_module_info * end,const char * name)543 SWIG_MangledTypeQueryModule(swig_module_info *start,
544                             swig_module_info *end,
545 		            const char *name) {
546   swig_module_info *iter = start;
547   do {
548     if (iter->size) {
549       size_t l = 0;
550       size_t r = iter->size - 1;
551       do {
552 	/* since l+r >= 0, we can (>> 1) instead (/ 2) */
553 	size_t i = (l + r) >> 1;
554 	const char *iname = iter->types[i]->name;
555 	if (iname) {
556 	  int compare = strcmp(name, iname);
557 	  if (compare == 0) {
558 	    return iter->types[i];
559 	  } else if (compare < 0) {
560 	    if (i) {
561 	      r = i - 1;
562 	    } else {
563 	      break;
564 	    }
565 	  } else if (compare > 0) {
566 	    l = i + 1;
567 	  }
568 	} else {
569 	  break; /* should never happen */
570 	}
571       } while (l <= r);
572     }
573     iter = iter->next;
574   } while (iter != end);
575   return 0;
576 }
577 
578 /*
579   Search for a swig_type_info structure for either a mangled name or a human readable name.
580   It first searches the mangled names of the types, which is a O(log #types)
581   If a type is not found it then searches the human readable names, which is O(#types).
582 
583   We start searching at module start, and finish searching when start == end.
584   Note: if start == end at the beginning of the function, we go all the way around
585   the circular list.
586 */
587 SWIGRUNTIME swig_type_info *
SWIG_TypeQueryModule(swig_module_info * start,swig_module_info * end,const char * name)588 SWIG_TypeQueryModule(swig_module_info *start,
589                      swig_module_info *end,
590 		     const char *name) {
591   /* STEP 1: Search the name field using binary search */
592   swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
593   if (ret) {
594     return ret;
595   } else {
596     /* STEP 2: If the type hasn't been found, do a complete search
597        of the str field (the human readable name) */
598     swig_module_info *iter = start;
599     do {
600       size_t i = 0;
601       for (; i < iter->size; ++i) {
602 	if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
603 	  return iter->types[i];
604       }
605       iter = iter->next;
606     } while (iter != end);
607   }
608 
609   /* neither found a match */
610   return 0;
611 }
612 
613 /*
614    Pack binary data into a string
615 */
616 SWIGRUNTIME char *
SWIG_PackData(char * c,void * ptr,size_t sz)617 SWIG_PackData(char *c, void *ptr, size_t sz) {
618   static const char hex[17] = "0123456789abcdef";
619   const unsigned char *u = (unsigned char *) ptr;
620   const unsigned char *eu =  u + sz;
621   for (; u != eu; ++u) {
622     unsigned char uu = *u;
623     *(c++) = hex[(uu & 0xf0) >> 4];
624     *(c++) = hex[uu & 0xf];
625   }
626   return c;
627 }
628 
629 /*
630    Unpack binary data from a string
631 */
632 SWIGRUNTIME const char *
SWIG_UnpackData(const char * c,void * ptr,size_t sz)633 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
634   unsigned char *u = (unsigned char *) ptr;
635   const unsigned char *eu = u + sz;
636   for (; u != eu; ++u) {
637     char d = *(c++);
638     unsigned char uu;
639     if ((d >= '0') && (d <= '9'))
640       uu = (unsigned char)((d - '0') << 4);
641     else if ((d >= 'a') && (d <= 'f'))
642       uu = (unsigned char)((d - ('a'-10)) << 4);
643     else
644       return (char *) 0;
645     d = *(c++);
646     if ((d >= '0') && (d <= '9'))
647       uu |= (unsigned char)(d - '0');
648     else if ((d >= 'a') && (d <= 'f'))
649       uu |= (unsigned char)(d - ('a'-10));
650     else
651       return (char *) 0;
652     *u = uu;
653   }
654   return c;
655 }
656 
657 /*
658    Pack 'void *' into a string buffer.
659 */
660 SWIGRUNTIME char *
SWIG_PackVoidPtr(char * buff,void * ptr,const char * name,size_t bsz)661 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
662   char *r = buff;
663   if ((2*sizeof(void *) + 2) > bsz) return 0;
664   *(r++) = '_';
665   r = SWIG_PackData(r,&ptr,sizeof(void *));
666   if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
667   strcpy(r,name);
668   return buff;
669 }
670 
671 SWIGRUNTIME const char *
SWIG_UnpackVoidPtr(const char * c,void ** ptr,const char * name)672 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
673   if (*c != '_') {
674     if (strcmp(c,"NULL") == 0) {
675       *ptr = (void *) 0;
676       return name;
677     } else {
678       return 0;
679     }
680   }
681   return SWIG_UnpackData(++c,ptr,sizeof(void *));
682 }
683 
684 SWIGRUNTIME char *
SWIG_PackDataName(char * buff,void * ptr,size_t sz,const char * name,size_t bsz)685 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
686   char *r = buff;
687   size_t lname = (name ? strlen(name) : 0);
688   if ((2*sz + 2 + lname) > bsz) return 0;
689   *(r++) = '_';
690   r = SWIG_PackData(r,ptr,sz);
691   if (lname) {
692     strncpy(r,name,lname+1);
693   } else {
694     *r = 0;
695   }
696   return buff;
697 }
698 
699 SWIGRUNTIME const char *
SWIG_UnpackDataName(const char * c,void * ptr,size_t sz,const char * name)700 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
701   if (*c != '_') {
702     if (strcmp(c,"NULL") == 0) {
703       memset(ptr,0,sz);
704       return name;
705     } else {
706       return 0;
707     }
708   }
709   return SWIG_UnpackData(++c,ptr,sz);
710 }
711 
712 #ifdef __cplusplus
713 }
714 #endif
715 
716 /*  Errors in SWIG */
717 #define  SWIG_UnknownError    	   -1
718 #define  SWIG_IOError        	   -2
719 #define  SWIG_RuntimeError   	   -3
720 #define  SWIG_IndexError     	   -4
721 #define  SWIG_TypeError      	   -5
722 #define  SWIG_DivisionByZero 	   -6
723 #define  SWIG_OverflowError  	   -7
724 #define  SWIG_SyntaxError    	   -8
725 #define  SWIG_ValueError     	   -9
726 #define  SWIG_SystemError    	   -10
727 #define  SWIG_AttributeError 	   -11
728 #define  SWIG_MemoryError    	   -12
729 #define  SWIG_NullReferenceError   -13
730 
731 
732 
733 #ifdef __cplusplus
734 /* Needed on some windows machines---since MS plays funny games with the header files under C++ */
735 #include <math.h>
736 #include <stdlib.h>
737 extern "C" {
738 #endif
739 #include "EXTERN.h"
740 #include "perl.h"
741 #include "XSUB.h"
742 
743 /* Add in functionality missing in older versions of Perl. Much of this is based on Devel-PPPort on cpan. */
744 
745 /* Add PERL_REVISION, PERL_VERSION, PERL_SUBVERSION if missing */
746 #ifndef PERL_REVISION
747 #  if !defined(__PATCHLEVEL_H_INCLUDED__) && !(defined(PATCHLEVEL) && defined(SUBVERSION))
748 #    define PERL_PATCHLEVEL_H_IMPLICIT
749 #    include <patchlevel.h>
750 #  endif
751 #  if !(defined(PERL_VERSION) || (defined(SUBVERSION) && defined(PATCHLEVEL)))
752 #    include <could_not_find_Perl_patchlevel.h>
753 #  endif
754 #  ifndef PERL_REVISION
755 #    define PERL_REVISION       (5)
756 #    define PERL_VERSION        PATCHLEVEL
757 #    define PERL_SUBVERSION     SUBVERSION
758 #  endif
759 #endif
760 
761 #if defined(WIN32) && defined(PERL_OBJECT) && !defined(PerlIO_exportFILE)
762 #define PerlIO_exportFILE(fh,fl) (FILE*)(fh)
763 #endif
764 
765 #ifndef SvIOK_UV
766 # define SvIOK_UV(sv)       (SvIOK(sv) && (SvUVX(sv) == SvIVX(sv)))
767 #endif
768 
769 #ifndef SvUOK
770 # define SvUOK(sv)           SvIOK_UV(sv)
771 #endif
772 
773 #if ((PERL_VERSION < 4) || ((PERL_VERSION == 4) && (PERL_SUBVERSION <= 5)))
774 #  define PL_sv_undef               sv_undef
775 #  define PL_na	                    na
776 #  define PL_errgv                  errgv
777 #  define PL_sv_no                  sv_no
778 #  define PL_sv_yes                 sv_yes
779 #  define PL_markstack_ptr          markstack_ptr
780 #endif
781 
782 #ifndef IVSIZE
783 #  ifdef LONGSIZE
784 #    define IVSIZE LONGSIZE
785 #  else
786 #    define IVSIZE 4 /* A bold guess, but the best we can make. */
787 #  endif
788 #endif
789 
790 #ifndef INT2PTR
791 #  if (IVSIZE == PTRSIZE) && (UVSIZE == PTRSIZE)
792 #    define PTRV                  UV
793 #    define INT2PTR(any,d)        (any)(d)
794 #  else
795 #    if PTRSIZE == LONGSIZE
796 #      define PTRV                unsigned long
797 #    else
798 #      define PTRV                unsigned
799 #    endif
800 #    define INT2PTR(any,d)        (any)(PTRV)(d)
801 #  endif
802 
803 #  define NUM2PTR(any,d)  (any)(PTRV)(d)
804 #  define PTR2IV(p)       INT2PTR(IV,p)
805 #  define PTR2UV(p)       INT2PTR(UV,p)
806 #  define PTR2NV(p)       NUM2PTR(NV,p)
807 
808 #  if PTRSIZE == LONGSIZE
809 #    define PTR2ul(p)     (unsigned long)(p)
810 #  else
811 #    define PTR2ul(p)     INT2PTR(unsigned long,p)
812 #  endif
813 #endif /* !INT2PTR */
814 
815 #ifndef SvPV_nolen
816 # define SvPV_nolen(x) SvPV(x,PL_na)
817 #endif
818 
819 #ifndef get_sv
820 #  define get_sv perl_get_sv
821 #endif
822 
823 #ifndef ERRSV
824 #  define ERRSV get_sv("@",FALSE)
825 #endif
826 
827 #ifndef pTHX_
828 #define pTHX_
829 #endif
830 
831 #include <string.h>
832 #ifdef __cplusplus
833 }
834 #endif
835 
836 /* -----------------------------------------------------------------------------
837  * error manipulation
838  * ----------------------------------------------------------------------------- */
839 
840 SWIGINTERN const char*
SWIG_Perl_ErrorType(int code)841 SWIG_Perl_ErrorType(int code) {
842   switch(code) {
843   case SWIG_MemoryError:
844     return "MemoryError";
845   case SWIG_IOError:
846     return "IOError";
847   case SWIG_RuntimeError:
848     return "RuntimeError";
849   case SWIG_IndexError:
850     return "IndexError";
851   case SWIG_TypeError:
852     return "TypeError";
853   case SWIG_DivisionByZero:
854     return "ZeroDivisionError";
855   case SWIG_OverflowError:
856     return "OverflowError";
857   case SWIG_SyntaxError:
858     return "SyntaxError";
859   case SWIG_ValueError:
860     return "ValueError";
861   case SWIG_SystemError:
862     return "SystemError";
863   case SWIG_AttributeError:
864     return "AttributeError";
865   default:
866     return "RuntimeError";
867   }
868 }
869 
870 
871 /* -----------------------------------------------------------------------------
872  * perlrun.swg
873  *
874  * This file contains the runtime support for Perl modules
875  * and includes code for managing global variables and pointer
876  * type checking.
877  * ----------------------------------------------------------------------------- */
878 
879 #ifdef PERL_OBJECT
880 #define SWIG_PERL_OBJECT_DECL CPerlObj *SWIGUNUSEDPARM(pPerl),
881 #define SWIG_PERL_OBJECT_CALL pPerl,
882 #else
883 #define SWIG_PERL_OBJECT_DECL
884 #define SWIG_PERL_OBJECT_CALL
885 #endif
886 
887 /* Common SWIG API */
888 
889 /* for raw pointers */
890 #define SWIG_ConvertPtr(obj, pp, type, flags)           SWIG_Perl_ConvertPtr(SWIG_PERL_OBJECT_CALL obj, pp, type, flags)
891 #define SWIG_ConvertPtrAndOwn(obj, pp, type, flags,own) SWIG_Perl_ConvertPtrAndOwn(SWIG_PERL_OBJECT_CALL obj, pp, type, flags, own)
892 #define SWIG_NewPointerObj(p, type, flags)              SWIG_Perl_NewPointerObj(SWIG_PERL_OBJECT_CALL p, type, flags)
893 #define SWIG_AcquirePtr(ptr, src)                       SWIG_Perl_AcquirePtr(ptr, src)
894 #define swig_owntype                                    int
895 
896 /* for raw packed data */
897 #define SWIG_ConvertPacked(obj, p, s, type)             SWIG_Perl_ConvertPacked(SWIG_PERL_OBJECT_CALL obj, p, s, type)
898 #define SWIG_NewPackedObj(p, s, type)	                SWIG_Perl_NewPackedObj(SWIG_PERL_OBJECT_CALL p, s, type)
899 
900 /* for class or struct pointers */
901 #define SWIG_ConvertInstance(obj, pptr, type, flags)    SWIG_ConvertPtr(obj, pptr, type, flags)
902 #define SWIG_NewInstanceObj(ptr, type, flags)           SWIG_NewPointerObj(ptr, type, flags)
903 
904 /* for C or C++ function pointers */
905 #define SWIG_ConvertFunctionPtr(obj, pptr, type)        SWIG_ConvertPtr(obj, pptr, type, 0)
906 #define SWIG_NewFunctionPtrObj(ptr, type)               SWIG_NewPointerObj(ptr, type, 0)
907 
908 /* for C++ member pointers, ie, member methods */
909 #define SWIG_ConvertMember(obj, ptr, sz, ty)            SWIG_ConvertPacked(obj, ptr, sz, ty)
910 #define SWIG_NewMemberObj(ptr, sz, type)                SWIG_NewPackedObj(ptr, sz, type)
911 
912 
913 /* Runtime API */
914 
915 #define SWIG_GetModule(clientdata)                      SWIG_Perl_GetModule(clientdata)
916 #define SWIG_SetModule(clientdata, pointer)             SWIG_Perl_SetModule(pointer)
917 
918 
919 /* Error manipulation */
920 
921 #define SWIG_ErrorType(code)                            SWIG_Perl_ErrorType(code)
922 #define SWIG_Error(code, msg)            		sv_setpvf(get_sv("@", GV_ADD), "%s %s", SWIG_ErrorType(code), msg)
923 #define SWIG_fail                        		goto fail
924 
925 /* Perl-specific SWIG API */
926 
927 #define SWIG_MakePtr(sv, ptr, type, flags)              SWIG_Perl_MakePtr(SWIG_PERL_OBJECT_CALL sv, ptr, type, flags)
928 #define SWIG_MakePackedObj(sv, p, s, type)	        SWIG_Perl_MakePackedObj(SWIG_PERL_OBJECT_CALL sv, p, s, type)
929 #define SWIG_SetError(str)                              SWIG_Error(SWIG_RuntimeError, str)
930 
931 
932 #define SWIG_PERL_DECL_ARGS_1(arg1)                     (SWIG_PERL_OBJECT_DECL arg1)
933 #define SWIG_PERL_CALL_ARGS_1(arg1)                     (SWIG_PERL_OBJECT_CALL arg1)
934 #define SWIG_PERL_DECL_ARGS_2(arg1, arg2)               (SWIG_PERL_OBJECT_DECL arg1, arg2)
935 #define SWIG_PERL_CALL_ARGS_2(arg1, arg2)               (SWIG_PERL_OBJECT_CALL arg1, arg2)
936 
937 /* -----------------------------------------------------------------------------
938  * pointers/data manipulation
939  * ----------------------------------------------------------------------------- */
940 
941 /* For backward compatibility only */
942 #define SWIG_POINTER_EXCEPTION  0
943 
944 #ifdef __cplusplus
945 extern "C" {
946 #endif
947 
948 #define SWIG_OWNER   SWIG_POINTER_OWN
949 #define SWIG_SHADOW  SWIG_OWNER << 1
950 
951 #define SWIG_MAYBE_PERL_OBJECT SWIG_PERL_OBJECT_DECL
952 
953 /* SWIG Perl macros */
954 
955 /* Macro to declare an XS function */
956 #ifndef XSPROTO
957 #   define XSPROTO(name) void name(pTHX_ CV* cv)
958 #endif
959 
960 /* Macro to call an XS function */
961 #ifdef PERL_OBJECT
962 #  define SWIG_CALLXS(_name) _name(cv,pPerl)
963 #else
964 #  ifndef MULTIPLICITY
965 #    define SWIG_CALLXS(_name) _name(cv)
966 #  else
967 #    define SWIG_CALLXS(_name) _name(PERL_GET_THX, cv)
968 #  endif
969 #endif
970 
971 #ifdef PERL_OBJECT
972 #define MAGIC_PPERL  CPerlObj *pPerl = (CPerlObj *) this;
973 
974 #ifdef __cplusplus
975 extern "C" {
976 #endif
977 typedef int (CPerlObj::*SwigMagicFunc)(SV *, MAGIC *);
978 #ifdef __cplusplus
979 }
980 #endif
981 
982 #define SWIG_MAGIC(a,b) (SV *a, MAGIC *b)
983 #define SWIGCLASS_STATIC
984 
985 #else /* PERL_OBJECT */
986 
987 #define MAGIC_PPERL
988 #define SWIGCLASS_STATIC static SWIGUNUSED
989 
990 #ifndef MULTIPLICITY
991 #define SWIG_MAGIC(a,b) (SV *a, MAGIC *b)
992 
993 #ifdef __cplusplus
994 extern "C" {
995 #endif
996 typedef int (*SwigMagicFunc)(SV *, MAGIC *);
997 #ifdef __cplusplus
998 }
999 #endif
1000 
1001 #else /* MULTIPLICITY */
1002 
1003 #define SWIG_MAGIC(a,b) (struct interpreter *interp, SV *a, MAGIC *b)
1004 
1005 #ifdef __cplusplus
1006 extern "C" {
1007 #endif
1008 typedef int (*SwigMagicFunc)(struct interpreter *, SV *, MAGIC *);
1009 #ifdef __cplusplus
1010 }
1011 #endif
1012 
1013 #endif /* MULTIPLICITY */
1014 #endif /* PERL_OBJECT */
1015 
1016 #  ifdef PERL_OBJECT
1017 #    define SWIG_croak_null() SWIG_Perl_croak_null(pPerl)
SWIG_Perl_croak_null(CPerlObj * pPerl)1018 static void SWIGUNUSED SWIG_Perl_croak_null(CPerlObj *pPerl)
1019 #  else
1020 static void SWIGUNUSED SWIG_croak_null()
1021 #  endif
1022 {
1023   SV *err = get_sv("@", GV_ADD);
1024 #  if (PERL_VERSION < 6)
1025   croak("%_", err);
1026 #  else
1027   if (sv_isobject(err))
1028     croak(0);
1029   else
1030     croak("%s", SvPV_nolen(err));
1031 #  endif
1032 }
1033 
1034 
1035 /*
1036    Define how strict is the cast between strings and integers/doubles
1037    when overloading between these types occurs.
1038 
1039    The default is making it as strict as possible by using SWIG_AddCast
1040    when needed.
1041 
1042    You can use -DSWIG_PERL_NO_STRICT_STR2NUM at compilation time to
1043    disable the SWIG_AddCast, making the casting between string and
1044    numbers less strict.
1045 
1046    In the end, we try to solve the overloading between strings and
1047    numerical types in the more natural way, but if you can avoid it,
1048    well, avoid it using %rename, for example.
1049 */
1050 #ifndef SWIG_PERL_NO_STRICT_STR2NUM
1051 # ifndef SWIG_PERL_STRICT_STR2NUM
1052 #  define SWIG_PERL_STRICT_STR2NUM
1053 # endif
1054 #endif
1055 #ifdef SWIG_PERL_STRICT_STR2NUM
1056 /* string takes precedence */
1057 #define SWIG_Str2NumCast(x) SWIG_AddCast(x)
1058 #else
1059 /* number takes precedence */
1060 #define SWIG_Str2NumCast(x) x
1061 #endif
1062 
1063 
1064 
1065 #include <stdlib.h>
1066 
1067 SWIGRUNTIME const char *
SWIG_Perl_TypeProxyName(const swig_type_info * type)1068 SWIG_Perl_TypeProxyName(const swig_type_info *type) {
1069   if (!type) return NULL;
1070   if (type->clientdata != NULL) {
1071     return (const char*) type->clientdata;
1072   }
1073   else {
1074     return type->name;
1075   }
1076 }
1077 
1078 /* Identical to SWIG_TypeCheck, except for strcmp comparison */
1079 SWIGRUNTIME swig_cast_info *
SWIG_TypeProxyCheck(const char * c,swig_type_info * ty)1080 SWIG_TypeProxyCheck(const char *c, swig_type_info *ty) {
1081   if (ty) {
1082     swig_cast_info *iter = ty->cast;
1083     while (iter) {
1084       if (strcmp(SWIG_Perl_TypeProxyName(iter->type), c) == 0) {
1085         if (iter == ty->cast)
1086           return iter;
1087         /* Move iter to the top of the linked list */
1088         iter->prev->next = iter->next;
1089         if (iter->next)
1090           iter->next->prev = iter->prev;
1091         iter->next = ty->cast;
1092         iter->prev = 0;
1093         if (ty->cast) ty->cast->prev = iter;
1094         ty->cast = iter;
1095         return iter;
1096       }
1097       iter = iter->next;
1098     }
1099   }
1100   return 0;
1101 }
1102 
1103 /* Acquire a pointer value */
1104 
1105 SWIGRUNTIME int
SWIG_Perl_AcquirePtr(SWIG_MAYBE_PERL_OBJECT SV * sv,int own)1106 SWIG_Perl_AcquirePtr(SWIG_MAYBE_PERL_OBJECT SV *sv, int own) {
1107   /* TODO */
1108   return 0;
1109 }
1110 
1111 /* Function for getting a pointer value */
1112 
1113 SWIGRUNTIME int
SWIG_Perl_ConvertPtrAndOwn(SWIG_MAYBE_PERL_OBJECT SV * sv,void ** ptr,swig_type_info * _t,int flags,int * own)1114 SWIG_Perl_ConvertPtrAndOwn(SWIG_MAYBE_PERL_OBJECT SV *sv, void **ptr, swig_type_info *_t, int flags, int *own) {
1115   swig_cast_info *tc;
1116   void *voidptr = (void *)0;
1117   SV *tsv = 0;
1118 
1119   if (own)
1120     *own = 0;
1121 
1122   /* If magical, apply more magic */
1123   if (SvGMAGICAL(sv))
1124     mg_get(sv);
1125 
1126   /* Check to see if this is an object */
1127   if (sv_isobject(sv)) {
1128     IV tmp = 0;
1129     tsv = (SV*) SvRV(sv);
1130     if ((SvTYPE(tsv) == SVt_PVHV)) {
1131       MAGIC *mg;
1132       if (SvMAGICAL(tsv)) {
1133         mg = mg_find(tsv,'P');
1134         if (mg) {
1135           sv = mg->mg_obj;
1136           if (sv_isobject(sv)) {
1137 	    tsv = (SV*)SvRV(sv);
1138             tmp = SvIV(tsv);
1139           }
1140         }
1141       } else {
1142         return SWIG_ERROR;
1143       }
1144     } else {
1145       tmp = SvIV(tsv);
1146     }
1147     voidptr = INT2PTR(void *,tmp);
1148   } else if (! SvOK(sv)) {            /* Check for undef */
1149     *(ptr) = (void *) 0;
1150     return (flags & SWIG_POINTER_NO_NULL) ? SWIG_NullReferenceError : SWIG_OK;
1151   } else if (SvTYPE(sv) == SVt_RV) {  /* Check for NULL pointer */
1152     if (!SvROK(sv)) {
1153       /* In Perl 5.12 and later, SVt_RV == SVt_IV, so sv could be a valid integer value.  */
1154       if (SvIOK(sv)) {
1155         return SWIG_ERROR;
1156       } else {
1157         /* NULL pointer (reference to undef). */
1158         *(ptr) = (void *) 0;
1159         return SWIG_OK;
1160       }
1161     } else {
1162       return SWIG_ERROR;
1163     }
1164   } else {                            /* Don't know what it is */
1165     return SWIG_ERROR;
1166   }
1167   if (_t) {
1168     /* Now see if the types match */
1169     char *_c = HvNAME(SvSTASH(SvRV(sv)));
1170     tc = SWIG_TypeProxyCheck(_c,_t);
1171 #ifdef SWIG_DIRECTORS
1172     if (!tc && !sv_derived_from(sv,SWIG_Perl_TypeProxyName(_t))) {
1173 #else
1174     if (!tc) {
1175 #endif
1176       return SWIG_ERROR;
1177     }
1178     {
1179       int newmemory = 0;
1180       *ptr = SWIG_TypeCast(tc,voidptr,&newmemory);
1181       if (newmemory == SWIG_CAST_NEW_MEMORY) {
1182         assert(own); /* badly formed typemap which will lead to a memory leak - it must set and use own to delete *ptr */
1183         if (own)
1184           *own = *own | SWIG_CAST_NEW_MEMORY;
1185       }
1186     }
1187   } else {
1188     *ptr = voidptr;
1189   }
1190 
1191   /*
1192    *  DISOWN implementation: we need a perl guru to check this one.
1193    */
1194   if (tsv && (flags & SWIG_POINTER_DISOWN)) {
1195     /*
1196      *  almost copy paste code from below SWIG_POINTER_OWN setting
1197      */
1198     SV *obj = sv;
1199     HV *stash = SvSTASH(SvRV(obj));
1200     GV *gv = *(GV**)hv_fetch(stash, "OWNER", 5, TRUE);
1201     if (isGV(gv)) {
1202       HV *hv = GvHVn(gv);
1203       /*
1204        * To set ownership (see below), a newSViv(1) entry is added.
1205        * Hence, to remove ownership, we delete the entry.
1206        */
1207       if (hv_exists_ent(hv, obj, 0)) {
1208 	hv_delete_ent(hv, obj, 0, 0);
1209       }
1210     }
1211   }
1212   return SWIG_OK;
1213 }
1214 
1215 SWIGRUNTIME int
1216 SWIG_Perl_ConvertPtr(SWIG_MAYBE_PERL_OBJECT SV *sv, void **ptr, swig_type_info *_t, int flags) {
1217   return SWIG_Perl_ConvertPtrAndOwn(sv, ptr, _t, flags, 0);
1218 }
1219 
1220 SWIGRUNTIME void
1221 SWIG_Perl_MakePtr(SWIG_MAYBE_PERL_OBJECT SV *sv, void *ptr, swig_type_info *t, int flags) {
1222   if (ptr && (flags & (SWIG_SHADOW | SWIG_POINTER_OWN))) {
1223     SV *self;
1224     SV *obj=newSV(0);
1225     HV *hash=newHV();
1226     HV *stash;
1227     sv_setref_pv(obj, SWIG_Perl_TypeProxyName(t), ptr);
1228     stash=SvSTASH(SvRV(obj));
1229     if (flags & SWIG_POINTER_OWN) {
1230       HV *hv;
1231       GV *gv = *(GV**)hv_fetch(stash, "OWNER", 5, TRUE);
1232       if (!isGV(gv))
1233         gv_init(gv, stash, "OWNER", 5, FALSE);
1234       hv=GvHVn(gv);
1235       hv_store_ent(hv, obj, newSViv(1), 0);
1236     }
1237     sv_magic((SV *)hash, (SV *)obj, 'P', Nullch, 0);
1238     SvREFCNT_dec(obj);
1239     self=newRV_noinc((SV *)hash);
1240     sv_setsv(sv, self);
1241     SvREFCNT_dec((SV *)self);
1242     sv_bless(sv, stash);
1243   }
1244   else {
1245     sv_setref_pv(sv, SWIG_Perl_TypeProxyName(t), ptr);
1246   }
1247 }
1248 
1249 SWIGRUNTIMEINLINE SV *
1250 SWIG_Perl_NewPointerObj(SWIG_MAYBE_PERL_OBJECT void *ptr, swig_type_info *t, int flags) {
1251   SV *result = sv_newmortal();
1252   SWIG_MakePtr(result, ptr, t, flags);
1253   return result;
1254 }
1255 
1256 SWIGRUNTIME void
1257 SWIG_Perl_MakePackedObj(SWIG_MAYBE_PERL_OBJECT SV *sv, void *ptr, int sz, swig_type_info *type) {
1258   char result[1024];
1259   char *r = result;
1260   if ((2*sz + 1 + strlen(SWIG_Perl_TypeProxyName(type))) > 1000) return;
1261   *(r++) = '_';
1262   r = SWIG_PackData(r,ptr,sz);
1263   strcpy(r,SWIG_Perl_TypeProxyName(type));
1264   sv_setpv(sv, result);
1265 }
1266 
1267 SWIGRUNTIME SV *
1268 SWIG_Perl_NewPackedObj(SWIG_MAYBE_PERL_OBJECT void *ptr, int sz, swig_type_info *type) {
1269   SV *result = sv_newmortal();
1270   SWIG_Perl_MakePackedObj(result, ptr, sz, type);
1271   return result;
1272 }
1273 
1274 /* Convert a packed pointer value */
1275 SWIGRUNTIME int
1276 SWIG_Perl_ConvertPacked(SWIG_MAYBE_PERL_OBJECT SV *obj, void *ptr, int sz, swig_type_info *ty) {
1277   swig_cast_info *tc;
1278   const char  *c = 0;
1279 
1280   if ((!obj) || (!SvOK(obj))) return SWIG_ERROR;
1281   c = SvPV_nolen(obj);
1282   /* Pointer values must start with leading underscore */
1283   if (*c != '_') return SWIG_ERROR;
1284   c++;
1285   c = SWIG_UnpackData(c,ptr,sz);
1286   if (ty) {
1287     tc = SWIG_TypeCheck(c,ty);
1288     if (!tc) return SWIG_ERROR;
1289   }
1290   return SWIG_OK;
1291 }
1292 
1293 
1294 /* Macros for low-level exception handling */
1295 #define SWIG_croak(x)    { SWIG_Error(SWIG_RuntimeError, x); SWIG_fail; }
1296 
1297 
1298 typedef XSPROTO(SwigPerlWrapper);
1299 typedef SwigPerlWrapper *SwigPerlWrapperPtr;
1300 
1301 /* Structure for command table */
1302 typedef struct {
1303   const char         *name;
1304   SwigPerlWrapperPtr  wrapper;
1305 } swig_command_info;
1306 
1307 /* Information for constant table */
1308 
1309 #define SWIG_INT     1
1310 #define SWIG_FLOAT   2
1311 #define SWIG_STRING  3
1312 #define SWIG_POINTER 4
1313 #define SWIG_BINARY  5
1314 
1315 /* Constant information structure */
1316 typedef struct swig_constant_info {
1317     int              type;
1318     const char      *name;
1319     long             lvalue;
1320     double           dvalue;
1321     void            *pvalue;
1322     swig_type_info **ptype;
1323 } swig_constant_info;
1324 
1325 
1326 /* Structure for variable table */
1327 typedef struct {
1328   const char   *name;
1329   SwigMagicFunc   set;
1330   SwigMagicFunc   get;
1331   swig_type_info  **type;
1332 } swig_variable_info;
1333 
1334 /* Magic variable code */
1335 #ifndef PERL_OBJECT
1336 # ifdef __cplusplus
1337 #  define swig_create_magic(s,a,b,c) _swig_create_magic(s,const_cast<char*>(a),b,c)
1338 # else
1339 #  define swig_create_magic(s,a,b,c) _swig_create_magic(s,(char*)(a),b,c)
1340 # endif
1341 # ifndef MULTIPLICITY
1342 SWIGRUNTIME void _swig_create_magic(SV *sv, char *name, int (*set)(SV *, MAGIC *), int (*get)(SV *,MAGIC *))
1343 # else
1344 SWIGRUNTIME void _swig_create_magic(SV *sv, char *name, int (*set)(struct interpreter*, SV *, MAGIC *), int (*get)(struct interpreter*, SV *,MAGIC *))
1345 # endif
1346 #else
1347 #  define swig_create_magic(s,a,b,c) _swig_create_magic(pPerl,s,a,b,c)
1348 SWIGRUNTIME void _swig_create_magic(CPerlObj *pPerl, SV *sv, const char *name, int (CPerlObj::*set)(SV *, MAGIC *), int (CPerlObj::*get)(SV *, MAGIC *))
1349 #endif
1350 {
1351   MAGIC *mg;
1352   sv_magic(sv,sv,'U',name,strlen(name));
1353   mg = mg_find(sv,'U');
1354   mg->mg_virtual = (MGVTBL *) malloc(sizeof(MGVTBL));
1355   mg->mg_virtual->svt_get = (SwigMagicFunc) get;
1356   mg->mg_virtual->svt_set = (SwigMagicFunc) set;
1357   mg->mg_virtual->svt_len = 0;
1358   mg->mg_virtual->svt_clear = 0;
1359   mg->mg_virtual->svt_free = 0;
1360 }
1361 
1362 
1363 SWIGRUNTIME swig_module_info *
1364 SWIG_Perl_GetModule(void *SWIGUNUSEDPARM(clientdata)) {
1365   static void *type_pointer = (void *)0;
1366   SV *pointer;
1367 
1368   /* first check if pointer already created */
1369   if (!type_pointer) {
1370     pointer = get_sv("swig_runtime_data::type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME, FALSE | GV_ADDMULTI);
1371     if (pointer && SvOK(pointer)) {
1372       type_pointer = INT2PTR(swig_type_info **, SvIV(pointer));
1373     }
1374   }
1375 
1376   return (swig_module_info *) type_pointer;
1377 }
1378 
1379 SWIGRUNTIME void
1380 SWIG_Perl_SetModule(swig_module_info *module) {
1381   SV *pointer;
1382 
1383   /* create a new pointer */
1384   pointer = get_sv("swig_runtime_data::type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME, TRUE | GV_ADDMULTI);
1385   sv_setiv(pointer, PTR2IV(module));
1386 }
1387 
1388 #ifdef __cplusplus
1389 }
1390 #endif
1391 
1392 /* Workaround perl5 global namespace pollution. Note that undefining library
1393  * functions like fopen will not solve the problem on all platforms as fopen
1394  * might be a macro on Windows but not necessarily on other operating systems. */
1395 #ifdef do_open
1396   #undef do_open
1397 #endif
1398 #ifdef do_close
1399   #undef do_close
1400 #endif
1401 #ifdef do_exec
1402   #undef do_exec
1403 #endif
1404 #ifdef scalar
1405   #undef scalar
1406 #endif
1407 #ifdef list
1408   #undef list
1409 #endif
1410 #ifdef apply
1411   #undef apply
1412 #endif
1413 #ifdef convert
1414   #undef convert
1415 #endif
1416 #ifdef Error
1417   #undef Error
1418 #endif
1419 #ifdef form
1420   #undef form
1421 #endif
1422 #ifdef vform
1423   #undef vform
1424 #endif
1425 #ifdef LABEL
1426   #undef LABEL
1427 #endif
1428 #ifdef METHOD
1429   #undef METHOD
1430 #endif
1431 #ifdef Move
1432   #undef Move
1433 #endif
1434 #ifdef yylex
1435   #undef yylex
1436 #endif
1437 #ifdef yyparse
1438   #undef yyparse
1439 #endif
1440 #ifdef yyerror
1441   #undef yyerror
1442 #endif
1443 #ifdef invert
1444   #undef invert
1445 #endif
1446 #ifdef ref
1447   #undef ref
1448 #endif
1449 #ifdef read
1450   #undef read
1451 #endif
1452 #ifdef write
1453   #undef write
1454 #endif
1455 #ifdef eof
1456   #undef eof
1457 #endif
1458 #ifdef close
1459   #undef close
1460 #endif
1461 #ifdef rewind
1462   #undef rewind
1463 #endif
1464 #ifdef free
1465   #undef free
1466 #endif
1467 #ifdef malloc
1468   #undef malloc
1469 #endif
1470 #ifdef calloc
1471   #undef calloc
1472 #endif
1473 #ifdef Stat
1474   #undef Stat
1475 #endif
1476 #ifdef check
1477   #undef check
1478 #endif
1479 #ifdef seekdir
1480   #undef seekdir
1481 #endif
1482 #ifdef open
1483   #undef open
1484 #endif
1485 #ifdef readdir
1486   #undef readdir
1487 #endif
1488 #ifdef bind
1489   #undef bind
1490 #endif
1491 #ifdef access
1492   #undef access
1493 #endif
1494 #ifdef stat
1495   #undef stat
1496 #endif
1497 #ifdef seed
1498   #undef seed
1499 #endif
1500 
1501 #ifdef bool
1502   /* Leave if macro is from C99 stdbool.h */
1503   #ifndef __bool_true_false_are_defined
1504     #undef bool
1505   #endif
1506 #endif
1507 
1508 
1509 
1510 
1511 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
1512 
1513 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
1514 
1515 
1516 
1517 /* -------- TYPES TABLE (BEGIN) -------- */
1518 
1519 #define SWIGTYPE_p_CBLAS_DIAG swig_types[0]
1520 #define SWIGTYPE_p_CBLAS_INDEX swig_types[1]
1521 #define SWIGTYPE_p_CBLAS_ORDER swig_types[2]
1522 #define SWIGTYPE_p_CBLAS_SIDE swig_types[3]
1523 #define SWIGTYPE_p_CBLAS_TRANSPOSE swig_types[4]
1524 #define SWIGTYPE_p_CBLAS_UPLO swig_types[5]
1525 #define SWIGTYPE_p_FILE swig_types[6]
1526 #define SWIGTYPE_p__gsl_matrix_char_const_view swig_types[7]
1527 #define SWIGTYPE_p__gsl_matrix_char_view swig_types[8]
1528 #define SWIGTYPE_p__gsl_matrix_complex_const_view swig_types[9]
1529 #define SWIGTYPE_p__gsl_matrix_complex_view swig_types[10]
1530 #define SWIGTYPE_p__gsl_matrix_const_view swig_types[11]
1531 #define SWIGTYPE_p__gsl_matrix_int_const_view swig_types[12]
1532 #define SWIGTYPE_p__gsl_matrix_int_view swig_types[13]
1533 #define SWIGTYPE_p__gsl_matrix_view swig_types[14]
1534 #define SWIGTYPE_p__gsl_vector_char_const_view swig_types[15]
1535 #define SWIGTYPE_p__gsl_vector_char_view swig_types[16]
1536 #define SWIGTYPE_p__gsl_vector_complex_const_view swig_types[17]
1537 #define SWIGTYPE_p__gsl_vector_complex_view swig_types[18]
1538 #define SWIGTYPE_p__gsl_vector_const_view swig_types[19]
1539 #define SWIGTYPE_p__gsl_vector_int_const_view swig_types[20]
1540 #define SWIGTYPE_p__gsl_vector_int_view swig_types[21]
1541 #define SWIGTYPE_p__gsl_vector_view swig_types[22]
1542 #define SWIGTYPE_p_char swig_types[23]
1543 #define SWIGTYPE_p_double swig_types[24]
1544 #define SWIGTYPE_p_f_p_q_const__char_p_q_const__char_int_int__void swig_types[25]
1545 #define SWIGTYPE_p_f_p_q_const__char_p_q_const__char_int_p_q_const__char__void swig_types[26]
1546 #define SWIGTYPE_p_float swig_types[27]
1547 #define SWIGTYPE_p_gsl_block swig_types[28]
1548 #define SWIGTYPE_p_gsl_block_char swig_types[29]
1549 #define SWIGTYPE_p_gsl_block_complex swig_types[30]
1550 #define SWIGTYPE_p_gsl_block_int swig_types[31]
1551 #define SWIGTYPE_p_gsl_complex swig_types[32]
1552 #define SWIGTYPE_p_gsl_complex_float swig_types[33]
1553 #define SWIGTYPE_p_gsl_complex_long_double swig_types[34]
1554 #define SWIGTYPE_p_gsl_matrix swig_types[35]
1555 #define SWIGTYPE_p_gsl_matrix_char swig_types[36]
1556 #define SWIGTYPE_p_gsl_matrix_complex swig_types[37]
1557 #define SWIGTYPE_p_gsl_matrix_int swig_types[38]
1558 #define SWIGTYPE_p_gsl_vector swig_types[39]
1559 #define SWIGTYPE_p_gsl_vector_char swig_types[40]
1560 #define SWIGTYPE_p_gsl_vector_complex swig_types[41]
1561 #define SWIGTYPE_p_gsl_vector_int swig_types[42]
1562 #define SWIGTYPE_p_int swig_types[43]
1563 #define SWIGTYPE_p_long_double swig_types[44]
1564 #define SWIGTYPE_p_size_t swig_types[45]
1565 static swig_type_info *swig_types[47];
1566 static swig_module_info swig_module = {swig_types, 46, 0, 0, 0, 0};
1567 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1568 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
1569 
1570 /* -------- TYPES TABLE (END) -------- */
1571 
1572 #define SWIG_init    boot_Math__GSL__Matrix
1573 
1574 #define SWIG_name   "Math::GSL::Matrixc::boot_Math__GSL__Matrix"
1575 #define SWIG_prefix "Math::GSL::Matrixc::"
1576 
1577 #define SWIGVERSION 0x040001
1578 #define SWIG_VERSION SWIGVERSION
1579 
1580 
1581 #define SWIG_as_voidptr(a) (void *)((const void *)(a))
1582 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),(void**)(a))
1583 
1584 
1585 #ifdef __cplusplus
1586 extern "C"
1587 #endif
1588 #ifndef PERL_OBJECT
1589 #ifndef MULTIPLICITY
1590 SWIGEXPORT void SWIG_init (CV* cv);
1591 #else
1592 SWIGEXPORT void SWIG_init (pTHXo_ CV* cv);
1593 #endif
1594 #else
1595 SWIGEXPORT void SWIG_init (CV *cv, CPerlObj *);
1596 #endif
1597 
1598 
1599 SWIGINTERNINLINE SV *
SWIG_PERL_DECL_ARGS_1(double value)1600 SWIG_From_double  SWIG_PERL_DECL_ARGS_1(double value)
1601 {
1602   return sv_2mortal(newSVnv(value));
1603 }
1604 
1605 
1606 SWIGINTERNINLINE SV *
SWIG_PERL_DECL_ARGS_1(long value)1607 SWIG_From_long  SWIG_PERL_DECL_ARGS_1(long value)
1608 {
1609   SV *sv;
1610   if (IVSIZE >= sizeof(value) || (value >= IV_MIN && value <= IV_MAX))
1611     sv = newSViv(value);
1612   else
1613     sv = newSVpvf("%ld", value);
1614   return sv_2mortal(sv);
1615 }
1616 
1617 
1618 SWIGINTERNINLINE SV *
SWIG_PERL_DECL_ARGS_1(int value)1619 SWIG_From_int  SWIG_PERL_DECL_ARGS_1(int value)
1620 {
1621   return SWIG_From_long  SWIG_PERL_CALL_ARGS_1(value);
1622 }
1623 
1624 
1625 SWIGINTERN swig_type_info*
SWIG_pchar_descriptor(void)1626 SWIG_pchar_descriptor(void)
1627 {
1628   static int init = 0;
1629   static swig_type_info* info = 0;
1630   if (!init) {
1631     info = SWIG_TypeQuery("_p_char");
1632     init = 1;
1633   }
1634   return info;
1635 }
1636 
1637 
1638 SWIGINTERN int
SWIG_AsCharPtrAndSize(SV * obj,char ** cptr,size_t * psize,int * alloc)1639 SWIG_AsCharPtrAndSize(SV *obj, char** cptr, size_t* psize, int *alloc)
1640 {
1641   if (SvMAGICAL(obj)) {
1642      SV *tmp = sv_newmortal();
1643      SvSetSV(tmp, obj);
1644      obj = tmp;
1645   }
1646   if (SvPOK(obj)) {
1647     STRLEN len = 0;
1648     char *cstr = SvPV(obj, len);
1649     size_t size = len + 1;
1650     if (cptr)  {
1651       if (alloc) {
1652 	if (*alloc == SWIG_NEWOBJ) {
1653 	  *cptr = (char *)memcpy(malloc((size)*sizeof(char)), cstr, sizeof(char)*(size));
1654 	} else {
1655 	  *cptr = cstr;
1656 	  *alloc = SWIG_OLDOBJ;
1657 	}
1658       }
1659     }
1660     if (psize) *psize = size;
1661     return SWIG_OK;
1662   } else {
1663     swig_type_info* pchar_descriptor = SWIG_pchar_descriptor();
1664     if (pchar_descriptor) {
1665       char* vptr = 0;
1666       if (SWIG_ConvertPtr(obj, (void**)&vptr, pchar_descriptor, 0) == SWIG_OK) {
1667 	if (cptr) *cptr = vptr;
1668 	if (psize) *psize = vptr ? (strlen(vptr) + 1) : 0;
1669 	if (alloc) *alloc = SWIG_OLDOBJ;
1670 	return SWIG_OK;
1671       }
1672     }
1673   }
1674   return SWIG_TypeError;
1675 }
1676 
1677 
1678 
1679 
1680 
1681 #include <limits.h>
1682 #if !defined(SWIG_NO_LLONG_MAX)
1683 # if !defined(LLONG_MAX) && defined(__GNUC__) && defined (__LONG_LONG_MAX__)
1684 #   define LLONG_MAX __LONG_LONG_MAX__
1685 #   define LLONG_MIN (-LLONG_MAX - 1LL)
1686 #   define ULLONG_MAX (LLONG_MAX * 2ULL + 1ULL)
1687 # endif
1688 #endif
1689 
1690 
1691 #include <stdlib.h>
1692 #ifdef _MSC_VER
1693 # ifndef strtoull
1694 #  define strtoull _strtoui64
1695 # endif
1696 # ifndef strtoll
1697 #  define strtoll _strtoi64
1698 # endif
1699 #endif
1700 
1701 
1702 SWIGINTERN int
SWIG_PERL_DECL_ARGS_2(SV * obj,double * val)1703 SWIG_AsVal_double SWIG_PERL_DECL_ARGS_2(SV *obj, double *val)
1704 {
1705   if (SvNIOK(obj)) {
1706     if (val) *val = SvNV(obj);
1707     return SWIG_OK;
1708   } else if (SvIOK(obj)) {
1709     if (val) *val = (double) SvIV(obj);
1710     return SWIG_AddCast(SWIG_OK);
1711   } else {
1712     const char *nptr = SvPV_nolen(obj);
1713     if (nptr) {
1714       char *endptr;
1715       double v;
1716       errno = 0;
1717       v = strtod(nptr, &endptr);
1718       if (errno == ERANGE) {
1719 	errno = 0;
1720 	return SWIG_OverflowError;
1721       } else {
1722 	if (*endptr == '\0') {
1723 	  if (val) *val = v;
1724 	  return SWIG_Str2NumCast(SWIG_OK);
1725 	}
1726       }
1727     }
1728   }
1729   return SWIG_TypeError;
1730 }
1731 
1732 
1733 #include <float.h>
1734 
1735 
1736 #include <math.h>
1737 
1738 
1739 SWIGINTERNINLINE int
SWIG_CanCastAsInteger(double * d,double min,double max)1740 SWIG_CanCastAsInteger(double *d, double min, double max) {
1741   double x = *d;
1742   if ((min <= x && x <= max)) {
1743    double fx = floor(x);
1744    double cx = ceil(x);
1745    double rd =  ((x - fx) < 0.5) ? fx : cx; /* simple rint */
1746    if ((errno == EDOM) || (errno == ERANGE)) {
1747      errno = 0;
1748    } else {
1749      double summ, reps, diff;
1750      if (rd < x) {
1751        diff = x - rd;
1752      } else if (rd > x) {
1753        diff = rd - x;
1754      } else {
1755        return 1;
1756      }
1757      summ = rd + x;
1758      reps = diff/summ;
1759      if (reps < 8*DBL_EPSILON) {
1760        *d = rd;
1761        return 1;
1762      }
1763    }
1764   }
1765   return 0;
1766 }
1767 
1768 
1769 SWIGINTERN int
SWIG_PERL_DECL_ARGS_2(SV * obj,long * val)1770 SWIG_AsVal_long SWIG_PERL_DECL_ARGS_2(SV *obj, long* val)
1771 {
1772   if (SvUOK(obj)) {
1773     UV v = SvUV(obj);
1774     if (UVSIZE < sizeof(*val) || v <= LONG_MAX) {
1775       if (val) *val = v;
1776       return SWIG_OK;
1777     }
1778     return SWIG_OverflowError;
1779   } else if (SvIOK(obj)) {
1780     IV v = SvIV(obj);
1781     if (IVSIZE <= sizeof(*val) || (v >= LONG_MIN && v <= LONG_MAX)) {
1782       if(val) *val = v;
1783       return SWIG_OK;
1784     }
1785     return SWIG_OverflowError;
1786   } else {
1787     int dispatch = 0;
1788     const char *nptr = SvPV_nolen(obj);
1789     if (nptr) {
1790       char *endptr;
1791       long v;
1792       errno = 0;
1793       v = strtol(nptr, &endptr,0);
1794       if (errno == ERANGE) {
1795 	errno = 0;
1796 	return SWIG_OverflowError;
1797       } else {
1798 	if (*endptr == '\0') {
1799 	  if (val) *val = v;
1800 	  return SWIG_Str2NumCast(SWIG_OK);
1801 	}
1802       }
1803     }
1804     if (!dispatch) {
1805       double d;
1806       int res = SWIG_AddCast(SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(obj,&d));
1807       if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, LONG_MIN, LONG_MAX)) {
1808 	if (val) *val = (long)(d);
1809 	return res;
1810       }
1811     }
1812   }
1813   return SWIG_TypeError;
1814 }
1815 
1816 
1817 SWIGINTERN int
SWIG_PERL_DECL_ARGS_2(SV * obj,int * val)1818 SWIG_AsVal_int SWIG_PERL_DECL_ARGS_2(SV * obj, int *val)
1819 {
1820   long v;
1821   int res = SWIG_AsVal_long SWIG_PERL_CALL_ARGS_2(obj, &v);
1822   if (SWIG_IsOK(res)) {
1823     if ((v < INT_MIN || v > INT_MAX)) {
1824       return SWIG_OverflowError;
1825     } else {
1826       if (val) *val = (int)(v);
1827     }
1828   }
1829   return res;
1830 }
1831 
1832 
1833 SWIGINTERNINLINE SV *
SWIG_FromCharPtrAndSize(const char * carray,size_t size)1834 SWIG_FromCharPtrAndSize(const char* carray, size_t size)
1835 {
1836   SV *obj = sv_newmortal();
1837   if (carray) {
1838     sv_setpvn(obj, carray, size);
1839   } else {
1840     sv_setsv(obj, &PL_sv_undef);
1841   }
1842   return obj;
1843 }
1844 
1845 
1846 SWIGINTERNINLINE SV *
SWIG_FromCharPtr(const char * cptr)1847 SWIG_FromCharPtr(const char *cptr)
1848 {
1849   return SWIG_FromCharPtrAndSize(cptr, (cptr ? strlen(cptr) : 0));
1850 }
1851 
1852 
1853     #include "gsl/gsl_nan.h"
1854     #include "gsl/gsl_errno.h"
1855     #include "gsl/gsl_math.h"
1856     #include "gsl/gsl_monte.h"
1857 
1858 
1859     struct perl_array {
1860         I32 len;
1861         AV *array;
1862     };
1863 
1864 
1865 
1866 enum awType { awDouble, awFloat, awInt, awUnsigned };
1867 
1868 typedef struct {
1869     I32 size;
1870     enum awType type;
1871     void * data;
1872 } array_wrapper;
1873 
array_wrapper_alloc(int numelem,enum awType type)1874 array_wrapper * array_wrapper_alloc(int numelem, enum awType type){
1875     array_wrapper * rv =  malloc(sizeof(array_wrapper));
1876 
1877     if (rv == NULL)
1878         croak("array_wrapper_alloc: can't malloc wrapper\n");
1879 
1880     switch (type){
1881         case awDouble:
1882             rv->data = malloc(sizeof(double) * numelem);
1883             break;
1884         case awFloat:
1885             rv->data = malloc(sizeof(float) * numelem);
1886             break;
1887         case awInt:
1888             rv->data = malloc(sizeof(int) * numelem);
1889             break;
1890         case awUnsigned:
1891             rv->data = malloc(sizeof(unsigned int) * numelem);
1892             break;
1893         default:
1894             croak("array_wrapper_alloc: type should be awDouble, awFloat, awInt, or awUnsigned");
1895     }
1896 
1897     if (rv->data == NULL)
1898         croak("array_wrapper_alloc: can't malloc data");
1899 
1900     rv->size = numelem;
1901     rv->type = type;
1902     return rv;
1903 }
1904 
array_wrapper_free(array_wrapper * daw)1905 void array_wrapper_free(array_wrapper * daw){
1906     free(daw->data);
1907     free(daw);
1908 }
1909 
1910 
1911     /* structure to hold required information while the gsl function call
1912        for each callback
1913      */
1914     struct gsl_function_perl {
1915         gsl_function C_gsl_function;
1916         SV * function;
1917         SV * params;
1918     };
1919 
1920     struct gsl_function_fdf_perl {
1921         gsl_function_fdf C_gsl_function_fdf;
1922         SV * f;
1923         SV * df;
1924         SV * fdf;
1925         SV * params;
1926     };
1927 
1928     struct gsl_monte_function_perl {
1929         gsl_monte_function C_gsl_monte_function;
1930         SV * f;
1931         SV * dim;
1932         SV * params;
1933     };
1934 
gsl_function_perl_free(struct gsl_function_perl * perl_f)1935     void gsl_function_perl_free(struct gsl_function_perl * perl_f){
1936         if (perl_f != NULL) {
1937             SvREFCNT_dec(perl_f->function);
1938             SvREFCNT_dec(perl_f->params);
1939             Safefree(perl_f);
1940         }
1941     }
1942 
gsl_function_fdf_perl_free(struct gsl_function_fdf_perl * perl_fdf)1943     void gsl_function_fdf_perl_free(struct gsl_function_fdf_perl * perl_fdf){
1944         if (perl_fdf != NULL) {
1945 	  SvREFCNT_dec(perl_fdf->f);
1946 	  SvREFCNT_dec(perl_fdf->df);
1947 	  SvREFCNT_dec(perl_fdf->fdf);
1948 	  SvREFCNT_dec(perl_fdf->params);
1949 	  Safefree(perl_fdf);
1950         }
1951     }
1952 
1953     /* These functions (C callbacks) calls the perl callbacks.
1954        Info for perl callback can be found using the 'void*params' parameter
1955     */
call_gsl_function_x_params(SV * function,double x,SV * params)1956     double call_gsl_function_x_params(SV* function, double x, SV *params){
1957         unsigned int count;
1958         double y;
1959         dSP;
1960 
1961         //fprintf(stderr, "LOOKUP CALLBACK\n");
1962         ENTER;
1963         SAVETMPS;
1964 
1965         PUSHMARK(SP);
1966         XPUSHs(sv_2mortal(newSVnv((double)x)));
1967         XPUSHs(params);
1968         PUTBACK;                                /* make local stack pointer global */
1969 
1970         count = call_sv(function, G_SCALAR);
1971         SPAGAIN;
1972 
1973         if (count != 1)
1974                 croak("Expected to call subroutine in scalar context!");
1975 
1976         y = POPn;
1977 
1978         PUTBACK;                                /* make local stack pointer global */
1979         FREETMPS;
1980         LEAVE;
1981 
1982         return y;
1983     }
1984 
call_gsl_function(double x,void * params)1985     double call_gsl_function(double x , void *params){
1986         struct gsl_function_perl *F=(struct gsl_function_perl*)params;
1987 	return call_gsl_function_x_params( F->function, x, F->params );
1988     }
1989 
call_gsl_function_fdf_f(double x,void * params)1990     double call_gsl_function_fdf_f(double x , void *params){
1991         struct gsl_function_fdf_perl *F=(struct gsl_function_fdf_perl*)params;
1992 	return call_gsl_function_x_params( F->f, x, F->params );
1993     }
1994 
call_gsl_function_fdf_df(double x,void * params)1995     double call_gsl_function_fdf_df(double x , void *params){
1996         struct gsl_function_fdf_perl *F=(struct gsl_function_fdf_perl*)params;
1997 	return call_gsl_function_x_params( F->df, x, F->params );
1998     }
1999 
call_gsl_function_fdf_fdf(double x,void * params,double * f,double * df)2000     void call_gsl_function_fdf_fdf(double x , void *params, double *f, double *df ){
2001         struct gsl_function_fdf_perl *F=(struct gsl_function_fdf_perl*)params;
2002 
2003         dSP;
2004 
2005         ENTER;
2006         SAVETMPS;
2007 
2008         PUSHMARK(SP);
2009 	EXTEND(SP, 2);
2010         PUSHs(sv_2mortal(newSVnv((double)x)));
2011         PUSHs(F->params);
2012         PUTBACK;                                /* make local stack pointer global */
2013 
2014 	{
2015 	  unsigned int count = call_sv(F->fdf, G_ARRAY);
2016 	  SPAGAIN;
2017 
2018 	  if (count != 2)
2019 	    croak( "Expected two return values, got %d", count );
2020 	}
2021 
2022 	*df = POPn;
2023         *f = POPn;
2024 
2025         PUTBACK;                                /* make local stack pointer global */
2026         FREETMPS;
2027         LEAVE;
2028     }
2029 
call_gsl_monte_function(double * x_array,size_t dim,void * params)2030     double call_gsl_monte_function(double *x_array , size_t dim, void *params){
2031         struct gsl_monte_function_perl *F=(struct gsl_monte_function_perl*)params;
2032         unsigned int count;
2033         unsigned int i;
2034         AV* perl_array;
2035         double y;
2036         dSP;
2037 
2038         //fprintf(stderr, "LOOKUP CALLBACK\n");
2039         ENTER;
2040         SAVETMPS;
2041 
2042         PUSHMARK(SP);
2043         perl_array=newAV();
2044         sv_2mortal((SV*)perl_array);
2045         XPUSHs(sv_2mortal(newRV((SV *)perl_array)));
2046         for(i=0; i<dim; i++) {
2047                 /* no mortal : it is referenced by the array */
2048                 av_push(perl_array, newSVnv(x_array[i]));
2049         }
2050         XPUSHs(sv_2mortal(newSViv(dim)));
2051         XPUSHs(F->params);
2052         PUTBACK;                                /* make local stack pointer global */
2053 
2054         count = call_sv(F->f, G_SCALAR);
2055         SPAGAIN;
2056 
2057         if (count != 1)
2058                 croak("Expected to call subroutine in scalar context!");
2059 
2060         y = POPn;
2061 
2062         PUTBACK;                                /* make local stack pointer global */
2063         FREETMPS;
2064         LEAVE;
2065 
2066         return y;
2067     }
2068 
2069 
gsl_function_fdf_extract(char * param_name,HV * hash,SV * func[])2070   void gsl_function_fdf_extract( char* param_name, HV* hash, SV* func[] ) {
2071     static const char *keys[3] = { "f", "df", "fdf" };
2072 
2073     int ikey;
2074 
2075     for ( ikey = 0 ; ikey < 3 ; ++ikey ) {
2076       func[ikey] = 0;
2077       const char* key = keys[ikey];
2078       /* it just so happens that strlen(keys[ikey]) == ikey + 1 */
2079       SV** pp_sv = hv_fetch( hash, key, ikey+1, 0 );
2080       SV* function;
2081 
2082       if ( !pp_sv )
2083 	croak("Math::GSL : %s: missing key %s!", param_name, key);
2084 
2085       function = *pp_sv;
2086 
2087       if ( SvPOK(function) || ( SvROK( function ) && SvTYPE(SvRV(function)) == SVt_PVCV ) ) {
2088         /* hold on to SV after the enclosing hash goes away */
2089         SvREFCNT_inc( function );
2090 	func[ikey] = function;
2091       }
2092       else {
2093 	croak( "Math::GSL : %s:  key %s is not a reference to code!", param_name, key);
2094       }
2095     }
2096   }
2097 
2098 
2099 
2100     #include "gsl/gsl_inline.h"
2101     #include "gsl/gsl_blas_types.h"
2102     #include "gsl/gsl_matrix.h"
2103     #include "gsl/gsl_complex.h"
2104     #include "gsl/gsl_vector_double.h"
2105     #include "gsl/gsl_matrix_double.h"
2106     #include "gsl/gsl_matrix_int.h"
2107     #include "gsl/gsl_matrix_complex_double.h"
2108     #include "gsl/gsl_matrix_char.h"
2109 
2110     #include "../c/Matrix.c"
2111 
2112 
2113 SWIGINTERN int
SWIG_PERL_DECL_ARGS_2(SV * obj,unsigned long * val)2114 SWIG_AsVal_unsigned_SS_long SWIG_PERL_DECL_ARGS_2(SV *obj, unsigned long *val)
2115 {
2116   if (SvUOK(obj)) {
2117     UV v = SvUV(obj);
2118     if (UVSIZE <= sizeof(*val) || v <= ULONG_MAX) {
2119       if (val) *val = v;
2120       return SWIG_OK;
2121     }
2122     return SWIG_OverflowError;
2123   } else if (SvIOK(obj)) {
2124     IV v = SvIV(obj);
2125     if (v >= 0 && (IVSIZE <= sizeof(*val) || v <= ULONG_MAX)) {
2126       if (val) *val = v;
2127       return SWIG_OK;
2128     }
2129     return SWIG_OverflowError;
2130   } else {
2131     int dispatch = 0;
2132     const char *nptr = SvPV_nolen(obj);
2133     if (nptr) {
2134       char *endptr;
2135       unsigned long v;
2136       errno = 0;
2137       v = strtoul(nptr, &endptr,0);
2138       if (errno == ERANGE) {
2139 	errno = 0;
2140 	return SWIG_OverflowError;
2141       } else {
2142 	if (*endptr == '\0') {
2143 	  if (val) *val = v;
2144 	  return SWIG_Str2NumCast(SWIG_OK);
2145 	}
2146       }
2147     }
2148     if (!dispatch) {
2149       double d;
2150       int res = SWIG_AddCast(SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(obj,&d));
2151       if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, 0, ULONG_MAX)) {
2152 	if (val) *val = (unsigned long)(d);
2153 	return res;
2154       }
2155     }
2156   }
2157   return SWIG_TypeError;
2158 }
2159 
2160 
2161 #if defined(LLONG_MAX) && !defined(SWIG_LONG_LONG_AVAILABLE)
2162 #  define SWIG_LONG_LONG_AVAILABLE
2163 #endif
2164 
2165 
2166 #ifdef SWIG_LONG_LONG_AVAILABLE
2167 SWIGINTERN int
SWIG_PERL_DECL_ARGS_2(SV * obj,unsigned long long * val)2168 SWIG_AsVal_unsigned_SS_long_SS_long SWIG_PERL_DECL_ARGS_2(SV *obj, unsigned long long *val)
2169 {
2170   if (SvUOK(obj)) {
2171     /* pretty sure this should be conditional on
2172      * (UVSIZE <= sizeof(*val) || v <= ULLONG_MAX) */
2173     if (val) *val = SvUV(obj);
2174     return SWIG_OK;
2175   } else  if (SvIOK(obj)) {
2176     IV v = SvIV(obj);
2177     if (v >= 0 && (IVSIZE <= sizeof(*val) || v <= ULLONG_MAX)) {
2178       if (val) *val = v;
2179       return SWIG_OK;
2180     } else {
2181       return SWIG_OverflowError;
2182     }
2183   } else {
2184     int dispatch = 0;
2185     const char *nptr = SvPV_nolen(obj);
2186     if (nptr) {
2187       char *endptr;
2188       unsigned long long v;
2189       errno = 0;
2190       v = strtoull(nptr, &endptr,0);
2191       if (errno == ERANGE) {
2192 	errno = 0;
2193 	return SWIG_OverflowError;
2194       } else {
2195 	if (*endptr == '\0') {
2196 	  if (val) *val = v;
2197 	  return SWIG_Str2NumCast(SWIG_OK);
2198 	}
2199       }
2200     }
2201     if (!dispatch) {
2202       const double mant_max = 1LL << DBL_MANT_DIG;
2203       double d;
2204       int res = SWIG_AddCast(SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(obj,&d));
2205       if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, 0, mant_max)) {
2206 	if (val) *val = (unsigned long long)(d);
2207 	return res;
2208       }
2209     }
2210   }
2211   return SWIG_TypeError;
2212 }
2213 #endif
2214 
2215 
2216 SWIGINTERNINLINE int
SWIG_PERL_DECL_ARGS_2(SV * obj,size_t * val)2217 SWIG_AsVal_size_t SWIG_PERL_DECL_ARGS_2(SV * obj, size_t *val)
2218 {
2219   int res = SWIG_TypeError;
2220 #ifdef SWIG_LONG_LONG_AVAILABLE
2221   if (sizeof(size_t) <= sizeof(unsigned long)) {
2222 #endif
2223     unsigned long v;
2224     res = SWIG_AsVal_unsigned_SS_long SWIG_PERL_CALL_ARGS_2(obj, val ? &v : 0);
2225     if (SWIG_IsOK(res) && val) *val = (size_t)(v);
2226 #ifdef SWIG_LONG_LONG_AVAILABLE
2227   } else if (sizeof(size_t) <= sizeof(unsigned long long)) {
2228     unsigned long long v;
2229     res = SWIG_AsVal_unsigned_SS_long_SS_long SWIG_PERL_CALL_ARGS_2(obj, val ? &v : 0);
2230     if (SWIG_IsOK(res) && val) *val = (size_t)(v);
2231   }
2232 #endif
2233   return res;
2234 }
2235 
2236 
2237 SWIGINTERNINLINE SV *
SWIG_PERL_DECL_ARGS_1(unsigned long value)2238 SWIG_From_unsigned_SS_long  SWIG_PERL_DECL_ARGS_1(unsigned long value)
2239 {
2240   SV *sv;
2241   if (UVSIZE >= sizeof(value) || value <= UV_MAX)
2242     sv = newSVuv(value);
2243   else
2244     sv = newSVpvf("%lu", value);
2245   return sv_2mortal(sv);
2246 }
2247 
2248 
2249 #include <stdio.h>
2250 #if (defined(_MSC_VER) && (_MSC_VER < 1900)) || defined(__BORLANDC__) || defined(_WATCOM)
2251 # ifndef snprintf
2252 #  define snprintf _snprintf
2253 # endif
2254 #endif
2255 
2256 
2257 #ifdef SWIG_LONG_LONG_AVAILABLE
2258 SWIGINTERNINLINE SV *
SWIG_PERL_DECL_ARGS_1(unsigned long long value)2259 SWIG_From_unsigned_SS_long_SS_long  SWIG_PERL_DECL_ARGS_1(unsigned long long value)
2260 {
2261   SV *sv;
2262   if (UVSIZE >= sizeof(value) || value <= UV_MAX)
2263     sv = newSVuv((UV)(value));
2264   else {
2265     //sv = newSVpvf("%llu", value); doesn't work in non 64bit Perl
2266     char temp[256];
2267     sprintf(temp, "%llu", value);
2268     sv = newSVpv(temp, 0);
2269   }
2270   return sv_2mortal(sv);
2271 }
2272 #endif
2273 
2274 
2275 SWIGINTERNINLINE SV *
SWIG_PERL_DECL_ARGS_1(size_t value)2276 SWIG_From_size_t  SWIG_PERL_DECL_ARGS_1(size_t value)
2277 {
2278 #ifdef SWIG_LONG_LONG_AVAILABLE
2279   if (sizeof(size_t) <= sizeof(unsigned long)) {
2280 #endif
2281     return SWIG_From_unsigned_SS_long  SWIG_PERL_CALL_ARGS_1((unsigned long)(value));
2282 #ifdef SWIG_LONG_LONG_AVAILABLE
2283   } else {
2284     /* assume sizeof(size_t) <= sizeof(unsigned long long) */
2285     return SWIG_From_unsigned_SS_long_SS_long  SWIG_PERL_CALL_ARGS_1((unsigned long long)(value));
2286   }
2287 #endif
2288 }
2289 
2290 
2291 SWIGINTERN int
SWIG_AsCharArray(SV * obj,char * val,size_t size)2292 SWIG_AsCharArray(SV * obj, char *val, size_t size)
2293 {
2294   char* cptr = 0; size_t csize = 0; int alloc = SWIG_OLDOBJ;
2295   int res = SWIG_AsCharPtrAndSize(obj, &cptr, &csize, &alloc);
2296   if (SWIG_IsOK(res)) {
2297     /* special case of single char conversion when we don't need space for NUL */
2298     if (size == 1 && csize == 2 && cptr && !cptr[1]) --csize;
2299     if (csize <= size) {
2300       if (val) {
2301 	if (csize) memcpy(val, cptr, csize*sizeof(char));
2302 	if (csize < size) memset(val + csize, 0, (size - csize)*sizeof(char));
2303       }
2304       if (alloc == SWIG_NEWOBJ) {
2305 	free((char*)cptr);
2306 	res = SWIG_DelNewMask(res);
2307       }
2308       return res;
2309     }
2310     if (alloc == SWIG_NEWOBJ) free((char*)cptr);
2311   }
2312   return SWIG_TypeError;
2313 }
2314 
2315 
2316 SWIGINTERN int
SWIG_PERL_DECL_ARGS_2(SV * obj,char * val)2317 SWIG_AsVal_char SWIG_PERL_DECL_ARGS_2(SV * obj, char *val)
2318 {
2319   int res = SWIG_AsCharArray(obj, val, 1);
2320   if (!SWIG_IsOK(res)) {
2321     long v;
2322     res = SWIG_AddCast(SWIG_AsVal_long SWIG_PERL_CALL_ARGS_2(obj, &v));
2323     if (SWIG_IsOK(res)) {
2324       if ((CHAR_MIN <= v) && (v <= CHAR_MAX)) {
2325 	if (val) *val = (char)(v);
2326       } else {
2327 	res = SWIG_OverflowError;
2328       }
2329     }
2330   }
2331   return res;
2332 }
2333 
2334 
2335 SWIGINTERNINLINE SV *
SWIG_PERL_DECL_ARGS_1(char c)2336 SWIG_From_char  SWIG_PERL_DECL_ARGS_1(char c)
2337 {
2338   return SWIG_FromCharPtrAndSize(&c,1);
2339 }
2340 
2341 #ifdef __cplusplus
2342 extern "C" {
2343 #endif
2344 
2345 #ifdef PERL_OBJECT
2346 #define MAGIC_CLASS _wrap_Math__GSL__Matrix_var::
2347 class _wrap_Math__GSL__Matrix_var : public CPerlObj {
2348 public:
2349 #else
2350 #define MAGIC_CLASS
2351 #endif
swig_magic_readonly(pTHX_ SV * SWIGUNUSEDPARM (sv),MAGIC * SWIGUNUSEDPARM (mg))2352 SWIGCLASS_STATIC int swig_magic_readonly(pTHX_ SV *SWIGUNUSEDPARM(sv), MAGIC *SWIGUNUSEDPARM(mg)) {
2353     MAGIC_PPERL
2354     croak("Value is read-only.");
2355     return 0;
2356 }
2357 
2358 
2359 #ifdef PERL_OBJECT
2360 };
2361 #endif
2362 
2363 #ifdef __cplusplus
2364 }
2365 #endif
2366 
2367 #ifdef __cplusplus
2368 extern "C" {
2369 #endif
XS(_wrap_gsl_error)2370 XS(_wrap_gsl_error) {
2371   {
2372     char *arg1 = (char *) 0 ;
2373     char *arg2 = (char *) 0 ;
2374     int arg3 ;
2375     int arg4 ;
2376     int res1 ;
2377     char *buf1 = 0 ;
2378     int alloc1 = 0 ;
2379     int res2 ;
2380     char *buf2 = 0 ;
2381     int alloc2 = 0 ;
2382     int val3 ;
2383     int ecode3 = 0 ;
2384     int val4 ;
2385     int ecode4 = 0 ;
2386     int argvi = 0;
2387     dXSARGS;
2388 
2389     if ((items < 4) || (items > 4)) {
2390       SWIG_croak("Usage: gsl_error(reason,file,line,gsl_errno);");
2391     }
2392     res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
2393     if (!SWIG_IsOK(res1)) {
2394       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_error" "', argument " "1"" of type '" "char const *""'");
2395     }
2396     arg1 = (char *)(buf1);
2397     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
2398     if (!SWIG_IsOK(res2)) {
2399       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_error" "', argument " "2"" of type '" "char const *""'");
2400     }
2401     arg2 = (char *)(buf2);
2402     ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
2403     if (!SWIG_IsOK(ecode3)) {
2404       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_error" "', argument " "3"" of type '" "int""'");
2405     }
2406     arg3 = (int)(val3);
2407     ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
2408     if (!SWIG_IsOK(ecode4)) {
2409       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_error" "', argument " "4"" of type '" "int""'");
2410     }
2411     arg4 = (int)(val4);
2412     gsl_error((char const *)arg1,(char const *)arg2,arg3,arg4);
2413     ST(argvi) = &PL_sv_undef;
2414     if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
2415     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
2416 
2417 
2418     XSRETURN(argvi);
2419   fail:
2420     if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
2421     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
2422 
2423 
2424     SWIG_croak_null();
2425   }
2426 }
2427 
2428 
XS(_wrap_gsl_stream_printf)2429 XS(_wrap_gsl_stream_printf) {
2430   {
2431     char *arg1 = (char *) 0 ;
2432     char *arg2 = (char *) 0 ;
2433     int arg3 ;
2434     char *arg4 = (char *) 0 ;
2435     int res1 ;
2436     char *buf1 = 0 ;
2437     int alloc1 = 0 ;
2438     int res2 ;
2439     char *buf2 = 0 ;
2440     int alloc2 = 0 ;
2441     int val3 ;
2442     int ecode3 = 0 ;
2443     int res4 ;
2444     char *buf4 = 0 ;
2445     int alloc4 = 0 ;
2446     int argvi = 0;
2447     dXSARGS;
2448 
2449     if ((items < 4) || (items > 4)) {
2450       SWIG_croak("Usage: gsl_stream_printf(label,file,line,reason);");
2451     }
2452     res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
2453     if (!SWIG_IsOK(res1)) {
2454       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_stream_printf" "', argument " "1"" of type '" "char const *""'");
2455     }
2456     arg1 = (char *)(buf1);
2457     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
2458     if (!SWIG_IsOK(res2)) {
2459       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_stream_printf" "', argument " "2"" of type '" "char const *""'");
2460     }
2461     arg2 = (char *)(buf2);
2462     ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
2463     if (!SWIG_IsOK(ecode3)) {
2464       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_stream_printf" "', argument " "3"" of type '" "int""'");
2465     }
2466     arg3 = (int)(val3);
2467     res4 = SWIG_AsCharPtrAndSize(ST(3), &buf4, NULL, &alloc4);
2468     if (!SWIG_IsOK(res4)) {
2469       SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_stream_printf" "', argument " "4"" of type '" "char const *""'");
2470     }
2471     arg4 = (char *)(buf4);
2472     gsl_stream_printf((char const *)arg1,(char const *)arg2,arg3,(char const *)arg4);
2473     ST(argvi) = &PL_sv_undef;
2474     if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
2475     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
2476 
2477     if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
2478     XSRETURN(argvi);
2479   fail:
2480     if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
2481     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
2482 
2483     if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
2484     SWIG_croak_null();
2485   }
2486 }
2487 
2488 
XS(_wrap_gsl_strerror)2489 XS(_wrap_gsl_strerror) {
2490   {
2491     int arg1 ;
2492     int val1 ;
2493     int ecode1 = 0 ;
2494     int argvi = 0;
2495     char *result = 0 ;
2496     dXSARGS;
2497 
2498     if ((items < 1) || (items > 1)) {
2499       SWIG_croak("Usage: gsl_strerror(gsl_errno);");
2500     }
2501     ecode1 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
2502     if (!SWIG_IsOK(ecode1)) {
2503       SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_strerror" "', argument " "1"" of type '" "int""'");
2504     }
2505     arg1 = (int)(val1);
2506     result = (char *)gsl_strerror(arg1);
2507     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
2508 
2509     XSRETURN(argvi);
2510   fail:
2511 
2512     SWIG_croak_null();
2513   }
2514 }
2515 
2516 
XS(_wrap_gsl_set_error_handler)2517 XS(_wrap_gsl_set_error_handler) {
2518   {
2519     gsl_error_handler_t *arg1 = (gsl_error_handler_t *) 0 ;
2520     int argvi = 0;
2521     gsl_error_handler_t *result = 0 ;
2522     dXSARGS;
2523 
2524     if ((items < 1) || (items > 1)) {
2525       SWIG_croak("Usage: gsl_set_error_handler(new_handler);");
2526     }
2527     {
2528       int res = SWIG_ConvertFunctionPtr(ST(0), (void**)(&arg1), SWIGTYPE_p_f_p_q_const__char_p_q_const__char_int_int__void);
2529       if (!SWIG_IsOK(res)) {
2530         SWIG_exception_fail(SWIG_ArgError(res), "in method '" "gsl_set_error_handler" "', argument " "1"" of type '" "gsl_error_handler_t *""'");
2531       }
2532     }
2533     result = (gsl_error_handler_t *)gsl_set_error_handler(arg1);
2534     ST(argvi) = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_q_const__char_p_q_const__char_int_int__void); argvi++ ;
2535 
2536     XSRETURN(argvi);
2537   fail:
2538 
2539     SWIG_croak_null();
2540   }
2541 }
2542 
2543 
XS(_wrap_gsl_set_error_handler_off)2544 XS(_wrap_gsl_set_error_handler_off) {
2545   {
2546     int argvi = 0;
2547     gsl_error_handler_t *result = 0 ;
2548     dXSARGS;
2549 
2550     if ((items < 0) || (items > 0)) {
2551       SWIG_croak("Usage: gsl_set_error_handler_off();");
2552     }
2553     result = (gsl_error_handler_t *)gsl_set_error_handler_off();
2554     ST(argvi) = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_q_const__char_p_q_const__char_int_int__void); argvi++ ;
2555     XSRETURN(argvi);
2556   fail:
2557     SWIG_croak_null();
2558   }
2559 }
2560 
2561 
XS(_wrap_gsl_set_stream_handler)2562 XS(_wrap_gsl_set_stream_handler) {
2563   {
2564     gsl_stream_handler_t *arg1 = (gsl_stream_handler_t *) 0 ;
2565     int argvi = 0;
2566     gsl_stream_handler_t *result = 0 ;
2567     dXSARGS;
2568 
2569     if ((items < 1) || (items > 1)) {
2570       SWIG_croak("Usage: gsl_set_stream_handler(new_handler);");
2571     }
2572     {
2573       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);
2574       if (!SWIG_IsOK(res)) {
2575         SWIG_exception_fail(SWIG_ArgError(res), "in method '" "gsl_set_stream_handler" "', argument " "1"" of type '" "gsl_stream_handler_t *""'");
2576       }
2577     }
2578     result = (gsl_stream_handler_t *)gsl_set_stream_handler(arg1);
2579     ST(argvi) = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_q_const__char_p_q_const__char_int_p_q_const__char__void); argvi++ ;
2580 
2581     XSRETURN(argvi);
2582   fail:
2583 
2584     SWIG_croak_null();
2585   }
2586 }
2587 
2588 
XS(_wrap_gsl_set_stream)2589 XS(_wrap_gsl_set_stream) {
2590   {
2591     FILE *arg1 = (FILE *) 0 ;
2592     void *argp1 = 0 ;
2593     int res1 = 0 ;
2594     int argvi = 0;
2595     FILE *result = 0 ;
2596     dXSARGS;
2597 
2598     if ((items < 1) || (items > 1)) {
2599       SWIG_croak("Usage: gsl_set_stream(new_stream);");
2600     }
2601     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_FILE, 0 |  0 );
2602     if (!SWIG_IsOK(res1)) {
2603       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_set_stream" "', argument " "1"" of type '" "FILE *""'");
2604     }
2605     arg1 = (FILE *)(argp1);
2606     result = (FILE *)gsl_set_stream(arg1);
2607     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FILE, 0 | 0); argvi++ ;
2608 
2609     XSRETURN(argvi);
2610   fail:
2611 
2612     SWIG_croak_null();
2613   }
2614 }
2615 
2616 
XS(_wrap_gsl_complex_dat_set)2617 XS(_wrap_gsl_complex_dat_set) {
2618   {
2619     gsl_complex *arg1 = (gsl_complex *) 0 ;
2620     double *arg2 ;
2621     void *argp1 = 0 ;
2622     int res1 = 0 ;
2623     void *argp2 = 0 ;
2624     int res2 = 0 ;
2625     int argvi = 0;
2626     dXSARGS;
2627 
2628     if ((items < 2) || (items > 2)) {
2629       SWIG_croak("Usage: gsl_complex_dat_set(self,dat);");
2630     }
2631     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_complex, 0 |  0 );
2632     if (!SWIG_IsOK(res1)) {
2633       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_complex_dat_set" "', argument " "1"" of type '" "gsl_complex *""'");
2634     }
2635     arg1 = (gsl_complex *)(argp1);
2636     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, 0 |  0 );
2637     if (!SWIG_IsOK(res2)) {
2638       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_complex_dat_set" "', argument " "2"" of type '" "double [2]""'");
2639     }
2640     arg2 = (double *)(argp2);
2641     {
2642       if (arg2) {
2643         size_t ii = 0;
2644         for (; ii < (size_t)2; ++ii) *(double *)&arg1->dat[ii] = *((double *)arg2 + ii);
2645       } else {
2646         SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""dat""' of type '""double [2]""'");
2647       }
2648     }
2649     ST(argvi) = &PL_sv_undef;
2650 
2651 
2652     XSRETURN(argvi);
2653   fail:
2654 
2655 
2656     SWIG_croak_null();
2657   }
2658 }
2659 
2660 
XS(_wrap_gsl_complex_dat_get)2661 XS(_wrap_gsl_complex_dat_get) {
2662   {
2663     gsl_complex *arg1 = (gsl_complex *) 0 ;
2664     void *argp1 = 0 ;
2665     int res1 = 0 ;
2666     int argvi = 0;
2667     double *result = 0 ;
2668     dXSARGS;
2669 
2670     if ((items < 1) || (items > 1)) {
2671       SWIG_croak("Usage: gsl_complex_dat_get(self);");
2672     }
2673     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_complex, 0 |  0 );
2674     if (!SWIG_IsOK(res1)) {
2675       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_complex_dat_get" "', argument " "1"" of type '" "gsl_complex *""'");
2676     }
2677     arg1 = (gsl_complex *)(argp1);
2678     result = (double *)(double *) ((arg1)->dat);
2679     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0); argvi++ ;
2680 
2681     XSRETURN(argvi);
2682   fail:
2683 
2684     SWIG_croak_null();
2685   }
2686 }
2687 
2688 
XS(_wrap_new_gsl_complex)2689 XS(_wrap_new_gsl_complex) {
2690   {
2691     int argvi = 0;
2692     gsl_complex *result = 0 ;
2693     dXSARGS;
2694 
2695     if ((items < 0) || (items > 0)) {
2696       SWIG_croak("Usage: new_gsl_complex();");
2697     }
2698     result = (gsl_complex *)calloc(1, sizeof(gsl_complex));
2699     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_complex, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
2700     XSRETURN(argvi);
2701   fail:
2702     SWIG_croak_null();
2703   }
2704 }
2705 
2706 
XS(_wrap_delete_gsl_complex)2707 XS(_wrap_delete_gsl_complex) {
2708   {
2709     gsl_complex *arg1 = (gsl_complex *) 0 ;
2710     void *argp1 = 0 ;
2711     int res1 = 0 ;
2712     int argvi = 0;
2713     dXSARGS;
2714 
2715     if ((items < 1) || (items > 1)) {
2716       SWIG_croak("Usage: delete_gsl_complex(self);");
2717     }
2718     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_complex, SWIG_POINTER_DISOWN |  0 );
2719     if (!SWIG_IsOK(res1)) {
2720       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_gsl_complex" "', argument " "1"" of type '" "gsl_complex *""'");
2721     }
2722     arg1 = (gsl_complex *)(argp1);
2723     free((char *) arg1);
2724     ST(argvi) = &PL_sv_undef;
2725 
2726     XSRETURN(argvi);
2727   fail:
2728 
2729     SWIG_croak_null();
2730   }
2731 }
2732 
2733 
XS(_wrap_gsl_complex_long_double_dat_set)2734 XS(_wrap_gsl_complex_long_double_dat_set) {
2735   {
2736     gsl_complex_long_double *arg1 = (gsl_complex_long_double *) 0 ;
2737     long double *arg2 ;
2738     void *argp1 = 0 ;
2739     int res1 = 0 ;
2740     void *argp2 = 0 ;
2741     int res2 = 0 ;
2742     int argvi = 0;
2743     dXSARGS;
2744 
2745     if ((items < 2) || (items > 2)) {
2746       SWIG_croak("Usage: gsl_complex_long_double_dat_set(self,dat);");
2747     }
2748     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_complex_long_double, 0 |  0 );
2749     if (!SWIG_IsOK(res1)) {
2750       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_complex_long_double_dat_set" "', argument " "1"" of type '" "gsl_complex_long_double *""'");
2751     }
2752     arg1 = (gsl_complex_long_double *)(argp1);
2753     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_long_double, 0 |  0 );
2754     if (!SWIG_IsOK(res2)) {
2755       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_complex_long_double_dat_set" "', argument " "2"" of type '" "long double [2]""'");
2756     }
2757     arg2 = (long double *)(argp2);
2758     {
2759       if (arg2) {
2760         size_t ii = 0;
2761         for (; ii < (size_t)2; ++ii) *(long double *)&arg1->dat[ii] = *((long double *)arg2 + ii);
2762       } else {
2763         SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""dat""' of type '""long double [2]""'");
2764       }
2765     }
2766     ST(argvi) = &PL_sv_undef;
2767 
2768 
2769     XSRETURN(argvi);
2770   fail:
2771 
2772 
2773     SWIG_croak_null();
2774   }
2775 }
2776 
2777 
XS(_wrap_gsl_complex_long_double_dat_get)2778 XS(_wrap_gsl_complex_long_double_dat_get) {
2779   {
2780     gsl_complex_long_double *arg1 = (gsl_complex_long_double *) 0 ;
2781     void *argp1 = 0 ;
2782     int res1 = 0 ;
2783     int argvi = 0;
2784     long double *result = 0 ;
2785     dXSARGS;
2786 
2787     if ((items < 1) || (items > 1)) {
2788       SWIG_croak("Usage: gsl_complex_long_double_dat_get(self);");
2789     }
2790     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_complex_long_double, 0 |  0 );
2791     if (!SWIG_IsOK(res1)) {
2792       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_complex_long_double_dat_get" "', argument " "1"" of type '" "gsl_complex_long_double *""'");
2793     }
2794     arg1 = (gsl_complex_long_double *)(argp1);
2795     result = (long double *)(long double *) ((arg1)->dat);
2796     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_long_double, 0 | 0); argvi++ ;
2797 
2798     XSRETURN(argvi);
2799   fail:
2800 
2801     SWIG_croak_null();
2802   }
2803 }
2804 
2805 
XS(_wrap_new_gsl_complex_long_double)2806 XS(_wrap_new_gsl_complex_long_double) {
2807   {
2808     int argvi = 0;
2809     gsl_complex_long_double *result = 0 ;
2810     dXSARGS;
2811 
2812     if ((items < 0) || (items > 0)) {
2813       SWIG_croak("Usage: new_gsl_complex_long_double();");
2814     }
2815     result = (gsl_complex_long_double *)calloc(1, sizeof(gsl_complex_long_double));
2816     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_complex_long_double, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
2817     XSRETURN(argvi);
2818   fail:
2819     SWIG_croak_null();
2820   }
2821 }
2822 
2823 
XS(_wrap_delete_gsl_complex_long_double)2824 XS(_wrap_delete_gsl_complex_long_double) {
2825   {
2826     gsl_complex_long_double *arg1 = (gsl_complex_long_double *) 0 ;
2827     void *argp1 = 0 ;
2828     int res1 = 0 ;
2829     int argvi = 0;
2830     dXSARGS;
2831 
2832     if ((items < 1) || (items > 1)) {
2833       SWIG_croak("Usage: delete_gsl_complex_long_double(self);");
2834     }
2835     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_complex_long_double, SWIG_POINTER_DISOWN |  0 );
2836     if (!SWIG_IsOK(res1)) {
2837       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_gsl_complex_long_double" "', argument " "1"" of type '" "gsl_complex_long_double *""'");
2838     }
2839     arg1 = (gsl_complex_long_double *)(argp1);
2840     free((char *) arg1);
2841     ST(argvi) = &PL_sv_undef;
2842 
2843     XSRETURN(argvi);
2844   fail:
2845 
2846     SWIG_croak_null();
2847   }
2848 }
2849 
2850 
XS(_wrap_gsl_complex_float_dat_set)2851 XS(_wrap_gsl_complex_float_dat_set) {
2852   {
2853     gsl_complex_float *arg1 = (gsl_complex_float *) 0 ;
2854     float *arg2 ;
2855     void *argp1 = 0 ;
2856     int res1 = 0 ;
2857     void *argp2 = 0 ;
2858     int res2 = 0 ;
2859     int argvi = 0;
2860     dXSARGS;
2861 
2862     if ((items < 2) || (items > 2)) {
2863       SWIG_croak("Usage: gsl_complex_float_dat_set(self,dat);");
2864     }
2865     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_complex_float, 0 |  0 );
2866     if (!SWIG_IsOK(res1)) {
2867       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_complex_float_dat_set" "', argument " "1"" of type '" "gsl_complex_float *""'");
2868     }
2869     arg1 = (gsl_complex_float *)(argp1);
2870     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_float, 0 |  0 );
2871     if (!SWIG_IsOK(res2)) {
2872       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_complex_float_dat_set" "', argument " "2"" of type '" "float [2]""'");
2873     }
2874     arg2 = (float *)(argp2);
2875     {
2876       if (arg2) {
2877         size_t ii = 0;
2878         for (; ii < (size_t)2; ++ii) *(float *)&arg1->dat[ii] = *((float *)arg2 + ii);
2879       } else {
2880         SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""dat""' of type '""float [2]""'");
2881       }
2882     }
2883     ST(argvi) = &PL_sv_undef;
2884 
2885 
2886     XSRETURN(argvi);
2887   fail:
2888 
2889 
2890     SWIG_croak_null();
2891   }
2892 }
2893 
2894 
XS(_wrap_gsl_complex_float_dat_get)2895 XS(_wrap_gsl_complex_float_dat_get) {
2896   {
2897     gsl_complex_float *arg1 = (gsl_complex_float *) 0 ;
2898     void *argp1 = 0 ;
2899     int res1 = 0 ;
2900     int argvi = 0;
2901     float *result = 0 ;
2902     dXSARGS;
2903 
2904     if ((items < 1) || (items > 1)) {
2905       SWIG_croak("Usage: gsl_complex_float_dat_get(self);");
2906     }
2907     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_complex_float, 0 |  0 );
2908     if (!SWIG_IsOK(res1)) {
2909       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_complex_float_dat_get" "', argument " "1"" of type '" "gsl_complex_float *""'");
2910     }
2911     arg1 = (gsl_complex_float *)(argp1);
2912     result = (float *)(float *) ((arg1)->dat);
2913     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0); argvi++ ;
2914 
2915     XSRETURN(argvi);
2916   fail:
2917 
2918     SWIG_croak_null();
2919   }
2920 }
2921 
2922 
XS(_wrap_new_gsl_complex_float)2923 XS(_wrap_new_gsl_complex_float) {
2924   {
2925     int argvi = 0;
2926     gsl_complex_float *result = 0 ;
2927     dXSARGS;
2928 
2929     if ((items < 0) || (items > 0)) {
2930       SWIG_croak("Usage: new_gsl_complex_float();");
2931     }
2932     result = (gsl_complex_float *)calloc(1, sizeof(gsl_complex_float));
2933     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_complex_float, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
2934     XSRETURN(argvi);
2935   fail:
2936     SWIG_croak_null();
2937   }
2938 }
2939 
2940 
XS(_wrap_delete_gsl_complex_float)2941 XS(_wrap_delete_gsl_complex_float) {
2942   {
2943     gsl_complex_float *arg1 = (gsl_complex_float *) 0 ;
2944     void *argp1 = 0 ;
2945     int res1 = 0 ;
2946     int argvi = 0;
2947     dXSARGS;
2948 
2949     if ((items < 1) || (items > 1)) {
2950       SWIG_croak("Usage: delete_gsl_complex_float(self);");
2951     }
2952     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_complex_float, SWIG_POINTER_DISOWN |  0 );
2953     if (!SWIG_IsOK(res1)) {
2954       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_gsl_complex_float" "', argument " "1"" of type '" "gsl_complex_float *""'");
2955     }
2956     arg1 = (gsl_complex_float *)(argp1);
2957     free((char *) arg1);
2958     ST(argvi) = &PL_sv_undef;
2959 
2960     XSRETURN(argvi);
2961   fail:
2962 
2963     SWIG_croak_null();
2964   }
2965 }
2966 
2967 
XS(_wrap_gsl_vector_size_set)2968 XS(_wrap_gsl_vector_size_set) {
2969   {
2970     gsl_vector *arg1 = (gsl_vector *) 0 ;
2971     size_t arg2 ;
2972     void *argp1 = 0 ;
2973     int res1 = 0 ;
2974     size_t val2 ;
2975     int ecode2 = 0 ;
2976     int argvi = 0;
2977     dXSARGS;
2978 
2979     if ((items < 2) || (items > 2)) {
2980       SWIG_croak("Usage: gsl_vector_size_set(self,size);");
2981     }
2982     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 |  0 );
2983     if (!SWIG_IsOK(res1)) {
2984       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_size_set" "', argument " "1"" of type '" "gsl_vector *""'");
2985     }
2986     arg1 = (gsl_vector *)(argp1);
2987     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
2988     if (!SWIG_IsOK(ecode2)) {
2989       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_size_set" "', argument " "2"" of type '" "size_t""'");
2990     }
2991     arg2 = (size_t)(val2);
2992     if (arg1) (arg1)->size = arg2;
2993     ST(argvi) = &PL_sv_undef;
2994 
2995 
2996     XSRETURN(argvi);
2997   fail:
2998 
2999 
3000     SWIG_croak_null();
3001   }
3002 }
3003 
3004 
XS(_wrap_gsl_vector_size_get)3005 XS(_wrap_gsl_vector_size_get) {
3006   {
3007     gsl_vector *arg1 = (gsl_vector *) 0 ;
3008     void *argp1 = 0 ;
3009     int res1 = 0 ;
3010     int argvi = 0;
3011     size_t result;
3012     dXSARGS;
3013 
3014     if ((items < 1) || (items > 1)) {
3015       SWIG_croak("Usage: gsl_vector_size_get(self);");
3016     }
3017     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 |  0 );
3018     if (!SWIG_IsOK(res1)) {
3019       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_size_get" "', argument " "1"" of type '" "gsl_vector *""'");
3020     }
3021     arg1 = (gsl_vector *)(argp1);
3022     result =  ((arg1)->size);
3023     ST(argvi) = SWIG_From_size_t  SWIG_PERL_CALL_ARGS_1((size_t)(result)); argvi++ ;
3024 
3025     XSRETURN(argvi);
3026   fail:
3027 
3028     SWIG_croak_null();
3029   }
3030 }
3031 
3032 
XS(_wrap_gsl_vector_stride_set)3033 XS(_wrap_gsl_vector_stride_set) {
3034   {
3035     gsl_vector *arg1 = (gsl_vector *) 0 ;
3036     size_t arg2 ;
3037     void *argp1 = 0 ;
3038     int res1 = 0 ;
3039     size_t val2 ;
3040     int ecode2 = 0 ;
3041     int argvi = 0;
3042     dXSARGS;
3043 
3044     if ((items < 2) || (items > 2)) {
3045       SWIG_croak("Usage: gsl_vector_stride_set(self,stride);");
3046     }
3047     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 |  0 );
3048     if (!SWIG_IsOK(res1)) {
3049       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_stride_set" "', argument " "1"" of type '" "gsl_vector *""'");
3050     }
3051     arg1 = (gsl_vector *)(argp1);
3052     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
3053     if (!SWIG_IsOK(ecode2)) {
3054       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_stride_set" "', argument " "2"" of type '" "size_t""'");
3055     }
3056     arg2 = (size_t)(val2);
3057     if (arg1) (arg1)->stride = arg2;
3058     ST(argvi) = &PL_sv_undef;
3059 
3060 
3061     XSRETURN(argvi);
3062   fail:
3063 
3064 
3065     SWIG_croak_null();
3066   }
3067 }
3068 
3069 
XS(_wrap_gsl_vector_stride_get)3070 XS(_wrap_gsl_vector_stride_get) {
3071   {
3072     gsl_vector *arg1 = (gsl_vector *) 0 ;
3073     void *argp1 = 0 ;
3074     int res1 = 0 ;
3075     int argvi = 0;
3076     size_t result;
3077     dXSARGS;
3078 
3079     if ((items < 1) || (items > 1)) {
3080       SWIG_croak("Usage: gsl_vector_stride_get(self);");
3081     }
3082     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 |  0 );
3083     if (!SWIG_IsOK(res1)) {
3084       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_stride_get" "', argument " "1"" of type '" "gsl_vector *""'");
3085     }
3086     arg1 = (gsl_vector *)(argp1);
3087     result =  ((arg1)->stride);
3088     ST(argvi) = SWIG_From_size_t  SWIG_PERL_CALL_ARGS_1((size_t)(result)); argvi++ ;
3089 
3090     XSRETURN(argvi);
3091   fail:
3092 
3093     SWIG_croak_null();
3094   }
3095 }
3096 
3097 
XS(_wrap_gsl_vector_data_set)3098 XS(_wrap_gsl_vector_data_set) {
3099   {
3100     gsl_vector *arg1 = (gsl_vector *) 0 ;
3101     double *arg2 = (double *) 0 ;
3102     void *argp1 = 0 ;
3103     int res1 = 0 ;
3104     int argvi = 0;
3105     dXSARGS;
3106 
3107     if ((items < 2) || (items > 2)) {
3108       SWIG_croak("Usage: gsl_vector_data_set(self,data);");
3109     }
3110     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 |  0 );
3111     if (!SWIG_IsOK(res1)) {
3112       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_data_set" "', argument " "1"" of type '" "gsl_vector *""'");
3113     }
3114     arg1 = (gsl_vector *)(argp1);
3115     {
3116       AV *tempav;
3117       I32 len;
3118       int i;
3119       SV **tv;
3120       if (!SvROK(ST(1)))
3121       croak("Math::GSL : $data is not a reference!");
3122       if (SvTYPE(SvRV(ST(1))) != SVt_PVAV)
3123       croak("Math::GSL : $data is not an array ref!");
3124 
3125       tempav = (AV*)SvRV(ST(1));
3126       len = av_len(tempav);
3127       arg2 = (double *) malloc((len+2)*sizeof(double));
3128       for (i = 0; i <= len; i++) {
3129         tv = av_fetch(tempav, i, 0);
3130         arg2[i] = (double) SvNV(*tv);
3131       }
3132     }
3133     if (arg1) (arg1)->data = arg2;
3134     ST(argvi) = &PL_sv_undef;
3135 
3136     {
3137       if (arg2) free(arg2);
3138     }
3139     XSRETURN(argvi);
3140   fail:
3141 
3142     {
3143       if (arg2) free(arg2);
3144     }
3145     SWIG_croak_null();
3146   }
3147 }
3148 
3149 
XS(_wrap_gsl_vector_data_get)3150 XS(_wrap_gsl_vector_data_get) {
3151   {
3152     gsl_vector *arg1 = (gsl_vector *) 0 ;
3153     void *argp1 = 0 ;
3154     int res1 = 0 ;
3155     int argvi = 0;
3156     double *result = 0 ;
3157     dXSARGS;
3158 
3159     if ((items < 1) || (items > 1)) {
3160       SWIG_croak("Usage: gsl_vector_data_get(self);");
3161     }
3162     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 |  0 );
3163     if (!SWIG_IsOK(res1)) {
3164       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_data_get" "', argument " "1"" of type '" "gsl_vector *""'");
3165     }
3166     arg1 = (gsl_vector *)(argp1);
3167     result = (double *) ((arg1)->data);
3168     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0); argvi++ ;
3169 
3170     XSRETURN(argvi);
3171   fail:
3172 
3173     SWIG_croak_null();
3174   }
3175 }
3176 
3177 
XS(_wrap_gsl_vector_block_set)3178 XS(_wrap_gsl_vector_block_set) {
3179   {
3180     gsl_vector *arg1 = (gsl_vector *) 0 ;
3181     gsl_block *arg2 = (gsl_block *) 0 ;
3182     void *argp1 = 0 ;
3183     int res1 = 0 ;
3184     void *argp2 = 0 ;
3185     int res2 = 0 ;
3186     int argvi = 0;
3187     dXSARGS;
3188 
3189     if ((items < 2) || (items > 2)) {
3190       SWIG_croak("Usage: gsl_vector_block_set(self,block);");
3191     }
3192     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 |  0 );
3193     if (!SWIG_IsOK(res1)) {
3194       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_block_set" "', argument " "1"" of type '" "gsl_vector *""'");
3195     }
3196     arg1 = (gsl_vector *)(argp1);
3197     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_block, SWIG_POINTER_DISOWN |  0 );
3198     if (!SWIG_IsOK(res2)) {
3199       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_vector_block_set" "', argument " "2"" of type '" "gsl_block *""'");
3200     }
3201     arg2 = (gsl_block *)(argp2);
3202     if (arg1) (arg1)->block = arg2;
3203     ST(argvi) = &PL_sv_undef;
3204 
3205 
3206     XSRETURN(argvi);
3207   fail:
3208 
3209 
3210     SWIG_croak_null();
3211   }
3212 }
3213 
3214 
XS(_wrap_gsl_vector_block_get)3215 XS(_wrap_gsl_vector_block_get) {
3216   {
3217     gsl_vector *arg1 = (gsl_vector *) 0 ;
3218     void *argp1 = 0 ;
3219     int res1 = 0 ;
3220     int argvi = 0;
3221     gsl_block *result = 0 ;
3222     dXSARGS;
3223 
3224     if ((items < 1) || (items > 1)) {
3225       SWIG_croak("Usage: gsl_vector_block_get(self);");
3226     }
3227     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 |  0 );
3228     if (!SWIG_IsOK(res1)) {
3229       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_block_get" "', argument " "1"" of type '" "gsl_vector *""'");
3230     }
3231     arg1 = (gsl_vector *)(argp1);
3232     result = (gsl_block *) ((arg1)->block);
3233     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_block, 0 | 0); argvi++ ;
3234 
3235     XSRETURN(argvi);
3236   fail:
3237 
3238     SWIG_croak_null();
3239   }
3240 }
3241 
3242 
XS(_wrap_gsl_vector_owner_set)3243 XS(_wrap_gsl_vector_owner_set) {
3244   {
3245     gsl_vector *arg1 = (gsl_vector *) 0 ;
3246     int arg2 ;
3247     void *argp1 = 0 ;
3248     int res1 = 0 ;
3249     int val2 ;
3250     int ecode2 = 0 ;
3251     int argvi = 0;
3252     dXSARGS;
3253 
3254     if ((items < 2) || (items > 2)) {
3255       SWIG_croak("Usage: gsl_vector_owner_set(self,owner);");
3256     }
3257     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 |  0 );
3258     if (!SWIG_IsOK(res1)) {
3259       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_owner_set" "', argument " "1"" of type '" "gsl_vector *""'");
3260     }
3261     arg1 = (gsl_vector *)(argp1);
3262     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
3263     if (!SWIG_IsOK(ecode2)) {
3264       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_owner_set" "', argument " "2"" of type '" "int""'");
3265     }
3266     arg2 = (int)(val2);
3267     if (arg1) (arg1)->owner = arg2;
3268     ST(argvi) = &PL_sv_undef;
3269 
3270 
3271     XSRETURN(argvi);
3272   fail:
3273 
3274 
3275     SWIG_croak_null();
3276   }
3277 }
3278 
3279 
XS(_wrap_gsl_vector_owner_get)3280 XS(_wrap_gsl_vector_owner_get) {
3281   {
3282     gsl_vector *arg1 = (gsl_vector *) 0 ;
3283     void *argp1 = 0 ;
3284     int res1 = 0 ;
3285     int argvi = 0;
3286     int result;
3287     dXSARGS;
3288 
3289     if ((items < 1) || (items > 1)) {
3290       SWIG_croak("Usage: gsl_vector_owner_get(self);");
3291     }
3292     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 |  0 );
3293     if (!SWIG_IsOK(res1)) {
3294       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_owner_get" "', argument " "1"" of type '" "gsl_vector *""'");
3295     }
3296     arg1 = (gsl_vector *)(argp1);
3297     result = (int) ((arg1)->owner);
3298     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
3299 
3300     XSRETURN(argvi);
3301   fail:
3302 
3303     SWIG_croak_null();
3304   }
3305 }
3306 
3307 
XS(_wrap_new_gsl_vector)3308 XS(_wrap_new_gsl_vector) {
3309   {
3310     int argvi = 0;
3311     gsl_vector *result = 0 ;
3312     dXSARGS;
3313 
3314     if ((items < 0) || (items > 0)) {
3315       SWIG_croak("Usage: new_gsl_vector();");
3316     }
3317     result = (gsl_vector *)calloc(1, sizeof(gsl_vector));
3318     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_vector, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
3319     XSRETURN(argvi);
3320   fail:
3321     SWIG_croak_null();
3322   }
3323 }
3324 
3325 
XS(_wrap_delete_gsl_vector)3326 XS(_wrap_delete_gsl_vector) {
3327   {
3328     gsl_vector *arg1 = (gsl_vector *) 0 ;
3329     void *argp1 = 0 ;
3330     int res1 = 0 ;
3331     int argvi = 0;
3332     dXSARGS;
3333 
3334     if ((items < 1) || (items > 1)) {
3335       SWIG_croak("Usage: delete_gsl_vector(self);");
3336     }
3337     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, SWIG_POINTER_DISOWN |  0 );
3338     if (!SWIG_IsOK(res1)) {
3339       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_gsl_vector" "', argument " "1"" of type '" "gsl_vector *""'");
3340     }
3341     arg1 = (gsl_vector *)(argp1);
3342     free((char *) arg1);
3343     ST(argvi) = &PL_sv_undef;
3344 
3345     XSRETURN(argvi);
3346   fail:
3347 
3348     SWIG_croak_null();
3349   }
3350 }
3351 
3352 
XS(_wrap__gsl_vector_view_vector_set)3353 XS(_wrap__gsl_vector_view_vector_set) {
3354   {
3355     _gsl_vector_view *arg1 = (_gsl_vector_view *) 0 ;
3356     gsl_vector *arg2 = (gsl_vector *) 0 ;
3357     void *argp1 = 0 ;
3358     int res1 = 0 ;
3359     void *argp2 = 0 ;
3360     int res2 = 0 ;
3361     int argvi = 0;
3362     dXSARGS;
3363 
3364     if ((items < 2) || (items > 2)) {
3365       SWIG_croak("Usage: _gsl_vector_view_vector_set(self,vector);");
3366     }
3367     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__gsl_vector_view, 0 |  0 );
3368     if (!SWIG_IsOK(res1)) {
3369       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_gsl_vector_view_vector_set" "', argument " "1"" of type '" "_gsl_vector_view *""'");
3370     }
3371     arg1 = (_gsl_vector_view *)(argp1);
3372     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector, 0 |  0 );
3373     if (!SWIG_IsOK(res2)) {
3374       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_gsl_vector_view_vector_set" "', argument " "2"" of type '" "gsl_vector *""'");
3375     }
3376     arg2 = (gsl_vector *)(argp2);
3377     if (arg1) (arg1)->vector = *arg2;
3378     ST(argvi) = &PL_sv_undef;
3379 
3380 
3381     XSRETURN(argvi);
3382   fail:
3383 
3384 
3385     SWIG_croak_null();
3386   }
3387 }
3388 
3389 
XS(_wrap__gsl_vector_view_vector_get)3390 XS(_wrap__gsl_vector_view_vector_get) {
3391   {
3392     _gsl_vector_view *arg1 = (_gsl_vector_view *) 0 ;
3393     void *argp1 = 0 ;
3394     int res1 = 0 ;
3395     int argvi = 0;
3396     gsl_vector *result = 0 ;
3397     dXSARGS;
3398 
3399     if ((items < 1) || (items > 1)) {
3400       SWIG_croak("Usage: _gsl_vector_view_vector_get(self);");
3401     }
3402     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__gsl_vector_view, 0 |  0 );
3403     if (!SWIG_IsOK(res1)) {
3404       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_gsl_vector_view_vector_get" "', argument " "1"" of type '" "_gsl_vector_view *""'");
3405     }
3406     arg1 = (_gsl_vector_view *)(argp1);
3407     result = (gsl_vector *)& ((arg1)->vector);
3408     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_vector, 0 | SWIG_SHADOW); argvi++ ;
3409 
3410     XSRETURN(argvi);
3411   fail:
3412 
3413     SWIG_croak_null();
3414   }
3415 }
3416 
3417 
XS(_wrap_new__gsl_vector_view)3418 XS(_wrap_new__gsl_vector_view) {
3419   {
3420     int argvi = 0;
3421     _gsl_vector_view *result = 0 ;
3422     dXSARGS;
3423 
3424     if ((items < 0) || (items > 0)) {
3425       SWIG_croak("Usage: new__gsl_vector_view();");
3426     }
3427     result = (_gsl_vector_view *)calloc(1, sizeof(_gsl_vector_view));
3428     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__gsl_vector_view, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
3429     XSRETURN(argvi);
3430   fail:
3431     SWIG_croak_null();
3432   }
3433 }
3434 
3435 
XS(_wrap_delete__gsl_vector_view)3436 XS(_wrap_delete__gsl_vector_view) {
3437   {
3438     _gsl_vector_view *arg1 = (_gsl_vector_view *) 0 ;
3439     void *argp1 = 0 ;
3440     int res1 = 0 ;
3441     int argvi = 0;
3442     dXSARGS;
3443 
3444     if ((items < 1) || (items > 1)) {
3445       SWIG_croak("Usage: delete__gsl_vector_view(self);");
3446     }
3447     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__gsl_vector_view, SWIG_POINTER_DISOWN |  0 );
3448     if (!SWIG_IsOK(res1)) {
3449       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete__gsl_vector_view" "', argument " "1"" of type '" "_gsl_vector_view *""'");
3450     }
3451     arg1 = (_gsl_vector_view *)(argp1);
3452     free((char *) arg1);
3453     ST(argvi) = &PL_sv_undef;
3454 
3455     XSRETURN(argvi);
3456   fail:
3457 
3458     SWIG_croak_null();
3459   }
3460 }
3461 
3462 
XS(_wrap__gsl_vector_const_view_vector_set)3463 XS(_wrap__gsl_vector_const_view_vector_set) {
3464   {
3465     _gsl_vector_const_view *arg1 = (_gsl_vector_const_view *) 0 ;
3466     gsl_vector *arg2 = (gsl_vector *) 0 ;
3467     void *argp1 = 0 ;
3468     int res1 = 0 ;
3469     void *argp2 = 0 ;
3470     int res2 = 0 ;
3471     int argvi = 0;
3472     dXSARGS;
3473 
3474     if ((items < 2) || (items > 2)) {
3475       SWIG_croak("Usage: _gsl_vector_const_view_vector_set(self,vector);");
3476     }
3477     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__gsl_vector_const_view, 0 |  0 );
3478     if (!SWIG_IsOK(res1)) {
3479       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_gsl_vector_const_view_vector_set" "', argument " "1"" of type '" "_gsl_vector_const_view *""'");
3480     }
3481     arg1 = (_gsl_vector_const_view *)(argp1);
3482     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector, 0 |  0 );
3483     if (!SWIG_IsOK(res2)) {
3484       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_gsl_vector_const_view_vector_set" "', argument " "2"" of type '" "gsl_vector *""'");
3485     }
3486     arg2 = (gsl_vector *)(argp2);
3487     if (arg1) (arg1)->vector = *arg2;
3488     ST(argvi) = &PL_sv_undef;
3489 
3490 
3491     XSRETURN(argvi);
3492   fail:
3493 
3494 
3495     SWIG_croak_null();
3496   }
3497 }
3498 
3499 
XS(_wrap__gsl_vector_const_view_vector_get)3500 XS(_wrap__gsl_vector_const_view_vector_get) {
3501   {
3502     _gsl_vector_const_view *arg1 = (_gsl_vector_const_view *) 0 ;
3503     void *argp1 = 0 ;
3504     int res1 = 0 ;
3505     int argvi = 0;
3506     gsl_vector *result = 0 ;
3507     dXSARGS;
3508 
3509     if ((items < 1) || (items > 1)) {
3510       SWIG_croak("Usage: _gsl_vector_const_view_vector_get(self);");
3511     }
3512     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__gsl_vector_const_view, 0 |  0 );
3513     if (!SWIG_IsOK(res1)) {
3514       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_gsl_vector_const_view_vector_get" "', argument " "1"" of type '" "_gsl_vector_const_view *""'");
3515     }
3516     arg1 = (_gsl_vector_const_view *)(argp1);
3517     result = (gsl_vector *)& ((arg1)->vector);
3518     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_vector, 0 | SWIG_SHADOW); argvi++ ;
3519 
3520     XSRETURN(argvi);
3521   fail:
3522 
3523     SWIG_croak_null();
3524   }
3525 }
3526 
3527 
XS(_wrap_new__gsl_vector_const_view)3528 XS(_wrap_new__gsl_vector_const_view) {
3529   {
3530     int argvi = 0;
3531     _gsl_vector_const_view *result = 0 ;
3532     dXSARGS;
3533 
3534     if ((items < 0) || (items > 0)) {
3535       SWIG_croak("Usage: new__gsl_vector_const_view();");
3536     }
3537     result = (_gsl_vector_const_view *)calloc(1, sizeof(_gsl_vector_const_view));
3538     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__gsl_vector_const_view, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
3539     XSRETURN(argvi);
3540   fail:
3541     SWIG_croak_null();
3542   }
3543 }
3544 
3545 
XS(_wrap_delete__gsl_vector_const_view)3546 XS(_wrap_delete__gsl_vector_const_view) {
3547   {
3548     _gsl_vector_const_view *arg1 = (_gsl_vector_const_view *) 0 ;
3549     void *argp1 = 0 ;
3550     int res1 = 0 ;
3551     int argvi = 0;
3552     dXSARGS;
3553 
3554     if ((items < 1) || (items > 1)) {
3555       SWIG_croak("Usage: delete__gsl_vector_const_view(self);");
3556     }
3557     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__gsl_vector_const_view, SWIG_POINTER_DISOWN |  0 );
3558     if (!SWIG_IsOK(res1)) {
3559       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete__gsl_vector_const_view" "', argument " "1"" of type '" "_gsl_vector_const_view *""'");
3560     }
3561     arg1 = (_gsl_vector_const_view *)(argp1);
3562     free((char *) arg1);
3563     ST(argvi) = &PL_sv_undef;
3564 
3565     XSRETURN(argvi);
3566   fail:
3567 
3568     SWIG_croak_null();
3569   }
3570 }
3571 
3572 
XS(_wrap_gsl_vector_alloc)3573 XS(_wrap_gsl_vector_alloc) {
3574   {
3575     size_t arg1 ;
3576     size_t val1 ;
3577     int ecode1 = 0 ;
3578     int argvi = 0;
3579     gsl_vector *result = 0 ;
3580     dXSARGS;
3581 
3582     if ((items < 1) || (items > 1)) {
3583       SWIG_croak("Usage: gsl_vector_alloc(n);");
3584     }
3585     ecode1 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
3586     if (!SWIG_IsOK(ecode1)) {
3587       SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_vector_alloc" "', argument " "1"" of type '" "size_t""'");
3588     }
3589     arg1 = (size_t)(val1);
3590     result = (gsl_vector *)gsl_vector_alloc(arg1);
3591     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_vector, 0 | SWIG_SHADOW); argvi++ ;
3592 
3593     XSRETURN(argvi);
3594   fail:
3595 
3596     SWIG_croak_null();
3597   }
3598 }
3599 
3600 
XS(_wrap_gsl_vector_calloc)3601 XS(_wrap_gsl_vector_calloc) {
3602   {
3603     size_t arg1 ;
3604     size_t val1 ;
3605     int ecode1 = 0 ;
3606     int argvi = 0;
3607     gsl_vector *result = 0 ;
3608     dXSARGS;
3609 
3610     if ((items < 1) || (items > 1)) {
3611       SWIG_croak("Usage: gsl_vector_calloc(n);");
3612     }
3613     ecode1 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
3614     if (!SWIG_IsOK(ecode1)) {
3615       SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_vector_calloc" "', argument " "1"" of type '" "size_t""'");
3616     }
3617     arg1 = (size_t)(val1);
3618     result = (gsl_vector *)gsl_vector_calloc(arg1);
3619     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_vector, 0 | SWIG_SHADOW); argvi++ ;
3620 
3621     XSRETURN(argvi);
3622   fail:
3623 
3624     SWIG_croak_null();
3625   }
3626 }
3627 
3628 
XS(_wrap_gsl_vector_alloc_from_block)3629 XS(_wrap_gsl_vector_alloc_from_block) {
3630   {
3631     gsl_block *arg1 = (gsl_block *) 0 ;
3632     size_t arg2 ;
3633     size_t arg3 ;
3634     size_t arg4 ;
3635     void *argp1 = 0 ;
3636     int res1 = 0 ;
3637     size_t val2 ;
3638     int ecode2 = 0 ;
3639     size_t val3 ;
3640     int ecode3 = 0 ;
3641     size_t val4 ;
3642     int ecode4 = 0 ;
3643     int argvi = 0;
3644     gsl_vector *result = 0 ;
3645     dXSARGS;
3646 
3647     if ((items < 4) || (items > 4)) {
3648       SWIG_croak("Usage: gsl_vector_alloc_from_block(b,offset,n,stride);");
3649     }
3650     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_block, 0 |  0 );
3651     if (!SWIG_IsOK(res1)) {
3652       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_alloc_from_block" "', argument " "1"" of type '" "gsl_block *""'");
3653     }
3654     arg1 = (gsl_block *)(argp1);
3655     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
3656     if (!SWIG_IsOK(ecode2)) {
3657       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_alloc_from_block" "', argument " "2"" of type '" "size_t""'");
3658     }
3659     arg2 = (size_t)(val2);
3660     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
3661     if (!SWIG_IsOK(ecode3)) {
3662       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_vector_alloc_from_block" "', argument " "3"" of type '" "size_t""'");
3663     }
3664     arg3 = (size_t)(val3);
3665     ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
3666     if (!SWIG_IsOK(ecode4)) {
3667       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_vector_alloc_from_block" "', argument " "4"" of type '" "size_t""'");
3668     }
3669     arg4 = (size_t)(val4);
3670     result = (gsl_vector *)gsl_vector_alloc_from_block(arg1,arg2,arg3,arg4);
3671     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_vector, 0 | SWIG_SHADOW); argvi++ ;
3672 
3673 
3674 
3675 
3676     XSRETURN(argvi);
3677   fail:
3678 
3679 
3680 
3681 
3682     SWIG_croak_null();
3683   }
3684 }
3685 
3686 
XS(_wrap_gsl_vector_alloc_from_vector)3687 XS(_wrap_gsl_vector_alloc_from_vector) {
3688   {
3689     gsl_vector *arg1 = (gsl_vector *) 0 ;
3690     size_t arg2 ;
3691     size_t arg3 ;
3692     size_t arg4 ;
3693     void *argp1 = 0 ;
3694     int res1 = 0 ;
3695     size_t val2 ;
3696     int ecode2 = 0 ;
3697     size_t val3 ;
3698     int ecode3 = 0 ;
3699     size_t val4 ;
3700     int ecode4 = 0 ;
3701     int argvi = 0;
3702     gsl_vector *result = 0 ;
3703     dXSARGS;
3704 
3705     if ((items < 4) || (items > 4)) {
3706       SWIG_croak("Usage: gsl_vector_alloc_from_vector(v,offset,n,stride);");
3707     }
3708     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 |  0 );
3709     if (!SWIG_IsOK(res1)) {
3710       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_alloc_from_vector" "', argument " "1"" of type '" "gsl_vector *""'");
3711     }
3712     arg1 = (gsl_vector *)(argp1);
3713     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
3714     if (!SWIG_IsOK(ecode2)) {
3715       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_alloc_from_vector" "', argument " "2"" of type '" "size_t""'");
3716     }
3717     arg2 = (size_t)(val2);
3718     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
3719     if (!SWIG_IsOK(ecode3)) {
3720       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_vector_alloc_from_vector" "', argument " "3"" of type '" "size_t""'");
3721     }
3722     arg3 = (size_t)(val3);
3723     ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
3724     if (!SWIG_IsOK(ecode4)) {
3725       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_vector_alloc_from_vector" "', argument " "4"" of type '" "size_t""'");
3726     }
3727     arg4 = (size_t)(val4);
3728     result = (gsl_vector *)gsl_vector_alloc_from_vector(arg1,arg2,arg3,arg4);
3729     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_vector, 0 | SWIG_SHADOW); argvi++ ;
3730 
3731 
3732 
3733 
3734     XSRETURN(argvi);
3735   fail:
3736 
3737 
3738 
3739 
3740     SWIG_croak_null();
3741   }
3742 }
3743 
3744 
XS(_wrap_gsl_vector_free)3745 XS(_wrap_gsl_vector_free) {
3746   {
3747     gsl_vector *arg1 = (gsl_vector *) 0 ;
3748     void *argp1 = 0 ;
3749     int res1 = 0 ;
3750     int argvi = 0;
3751     dXSARGS;
3752 
3753     if ((items < 1) || (items > 1)) {
3754       SWIG_croak("Usage: gsl_vector_free(v);");
3755     }
3756     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 |  0 );
3757     if (!SWIG_IsOK(res1)) {
3758       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_free" "', argument " "1"" of type '" "gsl_vector *""'");
3759     }
3760     arg1 = (gsl_vector *)(argp1);
3761     gsl_vector_free(arg1);
3762     ST(argvi) = &PL_sv_undef;
3763 
3764     XSRETURN(argvi);
3765   fail:
3766 
3767     SWIG_croak_null();
3768   }
3769 }
3770 
3771 
XS(_wrap_gsl_vector_view_array)3772 XS(_wrap_gsl_vector_view_array) {
3773   {
3774     double *arg1 = (double *) 0 ;
3775     size_t arg2 ;
3776     size_t val2 ;
3777     int ecode2 = 0 ;
3778     int argvi = 0;
3779     _gsl_vector_view result;
3780     dXSARGS;
3781 
3782     if ((items < 2) || (items > 2)) {
3783       SWIG_croak("Usage: gsl_vector_view_array(v,n);");
3784     }
3785     {
3786       AV *tempav;
3787       I32 len;
3788       int i;
3789       SV **tv;
3790       if (!SvROK(ST(0)))
3791       croak("Math::GSL : $v is not a reference!");
3792       if (SvTYPE(SvRV(ST(0))) != SVt_PVAV)
3793       croak("Math::GSL : $v is not an array ref!");
3794 
3795       tempav = (AV*)SvRV(ST(0));
3796       len = av_len(tempav);
3797       arg1 = (double *) malloc((len+2)*sizeof(double));
3798       for (i = 0; i <= len; i++) {
3799         tv = av_fetch(tempav, i, 0);
3800         arg1[i] = (double) SvNV(*tv);
3801       }
3802     }
3803     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
3804     if (!SWIG_IsOK(ecode2)) {
3805       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_view_array" "', argument " "2"" of type '" "size_t""'");
3806     }
3807     arg2 = (size_t)(val2);
3808     result = gsl_vector_view_array(arg1,arg2);
3809     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++ ;
3810     {
3811       if (arg1) free(arg1);
3812     }
3813 
3814     XSRETURN(argvi);
3815   fail:
3816     {
3817       if (arg1) free(arg1);
3818     }
3819 
3820     SWIG_croak_null();
3821   }
3822 }
3823 
3824 
XS(_wrap_gsl_vector_view_array_with_stride)3825 XS(_wrap_gsl_vector_view_array_with_stride) {
3826   {
3827     double *arg1 = (double *) 0 ;
3828     size_t arg2 ;
3829     size_t arg3 ;
3830     size_t val2 ;
3831     int ecode2 = 0 ;
3832     size_t val3 ;
3833     int ecode3 = 0 ;
3834     int argvi = 0;
3835     _gsl_vector_view result;
3836     dXSARGS;
3837 
3838     if ((items < 3) || (items > 3)) {
3839       SWIG_croak("Usage: gsl_vector_view_array_with_stride(base,stride,n);");
3840     }
3841     {
3842       AV *tempav;
3843       I32 len;
3844       int i;
3845       SV **tv;
3846       if (!SvROK(ST(0)))
3847       croak("Math::GSL : $base is not a reference!");
3848       if (SvTYPE(SvRV(ST(0))) != SVt_PVAV)
3849       croak("Math::GSL : $base is not an array ref!");
3850 
3851       tempav = (AV*)SvRV(ST(0));
3852       len = av_len(tempav);
3853       arg1 = (double *) malloc((len+2)*sizeof(double));
3854       for (i = 0; i <= len; i++) {
3855         tv = av_fetch(tempav, i, 0);
3856         arg1[i] = (double) SvNV(*tv);
3857       }
3858     }
3859     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
3860     if (!SWIG_IsOK(ecode2)) {
3861       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_view_array_with_stride" "', argument " "2"" of type '" "size_t""'");
3862     }
3863     arg2 = (size_t)(val2);
3864     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
3865     if (!SWIG_IsOK(ecode3)) {
3866       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_vector_view_array_with_stride" "', argument " "3"" of type '" "size_t""'");
3867     }
3868     arg3 = (size_t)(val3);
3869     result = gsl_vector_view_array_with_stride(arg1,arg2,arg3);
3870     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++ ;
3871     {
3872       if (arg1) free(arg1);
3873     }
3874 
3875 
3876     XSRETURN(argvi);
3877   fail:
3878     {
3879       if (arg1) free(arg1);
3880     }
3881 
3882 
3883     SWIG_croak_null();
3884   }
3885 }
3886 
3887 
XS(_wrap_gsl_vector_const_view_array)3888 XS(_wrap_gsl_vector_const_view_array) {
3889   {
3890     double *arg1 = (double *) 0 ;
3891     size_t arg2 ;
3892     size_t val2 ;
3893     int ecode2 = 0 ;
3894     int argvi = 0;
3895     _gsl_vector_const_view result;
3896     dXSARGS;
3897 
3898     if ((items < 2) || (items > 2)) {
3899       SWIG_croak("Usage: gsl_vector_const_view_array(v,n);");
3900     }
3901     {
3902       AV *tempav;
3903       I32 len;
3904       int i;
3905       SV **tv;
3906       if (!SvROK(ST(0)))
3907       croak("Math::GSL : $v is not a reference!");
3908       if (SvTYPE(SvRV(ST(0))) != SVt_PVAV)
3909       croak("Math::GSL : $v is not an array ref!");
3910 
3911       tempav = (AV*)SvRV(ST(0));
3912       len = av_len(tempav);
3913       arg1 = (double *) malloc((len+2)*sizeof(double));
3914       for (i = 0; i <= len; i++) {
3915         tv = av_fetch(tempav, i, 0);
3916         arg1[i] = (double) SvNV(*tv);
3917       }
3918     }
3919     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
3920     if (!SWIG_IsOK(ecode2)) {
3921       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_const_view_array" "', argument " "2"" of type '" "size_t""'");
3922     }
3923     arg2 = (size_t)(val2);
3924     result = gsl_vector_const_view_array((double const *)arg1,arg2);
3925     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++ ;
3926     {
3927       if (arg1) free(arg1);
3928     }
3929 
3930     XSRETURN(argvi);
3931   fail:
3932     {
3933       if (arg1) free(arg1);
3934     }
3935 
3936     SWIG_croak_null();
3937   }
3938 }
3939 
3940 
XS(_wrap_gsl_vector_const_view_array_with_stride)3941 XS(_wrap_gsl_vector_const_view_array_with_stride) {
3942   {
3943     double *arg1 = (double *) 0 ;
3944     size_t arg2 ;
3945     size_t arg3 ;
3946     size_t val2 ;
3947     int ecode2 = 0 ;
3948     size_t val3 ;
3949     int ecode3 = 0 ;
3950     int argvi = 0;
3951     _gsl_vector_const_view result;
3952     dXSARGS;
3953 
3954     if ((items < 3) || (items > 3)) {
3955       SWIG_croak("Usage: gsl_vector_const_view_array_with_stride(base,stride,n);");
3956     }
3957     {
3958       AV *tempav;
3959       I32 len;
3960       int i;
3961       SV **tv;
3962       if (!SvROK(ST(0)))
3963       croak("Math::GSL : $base is not a reference!");
3964       if (SvTYPE(SvRV(ST(0))) != SVt_PVAV)
3965       croak("Math::GSL : $base is not an array ref!");
3966 
3967       tempav = (AV*)SvRV(ST(0));
3968       len = av_len(tempav);
3969       arg1 = (double *) malloc((len+2)*sizeof(double));
3970       for (i = 0; i <= len; i++) {
3971         tv = av_fetch(tempav, i, 0);
3972         arg1[i] = (double) SvNV(*tv);
3973       }
3974     }
3975     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
3976     if (!SWIG_IsOK(ecode2)) {
3977       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_const_view_array_with_stride" "', argument " "2"" of type '" "size_t""'");
3978     }
3979     arg2 = (size_t)(val2);
3980     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
3981     if (!SWIG_IsOK(ecode3)) {
3982       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_vector_const_view_array_with_stride" "', argument " "3"" of type '" "size_t""'");
3983     }
3984     arg3 = (size_t)(val3);
3985     result = gsl_vector_const_view_array_with_stride((double const *)arg1,arg2,arg3);
3986     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++ ;
3987     {
3988       if (arg1) free(arg1);
3989     }
3990 
3991 
3992     XSRETURN(argvi);
3993   fail:
3994     {
3995       if (arg1) free(arg1);
3996     }
3997 
3998 
3999     SWIG_croak_null();
4000   }
4001 }
4002 
4003 
XS(_wrap_gsl_vector_subvector)4004 XS(_wrap_gsl_vector_subvector) {
4005   {
4006     gsl_vector *arg1 = (gsl_vector *) 0 ;
4007     size_t arg2 ;
4008     size_t arg3 ;
4009     void *argp1 = 0 ;
4010     int res1 = 0 ;
4011     size_t val2 ;
4012     int ecode2 = 0 ;
4013     size_t val3 ;
4014     int ecode3 = 0 ;
4015     int argvi = 0;
4016     _gsl_vector_view result;
4017     dXSARGS;
4018 
4019     if ((items < 3) || (items > 3)) {
4020       SWIG_croak("Usage: gsl_vector_subvector(v,i,n);");
4021     }
4022     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 |  0 );
4023     if (!SWIG_IsOK(res1)) {
4024       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_subvector" "', argument " "1"" of type '" "gsl_vector *""'");
4025     }
4026     arg1 = (gsl_vector *)(argp1);
4027     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
4028     if (!SWIG_IsOK(ecode2)) {
4029       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_subvector" "', argument " "2"" of type '" "size_t""'");
4030     }
4031     arg2 = (size_t)(val2);
4032     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
4033     if (!SWIG_IsOK(ecode3)) {
4034       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_vector_subvector" "', argument " "3"" of type '" "size_t""'");
4035     }
4036     arg3 = (size_t)(val3);
4037     result = gsl_vector_subvector(arg1,arg2,arg3);
4038     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++ ;
4039 
4040 
4041 
4042     XSRETURN(argvi);
4043   fail:
4044 
4045 
4046 
4047     SWIG_croak_null();
4048   }
4049 }
4050 
4051 
XS(_wrap_gsl_vector_subvector_with_stride)4052 XS(_wrap_gsl_vector_subvector_with_stride) {
4053   {
4054     gsl_vector *arg1 = (gsl_vector *) 0 ;
4055     size_t arg2 ;
4056     size_t arg3 ;
4057     size_t arg4 ;
4058     void *argp1 = 0 ;
4059     int res1 = 0 ;
4060     size_t val2 ;
4061     int ecode2 = 0 ;
4062     size_t val3 ;
4063     int ecode3 = 0 ;
4064     size_t val4 ;
4065     int ecode4 = 0 ;
4066     int argvi = 0;
4067     _gsl_vector_view result;
4068     dXSARGS;
4069 
4070     if ((items < 4) || (items > 4)) {
4071       SWIG_croak("Usage: gsl_vector_subvector_with_stride(v,i,stride,n);");
4072     }
4073     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 |  0 );
4074     if (!SWIG_IsOK(res1)) {
4075       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_subvector_with_stride" "', argument " "1"" of type '" "gsl_vector *""'");
4076     }
4077     arg1 = (gsl_vector *)(argp1);
4078     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
4079     if (!SWIG_IsOK(ecode2)) {
4080       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_subvector_with_stride" "', argument " "2"" of type '" "size_t""'");
4081     }
4082     arg2 = (size_t)(val2);
4083     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
4084     if (!SWIG_IsOK(ecode3)) {
4085       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_vector_subvector_with_stride" "', argument " "3"" of type '" "size_t""'");
4086     }
4087     arg3 = (size_t)(val3);
4088     ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
4089     if (!SWIG_IsOK(ecode4)) {
4090       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_vector_subvector_with_stride" "', argument " "4"" of type '" "size_t""'");
4091     }
4092     arg4 = (size_t)(val4);
4093     result = gsl_vector_subvector_with_stride(arg1,arg2,arg3,arg4);
4094     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++ ;
4095 
4096 
4097 
4098 
4099     XSRETURN(argvi);
4100   fail:
4101 
4102 
4103 
4104 
4105     SWIG_croak_null();
4106   }
4107 }
4108 
4109 
XS(_wrap_gsl_vector_const_subvector)4110 XS(_wrap_gsl_vector_const_subvector) {
4111   {
4112     gsl_vector *arg1 = (gsl_vector *) 0 ;
4113     size_t arg2 ;
4114     size_t arg3 ;
4115     void *argp1 = 0 ;
4116     int res1 = 0 ;
4117     size_t val2 ;
4118     int ecode2 = 0 ;
4119     size_t val3 ;
4120     int ecode3 = 0 ;
4121     int argvi = 0;
4122     _gsl_vector_const_view result;
4123     dXSARGS;
4124 
4125     if ((items < 3) || (items > 3)) {
4126       SWIG_croak("Usage: gsl_vector_const_subvector(v,i,n);");
4127     }
4128     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 |  0 );
4129     if (!SWIG_IsOK(res1)) {
4130       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_const_subvector" "', argument " "1"" of type '" "gsl_vector const *""'");
4131     }
4132     arg1 = (gsl_vector *)(argp1);
4133     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
4134     if (!SWIG_IsOK(ecode2)) {
4135       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_const_subvector" "', argument " "2"" of type '" "size_t""'");
4136     }
4137     arg2 = (size_t)(val2);
4138     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
4139     if (!SWIG_IsOK(ecode3)) {
4140       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_vector_const_subvector" "', argument " "3"" of type '" "size_t""'");
4141     }
4142     arg3 = (size_t)(val3);
4143     result = gsl_vector_const_subvector((gsl_vector const *)arg1,arg2,arg3);
4144     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++ ;
4145 
4146 
4147 
4148     XSRETURN(argvi);
4149   fail:
4150 
4151 
4152 
4153     SWIG_croak_null();
4154   }
4155 }
4156 
4157 
XS(_wrap_gsl_vector_const_subvector_with_stride)4158 XS(_wrap_gsl_vector_const_subvector_with_stride) {
4159   {
4160     gsl_vector *arg1 = (gsl_vector *) 0 ;
4161     size_t arg2 ;
4162     size_t arg3 ;
4163     size_t arg4 ;
4164     void *argp1 = 0 ;
4165     int res1 = 0 ;
4166     size_t val2 ;
4167     int ecode2 = 0 ;
4168     size_t val3 ;
4169     int ecode3 = 0 ;
4170     size_t val4 ;
4171     int ecode4 = 0 ;
4172     int argvi = 0;
4173     _gsl_vector_const_view result;
4174     dXSARGS;
4175 
4176     if ((items < 4) || (items > 4)) {
4177       SWIG_croak("Usage: gsl_vector_const_subvector_with_stride(v,i,stride,n);");
4178     }
4179     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 |  0 );
4180     if (!SWIG_IsOK(res1)) {
4181       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_const_subvector_with_stride" "', argument " "1"" of type '" "gsl_vector const *""'");
4182     }
4183     arg1 = (gsl_vector *)(argp1);
4184     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
4185     if (!SWIG_IsOK(ecode2)) {
4186       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_const_subvector_with_stride" "', argument " "2"" of type '" "size_t""'");
4187     }
4188     arg2 = (size_t)(val2);
4189     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
4190     if (!SWIG_IsOK(ecode3)) {
4191       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_vector_const_subvector_with_stride" "', argument " "3"" of type '" "size_t""'");
4192     }
4193     arg3 = (size_t)(val3);
4194     ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
4195     if (!SWIG_IsOK(ecode4)) {
4196       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_vector_const_subvector_with_stride" "', argument " "4"" of type '" "size_t""'");
4197     }
4198     arg4 = (size_t)(val4);
4199     result = gsl_vector_const_subvector_with_stride((gsl_vector const *)arg1,arg2,arg3,arg4);
4200     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++ ;
4201 
4202 
4203 
4204 
4205     XSRETURN(argvi);
4206   fail:
4207 
4208 
4209 
4210 
4211     SWIG_croak_null();
4212   }
4213 }
4214 
4215 
XS(_wrap_gsl_vector_set_zero)4216 XS(_wrap_gsl_vector_set_zero) {
4217   {
4218     gsl_vector *arg1 = (gsl_vector *) 0 ;
4219     void *argp1 = 0 ;
4220     int res1 = 0 ;
4221     int argvi = 0;
4222     dXSARGS;
4223 
4224     if ((items < 1) || (items > 1)) {
4225       SWIG_croak("Usage: gsl_vector_set_zero(v);");
4226     }
4227     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 |  0 );
4228     if (!SWIG_IsOK(res1)) {
4229       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_set_zero" "', argument " "1"" of type '" "gsl_vector *""'");
4230     }
4231     arg1 = (gsl_vector *)(argp1);
4232     gsl_vector_set_zero(arg1);
4233     ST(argvi) = &PL_sv_undef;
4234 
4235     XSRETURN(argvi);
4236   fail:
4237 
4238     SWIG_croak_null();
4239   }
4240 }
4241 
4242 
XS(_wrap_gsl_vector_set_all)4243 XS(_wrap_gsl_vector_set_all) {
4244   {
4245     gsl_vector *arg1 = (gsl_vector *) 0 ;
4246     double arg2 ;
4247     void *argp1 = 0 ;
4248     int res1 = 0 ;
4249     double val2 ;
4250     int ecode2 = 0 ;
4251     int argvi = 0;
4252     dXSARGS;
4253 
4254     if ((items < 2) || (items > 2)) {
4255       SWIG_croak("Usage: gsl_vector_set_all(v,x);");
4256     }
4257     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 |  0 );
4258     if (!SWIG_IsOK(res1)) {
4259       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_set_all" "', argument " "1"" of type '" "gsl_vector *""'");
4260     }
4261     arg1 = (gsl_vector *)(argp1);
4262     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
4263     if (!SWIG_IsOK(ecode2)) {
4264       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_set_all" "', argument " "2"" of type '" "double""'");
4265     }
4266     arg2 = (double)(val2);
4267     gsl_vector_set_all(arg1,arg2);
4268     ST(argvi) = &PL_sv_undef;
4269 
4270 
4271     XSRETURN(argvi);
4272   fail:
4273 
4274 
4275     SWIG_croak_null();
4276   }
4277 }
4278 
4279 
XS(_wrap_gsl_vector_set_basis)4280 XS(_wrap_gsl_vector_set_basis) {
4281   {
4282     gsl_vector *arg1 = (gsl_vector *) 0 ;
4283     size_t arg2 ;
4284     void *argp1 = 0 ;
4285     int res1 = 0 ;
4286     size_t val2 ;
4287     int ecode2 = 0 ;
4288     int argvi = 0;
4289     int result;
4290     dXSARGS;
4291 
4292     if ((items < 2) || (items > 2)) {
4293       SWIG_croak("Usage: gsl_vector_set_basis(v,i);");
4294     }
4295     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 |  0 );
4296     if (!SWIG_IsOK(res1)) {
4297       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_set_basis" "', argument " "1"" of type '" "gsl_vector *""'");
4298     }
4299     arg1 = (gsl_vector *)(argp1);
4300     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
4301     if (!SWIG_IsOK(ecode2)) {
4302       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_set_basis" "', argument " "2"" of type '" "size_t""'");
4303     }
4304     arg2 = (size_t)(val2);
4305     result = (int)gsl_vector_set_basis(arg1,arg2);
4306     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
4307 
4308 
4309     XSRETURN(argvi);
4310   fail:
4311 
4312 
4313     SWIG_croak_null();
4314   }
4315 }
4316 
4317 
XS(_wrap_gsl_vector_fread)4318 XS(_wrap_gsl_vector_fread) {
4319   {
4320     FILE *arg1 = (FILE *) 0 ;
4321     gsl_vector *arg2 = (gsl_vector *) 0 ;
4322     void *argp1 = 0 ;
4323     int res1 = 0 ;
4324     void *argp2 = 0 ;
4325     int res2 = 0 ;
4326     int argvi = 0;
4327     int result;
4328     dXSARGS;
4329 
4330     if ((items < 2) || (items > 2)) {
4331       SWIG_croak("Usage: gsl_vector_fread(stream,v);");
4332     }
4333     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_FILE, 0 |  0 );
4334     if (!SWIG_IsOK(res1)) {
4335       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_fread" "', argument " "1"" of type '" "FILE *""'");
4336     }
4337     arg1 = (FILE *)(argp1);
4338     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector, 0 |  0 );
4339     if (!SWIG_IsOK(res2)) {
4340       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_vector_fread" "', argument " "2"" of type '" "gsl_vector *""'");
4341     }
4342     arg2 = (gsl_vector *)(argp2);
4343     result = (int)gsl_vector_fread(arg1,arg2);
4344     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
4345 
4346 
4347     XSRETURN(argvi);
4348   fail:
4349 
4350 
4351     SWIG_croak_null();
4352   }
4353 }
4354 
4355 
XS(_wrap_gsl_vector_fwrite)4356 XS(_wrap_gsl_vector_fwrite) {
4357   {
4358     FILE *arg1 = (FILE *) 0 ;
4359     gsl_vector *arg2 = (gsl_vector *) 0 ;
4360     void *argp1 = 0 ;
4361     int res1 = 0 ;
4362     void *argp2 = 0 ;
4363     int res2 = 0 ;
4364     int argvi = 0;
4365     int result;
4366     dXSARGS;
4367 
4368     if ((items < 2) || (items > 2)) {
4369       SWIG_croak("Usage: gsl_vector_fwrite(stream,v);");
4370     }
4371     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_FILE, 0 |  0 );
4372     if (!SWIG_IsOK(res1)) {
4373       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_fwrite" "', argument " "1"" of type '" "FILE *""'");
4374     }
4375     arg1 = (FILE *)(argp1);
4376     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector, 0 |  0 );
4377     if (!SWIG_IsOK(res2)) {
4378       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_vector_fwrite" "', argument " "2"" of type '" "gsl_vector const *""'");
4379     }
4380     arg2 = (gsl_vector *)(argp2);
4381     result = (int)gsl_vector_fwrite(arg1,(gsl_vector const *)arg2);
4382     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
4383 
4384 
4385     XSRETURN(argvi);
4386   fail:
4387 
4388 
4389     SWIG_croak_null();
4390   }
4391 }
4392 
4393 
XS(_wrap_gsl_vector_fscanf)4394 XS(_wrap_gsl_vector_fscanf) {
4395   {
4396     FILE *arg1 = (FILE *) 0 ;
4397     gsl_vector *arg2 = (gsl_vector *) 0 ;
4398     void *argp1 = 0 ;
4399     int res1 = 0 ;
4400     void *argp2 = 0 ;
4401     int res2 = 0 ;
4402     int argvi = 0;
4403     int result;
4404     dXSARGS;
4405 
4406     if ((items < 2) || (items > 2)) {
4407       SWIG_croak("Usage: gsl_vector_fscanf(stream,v);");
4408     }
4409     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_FILE, 0 |  0 );
4410     if (!SWIG_IsOK(res1)) {
4411       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_fscanf" "', argument " "1"" of type '" "FILE *""'");
4412     }
4413     arg1 = (FILE *)(argp1);
4414     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector, 0 |  0 );
4415     if (!SWIG_IsOK(res2)) {
4416       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_vector_fscanf" "', argument " "2"" of type '" "gsl_vector *""'");
4417     }
4418     arg2 = (gsl_vector *)(argp2);
4419     result = (int)gsl_vector_fscanf(arg1,arg2);
4420     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
4421 
4422 
4423     XSRETURN(argvi);
4424   fail:
4425 
4426 
4427     SWIG_croak_null();
4428   }
4429 }
4430 
4431 
XS(_wrap_gsl_vector_fprintf)4432 XS(_wrap_gsl_vector_fprintf) {
4433   {
4434     FILE *arg1 = (FILE *) 0 ;
4435     gsl_vector *arg2 = (gsl_vector *) 0 ;
4436     char *arg3 = (char *) 0 ;
4437     void *argp1 = 0 ;
4438     int res1 = 0 ;
4439     void *argp2 = 0 ;
4440     int res2 = 0 ;
4441     int res3 ;
4442     char *buf3 = 0 ;
4443     int alloc3 = 0 ;
4444     int argvi = 0;
4445     int result;
4446     dXSARGS;
4447 
4448     if ((items < 3) || (items > 3)) {
4449       SWIG_croak("Usage: gsl_vector_fprintf(stream,v,format);");
4450     }
4451     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_FILE, 0 |  0 );
4452     if (!SWIG_IsOK(res1)) {
4453       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_fprintf" "', argument " "1"" of type '" "FILE *""'");
4454     }
4455     arg1 = (FILE *)(argp1);
4456     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector, 0 |  0 );
4457     if (!SWIG_IsOK(res2)) {
4458       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_vector_fprintf" "', argument " "2"" of type '" "gsl_vector const *""'");
4459     }
4460     arg2 = (gsl_vector *)(argp2);
4461     res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
4462     if (!SWIG_IsOK(res3)) {
4463       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_vector_fprintf" "', argument " "3"" of type '" "char const *""'");
4464     }
4465     arg3 = (char *)(buf3);
4466     result = (int)gsl_vector_fprintf(arg1,(gsl_vector const *)arg2,(char const *)arg3);
4467     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
4468 
4469 
4470     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
4471     XSRETURN(argvi);
4472   fail:
4473 
4474 
4475     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
4476     SWIG_croak_null();
4477   }
4478 }
4479 
4480 
XS(_wrap_gsl_vector_memcpy)4481 XS(_wrap_gsl_vector_memcpy) {
4482   {
4483     gsl_vector *arg1 = (gsl_vector *) 0 ;
4484     gsl_vector *arg2 = (gsl_vector *) 0 ;
4485     void *argp1 = 0 ;
4486     int res1 = 0 ;
4487     void *argp2 = 0 ;
4488     int res2 = 0 ;
4489     int argvi = 0;
4490     int result;
4491     dXSARGS;
4492 
4493     if ((items < 2) || (items > 2)) {
4494       SWIG_croak("Usage: gsl_vector_memcpy(dest,src);");
4495     }
4496     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 |  0 );
4497     if (!SWIG_IsOK(res1)) {
4498       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_memcpy" "', argument " "1"" of type '" "gsl_vector *""'");
4499     }
4500     arg1 = (gsl_vector *)(argp1);
4501     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector, 0 |  0 );
4502     if (!SWIG_IsOK(res2)) {
4503       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_vector_memcpy" "', argument " "2"" of type '" "gsl_vector const *""'");
4504     }
4505     arg2 = (gsl_vector *)(argp2);
4506     result = (int)gsl_vector_memcpy(arg1,(gsl_vector const *)arg2);
4507     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
4508 
4509 
4510     XSRETURN(argvi);
4511   fail:
4512 
4513 
4514     SWIG_croak_null();
4515   }
4516 }
4517 
4518 
XS(_wrap_gsl_vector_reverse)4519 XS(_wrap_gsl_vector_reverse) {
4520   {
4521     gsl_vector *arg1 = (gsl_vector *) 0 ;
4522     void *argp1 = 0 ;
4523     int res1 = 0 ;
4524     int argvi = 0;
4525     int result;
4526     dXSARGS;
4527 
4528     if ((items < 1) || (items > 1)) {
4529       SWIG_croak("Usage: gsl_vector_reverse(v);");
4530     }
4531     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 |  0 );
4532     if (!SWIG_IsOK(res1)) {
4533       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_reverse" "', argument " "1"" of type '" "gsl_vector *""'");
4534     }
4535     arg1 = (gsl_vector *)(argp1);
4536     result = (int)gsl_vector_reverse(arg1);
4537     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
4538 
4539     XSRETURN(argvi);
4540   fail:
4541 
4542     SWIG_croak_null();
4543   }
4544 }
4545 
4546 
XS(_wrap_gsl_vector_swap)4547 XS(_wrap_gsl_vector_swap) {
4548   {
4549     gsl_vector *arg1 = (gsl_vector *) 0 ;
4550     gsl_vector *arg2 = (gsl_vector *) 0 ;
4551     void *argp1 = 0 ;
4552     int res1 = 0 ;
4553     void *argp2 = 0 ;
4554     int res2 = 0 ;
4555     int argvi = 0;
4556     int result;
4557     dXSARGS;
4558 
4559     if ((items < 2) || (items > 2)) {
4560       SWIG_croak("Usage: gsl_vector_swap(v,w);");
4561     }
4562     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 |  0 );
4563     if (!SWIG_IsOK(res1)) {
4564       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_swap" "', argument " "1"" of type '" "gsl_vector *""'");
4565     }
4566     arg1 = (gsl_vector *)(argp1);
4567     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector, 0 |  0 );
4568     if (!SWIG_IsOK(res2)) {
4569       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_vector_swap" "', argument " "2"" of type '" "gsl_vector *""'");
4570     }
4571     arg2 = (gsl_vector *)(argp2);
4572     result = (int)gsl_vector_swap(arg1,arg2);
4573     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
4574 
4575 
4576     XSRETURN(argvi);
4577   fail:
4578 
4579 
4580     SWIG_croak_null();
4581   }
4582 }
4583 
4584 
XS(_wrap_gsl_vector_swap_elements)4585 XS(_wrap_gsl_vector_swap_elements) {
4586   {
4587     gsl_vector *arg1 = (gsl_vector *) 0 ;
4588     size_t arg2 ;
4589     size_t arg3 ;
4590     void *argp1 = 0 ;
4591     int res1 = 0 ;
4592     size_t val2 ;
4593     int ecode2 = 0 ;
4594     size_t val3 ;
4595     int ecode3 = 0 ;
4596     int argvi = 0;
4597     int result;
4598     dXSARGS;
4599 
4600     if ((items < 3) || (items > 3)) {
4601       SWIG_croak("Usage: gsl_vector_swap_elements(v,i,j);");
4602     }
4603     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 |  0 );
4604     if (!SWIG_IsOK(res1)) {
4605       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_swap_elements" "', argument " "1"" of type '" "gsl_vector *""'");
4606     }
4607     arg1 = (gsl_vector *)(argp1);
4608     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
4609     if (!SWIG_IsOK(ecode2)) {
4610       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_swap_elements" "', argument " "2"" of type '" "size_t""'");
4611     }
4612     arg2 = (size_t)(val2);
4613     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
4614     if (!SWIG_IsOK(ecode3)) {
4615       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_vector_swap_elements" "', argument " "3"" of type '" "size_t""'");
4616     }
4617     arg3 = (size_t)(val3);
4618     result = (int)gsl_vector_swap_elements(arg1,arg2,arg3);
4619     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
4620 
4621 
4622 
4623     XSRETURN(argvi);
4624   fail:
4625 
4626 
4627 
4628     SWIG_croak_null();
4629   }
4630 }
4631 
4632 
XS(_wrap_gsl_vector_max)4633 XS(_wrap_gsl_vector_max) {
4634   {
4635     gsl_vector *arg1 = (gsl_vector *) 0 ;
4636     void *argp1 = 0 ;
4637     int res1 = 0 ;
4638     int argvi = 0;
4639     double result;
4640     dXSARGS;
4641 
4642     if ((items < 1) || (items > 1)) {
4643       SWIG_croak("Usage: gsl_vector_max(v);");
4644     }
4645     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 |  0 );
4646     if (!SWIG_IsOK(res1)) {
4647       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_max" "', argument " "1"" of type '" "gsl_vector const *""'");
4648     }
4649     arg1 = (gsl_vector *)(argp1);
4650     result = (double)gsl_vector_max((gsl_vector const *)arg1);
4651     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
4652 
4653     XSRETURN(argvi);
4654   fail:
4655 
4656     SWIG_croak_null();
4657   }
4658 }
4659 
4660 
XS(_wrap_gsl_vector_min)4661 XS(_wrap_gsl_vector_min) {
4662   {
4663     gsl_vector *arg1 = (gsl_vector *) 0 ;
4664     void *argp1 = 0 ;
4665     int res1 = 0 ;
4666     int argvi = 0;
4667     double result;
4668     dXSARGS;
4669 
4670     if ((items < 1) || (items > 1)) {
4671       SWIG_croak("Usage: gsl_vector_min(v);");
4672     }
4673     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 |  0 );
4674     if (!SWIG_IsOK(res1)) {
4675       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_min" "', argument " "1"" of type '" "gsl_vector const *""'");
4676     }
4677     arg1 = (gsl_vector *)(argp1);
4678     result = (double)gsl_vector_min((gsl_vector const *)arg1);
4679     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
4680 
4681     XSRETURN(argvi);
4682   fail:
4683 
4684     SWIG_croak_null();
4685   }
4686 }
4687 
4688 
XS(_wrap_gsl_vector_minmax)4689 XS(_wrap_gsl_vector_minmax) {
4690   {
4691     gsl_vector *arg1 = (gsl_vector *) 0 ;
4692     double *arg2 = (double *) 0 ;
4693     double *arg3 = (double *) 0 ;
4694     void *argp1 = 0 ;
4695     int res1 = 0 ;
4696     double temp2 ;
4697     int res2 = SWIG_TMPOBJ ;
4698     double temp3 ;
4699     int res3 = SWIG_TMPOBJ ;
4700     int argvi = 0;
4701     dXSARGS;
4702 
4703     arg2 = &temp2;
4704     arg3 = &temp3;
4705     if ((items < 1) || (items > 1)) {
4706       SWIG_croak("Usage: gsl_vector_minmax(v);");
4707     }
4708     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 |  0 );
4709     if (!SWIG_IsOK(res1)) {
4710       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_minmax" "', argument " "1"" of type '" "gsl_vector const *""'");
4711     }
4712     arg1 = (gsl_vector *)(argp1);
4713     gsl_vector_minmax((gsl_vector const *)arg1,arg2,arg3);
4714     ST(argvi) = &PL_sv_undef;
4715     if (SWIG_IsTmpObj(res2)) {
4716       if (argvi >= items) EXTEND(sp, argvi+1);  ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((*arg2)); argvi++  ;
4717     } else {
4718       int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0) : 0;
4719       if (argvi >= items) EXTEND(sp, argvi+1);  ST(argvi) = SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, new_flags); argvi++  ;
4720     }
4721     if (SWIG_IsTmpObj(res3)) {
4722       if (argvi >= items) EXTEND(sp, argvi+1);  ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((*arg3)); argvi++  ;
4723     } else {
4724       int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0) : 0;
4725       if (argvi >= items) EXTEND(sp, argvi+1);  ST(argvi) = SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, new_flags); argvi++  ;
4726     }
4727 
4728 
4729 
4730     XSRETURN(argvi);
4731   fail:
4732 
4733 
4734 
4735     SWIG_croak_null();
4736   }
4737 }
4738 
4739 
XS(_wrap_gsl_vector_max_index)4740 XS(_wrap_gsl_vector_max_index) {
4741   {
4742     gsl_vector *arg1 = (gsl_vector *) 0 ;
4743     void *argp1 = 0 ;
4744     int res1 = 0 ;
4745     int argvi = 0;
4746     size_t result;
4747     dXSARGS;
4748 
4749     if ((items < 1) || (items > 1)) {
4750       SWIG_croak("Usage: gsl_vector_max_index(v);");
4751     }
4752     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 |  0 );
4753     if (!SWIG_IsOK(res1)) {
4754       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_max_index" "', argument " "1"" of type '" "gsl_vector const *""'");
4755     }
4756     arg1 = (gsl_vector *)(argp1);
4757     result = gsl_vector_max_index((gsl_vector const *)arg1);
4758     ST(argvi) = SWIG_From_size_t  SWIG_PERL_CALL_ARGS_1((size_t)(result)); argvi++ ;
4759 
4760     XSRETURN(argvi);
4761   fail:
4762 
4763     SWIG_croak_null();
4764   }
4765 }
4766 
4767 
XS(_wrap_gsl_vector_min_index)4768 XS(_wrap_gsl_vector_min_index) {
4769   {
4770     gsl_vector *arg1 = (gsl_vector *) 0 ;
4771     void *argp1 = 0 ;
4772     int res1 = 0 ;
4773     int argvi = 0;
4774     size_t result;
4775     dXSARGS;
4776 
4777     if ((items < 1) || (items > 1)) {
4778       SWIG_croak("Usage: gsl_vector_min_index(v);");
4779     }
4780     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 |  0 );
4781     if (!SWIG_IsOK(res1)) {
4782       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_min_index" "', argument " "1"" of type '" "gsl_vector const *""'");
4783     }
4784     arg1 = (gsl_vector *)(argp1);
4785     result = gsl_vector_min_index((gsl_vector const *)arg1);
4786     ST(argvi) = SWIG_From_size_t  SWIG_PERL_CALL_ARGS_1((size_t)(result)); argvi++ ;
4787 
4788     XSRETURN(argvi);
4789   fail:
4790 
4791     SWIG_croak_null();
4792   }
4793 }
4794 
4795 
XS(_wrap_gsl_vector_minmax_index)4796 XS(_wrap_gsl_vector_minmax_index) {
4797   {
4798     gsl_vector *arg1 = (gsl_vector *) 0 ;
4799     size_t *arg2 = (size_t *) 0 ;
4800     size_t *arg3 = (size_t *) 0 ;
4801     void *argp1 = 0 ;
4802     int res1 = 0 ;
4803     size_t temp2 ;
4804     int res2 = SWIG_TMPOBJ ;
4805     size_t temp3 ;
4806     int res3 = SWIG_TMPOBJ ;
4807     int argvi = 0;
4808     dXSARGS;
4809 
4810     arg2 = &temp2;
4811     arg3 = &temp3;
4812     if ((items < 1) || (items > 1)) {
4813       SWIG_croak("Usage: gsl_vector_minmax_index(v);");
4814     }
4815     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 |  0 );
4816     if (!SWIG_IsOK(res1)) {
4817       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_minmax_index" "', argument " "1"" of type '" "gsl_vector const *""'");
4818     }
4819     arg1 = (gsl_vector *)(argp1);
4820     gsl_vector_minmax_index((gsl_vector const *)arg1,arg2,arg3);
4821     ST(argvi) = &PL_sv_undef;
4822     if (SWIG_IsTmpObj(res2)) {
4823       if (argvi >= items) EXTEND(sp, argvi+1);  ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((*arg2)); argvi++  ;
4824     } else {
4825       int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0) : 0;
4826       if (argvi >= items) EXTEND(sp, argvi+1);  ST(argvi) = SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_size_t, new_flags); argvi++  ;
4827     }
4828     if (SWIG_IsTmpObj(res3)) {
4829       if (argvi >= items) EXTEND(sp, argvi+1);  ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((*arg3)); argvi++  ;
4830     } else {
4831       int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0) : 0;
4832       if (argvi >= items) EXTEND(sp, argvi+1);  ST(argvi) = SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_size_t, new_flags); argvi++  ;
4833     }
4834 
4835 
4836 
4837     XSRETURN(argvi);
4838   fail:
4839 
4840 
4841 
4842     SWIG_croak_null();
4843   }
4844 }
4845 
4846 
XS(_wrap_gsl_vector_add)4847 XS(_wrap_gsl_vector_add) {
4848   {
4849     gsl_vector *arg1 = (gsl_vector *) 0 ;
4850     gsl_vector *arg2 = (gsl_vector *) 0 ;
4851     void *argp1 = 0 ;
4852     int res1 = 0 ;
4853     void *argp2 = 0 ;
4854     int res2 = 0 ;
4855     int argvi = 0;
4856     int result;
4857     dXSARGS;
4858 
4859     if ((items < 2) || (items > 2)) {
4860       SWIG_croak("Usage: gsl_vector_add(a,b);");
4861     }
4862     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 |  0 );
4863     if (!SWIG_IsOK(res1)) {
4864       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_add" "', argument " "1"" of type '" "gsl_vector *""'");
4865     }
4866     arg1 = (gsl_vector *)(argp1);
4867     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector, 0 |  0 );
4868     if (!SWIG_IsOK(res2)) {
4869       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_vector_add" "', argument " "2"" of type '" "gsl_vector const *""'");
4870     }
4871     arg2 = (gsl_vector *)(argp2);
4872     result = (int)gsl_vector_add(arg1,(gsl_vector const *)arg2);
4873     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
4874 
4875 
4876     XSRETURN(argvi);
4877   fail:
4878 
4879 
4880     SWIG_croak_null();
4881   }
4882 }
4883 
4884 
XS(_wrap_gsl_vector_sub)4885 XS(_wrap_gsl_vector_sub) {
4886   {
4887     gsl_vector *arg1 = (gsl_vector *) 0 ;
4888     gsl_vector *arg2 = (gsl_vector *) 0 ;
4889     void *argp1 = 0 ;
4890     int res1 = 0 ;
4891     void *argp2 = 0 ;
4892     int res2 = 0 ;
4893     int argvi = 0;
4894     int result;
4895     dXSARGS;
4896 
4897     if ((items < 2) || (items > 2)) {
4898       SWIG_croak("Usage: gsl_vector_sub(a,b);");
4899     }
4900     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 |  0 );
4901     if (!SWIG_IsOK(res1)) {
4902       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_sub" "', argument " "1"" of type '" "gsl_vector *""'");
4903     }
4904     arg1 = (gsl_vector *)(argp1);
4905     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector, 0 |  0 );
4906     if (!SWIG_IsOK(res2)) {
4907       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_vector_sub" "', argument " "2"" of type '" "gsl_vector const *""'");
4908     }
4909     arg2 = (gsl_vector *)(argp2);
4910     result = (int)gsl_vector_sub(arg1,(gsl_vector const *)arg2);
4911     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
4912 
4913 
4914     XSRETURN(argvi);
4915   fail:
4916 
4917 
4918     SWIG_croak_null();
4919   }
4920 }
4921 
4922 
XS(_wrap_gsl_vector_mul)4923 XS(_wrap_gsl_vector_mul) {
4924   {
4925     gsl_vector *arg1 = (gsl_vector *) 0 ;
4926     gsl_vector *arg2 = (gsl_vector *) 0 ;
4927     void *argp1 = 0 ;
4928     int res1 = 0 ;
4929     void *argp2 = 0 ;
4930     int res2 = 0 ;
4931     int argvi = 0;
4932     int result;
4933     dXSARGS;
4934 
4935     if ((items < 2) || (items > 2)) {
4936       SWIG_croak("Usage: gsl_vector_mul(a,b);");
4937     }
4938     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 |  0 );
4939     if (!SWIG_IsOK(res1)) {
4940       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_mul" "', argument " "1"" of type '" "gsl_vector *""'");
4941     }
4942     arg1 = (gsl_vector *)(argp1);
4943     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector, 0 |  0 );
4944     if (!SWIG_IsOK(res2)) {
4945       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_vector_mul" "', argument " "2"" of type '" "gsl_vector const *""'");
4946     }
4947     arg2 = (gsl_vector *)(argp2);
4948     result = (int)gsl_vector_mul(arg1,(gsl_vector const *)arg2);
4949     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
4950 
4951 
4952     XSRETURN(argvi);
4953   fail:
4954 
4955 
4956     SWIG_croak_null();
4957   }
4958 }
4959 
4960 
XS(_wrap_gsl_vector_div)4961 XS(_wrap_gsl_vector_div) {
4962   {
4963     gsl_vector *arg1 = (gsl_vector *) 0 ;
4964     gsl_vector *arg2 = (gsl_vector *) 0 ;
4965     void *argp1 = 0 ;
4966     int res1 = 0 ;
4967     void *argp2 = 0 ;
4968     int res2 = 0 ;
4969     int argvi = 0;
4970     int result;
4971     dXSARGS;
4972 
4973     if ((items < 2) || (items > 2)) {
4974       SWIG_croak("Usage: gsl_vector_div(a,b);");
4975     }
4976     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 |  0 );
4977     if (!SWIG_IsOK(res1)) {
4978       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_div" "', argument " "1"" of type '" "gsl_vector *""'");
4979     }
4980     arg1 = (gsl_vector *)(argp1);
4981     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector, 0 |  0 );
4982     if (!SWIG_IsOK(res2)) {
4983       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_vector_div" "', argument " "2"" of type '" "gsl_vector const *""'");
4984     }
4985     arg2 = (gsl_vector *)(argp2);
4986     result = (int)gsl_vector_div(arg1,(gsl_vector const *)arg2);
4987     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
4988 
4989 
4990     XSRETURN(argvi);
4991   fail:
4992 
4993 
4994     SWIG_croak_null();
4995   }
4996 }
4997 
4998 
XS(_wrap_gsl_vector_scale)4999 XS(_wrap_gsl_vector_scale) {
5000   {
5001     gsl_vector *arg1 = (gsl_vector *) 0 ;
5002     double arg2 ;
5003     void *argp1 = 0 ;
5004     int res1 = 0 ;
5005     double val2 ;
5006     int ecode2 = 0 ;
5007     int argvi = 0;
5008     int result;
5009     dXSARGS;
5010 
5011     if ((items < 2) || (items > 2)) {
5012       SWIG_croak("Usage: gsl_vector_scale(a,x);");
5013     }
5014     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 |  0 );
5015     if (!SWIG_IsOK(res1)) {
5016       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_scale" "', argument " "1"" of type '" "gsl_vector *""'");
5017     }
5018     arg1 = (gsl_vector *)(argp1);
5019     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5020     if (!SWIG_IsOK(ecode2)) {
5021       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_scale" "', argument " "2"" of type '" "double""'");
5022     }
5023     arg2 = (double)(val2);
5024     result = (int)gsl_vector_scale(arg1,arg2);
5025     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
5026 
5027 
5028     XSRETURN(argvi);
5029   fail:
5030 
5031 
5032     SWIG_croak_null();
5033   }
5034 }
5035 
5036 
XS(_wrap_gsl_vector_add_constant)5037 XS(_wrap_gsl_vector_add_constant) {
5038   {
5039     gsl_vector *arg1 = (gsl_vector *) 0 ;
5040     double arg2 ;
5041     void *argp1 = 0 ;
5042     int res1 = 0 ;
5043     double val2 ;
5044     int ecode2 = 0 ;
5045     int argvi = 0;
5046     int result;
5047     dXSARGS;
5048 
5049     if ((items < 2) || (items > 2)) {
5050       SWIG_croak("Usage: gsl_vector_add_constant(a,x);");
5051     }
5052     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 |  0 );
5053     if (!SWIG_IsOK(res1)) {
5054       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_add_constant" "', argument " "1"" of type '" "gsl_vector *""'");
5055     }
5056     arg1 = (gsl_vector *)(argp1);
5057     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5058     if (!SWIG_IsOK(ecode2)) {
5059       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_add_constant" "', argument " "2"" of type '" "double""'");
5060     }
5061     arg2 = (double)(val2);
5062     result = (int)gsl_vector_add_constant(arg1,arg2);
5063     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
5064 
5065 
5066     XSRETURN(argvi);
5067   fail:
5068 
5069 
5070     SWIG_croak_null();
5071   }
5072 }
5073 
5074 
XS(_wrap_gsl_vector_equal)5075 XS(_wrap_gsl_vector_equal) {
5076   {
5077     gsl_vector *arg1 = (gsl_vector *) 0 ;
5078     gsl_vector *arg2 = (gsl_vector *) 0 ;
5079     void *argp1 = 0 ;
5080     int res1 = 0 ;
5081     void *argp2 = 0 ;
5082     int res2 = 0 ;
5083     int argvi = 0;
5084     int result;
5085     dXSARGS;
5086 
5087     if ((items < 2) || (items > 2)) {
5088       SWIG_croak("Usage: gsl_vector_equal(u,v);");
5089     }
5090     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 |  0 );
5091     if (!SWIG_IsOK(res1)) {
5092       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_equal" "', argument " "1"" of type '" "gsl_vector const *""'");
5093     }
5094     arg1 = (gsl_vector *)(argp1);
5095     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector, 0 |  0 );
5096     if (!SWIG_IsOK(res2)) {
5097       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_vector_equal" "', argument " "2"" of type '" "gsl_vector const *""'");
5098     }
5099     arg2 = (gsl_vector *)(argp2);
5100     result = (int)gsl_vector_equal((gsl_vector const *)arg1,(gsl_vector const *)arg2);
5101     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
5102 
5103 
5104     XSRETURN(argvi);
5105   fail:
5106 
5107 
5108     SWIG_croak_null();
5109   }
5110 }
5111 
5112 
XS(_wrap_gsl_vector_isnull)5113 XS(_wrap_gsl_vector_isnull) {
5114   {
5115     gsl_vector *arg1 = (gsl_vector *) 0 ;
5116     void *argp1 = 0 ;
5117     int res1 = 0 ;
5118     int argvi = 0;
5119     int result;
5120     dXSARGS;
5121 
5122     if ((items < 1) || (items > 1)) {
5123       SWIG_croak("Usage: gsl_vector_isnull(v);");
5124     }
5125     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 |  0 );
5126     if (!SWIG_IsOK(res1)) {
5127       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_isnull" "', argument " "1"" of type '" "gsl_vector const *""'");
5128     }
5129     arg1 = (gsl_vector *)(argp1);
5130     result = (int)gsl_vector_isnull((gsl_vector const *)arg1);
5131     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
5132 
5133     XSRETURN(argvi);
5134   fail:
5135 
5136     SWIG_croak_null();
5137   }
5138 }
5139 
5140 
XS(_wrap_gsl_vector_ispos)5141 XS(_wrap_gsl_vector_ispos) {
5142   {
5143     gsl_vector *arg1 = (gsl_vector *) 0 ;
5144     void *argp1 = 0 ;
5145     int res1 = 0 ;
5146     int argvi = 0;
5147     int result;
5148     dXSARGS;
5149 
5150     if ((items < 1) || (items > 1)) {
5151       SWIG_croak("Usage: gsl_vector_ispos(v);");
5152     }
5153     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 |  0 );
5154     if (!SWIG_IsOK(res1)) {
5155       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_ispos" "', argument " "1"" of type '" "gsl_vector const *""'");
5156     }
5157     arg1 = (gsl_vector *)(argp1);
5158     result = (int)gsl_vector_ispos((gsl_vector const *)arg1);
5159     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
5160 
5161     XSRETURN(argvi);
5162   fail:
5163 
5164     SWIG_croak_null();
5165   }
5166 }
5167 
5168 
XS(_wrap_gsl_vector_isneg)5169 XS(_wrap_gsl_vector_isneg) {
5170   {
5171     gsl_vector *arg1 = (gsl_vector *) 0 ;
5172     void *argp1 = 0 ;
5173     int res1 = 0 ;
5174     int argvi = 0;
5175     int result;
5176     dXSARGS;
5177 
5178     if ((items < 1) || (items > 1)) {
5179       SWIG_croak("Usage: gsl_vector_isneg(v);");
5180     }
5181     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 |  0 );
5182     if (!SWIG_IsOK(res1)) {
5183       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_isneg" "', argument " "1"" of type '" "gsl_vector const *""'");
5184     }
5185     arg1 = (gsl_vector *)(argp1);
5186     result = (int)gsl_vector_isneg((gsl_vector const *)arg1);
5187     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
5188 
5189     XSRETURN(argvi);
5190   fail:
5191 
5192     SWIG_croak_null();
5193   }
5194 }
5195 
5196 
XS(_wrap_gsl_vector_isnonneg)5197 XS(_wrap_gsl_vector_isnonneg) {
5198   {
5199     gsl_vector *arg1 = (gsl_vector *) 0 ;
5200     void *argp1 = 0 ;
5201     int res1 = 0 ;
5202     int argvi = 0;
5203     int result;
5204     dXSARGS;
5205 
5206     if ((items < 1) || (items > 1)) {
5207       SWIG_croak("Usage: gsl_vector_isnonneg(v);");
5208     }
5209     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 |  0 );
5210     if (!SWIG_IsOK(res1)) {
5211       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_isnonneg" "', argument " "1"" of type '" "gsl_vector const *""'");
5212     }
5213     arg1 = (gsl_vector *)(argp1);
5214     result = (int)gsl_vector_isnonneg((gsl_vector const *)arg1);
5215     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
5216 
5217     XSRETURN(argvi);
5218   fail:
5219 
5220     SWIG_croak_null();
5221   }
5222 }
5223 
5224 
XS(_wrap_gsl_vector_get)5225 XS(_wrap_gsl_vector_get) {
5226   {
5227     gsl_vector *arg1 = (gsl_vector *) 0 ;
5228     size_t arg2 ;
5229     void *argp1 = 0 ;
5230     int res1 = 0 ;
5231     size_t val2 ;
5232     int ecode2 = 0 ;
5233     int argvi = 0;
5234     double result;
5235     dXSARGS;
5236 
5237     if ((items < 2) || (items > 2)) {
5238       SWIG_croak("Usage: gsl_vector_get(v,i);");
5239     }
5240     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 |  0 );
5241     if (!SWIG_IsOK(res1)) {
5242       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_get" "', argument " "1"" of type '" "gsl_vector const *""'");
5243     }
5244     arg1 = (gsl_vector *)(argp1);
5245     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5246     if (!SWIG_IsOK(ecode2)) {
5247       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_get" "', argument " "2"" of type '" "size_t""'");
5248     }
5249     arg2 = (size_t)(val2);
5250     result = (double)gsl_vector_get((gsl_vector const *)arg1,arg2);
5251     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
5252 
5253 
5254     XSRETURN(argvi);
5255   fail:
5256 
5257 
5258     SWIG_croak_null();
5259   }
5260 }
5261 
5262 
XS(_wrap_gsl_vector_set)5263 XS(_wrap_gsl_vector_set) {
5264   {
5265     gsl_vector *arg1 = (gsl_vector *) 0 ;
5266     size_t arg2 ;
5267     double arg3 ;
5268     void *argp1 = 0 ;
5269     int res1 = 0 ;
5270     size_t val2 ;
5271     int ecode2 = 0 ;
5272     double val3 ;
5273     int ecode3 = 0 ;
5274     int argvi = 0;
5275     dXSARGS;
5276 
5277     if ((items < 3) || (items > 3)) {
5278       SWIG_croak("Usage: gsl_vector_set(v,i,x);");
5279     }
5280     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 |  0 );
5281     if (!SWIG_IsOK(res1)) {
5282       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_set" "', argument " "1"" of type '" "gsl_vector *""'");
5283     }
5284     arg1 = (gsl_vector *)(argp1);
5285     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5286     if (!SWIG_IsOK(ecode2)) {
5287       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_set" "', argument " "2"" of type '" "size_t""'");
5288     }
5289     arg2 = (size_t)(val2);
5290     ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
5291     if (!SWIG_IsOK(ecode3)) {
5292       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_vector_set" "', argument " "3"" of type '" "double""'");
5293     }
5294     arg3 = (double)(val3);
5295     gsl_vector_set(arg1,arg2,arg3);
5296     ST(argvi) = &PL_sv_undef;
5297 
5298 
5299 
5300     XSRETURN(argvi);
5301   fail:
5302 
5303 
5304 
5305     SWIG_croak_null();
5306   }
5307 }
5308 
5309 
XS(_wrap_gsl_vector_ptr)5310 XS(_wrap_gsl_vector_ptr) {
5311   {
5312     gsl_vector *arg1 = (gsl_vector *) 0 ;
5313     size_t arg2 ;
5314     void *argp1 = 0 ;
5315     int res1 = 0 ;
5316     size_t val2 ;
5317     int ecode2 = 0 ;
5318     int argvi = 0;
5319     double *result = 0 ;
5320     dXSARGS;
5321 
5322     if ((items < 2) || (items > 2)) {
5323       SWIG_croak("Usage: gsl_vector_ptr(v,i);");
5324     }
5325     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 |  0 );
5326     if (!SWIG_IsOK(res1)) {
5327       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_ptr" "', argument " "1"" of type '" "gsl_vector *""'");
5328     }
5329     arg1 = (gsl_vector *)(argp1);
5330     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5331     if (!SWIG_IsOK(ecode2)) {
5332       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_ptr" "', argument " "2"" of type '" "size_t""'");
5333     }
5334     arg2 = (size_t)(val2);
5335     result = (double *)gsl_vector_ptr(arg1,arg2);
5336     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0); argvi++ ;
5337 
5338 
5339     XSRETURN(argvi);
5340   fail:
5341 
5342 
5343     SWIG_croak_null();
5344   }
5345 }
5346 
5347 
XS(_wrap_gsl_vector_const_ptr)5348 XS(_wrap_gsl_vector_const_ptr) {
5349   {
5350     gsl_vector *arg1 = (gsl_vector *) 0 ;
5351     size_t arg2 ;
5352     void *argp1 = 0 ;
5353     int res1 = 0 ;
5354     size_t val2 ;
5355     int ecode2 = 0 ;
5356     int argvi = 0;
5357     double *result = 0 ;
5358     dXSARGS;
5359 
5360     if ((items < 2) || (items > 2)) {
5361       SWIG_croak("Usage: gsl_vector_const_ptr(v,i);");
5362     }
5363     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 |  0 );
5364     if (!SWIG_IsOK(res1)) {
5365       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_const_ptr" "', argument " "1"" of type '" "gsl_vector const *""'");
5366     }
5367     arg1 = (gsl_vector *)(argp1);
5368     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5369     if (!SWIG_IsOK(ecode2)) {
5370       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_const_ptr" "', argument " "2"" of type '" "size_t""'");
5371     }
5372     arg2 = (size_t)(val2);
5373     result = (double *)gsl_vector_const_ptr((gsl_vector const *)arg1,arg2);
5374     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0); argvi++ ;
5375 
5376 
5377     XSRETURN(argvi);
5378   fail:
5379 
5380 
5381     SWIG_croak_null();
5382   }
5383 }
5384 
5385 
XS(_wrap_gsl_matrix_size1_set)5386 XS(_wrap_gsl_matrix_size1_set) {
5387   {
5388     gsl_matrix *arg1 = (gsl_matrix *) 0 ;
5389     size_t arg2 ;
5390     void *argp1 = 0 ;
5391     int res1 = 0 ;
5392     size_t val2 ;
5393     int ecode2 = 0 ;
5394     int argvi = 0;
5395     dXSARGS;
5396 
5397     if ((items < 2) || (items > 2)) {
5398       SWIG_croak("Usage: gsl_matrix_size1_set(self,size1);");
5399     }
5400     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix, 0 |  0 );
5401     if (!SWIG_IsOK(res1)) {
5402       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_size1_set" "', argument " "1"" of type '" "gsl_matrix *""'");
5403     }
5404     arg1 = (gsl_matrix *)(argp1);
5405     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5406     if (!SWIG_IsOK(ecode2)) {
5407       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_size1_set" "', argument " "2"" of type '" "size_t""'");
5408     }
5409     arg2 = (size_t)(val2);
5410     if (arg1) (arg1)->size1 = arg2;
5411     ST(argvi) = &PL_sv_undef;
5412 
5413 
5414     XSRETURN(argvi);
5415   fail:
5416 
5417 
5418     SWIG_croak_null();
5419   }
5420 }
5421 
5422 
XS(_wrap_gsl_matrix_size1_get)5423 XS(_wrap_gsl_matrix_size1_get) {
5424   {
5425     gsl_matrix *arg1 = (gsl_matrix *) 0 ;
5426     void *argp1 = 0 ;
5427     int res1 = 0 ;
5428     int argvi = 0;
5429     size_t result;
5430     dXSARGS;
5431 
5432     if ((items < 1) || (items > 1)) {
5433       SWIG_croak("Usage: gsl_matrix_size1_get(self);");
5434     }
5435     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix, 0 |  0 );
5436     if (!SWIG_IsOK(res1)) {
5437       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_size1_get" "', argument " "1"" of type '" "gsl_matrix *""'");
5438     }
5439     arg1 = (gsl_matrix *)(argp1);
5440     result =  ((arg1)->size1);
5441     ST(argvi) = SWIG_From_size_t  SWIG_PERL_CALL_ARGS_1((size_t)(result)); argvi++ ;
5442 
5443     XSRETURN(argvi);
5444   fail:
5445 
5446     SWIG_croak_null();
5447   }
5448 }
5449 
5450 
XS(_wrap_gsl_matrix_size2_set)5451 XS(_wrap_gsl_matrix_size2_set) {
5452   {
5453     gsl_matrix *arg1 = (gsl_matrix *) 0 ;
5454     size_t arg2 ;
5455     void *argp1 = 0 ;
5456     int res1 = 0 ;
5457     size_t val2 ;
5458     int ecode2 = 0 ;
5459     int argvi = 0;
5460     dXSARGS;
5461 
5462     if ((items < 2) || (items > 2)) {
5463       SWIG_croak("Usage: gsl_matrix_size2_set(self,size2);");
5464     }
5465     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix, 0 |  0 );
5466     if (!SWIG_IsOK(res1)) {
5467       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_size2_set" "', argument " "1"" of type '" "gsl_matrix *""'");
5468     }
5469     arg1 = (gsl_matrix *)(argp1);
5470     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5471     if (!SWIG_IsOK(ecode2)) {
5472       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_size2_set" "', argument " "2"" of type '" "size_t""'");
5473     }
5474     arg2 = (size_t)(val2);
5475     if (arg1) (arg1)->size2 = arg2;
5476     ST(argvi) = &PL_sv_undef;
5477 
5478 
5479     XSRETURN(argvi);
5480   fail:
5481 
5482 
5483     SWIG_croak_null();
5484   }
5485 }
5486 
5487 
XS(_wrap_gsl_matrix_size2_get)5488 XS(_wrap_gsl_matrix_size2_get) {
5489   {
5490     gsl_matrix *arg1 = (gsl_matrix *) 0 ;
5491     void *argp1 = 0 ;
5492     int res1 = 0 ;
5493     int argvi = 0;
5494     size_t result;
5495     dXSARGS;
5496 
5497     if ((items < 1) || (items > 1)) {
5498       SWIG_croak("Usage: gsl_matrix_size2_get(self);");
5499     }
5500     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix, 0 |  0 );
5501     if (!SWIG_IsOK(res1)) {
5502       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_size2_get" "', argument " "1"" of type '" "gsl_matrix *""'");
5503     }
5504     arg1 = (gsl_matrix *)(argp1);
5505     result =  ((arg1)->size2);
5506     ST(argvi) = SWIG_From_size_t  SWIG_PERL_CALL_ARGS_1((size_t)(result)); argvi++ ;
5507 
5508     XSRETURN(argvi);
5509   fail:
5510 
5511     SWIG_croak_null();
5512   }
5513 }
5514 
5515 
XS(_wrap_gsl_matrix_tda_set)5516 XS(_wrap_gsl_matrix_tda_set) {
5517   {
5518     gsl_matrix *arg1 = (gsl_matrix *) 0 ;
5519     size_t arg2 ;
5520     void *argp1 = 0 ;
5521     int res1 = 0 ;
5522     size_t val2 ;
5523     int ecode2 = 0 ;
5524     int argvi = 0;
5525     dXSARGS;
5526 
5527     if ((items < 2) || (items > 2)) {
5528       SWIG_croak("Usage: gsl_matrix_tda_set(self,tda);");
5529     }
5530     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix, 0 |  0 );
5531     if (!SWIG_IsOK(res1)) {
5532       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_tda_set" "', argument " "1"" of type '" "gsl_matrix *""'");
5533     }
5534     arg1 = (gsl_matrix *)(argp1);
5535     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5536     if (!SWIG_IsOK(ecode2)) {
5537       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_tda_set" "', argument " "2"" of type '" "size_t""'");
5538     }
5539     arg2 = (size_t)(val2);
5540     if (arg1) (arg1)->tda = arg2;
5541     ST(argvi) = &PL_sv_undef;
5542 
5543 
5544     XSRETURN(argvi);
5545   fail:
5546 
5547 
5548     SWIG_croak_null();
5549   }
5550 }
5551 
5552 
XS(_wrap_gsl_matrix_tda_get)5553 XS(_wrap_gsl_matrix_tda_get) {
5554   {
5555     gsl_matrix *arg1 = (gsl_matrix *) 0 ;
5556     void *argp1 = 0 ;
5557     int res1 = 0 ;
5558     int argvi = 0;
5559     size_t result;
5560     dXSARGS;
5561 
5562     if ((items < 1) || (items > 1)) {
5563       SWIG_croak("Usage: gsl_matrix_tda_get(self);");
5564     }
5565     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix, 0 |  0 );
5566     if (!SWIG_IsOK(res1)) {
5567       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_tda_get" "', argument " "1"" of type '" "gsl_matrix *""'");
5568     }
5569     arg1 = (gsl_matrix *)(argp1);
5570     result =  ((arg1)->tda);
5571     ST(argvi) = SWIG_From_size_t  SWIG_PERL_CALL_ARGS_1((size_t)(result)); argvi++ ;
5572 
5573     XSRETURN(argvi);
5574   fail:
5575 
5576     SWIG_croak_null();
5577   }
5578 }
5579 
5580 
XS(_wrap_gsl_matrix_data_set)5581 XS(_wrap_gsl_matrix_data_set) {
5582   {
5583     gsl_matrix *arg1 = (gsl_matrix *) 0 ;
5584     double *arg2 = (double *) 0 ;
5585     void *argp1 = 0 ;
5586     int res1 = 0 ;
5587     int argvi = 0;
5588     dXSARGS;
5589 
5590     if ((items < 2) || (items > 2)) {
5591       SWIG_croak("Usage: gsl_matrix_data_set(self,data);");
5592     }
5593     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix, 0 |  0 );
5594     if (!SWIG_IsOK(res1)) {
5595       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_data_set" "', argument " "1"" of type '" "gsl_matrix *""'");
5596     }
5597     arg1 = (gsl_matrix *)(argp1);
5598     {
5599       AV *tempav;
5600       I32 len;
5601       int i;
5602       SV **tv;
5603       if (!SvROK(ST(1)))
5604       croak("Math::GSL : $data is not a reference!");
5605       if (SvTYPE(SvRV(ST(1))) != SVt_PVAV)
5606       croak("Math::GSL : $data is not an array ref!");
5607 
5608       tempav = (AV*)SvRV(ST(1));
5609       len = av_len(tempav);
5610       arg2 = (double *) malloc((len+2)*sizeof(double));
5611       for (i = 0; i <= len; i++) {
5612         tv = av_fetch(tempav, i, 0);
5613         arg2[i] = (double) SvNV(*tv);
5614       }
5615     }
5616     if (arg1) (arg1)->data = arg2;
5617     ST(argvi) = &PL_sv_undef;
5618 
5619     {
5620       if (arg2) free(arg2);
5621     }
5622     XSRETURN(argvi);
5623   fail:
5624 
5625     {
5626       if (arg2) free(arg2);
5627     }
5628     SWIG_croak_null();
5629   }
5630 }
5631 
5632 
XS(_wrap_gsl_matrix_data_get)5633 XS(_wrap_gsl_matrix_data_get) {
5634   {
5635     gsl_matrix *arg1 = (gsl_matrix *) 0 ;
5636     void *argp1 = 0 ;
5637     int res1 = 0 ;
5638     int argvi = 0;
5639     double *result = 0 ;
5640     dXSARGS;
5641 
5642     if ((items < 1) || (items > 1)) {
5643       SWIG_croak("Usage: gsl_matrix_data_get(self);");
5644     }
5645     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix, 0 |  0 );
5646     if (!SWIG_IsOK(res1)) {
5647       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_data_get" "', argument " "1"" of type '" "gsl_matrix *""'");
5648     }
5649     arg1 = (gsl_matrix *)(argp1);
5650     result = (double *) ((arg1)->data);
5651     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0); argvi++ ;
5652 
5653     XSRETURN(argvi);
5654   fail:
5655 
5656     SWIG_croak_null();
5657   }
5658 }
5659 
5660 
XS(_wrap_gsl_matrix_block_set)5661 XS(_wrap_gsl_matrix_block_set) {
5662   {
5663     gsl_matrix *arg1 = (gsl_matrix *) 0 ;
5664     gsl_block *arg2 = (gsl_block *) 0 ;
5665     void *argp1 = 0 ;
5666     int res1 = 0 ;
5667     void *argp2 = 0 ;
5668     int res2 = 0 ;
5669     int argvi = 0;
5670     dXSARGS;
5671 
5672     if ((items < 2) || (items > 2)) {
5673       SWIG_croak("Usage: gsl_matrix_block_set(self,block);");
5674     }
5675     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix, 0 |  0 );
5676     if (!SWIG_IsOK(res1)) {
5677       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_block_set" "', argument " "1"" of type '" "gsl_matrix *""'");
5678     }
5679     arg1 = (gsl_matrix *)(argp1);
5680     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_block, SWIG_POINTER_DISOWN |  0 );
5681     if (!SWIG_IsOK(res2)) {
5682       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_block_set" "', argument " "2"" of type '" "gsl_block *""'");
5683     }
5684     arg2 = (gsl_block *)(argp2);
5685     if (arg1) (arg1)->block = arg2;
5686     ST(argvi) = &PL_sv_undef;
5687 
5688 
5689     XSRETURN(argvi);
5690   fail:
5691 
5692 
5693     SWIG_croak_null();
5694   }
5695 }
5696 
5697 
XS(_wrap_gsl_matrix_block_get)5698 XS(_wrap_gsl_matrix_block_get) {
5699   {
5700     gsl_matrix *arg1 = (gsl_matrix *) 0 ;
5701     void *argp1 = 0 ;
5702     int res1 = 0 ;
5703     int argvi = 0;
5704     gsl_block *result = 0 ;
5705     dXSARGS;
5706 
5707     if ((items < 1) || (items > 1)) {
5708       SWIG_croak("Usage: gsl_matrix_block_get(self);");
5709     }
5710     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix, 0 |  0 );
5711     if (!SWIG_IsOK(res1)) {
5712       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_block_get" "', argument " "1"" of type '" "gsl_matrix *""'");
5713     }
5714     arg1 = (gsl_matrix *)(argp1);
5715     result = (gsl_block *) ((arg1)->block);
5716     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_block, 0 | 0); argvi++ ;
5717 
5718     XSRETURN(argvi);
5719   fail:
5720 
5721     SWIG_croak_null();
5722   }
5723 }
5724 
5725 
XS(_wrap_gsl_matrix_owner_set)5726 XS(_wrap_gsl_matrix_owner_set) {
5727   {
5728     gsl_matrix *arg1 = (gsl_matrix *) 0 ;
5729     int arg2 ;
5730     void *argp1 = 0 ;
5731     int res1 = 0 ;
5732     int val2 ;
5733     int ecode2 = 0 ;
5734     int argvi = 0;
5735     dXSARGS;
5736 
5737     if ((items < 2) || (items > 2)) {
5738       SWIG_croak("Usage: gsl_matrix_owner_set(self,owner);");
5739     }
5740     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix, 0 |  0 );
5741     if (!SWIG_IsOK(res1)) {
5742       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_owner_set" "', argument " "1"" of type '" "gsl_matrix *""'");
5743     }
5744     arg1 = (gsl_matrix *)(argp1);
5745     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5746     if (!SWIG_IsOK(ecode2)) {
5747       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_owner_set" "', argument " "2"" of type '" "int""'");
5748     }
5749     arg2 = (int)(val2);
5750     if (arg1) (arg1)->owner = arg2;
5751     ST(argvi) = &PL_sv_undef;
5752 
5753 
5754     XSRETURN(argvi);
5755   fail:
5756 
5757 
5758     SWIG_croak_null();
5759   }
5760 }
5761 
5762 
XS(_wrap_gsl_matrix_owner_get)5763 XS(_wrap_gsl_matrix_owner_get) {
5764   {
5765     gsl_matrix *arg1 = (gsl_matrix *) 0 ;
5766     void *argp1 = 0 ;
5767     int res1 = 0 ;
5768     int argvi = 0;
5769     int result;
5770     dXSARGS;
5771 
5772     if ((items < 1) || (items > 1)) {
5773       SWIG_croak("Usage: gsl_matrix_owner_get(self);");
5774     }
5775     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix, 0 |  0 );
5776     if (!SWIG_IsOK(res1)) {
5777       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_owner_get" "', argument " "1"" of type '" "gsl_matrix *""'");
5778     }
5779     arg1 = (gsl_matrix *)(argp1);
5780     result = (int) ((arg1)->owner);
5781     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
5782 
5783     XSRETURN(argvi);
5784   fail:
5785 
5786     SWIG_croak_null();
5787   }
5788 }
5789 
5790 
XS(_wrap_new_gsl_matrix)5791 XS(_wrap_new_gsl_matrix) {
5792   {
5793     int argvi = 0;
5794     gsl_matrix *result = 0 ;
5795     dXSARGS;
5796 
5797     if ((items < 0) || (items > 0)) {
5798       SWIG_croak("Usage: new_gsl_matrix();");
5799     }
5800     result = (gsl_matrix *)calloc(1, sizeof(gsl_matrix));
5801     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_matrix, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
5802     XSRETURN(argvi);
5803   fail:
5804     SWIG_croak_null();
5805   }
5806 }
5807 
5808 
XS(_wrap_delete_gsl_matrix)5809 XS(_wrap_delete_gsl_matrix) {
5810   {
5811     gsl_matrix *arg1 = (gsl_matrix *) 0 ;
5812     void *argp1 = 0 ;
5813     int res1 = 0 ;
5814     int argvi = 0;
5815     dXSARGS;
5816 
5817     if ((items < 1) || (items > 1)) {
5818       SWIG_croak("Usage: delete_gsl_matrix(self);");
5819     }
5820     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix, SWIG_POINTER_DISOWN |  0 );
5821     if (!SWIG_IsOK(res1)) {
5822       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_gsl_matrix" "', argument " "1"" of type '" "gsl_matrix *""'");
5823     }
5824     arg1 = (gsl_matrix *)(argp1);
5825     free((char *) arg1);
5826     ST(argvi) = &PL_sv_undef;
5827 
5828     XSRETURN(argvi);
5829   fail:
5830 
5831     SWIG_croak_null();
5832   }
5833 }
5834 
5835 
XS(_wrap__gsl_matrix_view_matrix_set)5836 XS(_wrap__gsl_matrix_view_matrix_set) {
5837   {
5838     _gsl_matrix_view *arg1 = (_gsl_matrix_view *) 0 ;
5839     gsl_matrix *arg2 = (gsl_matrix *) 0 ;
5840     void *argp1 = 0 ;
5841     int res1 = 0 ;
5842     void *argp2 = 0 ;
5843     int res2 = 0 ;
5844     int argvi = 0;
5845     dXSARGS;
5846 
5847     if ((items < 2) || (items > 2)) {
5848       SWIG_croak("Usage: _gsl_matrix_view_matrix_set(self,matrix);");
5849     }
5850     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__gsl_matrix_view, 0 |  0 );
5851     if (!SWIG_IsOK(res1)) {
5852       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_gsl_matrix_view_matrix_set" "', argument " "1"" of type '" "_gsl_matrix_view *""'");
5853     }
5854     arg1 = (_gsl_matrix_view *)(argp1);
5855     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix, 0 |  0 );
5856     if (!SWIG_IsOK(res2)) {
5857       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_gsl_matrix_view_matrix_set" "', argument " "2"" of type '" "gsl_matrix *""'");
5858     }
5859     arg2 = (gsl_matrix *)(argp2);
5860     if (arg1) (arg1)->matrix = *arg2;
5861     ST(argvi) = &PL_sv_undef;
5862 
5863 
5864     XSRETURN(argvi);
5865   fail:
5866 
5867 
5868     SWIG_croak_null();
5869   }
5870 }
5871 
5872 
XS(_wrap__gsl_matrix_view_matrix_get)5873 XS(_wrap__gsl_matrix_view_matrix_get) {
5874   {
5875     _gsl_matrix_view *arg1 = (_gsl_matrix_view *) 0 ;
5876     void *argp1 = 0 ;
5877     int res1 = 0 ;
5878     int argvi = 0;
5879     gsl_matrix *result = 0 ;
5880     dXSARGS;
5881 
5882     if ((items < 1) || (items > 1)) {
5883       SWIG_croak("Usage: _gsl_matrix_view_matrix_get(self);");
5884     }
5885     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__gsl_matrix_view, 0 |  0 );
5886     if (!SWIG_IsOK(res1)) {
5887       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_gsl_matrix_view_matrix_get" "', argument " "1"" of type '" "_gsl_matrix_view *""'");
5888     }
5889     arg1 = (_gsl_matrix_view *)(argp1);
5890     result = (gsl_matrix *)& ((arg1)->matrix);
5891     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_matrix, 0 | SWIG_SHADOW); argvi++ ;
5892 
5893     XSRETURN(argvi);
5894   fail:
5895 
5896     SWIG_croak_null();
5897   }
5898 }
5899 
5900 
XS(_wrap_new__gsl_matrix_view)5901 XS(_wrap_new__gsl_matrix_view) {
5902   {
5903     int argvi = 0;
5904     _gsl_matrix_view *result = 0 ;
5905     dXSARGS;
5906 
5907     if ((items < 0) || (items > 0)) {
5908       SWIG_croak("Usage: new__gsl_matrix_view();");
5909     }
5910     result = (_gsl_matrix_view *)calloc(1, sizeof(_gsl_matrix_view));
5911     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__gsl_matrix_view, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
5912     XSRETURN(argvi);
5913   fail:
5914     SWIG_croak_null();
5915   }
5916 }
5917 
5918 
XS(_wrap_delete__gsl_matrix_view)5919 XS(_wrap_delete__gsl_matrix_view) {
5920   {
5921     _gsl_matrix_view *arg1 = (_gsl_matrix_view *) 0 ;
5922     void *argp1 = 0 ;
5923     int res1 = 0 ;
5924     int argvi = 0;
5925     dXSARGS;
5926 
5927     if ((items < 1) || (items > 1)) {
5928       SWIG_croak("Usage: delete__gsl_matrix_view(self);");
5929     }
5930     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__gsl_matrix_view, SWIG_POINTER_DISOWN |  0 );
5931     if (!SWIG_IsOK(res1)) {
5932       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete__gsl_matrix_view" "', argument " "1"" of type '" "_gsl_matrix_view *""'");
5933     }
5934     arg1 = (_gsl_matrix_view *)(argp1);
5935     free((char *) arg1);
5936     ST(argvi) = &PL_sv_undef;
5937 
5938     XSRETURN(argvi);
5939   fail:
5940 
5941     SWIG_croak_null();
5942   }
5943 }
5944 
5945 
XS(_wrap__gsl_matrix_const_view_matrix_set)5946 XS(_wrap__gsl_matrix_const_view_matrix_set) {
5947   {
5948     _gsl_matrix_const_view *arg1 = (_gsl_matrix_const_view *) 0 ;
5949     gsl_matrix *arg2 = (gsl_matrix *) 0 ;
5950     void *argp1 = 0 ;
5951     int res1 = 0 ;
5952     void *argp2 = 0 ;
5953     int res2 = 0 ;
5954     int argvi = 0;
5955     dXSARGS;
5956 
5957     if ((items < 2) || (items > 2)) {
5958       SWIG_croak("Usage: _gsl_matrix_const_view_matrix_set(self,matrix);");
5959     }
5960     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__gsl_matrix_const_view, 0 |  0 );
5961     if (!SWIG_IsOK(res1)) {
5962       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_gsl_matrix_const_view_matrix_set" "', argument " "1"" of type '" "_gsl_matrix_const_view *""'");
5963     }
5964     arg1 = (_gsl_matrix_const_view *)(argp1);
5965     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix, 0 |  0 );
5966     if (!SWIG_IsOK(res2)) {
5967       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_gsl_matrix_const_view_matrix_set" "', argument " "2"" of type '" "gsl_matrix *""'");
5968     }
5969     arg2 = (gsl_matrix *)(argp2);
5970     if (arg1) (arg1)->matrix = *arg2;
5971     ST(argvi) = &PL_sv_undef;
5972 
5973 
5974     XSRETURN(argvi);
5975   fail:
5976 
5977 
5978     SWIG_croak_null();
5979   }
5980 }
5981 
5982 
XS(_wrap__gsl_matrix_const_view_matrix_get)5983 XS(_wrap__gsl_matrix_const_view_matrix_get) {
5984   {
5985     _gsl_matrix_const_view *arg1 = (_gsl_matrix_const_view *) 0 ;
5986     void *argp1 = 0 ;
5987     int res1 = 0 ;
5988     int argvi = 0;
5989     gsl_matrix *result = 0 ;
5990     dXSARGS;
5991 
5992     if ((items < 1) || (items > 1)) {
5993       SWIG_croak("Usage: _gsl_matrix_const_view_matrix_get(self);");
5994     }
5995     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__gsl_matrix_const_view, 0 |  0 );
5996     if (!SWIG_IsOK(res1)) {
5997       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_gsl_matrix_const_view_matrix_get" "', argument " "1"" of type '" "_gsl_matrix_const_view *""'");
5998     }
5999     arg1 = (_gsl_matrix_const_view *)(argp1);
6000     result = (gsl_matrix *)& ((arg1)->matrix);
6001     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_matrix, 0 | SWIG_SHADOW); argvi++ ;
6002 
6003     XSRETURN(argvi);
6004   fail:
6005 
6006     SWIG_croak_null();
6007   }
6008 }
6009 
6010 
XS(_wrap_new__gsl_matrix_const_view)6011 XS(_wrap_new__gsl_matrix_const_view) {
6012   {
6013     int argvi = 0;
6014     _gsl_matrix_const_view *result = 0 ;
6015     dXSARGS;
6016 
6017     if ((items < 0) || (items > 0)) {
6018       SWIG_croak("Usage: new__gsl_matrix_const_view();");
6019     }
6020     result = (_gsl_matrix_const_view *)calloc(1, sizeof(_gsl_matrix_const_view));
6021     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__gsl_matrix_const_view, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
6022     XSRETURN(argvi);
6023   fail:
6024     SWIG_croak_null();
6025   }
6026 }
6027 
6028 
XS(_wrap_delete__gsl_matrix_const_view)6029 XS(_wrap_delete__gsl_matrix_const_view) {
6030   {
6031     _gsl_matrix_const_view *arg1 = (_gsl_matrix_const_view *) 0 ;
6032     void *argp1 = 0 ;
6033     int res1 = 0 ;
6034     int argvi = 0;
6035     dXSARGS;
6036 
6037     if ((items < 1) || (items > 1)) {
6038       SWIG_croak("Usage: delete__gsl_matrix_const_view(self);");
6039     }
6040     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__gsl_matrix_const_view, SWIG_POINTER_DISOWN |  0 );
6041     if (!SWIG_IsOK(res1)) {
6042       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete__gsl_matrix_const_view" "', argument " "1"" of type '" "_gsl_matrix_const_view *""'");
6043     }
6044     arg1 = (_gsl_matrix_const_view *)(argp1);
6045     free((char *) arg1);
6046     ST(argvi) = &PL_sv_undef;
6047 
6048     XSRETURN(argvi);
6049   fail:
6050 
6051     SWIG_croak_null();
6052   }
6053 }
6054 
6055 
XS(_wrap_gsl_matrix_alloc)6056 XS(_wrap_gsl_matrix_alloc) {
6057   {
6058     size_t arg1 ;
6059     size_t arg2 ;
6060     size_t val1 ;
6061     int ecode1 = 0 ;
6062     size_t val2 ;
6063     int ecode2 = 0 ;
6064     int argvi = 0;
6065     gsl_matrix *result = 0 ;
6066     dXSARGS;
6067 
6068     if ((items < 2) || (items > 2)) {
6069       SWIG_croak("Usage: gsl_matrix_alloc(n1,n2);");
6070     }
6071     ecode1 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
6072     if (!SWIG_IsOK(ecode1)) {
6073       SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_matrix_alloc" "', argument " "1"" of type '" "size_t""'");
6074     }
6075     arg1 = (size_t)(val1);
6076     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6077     if (!SWIG_IsOK(ecode2)) {
6078       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_alloc" "', argument " "2"" of type '" "size_t""'");
6079     }
6080     arg2 = (size_t)(val2);
6081     result = (gsl_matrix *)gsl_matrix_alloc(arg1,arg2);
6082     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_matrix, 0 | SWIG_SHADOW); argvi++ ;
6083 
6084 
6085     XSRETURN(argvi);
6086   fail:
6087 
6088 
6089     SWIG_croak_null();
6090   }
6091 }
6092 
6093 
XS(_wrap_gsl_matrix_calloc)6094 XS(_wrap_gsl_matrix_calloc) {
6095   {
6096     size_t arg1 ;
6097     size_t arg2 ;
6098     size_t val1 ;
6099     int ecode1 = 0 ;
6100     size_t val2 ;
6101     int ecode2 = 0 ;
6102     int argvi = 0;
6103     gsl_matrix *result = 0 ;
6104     dXSARGS;
6105 
6106     if ((items < 2) || (items > 2)) {
6107       SWIG_croak("Usage: gsl_matrix_calloc(n1,n2);");
6108     }
6109     ecode1 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
6110     if (!SWIG_IsOK(ecode1)) {
6111       SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_matrix_calloc" "', argument " "1"" of type '" "size_t""'");
6112     }
6113     arg1 = (size_t)(val1);
6114     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6115     if (!SWIG_IsOK(ecode2)) {
6116       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_calloc" "', argument " "2"" of type '" "size_t""'");
6117     }
6118     arg2 = (size_t)(val2);
6119     result = (gsl_matrix *)gsl_matrix_calloc(arg1,arg2);
6120     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_matrix, 0 | SWIG_SHADOW); argvi++ ;
6121 
6122 
6123     XSRETURN(argvi);
6124   fail:
6125 
6126 
6127     SWIG_croak_null();
6128   }
6129 }
6130 
6131 
XS(_wrap_gsl_matrix_alloc_from_block)6132 XS(_wrap_gsl_matrix_alloc_from_block) {
6133   {
6134     gsl_block *arg1 = (gsl_block *) 0 ;
6135     size_t arg2 ;
6136     size_t arg3 ;
6137     size_t arg4 ;
6138     size_t arg5 ;
6139     void *argp1 = 0 ;
6140     int res1 = 0 ;
6141     size_t val2 ;
6142     int ecode2 = 0 ;
6143     size_t val3 ;
6144     int ecode3 = 0 ;
6145     size_t val4 ;
6146     int ecode4 = 0 ;
6147     size_t val5 ;
6148     int ecode5 = 0 ;
6149     int argvi = 0;
6150     gsl_matrix *result = 0 ;
6151     dXSARGS;
6152 
6153     if ((items < 5) || (items > 5)) {
6154       SWIG_croak("Usage: gsl_matrix_alloc_from_block(b,offset,n1,n2,d2);");
6155     }
6156     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_block, 0 |  0 );
6157     if (!SWIG_IsOK(res1)) {
6158       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_alloc_from_block" "', argument " "1"" of type '" "gsl_block *""'");
6159     }
6160     arg1 = (gsl_block *)(argp1);
6161     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6162     if (!SWIG_IsOK(ecode2)) {
6163       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_alloc_from_block" "', argument " "2"" of type '" "size_t""'");
6164     }
6165     arg2 = (size_t)(val2);
6166     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
6167     if (!SWIG_IsOK(ecode3)) {
6168       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_alloc_from_block" "', argument " "3"" of type '" "size_t""'");
6169     }
6170     arg3 = (size_t)(val3);
6171     ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
6172     if (!SWIG_IsOK(ecode4)) {
6173       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_matrix_alloc_from_block" "', argument " "4"" of type '" "size_t""'");
6174     }
6175     arg4 = (size_t)(val4);
6176     ecode5 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
6177     if (!SWIG_IsOK(ecode5)) {
6178       SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "gsl_matrix_alloc_from_block" "', argument " "5"" of type '" "size_t""'");
6179     }
6180     arg5 = (size_t)(val5);
6181     result = (gsl_matrix *)gsl_matrix_alloc_from_block(arg1,arg2,arg3,arg4,arg5);
6182     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_matrix, 0 | SWIG_SHADOW); argvi++ ;
6183 
6184 
6185 
6186 
6187 
6188     XSRETURN(argvi);
6189   fail:
6190 
6191 
6192 
6193 
6194 
6195     SWIG_croak_null();
6196   }
6197 }
6198 
6199 
XS(_wrap_gsl_matrix_alloc_from_matrix)6200 XS(_wrap_gsl_matrix_alloc_from_matrix) {
6201   {
6202     gsl_matrix *arg1 = (gsl_matrix *) 0 ;
6203     size_t arg2 ;
6204     size_t arg3 ;
6205     size_t arg4 ;
6206     size_t arg5 ;
6207     void *argp1 = 0 ;
6208     int res1 = 0 ;
6209     size_t val2 ;
6210     int ecode2 = 0 ;
6211     size_t val3 ;
6212     int ecode3 = 0 ;
6213     size_t val4 ;
6214     int ecode4 = 0 ;
6215     size_t val5 ;
6216     int ecode5 = 0 ;
6217     int argvi = 0;
6218     gsl_matrix *result = 0 ;
6219     dXSARGS;
6220 
6221     if ((items < 5) || (items > 5)) {
6222       SWIG_croak("Usage: gsl_matrix_alloc_from_matrix(m,k1,k2,n1,n2);");
6223     }
6224     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix, 0 |  0 );
6225     if (!SWIG_IsOK(res1)) {
6226       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_alloc_from_matrix" "', argument " "1"" of type '" "gsl_matrix *""'");
6227     }
6228     arg1 = (gsl_matrix *)(argp1);
6229     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6230     if (!SWIG_IsOK(ecode2)) {
6231       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_alloc_from_matrix" "', argument " "2"" of type '" "size_t""'");
6232     }
6233     arg2 = (size_t)(val2);
6234     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
6235     if (!SWIG_IsOK(ecode3)) {
6236       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_alloc_from_matrix" "', argument " "3"" of type '" "size_t""'");
6237     }
6238     arg3 = (size_t)(val3);
6239     ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
6240     if (!SWIG_IsOK(ecode4)) {
6241       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_matrix_alloc_from_matrix" "', argument " "4"" of type '" "size_t""'");
6242     }
6243     arg4 = (size_t)(val4);
6244     ecode5 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
6245     if (!SWIG_IsOK(ecode5)) {
6246       SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "gsl_matrix_alloc_from_matrix" "', argument " "5"" of type '" "size_t""'");
6247     }
6248     arg5 = (size_t)(val5);
6249     result = (gsl_matrix *)gsl_matrix_alloc_from_matrix(arg1,arg2,arg3,arg4,arg5);
6250     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_matrix, 0 | SWIG_SHADOW); argvi++ ;
6251 
6252 
6253 
6254 
6255 
6256     XSRETURN(argvi);
6257   fail:
6258 
6259 
6260 
6261 
6262 
6263     SWIG_croak_null();
6264   }
6265 }
6266 
6267 
XS(_wrap_gsl_vector_alloc_row_from_matrix)6268 XS(_wrap_gsl_vector_alloc_row_from_matrix) {
6269   {
6270     gsl_matrix *arg1 = (gsl_matrix *) 0 ;
6271     size_t arg2 ;
6272     void *argp1 = 0 ;
6273     int res1 = 0 ;
6274     size_t val2 ;
6275     int ecode2 = 0 ;
6276     int argvi = 0;
6277     gsl_vector *result = 0 ;
6278     dXSARGS;
6279 
6280     if ((items < 2) || (items > 2)) {
6281       SWIG_croak("Usage: gsl_vector_alloc_row_from_matrix(m,i);");
6282     }
6283     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix, 0 |  0 );
6284     if (!SWIG_IsOK(res1)) {
6285       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_alloc_row_from_matrix" "', argument " "1"" of type '" "gsl_matrix *""'");
6286     }
6287     arg1 = (gsl_matrix *)(argp1);
6288     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6289     if (!SWIG_IsOK(ecode2)) {
6290       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_alloc_row_from_matrix" "', argument " "2"" of type '" "size_t""'");
6291     }
6292     arg2 = (size_t)(val2);
6293     result = (gsl_vector *)gsl_vector_alloc_row_from_matrix(arg1,arg2);
6294     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_vector, 0 | SWIG_SHADOW); argvi++ ;
6295 
6296 
6297     XSRETURN(argvi);
6298   fail:
6299 
6300 
6301     SWIG_croak_null();
6302   }
6303 }
6304 
6305 
XS(_wrap_gsl_vector_alloc_col_from_matrix)6306 XS(_wrap_gsl_vector_alloc_col_from_matrix) {
6307   {
6308     gsl_matrix *arg1 = (gsl_matrix *) 0 ;
6309     size_t arg2 ;
6310     void *argp1 = 0 ;
6311     int res1 = 0 ;
6312     size_t val2 ;
6313     int ecode2 = 0 ;
6314     int argvi = 0;
6315     gsl_vector *result = 0 ;
6316     dXSARGS;
6317 
6318     if ((items < 2) || (items > 2)) {
6319       SWIG_croak("Usage: gsl_vector_alloc_col_from_matrix(m,j);");
6320     }
6321     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix, 0 |  0 );
6322     if (!SWIG_IsOK(res1)) {
6323       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_alloc_col_from_matrix" "', argument " "1"" of type '" "gsl_matrix *""'");
6324     }
6325     arg1 = (gsl_matrix *)(argp1);
6326     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6327     if (!SWIG_IsOK(ecode2)) {
6328       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_alloc_col_from_matrix" "', argument " "2"" of type '" "size_t""'");
6329     }
6330     arg2 = (size_t)(val2);
6331     result = (gsl_vector *)gsl_vector_alloc_col_from_matrix(arg1,arg2);
6332     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_vector, 0 | SWIG_SHADOW); argvi++ ;
6333 
6334 
6335     XSRETURN(argvi);
6336   fail:
6337 
6338 
6339     SWIG_croak_null();
6340   }
6341 }
6342 
6343 
XS(_wrap_gsl_matrix_free)6344 XS(_wrap_gsl_matrix_free) {
6345   {
6346     gsl_matrix *arg1 = (gsl_matrix *) 0 ;
6347     void *argp1 = 0 ;
6348     int res1 = 0 ;
6349     int argvi = 0;
6350     dXSARGS;
6351 
6352     if ((items < 1) || (items > 1)) {
6353       SWIG_croak("Usage: gsl_matrix_free(m);");
6354     }
6355     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix, 0 |  0 );
6356     if (!SWIG_IsOK(res1)) {
6357       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_free" "', argument " "1"" of type '" "gsl_matrix *""'");
6358     }
6359     arg1 = (gsl_matrix *)(argp1);
6360     gsl_matrix_free(arg1);
6361     ST(argvi) = &PL_sv_undef;
6362 
6363     XSRETURN(argvi);
6364   fail:
6365 
6366     SWIG_croak_null();
6367   }
6368 }
6369 
6370 
XS(_wrap_gsl_matrix_submatrix)6371 XS(_wrap_gsl_matrix_submatrix) {
6372   {
6373     gsl_matrix *arg1 = (gsl_matrix *) 0 ;
6374     size_t arg2 ;
6375     size_t arg3 ;
6376     size_t arg4 ;
6377     size_t arg5 ;
6378     void *argp1 = 0 ;
6379     int res1 = 0 ;
6380     size_t val2 ;
6381     int ecode2 = 0 ;
6382     size_t val3 ;
6383     int ecode3 = 0 ;
6384     size_t val4 ;
6385     int ecode4 = 0 ;
6386     size_t val5 ;
6387     int ecode5 = 0 ;
6388     int argvi = 0;
6389     _gsl_matrix_view result;
6390     dXSARGS;
6391 
6392     if ((items < 5) || (items > 5)) {
6393       SWIG_croak("Usage: gsl_matrix_submatrix(m,i,j,n1,n2);");
6394     }
6395     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix, 0 |  0 );
6396     if (!SWIG_IsOK(res1)) {
6397       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_submatrix" "', argument " "1"" of type '" "gsl_matrix *""'");
6398     }
6399     arg1 = (gsl_matrix *)(argp1);
6400     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6401     if (!SWIG_IsOK(ecode2)) {
6402       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_submatrix" "', argument " "2"" of type '" "size_t""'");
6403     }
6404     arg2 = (size_t)(val2);
6405     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
6406     if (!SWIG_IsOK(ecode3)) {
6407       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_submatrix" "', argument " "3"" of type '" "size_t""'");
6408     }
6409     arg3 = (size_t)(val3);
6410     ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
6411     if (!SWIG_IsOK(ecode4)) {
6412       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_matrix_submatrix" "', argument " "4"" of type '" "size_t""'");
6413     }
6414     arg4 = (size_t)(val4);
6415     ecode5 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
6416     if (!SWIG_IsOK(ecode5)) {
6417       SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "gsl_matrix_submatrix" "', argument " "5"" of type '" "size_t""'");
6418     }
6419     arg5 = (size_t)(val5);
6420     result = gsl_matrix_submatrix(arg1,arg2,arg3,arg4,arg5);
6421     ST(argvi) = SWIG_NewPointerObj((_gsl_matrix_view *)memcpy((_gsl_matrix_view *)calloc(1,sizeof(_gsl_matrix_view)),&result,sizeof(_gsl_matrix_view)), SWIGTYPE_p__gsl_matrix_view, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
6422 
6423 
6424 
6425 
6426 
6427     XSRETURN(argvi);
6428   fail:
6429 
6430 
6431 
6432 
6433 
6434     SWIG_croak_null();
6435   }
6436 }
6437 
6438 
XS(_wrap_gsl_matrix_row)6439 XS(_wrap_gsl_matrix_row) {
6440   {
6441     gsl_matrix *arg1 = (gsl_matrix *) 0 ;
6442     size_t arg2 ;
6443     void *argp1 = 0 ;
6444     int res1 = 0 ;
6445     size_t val2 ;
6446     int ecode2 = 0 ;
6447     int argvi = 0;
6448     _gsl_vector_view result;
6449     dXSARGS;
6450 
6451     if ((items < 2) || (items > 2)) {
6452       SWIG_croak("Usage: gsl_matrix_row(m,i);");
6453     }
6454     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix, 0 |  0 );
6455     if (!SWIG_IsOK(res1)) {
6456       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_row" "', argument " "1"" of type '" "gsl_matrix *""'");
6457     }
6458     arg1 = (gsl_matrix *)(argp1);
6459     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6460     if (!SWIG_IsOK(ecode2)) {
6461       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_row" "', argument " "2"" of type '" "size_t""'");
6462     }
6463     arg2 = (size_t)(val2);
6464     result = gsl_matrix_row(arg1,arg2);
6465     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++ ;
6466 
6467 
6468     XSRETURN(argvi);
6469   fail:
6470 
6471 
6472     SWIG_croak_null();
6473   }
6474 }
6475 
6476 
XS(_wrap_gsl_matrix_column)6477 XS(_wrap_gsl_matrix_column) {
6478   {
6479     gsl_matrix *arg1 = (gsl_matrix *) 0 ;
6480     size_t arg2 ;
6481     void *argp1 = 0 ;
6482     int res1 = 0 ;
6483     size_t val2 ;
6484     int ecode2 = 0 ;
6485     int argvi = 0;
6486     _gsl_vector_view result;
6487     dXSARGS;
6488 
6489     if ((items < 2) || (items > 2)) {
6490       SWIG_croak("Usage: gsl_matrix_column(m,j);");
6491     }
6492     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix, 0 |  0 );
6493     if (!SWIG_IsOK(res1)) {
6494       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_column" "', argument " "1"" of type '" "gsl_matrix *""'");
6495     }
6496     arg1 = (gsl_matrix *)(argp1);
6497     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6498     if (!SWIG_IsOK(ecode2)) {
6499       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_column" "', argument " "2"" of type '" "size_t""'");
6500     }
6501     arg2 = (size_t)(val2);
6502     result = gsl_matrix_column(arg1,arg2);
6503     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++ ;
6504 
6505 
6506     XSRETURN(argvi);
6507   fail:
6508 
6509 
6510     SWIG_croak_null();
6511   }
6512 }
6513 
6514 
XS(_wrap_gsl_matrix_diagonal)6515 XS(_wrap_gsl_matrix_diagonal) {
6516   {
6517     gsl_matrix *arg1 = (gsl_matrix *) 0 ;
6518     void *argp1 = 0 ;
6519     int res1 = 0 ;
6520     int argvi = 0;
6521     _gsl_vector_view result;
6522     dXSARGS;
6523 
6524     if ((items < 1) || (items > 1)) {
6525       SWIG_croak("Usage: gsl_matrix_diagonal(m);");
6526     }
6527     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix, 0 |  0 );
6528     if (!SWIG_IsOK(res1)) {
6529       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_diagonal" "', argument " "1"" of type '" "gsl_matrix *""'");
6530     }
6531     arg1 = (gsl_matrix *)(argp1);
6532     result = gsl_matrix_diagonal(arg1);
6533     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++ ;
6534 
6535     XSRETURN(argvi);
6536   fail:
6537 
6538     SWIG_croak_null();
6539   }
6540 }
6541 
6542 
XS(_wrap_gsl_matrix_subdiagonal)6543 XS(_wrap_gsl_matrix_subdiagonal) {
6544   {
6545     gsl_matrix *arg1 = (gsl_matrix *) 0 ;
6546     size_t arg2 ;
6547     void *argp1 = 0 ;
6548     int res1 = 0 ;
6549     size_t val2 ;
6550     int ecode2 = 0 ;
6551     int argvi = 0;
6552     _gsl_vector_view result;
6553     dXSARGS;
6554 
6555     if ((items < 2) || (items > 2)) {
6556       SWIG_croak("Usage: gsl_matrix_subdiagonal(m,k);");
6557     }
6558     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix, 0 |  0 );
6559     if (!SWIG_IsOK(res1)) {
6560       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_subdiagonal" "', argument " "1"" of type '" "gsl_matrix *""'");
6561     }
6562     arg1 = (gsl_matrix *)(argp1);
6563     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6564     if (!SWIG_IsOK(ecode2)) {
6565       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_subdiagonal" "', argument " "2"" of type '" "size_t""'");
6566     }
6567     arg2 = (size_t)(val2);
6568     result = gsl_matrix_subdiagonal(arg1,arg2);
6569     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++ ;
6570 
6571 
6572     XSRETURN(argvi);
6573   fail:
6574 
6575 
6576     SWIG_croak_null();
6577   }
6578 }
6579 
6580 
XS(_wrap_gsl_matrix_superdiagonal)6581 XS(_wrap_gsl_matrix_superdiagonal) {
6582   {
6583     gsl_matrix *arg1 = (gsl_matrix *) 0 ;
6584     size_t arg2 ;
6585     void *argp1 = 0 ;
6586     int res1 = 0 ;
6587     size_t val2 ;
6588     int ecode2 = 0 ;
6589     int argvi = 0;
6590     _gsl_vector_view result;
6591     dXSARGS;
6592 
6593     if ((items < 2) || (items > 2)) {
6594       SWIG_croak("Usage: gsl_matrix_superdiagonal(m,k);");
6595     }
6596     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix, 0 |  0 );
6597     if (!SWIG_IsOK(res1)) {
6598       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_superdiagonal" "', argument " "1"" of type '" "gsl_matrix *""'");
6599     }
6600     arg1 = (gsl_matrix *)(argp1);
6601     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6602     if (!SWIG_IsOK(ecode2)) {
6603       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_superdiagonal" "', argument " "2"" of type '" "size_t""'");
6604     }
6605     arg2 = (size_t)(val2);
6606     result = gsl_matrix_superdiagonal(arg1,arg2);
6607     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++ ;
6608 
6609 
6610     XSRETURN(argvi);
6611   fail:
6612 
6613 
6614     SWIG_croak_null();
6615   }
6616 }
6617 
6618 
XS(_wrap_gsl_matrix_subrow)6619 XS(_wrap_gsl_matrix_subrow) {
6620   {
6621     gsl_matrix *arg1 = (gsl_matrix *) 0 ;
6622     size_t arg2 ;
6623     size_t arg3 ;
6624     size_t arg4 ;
6625     void *argp1 = 0 ;
6626     int res1 = 0 ;
6627     size_t val2 ;
6628     int ecode2 = 0 ;
6629     size_t val3 ;
6630     int ecode3 = 0 ;
6631     size_t val4 ;
6632     int ecode4 = 0 ;
6633     int argvi = 0;
6634     _gsl_vector_view result;
6635     dXSARGS;
6636 
6637     if ((items < 4) || (items > 4)) {
6638       SWIG_croak("Usage: gsl_matrix_subrow(m,i,offset,n);");
6639     }
6640     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix, 0 |  0 );
6641     if (!SWIG_IsOK(res1)) {
6642       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_subrow" "', argument " "1"" of type '" "gsl_matrix *""'");
6643     }
6644     arg1 = (gsl_matrix *)(argp1);
6645     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6646     if (!SWIG_IsOK(ecode2)) {
6647       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_subrow" "', argument " "2"" of type '" "size_t""'");
6648     }
6649     arg2 = (size_t)(val2);
6650     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
6651     if (!SWIG_IsOK(ecode3)) {
6652       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_subrow" "', argument " "3"" of type '" "size_t""'");
6653     }
6654     arg3 = (size_t)(val3);
6655     ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
6656     if (!SWIG_IsOK(ecode4)) {
6657       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_matrix_subrow" "', argument " "4"" of type '" "size_t""'");
6658     }
6659     arg4 = (size_t)(val4);
6660     result = gsl_matrix_subrow(arg1,arg2,arg3,arg4);
6661     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++ ;
6662 
6663 
6664 
6665 
6666     XSRETURN(argvi);
6667   fail:
6668 
6669 
6670 
6671 
6672     SWIG_croak_null();
6673   }
6674 }
6675 
6676 
XS(_wrap_gsl_matrix_subcolumn)6677 XS(_wrap_gsl_matrix_subcolumn) {
6678   {
6679     gsl_matrix *arg1 = (gsl_matrix *) 0 ;
6680     size_t arg2 ;
6681     size_t arg3 ;
6682     size_t arg4 ;
6683     void *argp1 = 0 ;
6684     int res1 = 0 ;
6685     size_t val2 ;
6686     int ecode2 = 0 ;
6687     size_t val3 ;
6688     int ecode3 = 0 ;
6689     size_t val4 ;
6690     int ecode4 = 0 ;
6691     int argvi = 0;
6692     _gsl_vector_view result;
6693     dXSARGS;
6694 
6695     if ((items < 4) || (items > 4)) {
6696       SWIG_croak("Usage: gsl_matrix_subcolumn(m,j,offset,n);");
6697     }
6698     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix, 0 |  0 );
6699     if (!SWIG_IsOK(res1)) {
6700       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_subcolumn" "', argument " "1"" of type '" "gsl_matrix *""'");
6701     }
6702     arg1 = (gsl_matrix *)(argp1);
6703     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6704     if (!SWIG_IsOK(ecode2)) {
6705       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_subcolumn" "', argument " "2"" of type '" "size_t""'");
6706     }
6707     arg2 = (size_t)(val2);
6708     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
6709     if (!SWIG_IsOK(ecode3)) {
6710       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_subcolumn" "', argument " "3"" of type '" "size_t""'");
6711     }
6712     arg3 = (size_t)(val3);
6713     ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
6714     if (!SWIG_IsOK(ecode4)) {
6715       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_matrix_subcolumn" "', argument " "4"" of type '" "size_t""'");
6716     }
6717     arg4 = (size_t)(val4);
6718     result = gsl_matrix_subcolumn(arg1,arg2,arg3,arg4);
6719     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++ ;
6720 
6721 
6722 
6723 
6724     XSRETURN(argvi);
6725   fail:
6726 
6727 
6728 
6729 
6730     SWIG_croak_null();
6731   }
6732 }
6733 
6734 
XS(_wrap_gsl_matrix_view_array)6735 XS(_wrap_gsl_matrix_view_array) {
6736   {
6737     double *arg1 = (double *) 0 ;
6738     size_t arg2 ;
6739     size_t arg3 ;
6740     size_t val2 ;
6741     int ecode2 = 0 ;
6742     size_t val3 ;
6743     int ecode3 = 0 ;
6744     int argvi = 0;
6745     _gsl_matrix_view result;
6746     dXSARGS;
6747 
6748     if ((items < 3) || (items > 3)) {
6749       SWIG_croak("Usage: gsl_matrix_view_array(base,n1,n2);");
6750     }
6751     {
6752       AV *tempav;
6753       I32 len;
6754       int i;
6755       SV **tv;
6756       if (!SvROK(ST(0)))
6757       croak("Math::GSL : $base is not a reference!");
6758       if (SvTYPE(SvRV(ST(0))) != SVt_PVAV)
6759       croak("Math::GSL : $base is not an array ref!");
6760 
6761       tempav = (AV*)SvRV(ST(0));
6762       len = av_len(tempav);
6763       arg1 = (double *) malloc((len+2)*sizeof(double));
6764       for (i = 0; i <= len; i++) {
6765         tv = av_fetch(tempav, i, 0);
6766         arg1[i] = (double) SvNV(*tv);
6767       }
6768     }
6769     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6770     if (!SWIG_IsOK(ecode2)) {
6771       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_view_array" "', argument " "2"" of type '" "size_t""'");
6772     }
6773     arg2 = (size_t)(val2);
6774     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
6775     if (!SWIG_IsOK(ecode3)) {
6776       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_view_array" "', argument " "3"" of type '" "size_t""'");
6777     }
6778     arg3 = (size_t)(val3);
6779     result = gsl_matrix_view_array(arg1,arg2,arg3);
6780     ST(argvi) = SWIG_NewPointerObj((_gsl_matrix_view *)memcpy((_gsl_matrix_view *)calloc(1,sizeof(_gsl_matrix_view)),&result,sizeof(_gsl_matrix_view)), SWIGTYPE_p__gsl_matrix_view, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
6781     {
6782       if (arg1) free(arg1);
6783     }
6784 
6785 
6786     XSRETURN(argvi);
6787   fail:
6788     {
6789       if (arg1) free(arg1);
6790     }
6791 
6792 
6793     SWIG_croak_null();
6794   }
6795 }
6796 
6797 
XS(_wrap_gsl_matrix_view_array_with_tda)6798 XS(_wrap_gsl_matrix_view_array_with_tda) {
6799   {
6800     double *arg1 = (double *) 0 ;
6801     size_t arg2 ;
6802     size_t arg3 ;
6803     size_t arg4 ;
6804     size_t val2 ;
6805     int ecode2 = 0 ;
6806     size_t val3 ;
6807     int ecode3 = 0 ;
6808     size_t val4 ;
6809     int ecode4 = 0 ;
6810     int argvi = 0;
6811     _gsl_matrix_view result;
6812     dXSARGS;
6813 
6814     if ((items < 4) || (items > 4)) {
6815       SWIG_croak("Usage: gsl_matrix_view_array_with_tda(base,n1,n2,tda);");
6816     }
6817     {
6818       AV *tempav;
6819       I32 len;
6820       int i;
6821       SV **tv;
6822       if (!SvROK(ST(0)))
6823       croak("Math::GSL : $base is not a reference!");
6824       if (SvTYPE(SvRV(ST(0))) != SVt_PVAV)
6825       croak("Math::GSL : $base is not an array ref!");
6826 
6827       tempav = (AV*)SvRV(ST(0));
6828       len = av_len(tempav);
6829       arg1 = (double *) malloc((len+2)*sizeof(double));
6830       for (i = 0; i <= len; i++) {
6831         tv = av_fetch(tempav, i, 0);
6832         arg1[i] = (double) SvNV(*tv);
6833       }
6834     }
6835     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6836     if (!SWIG_IsOK(ecode2)) {
6837       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_view_array_with_tda" "', argument " "2"" of type '" "size_t""'");
6838     }
6839     arg2 = (size_t)(val2);
6840     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
6841     if (!SWIG_IsOK(ecode3)) {
6842       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_view_array_with_tda" "', argument " "3"" of type '" "size_t""'");
6843     }
6844     arg3 = (size_t)(val3);
6845     ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
6846     if (!SWIG_IsOK(ecode4)) {
6847       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_matrix_view_array_with_tda" "', argument " "4"" of type '" "size_t""'");
6848     }
6849     arg4 = (size_t)(val4);
6850     result = gsl_matrix_view_array_with_tda(arg1,arg2,arg3,arg4);
6851     ST(argvi) = SWIG_NewPointerObj((_gsl_matrix_view *)memcpy((_gsl_matrix_view *)calloc(1,sizeof(_gsl_matrix_view)),&result,sizeof(_gsl_matrix_view)), SWIGTYPE_p__gsl_matrix_view, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
6852     {
6853       if (arg1) free(arg1);
6854     }
6855 
6856 
6857 
6858     XSRETURN(argvi);
6859   fail:
6860     {
6861       if (arg1) free(arg1);
6862     }
6863 
6864 
6865 
6866     SWIG_croak_null();
6867   }
6868 }
6869 
6870 
XS(_wrap_gsl_matrix_view_vector)6871 XS(_wrap_gsl_matrix_view_vector) {
6872   {
6873     gsl_vector *arg1 = (gsl_vector *) 0 ;
6874     size_t arg2 ;
6875     size_t arg3 ;
6876     void *argp1 = 0 ;
6877     int res1 = 0 ;
6878     size_t val2 ;
6879     int ecode2 = 0 ;
6880     size_t val3 ;
6881     int ecode3 = 0 ;
6882     int argvi = 0;
6883     _gsl_matrix_view result;
6884     dXSARGS;
6885 
6886     if ((items < 3) || (items > 3)) {
6887       SWIG_croak("Usage: gsl_matrix_view_vector(v,n1,n2);");
6888     }
6889     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 |  0 );
6890     if (!SWIG_IsOK(res1)) {
6891       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_view_vector" "', argument " "1"" of type '" "gsl_vector *""'");
6892     }
6893     arg1 = (gsl_vector *)(argp1);
6894     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6895     if (!SWIG_IsOK(ecode2)) {
6896       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_view_vector" "', argument " "2"" of type '" "size_t""'");
6897     }
6898     arg2 = (size_t)(val2);
6899     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
6900     if (!SWIG_IsOK(ecode3)) {
6901       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_view_vector" "', argument " "3"" of type '" "size_t""'");
6902     }
6903     arg3 = (size_t)(val3);
6904     result = gsl_matrix_view_vector(arg1,arg2,arg3);
6905     ST(argvi) = SWIG_NewPointerObj((_gsl_matrix_view *)memcpy((_gsl_matrix_view *)calloc(1,sizeof(_gsl_matrix_view)),&result,sizeof(_gsl_matrix_view)), SWIGTYPE_p__gsl_matrix_view, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
6906 
6907 
6908 
6909     XSRETURN(argvi);
6910   fail:
6911 
6912 
6913 
6914     SWIG_croak_null();
6915   }
6916 }
6917 
6918 
XS(_wrap_gsl_matrix_view_vector_with_tda)6919 XS(_wrap_gsl_matrix_view_vector_with_tda) {
6920   {
6921     gsl_vector *arg1 = (gsl_vector *) 0 ;
6922     size_t arg2 ;
6923     size_t arg3 ;
6924     size_t arg4 ;
6925     void *argp1 = 0 ;
6926     int res1 = 0 ;
6927     size_t val2 ;
6928     int ecode2 = 0 ;
6929     size_t val3 ;
6930     int ecode3 = 0 ;
6931     size_t val4 ;
6932     int ecode4 = 0 ;
6933     int argvi = 0;
6934     _gsl_matrix_view result;
6935     dXSARGS;
6936 
6937     if ((items < 4) || (items > 4)) {
6938       SWIG_croak("Usage: gsl_matrix_view_vector_with_tda(v,n1,n2,tda);");
6939     }
6940     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 |  0 );
6941     if (!SWIG_IsOK(res1)) {
6942       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_view_vector_with_tda" "', argument " "1"" of type '" "gsl_vector *""'");
6943     }
6944     arg1 = (gsl_vector *)(argp1);
6945     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6946     if (!SWIG_IsOK(ecode2)) {
6947       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_view_vector_with_tda" "', argument " "2"" of type '" "size_t""'");
6948     }
6949     arg2 = (size_t)(val2);
6950     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
6951     if (!SWIG_IsOK(ecode3)) {
6952       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_view_vector_with_tda" "', argument " "3"" of type '" "size_t""'");
6953     }
6954     arg3 = (size_t)(val3);
6955     ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
6956     if (!SWIG_IsOK(ecode4)) {
6957       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_matrix_view_vector_with_tda" "', argument " "4"" of type '" "size_t""'");
6958     }
6959     arg4 = (size_t)(val4);
6960     result = gsl_matrix_view_vector_with_tda(arg1,arg2,arg3,arg4);
6961     ST(argvi) = SWIG_NewPointerObj((_gsl_matrix_view *)memcpy((_gsl_matrix_view *)calloc(1,sizeof(_gsl_matrix_view)),&result,sizeof(_gsl_matrix_view)), SWIGTYPE_p__gsl_matrix_view, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
6962 
6963 
6964 
6965 
6966     XSRETURN(argvi);
6967   fail:
6968 
6969 
6970 
6971 
6972     SWIG_croak_null();
6973   }
6974 }
6975 
6976 
XS(_wrap_gsl_matrix_const_submatrix)6977 XS(_wrap_gsl_matrix_const_submatrix) {
6978   {
6979     gsl_matrix *arg1 = (gsl_matrix *) 0 ;
6980     size_t arg2 ;
6981     size_t arg3 ;
6982     size_t arg4 ;
6983     size_t arg5 ;
6984     void *argp1 = 0 ;
6985     int res1 = 0 ;
6986     size_t val2 ;
6987     int ecode2 = 0 ;
6988     size_t val3 ;
6989     int ecode3 = 0 ;
6990     size_t val4 ;
6991     int ecode4 = 0 ;
6992     size_t val5 ;
6993     int ecode5 = 0 ;
6994     int argvi = 0;
6995     _gsl_matrix_const_view result;
6996     dXSARGS;
6997 
6998     if ((items < 5) || (items > 5)) {
6999       SWIG_croak("Usage: gsl_matrix_const_submatrix(m,i,j,n1,n2);");
7000     }
7001     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix, 0 |  0 );
7002     if (!SWIG_IsOK(res1)) {
7003       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_const_submatrix" "', argument " "1"" of type '" "gsl_matrix const *""'");
7004     }
7005     arg1 = (gsl_matrix *)(argp1);
7006     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
7007     if (!SWIG_IsOK(ecode2)) {
7008       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_const_submatrix" "', argument " "2"" of type '" "size_t""'");
7009     }
7010     arg2 = (size_t)(val2);
7011     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
7012     if (!SWIG_IsOK(ecode3)) {
7013       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_const_submatrix" "', argument " "3"" of type '" "size_t""'");
7014     }
7015     arg3 = (size_t)(val3);
7016     ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
7017     if (!SWIG_IsOK(ecode4)) {
7018       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_matrix_const_submatrix" "', argument " "4"" of type '" "size_t""'");
7019     }
7020     arg4 = (size_t)(val4);
7021     ecode5 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
7022     if (!SWIG_IsOK(ecode5)) {
7023       SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "gsl_matrix_const_submatrix" "', argument " "5"" of type '" "size_t""'");
7024     }
7025     arg5 = (size_t)(val5);
7026     result = gsl_matrix_const_submatrix((gsl_matrix const *)arg1,arg2,arg3,arg4,arg5);
7027     ST(argvi) = SWIG_NewPointerObj((_gsl_matrix_const_view *)memcpy((_gsl_matrix_const_view *)calloc(1,sizeof(_gsl_matrix_const_view)),&result,sizeof(_gsl_matrix_const_view)), SWIGTYPE_p__gsl_matrix_const_view, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
7028 
7029 
7030 
7031 
7032 
7033     XSRETURN(argvi);
7034   fail:
7035 
7036 
7037 
7038 
7039 
7040     SWIG_croak_null();
7041   }
7042 }
7043 
7044 
XS(_wrap_gsl_matrix_const_row)7045 XS(_wrap_gsl_matrix_const_row) {
7046   {
7047     gsl_matrix *arg1 = (gsl_matrix *) 0 ;
7048     size_t arg2 ;
7049     void *argp1 = 0 ;
7050     int res1 = 0 ;
7051     size_t val2 ;
7052     int ecode2 = 0 ;
7053     int argvi = 0;
7054     _gsl_vector_const_view result;
7055     dXSARGS;
7056 
7057     if ((items < 2) || (items > 2)) {
7058       SWIG_croak("Usage: gsl_matrix_const_row(m,i);");
7059     }
7060     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix, 0 |  0 );
7061     if (!SWIG_IsOK(res1)) {
7062       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_const_row" "', argument " "1"" of type '" "gsl_matrix const *""'");
7063     }
7064     arg1 = (gsl_matrix *)(argp1);
7065     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
7066     if (!SWIG_IsOK(ecode2)) {
7067       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_const_row" "', argument " "2"" of type '" "size_t""'");
7068     }
7069     arg2 = (size_t)(val2);
7070     result = gsl_matrix_const_row((gsl_matrix const *)arg1,arg2);
7071     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++ ;
7072 
7073 
7074     XSRETURN(argvi);
7075   fail:
7076 
7077 
7078     SWIG_croak_null();
7079   }
7080 }
7081 
7082 
XS(_wrap_gsl_matrix_const_column)7083 XS(_wrap_gsl_matrix_const_column) {
7084   {
7085     gsl_matrix *arg1 = (gsl_matrix *) 0 ;
7086     size_t arg2 ;
7087     void *argp1 = 0 ;
7088     int res1 = 0 ;
7089     size_t val2 ;
7090     int ecode2 = 0 ;
7091     int argvi = 0;
7092     _gsl_vector_const_view result;
7093     dXSARGS;
7094 
7095     if ((items < 2) || (items > 2)) {
7096       SWIG_croak("Usage: gsl_matrix_const_column(m,j);");
7097     }
7098     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix, 0 |  0 );
7099     if (!SWIG_IsOK(res1)) {
7100       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_const_column" "', argument " "1"" of type '" "gsl_matrix const *""'");
7101     }
7102     arg1 = (gsl_matrix *)(argp1);
7103     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
7104     if (!SWIG_IsOK(ecode2)) {
7105       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_const_column" "', argument " "2"" of type '" "size_t""'");
7106     }
7107     arg2 = (size_t)(val2);
7108     result = gsl_matrix_const_column((gsl_matrix const *)arg1,arg2);
7109     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++ ;
7110 
7111 
7112     XSRETURN(argvi);
7113   fail:
7114 
7115 
7116     SWIG_croak_null();
7117   }
7118 }
7119 
7120 
XS(_wrap_gsl_matrix_const_diagonal)7121 XS(_wrap_gsl_matrix_const_diagonal) {
7122   {
7123     gsl_matrix *arg1 = (gsl_matrix *) 0 ;
7124     void *argp1 = 0 ;
7125     int res1 = 0 ;
7126     int argvi = 0;
7127     _gsl_vector_const_view result;
7128     dXSARGS;
7129 
7130     if ((items < 1) || (items > 1)) {
7131       SWIG_croak("Usage: gsl_matrix_const_diagonal(m);");
7132     }
7133     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix, 0 |  0 );
7134     if (!SWIG_IsOK(res1)) {
7135       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_const_diagonal" "', argument " "1"" of type '" "gsl_matrix const *""'");
7136     }
7137     arg1 = (gsl_matrix *)(argp1);
7138     result = gsl_matrix_const_diagonal((gsl_matrix const *)arg1);
7139     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++ ;
7140 
7141     XSRETURN(argvi);
7142   fail:
7143 
7144     SWIG_croak_null();
7145   }
7146 }
7147 
7148 
XS(_wrap_gsl_matrix_const_subdiagonal)7149 XS(_wrap_gsl_matrix_const_subdiagonal) {
7150   {
7151     gsl_matrix *arg1 = (gsl_matrix *) 0 ;
7152     size_t arg2 ;
7153     void *argp1 = 0 ;
7154     int res1 = 0 ;
7155     size_t val2 ;
7156     int ecode2 = 0 ;
7157     int argvi = 0;
7158     _gsl_vector_const_view result;
7159     dXSARGS;
7160 
7161     if ((items < 2) || (items > 2)) {
7162       SWIG_croak("Usage: gsl_matrix_const_subdiagonal(m,k);");
7163     }
7164     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix, 0 |  0 );
7165     if (!SWIG_IsOK(res1)) {
7166       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_const_subdiagonal" "', argument " "1"" of type '" "gsl_matrix const *""'");
7167     }
7168     arg1 = (gsl_matrix *)(argp1);
7169     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
7170     if (!SWIG_IsOK(ecode2)) {
7171       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_const_subdiagonal" "', argument " "2"" of type '" "size_t""'");
7172     }
7173     arg2 = (size_t)(val2);
7174     result = gsl_matrix_const_subdiagonal((gsl_matrix const *)arg1,arg2);
7175     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++ ;
7176 
7177 
7178     XSRETURN(argvi);
7179   fail:
7180 
7181 
7182     SWIG_croak_null();
7183   }
7184 }
7185 
7186 
XS(_wrap_gsl_matrix_const_superdiagonal)7187 XS(_wrap_gsl_matrix_const_superdiagonal) {
7188   {
7189     gsl_matrix *arg1 = (gsl_matrix *) 0 ;
7190     size_t arg2 ;
7191     void *argp1 = 0 ;
7192     int res1 = 0 ;
7193     size_t val2 ;
7194     int ecode2 = 0 ;
7195     int argvi = 0;
7196     _gsl_vector_const_view result;
7197     dXSARGS;
7198 
7199     if ((items < 2) || (items > 2)) {
7200       SWIG_croak("Usage: gsl_matrix_const_superdiagonal(m,k);");
7201     }
7202     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix, 0 |  0 );
7203     if (!SWIG_IsOK(res1)) {
7204       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_const_superdiagonal" "', argument " "1"" of type '" "gsl_matrix const *""'");
7205     }
7206     arg1 = (gsl_matrix *)(argp1);
7207     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
7208     if (!SWIG_IsOK(ecode2)) {
7209       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_const_superdiagonal" "', argument " "2"" of type '" "size_t""'");
7210     }
7211     arg2 = (size_t)(val2);
7212     result = gsl_matrix_const_superdiagonal((gsl_matrix const *)arg1,arg2);
7213     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++ ;
7214 
7215 
7216     XSRETURN(argvi);
7217   fail:
7218 
7219 
7220     SWIG_croak_null();
7221   }
7222 }
7223 
7224 
XS(_wrap_gsl_matrix_const_subrow)7225 XS(_wrap_gsl_matrix_const_subrow) {
7226   {
7227     gsl_matrix *arg1 = (gsl_matrix *) 0 ;
7228     size_t arg2 ;
7229     size_t arg3 ;
7230     size_t arg4 ;
7231     void *argp1 = 0 ;
7232     int res1 = 0 ;
7233     size_t val2 ;
7234     int ecode2 = 0 ;
7235     size_t val3 ;
7236     int ecode3 = 0 ;
7237     size_t val4 ;
7238     int ecode4 = 0 ;
7239     int argvi = 0;
7240     _gsl_vector_const_view result;
7241     dXSARGS;
7242 
7243     if ((items < 4) || (items > 4)) {
7244       SWIG_croak("Usage: gsl_matrix_const_subrow(m,i,offset,n);");
7245     }
7246     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix, 0 |  0 );
7247     if (!SWIG_IsOK(res1)) {
7248       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_const_subrow" "', argument " "1"" of type '" "gsl_matrix const *""'");
7249     }
7250     arg1 = (gsl_matrix *)(argp1);
7251     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
7252     if (!SWIG_IsOK(ecode2)) {
7253       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_const_subrow" "', argument " "2"" of type '" "size_t""'");
7254     }
7255     arg2 = (size_t)(val2);
7256     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
7257     if (!SWIG_IsOK(ecode3)) {
7258       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_const_subrow" "', argument " "3"" of type '" "size_t""'");
7259     }
7260     arg3 = (size_t)(val3);
7261     ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
7262     if (!SWIG_IsOK(ecode4)) {
7263       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_matrix_const_subrow" "', argument " "4"" of type '" "size_t""'");
7264     }
7265     arg4 = (size_t)(val4);
7266     result = gsl_matrix_const_subrow((gsl_matrix const *)arg1,arg2,arg3,arg4);
7267     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++ ;
7268 
7269 
7270 
7271 
7272     XSRETURN(argvi);
7273   fail:
7274 
7275 
7276 
7277 
7278     SWIG_croak_null();
7279   }
7280 }
7281 
7282 
XS(_wrap_gsl_matrix_const_subcolumn)7283 XS(_wrap_gsl_matrix_const_subcolumn) {
7284   {
7285     gsl_matrix *arg1 = (gsl_matrix *) 0 ;
7286     size_t arg2 ;
7287     size_t arg3 ;
7288     size_t arg4 ;
7289     void *argp1 = 0 ;
7290     int res1 = 0 ;
7291     size_t val2 ;
7292     int ecode2 = 0 ;
7293     size_t val3 ;
7294     int ecode3 = 0 ;
7295     size_t val4 ;
7296     int ecode4 = 0 ;
7297     int argvi = 0;
7298     _gsl_vector_const_view result;
7299     dXSARGS;
7300 
7301     if ((items < 4) || (items > 4)) {
7302       SWIG_croak("Usage: gsl_matrix_const_subcolumn(m,j,offset,n);");
7303     }
7304     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix, 0 |  0 );
7305     if (!SWIG_IsOK(res1)) {
7306       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_const_subcolumn" "', argument " "1"" of type '" "gsl_matrix const *""'");
7307     }
7308     arg1 = (gsl_matrix *)(argp1);
7309     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
7310     if (!SWIG_IsOK(ecode2)) {
7311       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_const_subcolumn" "', argument " "2"" of type '" "size_t""'");
7312     }
7313     arg2 = (size_t)(val2);
7314     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
7315     if (!SWIG_IsOK(ecode3)) {
7316       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_const_subcolumn" "', argument " "3"" of type '" "size_t""'");
7317     }
7318     arg3 = (size_t)(val3);
7319     ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
7320     if (!SWIG_IsOK(ecode4)) {
7321       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_matrix_const_subcolumn" "', argument " "4"" of type '" "size_t""'");
7322     }
7323     arg4 = (size_t)(val4);
7324     result = gsl_matrix_const_subcolumn((gsl_matrix const *)arg1,arg2,arg3,arg4);
7325     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++ ;
7326 
7327 
7328 
7329 
7330     XSRETURN(argvi);
7331   fail:
7332 
7333 
7334 
7335 
7336     SWIG_croak_null();
7337   }
7338 }
7339 
7340 
XS(_wrap_gsl_matrix_const_view_array)7341 XS(_wrap_gsl_matrix_const_view_array) {
7342   {
7343     double *arg1 = (double *) 0 ;
7344     size_t arg2 ;
7345     size_t arg3 ;
7346     size_t val2 ;
7347     int ecode2 = 0 ;
7348     size_t val3 ;
7349     int ecode3 = 0 ;
7350     int argvi = 0;
7351     _gsl_matrix_const_view result;
7352     dXSARGS;
7353 
7354     if ((items < 3) || (items > 3)) {
7355       SWIG_croak("Usage: gsl_matrix_const_view_array(base,n1,n2);");
7356     }
7357     {
7358       AV *tempav;
7359       I32 len;
7360       int i;
7361       SV **tv;
7362       if (!SvROK(ST(0)))
7363       croak("Math::GSL : $base is not a reference!");
7364       if (SvTYPE(SvRV(ST(0))) != SVt_PVAV)
7365       croak("Math::GSL : $base is not an array ref!");
7366 
7367       tempav = (AV*)SvRV(ST(0));
7368       len = av_len(tempav);
7369       arg1 = (double *) malloc((len+2)*sizeof(double));
7370       for (i = 0; i <= len; i++) {
7371         tv = av_fetch(tempav, i, 0);
7372         arg1[i] = (double) SvNV(*tv);
7373       }
7374     }
7375     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
7376     if (!SWIG_IsOK(ecode2)) {
7377       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_const_view_array" "', argument " "2"" of type '" "size_t""'");
7378     }
7379     arg2 = (size_t)(val2);
7380     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
7381     if (!SWIG_IsOK(ecode3)) {
7382       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_const_view_array" "', argument " "3"" of type '" "size_t""'");
7383     }
7384     arg3 = (size_t)(val3);
7385     result = gsl_matrix_const_view_array((double const *)arg1,arg2,arg3);
7386     ST(argvi) = SWIG_NewPointerObj((_gsl_matrix_const_view *)memcpy((_gsl_matrix_const_view *)calloc(1,sizeof(_gsl_matrix_const_view)),&result,sizeof(_gsl_matrix_const_view)), SWIGTYPE_p__gsl_matrix_const_view, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
7387     {
7388       if (arg1) free(arg1);
7389     }
7390 
7391 
7392     XSRETURN(argvi);
7393   fail:
7394     {
7395       if (arg1) free(arg1);
7396     }
7397 
7398 
7399     SWIG_croak_null();
7400   }
7401 }
7402 
7403 
XS(_wrap_gsl_matrix_const_view_array_with_tda)7404 XS(_wrap_gsl_matrix_const_view_array_with_tda) {
7405   {
7406     double *arg1 = (double *) 0 ;
7407     size_t arg2 ;
7408     size_t arg3 ;
7409     size_t arg4 ;
7410     size_t val2 ;
7411     int ecode2 = 0 ;
7412     size_t val3 ;
7413     int ecode3 = 0 ;
7414     size_t val4 ;
7415     int ecode4 = 0 ;
7416     int argvi = 0;
7417     _gsl_matrix_const_view result;
7418     dXSARGS;
7419 
7420     if ((items < 4) || (items > 4)) {
7421       SWIG_croak("Usage: gsl_matrix_const_view_array_with_tda(base,n1,n2,tda);");
7422     }
7423     {
7424       AV *tempav;
7425       I32 len;
7426       int i;
7427       SV **tv;
7428       if (!SvROK(ST(0)))
7429       croak("Math::GSL : $base is not a reference!");
7430       if (SvTYPE(SvRV(ST(0))) != SVt_PVAV)
7431       croak("Math::GSL : $base is not an array ref!");
7432 
7433       tempav = (AV*)SvRV(ST(0));
7434       len = av_len(tempav);
7435       arg1 = (double *) malloc((len+2)*sizeof(double));
7436       for (i = 0; i <= len; i++) {
7437         tv = av_fetch(tempav, i, 0);
7438         arg1[i] = (double) SvNV(*tv);
7439       }
7440     }
7441     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
7442     if (!SWIG_IsOK(ecode2)) {
7443       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_const_view_array_with_tda" "', argument " "2"" of type '" "size_t""'");
7444     }
7445     arg2 = (size_t)(val2);
7446     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
7447     if (!SWIG_IsOK(ecode3)) {
7448       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_const_view_array_with_tda" "', argument " "3"" of type '" "size_t""'");
7449     }
7450     arg3 = (size_t)(val3);
7451     ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
7452     if (!SWIG_IsOK(ecode4)) {
7453       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_matrix_const_view_array_with_tda" "', argument " "4"" of type '" "size_t""'");
7454     }
7455     arg4 = (size_t)(val4);
7456     result = gsl_matrix_const_view_array_with_tda((double const *)arg1,arg2,arg3,arg4);
7457     ST(argvi) = SWIG_NewPointerObj((_gsl_matrix_const_view *)memcpy((_gsl_matrix_const_view *)calloc(1,sizeof(_gsl_matrix_const_view)),&result,sizeof(_gsl_matrix_const_view)), SWIGTYPE_p__gsl_matrix_const_view, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
7458     {
7459       if (arg1) free(arg1);
7460     }
7461 
7462 
7463 
7464     XSRETURN(argvi);
7465   fail:
7466     {
7467       if (arg1) free(arg1);
7468     }
7469 
7470 
7471 
7472     SWIG_croak_null();
7473   }
7474 }
7475 
7476 
XS(_wrap_gsl_matrix_const_view_vector)7477 XS(_wrap_gsl_matrix_const_view_vector) {
7478   {
7479     gsl_vector *arg1 = (gsl_vector *) 0 ;
7480     size_t arg2 ;
7481     size_t arg3 ;
7482     void *argp1 = 0 ;
7483     int res1 = 0 ;
7484     size_t val2 ;
7485     int ecode2 = 0 ;
7486     size_t val3 ;
7487     int ecode3 = 0 ;
7488     int argvi = 0;
7489     _gsl_matrix_const_view result;
7490     dXSARGS;
7491 
7492     if ((items < 3) || (items > 3)) {
7493       SWIG_croak("Usage: gsl_matrix_const_view_vector(v,n1,n2);");
7494     }
7495     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 |  0 );
7496     if (!SWIG_IsOK(res1)) {
7497       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_const_view_vector" "', argument " "1"" of type '" "gsl_vector const *""'");
7498     }
7499     arg1 = (gsl_vector *)(argp1);
7500     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
7501     if (!SWIG_IsOK(ecode2)) {
7502       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_const_view_vector" "', argument " "2"" of type '" "size_t""'");
7503     }
7504     arg2 = (size_t)(val2);
7505     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
7506     if (!SWIG_IsOK(ecode3)) {
7507       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_const_view_vector" "', argument " "3"" of type '" "size_t""'");
7508     }
7509     arg3 = (size_t)(val3);
7510     result = gsl_matrix_const_view_vector((gsl_vector const *)arg1,arg2,arg3);
7511     ST(argvi) = SWIG_NewPointerObj((_gsl_matrix_const_view *)memcpy((_gsl_matrix_const_view *)calloc(1,sizeof(_gsl_matrix_const_view)),&result,sizeof(_gsl_matrix_const_view)), SWIGTYPE_p__gsl_matrix_const_view, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
7512 
7513 
7514 
7515     XSRETURN(argvi);
7516   fail:
7517 
7518 
7519 
7520     SWIG_croak_null();
7521   }
7522 }
7523 
7524 
XS(_wrap_gsl_matrix_const_view_vector_with_tda)7525 XS(_wrap_gsl_matrix_const_view_vector_with_tda) {
7526   {
7527     gsl_vector *arg1 = (gsl_vector *) 0 ;
7528     size_t arg2 ;
7529     size_t arg3 ;
7530     size_t arg4 ;
7531     void *argp1 = 0 ;
7532     int res1 = 0 ;
7533     size_t val2 ;
7534     int ecode2 = 0 ;
7535     size_t val3 ;
7536     int ecode3 = 0 ;
7537     size_t val4 ;
7538     int ecode4 = 0 ;
7539     int argvi = 0;
7540     _gsl_matrix_const_view result;
7541     dXSARGS;
7542 
7543     if ((items < 4) || (items > 4)) {
7544       SWIG_croak("Usage: gsl_matrix_const_view_vector_with_tda(v,n1,n2,tda);");
7545     }
7546     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 |  0 );
7547     if (!SWIG_IsOK(res1)) {
7548       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_const_view_vector_with_tda" "', argument " "1"" of type '" "gsl_vector const *""'");
7549     }
7550     arg1 = (gsl_vector *)(argp1);
7551     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
7552     if (!SWIG_IsOK(ecode2)) {
7553       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_const_view_vector_with_tda" "', argument " "2"" of type '" "size_t""'");
7554     }
7555     arg2 = (size_t)(val2);
7556     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
7557     if (!SWIG_IsOK(ecode3)) {
7558       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_const_view_vector_with_tda" "', argument " "3"" of type '" "size_t""'");
7559     }
7560     arg3 = (size_t)(val3);
7561     ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
7562     if (!SWIG_IsOK(ecode4)) {
7563       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_matrix_const_view_vector_with_tda" "', argument " "4"" of type '" "size_t""'");
7564     }
7565     arg4 = (size_t)(val4);
7566     result = gsl_matrix_const_view_vector_with_tda((gsl_vector const *)arg1,arg2,arg3,arg4);
7567     ST(argvi) = SWIG_NewPointerObj((_gsl_matrix_const_view *)memcpy((_gsl_matrix_const_view *)calloc(1,sizeof(_gsl_matrix_const_view)),&result,sizeof(_gsl_matrix_const_view)), SWIGTYPE_p__gsl_matrix_const_view, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
7568 
7569 
7570 
7571 
7572     XSRETURN(argvi);
7573   fail:
7574 
7575 
7576 
7577 
7578     SWIG_croak_null();
7579   }
7580 }
7581 
7582 
XS(_wrap_gsl_matrix_set_zero)7583 XS(_wrap_gsl_matrix_set_zero) {
7584   {
7585     gsl_matrix *arg1 = (gsl_matrix *) 0 ;
7586     void *argp1 = 0 ;
7587     int res1 = 0 ;
7588     int argvi = 0;
7589     dXSARGS;
7590 
7591     if ((items < 1) || (items > 1)) {
7592       SWIG_croak("Usage: gsl_matrix_set_zero(m);");
7593     }
7594     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix, 0 |  0 );
7595     if (!SWIG_IsOK(res1)) {
7596       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_set_zero" "', argument " "1"" of type '" "gsl_matrix *""'");
7597     }
7598     arg1 = (gsl_matrix *)(argp1);
7599     gsl_matrix_set_zero(arg1);
7600     ST(argvi) = &PL_sv_undef;
7601 
7602     XSRETURN(argvi);
7603   fail:
7604 
7605     SWIG_croak_null();
7606   }
7607 }
7608 
7609 
XS(_wrap_gsl_matrix_set_identity)7610 XS(_wrap_gsl_matrix_set_identity) {
7611   {
7612     gsl_matrix *arg1 = (gsl_matrix *) 0 ;
7613     void *argp1 = 0 ;
7614     int res1 = 0 ;
7615     int argvi = 0;
7616     dXSARGS;
7617 
7618     if ((items < 1) || (items > 1)) {
7619       SWIG_croak("Usage: gsl_matrix_set_identity(m);");
7620     }
7621     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix, 0 |  0 );
7622     if (!SWIG_IsOK(res1)) {
7623       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_set_identity" "', argument " "1"" of type '" "gsl_matrix *""'");
7624     }
7625     arg1 = (gsl_matrix *)(argp1);
7626     gsl_matrix_set_identity(arg1);
7627     ST(argvi) = &PL_sv_undef;
7628 
7629     XSRETURN(argvi);
7630   fail:
7631 
7632     SWIG_croak_null();
7633   }
7634 }
7635 
7636 
XS(_wrap_gsl_matrix_set_all)7637 XS(_wrap_gsl_matrix_set_all) {
7638   {
7639     gsl_matrix *arg1 = (gsl_matrix *) 0 ;
7640     double arg2 ;
7641     void *argp1 = 0 ;
7642     int res1 = 0 ;
7643     double val2 ;
7644     int ecode2 = 0 ;
7645     int argvi = 0;
7646     dXSARGS;
7647 
7648     if ((items < 2) || (items > 2)) {
7649       SWIG_croak("Usage: gsl_matrix_set_all(m,x);");
7650     }
7651     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix, 0 |  0 );
7652     if (!SWIG_IsOK(res1)) {
7653       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_set_all" "', argument " "1"" of type '" "gsl_matrix *""'");
7654     }
7655     arg1 = (gsl_matrix *)(argp1);
7656     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
7657     if (!SWIG_IsOK(ecode2)) {
7658       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_set_all" "', argument " "2"" of type '" "double""'");
7659     }
7660     arg2 = (double)(val2);
7661     gsl_matrix_set_all(arg1,arg2);
7662     ST(argvi) = &PL_sv_undef;
7663 
7664 
7665     XSRETURN(argvi);
7666   fail:
7667 
7668 
7669     SWIG_croak_null();
7670   }
7671 }
7672 
7673 
XS(_wrap_gsl_matrix_fread)7674 XS(_wrap_gsl_matrix_fread) {
7675   {
7676     FILE *arg1 = (FILE *) 0 ;
7677     gsl_matrix *arg2 = (gsl_matrix *) 0 ;
7678     void *argp1 = 0 ;
7679     int res1 = 0 ;
7680     void *argp2 = 0 ;
7681     int res2 = 0 ;
7682     int argvi = 0;
7683     int result;
7684     dXSARGS;
7685 
7686     if ((items < 2) || (items > 2)) {
7687       SWIG_croak("Usage: gsl_matrix_fread(stream,m);");
7688     }
7689     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_FILE, 0 |  0 );
7690     if (!SWIG_IsOK(res1)) {
7691       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_fread" "', argument " "1"" of type '" "FILE *""'");
7692     }
7693     arg1 = (FILE *)(argp1);
7694     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix, 0 |  0 );
7695     if (!SWIG_IsOK(res2)) {
7696       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_fread" "', argument " "2"" of type '" "gsl_matrix *""'");
7697     }
7698     arg2 = (gsl_matrix *)(argp2);
7699     result = (int)gsl_matrix_fread(arg1,arg2);
7700     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
7701 
7702 
7703     XSRETURN(argvi);
7704   fail:
7705 
7706 
7707     SWIG_croak_null();
7708   }
7709 }
7710 
7711 
XS(_wrap_gsl_matrix_fwrite)7712 XS(_wrap_gsl_matrix_fwrite) {
7713   {
7714     FILE *arg1 = (FILE *) 0 ;
7715     gsl_matrix *arg2 = (gsl_matrix *) 0 ;
7716     void *argp1 = 0 ;
7717     int res1 = 0 ;
7718     void *argp2 = 0 ;
7719     int res2 = 0 ;
7720     int argvi = 0;
7721     int result;
7722     dXSARGS;
7723 
7724     if ((items < 2) || (items > 2)) {
7725       SWIG_croak("Usage: gsl_matrix_fwrite(stream,m);");
7726     }
7727     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_FILE, 0 |  0 );
7728     if (!SWIG_IsOK(res1)) {
7729       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_fwrite" "', argument " "1"" of type '" "FILE *""'");
7730     }
7731     arg1 = (FILE *)(argp1);
7732     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix, 0 |  0 );
7733     if (!SWIG_IsOK(res2)) {
7734       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_fwrite" "', argument " "2"" of type '" "gsl_matrix const *""'");
7735     }
7736     arg2 = (gsl_matrix *)(argp2);
7737     result = (int)gsl_matrix_fwrite(arg1,(gsl_matrix const *)arg2);
7738     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
7739 
7740 
7741     XSRETURN(argvi);
7742   fail:
7743 
7744 
7745     SWIG_croak_null();
7746   }
7747 }
7748 
7749 
XS(_wrap_gsl_matrix_fscanf)7750 XS(_wrap_gsl_matrix_fscanf) {
7751   {
7752     FILE *arg1 = (FILE *) 0 ;
7753     gsl_matrix *arg2 = (gsl_matrix *) 0 ;
7754     void *argp1 = 0 ;
7755     int res1 = 0 ;
7756     void *argp2 = 0 ;
7757     int res2 = 0 ;
7758     int argvi = 0;
7759     int result;
7760     dXSARGS;
7761 
7762     if ((items < 2) || (items > 2)) {
7763       SWIG_croak("Usage: gsl_matrix_fscanf(stream,m);");
7764     }
7765     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_FILE, 0 |  0 );
7766     if (!SWIG_IsOK(res1)) {
7767       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_fscanf" "', argument " "1"" of type '" "FILE *""'");
7768     }
7769     arg1 = (FILE *)(argp1);
7770     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix, 0 |  0 );
7771     if (!SWIG_IsOK(res2)) {
7772       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_fscanf" "', argument " "2"" of type '" "gsl_matrix *""'");
7773     }
7774     arg2 = (gsl_matrix *)(argp2);
7775     result = (int)gsl_matrix_fscanf(arg1,arg2);
7776     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
7777 
7778 
7779     XSRETURN(argvi);
7780   fail:
7781 
7782 
7783     SWIG_croak_null();
7784   }
7785 }
7786 
7787 
XS(_wrap_gsl_matrix_fprintf)7788 XS(_wrap_gsl_matrix_fprintf) {
7789   {
7790     FILE *arg1 = (FILE *) 0 ;
7791     gsl_matrix *arg2 = (gsl_matrix *) 0 ;
7792     char *arg3 = (char *) 0 ;
7793     void *argp1 = 0 ;
7794     int res1 = 0 ;
7795     void *argp2 = 0 ;
7796     int res2 = 0 ;
7797     int res3 ;
7798     char *buf3 = 0 ;
7799     int alloc3 = 0 ;
7800     int argvi = 0;
7801     int result;
7802     dXSARGS;
7803 
7804     if ((items < 3) || (items > 3)) {
7805       SWIG_croak("Usage: gsl_matrix_fprintf(stream,m,format);");
7806     }
7807     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_FILE, 0 |  0 );
7808     if (!SWIG_IsOK(res1)) {
7809       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_fprintf" "', argument " "1"" of type '" "FILE *""'");
7810     }
7811     arg1 = (FILE *)(argp1);
7812     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix, 0 |  0 );
7813     if (!SWIG_IsOK(res2)) {
7814       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_fprintf" "', argument " "2"" of type '" "gsl_matrix const *""'");
7815     }
7816     arg2 = (gsl_matrix *)(argp2);
7817     res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
7818     if (!SWIG_IsOK(res3)) {
7819       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_matrix_fprintf" "', argument " "3"" of type '" "char const *""'");
7820     }
7821     arg3 = (char *)(buf3);
7822     result = (int)gsl_matrix_fprintf(arg1,(gsl_matrix const *)arg2,(char const *)arg3);
7823     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
7824 
7825 
7826     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
7827     XSRETURN(argvi);
7828   fail:
7829 
7830 
7831     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
7832     SWIG_croak_null();
7833   }
7834 }
7835 
7836 
XS(_wrap_gsl_matrix_memcpy)7837 XS(_wrap_gsl_matrix_memcpy) {
7838   {
7839     gsl_matrix *arg1 = (gsl_matrix *) 0 ;
7840     gsl_matrix *arg2 = (gsl_matrix *) 0 ;
7841     void *argp1 = 0 ;
7842     int res1 = 0 ;
7843     void *argp2 = 0 ;
7844     int res2 = 0 ;
7845     int argvi = 0;
7846     int result;
7847     dXSARGS;
7848 
7849     if ((items < 2) || (items > 2)) {
7850       SWIG_croak("Usage: gsl_matrix_memcpy(dest,src);");
7851     }
7852     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix, 0 |  0 );
7853     if (!SWIG_IsOK(res1)) {
7854       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_memcpy" "', argument " "1"" of type '" "gsl_matrix *""'");
7855     }
7856     arg1 = (gsl_matrix *)(argp1);
7857     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix, 0 |  0 );
7858     if (!SWIG_IsOK(res2)) {
7859       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_memcpy" "', argument " "2"" of type '" "gsl_matrix const *""'");
7860     }
7861     arg2 = (gsl_matrix *)(argp2);
7862     result = (int)gsl_matrix_memcpy(arg1,(gsl_matrix const *)arg2);
7863     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
7864 
7865 
7866     XSRETURN(argvi);
7867   fail:
7868 
7869 
7870     SWIG_croak_null();
7871   }
7872 }
7873 
7874 
XS(_wrap_gsl_matrix_swap)7875 XS(_wrap_gsl_matrix_swap) {
7876   {
7877     gsl_matrix *arg1 = (gsl_matrix *) 0 ;
7878     gsl_matrix *arg2 = (gsl_matrix *) 0 ;
7879     void *argp1 = 0 ;
7880     int res1 = 0 ;
7881     void *argp2 = 0 ;
7882     int res2 = 0 ;
7883     int argvi = 0;
7884     int result;
7885     dXSARGS;
7886 
7887     if ((items < 2) || (items > 2)) {
7888       SWIG_croak("Usage: gsl_matrix_swap(m1,m2);");
7889     }
7890     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix, 0 |  0 );
7891     if (!SWIG_IsOK(res1)) {
7892       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_swap" "', argument " "1"" of type '" "gsl_matrix *""'");
7893     }
7894     arg1 = (gsl_matrix *)(argp1);
7895     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix, 0 |  0 );
7896     if (!SWIG_IsOK(res2)) {
7897       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_swap" "', argument " "2"" of type '" "gsl_matrix *""'");
7898     }
7899     arg2 = (gsl_matrix *)(argp2);
7900     result = (int)gsl_matrix_swap(arg1,arg2);
7901     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
7902 
7903 
7904     XSRETURN(argvi);
7905   fail:
7906 
7907 
7908     SWIG_croak_null();
7909   }
7910 }
7911 
7912 
XS(_wrap_gsl_matrix_tricpy)7913 XS(_wrap_gsl_matrix_tricpy) {
7914   {
7915     CBLAS_UPLO_t arg1 ;
7916     CBLAS_DIAG_t arg2 ;
7917     gsl_matrix *arg3 = (gsl_matrix *) 0 ;
7918     gsl_matrix *arg4 = (gsl_matrix *) 0 ;
7919     int val1 ;
7920     int ecode1 = 0 ;
7921     int val2 ;
7922     int ecode2 = 0 ;
7923     void *argp3 = 0 ;
7924     int res3 = 0 ;
7925     void *argp4 = 0 ;
7926     int res4 = 0 ;
7927     int argvi = 0;
7928     int result;
7929     dXSARGS;
7930 
7931     if ((items < 4) || (items > 4)) {
7932       SWIG_croak("Usage: gsl_matrix_tricpy(Uplo,Diag,dest,src);");
7933     }
7934     ecode1 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
7935     if (!SWIG_IsOK(ecode1)) {
7936       SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_matrix_tricpy" "', argument " "1"" of type '" "CBLAS_UPLO_t""'");
7937     }
7938     arg1 = (CBLAS_UPLO_t)(val1);
7939     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
7940     if (!SWIG_IsOK(ecode2)) {
7941       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_tricpy" "', argument " "2"" of type '" "CBLAS_DIAG_t""'");
7942     }
7943     arg2 = (CBLAS_DIAG_t)(val2);
7944     res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_gsl_matrix, 0 |  0 );
7945     if (!SWIG_IsOK(res3)) {
7946       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_matrix_tricpy" "', argument " "3"" of type '" "gsl_matrix *""'");
7947     }
7948     arg3 = (gsl_matrix *)(argp3);
7949     res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_gsl_matrix, 0 |  0 );
7950     if (!SWIG_IsOK(res4)) {
7951       SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_matrix_tricpy" "', argument " "4"" of type '" "gsl_matrix const *""'");
7952     }
7953     arg4 = (gsl_matrix *)(argp4);
7954     result = (int)gsl_matrix_tricpy(arg1,arg2,arg3,(gsl_matrix const *)arg4);
7955     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
7956 
7957 
7958 
7959 
7960     XSRETURN(argvi);
7961   fail:
7962 
7963 
7964 
7965 
7966     SWIG_croak_null();
7967   }
7968 }
7969 
7970 
XS(_wrap_gsl_matrix_swap_rows)7971 XS(_wrap_gsl_matrix_swap_rows) {
7972   {
7973     gsl_matrix *arg1 = (gsl_matrix *) 0 ;
7974     size_t arg2 ;
7975     size_t arg3 ;
7976     void *argp1 = 0 ;
7977     int res1 = 0 ;
7978     size_t val2 ;
7979     int ecode2 = 0 ;
7980     size_t val3 ;
7981     int ecode3 = 0 ;
7982     int argvi = 0;
7983     int result;
7984     dXSARGS;
7985 
7986     if ((items < 3) || (items > 3)) {
7987       SWIG_croak("Usage: gsl_matrix_swap_rows(m,i,j);");
7988     }
7989     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix, 0 |  0 );
7990     if (!SWIG_IsOK(res1)) {
7991       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_swap_rows" "', argument " "1"" of type '" "gsl_matrix *""'");
7992     }
7993     arg1 = (gsl_matrix *)(argp1);
7994     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
7995     if (!SWIG_IsOK(ecode2)) {
7996       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_swap_rows" "', argument " "2"" of type '" "size_t""'");
7997     }
7998     arg2 = (size_t)(val2);
7999     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
8000     if (!SWIG_IsOK(ecode3)) {
8001       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_swap_rows" "', argument " "3"" of type '" "size_t""'");
8002     }
8003     arg3 = (size_t)(val3);
8004     result = (int)gsl_matrix_swap_rows(arg1,arg2,arg3);
8005     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
8006 
8007 
8008 
8009     XSRETURN(argvi);
8010   fail:
8011 
8012 
8013 
8014     SWIG_croak_null();
8015   }
8016 }
8017 
8018 
XS(_wrap_gsl_matrix_swap_columns)8019 XS(_wrap_gsl_matrix_swap_columns) {
8020   {
8021     gsl_matrix *arg1 = (gsl_matrix *) 0 ;
8022     size_t arg2 ;
8023     size_t arg3 ;
8024     void *argp1 = 0 ;
8025     int res1 = 0 ;
8026     size_t val2 ;
8027     int ecode2 = 0 ;
8028     size_t val3 ;
8029     int ecode3 = 0 ;
8030     int argvi = 0;
8031     int result;
8032     dXSARGS;
8033 
8034     if ((items < 3) || (items > 3)) {
8035       SWIG_croak("Usage: gsl_matrix_swap_columns(m,i,j);");
8036     }
8037     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix, 0 |  0 );
8038     if (!SWIG_IsOK(res1)) {
8039       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_swap_columns" "', argument " "1"" of type '" "gsl_matrix *""'");
8040     }
8041     arg1 = (gsl_matrix *)(argp1);
8042     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
8043     if (!SWIG_IsOK(ecode2)) {
8044       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_swap_columns" "', argument " "2"" of type '" "size_t""'");
8045     }
8046     arg2 = (size_t)(val2);
8047     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
8048     if (!SWIG_IsOK(ecode3)) {
8049       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_swap_columns" "', argument " "3"" of type '" "size_t""'");
8050     }
8051     arg3 = (size_t)(val3);
8052     result = (int)gsl_matrix_swap_columns(arg1,arg2,arg3);
8053     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
8054 
8055 
8056 
8057     XSRETURN(argvi);
8058   fail:
8059 
8060 
8061 
8062     SWIG_croak_null();
8063   }
8064 }
8065 
8066 
XS(_wrap_gsl_matrix_swap_rowcol)8067 XS(_wrap_gsl_matrix_swap_rowcol) {
8068   {
8069     gsl_matrix *arg1 = (gsl_matrix *) 0 ;
8070     size_t arg2 ;
8071     size_t arg3 ;
8072     void *argp1 = 0 ;
8073     int res1 = 0 ;
8074     size_t val2 ;
8075     int ecode2 = 0 ;
8076     size_t val3 ;
8077     int ecode3 = 0 ;
8078     int argvi = 0;
8079     int result;
8080     dXSARGS;
8081 
8082     if ((items < 3) || (items > 3)) {
8083       SWIG_croak("Usage: gsl_matrix_swap_rowcol(m,i,j);");
8084     }
8085     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix, 0 |  0 );
8086     if (!SWIG_IsOK(res1)) {
8087       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_swap_rowcol" "', argument " "1"" of type '" "gsl_matrix *""'");
8088     }
8089     arg1 = (gsl_matrix *)(argp1);
8090     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
8091     if (!SWIG_IsOK(ecode2)) {
8092       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_swap_rowcol" "', argument " "2"" of type '" "size_t""'");
8093     }
8094     arg2 = (size_t)(val2);
8095     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
8096     if (!SWIG_IsOK(ecode3)) {
8097       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_swap_rowcol" "', argument " "3"" of type '" "size_t""'");
8098     }
8099     arg3 = (size_t)(val3);
8100     result = (int)gsl_matrix_swap_rowcol(arg1,arg2,arg3);
8101     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
8102 
8103 
8104 
8105     XSRETURN(argvi);
8106   fail:
8107 
8108 
8109 
8110     SWIG_croak_null();
8111   }
8112 }
8113 
8114 
XS(_wrap_gsl_matrix_transpose)8115 XS(_wrap_gsl_matrix_transpose) {
8116   {
8117     gsl_matrix *arg1 = (gsl_matrix *) 0 ;
8118     void *argp1 = 0 ;
8119     int res1 = 0 ;
8120     int argvi = 0;
8121     int result;
8122     dXSARGS;
8123 
8124     if ((items < 1) || (items > 1)) {
8125       SWIG_croak("Usage: gsl_matrix_transpose(m);");
8126     }
8127     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix, 0 |  0 );
8128     if (!SWIG_IsOK(res1)) {
8129       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_transpose" "', argument " "1"" of type '" "gsl_matrix *""'");
8130     }
8131     arg1 = (gsl_matrix *)(argp1);
8132     result = (int)gsl_matrix_transpose(arg1);
8133     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
8134 
8135     XSRETURN(argvi);
8136   fail:
8137 
8138     SWIG_croak_null();
8139   }
8140 }
8141 
8142 
XS(_wrap_gsl_matrix_transpose_memcpy)8143 XS(_wrap_gsl_matrix_transpose_memcpy) {
8144   {
8145     gsl_matrix *arg1 = (gsl_matrix *) 0 ;
8146     gsl_matrix *arg2 = (gsl_matrix *) 0 ;
8147     void *argp1 = 0 ;
8148     int res1 = 0 ;
8149     void *argp2 = 0 ;
8150     int res2 = 0 ;
8151     int argvi = 0;
8152     int result;
8153     dXSARGS;
8154 
8155     if ((items < 2) || (items > 2)) {
8156       SWIG_croak("Usage: gsl_matrix_transpose_memcpy(dest,src);");
8157     }
8158     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix, 0 |  0 );
8159     if (!SWIG_IsOK(res1)) {
8160       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_transpose_memcpy" "', argument " "1"" of type '" "gsl_matrix *""'");
8161     }
8162     arg1 = (gsl_matrix *)(argp1);
8163     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix, 0 |  0 );
8164     if (!SWIG_IsOK(res2)) {
8165       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_transpose_memcpy" "', argument " "2"" of type '" "gsl_matrix const *""'");
8166     }
8167     arg2 = (gsl_matrix *)(argp2);
8168     result = (int)gsl_matrix_transpose_memcpy(arg1,(gsl_matrix const *)arg2);
8169     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
8170 
8171 
8172     XSRETURN(argvi);
8173   fail:
8174 
8175 
8176     SWIG_croak_null();
8177   }
8178 }
8179 
8180 
XS(_wrap_gsl_matrix_transpose_tricpy)8181 XS(_wrap_gsl_matrix_transpose_tricpy) {
8182   {
8183     CBLAS_UPLO_t arg1 ;
8184     CBLAS_DIAG_t arg2 ;
8185     gsl_matrix *arg3 = (gsl_matrix *) 0 ;
8186     gsl_matrix *arg4 = (gsl_matrix *) 0 ;
8187     int val1 ;
8188     int ecode1 = 0 ;
8189     int val2 ;
8190     int ecode2 = 0 ;
8191     void *argp3 = 0 ;
8192     int res3 = 0 ;
8193     void *argp4 = 0 ;
8194     int res4 = 0 ;
8195     int argvi = 0;
8196     int result;
8197     dXSARGS;
8198 
8199     if ((items < 4) || (items > 4)) {
8200       SWIG_croak("Usage: gsl_matrix_transpose_tricpy(Uplo_src,Diag,dest,src);");
8201     }
8202     ecode1 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
8203     if (!SWIG_IsOK(ecode1)) {
8204       SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_matrix_transpose_tricpy" "', argument " "1"" of type '" "CBLAS_UPLO_t""'");
8205     }
8206     arg1 = (CBLAS_UPLO_t)(val1);
8207     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
8208     if (!SWIG_IsOK(ecode2)) {
8209       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_transpose_tricpy" "', argument " "2"" of type '" "CBLAS_DIAG_t""'");
8210     }
8211     arg2 = (CBLAS_DIAG_t)(val2);
8212     res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_gsl_matrix, 0 |  0 );
8213     if (!SWIG_IsOK(res3)) {
8214       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_matrix_transpose_tricpy" "', argument " "3"" of type '" "gsl_matrix *""'");
8215     }
8216     arg3 = (gsl_matrix *)(argp3);
8217     res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_gsl_matrix, 0 |  0 );
8218     if (!SWIG_IsOK(res4)) {
8219       SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_matrix_transpose_tricpy" "', argument " "4"" of type '" "gsl_matrix const *""'");
8220     }
8221     arg4 = (gsl_matrix *)(argp4);
8222     result = (int)gsl_matrix_transpose_tricpy(arg1,arg2,arg3,(gsl_matrix const *)arg4);
8223     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
8224 
8225 
8226 
8227 
8228     XSRETURN(argvi);
8229   fail:
8230 
8231 
8232 
8233 
8234     SWIG_croak_null();
8235   }
8236 }
8237 
8238 
XS(_wrap_gsl_matrix_max)8239 XS(_wrap_gsl_matrix_max) {
8240   {
8241     gsl_matrix *arg1 = (gsl_matrix *) 0 ;
8242     void *argp1 = 0 ;
8243     int res1 = 0 ;
8244     int argvi = 0;
8245     double result;
8246     dXSARGS;
8247 
8248     if ((items < 1) || (items > 1)) {
8249       SWIG_croak("Usage: gsl_matrix_max(m);");
8250     }
8251     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix, 0 |  0 );
8252     if (!SWIG_IsOK(res1)) {
8253       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_max" "', argument " "1"" of type '" "gsl_matrix const *""'");
8254     }
8255     arg1 = (gsl_matrix *)(argp1);
8256     result = (double)gsl_matrix_max((gsl_matrix const *)arg1);
8257     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
8258 
8259     XSRETURN(argvi);
8260   fail:
8261 
8262     SWIG_croak_null();
8263   }
8264 }
8265 
8266 
XS(_wrap_gsl_matrix_min)8267 XS(_wrap_gsl_matrix_min) {
8268   {
8269     gsl_matrix *arg1 = (gsl_matrix *) 0 ;
8270     void *argp1 = 0 ;
8271     int res1 = 0 ;
8272     int argvi = 0;
8273     double result;
8274     dXSARGS;
8275 
8276     if ((items < 1) || (items > 1)) {
8277       SWIG_croak("Usage: gsl_matrix_min(m);");
8278     }
8279     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix, 0 |  0 );
8280     if (!SWIG_IsOK(res1)) {
8281       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_min" "', argument " "1"" of type '" "gsl_matrix const *""'");
8282     }
8283     arg1 = (gsl_matrix *)(argp1);
8284     result = (double)gsl_matrix_min((gsl_matrix const *)arg1);
8285     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
8286 
8287     XSRETURN(argvi);
8288   fail:
8289 
8290     SWIG_croak_null();
8291   }
8292 }
8293 
8294 
XS(_wrap_gsl_matrix_minmax)8295 XS(_wrap_gsl_matrix_minmax) {
8296   {
8297     gsl_matrix *arg1 = (gsl_matrix *) 0 ;
8298     double *arg2 = (double *) 0 ;
8299     double *arg3 = (double *) 0 ;
8300     void *argp1 = 0 ;
8301     int res1 = 0 ;
8302     double temp2 ;
8303     int res2 = SWIG_TMPOBJ ;
8304     double temp3 ;
8305     int res3 = SWIG_TMPOBJ ;
8306     int argvi = 0;
8307     dXSARGS;
8308 
8309     arg2 = &temp2;
8310     arg3 = &temp3;
8311     if ((items < 1) || (items > 1)) {
8312       SWIG_croak("Usage: gsl_matrix_minmax(m);");
8313     }
8314     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix, 0 |  0 );
8315     if (!SWIG_IsOK(res1)) {
8316       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_minmax" "', argument " "1"" of type '" "gsl_matrix const *""'");
8317     }
8318     arg1 = (gsl_matrix *)(argp1);
8319     gsl_matrix_minmax((gsl_matrix const *)arg1,arg2,arg3);
8320     ST(argvi) = &PL_sv_undef;
8321     if (SWIG_IsTmpObj(res2)) {
8322       if (argvi >= items) EXTEND(sp, argvi+1);  ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((*arg2)); argvi++  ;
8323     } else {
8324       int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0) : 0;
8325       if (argvi >= items) EXTEND(sp, argvi+1);  ST(argvi) = SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, new_flags); argvi++  ;
8326     }
8327     if (SWIG_IsTmpObj(res3)) {
8328       if (argvi >= items) EXTEND(sp, argvi+1);  ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((*arg3)); argvi++  ;
8329     } else {
8330       int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0) : 0;
8331       if (argvi >= items) EXTEND(sp, argvi+1);  ST(argvi) = SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, new_flags); argvi++  ;
8332     }
8333 
8334 
8335 
8336     XSRETURN(argvi);
8337   fail:
8338 
8339 
8340 
8341     SWIG_croak_null();
8342   }
8343 }
8344 
8345 
XS(_wrap_gsl_matrix_max_index)8346 XS(_wrap_gsl_matrix_max_index) {
8347   {
8348     gsl_matrix *arg1 = (gsl_matrix *) 0 ;
8349     size_t *arg2 = (size_t *) 0 ;
8350     size_t *arg3 = (size_t *) 0 ;
8351     void *argp1 = 0 ;
8352     int res1 = 0 ;
8353     size_t temp2 ;
8354     int res2 = SWIG_TMPOBJ ;
8355     size_t temp3 ;
8356     int res3 = SWIG_TMPOBJ ;
8357     int argvi = 0;
8358     dXSARGS;
8359 
8360     arg2 = &temp2;
8361     arg3 = &temp3;
8362     if ((items < 1) || (items > 1)) {
8363       SWIG_croak("Usage: gsl_matrix_max_index(m);");
8364     }
8365     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix, 0 |  0 );
8366     if (!SWIG_IsOK(res1)) {
8367       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_max_index" "', argument " "1"" of type '" "gsl_matrix const *""'");
8368     }
8369     arg1 = (gsl_matrix *)(argp1);
8370     gsl_matrix_max_index((gsl_matrix const *)arg1,arg2,arg3);
8371     ST(argvi) = &PL_sv_undef;
8372     if (SWIG_IsTmpObj(res2)) {
8373       if (argvi >= items) EXTEND(sp, argvi+1);  ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((*arg2)); argvi++  ;
8374     } else {
8375       int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0) : 0;
8376       if (argvi >= items) EXTEND(sp, argvi+1);  ST(argvi) = SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_size_t, new_flags); argvi++  ;
8377     }
8378     if (SWIG_IsTmpObj(res3)) {
8379       if (argvi >= items) EXTEND(sp, argvi+1);  ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((*arg3)); argvi++  ;
8380     } else {
8381       int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0) : 0;
8382       if (argvi >= items) EXTEND(sp, argvi+1);  ST(argvi) = SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_size_t, new_flags); argvi++  ;
8383     }
8384 
8385 
8386 
8387     XSRETURN(argvi);
8388   fail:
8389 
8390 
8391 
8392     SWIG_croak_null();
8393   }
8394 }
8395 
8396 
XS(_wrap_gsl_matrix_min_index)8397 XS(_wrap_gsl_matrix_min_index) {
8398   {
8399     gsl_matrix *arg1 = (gsl_matrix *) 0 ;
8400     size_t *arg2 = (size_t *) 0 ;
8401     size_t *arg3 = (size_t *) 0 ;
8402     void *argp1 = 0 ;
8403     int res1 = 0 ;
8404     size_t temp2 ;
8405     int res2 = SWIG_TMPOBJ ;
8406     size_t temp3 ;
8407     int res3 = SWIG_TMPOBJ ;
8408     int argvi = 0;
8409     dXSARGS;
8410 
8411     arg2 = &temp2;
8412     arg3 = &temp3;
8413     if ((items < 1) || (items > 1)) {
8414       SWIG_croak("Usage: gsl_matrix_min_index(m);");
8415     }
8416     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix, 0 |  0 );
8417     if (!SWIG_IsOK(res1)) {
8418       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_min_index" "', argument " "1"" of type '" "gsl_matrix const *""'");
8419     }
8420     arg1 = (gsl_matrix *)(argp1);
8421     gsl_matrix_min_index((gsl_matrix const *)arg1,arg2,arg3);
8422     ST(argvi) = &PL_sv_undef;
8423     if (SWIG_IsTmpObj(res2)) {
8424       if (argvi >= items) EXTEND(sp, argvi+1);  ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((*arg2)); argvi++  ;
8425     } else {
8426       int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0) : 0;
8427       if (argvi >= items) EXTEND(sp, argvi+1);  ST(argvi) = SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_size_t, new_flags); argvi++  ;
8428     }
8429     if (SWIG_IsTmpObj(res3)) {
8430       if (argvi >= items) EXTEND(sp, argvi+1);  ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((*arg3)); argvi++  ;
8431     } else {
8432       int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0) : 0;
8433       if (argvi >= items) EXTEND(sp, argvi+1);  ST(argvi) = SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_size_t, new_flags); argvi++  ;
8434     }
8435 
8436 
8437 
8438     XSRETURN(argvi);
8439   fail:
8440 
8441 
8442 
8443     SWIG_croak_null();
8444   }
8445 }
8446 
8447 
XS(_wrap_gsl_matrix_minmax_index)8448 XS(_wrap_gsl_matrix_minmax_index) {
8449   {
8450     gsl_matrix *arg1 = (gsl_matrix *) 0 ;
8451     size_t *arg2 = (size_t *) 0 ;
8452     size_t *arg3 = (size_t *) 0 ;
8453     size_t *arg4 = (size_t *) 0 ;
8454     size_t *arg5 = (size_t *) 0 ;
8455     void *argp1 = 0 ;
8456     int res1 = 0 ;
8457     size_t temp2 ;
8458     int res2 = SWIG_TMPOBJ ;
8459     size_t temp3 ;
8460     int res3 = SWIG_TMPOBJ ;
8461     size_t temp4 ;
8462     int res4 = SWIG_TMPOBJ ;
8463     size_t temp5 ;
8464     int res5 = SWIG_TMPOBJ ;
8465     int argvi = 0;
8466     dXSARGS;
8467 
8468     arg2 = &temp2;
8469     arg3 = &temp3;
8470     arg4 = &temp4;
8471     arg5 = &temp5;
8472     if ((items < 1) || (items > 1)) {
8473       SWIG_croak("Usage: gsl_matrix_minmax_index(m);");
8474     }
8475     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix, 0 |  0 );
8476     if (!SWIG_IsOK(res1)) {
8477       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_minmax_index" "', argument " "1"" of type '" "gsl_matrix const *""'");
8478     }
8479     arg1 = (gsl_matrix *)(argp1);
8480     gsl_matrix_minmax_index((gsl_matrix const *)arg1,arg2,arg3,arg4,arg5);
8481     ST(argvi) = &PL_sv_undef;
8482     if (SWIG_IsTmpObj(res2)) {
8483       if (argvi >= items) EXTEND(sp, argvi+1);  ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((*arg2)); argvi++  ;
8484     } else {
8485       int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0) : 0;
8486       if (argvi >= items) EXTEND(sp, argvi+1);  ST(argvi) = SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_size_t, new_flags); argvi++  ;
8487     }
8488     if (SWIG_IsTmpObj(res3)) {
8489       if (argvi >= items) EXTEND(sp, argvi+1);  ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((*arg3)); argvi++  ;
8490     } else {
8491       int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0) : 0;
8492       if (argvi >= items) EXTEND(sp, argvi+1);  ST(argvi) = SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_size_t, new_flags); argvi++  ;
8493     }
8494     if (SWIG_IsTmpObj(res4)) {
8495       if (argvi >= items) EXTEND(sp, argvi+1);  ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((*arg4)); argvi++  ;
8496     } else {
8497       int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0) : 0;
8498       if (argvi >= items) EXTEND(sp, argvi+1);  ST(argvi) = SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_size_t, new_flags); argvi++  ;
8499     }
8500     if (SWIG_IsTmpObj(res5)) {
8501       if (argvi >= items) EXTEND(sp, argvi+1);  ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((*arg5)); argvi++  ;
8502     } else {
8503       int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0) : 0;
8504       if (argvi >= items) EXTEND(sp, argvi+1);  ST(argvi) = SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_size_t, new_flags); argvi++  ;
8505     }
8506 
8507 
8508 
8509 
8510 
8511     XSRETURN(argvi);
8512   fail:
8513 
8514 
8515 
8516 
8517 
8518     SWIG_croak_null();
8519   }
8520 }
8521 
8522 
XS(_wrap_gsl_matrix_equal)8523 XS(_wrap_gsl_matrix_equal) {
8524   {
8525     gsl_matrix *arg1 = (gsl_matrix *) 0 ;
8526     gsl_matrix *arg2 = (gsl_matrix *) 0 ;
8527     void *argp1 = 0 ;
8528     int res1 = 0 ;
8529     void *argp2 = 0 ;
8530     int res2 = 0 ;
8531     int argvi = 0;
8532     int result;
8533     dXSARGS;
8534 
8535     if ((items < 2) || (items > 2)) {
8536       SWIG_croak("Usage: gsl_matrix_equal(a,b);");
8537     }
8538     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix, 0 |  0 );
8539     if (!SWIG_IsOK(res1)) {
8540       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_equal" "', argument " "1"" of type '" "gsl_matrix const *""'");
8541     }
8542     arg1 = (gsl_matrix *)(argp1);
8543     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix, 0 |  0 );
8544     if (!SWIG_IsOK(res2)) {
8545       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_equal" "', argument " "2"" of type '" "gsl_matrix const *""'");
8546     }
8547     arg2 = (gsl_matrix *)(argp2);
8548     result = (int)gsl_matrix_equal((gsl_matrix const *)arg1,(gsl_matrix const *)arg2);
8549     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
8550 
8551 
8552     XSRETURN(argvi);
8553   fail:
8554 
8555 
8556     SWIG_croak_null();
8557   }
8558 }
8559 
8560 
XS(_wrap_gsl_matrix_isnull)8561 XS(_wrap_gsl_matrix_isnull) {
8562   {
8563     gsl_matrix *arg1 = (gsl_matrix *) 0 ;
8564     void *argp1 = 0 ;
8565     int res1 = 0 ;
8566     int argvi = 0;
8567     int result;
8568     dXSARGS;
8569 
8570     if ((items < 1) || (items > 1)) {
8571       SWIG_croak("Usage: gsl_matrix_isnull(m);");
8572     }
8573     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix, 0 |  0 );
8574     if (!SWIG_IsOK(res1)) {
8575       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_isnull" "', argument " "1"" of type '" "gsl_matrix const *""'");
8576     }
8577     arg1 = (gsl_matrix *)(argp1);
8578     result = (int)gsl_matrix_isnull((gsl_matrix const *)arg1);
8579     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
8580 
8581     XSRETURN(argvi);
8582   fail:
8583 
8584     SWIG_croak_null();
8585   }
8586 }
8587 
8588 
XS(_wrap_gsl_matrix_ispos)8589 XS(_wrap_gsl_matrix_ispos) {
8590   {
8591     gsl_matrix *arg1 = (gsl_matrix *) 0 ;
8592     void *argp1 = 0 ;
8593     int res1 = 0 ;
8594     int argvi = 0;
8595     int result;
8596     dXSARGS;
8597 
8598     if ((items < 1) || (items > 1)) {
8599       SWIG_croak("Usage: gsl_matrix_ispos(m);");
8600     }
8601     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix, 0 |  0 );
8602     if (!SWIG_IsOK(res1)) {
8603       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_ispos" "', argument " "1"" of type '" "gsl_matrix const *""'");
8604     }
8605     arg1 = (gsl_matrix *)(argp1);
8606     result = (int)gsl_matrix_ispos((gsl_matrix const *)arg1);
8607     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
8608 
8609     XSRETURN(argvi);
8610   fail:
8611 
8612     SWIG_croak_null();
8613   }
8614 }
8615 
8616 
XS(_wrap_gsl_matrix_isneg)8617 XS(_wrap_gsl_matrix_isneg) {
8618   {
8619     gsl_matrix *arg1 = (gsl_matrix *) 0 ;
8620     void *argp1 = 0 ;
8621     int res1 = 0 ;
8622     int argvi = 0;
8623     int result;
8624     dXSARGS;
8625 
8626     if ((items < 1) || (items > 1)) {
8627       SWIG_croak("Usage: gsl_matrix_isneg(m);");
8628     }
8629     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix, 0 |  0 );
8630     if (!SWIG_IsOK(res1)) {
8631       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_isneg" "', argument " "1"" of type '" "gsl_matrix const *""'");
8632     }
8633     arg1 = (gsl_matrix *)(argp1);
8634     result = (int)gsl_matrix_isneg((gsl_matrix const *)arg1);
8635     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
8636 
8637     XSRETURN(argvi);
8638   fail:
8639 
8640     SWIG_croak_null();
8641   }
8642 }
8643 
8644 
XS(_wrap_gsl_matrix_isnonneg)8645 XS(_wrap_gsl_matrix_isnonneg) {
8646   {
8647     gsl_matrix *arg1 = (gsl_matrix *) 0 ;
8648     void *argp1 = 0 ;
8649     int res1 = 0 ;
8650     int argvi = 0;
8651     int result;
8652     dXSARGS;
8653 
8654     if ((items < 1) || (items > 1)) {
8655       SWIG_croak("Usage: gsl_matrix_isnonneg(m);");
8656     }
8657     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix, 0 |  0 );
8658     if (!SWIG_IsOK(res1)) {
8659       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_isnonneg" "', argument " "1"" of type '" "gsl_matrix const *""'");
8660     }
8661     arg1 = (gsl_matrix *)(argp1);
8662     result = (int)gsl_matrix_isnonneg((gsl_matrix const *)arg1);
8663     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
8664 
8665     XSRETURN(argvi);
8666   fail:
8667 
8668     SWIG_croak_null();
8669   }
8670 }
8671 
8672 
XS(_wrap_gsl_matrix_add)8673 XS(_wrap_gsl_matrix_add) {
8674   {
8675     gsl_matrix *arg1 = (gsl_matrix *) 0 ;
8676     gsl_matrix *arg2 = (gsl_matrix *) 0 ;
8677     void *argp1 = 0 ;
8678     int res1 = 0 ;
8679     void *argp2 = 0 ;
8680     int res2 = 0 ;
8681     int argvi = 0;
8682     int result;
8683     dXSARGS;
8684 
8685     if ((items < 2) || (items > 2)) {
8686       SWIG_croak("Usage: gsl_matrix_add(a,b);");
8687     }
8688     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix, 0 |  0 );
8689     if (!SWIG_IsOK(res1)) {
8690       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_add" "', argument " "1"" of type '" "gsl_matrix *""'");
8691     }
8692     arg1 = (gsl_matrix *)(argp1);
8693     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix, 0 |  0 );
8694     if (!SWIG_IsOK(res2)) {
8695       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_add" "', argument " "2"" of type '" "gsl_matrix const *""'");
8696     }
8697     arg2 = (gsl_matrix *)(argp2);
8698     result = (int)gsl_matrix_add(arg1,(gsl_matrix const *)arg2);
8699     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
8700 
8701 
8702     XSRETURN(argvi);
8703   fail:
8704 
8705 
8706     SWIG_croak_null();
8707   }
8708 }
8709 
8710 
XS(_wrap_gsl_matrix_sub)8711 XS(_wrap_gsl_matrix_sub) {
8712   {
8713     gsl_matrix *arg1 = (gsl_matrix *) 0 ;
8714     gsl_matrix *arg2 = (gsl_matrix *) 0 ;
8715     void *argp1 = 0 ;
8716     int res1 = 0 ;
8717     void *argp2 = 0 ;
8718     int res2 = 0 ;
8719     int argvi = 0;
8720     int result;
8721     dXSARGS;
8722 
8723     if ((items < 2) || (items > 2)) {
8724       SWIG_croak("Usage: gsl_matrix_sub(a,b);");
8725     }
8726     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix, 0 |  0 );
8727     if (!SWIG_IsOK(res1)) {
8728       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_sub" "', argument " "1"" of type '" "gsl_matrix *""'");
8729     }
8730     arg1 = (gsl_matrix *)(argp1);
8731     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix, 0 |  0 );
8732     if (!SWIG_IsOK(res2)) {
8733       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_sub" "', argument " "2"" of type '" "gsl_matrix const *""'");
8734     }
8735     arg2 = (gsl_matrix *)(argp2);
8736     result = (int)gsl_matrix_sub(arg1,(gsl_matrix const *)arg2);
8737     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
8738 
8739 
8740     XSRETURN(argvi);
8741   fail:
8742 
8743 
8744     SWIG_croak_null();
8745   }
8746 }
8747 
8748 
XS(_wrap_gsl_matrix_mul_elements)8749 XS(_wrap_gsl_matrix_mul_elements) {
8750   {
8751     gsl_matrix *arg1 = (gsl_matrix *) 0 ;
8752     gsl_matrix *arg2 = (gsl_matrix *) 0 ;
8753     void *argp1 = 0 ;
8754     int res1 = 0 ;
8755     void *argp2 = 0 ;
8756     int res2 = 0 ;
8757     int argvi = 0;
8758     int result;
8759     dXSARGS;
8760 
8761     if ((items < 2) || (items > 2)) {
8762       SWIG_croak("Usage: gsl_matrix_mul_elements(a,b);");
8763     }
8764     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix, 0 |  0 );
8765     if (!SWIG_IsOK(res1)) {
8766       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_mul_elements" "', argument " "1"" of type '" "gsl_matrix *""'");
8767     }
8768     arg1 = (gsl_matrix *)(argp1);
8769     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix, 0 |  0 );
8770     if (!SWIG_IsOK(res2)) {
8771       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_mul_elements" "', argument " "2"" of type '" "gsl_matrix const *""'");
8772     }
8773     arg2 = (gsl_matrix *)(argp2);
8774     result = (int)gsl_matrix_mul_elements(arg1,(gsl_matrix const *)arg2);
8775     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
8776 
8777 
8778     XSRETURN(argvi);
8779   fail:
8780 
8781 
8782     SWIG_croak_null();
8783   }
8784 }
8785 
8786 
XS(_wrap_gsl_matrix_div_elements)8787 XS(_wrap_gsl_matrix_div_elements) {
8788   {
8789     gsl_matrix *arg1 = (gsl_matrix *) 0 ;
8790     gsl_matrix *arg2 = (gsl_matrix *) 0 ;
8791     void *argp1 = 0 ;
8792     int res1 = 0 ;
8793     void *argp2 = 0 ;
8794     int res2 = 0 ;
8795     int argvi = 0;
8796     int result;
8797     dXSARGS;
8798 
8799     if ((items < 2) || (items > 2)) {
8800       SWIG_croak("Usage: gsl_matrix_div_elements(a,b);");
8801     }
8802     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix, 0 |  0 );
8803     if (!SWIG_IsOK(res1)) {
8804       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_div_elements" "', argument " "1"" of type '" "gsl_matrix *""'");
8805     }
8806     arg1 = (gsl_matrix *)(argp1);
8807     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix, 0 |  0 );
8808     if (!SWIG_IsOK(res2)) {
8809       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_div_elements" "', argument " "2"" of type '" "gsl_matrix const *""'");
8810     }
8811     arg2 = (gsl_matrix *)(argp2);
8812     result = (int)gsl_matrix_div_elements(arg1,(gsl_matrix const *)arg2);
8813     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
8814 
8815 
8816     XSRETURN(argvi);
8817   fail:
8818 
8819 
8820     SWIG_croak_null();
8821   }
8822 }
8823 
8824 
XS(_wrap_gsl_matrix_scale)8825 XS(_wrap_gsl_matrix_scale) {
8826   {
8827     gsl_matrix *arg1 = (gsl_matrix *) 0 ;
8828     double arg2 ;
8829     void *argp1 = 0 ;
8830     int res1 = 0 ;
8831     double val2 ;
8832     int ecode2 = 0 ;
8833     int argvi = 0;
8834     int result;
8835     dXSARGS;
8836 
8837     if ((items < 2) || (items > 2)) {
8838       SWIG_croak("Usage: gsl_matrix_scale(a,x);");
8839     }
8840     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix, 0 |  0 );
8841     if (!SWIG_IsOK(res1)) {
8842       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_scale" "', argument " "1"" of type '" "gsl_matrix *""'");
8843     }
8844     arg1 = (gsl_matrix *)(argp1);
8845     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
8846     if (!SWIG_IsOK(ecode2)) {
8847       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_scale" "', argument " "2"" of type '" "double""'");
8848     }
8849     arg2 = (double)(val2);
8850     result = (int)gsl_matrix_scale(arg1,arg2);
8851     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
8852 
8853 
8854     XSRETURN(argvi);
8855   fail:
8856 
8857 
8858     SWIG_croak_null();
8859   }
8860 }
8861 
8862 
XS(_wrap_gsl_matrix_add_constant)8863 XS(_wrap_gsl_matrix_add_constant) {
8864   {
8865     gsl_matrix *arg1 = (gsl_matrix *) 0 ;
8866     double arg2 ;
8867     void *argp1 = 0 ;
8868     int res1 = 0 ;
8869     double val2 ;
8870     int ecode2 = 0 ;
8871     int argvi = 0;
8872     int result;
8873     dXSARGS;
8874 
8875     if ((items < 2) || (items > 2)) {
8876       SWIG_croak("Usage: gsl_matrix_add_constant(a,x);");
8877     }
8878     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix, 0 |  0 );
8879     if (!SWIG_IsOK(res1)) {
8880       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_add_constant" "', argument " "1"" of type '" "gsl_matrix *""'");
8881     }
8882     arg1 = (gsl_matrix *)(argp1);
8883     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
8884     if (!SWIG_IsOK(ecode2)) {
8885       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_add_constant" "', argument " "2"" of type '" "double""'");
8886     }
8887     arg2 = (double)(val2);
8888     result = (int)gsl_matrix_add_constant(arg1,arg2);
8889     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
8890 
8891 
8892     XSRETURN(argvi);
8893   fail:
8894 
8895 
8896     SWIG_croak_null();
8897   }
8898 }
8899 
8900 
XS(_wrap_gsl_matrix_add_diagonal)8901 XS(_wrap_gsl_matrix_add_diagonal) {
8902   {
8903     gsl_matrix *arg1 = (gsl_matrix *) 0 ;
8904     double arg2 ;
8905     void *argp1 = 0 ;
8906     int res1 = 0 ;
8907     double val2 ;
8908     int ecode2 = 0 ;
8909     int argvi = 0;
8910     int result;
8911     dXSARGS;
8912 
8913     if ((items < 2) || (items > 2)) {
8914       SWIG_croak("Usage: gsl_matrix_add_diagonal(a,x);");
8915     }
8916     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix, 0 |  0 );
8917     if (!SWIG_IsOK(res1)) {
8918       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_add_diagonal" "', argument " "1"" of type '" "gsl_matrix *""'");
8919     }
8920     arg1 = (gsl_matrix *)(argp1);
8921     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
8922     if (!SWIG_IsOK(ecode2)) {
8923       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_add_diagonal" "', argument " "2"" of type '" "double""'");
8924     }
8925     arg2 = (double)(val2);
8926     result = (int)gsl_matrix_add_diagonal(arg1,arg2);
8927     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
8928 
8929 
8930     XSRETURN(argvi);
8931   fail:
8932 
8933 
8934     SWIG_croak_null();
8935   }
8936 }
8937 
8938 
XS(_wrap_gsl_matrix_get_row)8939 XS(_wrap_gsl_matrix_get_row) {
8940   {
8941     gsl_vector *arg1 = (gsl_vector *) 0 ;
8942     gsl_matrix *arg2 = (gsl_matrix *) 0 ;
8943     size_t arg3 ;
8944     void *argp1 = 0 ;
8945     int res1 = 0 ;
8946     void *argp2 = 0 ;
8947     int res2 = 0 ;
8948     size_t val3 ;
8949     int ecode3 = 0 ;
8950     int argvi = 0;
8951     int result;
8952     dXSARGS;
8953 
8954     if ((items < 3) || (items > 3)) {
8955       SWIG_croak("Usage: gsl_matrix_get_row(v,m,i);");
8956     }
8957     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 |  0 );
8958     if (!SWIG_IsOK(res1)) {
8959       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_get_row" "', argument " "1"" of type '" "gsl_vector *""'");
8960     }
8961     arg1 = (gsl_vector *)(argp1);
8962     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix, 0 |  0 );
8963     if (!SWIG_IsOK(res2)) {
8964       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_get_row" "', argument " "2"" of type '" "gsl_matrix const *""'");
8965     }
8966     arg2 = (gsl_matrix *)(argp2);
8967     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
8968     if (!SWIG_IsOK(ecode3)) {
8969       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_get_row" "', argument " "3"" of type '" "size_t""'");
8970     }
8971     arg3 = (size_t)(val3);
8972     result = (int)gsl_matrix_get_row(arg1,(gsl_matrix const *)arg2,arg3);
8973     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
8974 
8975 
8976 
8977     XSRETURN(argvi);
8978   fail:
8979 
8980 
8981 
8982     SWIG_croak_null();
8983   }
8984 }
8985 
8986 
XS(_wrap_gsl_matrix_get_col)8987 XS(_wrap_gsl_matrix_get_col) {
8988   {
8989     gsl_vector *arg1 = (gsl_vector *) 0 ;
8990     gsl_matrix *arg2 = (gsl_matrix *) 0 ;
8991     size_t arg3 ;
8992     void *argp1 = 0 ;
8993     int res1 = 0 ;
8994     void *argp2 = 0 ;
8995     int res2 = 0 ;
8996     size_t val3 ;
8997     int ecode3 = 0 ;
8998     int argvi = 0;
8999     int result;
9000     dXSARGS;
9001 
9002     if ((items < 3) || (items > 3)) {
9003       SWIG_croak("Usage: gsl_matrix_get_col(v,m,j);");
9004     }
9005     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 |  0 );
9006     if (!SWIG_IsOK(res1)) {
9007       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_get_col" "', argument " "1"" of type '" "gsl_vector *""'");
9008     }
9009     arg1 = (gsl_vector *)(argp1);
9010     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix, 0 |  0 );
9011     if (!SWIG_IsOK(res2)) {
9012       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_get_col" "', argument " "2"" of type '" "gsl_matrix const *""'");
9013     }
9014     arg2 = (gsl_matrix *)(argp2);
9015     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
9016     if (!SWIG_IsOK(ecode3)) {
9017       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_get_col" "', argument " "3"" of type '" "size_t""'");
9018     }
9019     arg3 = (size_t)(val3);
9020     result = (int)gsl_matrix_get_col(arg1,(gsl_matrix const *)arg2,arg3);
9021     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
9022 
9023 
9024 
9025     XSRETURN(argvi);
9026   fail:
9027 
9028 
9029 
9030     SWIG_croak_null();
9031   }
9032 }
9033 
9034 
XS(_wrap_gsl_matrix_set_row)9035 XS(_wrap_gsl_matrix_set_row) {
9036   {
9037     gsl_matrix *arg1 = (gsl_matrix *) 0 ;
9038     size_t arg2 ;
9039     gsl_vector *arg3 = (gsl_vector *) 0 ;
9040     void *argp1 = 0 ;
9041     int res1 = 0 ;
9042     size_t val2 ;
9043     int ecode2 = 0 ;
9044     void *argp3 = 0 ;
9045     int res3 = 0 ;
9046     int argvi = 0;
9047     int result;
9048     dXSARGS;
9049 
9050     if ((items < 3) || (items > 3)) {
9051       SWIG_croak("Usage: gsl_matrix_set_row(m,i,v);");
9052     }
9053     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix, 0 |  0 );
9054     if (!SWIG_IsOK(res1)) {
9055       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_set_row" "', argument " "1"" of type '" "gsl_matrix *""'");
9056     }
9057     arg1 = (gsl_matrix *)(argp1);
9058     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
9059     if (!SWIG_IsOK(ecode2)) {
9060       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_set_row" "', argument " "2"" of type '" "size_t""'");
9061     }
9062     arg2 = (size_t)(val2);
9063     res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_gsl_vector, 0 |  0 );
9064     if (!SWIG_IsOK(res3)) {
9065       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_matrix_set_row" "', argument " "3"" of type '" "gsl_vector const *""'");
9066     }
9067     arg3 = (gsl_vector *)(argp3);
9068     result = (int)gsl_matrix_set_row(arg1,arg2,(gsl_vector const *)arg3);
9069     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
9070 
9071 
9072 
9073     XSRETURN(argvi);
9074   fail:
9075 
9076 
9077 
9078     SWIG_croak_null();
9079   }
9080 }
9081 
9082 
XS(_wrap_gsl_matrix_set_col)9083 XS(_wrap_gsl_matrix_set_col) {
9084   {
9085     gsl_matrix *arg1 = (gsl_matrix *) 0 ;
9086     size_t arg2 ;
9087     gsl_vector *arg3 = (gsl_vector *) 0 ;
9088     void *argp1 = 0 ;
9089     int res1 = 0 ;
9090     size_t val2 ;
9091     int ecode2 = 0 ;
9092     void *argp3 = 0 ;
9093     int res3 = 0 ;
9094     int argvi = 0;
9095     int result;
9096     dXSARGS;
9097 
9098     if ((items < 3) || (items > 3)) {
9099       SWIG_croak("Usage: gsl_matrix_set_col(m,j,v);");
9100     }
9101     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix, 0 |  0 );
9102     if (!SWIG_IsOK(res1)) {
9103       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_set_col" "', argument " "1"" of type '" "gsl_matrix *""'");
9104     }
9105     arg1 = (gsl_matrix *)(argp1);
9106     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
9107     if (!SWIG_IsOK(ecode2)) {
9108       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_set_col" "', argument " "2"" of type '" "size_t""'");
9109     }
9110     arg2 = (size_t)(val2);
9111     res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_gsl_vector, 0 |  0 );
9112     if (!SWIG_IsOK(res3)) {
9113       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_matrix_set_col" "', argument " "3"" of type '" "gsl_vector const *""'");
9114     }
9115     arg3 = (gsl_vector *)(argp3);
9116     result = (int)gsl_matrix_set_col(arg1,arg2,(gsl_vector const *)arg3);
9117     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
9118 
9119 
9120 
9121     XSRETURN(argvi);
9122   fail:
9123 
9124 
9125 
9126     SWIG_croak_null();
9127   }
9128 }
9129 
9130 
XS(_wrap_gsl_matrix_get)9131 XS(_wrap_gsl_matrix_get) {
9132   {
9133     gsl_matrix *arg1 = (gsl_matrix *) 0 ;
9134     size_t arg2 ;
9135     size_t arg3 ;
9136     void *argp1 = 0 ;
9137     int res1 = 0 ;
9138     size_t val2 ;
9139     int ecode2 = 0 ;
9140     size_t val3 ;
9141     int ecode3 = 0 ;
9142     int argvi = 0;
9143     double result;
9144     dXSARGS;
9145 
9146     if ((items < 3) || (items > 3)) {
9147       SWIG_croak("Usage: gsl_matrix_get(m,i,j);");
9148     }
9149     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix, 0 |  0 );
9150     if (!SWIG_IsOK(res1)) {
9151       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_get" "', argument " "1"" of type '" "gsl_matrix const *""'");
9152     }
9153     arg1 = (gsl_matrix *)(argp1);
9154     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
9155     if (!SWIG_IsOK(ecode2)) {
9156       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_get" "', argument " "2"" of type '" "size_t""'");
9157     }
9158     arg2 = (size_t)(val2);
9159     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
9160     if (!SWIG_IsOK(ecode3)) {
9161       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_get" "', argument " "3"" of type '" "size_t""'");
9162     }
9163     arg3 = (size_t)(val3);
9164     result = (double)gsl_matrix_get((gsl_matrix const *)arg1,arg2,arg3);
9165     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
9166 
9167 
9168 
9169     XSRETURN(argvi);
9170   fail:
9171 
9172 
9173 
9174     SWIG_croak_null();
9175   }
9176 }
9177 
9178 
XS(_wrap_gsl_matrix_set)9179 XS(_wrap_gsl_matrix_set) {
9180   {
9181     gsl_matrix *arg1 = (gsl_matrix *) 0 ;
9182     size_t arg2 ;
9183     size_t arg3 ;
9184     double arg4 ;
9185     void *argp1 = 0 ;
9186     int res1 = 0 ;
9187     size_t val2 ;
9188     int ecode2 = 0 ;
9189     size_t val3 ;
9190     int ecode3 = 0 ;
9191     double val4 ;
9192     int ecode4 = 0 ;
9193     int argvi = 0;
9194     dXSARGS;
9195 
9196     if ((items < 4) || (items > 4)) {
9197       SWIG_croak("Usage: gsl_matrix_set(m,i,j,x);");
9198     }
9199     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix, 0 |  0 );
9200     if (!SWIG_IsOK(res1)) {
9201       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_set" "', argument " "1"" of type '" "gsl_matrix *""'");
9202     }
9203     arg1 = (gsl_matrix *)(argp1);
9204     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
9205     if (!SWIG_IsOK(ecode2)) {
9206       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_set" "', argument " "2"" of type '" "size_t""'");
9207     }
9208     arg2 = (size_t)(val2);
9209     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
9210     if (!SWIG_IsOK(ecode3)) {
9211       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_set" "', argument " "3"" of type '" "size_t""'");
9212     }
9213     arg3 = (size_t)(val3);
9214     ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
9215     if (!SWIG_IsOK(ecode4)) {
9216       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_matrix_set" "', argument " "4"" of type '" "double""'");
9217     }
9218     arg4 = (double)(val4);
9219     gsl_matrix_set(arg1,arg2,arg3,arg4);
9220     ST(argvi) = &PL_sv_undef;
9221 
9222 
9223 
9224 
9225     XSRETURN(argvi);
9226   fail:
9227 
9228 
9229 
9230 
9231     SWIG_croak_null();
9232   }
9233 }
9234 
9235 
XS(_wrap_gsl_matrix_ptr)9236 XS(_wrap_gsl_matrix_ptr) {
9237   {
9238     gsl_matrix *arg1 = (gsl_matrix *) 0 ;
9239     size_t arg2 ;
9240     size_t arg3 ;
9241     void *argp1 = 0 ;
9242     int res1 = 0 ;
9243     size_t val2 ;
9244     int ecode2 = 0 ;
9245     size_t val3 ;
9246     int ecode3 = 0 ;
9247     int argvi = 0;
9248     double *result = 0 ;
9249     dXSARGS;
9250 
9251     if ((items < 3) || (items > 3)) {
9252       SWIG_croak("Usage: gsl_matrix_ptr(m,i,j);");
9253     }
9254     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix, 0 |  0 );
9255     if (!SWIG_IsOK(res1)) {
9256       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_ptr" "', argument " "1"" of type '" "gsl_matrix *""'");
9257     }
9258     arg1 = (gsl_matrix *)(argp1);
9259     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
9260     if (!SWIG_IsOK(ecode2)) {
9261       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_ptr" "', argument " "2"" of type '" "size_t""'");
9262     }
9263     arg2 = (size_t)(val2);
9264     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
9265     if (!SWIG_IsOK(ecode3)) {
9266       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_ptr" "', argument " "3"" of type '" "size_t""'");
9267     }
9268     arg3 = (size_t)(val3);
9269     result = (double *)gsl_matrix_ptr(arg1,arg2,arg3);
9270     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0); argvi++ ;
9271 
9272 
9273 
9274     XSRETURN(argvi);
9275   fail:
9276 
9277 
9278 
9279     SWIG_croak_null();
9280   }
9281 }
9282 
9283 
XS(_wrap_gsl_matrix_const_ptr)9284 XS(_wrap_gsl_matrix_const_ptr) {
9285   {
9286     gsl_matrix *arg1 = (gsl_matrix *) 0 ;
9287     size_t arg2 ;
9288     size_t arg3 ;
9289     void *argp1 = 0 ;
9290     int res1 = 0 ;
9291     size_t val2 ;
9292     int ecode2 = 0 ;
9293     size_t val3 ;
9294     int ecode3 = 0 ;
9295     int argvi = 0;
9296     double *result = 0 ;
9297     dXSARGS;
9298 
9299     if ((items < 3) || (items > 3)) {
9300       SWIG_croak("Usage: gsl_matrix_const_ptr(m,i,j);");
9301     }
9302     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix, 0 |  0 );
9303     if (!SWIG_IsOK(res1)) {
9304       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_const_ptr" "', argument " "1"" of type '" "gsl_matrix const *""'");
9305     }
9306     arg1 = (gsl_matrix *)(argp1);
9307     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
9308     if (!SWIG_IsOK(ecode2)) {
9309       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_const_ptr" "', argument " "2"" of type '" "size_t""'");
9310     }
9311     arg2 = (size_t)(val2);
9312     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
9313     if (!SWIG_IsOK(ecode3)) {
9314       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_const_ptr" "', argument " "3"" of type '" "size_t""'");
9315     }
9316     arg3 = (size_t)(val3);
9317     result = (double *)gsl_matrix_const_ptr((gsl_matrix const *)arg1,arg2,arg3);
9318     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0); argvi++ ;
9319 
9320 
9321 
9322     XSRETURN(argvi);
9323   fail:
9324 
9325 
9326 
9327     SWIG_croak_null();
9328   }
9329 }
9330 
9331 
XS(_wrap_gsl_matrix_int_size1_set)9332 XS(_wrap_gsl_matrix_int_size1_set) {
9333   {
9334     gsl_matrix_int *arg1 = (gsl_matrix_int *) 0 ;
9335     size_t arg2 ;
9336     void *argp1 = 0 ;
9337     int res1 = 0 ;
9338     size_t val2 ;
9339     int ecode2 = 0 ;
9340     int argvi = 0;
9341     dXSARGS;
9342 
9343     if ((items < 2) || (items > 2)) {
9344       SWIG_croak("Usage: gsl_matrix_int_size1_set(self,size1);");
9345     }
9346     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
9347     if (!SWIG_IsOK(res1)) {
9348       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_size1_set" "', argument " "1"" of type '" "gsl_matrix_int *""'");
9349     }
9350     arg1 = (gsl_matrix_int *)(argp1);
9351     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
9352     if (!SWIG_IsOK(ecode2)) {
9353       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_int_size1_set" "', argument " "2"" of type '" "size_t""'");
9354     }
9355     arg2 = (size_t)(val2);
9356     if (arg1) (arg1)->size1 = arg2;
9357     ST(argvi) = &PL_sv_undef;
9358 
9359 
9360     XSRETURN(argvi);
9361   fail:
9362 
9363 
9364     SWIG_croak_null();
9365   }
9366 }
9367 
9368 
XS(_wrap_gsl_matrix_int_size1_get)9369 XS(_wrap_gsl_matrix_int_size1_get) {
9370   {
9371     gsl_matrix_int *arg1 = (gsl_matrix_int *) 0 ;
9372     void *argp1 = 0 ;
9373     int res1 = 0 ;
9374     int argvi = 0;
9375     size_t result;
9376     dXSARGS;
9377 
9378     if ((items < 1) || (items > 1)) {
9379       SWIG_croak("Usage: gsl_matrix_int_size1_get(self);");
9380     }
9381     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
9382     if (!SWIG_IsOK(res1)) {
9383       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_size1_get" "', argument " "1"" of type '" "gsl_matrix_int *""'");
9384     }
9385     arg1 = (gsl_matrix_int *)(argp1);
9386     result =  ((arg1)->size1);
9387     ST(argvi) = SWIG_From_size_t  SWIG_PERL_CALL_ARGS_1((size_t)(result)); argvi++ ;
9388 
9389     XSRETURN(argvi);
9390   fail:
9391 
9392     SWIG_croak_null();
9393   }
9394 }
9395 
9396 
XS(_wrap_gsl_matrix_int_size2_set)9397 XS(_wrap_gsl_matrix_int_size2_set) {
9398   {
9399     gsl_matrix_int *arg1 = (gsl_matrix_int *) 0 ;
9400     size_t arg2 ;
9401     void *argp1 = 0 ;
9402     int res1 = 0 ;
9403     size_t val2 ;
9404     int ecode2 = 0 ;
9405     int argvi = 0;
9406     dXSARGS;
9407 
9408     if ((items < 2) || (items > 2)) {
9409       SWIG_croak("Usage: gsl_matrix_int_size2_set(self,size2);");
9410     }
9411     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
9412     if (!SWIG_IsOK(res1)) {
9413       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_size2_set" "', argument " "1"" of type '" "gsl_matrix_int *""'");
9414     }
9415     arg1 = (gsl_matrix_int *)(argp1);
9416     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
9417     if (!SWIG_IsOK(ecode2)) {
9418       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_int_size2_set" "', argument " "2"" of type '" "size_t""'");
9419     }
9420     arg2 = (size_t)(val2);
9421     if (arg1) (arg1)->size2 = arg2;
9422     ST(argvi) = &PL_sv_undef;
9423 
9424 
9425     XSRETURN(argvi);
9426   fail:
9427 
9428 
9429     SWIG_croak_null();
9430   }
9431 }
9432 
9433 
XS(_wrap_gsl_matrix_int_size2_get)9434 XS(_wrap_gsl_matrix_int_size2_get) {
9435   {
9436     gsl_matrix_int *arg1 = (gsl_matrix_int *) 0 ;
9437     void *argp1 = 0 ;
9438     int res1 = 0 ;
9439     int argvi = 0;
9440     size_t result;
9441     dXSARGS;
9442 
9443     if ((items < 1) || (items > 1)) {
9444       SWIG_croak("Usage: gsl_matrix_int_size2_get(self);");
9445     }
9446     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
9447     if (!SWIG_IsOK(res1)) {
9448       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_size2_get" "', argument " "1"" of type '" "gsl_matrix_int *""'");
9449     }
9450     arg1 = (gsl_matrix_int *)(argp1);
9451     result =  ((arg1)->size2);
9452     ST(argvi) = SWIG_From_size_t  SWIG_PERL_CALL_ARGS_1((size_t)(result)); argvi++ ;
9453 
9454     XSRETURN(argvi);
9455   fail:
9456 
9457     SWIG_croak_null();
9458   }
9459 }
9460 
9461 
XS(_wrap_gsl_matrix_int_tda_set)9462 XS(_wrap_gsl_matrix_int_tda_set) {
9463   {
9464     gsl_matrix_int *arg1 = (gsl_matrix_int *) 0 ;
9465     size_t arg2 ;
9466     void *argp1 = 0 ;
9467     int res1 = 0 ;
9468     size_t val2 ;
9469     int ecode2 = 0 ;
9470     int argvi = 0;
9471     dXSARGS;
9472 
9473     if ((items < 2) || (items > 2)) {
9474       SWIG_croak("Usage: gsl_matrix_int_tda_set(self,tda);");
9475     }
9476     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
9477     if (!SWIG_IsOK(res1)) {
9478       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_tda_set" "', argument " "1"" of type '" "gsl_matrix_int *""'");
9479     }
9480     arg1 = (gsl_matrix_int *)(argp1);
9481     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
9482     if (!SWIG_IsOK(ecode2)) {
9483       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_int_tda_set" "', argument " "2"" of type '" "size_t""'");
9484     }
9485     arg2 = (size_t)(val2);
9486     if (arg1) (arg1)->tda = arg2;
9487     ST(argvi) = &PL_sv_undef;
9488 
9489 
9490     XSRETURN(argvi);
9491   fail:
9492 
9493 
9494     SWIG_croak_null();
9495   }
9496 }
9497 
9498 
XS(_wrap_gsl_matrix_int_tda_get)9499 XS(_wrap_gsl_matrix_int_tda_get) {
9500   {
9501     gsl_matrix_int *arg1 = (gsl_matrix_int *) 0 ;
9502     void *argp1 = 0 ;
9503     int res1 = 0 ;
9504     int argvi = 0;
9505     size_t result;
9506     dXSARGS;
9507 
9508     if ((items < 1) || (items > 1)) {
9509       SWIG_croak("Usage: gsl_matrix_int_tda_get(self);");
9510     }
9511     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
9512     if (!SWIG_IsOK(res1)) {
9513       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_tda_get" "', argument " "1"" of type '" "gsl_matrix_int *""'");
9514     }
9515     arg1 = (gsl_matrix_int *)(argp1);
9516     result =  ((arg1)->tda);
9517     ST(argvi) = SWIG_From_size_t  SWIG_PERL_CALL_ARGS_1((size_t)(result)); argvi++ ;
9518 
9519     XSRETURN(argvi);
9520   fail:
9521 
9522     SWIG_croak_null();
9523   }
9524 }
9525 
9526 
XS(_wrap_gsl_matrix_int_data_set)9527 XS(_wrap_gsl_matrix_int_data_set) {
9528   {
9529     gsl_matrix_int *arg1 = (gsl_matrix_int *) 0 ;
9530     int *arg2 = (int *) 0 ;
9531     void *argp1 = 0 ;
9532     int res1 = 0 ;
9533     void *argp2 = 0 ;
9534     int res2 = 0 ;
9535     int argvi = 0;
9536     dXSARGS;
9537 
9538     if ((items < 2) || (items > 2)) {
9539       SWIG_croak("Usage: gsl_matrix_int_data_set(self,data);");
9540     }
9541     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
9542     if (!SWIG_IsOK(res1)) {
9543       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_data_set" "', argument " "1"" of type '" "gsl_matrix_int *""'");
9544     }
9545     arg1 = (gsl_matrix_int *)(argp1);
9546     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_int, SWIG_POINTER_DISOWN |  0 );
9547     if (!SWIG_IsOK(res2)) {
9548       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_int_data_set" "', argument " "2"" of type '" "int *""'");
9549     }
9550     arg2 = (int *)(argp2);
9551     if (arg1) (arg1)->data = arg2;
9552     ST(argvi) = &PL_sv_undef;
9553 
9554 
9555     XSRETURN(argvi);
9556   fail:
9557 
9558 
9559     SWIG_croak_null();
9560   }
9561 }
9562 
9563 
XS(_wrap_gsl_matrix_int_data_get)9564 XS(_wrap_gsl_matrix_int_data_get) {
9565   {
9566     gsl_matrix_int *arg1 = (gsl_matrix_int *) 0 ;
9567     void *argp1 = 0 ;
9568     int res1 = 0 ;
9569     int argvi = 0;
9570     int *result = 0 ;
9571     dXSARGS;
9572 
9573     if ((items < 1) || (items > 1)) {
9574       SWIG_croak("Usage: gsl_matrix_int_data_get(self);");
9575     }
9576     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
9577     if (!SWIG_IsOK(res1)) {
9578       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_data_get" "', argument " "1"" of type '" "gsl_matrix_int *""'");
9579     }
9580     arg1 = (gsl_matrix_int *)(argp1);
9581     result = (int *) ((arg1)->data);
9582     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0); argvi++ ;
9583 
9584     XSRETURN(argvi);
9585   fail:
9586 
9587     SWIG_croak_null();
9588   }
9589 }
9590 
9591 
XS(_wrap_gsl_matrix_int_block_set)9592 XS(_wrap_gsl_matrix_int_block_set) {
9593   {
9594     gsl_matrix_int *arg1 = (gsl_matrix_int *) 0 ;
9595     gsl_block_int *arg2 = (gsl_block_int *) 0 ;
9596     void *argp1 = 0 ;
9597     int res1 = 0 ;
9598     void *argp2 = 0 ;
9599     int res2 = 0 ;
9600     int argvi = 0;
9601     dXSARGS;
9602 
9603     if ((items < 2) || (items > 2)) {
9604       SWIG_croak("Usage: gsl_matrix_int_block_set(self,block);");
9605     }
9606     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
9607     if (!SWIG_IsOK(res1)) {
9608       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_block_set" "', argument " "1"" of type '" "gsl_matrix_int *""'");
9609     }
9610     arg1 = (gsl_matrix_int *)(argp1);
9611     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_block_int, SWIG_POINTER_DISOWN |  0 );
9612     if (!SWIG_IsOK(res2)) {
9613       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_int_block_set" "', argument " "2"" of type '" "gsl_block_int *""'");
9614     }
9615     arg2 = (gsl_block_int *)(argp2);
9616     if (arg1) (arg1)->block = arg2;
9617     ST(argvi) = &PL_sv_undef;
9618 
9619 
9620     XSRETURN(argvi);
9621   fail:
9622 
9623 
9624     SWIG_croak_null();
9625   }
9626 }
9627 
9628 
XS(_wrap_gsl_matrix_int_block_get)9629 XS(_wrap_gsl_matrix_int_block_get) {
9630   {
9631     gsl_matrix_int *arg1 = (gsl_matrix_int *) 0 ;
9632     void *argp1 = 0 ;
9633     int res1 = 0 ;
9634     int argvi = 0;
9635     gsl_block_int *result = 0 ;
9636     dXSARGS;
9637 
9638     if ((items < 1) || (items > 1)) {
9639       SWIG_croak("Usage: gsl_matrix_int_block_get(self);");
9640     }
9641     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
9642     if (!SWIG_IsOK(res1)) {
9643       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_block_get" "', argument " "1"" of type '" "gsl_matrix_int *""'");
9644     }
9645     arg1 = (gsl_matrix_int *)(argp1);
9646     result = (gsl_block_int *) ((arg1)->block);
9647     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_block_int, 0 | 0); argvi++ ;
9648 
9649     XSRETURN(argvi);
9650   fail:
9651 
9652     SWIG_croak_null();
9653   }
9654 }
9655 
9656 
XS(_wrap_gsl_matrix_int_owner_set)9657 XS(_wrap_gsl_matrix_int_owner_set) {
9658   {
9659     gsl_matrix_int *arg1 = (gsl_matrix_int *) 0 ;
9660     int arg2 ;
9661     void *argp1 = 0 ;
9662     int res1 = 0 ;
9663     int val2 ;
9664     int ecode2 = 0 ;
9665     int argvi = 0;
9666     dXSARGS;
9667 
9668     if ((items < 2) || (items > 2)) {
9669       SWIG_croak("Usage: gsl_matrix_int_owner_set(self,owner);");
9670     }
9671     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
9672     if (!SWIG_IsOK(res1)) {
9673       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_owner_set" "', argument " "1"" of type '" "gsl_matrix_int *""'");
9674     }
9675     arg1 = (gsl_matrix_int *)(argp1);
9676     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
9677     if (!SWIG_IsOK(ecode2)) {
9678       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_int_owner_set" "', argument " "2"" of type '" "int""'");
9679     }
9680     arg2 = (int)(val2);
9681     if (arg1) (arg1)->owner = arg2;
9682     ST(argvi) = &PL_sv_undef;
9683 
9684 
9685     XSRETURN(argvi);
9686   fail:
9687 
9688 
9689     SWIG_croak_null();
9690   }
9691 }
9692 
9693 
XS(_wrap_gsl_matrix_int_owner_get)9694 XS(_wrap_gsl_matrix_int_owner_get) {
9695   {
9696     gsl_matrix_int *arg1 = (gsl_matrix_int *) 0 ;
9697     void *argp1 = 0 ;
9698     int res1 = 0 ;
9699     int argvi = 0;
9700     int result;
9701     dXSARGS;
9702 
9703     if ((items < 1) || (items > 1)) {
9704       SWIG_croak("Usage: gsl_matrix_int_owner_get(self);");
9705     }
9706     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
9707     if (!SWIG_IsOK(res1)) {
9708       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_owner_get" "', argument " "1"" of type '" "gsl_matrix_int *""'");
9709     }
9710     arg1 = (gsl_matrix_int *)(argp1);
9711     result = (int) ((arg1)->owner);
9712     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
9713 
9714     XSRETURN(argvi);
9715   fail:
9716 
9717     SWIG_croak_null();
9718   }
9719 }
9720 
9721 
XS(_wrap_new_gsl_matrix_int)9722 XS(_wrap_new_gsl_matrix_int) {
9723   {
9724     int argvi = 0;
9725     gsl_matrix_int *result = 0 ;
9726     dXSARGS;
9727 
9728     if ((items < 0) || (items > 0)) {
9729       SWIG_croak("Usage: new_gsl_matrix_int();");
9730     }
9731     result = (gsl_matrix_int *)calloc(1, sizeof(gsl_matrix_int));
9732     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_matrix_int, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
9733     XSRETURN(argvi);
9734   fail:
9735     SWIG_croak_null();
9736   }
9737 }
9738 
9739 
XS(_wrap_delete_gsl_matrix_int)9740 XS(_wrap_delete_gsl_matrix_int) {
9741   {
9742     gsl_matrix_int *arg1 = (gsl_matrix_int *) 0 ;
9743     void *argp1 = 0 ;
9744     int res1 = 0 ;
9745     int argvi = 0;
9746     dXSARGS;
9747 
9748     if ((items < 1) || (items > 1)) {
9749       SWIG_croak("Usage: delete_gsl_matrix_int(self);");
9750     }
9751     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_int, SWIG_POINTER_DISOWN |  0 );
9752     if (!SWIG_IsOK(res1)) {
9753       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_gsl_matrix_int" "', argument " "1"" of type '" "gsl_matrix_int *""'");
9754     }
9755     arg1 = (gsl_matrix_int *)(argp1);
9756     free((char *) arg1);
9757     ST(argvi) = &PL_sv_undef;
9758 
9759     XSRETURN(argvi);
9760   fail:
9761 
9762     SWIG_croak_null();
9763   }
9764 }
9765 
9766 
XS(_wrap__gsl_matrix_int_view_matrix_set)9767 XS(_wrap__gsl_matrix_int_view_matrix_set) {
9768   {
9769     _gsl_matrix_int_view *arg1 = (_gsl_matrix_int_view *) 0 ;
9770     gsl_matrix_int *arg2 = (gsl_matrix_int *) 0 ;
9771     void *argp1 = 0 ;
9772     int res1 = 0 ;
9773     void *argp2 = 0 ;
9774     int res2 = 0 ;
9775     int argvi = 0;
9776     dXSARGS;
9777 
9778     if ((items < 2) || (items > 2)) {
9779       SWIG_croak("Usage: _gsl_matrix_int_view_matrix_set(self,matrix);");
9780     }
9781     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__gsl_matrix_int_view, 0 |  0 );
9782     if (!SWIG_IsOK(res1)) {
9783       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_gsl_matrix_int_view_matrix_set" "', argument " "1"" of type '" "_gsl_matrix_int_view *""'");
9784     }
9785     arg1 = (_gsl_matrix_int_view *)(argp1);
9786     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
9787     if (!SWIG_IsOK(res2)) {
9788       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_gsl_matrix_int_view_matrix_set" "', argument " "2"" of type '" "gsl_matrix_int *""'");
9789     }
9790     arg2 = (gsl_matrix_int *)(argp2);
9791     if (arg1) (arg1)->matrix = *arg2;
9792     ST(argvi) = &PL_sv_undef;
9793 
9794 
9795     XSRETURN(argvi);
9796   fail:
9797 
9798 
9799     SWIG_croak_null();
9800   }
9801 }
9802 
9803 
XS(_wrap__gsl_matrix_int_view_matrix_get)9804 XS(_wrap__gsl_matrix_int_view_matrix_get) {
9805   {
9806     _gsl_matrix_int_view *arg1 = (_gsl_matrix_int_view *) 0 ;
9807     void *argp1 = 0 ;
9808     int res1 = 0 ;
9809     int argvi = 0;
9810     gsl_matrix_int *result = 0 ;
9811     dXSARGS;
9812 
9813     if ((items < 1) || (items > 1)) {
9814       SWIG_croak("Usage: _gsl_matrix_int_view_matrix_get(self);");
9815     }
9816     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__gsl_matrix_int_view, 0 |  0 );
9817     if (!SWIG_IsOK(res1)) {
9818       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_gsl_matrix_int_view_matrix_get" "', argument " "1"" of type '" "_gsl_matrix_int_view *""'");
9819     }
9820     arg1 = (_gsl_matrix_int_view *)(argp1);
9821     result = (gsl_matrix_int *)& ((arg1)->matrix);
9822     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_matrix_int, 0 | SWIG_SHADOW); argvi++ ;
9823 
9824     XSRETURN(argvi);
9825   fail:
9826 
9827     SWIG_croak_null();
9828   }
9829 }
9830 
9831 
XS(_wrap_new__gsl_matrix_int_view)9832 XS(_wrap_new__gsl_matrix_int_view) {
9833   {
9834     int argvi = 0;
9835     _gsl_matrix_int_view *result = 0 ;
9836     dXSARGS;
9837 
9838     if ((items < 0) || (items > 0)) {
9839       SWIG_croak("Usage: new__gsl_matrix_int_view();");
9840     }
9841     result = (_gsl_matrix_int_view *)calloc(1, sizeof(_gsl_matrix_int_view));
9842     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__gsl_matrix_int_view, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
9843     XSRETURN(argvi);
9844   fail:
9845     SWIG_croak_null();
9846   }
9847 }
9848 
9849 
XS(_wrap_delete__gsl_matrix_int_view)9850 XS(_wrap_delete__gsl_matrix_int_view) {
9851   {
9852     _gsl_matrix_int_view *arg1 = (_gsl_matrix_int_view *) 0 ;
9853     void *argp1 = 0 ;
9854     int res1 = 0 ;
9855     int argvi = 0;
9856     dXSARGS;
9857 
9858     if ((items < 1) || (items > 1)) {
9859       SWIG_croak("Usage: delete__gsl_matrix_int_view(self);");
9860     }
9861     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__gsl_matrix_int_view, SWIG_POINTER_DISOWN |  0 );
9862     if (!SWIG_IsOK(res1)) {
9863       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete__gsl_matrix_int_view" "', argument " "1"" of type '" "_gsl_matrix_int_view *""'");
9864     }
9865     arg1 = (_gsl_matrix_int_view *)(argp1);
9866     free((char *) arg1);
9867     ST(argvi) = &PL_sv_undef;
9868 
9869     XSRETURN(argvi);
9870   fail:
9871 
9872     SWIG_croak_null();
9873   }
9874 }
9875 
9876 
XS(_wrap__gsl_matrix_int_const_view_matrix_set)9877 XS(_wrap__gsl_matrix_int_const_view_matrix_set) {
9878   {
9879     _gsl_matrix_int_const_view *arg1 = (_gsl_matrix_int_const_view *) 0 ;
9880     gsl_matrix_int *arg2 = (gsl_matrix_int *) 0 ;
9881     void *argp1 = 0 ;
9882     int res1 = 0 ;
9883     void *argp2 = 0 ;
9884     int res2 = 0 ;
9885     int argvi = 0;
9886     dXSARGS;
9887 
9888     if ((items < 2) || (items > 2)) {
9889       SWIG_croak("Usage: _gsl_matrix_int_const_view_matrix_set(self,matrix);");
9890     }
9891     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__gsl_matrix_int_const_view, 0 |  0 );
9892     if (!SWIG_IsOK(res1)) {
9893       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_gsl_matrix_int_const_view_matrix_set" "', argument " "1"" of type '" "_gsl_matrix_int_const_view *""'");
9894     }
9895     arg1 = (_gsl_matrix_int_const_view *)(argp1);
9896     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
9897     if (!SWIG_IsOK(res2)) {
9898       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_gsl_matrix_int_const_view_matrix_set" "', argument " "2"" of type '" "gsl_matrix_int *""'");
9899     }
9900     arg2 = (gsl_matrix_int *)(argp2);
9901     if (arg1) (arg1)->matrix = *arg2;
9902     ST(argvi) = &PL_sv_undef;
9903 
9904 
9905     XSRETURN(argvi);
9906   fail:
9907 
9908 
9909     SWIG_croak_null();
9910   }
9911 }
9912 
9913 
XS(_wrap__gsl_matrix_int_const_view_matrix_get)9914 XS(_wrap__gsl_matrix_int_const_view_matrix_get) {
9915   {
9916     _gsl_matrix_int_const_view *arg1 = (_gsl_matrix_int_const_view *) 0 ;
9917     void *argp1 = 0 ;
9918     int res1 = 0 ;
9919     int argvi = 0;
9920     gsl_matrix_int *result = 0 ;
9921     dXSARGS;
9922 
9923     if ((items < 1) || (items > 1)) {
9924       SWIG_croak("Usage: _gsl_matrix_int_const_view_matrix_get(self);");
9925     }
9926     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__gsl_matrix_int_const_view, 0 |  0 );
9927     if (!SWIG_IsOK(res1)) {
9928       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_gsl_matrix_int_const_view_matrix_get" "', argument " "1"" of type '" "_gsl_matrix_int_const_view *""'");
9929     }
9930     arg1 = (_gsl_matrix_int_const_view *)(argp1);
9931     result = (gsl_matrix_int *)& ((arg1)->matrix);
9932     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_matrix_int, 0 | SWIG_SHADOW); argvi++ ;
9933 
9934     XSRETURN(argvi);
9935   fail:
9936 
9937     SWIG_croak_null();
9938   }
9939 }
9940 
9941 
XS(_wrap_new__gsl_matrix_int_const_view)9942 XS(_wrap_new__gsl_matrix_int_const_view) {
9943   {
9944     int argvi = 0;
9945     _gsl_matrix_int_const_view *result = 0 ;
9946     dXSARGS;
9947 
9948     if ((items < 0) || (items > 0)) {
9949       SWIG_croak("Usage: new__gsl_matrix_int_const_view();");
9950     }
9951     result = (_gsl_matrix_int_const_view *)calloc(1, sizeof(_gsl_matrix_int_const_view));
9952     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__gsl_matrix_int_const_view, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
9953     XSRETURN(argvi);
9954   fail:
9955     SWIG_croak_null();
9956   }
9957 }
9958 
9959 
XS(_wrap_delete__gsl_matrix_int_const_view)9960 XS(_wrap_delete__gsl_matrix_int_const_view) {
9961   {
9962     _gsl_matrix_int_const_view *arg1 = (_gsl_matrix_int_const_view *) 0 ;
9963     void *argp1 = 0 ;
9964     int res1 = 0 ;
9965     int argvi = 0;
9966     dXSARGS;
9967 
9968     if ((items < 1) || (items > 1)) {
9969       SWIG_croak("Usage: delete__gsl_matrix_int_const_view(self);");
9970     }
9971     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__gsl_matrix_int_const_view, SWIG_POINTER_DISOWN |  0 );
9972     if (!SWIG_IsOK(res1)) {
9973       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete__gsl_matrix_int_const_view" "', argument " "1"" of type '" "_gsl_matrix_int_const_view *""'");
9974     }
9975     arg1 = (_gsl_matrix_int_const_view *)(argp1);
9976     free((char *) arg1);
9977     ST(argvi) = &PL_sv_undef;
9978 
9979     XSRETURN(argvi);
9980   fail:
9981 
9982     SWIG_croak_null();
9983   }
9984 }
9985 
9986 
XS(_wrap_gsl_matrix_int_alloc)9987 XS(_wrap_gsl_matrix_int_alloc) {
9988   {
9989     size_t arg1 ;
9990     size_t arg2 ;
9991     size_t val1 ;
9992     int ecode1 = 0 ;
9993     size_t val2 ;
9994     int ecode2 = 0 ;
9995     int argvi = 0;
9996     gsl_matrix_int *result = 0 ;
9997     dXSARGS;
9998 
9999     if ((items < 2) || (items > 2)) {
10000       SWIG_croak("Usage: gsl_matrix_int_alloc(n1,n2);");
10001     }
10002     ecode1 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
10003     if (!SWIG_IsOK(ecode1)) {
10004       SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_matrix_int_alloc" "', argument " "1"" of type '" "size_t""'");
10005     }
10006     arg1 = (size_t)(val1);
10007     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10008     if (!SWIG_IsOK(ecode2)) {
10009       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_int_alloc" "', argument " "2"" of type '" "size_t""'");
10010     }
10011     arg2 = (size_t)(val2);
10012     result = (gsl_matrix_int *)gsl_matrix_int_alloc(arg1,arg2);
10013     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_matrix_int, 0 | SWIG_SHADOW); argvi++ ;
10014 
10015 
10016     XSRETURN(argvi);
10017   fail:
10018 
10019 
10020     SWIG_croak_null();
10021   }
10022 }
10023 
10024 
XS(_wrap_gsl_matrix_int_calloc)10025 XS(_wrap_gsl_matrix_int_calloc) {
10026   {
10027     size_t arg1 ;
10028     size_t arg2 ;
10029     size_t val1 ;
10030     int ecode1 = 0 ;
10031     size_t val2 ;
10032     int ecode2 = 0 ;
10033     int argvi = 0;
10034     gsl_matrix_int *result = 0 ;
10035     dXSARGS;
10036 
10037     if ((items < 2) || (items > 2)) {
10038       SWIG_croak("Usage: gsl_matrix_int_calloc(n1,n2);");
10039     }
10040     ecode1 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
10041     if (!SWIG_IsOK(ecode1)) {
10042       SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_matrix_int_calloc" "', argument " "1"" of type '" "size_t""'");
10043     }
10044     arg1 = (size_t)(val1);
10045     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10046     if (!SWIG_IsOK(ecode2)) {
10047       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_int_calloc" "', argument " "2"" of type '" "size_t""'");
10048     }
10049     arg2 = (size_t)(val2);
10050     result = (gsl_matrix_int *)gsl_matrix_int_calloc(arg1,arg2);
10051     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_matrix_int, 0 | SWIG_SHADOW); argvi++ ;
10052 
10053 
10054     XSRETURN(argvi);
10055   fail:
10056 
10057 
10058     SWIG_croak_null();
10059   }
10060 }
10061 
10062 
XS(_wrap_gsl_matrix_int_alloc_from_block)10063 XS(_wrap_gsl_matrix_int_alloc_from_block) {
10064   {
10065     gsl_block_int *arg1 = (gsl_block_int *) 0 ;
10066     size_t arg2 ;
10067     size_t arg3 ;
10068     size_t arg4 ;
10069     size_t arg5 ;
10070     void *argp1 = 0 ;
10071     int res1 = 0 ;
10072     size_t val2 ;
10073     int ecode2 = 0 ;
10074     size_t val3 ;
10075     int ecode3 = 0 ;
10076     size_t val4 ;
10077     int ecode4 = 0 ;
10078     size_t val5 ;
10079     int ecode5 = 0 ;
10080     int argvi = 0;
10081     gsl_matrix_int *result = 0 ;
10082     dXSARGS;
10083 
10084     if ((items < 5) || (items > 5)) {
10085       SWIG_croak("Usage: gsl_matrix_int_alloc_from_block(b,offset,n1,n2,d2);");
10086     }
10087     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_block_int, 0 |  0 );
10088     if (!SWIG_IsOK(res1)) {
10089       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_alloc_from_block" "', argument " "1"" of type '" "gsl_block_int *""'");
10090     }
10091     arg1 = (gsl_block_int *)(argp1);
10092     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10093     if (!SWIG_IsOK(ecode2)) {
10094       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_int_alloc_from_block" "', argument " "2"" of type '" "size_t""'");
10095     }
10096     arg2 = (size_t)(val2);
10097     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
10098     if (!SWIG_IsOK(ecode3)) {
10099       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_int_alloc_from_block" "', argument " "3"" of type '" "size_t""'");
10100     }
10101     arg3 = (size_t)(val3);
10102     ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
10103     if (!SWIG_IsOK(ecode4)) {
10104       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_matrix_int_alloc_from_block" "', argument " "4"" of type '" "size_t""'");
10105     }
10106     arg4 = (size_t)(val4);
10107     ecode5 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
10108     if (!SWIG_IsOK(ecode5)) {
10109       SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "gsl_matrix_int_alloc_from_block" "', argument " "5"" of type '" "size_t""'");
10110     }
10111     arg5 = (size_t)(val5);
10112     result = (gsl_matrix_int *)gsl_matrix_int_alloc_from_block(arg1,arg2,arg3,arg4,arg5);
10113     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_matrix_int, 0 | SWIG_SHADOW); argvi++ ;
10114 
10115 
10116 
10117 
10118 
10119     XSRETURN(argvi);
10120   fail:
10121 
10122 
10123 
10124 
10125 
10126     SWIG_croak_null();
10127   }
10128 }
10129 
10130 
XS(_wrap_gsl_matrix_int_alloc_from_matrix)10131 XS(_wrap_gsl_matrix_int_alloc_from_matrix) {
10132   {
10133     gsl_matrix_int *arg1 = (gsl_matrix_int *) 0 ;
10134     size_t arg2 ;
10135     size_t arg3 ;
10136     size_t arg4 ;
10137     size_t arg5 ;
10138     void *argp1 = 0 ;
10139     int res1 = 0 ;
10140     size_t val2 ;
10141     int ecode2 = 0 ;
10142     size_t val3 ;
10143     int ecode3 = 0 ;
10144     size_t val4 ;
10145     int ecode4 = 0 ;
10146     size_t val5 ;
10147     int ecode5 = 0 ;
10148     int argvi = 0;
10149     gsl_matrix_int *result = 0 ;
10150     dXSARGS;
10151 
10152     if ((items < 5) || (items > 5)) {
10153       SWIG_croak("Usage: gsl_matrix_int_alloc_from_matrix(m,k1,k2,n1,n2);");
10154     }
10155     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
10156     if (!SWIG_IsOK(res1)) {
10157       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_alloc_from_matrix" "', argument " "1"" of type '" "gsl_matrix_int *""'");
10158     }
10159     arg1 = (gsl_matrix_int *)(argp1);
10160     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10161     if (!SWIG_IsOK(ecode2)) {
10162       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_int_alloc_from_matrix" "', argument " "2"" of type '" "size_t""'");
10163     }
10164     arg2 = (size_t)(val2);
10165     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
10166     if (!SWIG_IsOK(ecode3)) {
10167       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_int_alloc_from_matrix" "', argument " "3"" of type '" "size_t""'");
10168     }
10169     arg3 = (size_t)(val3);
10170     ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
10171     if (!SWIG_IsOK(ecode4)) {
10172       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_matrix_int_alloc_from_matrix" "', argument " "4"" of type '" "size_t""'");
10173     }
10174     arg4 = (size_t)(val4);
10175     ecode5 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
10176     if (!SWIG_IsOK(ecode5)) {
10177       SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "gsl_matrix_int_alloc_from_matrix" "', argument " "5"" of type '" "size_t""'");
10178     }
10179     arg5 = (size_t)(val5);
10180     result = (gsl_matrix_int *)gsl_matrix_int_alloc_from_matrix(arg1,arg2,arg3,arg4,arg5);
10181     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_matrix_int, 0 | SWIG_SHADOW); argvi++ ;
10182 
10183 
10184 
10185 
10186 
10187     XSRETURN(argvi);
10188   fail:
10189 
10190 
10191 
10192 
10193 
10194     SWIG_croak_null();
10195   }
10196 }
10197 
10198 
XS(_wrap_gsl_vector_int_alloc_row_from_matrix)10199 XS(_wrap_gsl_vector_int_alloc_row_from_matrix) {
10200   {
10201     gsl_matrix_int *arg1 = (gsl_matrix_int *) 0 ;
10202     size_t arg2 ;
10203     void *argp1 = 0 ;
10204     int res1 = 0 ;
10205     size_t val2 ;
10206     int ecode2 = 0 ;
10207     int argvi = 0;
10208     gsl_vector_int *result = 0 ;
10209     dXSARGS;
10210 
10211     if ((items < 2) || (items > 2)) {
10212       SWIG_croak("Usage: gsl_vector_int_alloc_row_from_matrix(m,i);");
10213     }
10214     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
10215     if (!SWIG_IsOK(res1)) {
10216       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_alloc_row_from_matrix" "', argument " "1"" of type '" "gsl_matrix_int *""'");
10217     }
10218     arg1 = (gsl_matrix_int *)(argp1);
10219     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10220     if (!SWIG_IsOK(ecode2)) {
10221       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_int_alloc_row_from_matrix" "', argument " "2"" of type '" "size_t""'");
10222     }
10223     arg2 = (size_t)(val2);
10224     result = (gsl_vector_int *)gsl_vector_int_alloc_row_from_matrix(arg1,arg2);
10225     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_vector_int, 0 | 0); argvi++ ;
10226 
10227 
10228     XSRETURN(argvi);
10229   fail:
10230 
10231 
10232     SWIG_croak_null();
10233   }
10234 }
10235 
10236 
XS(_wrap_gsl_vector_int_alloc_col_from_matrix)10237 XS(_wrap_gsl_vector_int_alloc_col_from_matrix) {
10238   {
10239     gsl_matrix_int *arg1 = (gsl_matrix_int *) 0 ;
10240     size_t arg2 ;
10241     void *argp1 = 0 ;
10242     int res1 = 0 ;
10243     size_t val2 ;
10244     int ecode2 = 0 ;
10245     int argvi = 0;
10246     gsl_vector_int *result = 0 ;
10247     dXSARGS;
10248 
10249     if ((items < 2) || (items > 2)) {
10250       SWIG_croak("Usage: gsl_vector_int_alloc_col_from_matrix(m,j);");
10251     }
10252     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
10253     if (!SWIG_IsOK(res1)) {
10254       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_int_alloc_col_from_matrix" "', argument " "1"" of type '" "gsl_matrix_int *""'");
10255     }
10256     arg1 = (gsl_matrix_int *)(argp1);
10257     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10258     if (!SWIG_IsOK(ecode2)) {
10259       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_int_alloc_col_from_matrix" "', argument " "2"" of type '" "size_t""'");
10260     }
10261     arg2 = (size_t)(val2);
10262     result = (gsl_vector_int *)gsl_vector_int_alloc_col_from_matrix(arg1,arg2);
10263     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_vector_int, 0 | 0); argvi++ ;
10264 
10265 
10266     XSRETURN(argvi);
10267   fail:
10268 
10269 
10270     SWIG_croak_null();
10271   }
10272 }
10273 
10274 
XS(_wrap_gsl_matrix_int_free)10275 XS(_wrap_gsl_matrix_int_free) {
10276   {
10277     gsl_matrix_int *arg1 = (gsl_matrix_int *) 0 ;
10278     void *argp1 = 0 ;
10279     int res1 = 0 ;
10280     int argvi = 0;
10281     dXSARGS;
10282 
10283     if ((items < 1) || (items > 1)) {
10284       SWIG_croak("Usage: gsl_matrix_int_free(m);");
10285     }
10286     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
10287     if (!SWIG_IsOK(res1)) {
10288       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_free" "', argument " "1"" of type '" "gsl_matrix_int *""'");
10289     }
10290     arg1 = (gsl_matrix_int *)(argp1);
10291     gsl_matrix_int_free(arg1);
10292     ST(argvi) = &PL_sv_undef;
10293 
10294     XSRETURN(argvi);
10295   fail:
10296 
10297     SWIG_croak_null();
10298   }
10299 }
10300 
10301 
XS(_wrap_gsl_matrix_int_submatrix)10302 XS(_wrap_gsl_matrix_int_submatrix) {
10303   {
10304     gsl_matrix_int *arg1 = (gsl_matrix_int *) 0 ;
10305     size_t arg2 ;
10306     size_t arg3 ;
10307     size_t arg4 ;
10308     size_t arg5 ;
10309     void *argp1 = 0 ;
10310     int res1 = 0 ;
10311     size_t val2 ;
10312     int ecode2 = 0 ;
10313     size_t val3 ;
10314     int ecode3 = 0 ;
10315     size_t val4 ;
10316     int ecode4 = 0 ;
10317     size_t val5 ;
10318     int ecode5 = 0 ;
10319     int argvi = 0;
10320     _gsl_matrix_int_view result;
10321     dXSARGS;
10322 
10323     if ((items < 5) || (items > 5)) {
10324       SWIG_croak("Usage: gsl_matrix_int_submatrix(m,i,j,n1,n2);");
10325     }
10326     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
10327     if (!SWIG_IsOK(res1)) {
10328       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_submatrix" "', argument " "1"" of type '" "gsl_matrix_int *""'");
10329     }
10330     arg1 = (gsl_matrix_int *)(argp1);
10331     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10332     if (!SWIG_IsOK(ecode2)) {
10333       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_int_submatrix" "', argument " "2"" of type '" "size_t""'");
10334     }
10335     arg2 = (size_t)(val2);
10336     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
10337     if (!SWIG_IsOK(ecode3)) {
10338       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_int_submatrix" "', argument " "3"" of type '" "size_t""'");
10339     }
10340     arg3 = (size_t)(val3);
10341     ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
10342     if (!SWIG_IsOK(ecode4)) {
10343       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_matrix_int_submatrix" "', argument " "4"" of type '" "size_t""'");
10344     }
10345     arg4 = (size_t)(val4);
10346     ecode5 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
10347     if (!SWIG_IsOK(ecode5)) {
10348       SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "gsl_matrix_int_submatrix" "', argument " "5"" of type '" "size_t""'");
10349     }
10350     arg5 = (size_t)(val5);
10351     result = gsl_matrix_int_submatrix(arg1,arg2,arg3,arg4,arg5);
10352     ST(argvi) = SWIG_NewPointerObj((_gsl_matrix_int_view *)memcpy((_gsl_matrix_int_view *)calloc(1,sizeof(_gsl_matrix_int_view)),&result,sizeof(_gsl_matrix_int_view)), SWIGTYPE_p__gsl_matrix_int_view, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
10353 
10354 
10355 
10356 
10357 
10358     XSRETURN(argvi);
10359   fail:
10360 
10361 
10362 
10363 
10364 
10365     SWIG_croak_null();
10366   }
10367 }
10368 
10369 
XS(_wrap_gsl_matrix_int_row)10370 XS(_wrap_gsl_matrix_int_row) {
10371   {
10372     gsl_matrix_int *arg1 = (gsl_matrix_int *) 0 ;
10373     size_t arg2 ;
10374     void *argp1 = 0 ;
10375     int res1 = 0 ;
10376     size_t val2 ;
10377     int ecode2 = 0 ;
10378     int argvi = 0;
10379     _gsl_vector_int_view result;
10380     dXSARGS;
10381 
10382     if ((items < 2) || (items > 2)) {
10383       SWIG_croak("Usage: gsl_matrix_int_row(m,i);");
10384     }
10385     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
10386     if (!SWIG_IsOK(res1)) {
10387       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_row" "', argument " "1"" of type '" "gsl_matrix_int *""'");
10388     }
10389     arg1 = (gsl_matrix_int *)(argp1);
10390     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10391     if (!SWIG_IsOK(ecode2)) {
10392       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_int_row" "', argument " "2"" of type '" "size_t""'");
10393     }
10394     arg2 = (size_t)(val2);
10395     result = gsl_matrix_int_row(arg1,arg2);
10396     ST(argvi) = SWIG_NewPointerObj((_gsl_vector_int_view *)memcpy((_gsl_vector_int_view *)calloc(1,sizeof(_gsl_vector_int_view)),&result,sizeof(_gsl_vector_int_view)), SWIGTYPE_p__gsl_vector_int_view, SWIG_POINTER_OWN | 0); argvi++ ;
10397 
10398 
10399     XSRETURN(argvi);
10400   fail:
10401 
10402 
10403     SWIG_croak_null();
10404   }
10405 }
10406 
10407 
XS(_wrap_gsl_matrix_int_column)10408 XS(_wrap_gsl_matrix_int_column) {
10409   {
10410     gsl_matrix_int *arg1 = (gsl_matrix_int *) 0 ;
10411     size_t arg2 ;
10412     void *argp1 = 0 ;
10413     int res1 = 0 ;
10414     size_t val2 ;
10415     int ecode2 = 0 ;
10416     int argvi = 0;
10417     _gsl_vector_int_view result;
10418     dXSARGS;
10419 
10420     if ((items < 2) || (items > 2)) {
10421       SWIG_croak("Usage: gsl_matrix_int_column(m,j);");
10422     }
10423     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
10424     if (!SWIG_IsOK(res1)) {
10425       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_column" "', argument " "1"" of type '" "gsl_matrix_int *""'");
10426     }
10427     arg1 = (gsl_matrix_int *)(argp1);
10428     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10429     if (!SWIG_IsOK(ecode2)) {
10430       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_int_column" "', argument " "2"" of type '" "size_t""'");
10431     }
10432     arg2 = (size_t)(val2);
10433     result = gsl_matrix_int_column(arg1,arg2);
10434     ST(argvi) = SWIG_NewPointerObj((_gsl_vector_int_view *)memcpy((_gsl_vector_int_view *)calloc(1,sizeof(_gsl_vector_int_view)),&result,sizeof(_gsl_vector_int_view)), SWIGTYPE_p__gsl_vector_int_view, SWIG_POINTER_OWN | 0); argvi++ ;
10435 
10436 
10437     XSRETURN(argvi);
10438   fail:
10439 
10440 
10441     SWIG_croak_null();
10442   }
10443 }
10444 
10445 
XS(_wrap_gsl_matrix_int_diagonal)10446 XS(_wrap_gsl_matrix_int_diagonal) {
10447   {
10448     gsl_matrix_int *arg1 = (gsl_matrix_int *) 0 ;
10449     void *argp1 = 0 ;
10450     int res1 = 0 ;
10451     int argvi = 0;
10452     _gsl_vector_int_view result;
10453     dXSARGS;
10454 
10455     if ((items < 1) || (items > 1)) {
10456       SWIG_croak("Usage: gsl_matrix_int_diagonal(m);");
10457     }
10458     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
10459     if (!SWIG_IsOK(res1)) {
10460       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_diagonal" "', argument " "1"" of type '" "gsl_matrix_int *""'");
10461     }
10462     arg1 = (gsl_matrix_int *)(argp1);
10463     result = gsl_matrix_int_diagonal(arg1);
10464     ST(argvi) = SWIG_NewPointerObj((_gsl_vector_int_view *)memcpy((_gsl_vector_int_view *)calloc(1,sizeof(_gsl_vector_int_view)),&result,sizeof(_gsl_vector_int_view)), SWIGTYPE_p__gsl_vector_int_view, SWIG_POINTER_OWN | 0); argvi++ ;
10465 
10466     XSRETURN(argvi);
10467   fail:
10468 
10469     SWIG_croak_null();
10470   }
10471 }
10472 
10473 
XS(_wrap_gsl_matrix_int_subdiagonal)10474 XS(_wrap_gsl_matrix_int_subdiagonal) {
10475   {
10476     gsl_matrix_int *arg1 = (gsl_matrix_int *) 0 ;
10477     size_t arg2 ;
10478     void *argp1 = 0 ;
10479     int res1 = 0 ;
10480     size_t val2 ;
10481     int ecode2 = 0 ;
10482     int argvi = 0;
10483     _gsl_vector_int_view result;
10484     dXSARGS;
10485 
10486     if ((items < 2) || (items > 2)) {
10487       SWIG_croak("Usage: gsl_matrix_int_subdiagonal(m,k);");
10488     }
10489     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
10490     if (!SWIG_IsOK(res1)) {
10491       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_subdiagonal" "', argument " "1"" of type '" "gsl_matrix_int *""'");
10492     }
10493     arg1 = (gsl_matrix_int *)(argp1);
10494     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10495     if (!SWIG_IsOK(ecode2)) {
10496       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_int_subdiagonal" "', argument " "2"" of type '" "size_t""'");
10497     }
10498     arg2 = (size_t)(val2);
10499     result = gsl_matrix_int_subdiagonal(arg1,arg2);
10500     ST(argvi) = SWIG_NewPointerObj((_gsl_vector_int_view *)memcpy((_gsl_vector_int_view *)calloc(1,sizeof(_gsl_vector_int_view)),&result,sizeof(_gsl_vector_int_view)), SWIGTYPE_p__gsl_vector_int_view, SWIG_POINTER_OWN | 0); argvi++ ;
10501 
10502 
10503     XSRETURN(argvi);
10504   fail:
10505 
10506 
10507     SWIG_croak_null();
10508   }
10509 }
10510 
10511 
XS(_wrap_gsl_matrix_int_superdiagonal)10512 XS(_wrap_gsl_matrix_int_superdiagonal) {
10513   {
10514     gsl_matrix_int *arg1 = (gsl_matrix_int *) 0 ;
10515     size_t arg2 ;
10516     void *argp1 = 0 ;
10517     int res1 = 0 ;
10518     size_t val2 ;
10519     int ecode2 = 0 ;
10520     int argvi = 0;
10521     _gsl_vector_int_view result;
10522     dXSARGS;
10523 
10524     if ((items < 2) || (items > 2)) {
10525       SWIG_croak("Usage: gsl_matrix_int_superdiagonal(m,k);");
10526     }
10527     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
10528     if (!SWIG_IsOK(res1)) {
10529       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_superdiagonal" "', argument " "1"" of type '" "gsl_matrix_int *""'");
10530     }
10531     arg1 = (gsl_matrix_int *)(argp1);
10532     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10533     if (!SWIG_IsOK(ecode2)) {
10534       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_int_superdiagonal" "', argument " "2"" of type '" "size_t""'");
10535     }
10536     arg2 = (size_t)(val2);
10537     result = gsl_matrix_int_superdiagonal(arg1,arg2);
10538     ST(argvi) = SWIG_NewPointerObj((_gsl_vector_int_view *)memcpy((_gsl_vector_int_view *)calloc(1,sizeof(_gsl_vector_int_view)),&result,sizeof(_gsl_vector_int_view)), SWIGTYPE_p__gsl_vector_int_view, SWIG_POINTER_OWN | 0); argvi++ ;
10539 
10540 
10541     XSRETURN(argvi);
10542   fail:
10543 
10544 
10545     SWIG_croak_null();
10546   }
10547 }
10548 
10549 
XS(_wrap_gsl_matrix_int_subrow)10550 XS(_wrap_gsl_matrix_int_subrow) {
10551   {
10552     gsl_matrix_int *arg1 = (gsl_matrix_int *) 0 ;
10553     size_t arg2 ;
10554     size_t arg3 ;
10555     size_t arg4 ;
10556     void *argp1 = 0 ;
10557     int res1 = 0 ;
10558     size_t val2 ;
10559     int ecode2 = 0 ;
10560     size_t val3 ;
10561     int ecode3 = 0 ;
10562     size_t val4 ;
10563     int ecode4 = 0 ;
10564     int argvi = 0;
10565     _gsl_vector_int_view result;
10566     dXSARGS;
10567 
10568     if ((items < 4) || (items > 4)) {
10569       SWIG_croak("Usage: gsl_matrix_int_subrow(m,i,offset,n);");
10570     }
10571     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
10572     if (!SWIG_IsOK(res1)) {
10573       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_subrow" "', argument " "1"" of type '" "gsl_matrix_int *""'");
10574     }
10575     arg1 = (gsl_matrix_int *)(argp1);
10576     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10577     if (!SWIG_IsOK(ecode2)) {
10578       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_int_subrow" "', argument " "2"" of type '" "size_t""'");
10579     }
10580     arg2 = (size_t)(val2);
10581     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
10582     if (!SWIG_IsOK(ecode3)) {
10583       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_int_subrow" "', argument " "3"" of type '" "size_t""'");
10584     }
10585     arg3 = (size_t)(val3);
10586     ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
10587     if (!SWIG_IsOK(ecode4)) {
10588       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_matrix_int_subrow" "', argument " "4"" of type '" "size_t""'");
10589     }
10590     arg4 = (size_t)(val4);
10591     result = gsl_matrix_int_subrow(arg1,arg2,arg3,arg4);
10592     ST(argvi) = SWIG_NewPointerObj((_gsl_vector_int_view *)memcpy((_gsl_vector_int_view *)calloc(1,sizeof(_gsl_vector_int_view)),&result,sizeof(_gsl_vector_int_view)), SWIGTYPE_p__gsl_vector_int_view, SWIG_POINTER_OWN | 0); argvi++ ;
10593 
10594 
10595 
10596 
10597     XSRETURN(argvi);
10598   fail:
10599 
10600 
10601 
10602 
10603     SWIG_croak_null();
10604   }
10605 }
10606 
10607 
XS(_wrap_gsl_matrix_int_subcolumn)10608 XS(_wrap_gsl_matrix_int_subcolumn) {
10609   {
10610     gsl_matrix_int *arg1 = (gsl_matrix_int *) 0 ;
10611     size_t arg2 ;
10612     size_t arg3 ;
10613     size_t arg4 ;
10614     void *argp1 = 0 ;
10615     int res1 = 0 ;
10616     size_t val2 ;
10617     int ecode2 = 0 ;
10618     size_t val3 ;
10619     int ecode3 = 0 ;
10620     size_t val4 ;
10621     int ecode4 = 0 ;
10622     int argvi = 0;
10623     _gsl_vector_int_view result;
10624     dXSARGS;
10625 
10626     if ((items < 4) || (items > 4)) {
10627       SWIG_croak("Usage: gsl_matrix_int_subcolumn(m,j,offset,n);");
10628     }
10629     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
10630     if (!SWIG_IsOK(res1)) {
10631       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_subcolumn" "', argument " "1"" of type '" "gsl_matrix_int *""'");
10632     }
10633     arg1 = (gsl_matrix_int *)(argp1);
10634     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10635     if (!SWIG_IsOK(ecode2)) {
10636       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_int_subcolumn" "', argument " "2"" of type '" "size_t""'");
10637     }
10638     arg2 = (size_t)(val2);
10639     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
10640     if (!SWIG_IsOK(ecode3)) {
10641       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_int_subcolumn" "', argument " "3"" of type '" "size_t""'");
10642     }
10643     arg3 = (size_t)(val3);
10644     ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
10645     if (!SWIG_IsOK(ecode4)) {
10646       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_matrix_int_subcolumn" "', argument " "4"" of type '" "size_t""'");
10647     }
10648     arg4 = (size_t)(val4);
10649     result = gsl_matrix_int_subcolumn(arg1,arg2,arg3,arg4);
10650     ST(argvi) = SWIG_NewPointerObj((_gsl_vector_int_view *)memcpy((_gsl_vector_int_view *)calloc(1,sizeof(_gsl_vector_int_view)),&result,sizeof(_gsl_vector_int_view)), SWIGTYPE_p__gsl_vector_int_view, SWIG_POINTER_OWN | 0); argvi++ ;
10651 
10652 
10653 
10654 
10655     XSRETURN(argvi);
10656   fail:
10657 
10658 
10659 
10660 
10661     SWIG_croak_null();
10662   }
10663 }
10664 
10665 
XS(_wrap_gsl_matrix_int_view_array)10666 XS(_wrap_gsl_matrix_int_view_array) {
10667   {
10668     int *arg1 = (int *) 0 ;
10669     size_t arg2 ;
10670     size_t arg3 ;
10671     void *argp1 = 0 ;
10672     int res1 = 0 ;
10673     size_t val2 ;
10674     int ecode2 = 0 ;
10675     size_t val3 ;
10676     int ecode3 = 0 ;
10677     int argvi = 0;
10678     _gsl_matrix_int_view result;
10679     dXSARGS;
10680 
10681     if ((items < 3) || (items > 3)) {
10682       SWIG_croak("Usage: gsl_matrix_int_view_array(base,n1,n2);");
10683     }
10684     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_int, 0 |  0 );
10685     if (!SWIG_IsOK(res1)) {
10686       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_view_array" "', argument " "1"" of type '" "int *""'");
10687     }
10688     arg1 = (int *)(argp1);
10689     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10690     if (!SWIG_IsOK(ecode2)) {
10691       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_int_view_array" "', argument " "2"" of type '" "size_t""'");
10692     }
10693     arg2 = (size_t)(val2);
10694     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
10695     if (!SWIG_IsOK(ecode3)) {
10696       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_int_view_array" "', argument " "3"" of type '" "size_t""'");
10697     }
10698     arg3 = (size_t)(val3);
10699     result = gsl_matrix_int_view_array(arg1,arg2,arg3);
10700     ST(argvi) = SWIG_NewPointerObj((_gsl_matrix_int_view *)memcpy((_gsl_matrix_int_view *)calloc(1,sizeof(_gsl_matrix_int_view)),&result,sizeof(_gsl_matrix_int_view)), SWIGTYPE_p__gsl_matrix_int_view, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
10701 
10702 
10703 
10704     XSRETURN(argvi);
10705   fail:
10706 
10707 
10708 
10709     SWIG_croak_null();
10710   }
10711 }
10712 
10713 
XS(_wrap_gsl_matrix_int_view_array_with_tda)10714 XS(_wrap_gsl_matrix_int_view_array_with_tda) {
10715   {
10716     int *arg1 = (int *) 0 ;
10717     size_t arg2 ;
10718     size_t arg3 ;
10719     size_t arg4 ;
10720     void *argp1 = 0 ;
10721     int res1 = 0 ;
10722     size_t val2 ;
10723     int ecode2 = 0 ;
10724     size_t val3 ;
10725     int ecode3 = 0 ;
10726     size_t val4 ;
10727     int ecode4 = 0 ;
10728     int argvi = 0;
10729     _gsl_matrix_int_view result;
10730     dXSARGS;
10731 
10732     if ((items < 4) || (items > 4)) {
10733       SWIG_croak("Usage: gsl_matrix_int_view_array_with_tda(base,n1,n2,tda);");
10734     }
10735     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_int, 0 |  0 );
10736     if (!SWIG_IsOK(res1)) {
10737       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_view_array_with_tda" "', argument " "1"" of type '" "int *""'");
10738     }
10739     arg1 = (int *)(argp1);
10740     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10741     if (!SWIG_IsOK(ecode2)) {
10742       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_int_view_array_with_tda" "', argument " "2"" of type '" "size_t""'");
10743     }
10744     arg2 = (size_t)(val2);
10745     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
10746     if (!SWIG_IsOK(ecode3)) {
10747       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_int_view_array_with_tda" "', argument " "3"" of type '" "size_t""'");
10748     }
10749     arg3 = (size_t)(val3);
10750     ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
10751     if (!SWIG_IsOK(ecode4)) {
10752       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_matrix_int_view_array_with_tda" "', argument " "4"" of type '" "size_t""'");
10753     }
10754     arg4 = (size_t)(val4);
10755     result = gsl_matrix_int_view_array_with_tda(arg1,arg2,arg3,arg4);
10756     ST(argvi) = SWIG_NewPointerObj((_gsl_matrix_int_view *)memcpy((_gsl_matrix_int_view *)calloc(1,sizeof(_gsl_matrix_int_view)),&result,sizeof(_gsl_matrix_int_view)), SWIGTYPE_p__gsl_matrix_int_view, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
10757 
10758 
10759 
10760 
10761     XSRETURN(argvi);
10762   fail:
10763 
10764 
10765 
10766 
10767     SWIG_croak_null();
10768   }
10769 }
10770 
10771 
XS(_wrap_gsl_matrix_int_view_vector)10772 XS(_wrap_gsl_matrix_int_view_vector) {
10773   {
10774     gsl_vector_int *arg1 = (gsl_vector_int *) 0 ;
10775     size_t arg2 ;
10776     size_t arg3 ;
10777     void *argp1 = 0 ;
10778     int res1 = 0 ;
10779     size_t val2 ;
10780     int ecode2 = 0 ;
10781     size_t val3 ;
10782     int ecode3 = 0 ;
10783     int argvi = 0;
10784     _gsl_matrix_int_view result;
10785     dXSARGS;
10786 
10787     if ((items < 3) || (items > 3)) {
10788       SWIG_croak("Usage: gsl_matrix_int_view_vector(v,n1,n2);");
10789     }
10790     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_int, 0 |  0 );
10791     if (!SWIG_IsOK(res1)) {
10792       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_view_vector" "', argument " "1"" of type '" "gsl_vector_int *""'");
10793     }
10794     arg1 = (gsl_vector_int *)(argp1);
10795     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10796     if (!SWIG_IsOK(ecode2)) {
10797       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_int_view_vector" "', argument " "2"" of type '" "size_t""'");
10798     }
10799     arg2 = (size_t)(val2);
10800     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
10801     if (!SWIG_IsOK(ecode3)) {
10802       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_int_view_vector" "', argument " "3"" of type '" "size_t""'");
10803     }
10804     arg3 = (size_t)(val3);
10805     result = gsl_matrix_int_view_vector(arg1,arg2,arg3);
10806     ST(argvi) = SWIG_NewPointerObj((_gsl_matrix_int_view *)memcpy((_gsl_matrix_int_view *)calloc(1,sizeof(_gsl_matrix_int_view)),&result,sizeof(_gsl_matrix_int_view)), SWIGTYPE_p__gsl_matrix_int_view, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
10807 
10808 
10809 
10810     XSRETURN(argvi);
10811   fail:
10812 
10813 
10814 
10815     SWIG_croak_null();
10816   }
10817 }
10818 
10819 
XS(_wrap_gsl_matrix_int_view_vector_with_tda)10820 XS(_wrap_gsl_matrix_int_view_vector_with_tda) {
10821   {
10822     gsl_vector_int *arg1 = (gsl_vector_int *) 0 ;
10823     size_t arg2 ;
10824     size_t arg3 ;
10825     size_t arg4 ;
10826     void *argp1 = 0 ;
10827     int res1 = 0 ;
10828     size_t val2 ;
10829     int ecode2 = 0 ;
10830     size_t val3 ;
10831     int ecode3 = 0 ;
10832     size_t val4 ;
10833     int ecode4 = 0 ;
10834     int argvi = 0;
10835     _gsl_matrix_int_view result;
10836     dXSARGS;
10837 
10838     if ((items < 4) || (items > 4)) {
10839       SWIG_croak("Usage: gsl_matrix_int_view_vector_with_tda(v,n1,n2,tda);");
10840     }
10841     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_int, 0 |  0 );
10842     if (!SWIG_IsOK(res1)) {
10843       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_view_vector_with_tda" "', argument " "1"" of type '" "gsl_vector_int *""'");
10844     }
10845     arg1 = (gsl_vector_int *)(argp1);
10846     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10847     if (!SWIG_IsOK(ecode2)) {
10848       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_int_view_vector_with_tda" "', argument " "2"" of type '" "size_t""'");
10849     }
10850     arg2 = (size_t)(val2);
10851     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
10852     if (!SWIG_IsOK(ecode3)) {
10853       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_int_view_vector_with_tda" "', argument " "3"" of type '" "size_t""'");
10854     }
10855     arg3 = (size_t)(val3);
10856     ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
10857     if (!SWIG_IsOK(ecode4)) {
10858       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_matrix_int_view_vector_with_tda" "', argument " "4"" of type '" "size_t""'");
10859     }
10860     arg4 = (size_t)(val4);
10861     result = gsl_matrix_int_view_vector_with_tda(arg1,arg2,arg3,arg4);
10862     ST(argvi) = SWIG_NewPointerObj((_gsl_matrix_int_view *)memcpy((_gsl_matrix_int_view *)calloc(1,sizeof(_gsl_matrix_int_view)),&result,sizeof(_gsl_matrix_int_view)), SWIGTYPE_p__gsl_matrix_int_view, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
10863 
10864 
10865 
10866 
10867     XSRETURN(argvi);
10868   fail:
10869 
10870 
10871 
10872 
10873     SWIG_croak_null();
10874   }
10875 }
10876 
10877 
XS(_wrap_gsl_matrix_int_const_submatrix)10878 XS(_wrap_gsl_matrix_int_const_submatrix) {
10879   {
10880     gsl_matrix_int *arg1 = (gsl_matrix_int *) 0 ;
10881     size_t arg2 ;
10882     size_t arg3 ;
10883     size_t arg4 ;
10884     size_t arg5 ;
10885     void *argp1 = 0 ;
10886     int res1 = 0 ;
10887     size_t val2 ;
10888     int ecode2 = 0 ;
10889     size_t val3 ;
10890     int ecode3 = 0 ;
10891     size_t val4 ;
10892     int ecode4 = 0 ;
10893     size_t val5 ;
10894     int ecode5 = 0 ;
10895     int argvi = 0;
10896     _gsl_matrix_int_const_view result;
10897     dXSARGS;
10898 
10899     if ((items < 5) || (items > 5)) {
10900       SWIG_croak("Usage: gsl_matrix_int_const_submatrix(m,i,j,n1,n2);");
10901     }
10902     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
10903     if (!SWIG_IsOK(res1)) {
10904       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_const_submatrix" "', argument " "1"" of type '" "gsl_matrix_int const *""'");
10905     }
10906     arg1 = (gsl_matrix_int *)(argp1);
10907     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10908     if (!SWIG_IsOK(ecode2)) {
10909       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_int_const_submatrix" "', argument " "2"" of type '" "size_t""'");
10910     }
10911     arg2 = (size_t)(val2);
10912     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
10913     if (!SWIG_IsOK(ecode3)) {
10914       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_int_const_submatrix" "', argument " "3"" of type '" "size_t""'");
10915     }
10916     arg3 = (size_t)(val3);
10917     ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
10918     if (!SWIG_IsOK(ecode4)) {
10919       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_matrix_int_const_submatrix" "', argument " "4"" of type '" "size_t""'");
10920     }
10921     arg4 = (size_t)(val4);
10922     ecode5 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
10923     if (!SWIG_IsOK(ecode5)) {
10924       SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "gsl_matrix_int_const_submatrix" "', argument " "5"" of type '" "size_t""'");
10925     }
10926     arg5 = (size_t)(val5);
10927     result = gsl_matrix_int_const_submatrix((gsl_matrix_int const *)arg1,arg2,arg3,arg4,arg5);
10928     ST(argvi) = SWIG_NewPointerObj((_gsl_matrix_int_const_view *)memcpy((_gsl_matrix_int_const_view *)calloc(1,sizeof(_gsl_matrix_int_const_view)),&result,sizeof(_gsl_matrix_int_const_view)), SWIGTYPE_p__gsl_matrix_int_const_view, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
10929 
10930 
10931 
10932 
10933 
10934     XSRETURN(argvi);
10935   fail:
10936 
10937 
10938 
10939 
10940 
10941     SWIG_croak_null();
10942   }
10943 }
10944 
10945 
XS(_wrap_gsl_matrix_int_const_row)10946 XS(_wrap_gsl_matrix_int_const_row) {
10947   {
10948     gsl_matrix_int *arg1 = (gsl_matrix_int *) 0 ;
10949     size_t arg2 ;
10950     void *argp1 = 0 ;
10951     int res1 = 0 ;
10952     size_t val2 ;
10953     int ecode2 = 0 ;
10954     int argvi = 0;
10955     _gsl_vector_int_const_view result;
10956     dXSARGS;
10957 
10958     if ((items < 2) || (items > 2)) {
10959       SWIG_croak("Usage: gsl_matrix_int_const_row(m,i);");
10960     }
10961     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
10962     if (!SWIG_IsOK(res1)) {
10963       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_const_row" "', argument " "1"" of type '" "gsl_matrix_int const *""'");
10964     }
10965     arg1 = (gsl_matrix_int *)(argp1);
10966     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10967     if (!SWIG_IsOK(ecode2)) {
10968       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_int_const_row" "', argument " "2"" of type '" "size_t""'");
10969     }
10970     arg2 = (size_t)(val2);
10971     result = gsl_matrix_int_const_row((gsl_matrix_int const *)arg1,arg2);
10972     ST(argvi) = SWIG_NewPointerObj((_gsl_vector_int_const_view *)memcpy((_gsl_vector_int_const_view *)calloc(1,sizeof(_gsl_vector_int_const_view)),&result,sizeof(_gsl_vector_int_const_view)), SWIGTYPE_p__gsl_vector_int_const_view, SWIG_POINTER_OWN | 0); argvi++ ;
10973 
10974 
10975     XSRETURN(argvi);
10976   fail:
10977 
10978 
10979     SWIG_croak_null();
10980   }
10981 }
10982 
10983 
XS(_wrap_gsl_matrix_int_const_column)10984 XS(_wrap_gsl_matrix_int_const_column) {
10985   {
10986     gsl_matrix_int *arg1 = (gsl_matrix_int *) 0 ;
10987     size_t arg2 ;
10988     void *argp1 = 0 ;
10989     int res1 = 0 ;
10990     size_t val2 ;
10991     int ecode2 = 0 ;
10992     int argvi = 0;
10993     _gsl_vector_int_const_view result;
10994     dXSARGS;
10995 
10996     if ((items < 2) || (items > 2)) {
10997       SWIG_croak("Usage: gsl_matrix_int_const_column(m,j);");
10998     }
10999     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
11000     if (!SWIG_IsOK(res1)) {
11001       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_const_column" "', argument " "1"" of type '" "gsl_matrix_int const *""'");
11002     }
11003     arg1 = (gsl_matrix_int *)(argp1);
11004     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
11005     if (!SWIG_IsOK(ecode2)) {
11006       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_int_const_column" "', argument " "2"" of type '" "size_t""'");
11007     }
11008     arg2 = (size_t)(val2);
11009     result = gsl_matrix_int_const_column((gsl_matrix_int const *)arg1,arg2);
11010     ST(argvi) = SWIG_NewPointerObj((_gsl_vector_int_const_view *)memcpy((_gsl_vector_int_const_view *)calloc(1,sizeof(_gsl_vector_int_const_view)),&result,sizeof(_gsl_vector_int_const_view)), SWIGTYPE_p__gsl_vector_int_const_view, SWIG_POINTER_OWN | 0); argvi++ ;
11011 
11012 
11013     XSRETURN(argvi);
11014   fail:
11015 
11016 
11017     SWIG_croak_null();
11018   }
11019 }
11020 
11021 
XS(_wrap_gsl_matrix_int_const_diagonal)11022 XS(_wrap_gsl_matrix_int_const_diagonal) {
11023   {
11024     gsl_matrix_int *arg1 = (gsl_matrix_int *) 0 ;
11025     void *argp1 = 0 ;
11026     int res1 = 0 ;
11027     int argvi = 0;
11028     _gsl_vector_int_const_view result;
11029     dXSARGS;
11030 
11031     if ((items < 1) || (items > 1)) {
11032       SWIG_croak("Usage: gsl_matrix_int_const_diagonal(m);");
11033     }
11034     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
11035     if (!SWIG_IsOK(res1)) {
11036       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_const_diagonal" "', argument " "1"" of type '" "gsl_matrix_int const *""'");
11037     }
11038     arg1 = (gsl_matrix_int *)(argp1);
11039     result = gsl_matrix_int_const_diagonal((gsl_matrix_int const *)arg1);
11040     ST(argvi) = SWIG_NewPointerObj((_gsl_vector_int_const_view *)memcpy((_gsl_vector_int_const_view *)calloc(1,sizeof(_gsl_vector_int_const_view)),&result,sizeof(_gsl_vector_int_const_view)), SWIGTYPE_p__gsl_vector_int_const_view, SWIG_POINTER_OWN | 0); argvi++ ;
11041 
11042     XSRETURN(argvi);
11043   fail:
11044 
11045     SWIG_croak_null();
11046   }
11047 }
11048 
11049 
XS(_wrap_gsl_matrix_int_const_subdiagonal)11050 XS(_wrap_gsl_matrix_int_const_subdiagonal) {
11051   {
11052     gsl_matrix_int *arg1 = (gsl_matrix_int *) 0 ;
11053     size_t arg2 ;
11054     void *argp1 = 0 ;
11055     int res1 = 0 ;
11056     size_t val2 ;
11057     int ecode2 = 0 ;
11058     int argvi = 0;
11059     _gsl_vector_int_const_view result;
11060     dXSARGS;
11061 
11062     if ((items < 2) || (items > 2)) {
11063       SWIG_croak("Usage: gsl_matrix_int_const_subdiagonal(m,k);");
11064     }
11065     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
11066     if (!SWIG_IsOK(res1)) {
11067       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_const_subdiagonal" "', argument " "1"" of type '" "gsl_matrix_int const *""'");
11068     }
11069     arg1 = (gsl_matrix_int *)(argp1);
11070     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
11071     if (!SWIG_IsOK(ecode2)) {
11072       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_int_const_subdiagonal" "', argument " "2"" of type '" "size_t""'");
11073     }
11074     arg2 = (size_t)(val2);
11075     result = gsl_matrix_int_const_subdiagonal((gsl_matrix_int const *)arg1,arg2);
11076     ST(argvi) = SWIG_NewPointerObj((_gsl_vector_int_const_view *)memcpy((_gsl_vector_int_const_view *)calloc(1,sizeof(_gsl_vector_int_const_view)),&result,sizeof(_gsl_vector_int_const_view)), SWIGTYPE_p__gsl_vector_int_const_view, SWIG_POINTER_OWN | 0); argvi++ ;
11077 
11078 
11079     XSRETURN(argvi);
11080   fail:
11081 
11082 
11083     SWIG_croak_null();
11084   }
11085 }
11086 
11087 
XS(_wrap_gsl_matrix_int_const_superdiagonal)11088 XS(_wrap_gsl_matrix_int_const_superdiagonal) {
11089   {
11090     gsl_matrix_int *arg1 = (gsl_matrix_int *) 0 ;
11091     size_t arg2 ;
11092     void *argp1 = 0 ;
11093     int res1 = 0 ;
11094     size_t val2 ;
11095     int ecode2 = 0 ;
11096     int argvi = 0;
11097     _gsl_vector_int_const_view result;
11098     dXSARGS;
11099 
11100     if ((items < 2) || (items > 2)) {
11101       SWIG_croak("Usage: gsl_matrix_int_const_superdiagonal(m,k);");
11102     }
11103     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
11104     if (!SWIG_IsOK(res1)) {
11105       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_const_superdiagonal" "', argument " "1"" of type '" "gsl_matrix_int const *""'");
11106     }
11107     arg1 = (gsl_matrix_int *)(argp1);
11108     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
11109     if (!SWIG_IsOK(ecode2)) {
11110       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_int_const_superdiagonal" "', argument " "2"" of type '" "size_t""'");
11111     }
11112     arg2 = (size_t)(val2);
11113     result = gsl_matrix_int_const_superdiagonal((gsl_matrix_int const *)arg1,arg2);
11114     ST(argvi) = SWIG_NewPointerObj((_gsl_vector_int_const_view *)memcpy((_gsl_vector_int_const_view *)calloc(1,sizeof(_gsl_vector_int_const_view)),&result,sizeof(_gsl_vector_int_const_view)), SWIGTYPE_p__gsl_vector_int_const_view, SWIG_POINTER_OWN | 0); argvi++ ;
11115 
11116 
11117     XSRETURN(argvi);
11118   fail:
11119 
11120 
11121     SWIG_croak_null();
11122   }
11123 }
11124 
11125 
XS(_wrap_gsl_matrix_int_const_subrow)11126 XS(_wrap_gsl_matrix_int_const_subrow) {
11127   {
11128     gsl_matrix_int *arg1 = (gsl_matrix_int *) 0 ;
11129     size_t arg2 ;
11130     size_t arg3 ;
11131     size_t arg4 ;
11132     void *argp1 = 0 ;
11133     int res1 = 0 ;
11134     size_t val2 ;
11135     int ecode2 = 0 ;
11136     size_t val3 ;
11137     int ecode3 = 0 ;
11138     size_t val4 ;
11139     int ecode4 = 0 ;
11140     int argvi = 0;
11141     _gsl_vector_int_const_view result;
11142     dXSARGS;
11143 
11144     if ((items < 4) || (items > 4)) {
11145       SWIG_croak("Usage: gsl_matrix_int_const_subrow(m,i,offset,n);");
11146     }
11147     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
11148     if (!SWIG_IsOK(res1)) {
11149       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_const_subrow" "', argument " "1"" of type '" "gsl_matrix_int const *""'");
11150     }
11151     arg1 = (gsl_matrix_int *)(argp1);
11152     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
11153     if (!SWIG_IsOK(ecode2)) {
11154       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_int_const_subrow" "', argument " "2"" of type '" "size_t""'");
11155     }
11156     arg2 = (size_t)(val2);
11157     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
11158     if (!SWIG_IsOK(ecode3)) {
11159       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_int_const_subrow" "', argument " "3"" of type '" "size_t""'");
11160     }
11161     arg3 = (size_t)(val3);
11162     ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
11163     if (!SWIG_IsOK(ecode4)) {
11164       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_matrix_int_const_subrow" "', argument " "4"" of type '" "size_t""'");
11165     }
11166     arg4 = (size_t)(val4);
11167     result = gsl_matrix_int_const_subrow((gsl_matrix_int const *)arg1,arg2,arg3,arg4);
11168     ST(argvi) = SWIG_NewPointerObj((_gsl_vector_int_const_view *)memcpy((_gsl_vector_int_const_view *)calloc(1,sizeof(_gsl_vector_int_const_view)),&result,sizeof(_gsl_vector_int_const_view)), SWIGTYPE_p__gsl_vector_int_const_view, SWIG_POINTER_OWN | 0); argvi++ ;
11169 
11170 
11171 
11172 
11173     XSRETURN(argvi);
11174   fail:
11175 
11176 
11177 
11178 
11179     SWIG_croak_null();
11180   }
11181 }
11182 
11183 
XS(_wrap_gsl_matrix_int_const_subcolumn)11184 XS(_wrap_gsl_matrix_int_const_subcolumn) {
11185   {
11186     gsl_matrix_int *arg1 = (gsl_matrix_int *) 0 ;
11187     size_t arg2 ;
11188     size_t arg3 ;
11189     size_t arg4 ;
11190     void *argp1 = 0 ;
11191     int res1 = 0 ;
11192     size_t val2 ;
11193     int ecode2 = 0 ;
11194     size_t val3 ;
11195     int ecode3 = 0 ;
11196     size_t val4 ;
11197     int ecode4 = 0 ;
11198     int argvi = 0;
11199     _gsl_vector_int_const_view result;
11200     dXSARGS;
11201 
11202     if ((items < 4) || (items > 4)) {
11203       SWIG_croak("Usage: gsl_matrix_int_const_subcolumn(m,j,offset,n);");
11204     }
11205     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
11206     if (!SWIG_IsOK(res1)) {
11207       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_const_subcolumn" "', argument " "1"" of type '" "gsl_matrix_int const *""'");
11208     }
11209     arg1 = (gsl_matrix_int *)(argp1);
11210     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
11211     if (!SWIG_IsOK(ecode2)) {
11212       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_int_const_subcolumn" "', argument " "2"" of type '" "size_t""'");
11213     }
11214     arg2 = (size_t)(val2);
11215     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
11216     if (!SWIG_IsOK(ecode3)) {
11217       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_int_const_subcolumn" "', argument " "3"" of type '" "size_t""'");
11218     }
11219     arg3 = (size_t)(val3);
11220     ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
11221     if (!SWIG_IsOK(ecode4)) {
11222       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_matrix_int_const_subcolumn" "', argument " "4"" of type '" "size_t""'");
11223     }
11224     arg4 = (size_t)(val4);
11225     result = gsl_matrix_int_const_subcolumn((gsl_matrix_int const *)arg1,arg2,arg3,arg4);
11226     ST(argvi) = SWIG_NewPointerObj((_gsl_vector_int_const_view *)memcpy((_gsl_vector_int_const_view *)calloc(1,sizeof(_gsl_vector_int_const_view)),&result,sizeof(_gsl_vector_int_const_view)), SWIGTYPE_p__gsl_vector_int_const_view, SWIG_POINTER_OWN | 0); argvi++ ;
11227 
11228 
11229 
11230 
11231     XSRETURN(argvi);
11232   fail:
11233 
11234 
11235 
11236 
11237     SWIG_croak_null();
11238   }
11239 }
11240 
11241 
XS(_wrap_gsl_matrix_int_const_view_array)11242 XS(_wrap_gsl_matrix_int_const_view_array) {
11243   {
11244     int *arg1 = (int *) 0 ;
11245     size_t arg2 ;
11246     size_t arg3 ;
11247     void *argp1 = 0 ;
11248     int res1 = 0 ;
11249     size_t val2 ;
11250     int ecode2 = 0 ;
11251     size_t val3 ;
11252     int ecode3 = 0 ;
11253     int argvi = 0;
11254     _gsl_matrix_int_const_view result;
11255     dXSARGS;
11256 
11257     if ((items < 3) || (items > 3)) {
11258       SWIG_croak("Usage: gsl_matrix_int_const_view_array(base,n1,n2);");
11259     }
11260     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_int, 0 |  0 );
11261     if (!SWIG_IsOK(res1)) {
11262       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_const_view_array" "', argument " "1"" of type '" "int const *""'");
11263     }
11264     arg1 = (int *)(argp1);
11265     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
11266     if (!SWIG_IsOK(ecode2)) {
11267       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_int_const_view_array" "', argument " "2"" of type '" "size_t""'");
11268     }
11269     arg2 = (size_t)(val2);
11270     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
11271     if (!SWIG_IsOK(ecode3)) {
11272       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_int_const_view_array" "', argument " "3"" of type '" "size_t""'");
11273     }
11274     arg3 = (size_t)(val3);
11275     result = gsl_matrix_int_const_view_array((int const *)arg1,arg2,arg3);
11276     ST(argvi) = SWIG_NewPointerObj((_gsl_matrix_int_const_view *)memcpy((_gsl_matrix_int_const_view *)calloc(1,sizeof(_gsl_matrix_int_const_view)),&result,sizeof(_gsl_matrix_int_const_view)), SWIGTYPE_p__gsl_matrix_int_const_view, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
11277 
11278 
11279 
11280     XSRETURN(argvi);
11281   fail:
11282 
11283 
11284 
11285     SWIG_croak_null();
11286   }
11287 }
11288 
11289 
XS(_wrap_gsl_matrix_int_const_view_array_with_tda)11290 XS(_wrap_gsl_matrix_int_const_view_array_with_tda) {
11291   {
11292     int *arg1 = (int *) 0 ;
11293     size_t arg2 ;
11294     size_t arg3 ;
11295     size_t arg4 ;
11296     void *argp1 = 0 ;
11297     int res1 = 0 ;
11298     size_t val2 ;
11299     int ecode2 = 0 ;
11300     size_t val3 ;
11301     int ecode3 = 0 ;
11302     size_t val4 ;
11303     int ecode4 = 0 ;
11304     int argvi = 0;
11305     _gsl_matrix_int_const_view result;
11306     dXSARGS;
11307 
11308     if ((items < 4) || (items > 4)) {
11309       SWIG_croak("Usage: gsl_matrix_int_const_view_array_with_tda(base,n1,n2,tda);");
11310     }
11311     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_int, 0 |  0 );
11312     if (!SWIG_IsOK(res1)) {
11313       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_const_view_array_with_tda" "', argument " "1"" of type '" "int const *""'");
11314     }
11315     arg1 = (int *)(argp1);
11316     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
11317     if (!SWIG_IsOK(ecode2)) {
11318       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_int_const_view_array_with_tda" "', argument " "2"" of type '" "size_t""'");
11319     }
11320     arg2 = (size_t)(val2);
11321     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
11322     if (!SWIG_IsOK(ecode3)) {
11323       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_int_const_view_array_with_tda" "', argument " "3"" of type '" "size_t""'");
11324     }
11325     arg3 = (size_t)(val3);
11326     ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
11327     if (!SWIG_IsOK(ecode4)) {
11328       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_matrix_int_const_view_array_with_tda" "', argument " "4"" of type '" "size_t""'");
11329     }
11330     arg4 = (size_t)(val4);
11331     result = gsl_matrix_int_const_view_array_with_tda((int const *)arg1,arg2,arg3,arg4);
11332     ST(argvi) = SWIG_NewPointerObj((_gsl_matrix_int_const_view *)memcpy((_gsl_matrix_int_const_view *)calloc(1,sizeof(_gsl_matrix_int_const_view)),&result,sizeof(_gsl_matrix_int_const_view)), SWIGTYPE_p__gsl_matrix_int_const_view, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
11333 
11334 
11335 
11336 
11337     XSRETURN(argvi);
11338   fail:
11339 
11340 
11341 
11342 
11343     SWIG_croak_null();
11344   }
11345 }
11346 
11347 
XS(_wrap_gsl_matrix_int_const_view_vector)11348 XS(_wrap_gsl_matrix_int_const_view_vector) {
11349   {
11350     gsl_vector_int *arg1 = (gsl_vector_int *) 0 ;
11351     size_t arg2 ;
11352     size_t arg3 ;
11353     void *argp1 = 0 ;
11354     int res1 = 0 ;
11355     size_t val2 ;
11356     int ecode2 = 0 ;
11357     size_t val3 ;
11358     int ecode3 = 0 ;
11359     int argvi = 0;
11360     _gsl_matrix_int_const_view result;
11361     dXSARGS;
11362 
11363     if ((items < 3) || (items > 3)) {
11364       SWIG_croak("Usage: gsl_matrix_int_const_view_vector(v,n1,n2);");
11365     }
11366     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_int, 0 |  0 );
11367     if (!SWIG_IsOK(res1)) {
11368       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_const_view_vector" "', argument " "1"" of type '" "gsl_vector_int const *""'");
11369     }
11370     arg1 = (gsl_vector_int *)(argp1);
11371     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
11372     if (!SWIG_IsOK(ecode2)) {
11373       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_int_const_view_vector" "', argument " "2"" of type '" "size_t""'");
11374     }
11375     arg2 = (size_t)(val2);
11376     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
11377     if (!SWIG_IsOK(ecode3)) {
11378       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_int_const_view_vector" "', argument " "3"" of type '" "size_t""'");
11379     }
11380     arg3 = (size_t)(val3);
11381     result = gsl_matrix_int_const_view_vector((gsl_vector_int const *)arg1,arg2,arg3);
11382     ST(argvi) = SWIG_NewPointerObj((_gsl_matrix_int_const_view *)memcpy((_gsl_matrix_int_const_view *)calloc(1,sizeof(_gsl_matrix_int_const_view)),&result,sizeof(_gsl_matrix_int_const_view)), SWIGTYPE_p__gsl_matrix_int_const_view, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
11383 
11384 
11385 
11386     XSRETURN(argvi);
11387   fail:
11388 
11389 
11390 
11391     SWIG_croak_null();
11392   }
11393 }
11394 
11395 
XS(_wrap_gsl_matrix_int_const_view_vector_with_tda)11396 XS(_wrap_gsl_matrix_int_const_view_vector_with_tda) {
11397   {
11398     gsl_vector_int *arg1 = (gsl_vector_int *) 0 ;
11399     size_t arg2 ;
11400     size_t arg3 ;
11401     size_t arg4 ;
11402     void *argp1 = 0 ;
11403     int res1 = 0 ;
11404     size_t val2 ;
11405     int ecode2 = 0 ;
11406     size_t val3 ;
11407     int ecode3 = 0 ;
11408     size_t val4 ;
11409     int ecode4 = 0 ;
11410     int argvi = 0;
11411     _gsl_matrix_int_const_view result;
11412     dXSARGS;
11413 
11414     if ((items < 4) || (items > 4)) {
11415       SWIG_croak("Usage: gsl_matrix_int_const_view_vector_with_tda(v,n1,n2,tda);");
11416     }
11417     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_int, 0 |  0 );
11418     if (!SWIG_IsOK(res1)) {
11419       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_const_view_vector_with_tda" "', argument " "1"" of type '" "gsl_vector_int const *""'");
11420     }
11421     arg1 = (gsl_vector_int *)(argp1);
11422     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
11423     if (!SWIG_IsOK(ecode2)) {
11424       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_int_const_view_vector_with_tda" "', argument " "2"" of type '" "size_t""'");
11425     }
11426     arg2 = (size_t)(val2);
11427     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
11428     if (!SWIG_IsOK(ecode3)) {
11429       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_int_const_view_vector_with_tda" "', argument " "3"" of type '" "size_t""'");
11430     }
11431     arg3 = (size_t)(val3);
11432     ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
11433     if (!SWIG_IsOK(ecode4)) {
11434       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_matrix_int_const_view_vector_with_tda" "', argument " "4"" of type '" "size_t""'");
11435     }
11436     arg4 = (size_t)(val4);
11437     result = gsl_matrix_int_const_view_vector_with_tda((gsl_vector_int const *)arg1,arg2,arg3,arg4);
11438     ST(argvi) = SWIG_NewPointerObj((_gsl_matrix_int_const_view *)memcpy((_gsl_matrix_int_const_view *)calloc(1,sizeof(_gsl_matrix_int_const_view)),&result,sizeof(_gsl_matrix_int_const_view)), SWIGTYPE_p__gsl_matrix_int_const_view, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
11439 
11440 
11441 
11442 
11443     XSRETURN(argvi);
11444   fail:
11445 
11446 
11447 
11448 
11449     SWIG_croak_null();
11450   }
11451 }
11452 
11453 
XS(_wrap_gsl_matrix_int_set_zero)11454 XS(_wrap_gsl_matrix_int_set_zero) {
11455   {
11456     gsl_matrix_int *arg1 = (gsl_matrix_int *) 0 ;
11457     void *argp1 = 0 ;
11458     int res1 = 0 ;
11459     int argvi = 0;
11460     dXSARGS;
11461 
11462     if ((items < 1) || (items > 1)) {
11463       SWIG_croak("Usage: gsl_matrix_int_set_zero(m);");
11464     }
11465     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
11466     if (!SWIG_IsOK(res1)) {
11467       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_set_zero" "', argument " "1"" of type '" "gsl_matrix_int *""'");
11468     }
11469     arg1 = (gsl_matrix_int *)(argp1);
11470     gsl_matrix_int_set_zero(arg1);
11471     ST(argvi) = &PL_sv_undef;
11472 
11473     XSRETURN(argvi);
11474   fail:
11475 
11476     SWIG_croak_null();
11477   }
11478 }
11479 
11480 
XS(_wrap_gsl_matrix_int_set_identity)11481 XS(_wrap_gsl_matrix_int_set_identity) {
11482   {
11483     gsl_matrix_int *arg1 = (gsl_matrix_int *) 0 ;
11484     void *argp1 = 0 ;
11485     int res1 = 0 ;
11486     int argvi = 0;
11487     dXSARGS;
11488 
11489     if ((items < 1) || (items > 1)) {
11490       SWIG_croak("Usage: gsl_matrix_int_set_identity(m);");
11491     }
11492     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
11493     if (!SWIG_IsOK(res1)) {
11494       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_set_identity" "', argument " "1"" of type '" "gsl_matrix_int *""'");
11495     }
11496     arg1 = (gsl_matrix_int *)(argp1);
11497     gsl_matrix_int_set_identity(arg1);
11498     ST(argvi) = &PL_sv_undef;
11499 
11500     XSRETURN(argvi);
11501   fail:
11502 
11503     SWIG_croak_null();
11504   }
11505 }
11506 
11507 
XS(_wrap_gsl_matrix_int_set_all)11508 XS(_wrap_gsl_matrix_int_set_all) {
11509   {
11510     gsl_matrix_int *arg1 = (gsl_matrix_int *) 0 ;
11511     int arg2 ;
11512     void *argp1 = 0 ;
11513     int res1 = 0 ;
11514     int val2 ;
11515     int ecode2 = 0 ;
11516     int argvi = 0;
11517     dXSARGS;
11518 
11519     if ((items < 2) || (items > 2)) {
11520       SWIG_croak("Usage: gsl_matrix_int_set_all(m,x);");
11521     }
11522     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
11523     if (!SWIG_IsOK(res1)) {
11524       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_set_all" "', argument " "1"" of type '" "gsl_matrix_int *""'");
11525     }
11526     arg1 = (gsl_matrix_int *)(argp1);
11527     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
11528     if (!SWIG_IsOK(ecode2)) {
11529       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_int_set_all" "', argument " "2"" of type '" "int""'");
11530     }
11531     arg2 = (int)(val2);
11532     gsl_matrix_int_set_all(arg1,arg2);
11533     ST(argvi) = &PL_sv_undef;
11534 
11535 
11536     XSRETURN(argvi);
11537   fail:
11538 
11539 
11540     SWIG_croak_null();
11541   }
11542 }
11543 
11544 
XS(_wrap_gsl_matrix_int_fread)11545 XS(_wrap_gsl_matrix_int_fread) {
11546   {
11547     FILE *arg1 = (FILE *) 0 ;
11548     gsl_matrix_int *arg2 = (gsl_matrix_int *) 0 ;
11549     void *argp1 = 0 ;
11550     int res1 = 0 ;
11551     void *argp2 = 0 ;
11552     int res2 = 0 ;
11553     int argvi = 0;
11554     int result;
11555     dXSARGS;
11556 
11557     if ((items < 2) || (items > 2)) {
11558       SWIG_croak("Usage: gsl_matrix_int_fread(stream,m);");
11559     }
11560     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_FILE, 0 |  0 );
11561     if (!SWIG_IsOK(res1)) {
11562       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_fread" "', argument " "1"" of type '" "FILE *""'");
11563     }
11564     arg1 = (FILE *)(argp1);
11565     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
11566     if (!SWIG_IsOK(res2)) {
11567       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_int_fread" "', argument " "2"" of type '" "gsl_matrix_int *""'");
11568     }
11569     arg2 = (gsl_matrix_int *)(argp2);
11570     result = (int)gsl_matrix_int_fread(arg1,arg2);
11571     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
11572 
11573 
11574     XSRETURN(argvi);
11575   fail:
11576 
11577 
11578     SWIG_croak_null();
11579   }
11580 }
11581 
11582 
XS(_wrap_gsl_matrix_int_fwrite)11583 XS(_wrap_gsl_matrix_int_fwrite) {
11584   {
11585     FILE *arg1 = (FILE *) 0 ;
11586     gsl_matrix_int *arg2 = (gsl_matrix_int *) 0 ;
11587     void *argp1 = 0 ;
11588     int res1 = 0 ;
11589     void *argp2 = 0 ;
11590     int res2 = 0 ;
11591     int argvi = 0;
11592     int result;
11593     dXSARGS;
11594 
11595     if ((items < 2) || (items > 2)) {
11596       SWIG_croak("Usage: gsl_matrix_int_fwrite(stream,m);");
11597     }
11598     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_FILE, 0 |  0 );
11599     if (!SWIG_IsOK(res1)) {
11600       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_fwrite" "', argument " "1"" of type '" "FILE *""'");
11601     }
11602     arg1 = (FILE *)(argp1);
11603     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
11604     if (!SWIG_IsOK(res2)) {
11605       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_int_fwrite" "', argument " "2"" of type '" "gsl_matrix_int const *""'");
11606     }
11607     arg2 = (gsl_matrix_int *)(argp2);
11608     result = (int)gsl_matrix_int_fwrite(arg1,(gsl_matrix_int const *)arg2);
11609     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
11610 
11611 
11612     XSRETURN(argvi);
11613   fail:
11614 
11615 
11616     SWIG_croak_null();
11617   }
11618 }
11619 
11620 
XS(_wrap_gsl_matrix_int_fscanf)11621 XS(_wrap_gsl_matrix_int_fscanf) {
11622   {
11623     FILE *arg1 = (FILE *) 0 ;
11624     gsl_matrix_int *arg2 = (gsl_matrix_int *) 0 ;
11625     void *argp1 = 0 ;
11626     int res1 = 0 ;
11627     void *argp2 = 0 ;
11628     int res2 = 0 ;
11629     int argvi = 0;
11630     int result;
11631     dXSARGS;
11632 
11633     if ((items < 2) || (items > 2)) {
11634       SWIG_croak("Usage: gsl_matrix_int_fscanf(stream,m);");
11635     }
11636     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_FILE, 0 |  0 );
11637     if (!SWIG_IsOK(res1)) {
11638       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_fscanf" "', argument " "1"" of type '" "FILE *""'");
11639     }
11640     arg1 = (FILE *)(argp1);
11641     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
11642     if (!SWIG_IsOK(res2)) {
11643       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_int_fscanf" "', argument " "2"" of type '" "gsl_matrix_int *""'");
11644     }
11645     arg2 = (gsl_matrix_int *)(argp2);
11646     result = (int)gsl_matrix_int_fscanf(arg1,arg2);
11647     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
11648 
11649 
11650     XSRETURN(argvi);
11651   fail:
11652 
11653 
11654     SWIG_croak_null();
11655   }
11656 }
11657 
11658 
XS(_wrap_gsl_matrix_int_fprintf)11659 XS(_wrap_gsl_matrix_int_fprintf) {
11660   {
11661     FILE *arg1 = (FILE *) 0 ;
11662     gsl_matrix_int *arg2 = (gsl_matrix_int *) 0 ;
11663     char *arg3 = (char *) 0 ;
11664     void *argp1 = 0 ;
11665     int res1 = 0 ;
11666     void *argp2 = 0 ;
11667     int res2 = 0 ;
11668     int res3 ;
11669     char *buf3 = 0 ;
11670     int alloc3 = 0 ;
11671     int argvi = 0;
11672     int result;
11673     dXSARGS;
11674 
11675     if ((items < 3) || (items > 3)) {
11676       SWIG_croak("Usage: gsl_matrix_int_fprintf(stream,m,format);");
11677     }
11678     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_FILE, 0 |  0 );
11679     if (!SWIG_IsOK(res1)) {
11680       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_fprintf" "', argument " "1"" of type '" "FILE *""'");
11681     }
11682     arg1 = (FILE *)(argp1);
11683     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
11684     if (!SWIG_IsOK(res2)) {
11685       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_int_fprintf" "', argument " "2"" of type '" "gsl_matrix_int const *""'");
11686     }
11687     arg2 = (gsl_matrix_int *)(argp2);
11688     res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
11689     if (!SWIG_IsOK(res3)) {
11690       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_matrix_int_fprintf" "', argument " "3"" of type '" "char const *""'");
11691     }
11692     arg3 = (char *)(buf3);
11693     result = (int)gsl_matrix_int_fprintf(arg1,(gsl_matrix_int const *)arg2,(char const *)arg3);
11694     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
11695 
11696 
11697     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
11698     XSRETURN(argvi);
11699   fail:
11700 
11701 
11702     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
11703     SWIG_croak_null();
11704   }
11705 }
11706 
11707 
XS(_wrap_gsl_matrix_int_memcpy)11708 XS(_wrap_gsl_matrix_int_memcpy) {
11709   {
11710     gsl_matrix_int *arg1 = (gsl_matrix_int *) 0 ;
11711     gsl_matrix_int *arg2 = (gsl_matrix_int *) 0 ;
11712     void *argp1 = 0 ;
11713     int res1 = 0 ;
11714     void *argp2 = 0 ;
11715     int res2 = 0 ;
11716     int argvi = 0;
11717     int result;
11718     dXSARGS;
11719 
11720     if ((items < 2) || (items > 2)) {
11721       SWIG_croak("Usage: gsl_matrix_int_memcpy(dest,src);");
11722     }
11723     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
11724     if (!SWIG_IsOK(res1)) {
11725       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_memcpy" "', argument " "1"" of type '" "gsl_matrix_int *""'");
11726     }
11727     arg1 = (gsl_matrix_int *)(argp1);
11728     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
11729     if (!SWIG_IsOK(res2)) {
11730       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_int_memcpy" "', argument " "2"" of type '" "gsl_matrix_int const *""'");
11731     }
11732     arg2 = (gsl_matrix_int *)(argp2);
11733     result = (int)gsl_matrix_int_memcpy(arg1,(gsl_matrix_int const *)arg2);
11734     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
11735 
11736 
11737     XSRETURN(argvi);
11738   fail:
11739 
11740 
11741     SWIG_croak_null();
11742   }
11743 }
11744 
11745 
XS(_wrap_gsl_matrix_int_swap)11746 XS(_wrap_gsl_matrix_int_swap) {
11747   {
11748     gsl_matrix_int *arg1 = (gsl_matrix_int *) 0 ;
11749     gsl_matrix_int *arg2 = (gsl_matrix_int *) 0 ;
11750     void *argp1 = 0 ;
11751     int res1 = 0 ;
11752     void *argp2 = 0 ;
11753     int res2 = 0 ;
11754     int argvi = 0;
11755     int result;
11756     dXSARGS;
11757 
11758     if ((items < 2) || (items > 2)) {
11759       SWIG_croak("Usage: gsl_matrix_int_swap(m1,m2);");
11760     }
11761     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
11762     if (!SWIG_IsOK(res1)) {
11763       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_swap" "', argument " "1"" of type '" "gsl_matrix_int *""'");
11764     }
11765     arg1 = (gsl_matrix_int *)(argp1);
11766     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
11767     if (!SWIG_IsOK(res2)) {
11768       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_int_swap" "', argument " "2"" of type '" "gsl_matrix_int *""'");
11769     }
11770     arg2 = (gsl_matrix_int *)(argp2);
11771     result = (int)gsl_matrix_int_swap(arg1,arg2);
11772     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
11773 
11774 
11775     XSRETURN(argvi);
11776   fail:
11777 
11778 
11779     SWIG_croak_null();
11780   }
11781 }
11782 
11783 
XS(_wrap_gsl_matrix_int_tricpy)11784 XS(_wrap_gsl_matrix_int_tricpy) {
11785   {
11786     CBLAS_UPLO_t arg1 ;
11787     CBLAS_DIAG_t arg2 ;
11788     gsl_matrix_int *arg3 = (gsl_matrix_int *) 0 ;
11789     gsl_matrix_int *arg4 = (gsl_matrix_int *) 0 ;
11790     int val1 ;
11791     int ecode1 = 0 ;
11792     int val2 ;
11793     int ecode2 = 0 ;
11794     void *argp3 = 0 ;
11795     int res3 = 0 ;
11796     void *argp4 = 0 ;
11797     int res4 = 0 ;
11798     int argvi = 0;
11799     int result;
11800     dXSARGS;
11801 
11802     if ((items < 4) || (items > 4)) {
11803       SWIG_croak("Usage: gsl_matrix_int_tricpy(Uplo,Diag,dest,src);");
11804     }
11805     ecode1 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
11806     if (!SWIG_IsOK(ecode1)) {
11807       SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_matrix_int_tricpy" "', argument " "1"" of type '" "CBLAS_UPLO_t""'");
11808     }
11809     arg1 = (CBLAS_UPLO_t)(val1);
11810     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
11811     if (!SWIG_IsOK(ecode2)) {
11812       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_int_tricpy" "', argument " "2"" of type '" "CBLAS_DIAG_t""'");
11813     }
11814     arg2 = (CBLAS_DIAG_t)(val2);
11815     res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
11816     if (!SWIG_IsOK(res3)) {
11817       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_matrix_int_tricpy" "', argument " "3"" of type '" "gsl_matrix_int *""'");
11818     }
11819     arg3 = (gsl_matrix_int *)(argp3);
11820     res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
11821     if (!SWIG_IsOK(res4)) {
11822       SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_matrix_int_tricpy" "', argument " "4"" of type '" "gsl_matrix_int const *""'");
11823     }
11824     arg4 = (gsl_matrix_int *)(argp4);
11825     result = (int)gsl_matrix_int_tricpy(arg1,arg2,arg3,(gsl_matrix_int const *)arg4);
11826     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
11827 
11828 
11829 
11830 
11831     XSRETURN(argvi);
11832   fail:
11833 
11834 
11835 
11836 
11837     SWIG_croak_null();
11838   }
11839 }
11840 
11841 
XS(_wrap_gsl_matrix_int_swap_rows)11842 XS(_wrap_gsl_matrix_int_swap_rows) {
11843   {
11844     gsl_matrix_int *arg1 = (gsl_matrix_int *) 0 ;
11845     size_t arg2 ;
11846     size_t arg3 ;
11847     void *argp1 = 0 ;
11848     int res1 = 0 ;
11849     size_t val2 ;
11850     int ecode2 = 0 ;
11851     size_t val3 ;
11852     int ecode3 = 0 ;
11853     int argvi = 0;
11854     int result;
11855     dXSARGS;
11856 
11857     if ((items < 3) || (items > 3)) {
11858       SWIG_croak("Usage: gsl_matrix_int_swap_rows(m,i,j);");
11859     }
11860     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
11861     if (!SWIG_IsOK(res1)) {
11862       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_swap_rows" "', argument " "1"" of type '" "gsl_matrix_int *""'");
11863     }
11864     arg1 = (gsl_matrix_int *)(argp1);
11865     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
11866     if (!SWIG_IsOK(ecode2)) {
11867       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_int_swap_rows" "', argument " "2"" of type '" "size_t""'");
11868     }
11869     arg2 = (size_t)(val2);
11870     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
11871     if (!SWIG_IsOK(ecode3)) {
11872       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_int_swap_rows" "', argument " "3"" of type '" "size_t""'");
11873     }
11874     arg3 = (size_t)(val3);
11875     result = (int)gsl_matrix_int_swap_rows(arg1,arg2,arg3);
11876     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
11877 
11878 
11879 
11880     XSRETURN(argvi);
11881   fail:
11882 
11883 
11884 
11885     SWIG_croak_null();
11886   }
11887 }
11888 
11889 
XS(_wrap_gsl_matrix_int_swap_columns)11890 XS(_wrap_gsl_matrix_int_swap_columns) {
11891   {
11892     gsl_matrix_int *arg1 = (gsl_matrix_int *) 0 ;
11893     size_t arg2 ;
11894     size_t arg3 ;
11895     void *argp1 = 0 ;
11896     int res1 = 0 ;
11897     size_t val2 ;
11898     int ecode2 = 0 ;
11899     size_t val3 ;
11900     int ecode3 = 0 ;
11901     int argvi = 0;
11902     int result;
11903     dXSARGS;
11904 
11905     if ((items < 3) || (items > 3)) {
11906       SWIG_croak("Usage: gsl_matrix_int_swap_columns(m,i,j);");
11907     }
11908     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
11909     if (!SWIG_IsOK(res1)) {
11910       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_swap_columns" "', argument " "1"" of type '" "gsl_matrix_int *""'");
11911     }
11912     arg1 = (gsl_matrix_int *)(argp1);
11913     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
11914     if (!SWIG_IsOK(ecode2)) {
11915       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_int_swap_columns" "', argument " "2"" of type '" "size_t""'");
11916     }
11917     arg2 = (size_t)(val2);
11918     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
11919     if (!SWIG_IsOK(ecode3)) {
11920       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_int_swap_columns" "', argument " "3"" of type '" "size_t""'");
11921     }
11922     arg3 = (size_t)(val3);
11923     result = (int)gsl_matrix_int_swap_columns(arg1,arg2,arg3);
11924     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
11925 
11926 
11927 
11928     XSRETURN(argvi);
11929   fail:
11930 
11931 
11932 
11933     SWIG_croak_null();
11934   }
11935 }
11936 
11937 
XS(_wrap_gsl_matrix_int_swap_rowcol)11938 XS(_wrap_gsl_matrix_int_swap_rowcol) {
11939   {
11940     gsl_matrix_int *arg1 = (gsl_matrix_int *) 0 ;
11941     size_t arg2 ;
11942     size_t arg3 ;
11943     void *argp1 = 0 ;
11944     int res1 = 0 ;
11945     size_t val2 ;
11946     int ecode2 = 0 ;
11947     size_t val3 ;
11948     int ecode3 = 0 ;
11949     int argvi = 0;
11950     int result;
11951     dXSARGS;
11952 
11953     if ((items < 3) || (items > 3)) {
11954       SWIG_croak("Usage: gsl_matrix_int_swap_rowcol(m,i,j);");
11955     }
11956     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
11957     if (!SWIG_IsOK(res1)) {
11958       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_swap_rowcol" "', argument " "1"" of type '" "gsl_matrix_int *""'");
11959     }
11960     arg1 = (gsl_matrix_int *)(argp1);
11961     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
11962     if (!SWIG_IsOK(ecode2)) {
11963       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_int_swap_rowcol" "', argument " "2"" of type '" "size_t""'");
11964     }
11965     arg2 = (size_t)(val2);
11966     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
11967     if (!SWIG_IsOK(ecode3)) {
11968       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_int_swap_rowcol" "', argument " "3"" of type '" "size_t""'");
11969     }
11970     arg3 = (size_t)(val3);
11971     result = (int)gsl_matrix_int_swap_rowcol(arg1,arg2,arg3);
11972     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
11973 
11974 
11975 
11976     XSRETURN(argvi);
11977   fail:
11978 
11979 
11980 
11981     SWIG_croak_null();
11982   }
11983 }
11984 
11985 
XS(_wrap_gsl_matrix_int_transpose)11986 XS(_wrap_gsl_matrix_int_transpose) {
11987   {
11988     gsl_matrix_int *arg1 = (gsl_matrix_int *) 0 ;
11989     void *argp1 = 0 ;
11990     int res1 = 0 ;
11991     int argvi = 0;
11992     int result;
11993     dXSARGS;
11994 
11995     if ((items < 1) || (items > 1)) {
11996       SWIG_croak("Usage: gsl_matrix_int_transpose(m);");
11997     }
11998     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
11999     if (!SWIG_IsOK(res1)) {
12000       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_transpose" "', argument " "1"" of type '" "gsl_matrix_int *""'");
12001     }
12002     arg1 = (gsl_matrix_int *)(argp1);
12003     result = (int)gsl_matrix_int_transpose(arg1);
12004     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
12005 
12006     XSRETURN(argvi);
12007   fail:
12008 
12009     SWIG_croak_null();
12010   }
12011 }
12012 
12013 
XS(_wrap_gsl_matrix_int_transpose_memcpy)12014 XS(_wrap_gsl_matrix_int_transpose_memcpy) {
12015   {
12016     gsl_matrix_int *arg1 = (gsl_matrix_int *) 0 ;
12017     gsl_matrix_int *arg2 = (gsl_matrix_int *) 0 ;
12018     void *argp1 = 0 ;
12019     int res1 = 0 ;
12020     void *argp2 = 0 ;
12021     int res2 = 0 ;
12022     int argvi = 0;
12023     int result;
12024     dXSARGS;
12025 
12026     if ((items < 2) || (items > 2)) {
12027       SWIG_croak("Usage: gsl_matrix_int_transpose_memcpy(dest,src);");
12028     }
12029     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
12030     if (!SWIG_IsOK(res1)) {
12031       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_transpose_memcpy" "', argument " "1"" of type '" "gsl_matrix_int *""'");
12032     }
12033     arg1 = (gsl_matrix_int *)(argp1);
12034     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
12035     if (!SWIG_IsOK(res2)) {
12036       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_int_transpose_memcpy" "', argument " "2"" of type '" "gsl_matrix_int const *""'");
12037     }
12038     arg2 = (gsl_matrix_int *)(argp2);
12039     result = (int)gsl_matrix_int_transpose_memcpy(arg1,(gsl_matrix_int const *)arg2);
12040     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
12041 
12042 
12043     XSRETURN(argvi);
12044   fail:
12045 
12046 
12047     SWIG_croak_null();
12048   }
12049 }
12050 
12051 
XS(_wrap_gsl_matrix_int_transpose_tricpy)12052 XS(_wrap_gsl_matrix_int_transpose_tricpy) {
12053   {
12054     CBLAS_UPLO_t arg1 ;
12055     CBLAS_DIAG_t arg2 ;
12056     gsl_matrix_int *arg3 = (gsl_matrix_int *) 0 ;
12057     gsl_matrix_int *arg4 = (gsl_matrix_int *) 0 ;
12058     int val1 ;
12059     int ecode1 = 0 ;
12060     int val2 ;
12061     int ecode2 = 0 ;
12062     void *argp3 = 0 ;
12063     int res3 = 0 ;
12064     void *argp4 = 0 ;
12065     int res4 = 0 ;
12066     int argvi = 0;
12067     int result;
12068     dXSARGS;
12069 
12070     if ((items < 4) || (items > 4)) {
12071       SWIG_croak("Usage: gsl_matrix_int_transpose_tricpy(Uplo_src,Diag,dest,src);");
12072     }
12073     ecode1 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
12074     if (!SWIG_IsOK(ecode1)) {
12075       SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_matrix_int_transpose_tricpy" "', argument " "1"" of type '" "CBLAS_UPLO_t""'");
12076     }
12077     arg1 = (CBLAS_UPLO_t)(val1);
12078     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
12079     if (!SWIG_IsOK(ecode2)) {
12080       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_int_transpose_tricpy" "', argument " "2"" of type '" "CBLAS_DIAG_t""'");
12081     }
12082     arg2 = (CBLAS_DIAG_t)(val2);
12083     res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
12084     if (!SWIG_IsOK(res3)) {
12085       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_matrix_int_transpose_tricpy" "', argument " "3"" of type '" "gsl_matrix_int *""'");
12086     }
12087     arg3 = (gsl_matrix_int *)(argp3);
12088     res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
12089     if (!SWIG_IsOK(res4)) {
12090       SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_matrix_int_transpose_tricpy" "', argument " "4"" of type '" "gsl_matrix_int const *""'");
12091     }
12092     arg4 = (gsl_matrix_int *)(argp4);
12093     result = (int)gsl_matrix_int_transpose_tricpy(arg1,arg2,arg3,(gsl_matrix_int const *)arg4);
12094     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
12095 
12096 
12097 
12098 
12099     XSRETURN(argvi);
12100   fail:
12101 
12102 
12103 
12104 
12105     SWIG_croak_null();
12106   }
12107 }
12108 
12109 
XS(_wrap_gsl_matrix_int_max)12110 XS(_wrap_gsl_matrix_int_max) {
12111   {
12112     gsl_matrix_int *arg1 = (gsl_matrix_int *) 0 ;
12113     void *argp1 = 0 ;
12114     int res1 = 0 ;
12115     int argvi = 0;
12116     int result;
12117     dXSARGS;
12118 
12119     if ((items < 1) || (items > 1)) {
12120       SWIG_croak("Usage: gsl_matrix_int_max(m);");
12121     }
12122     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
12123     if (!SWIG_IsOK(res1)) {
12124       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_max" "', argument " "1"" of type '" "gsl_matrix_int const *""'");
12125     }
12126     arg1 = (gsl_matrix_int *)(argp1);
12127     result = (int)gsl_matrix_int_max((gsl_matrix_int const *)arg1);
12128     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
12129 
12130     XSRETURN(argvi);
12131   fail:
12132 
12133     SWIG_croak_null();
12134   }
12135 }
12136 
12137 
XS(_wrap_gsl_matrix_int_min)12138 XS(_wrap_gsl_matrix_int_min) {
12139   {
12140     gsl_matrix_int *arg1 = (gsl_matrix_int *) 0 ;
12141     void *argp1 = 0 ;
12142     int res1 = 0 ;
12143     int argvi = 0;
12144     int result;
12145     dXSARGS;
12146 
12147     if ((items < 1) || (items > 1)) {
12148       SWIG_croak("Usage: gsl_matrix_int_min(m);");
12149     }
12150     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
12151     if (!SWIG_IsOK(res1)) {
12152       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_min" "', argument " "1"" of type '" "gsl_matrix_int const *""'");
12153     }
12154     arg1 = (gsl_matrix_int *)(argp1);
12155     result = (int)gsl_matrix_int_min((gsl_matrix_int const *)arg1);
12156     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
12157 
12158     XSRETURN(argvi);
12159   fail:
12160 
12161     SWIG_croak_null();
12162   }
12163 }
12164 
12165 
XS(_wrap_gsl_matrix_int_minmax)12166 XS(_wrap_gsl_matrix_int_minmax) {
12167   {
12168     gsl_matrix_int *arg1 = (gsl_matrix_int *) 0 ;
12169     int *arg2 = (int *) 0 ;
12170     int *arg3 = (int *) 0 ;
12171     void *argp1 = 0 ;
12172     int res1 = 0 ;
12173     void *argp2 = 0 ;
12174     int res2 = 0 ;
12175     void *argp3 = 0 ;
12176     int res3 = 0 ;
12177     int argvi = 0;
12178     dXSARGS;
12179 
12180     if ((items < 3) || (items > 3)) {
12181       SWIG_croak("Usage: gsl_matrix_int_minmax(m,min_out,max_out);");
12182     }
12183     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
12184     if (!SWIG_IsOK(res1)) {
12185       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_minmax" "', argument " "1"" of type '" "gsl_matrix_int const *""'");
12186     }
12187     arg1 = (gsl_matrix_int *)(argp1);
12188     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_int, 0 |  0 );
12189     if (!SWIG_IsOK(res2)) {
12190       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_int_minmax" "', argument " "2"" of type '" "int *""'");
12191     }
12192     arg2 = (int *)(argp2);
12193     res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_int, 0 |  0 );
12194     if (!SWIG_IsOK(res3)) {
12195       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_matrix_int_minmax" "', argument " "3"" of type '" "int *""'");
12196     }
12197     arg3 = (int *)(argp3);
12198     gsl_matrix_int_minmax((gsl_matrix_int const *)arg1,arg2,arg3);
12199     ST(argvi) = &PL_sv_undef;
12200 
12201 
12202 
12203     XSRETURN(argvi);
12204   fail:
12205 
12206 
12207 
12208     SWIG_croak_null();
12209   }
12210 }
12211 
12212 
XS(_wrap_gsl_matrix_int_max_index)12213 XS(_wrap_gsl_matrix_int_max_index) {
12214   {
12215     gsl_matrix_int *arg1 = (gsl_matrix_int *) 0 ;
12216     size_t *arg2 = (size_t *) 0 ;
12217     size_t *arg3 = (size_t *) 0 ;
12218     void *argp1 = 0 ;
12219     int res1 = 0 ;
12220     size_t temp2 ;
12221     int res2 = SWIG_TMPOBJ ;
12222     size_t temp3 ;
12223     int res3 = SWIG_TMPOBJ ;
12224     int argvi = 0;
12225     dXSARGS;
12226 
12227     arg2 = &temp2;
12228     arg3 = &temp3;
12229     if ((items < 1) || (items > 1)) {
12230       SWIG_croak("Usage: gsl_matrix_int_max_index(m);");
12231     }
12232     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
12233     if (!SWIG_IsOK(res1)) {
12234       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_max_index" "', argument " "1"" of type '" "gsl_matrix_int const *""'");
12235     }
12236     arg1 = (gsl_matrix_int *)(argp1);
12237     gsl_matrix_int_max_index((gsl_matrix_int const *)arg1,arg2,arg3);
12238     ST(argvi) = &PL_sv_undef;
12239     if (SWIG_IsTmpObj(res2)) {
12240       if (argvi >= items) EXTEND(sp, argvi+1);  ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((*arg2)); argvi++  ;
12241     } else {
12242       int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0) : 0;
12243       if (argvi >= items) EXTEND(sp, argvi+1);  ST(argvi) = SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_size_t, new_flags); argvi++  ;
12244     }
12245     if (SWIG_IsTmpObj(res3)) {
12246       if (argvi >= items) EXTEND(sp, argvi+1);  ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((*arg3)); argvi++  ;
12247     } else {
12248       int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0) : 0;
12249       if (argvi >= items) EXTEND(sp, argvi+1);  ST(argvi) = SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_size_t, new_flags); argvi++  ;
12250     }
12251 
12252 
12253 
12254     XSRETURN(argvi);
12255   fail:
12256 
12257 
12258 
12259     SWIG_croak_null();
12260   }
12261 }
12262 
12263 
XS(_wrap_gsl_matrix_int_min_index)12264 XS(_wrap_gsl_matrix_int_min_index) {
12265   {
12266     gsl_matrix_int *arg1 = (gsl_matrix_int *) 0 ;
12267     size_t *arg2 = (size_t *) 0 ;
12268     size_t *arg3 = (size_t *) 0 ;
12269     void *argp1 = 0 ;
12270     int res1 = 0 ;
12271     size_t temp2 ;
12272     int res2 = SWIG_TMPOBJ ;
12273     size_t temp3 ;
12274     int res3 = SWIG_TMPOBJ ;
12275     int argvi = 0;
12276     dXSARGS;
12277 
12278     arg2 = &temp2;
12279     arg3 = &temp3;
12280     if ((items < 1) || (items > 1)) {
12281       SWIG_croak("Usage: gsl_matrix_int_min_index(m);");
12282     }
12283     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
12284     if (!SWIG_IsOK(res1)) {
12285       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_min_index" "', argument " "1"" of type '" "gsl_matrix_int const *""'");
12286     }
12287     arg1 = (gsl_matrix_int *)(argp1);
12288     gsl_matrix_int_min_index((gsl_matrix_int const *)arg1,arg2,arg3);
12289     ST(argvi) = &PL_sv_undef;
12290     if (SWIG_IsTmpObj(res2)) {
12291       if (argvi >= items) EXTEND(sp, argvi+1);  ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((*arg2)); argvi++  ;
12292     } else {
12293       int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0) : 0;
12294       if (argvi >= items) EXTEND(sp, argvi+1);  ST(argvi) = SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_size_t, new_flags); argvi++  ;
12295     }
12296     if (SWIG_IsTmpObj(res3)) {
12297       if (argvi >= items) EXTEND(sp, argvi+1);  ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((*arg3)); argvi++  ;
12298     } else {
12299       int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0) : 0;
12300       if (argvi >= items) EXTEND(sp, argvi+1);  ST(argvi) = SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_size_t, new_flags); argvi++  ;
12301     }
12302 
12303 
12304 
12305     XSRETURN(argvi);
12306   fail:
12307 
12308 
12309 
12310     SWIG_croak_null();
12311   }
12312 }
12313 
12314 
XS(_wrap_gsl_matrix_int_minmax_index)12315 XS(_wrap_gsl_matrix_int_minmax_index) {
12316   {
12317     gsl_matrix_int *arg1 = (gsl_matrix_int *) 0 ;
12318     size_t *arg2 = (size_t *) 0 ;
12319     size_t *arg3 = (size_t *) 0 ;
12320     size_t *arg4 = (size_t *) 0 ;
12321     size_t *arg5 = (size_t *) 0 ;
12322     void *argp1 = 0 ;
12323     int res1 = 0 ;
12324     size_t temp2 ;
12325     int res2 = SWIG_TMPOBJ ;
12326     size_t temp3 ;
12327     int res3 = SWIG_TMPOBJ ;
12328     size_t temp4 ;
12329     int res4 = SWIG_TMPOBJ ;
12330     size_t temp5 ;
12331     int res5 = SWIG_TMPOBJ ;
12332     int argvi = 0;
12333     dXSARGS;
12334 
12335     arg2 = &temp2;
12336     arg3 = &temp3;
12337     arg4 = &temp4;
12338     arg5 = &temp5;
12339     if ((items < 1) || (items > 1)) {
12340       SWIG_croak("Usage: gsl_matrix_int_minmax_index(m);");
12341     }
12342     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
12343     if (!SWIG_IsOK(res1)) {
12344       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_minmax_index" "', argument " "1"" of type '" "gsl_matrix_int const *""'");
12345     }
12346     arg1 = (gsl_matrix_int *)(argp1);
12347     gsl_matrix_int_minmax_index((gsl_matrix_int const *)arg1,arg2,arg3,arg4,arg5);
12348     ST(argvi) = &PL_sv_undef;
12349     if (SWIG_IsTmpObj(res2)) {
12350       if (argvi >= items) EXTEND(sp, argvi+1);  ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((*arg2)); argvi++  ;
12351     } else {
12352       int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0) : 0;
12353       if (argvi >= items) EXTEND(sp, argvi+1);  ST(argvi) = SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_size_t, new_flags); argvi++  ;
12354     }
12355     if (SWIG_IsTmpObj(res3)) {
12356       if (argvi >= items) EXTEND(sp, argvi+1);  ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((*arg3)); argvi++  ;
12357     } else {
12358       int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0) : 0;
12359       if (argvi >= items) EXTEND(sp, argvi+1);  ST(argvi) = SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_size_t, new_flags); argvi++  ;
12360     }
12361     if (SWIG_IsTmpObj(res4)) {
12362       if (argvi >= items) EXTEND(sp, argvi+1);  ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((*arg4)); argvi++  ;
12363     } else {
12364       int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0) : 0;
12365       if (argvi >= items) EXTEND(sp, argvi+1);  ST(argvi) = SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_size_t, new_flags); argvi++  ;
12366     }
12367     if (SWIG_IsTmpObj(res5)) {
12368       if (argvi >= items) EXTEND(sp, argvi+1);  ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((*arg5)); argvi++  ;
12369     } else {
12370       int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0) : 0;
12371       if (argvi >= items) EXTEND(sp, argvi+1);  ST(argvi) = SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_size_t, new_flags); argvi++  ;
12372     }
12373 
12374 
12375 
12376 
12377 
12378     XSRETURN(argvi);
12379   fail:
12380 
12381 
12382 
12383 
12384 
12385     SWIG_croak_null();
12386   }
12387 }
12388 
12389 
XS(_wrap_gsl_matrix_int_equal)12390 XS(_wrap_gsl_matrix_int_equal) {
12391   {
12392     gsl_matrix_int *arg1 = (gsl_matrix_int *) 0 ;
12393     gsl_matrix_int *arg2 = (gsl_matrix_int *) 0 ;
12394     void *argp1 = 0 ;
12395     int res1 = 0 ;
12396     void *argp2 = 0 ;
12397     int res2 = 0 ;
12398     int argvi = 0;
12399     int result;
12400     dXSARGS;
12401 
12402     if ((items < 2) || (items > 2)) {
12403       SWIG_croak("Usage: gsl_matrix_int_equal(a,b);");
12404     }
12405     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
12406     if (!SWIG_IsOK(res1)) {
12407       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_equal" "', argument " "1"" of type '" "gsl_matrix_int const *""'");
12408     }
12409     arg1 = (gsl_matrix_int *)(argp1);
12410     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
12411     if (!SWIG_IsOK(res2)) {
12412       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_int_equal" "', argument " "2"" of type '" "gsl_matrix_int const *""'");
12413     }
12414     arg2 = (gsl_matrix_int *)(argp2);
12415     result = (int)gsl_matrix_int_equal((gsl_matrix_int const *)arg1,(gsl_matrix_int const *)arg2);
12416     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
12417 
12418 
12419     XSRETURN(argvi);
12420   fail:
12421 
12422 
12423     SWIG_croak_null();
12424   }
12425 }
12426 
12427 
XS(_wrap_gsl_matrix_int_isnull)12428 XS(_wrap_gsl_matrix_int_isnull) {
12429   {
12430     gsl_matrix_int *arg1 = (gsl_matrix_int *) 0 ;
12431     void *argp1 = 0 ;
12432     int res1 = 0 ;
12433     int argvi = 0;
12434     int result;
12435     dXSARGS;
12436 
12437     if ((items < 1) || (items > 1)) {
12438       SWIG_croak("Usage: gsl_matrix_int_isnull(m);");
12439     }
12440     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
12441     if (!SWIG_IsOK(res1)) {
12442       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_isnull" "', argument " "1"" of type '" "gsl_matrix_int const *""'");
12443     }
12444     arg1 = (gsl_matrix_int *)(argp1);
12445     result = (int)gsl_matrix_int_isnull((gsl_matrix_int const *)arg1);
12446     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
12447 
12448     XSRETURN(argvi);
12449   fail:
12450 
12451     SWIG_croak_null();
12452   }
12453 }
12454 
12455 
XS(_wrap_gsl_matrix_int_ispos)12456 XS(_wrap_gsl_matrix_int_ispos) {
12457   {
12458     gsl_matrix_int *arg1 = (gsl_matrix_int *) 0 ;
12459     void *argp1 = 0 ;
12460     int res1 = 0 ;
12461     int argvi = 0;
12462     int result;
12463     dXSARGS;
12464 
12465     if ((items < 1) || (items > 1)) {
12466       SWIG_croak("Usage: gsl_matrix_int_ispos(m);");
12467     }
12468     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
12469     if (!SWIG_IsOK(res1)) {
12470       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_ispos" "', argument " "1"" of type '" "gsl_matrix_int const *""'");
12471     }
12472     arg1 = (gsl_matrix_int *)(argp1);
12473     result = (int)gsl_matrix_int_ispos((gsl_matrix_int const *)arg1);
12474     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
12475 
12476     XSRETURN(argvi);
12477   fail:
12478 
12479     SWIG_croak_null();
12480   }
12481 }
12482 
12483 
XS(_wrap_gsl_matrix_int_isneg)12484 XS(_wrap_gsl_matrix_int_isneg) {
12485   {
12486     gsl_matrix_int *arg1 = (gsl_matrix_int *) 0 ;
12487     void *argp1 = 0 ;
12488     int res1 = 0 ;
12489     int argvi = 0;
12490     int result;
12491     dXSARGS;
12492 
12493     if ((items < 1) || (items > 1)) {
12494       SWIG_croak("Usage: gsl_matrix_int_isneg(m);");
12495     }
12496     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
12497     if (!SWIG_IsOK(res1)) {
12498       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_isneg" "', argument " "1"" of type '" "gsl_matrix_int const *""'");
12499     }
12500     arg1 = (gsl_matrix_int *)(argp1);
12501     result = (int)gsl_matrix_int_isneg((gsl_matrix_int const *)arg1);
12502     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
12503 
12504     XSRETURN(argvi);
12505   fail:
12506 
12507     SWIG_croak_null();
12508   }
12509 }
12510 
12511 
XS(_wrap_gsl_matrix_int_isnonneg)12512 XS(_wrap_gsl_matrix_int_isnonneg) {
12513   {
12514     gsl_matrix_int *arg1 = (gsl_matrix_int *) 0 ;
12515     void *argp1 = 0 ;
12516     int res1 = 0 ;
12517     int argvi = 0;
12518     int result;
12519     dXSARGS;
12520 
12521     if ((items < 1) || (items > 1)) {
12522       SWIG_croak("Usage: gsl_matrix_int_isnonneg(m);");
12523     }
12524     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
12525     if (!SWIG_IsOK(res1)) {
12526       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_isnonneg" "', argument " "1"" of type '" "gsl_matrix_int const *""'");
12527     }
12528     arg1 = (gsl_matrix_int *)(argp1);
12529     result = (int)gsl_matrix_int_isnonneg((gsl_matrix_int const *)arg1);
12530     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
12531 
12532     XSRETURN(argvi);
12533   fail:
12534 
12535     SWIG_croak_null();
12536   }
12537 }
12538 
12539 
XS(_wrap_gsl_matrix_int_add)12540 XS(_wrap_gsl_matrix_int_add) {
12541   {
12542     gsl_matrix_int *arg1 = (gsl_matrix_int *) 0 ;
12543     gsl_matrix_int *arg2 = (gsl_matrix_int *) 0 ;
12544     void *argp1 = 0 ;
12545     int res1 = 0 ;
12546     void *argp2 = 0 ;
12547     int res2 = 0 ;
12548     int argvi = 0;
12549     int result;
12550     dXSARGS;
12551 
12552     if ((items < 2) || (items > 2)) {
12553       SWIG_croak("Usage: gsl_matrix_int_add(a,b);");
12554     }
12555     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
12556     if (!SWIG_IsOK(res1)) {
12557       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_add" "', argument " "1"" of type '" "gsl_matrix_int *""'");
12558     }
12559     arg1 = (gsl_matrix_int *)(argp1);
12560     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
12561     if (!SWIG_IsOK(res2)) {
12562       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_int_add" "', argument " "2"" of type '" "gsl_matrix_int const *""'");
12563     }
12564     arg2 = (gsl_matrix_int *)(argp2);
12565     result = (int)gsl_matrix_int_add(arg1,(gsl_matrix_int const *)arg2);
12566     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
12567 
12568 
12569     XSRETURN(argvi);
12570   fail:
12571 
12572 
12573     SWIG_croak_null();
12574   }
12575 }
12576 
12577 
XS(_wrap_gsl_matrix_int_sub)12578 XS(_wrap_gsl_matrix_int_sub) {
12579   {
12580     gsl_matrix_int *arg1 = (gsl_matrix_int *) 0 ;
12581     gsl_matrix_int *arg2 = (gsl_matrix_int *) 0 ;
12582     void *argp1 = 0 ;
12583     int res1 = 0 ;
12584     void *argp2 = 0 ;
12585     int res2 = 0 ;
12586     int argvi = 0;
12587     int result;
12588     dXSARGS;
12589 
12590     if ((items < 2) || (items > 2)) {
12591       SWIG_croak("Usage: gsl_matrix_int_sub(a,b);");
12592     }
12593     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
12594     if (!SWIG_IsOK(res1)) {
12595       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_sub" "', argument " "1"" of type '" "gsl_matrix_int *""'");
12596     }
12597     arg1 = (gsl_matrix_int *)(argp1);
12598     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
12599     if (!SWIG_IsOK(res2)) {
12600       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_int_sub" "', argument " "2"" of type '" "gsl_matrix_int const *""'");
12601     }
12602     arg2 = (gsl_matrix_int *)(argp2);
12603     result = (int)gsl_matrix_int_sub(arg1,(gsl_matrix_int const *)arg2);
12604     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
12605 
12606 
12607     XSRETURN(argvi);
12608   fail:
12609 
12610 
12611     SWIG_croak_null();
12612   }
12613 }
12614 
12615 
XS(_wrap_gsl_matrix_int_mul_elements)12616 XS(_wrap_gsl_matrix_int_mul_elements) {
12617   {
12618     gsl_matrix_int *arg1 = (gsl_matrix_int *) 0 ;
12619     gsl_matrix_int *arg2 = (gsl_matrix_int *) 0 ;
12620     void *argp1 = 0 ;
12621     int res1 = 0 ;
12622     void *argp2 = 0 ;
12623     int res2 = 0 ;
12624     int argvi = 0;
12625     int result;
12626     dXSARGS;
12627 
12628     if ((items < 2) || (items > 2)) {
12629       SWIG_croak("Usage: gsl_matrix_int_mul_elements(a,b);");
12630     }
12631     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
12632     if (!SWIG_IsOK(res1)) {
12633       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_mul_elements" "', argument " "1"" of type '" "gsl_matrix_int *""'");
12634     }
12635     arg1 = (gsl_matrix_int *)(argp1);
12636     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
12637     if (!SWIG_IsOK(res2)) {
12638       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_int_mul_elements" "', argument " "2"" of type '" "gsl_matrix_int const *""'");
12639     }
12640     arg2 = (gsl_matrix_int *)(argp2);
12641     result = (int)gsl_matrix_int_mul_elements(arg1,(gsl_matrix_int const *)arg2);
12642     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
12643 
12644 
12645     XSRETURN(argvi);
12646   fail:
12647 
12648 
12649     SWIG_croak_null();
12650   }
12651 }
12652 
12653 
XS(_wrap_gsl_matrix_int_div_elements)12654 XS(_wrap_gsl_matrix_int_div_elements) {
12655   {
12656     gsl_matrix_int *arg1 = (gsl_matrix_int *) 0 ;
12657     gsl_matrix_int *arg2 = (gsl_matrix_int *) 0 ;
12658     void *argp1 = 0 ;
12659     int res1 = 0 ;
12660     void *argp2 = 0 ;
12661     int res2 = 0 ;
12662     int argvi = 0;
12663     int result;
12664     dXSARGS;
12665 
12666     if ((items < 2) || (items > 2)) {
12667       SWIG_croak("Usage: gsl_matrix_int_div_elements(a,b);");
12668     }
12669     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
12670     if (!SWIG_IsOK(res1)) {
12671       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_div_elements" "', argument " "1"" of type '" "gsl_matrix_int *""'");
12672     }
12673     arg1 = (gsl_matrix_int *)(argp1);
12674     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
12675     if (!SWIG_IsOK(res2)) {
12676       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_int_div_elements" "', argument " "2"" of type '" "gsl_matrix_int const *""'");
12677     }
12678     arg2 = (gsl_matrix_int *)(argp2);
12679     result = (int)gsl_matrix_int_div_elements(arg1,(gsl_matrix_int const *)arg2);
12680     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
12681 
12682 
12683     XSRETURN(argvi);
12684   fail:
12685 
12686 
12687     SWIG_croak_null();
12688   }
12689 }
12690 
12691 
XS(_wrap_gsl_matrix_int_scale)12692 XS(_wrap_gsl_matrix_int_scale) {
12693   {
12694     gsl_matrix_int *arg1 = (gsl_matrix_int *) 0 ;
12695     int arg2 ;
12696     void *argp1 = 0 ;
12697     int res1 = 0 ;
12698     int val2 ;
12699     int ecode2 = 0 ;
12700     int argvi = 0;
12701     int result;
12702     dXSARGS;
12703 
12704     if ((items < 2) || (items > 2)) {
12705       SWIG_croak("Usage: gsl_matrix_int_scale(a,x);");
12706     }
12707     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
12708     if (!SWIG_IsOK(res1)) {
12709       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_scale" "', argument " "1"" of type '" "gsl_matrix_int *""'");
12710     }
12711     arg1 = (gsl_matrix_int *)(argp1);
12712     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
12713     if (!SWIG_IsOK(ecode2)) {
12714       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_int_scale" "', argument " "2"" of type '" "int""'");
12715     }
12716     arg2 = (int)(val2);
12717     result = (int)gsl_matrix_int_scale(arg1,arg2);
12718     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
12719 
12720 
12721     XSRETURN(argvi);
12722   fail:
12723 
12724 
12725     SWIG_croak_null();
12726   }
12727 }
12728 
12729 
XS(_wrap_gsl_matrix_int_add_constant)12730 XS(_wrap_gsl_matrix_int_add_constant) {
12731   {
12732     gsl_matrix_int *arg1 = (gsl_matrix_int *) 0 ;
12733     int arg2 ;
12734     void *argp1 = 0 ;
12735     int res1 = 0 ;
12736     int val2 ;
12737     int ecode2 = 0 ;
12738     int argvi = 0;
12739     int result;
12740     dXSARGS;
12741 
12742     if ((items < 2) || (items > 2)) {
12743       SWIG_croak("Usage: gsl_matrix_int_add_constant(a,x);");
12744     }
12745     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
12746     if (!SWIG_IsOK(res1)) {
12747       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_add_constant" "', argument " "1"" of type '" "gsl_matrix_int *""'");
12748     }
12749     arg1 = (gsl_matrix_int *)(argp1);
12750     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
12751     if (!SWIG_IsOK(ecode2)) {
12752       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_int_add_constant" "', argument " "2"" of type '" "int""'");
12753     }
12754     arg2 = (int)(val2);
12755     result = (int)gsl_matrix_int_add_constant(arg1,arg2);
12756     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
12757 
12758 
12759     XSRETURN(argvi);
12760   fail:
12761 
12762 
12763     SWIG_croak_null();
12764   }
12765 }
12766 
12767 
XS(_wrap_gsl_matrix_int_add_diagonal)12768 XS(_wrap_gsl_matrix_int_add_diagonal) {
12769   {
12770     gsl_matrix_int *arg1 = (gsl_matrix_int *) 0 ;
12771     int arg2 ;
12772     void *argp1 = 0 ;
12773     int res1 = 0 ;
12774     int val2 ;
12775     int ecode2 = 0 ;
12776     int argvi = 0;
12777     int result;
12778     dXSARGS;
12779 
12780     if ((items < 2) || (items > 2)) {
12781       SWIG_croak("Usage: gsl_matrix_int_add_diagonal(a,x);");
12782     }
12783     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
12784     if (!SWIG_IsOK(res1)) {
12785       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_add_diagonal" "', argument " "1"" of type '" "gsl_matrix_int *""'");
12786     }
12787     arg1 = (gsl_matrix_int *)(argp1);
12788     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
12789     if (!SWIG_IsOK(ecode2)) {
12790       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_int_add_diagonal" "', argument " "2"" of type '" "int""'");
12791     }
12792     arg2 = (int)(val2);
12793     result = (int)gsl_matrix_int_add_diagonal(arg1,arg2);
12794     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
12795 
12796 
12797     XSRETURN(argvi);
12798   fail:
12799 
12800 
12801     SWIG_croak_null();
12802   }
12803 }
12804 
12805 
XS(_wrap_gsl_matrix_int_get_row)12806 XS(_wrap_gsl_matrix_int_get_row) {
12807   {
12808     gsl_vector_int *arg1 = (gsl_vector_int *) 0 ;
12809     gsl_matrix_int *arg2 = (gsl_matrix_int *) 0 ;
12810     size_t arg3 ;
12811     void *argp1 = 0 ;
12812     int res1 = 0 ;
12813     void *argp2 = 0 ;
12814     int res2 = 0 ;
12815     size_t val3 ;
12816     int ecode3 = 0 ;
12817     int argvi = 0;
12818     int result;
12819     dXSARGS;
12820 
12821     if ((items < 3) || (items > 3)) {
12822       SWIG_croak("Usage: gsl_matrix_int_get_row(v,m,i);");
12823     }
12824     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_int, 0 |  0 );
12825     if (!SWIG_IsOK(res1)) {
12826       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_get_row" "', argument " "1"" of type '" "gsl_vector_int *""'");
12827     }
12828     arg1 = (gsl_vector_int *)(argp1);
12829     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
12830     if (!SWIG_IsOK(res2)) {
12831       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_int_get_row" "', argument " "2"" of type '" "gsl_matrix_int const *""'");
12832     }
12833     arg2 = (gsl_matrix_int *)(argp2);
12834     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
12835     if (!SWIG_IsOK(ecode3)) {
12836       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_int_get_row" "', argument " "3"" of type '" "size_t""'");
12837     }
12838     arg3 = (size_t)(val3);
12839     result = (int)gsl_matrix_int_get_row(arg1,(gsl_matrix_int const *)arg2,arg3);
12840     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
12841 
12842 
12843 
12844     XSRETURN(argvi);
12845   fail:
12846 
12847 
12848 
12849     SWIG_croak_null();
12850   }
12851 }
12852 
12853 
XS(_wrap_gsl_matrix_int_get_col)12854 XS(_wrap_gsl_matrix_int_get_col) {
12855   {
12856     gsl_vector_int *arg1 = (gsl_vector_int *) 0 ;
12857     gsl_matrix_int *arg2 = (gsl_matrix_int *) 0 ;
12858     size_t arg3 ;
12859     void *argp1 = 0 ;
12860     int res1 = 0 ;
12861     void *argp2 = 0 ;
12862     int res2 = 0 ;
12863     size_t val3 ;
12864     int ecode3 = 0 ;
12865     int argvi = 0;
12866     int result;
12867     dXSARGS;
12868 
12869     if ((items < 3) || (items > 3)) {
12870       SWIG_croak("Usage: gsl_matrix_int_get_col(v,m,j);");
12871     }
12872     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_int, 0 |  0 );
12873     if (!SWIG_IsOK(res1)) {
12874       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_get_col" "', argument " "1"" of type '" "gsl_vector_int *""'");
12875     }
12876     arg1 = (gsl_vector_int *)(argp1);
12877     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
12878     if (!SWIG_IsOK(res2)) {
12879       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_int_get_col" "', argument " "2"" of type '" "gsl_matrix_int const *""'");
12880     }
12881     arg2 = (gsl_matrix_int *)(argp2);
12882     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
12883     if (!SWIG_IsOK(ecode3)) {
12884       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_int_get_col" "', argument " "3"" of type '" "size_t""'");
12885     }
12886     arg3 = (size_t)(val3);
12887     result = (int)gsl_matrix_int_get_col(arg1,(gsl_matrix_int const *)arg2,arg3);
12888     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
12889 
12890 
12891 
12892     XSRETURN(argvi);
12893   fail:
12894 
12895 
12896 
12897     SWIG_croak_null();
12898   }
12899 }
12900 
12901 
XS(_wrap_gsl_matrix_int_set_row)12902 XS(_wrap_gsl_matrix_int_set_row) {
12903   {
12904     gsl_matrix_int *arg1 = (gsl_matrix_int *) 0 ;
12905     size_t arg2 ;
12906     gsl_vector_int *arg3 = (gsl_vector_int *) 0 ;
12907     void *argp1 = 0 ;
12908     int res1 = 0 ;
12909     size_t val2 ;
12910     int ecode2 = 0 ;
12911     void *argp3 = 0 ;
12912     int res3 = 0 ;
12913     int argvi = 0;
12914     int result;
12915     dXSARGS;
12916 
12917     if ((items < 3) || (items > 3)) {
12918       SWIG_croak("Usage: gsl_matrix_int_set_row(m,i,v);");
12919     }
12920     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
12921     if (!SWIG_IsOK(res1)) {
12922       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_set_row" "', argument " "1"" of type '" "gsl_matrix_int *""'");
12923     }
12924     arg1 = (gsl_matrix_int *)(argp1);
12925     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
12926     if (!SWIG_IsOK(ecode2)) {
12927       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_int_set_row" "', argument " "2"" of type '" "size_t""'");
12928     }
12929     arg2 = (size_t)(val2);
12930     res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_gsl_vector_int, 0 |  0 );
12931     if (!SWIG_IsOK(res3)) {
12932       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_matrix_int_set_row" "', argument " "3"" of type '" "gsl_vector_int const *""'");
12933     }
12934     arg3 = (gsl_vector_int *)(argp3);
12935     result = (int)gsl_matrix_int_set_row(arg1,arg2,(gsl_vector_int const *)arg3);
12936     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
12937 
12938 
12939 
12940     XSRETURN(argvi);
12941   fail:
12942 
12943 
12944 
12945     SWIG_croak_null();
12946   }
12947 }
12948 
12949 
XS(_wrap_gsl_matrix_int_set_col)12950 XS(_wrap_gsl_matrix_int_set_col) {
12951   {
12952     gsl_matrix_int *arg1 = (gsl_matrix_int *) 0 ;
12953     size_t arg2 ;
12954     gsl_vector_int *arg3 = (gsl_vector_int *) 0 ;
12955     void *argp1 = 0 ;
12956     int res1 = 0 ;
12957     size_t val2 ;
12958     int ecode2 = 0 ;
12959     void *argp3 = 0 ;
12960     int res3 = 0 ;
12961     int argvi = 0;
12962     int result;
12963     dXSARGS;
12964 
12965     if ((items < 3) || (items > 3)) {
12966       SWIG_croak("Usage: gsl_matrix_int_set_col(m,j,v);");
12967     }
12968     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
12969     if (!SWIG_IsOK(res1)) {
12970       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_set_col" "', argument " "1"" of type '" "gsl_matrix_int *""'");
12971     }
12972     arg1 = (gsl_matrix_int *)(argp1);
12973     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
12974     if (!SWIG_IsOK(ecode2)) {
12975       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_int_set_col" "', argument " "2"" of type '" "size_t""'");
12976     }
12977     arg2 = (size_t)(val2);
12978     res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_gsl_vector_int, 0 |  0 );
12979     if (!SWIG_IsOK(res3)) {
12980       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_matrix_int_set_col" "', argument " "3"" of type '" "gsl_vector_int const *""'");
12981     }
12982     arg3 = (gsl_vector_int *)(argp3);
12983     result = (int)gsl_matrix_int_set_col(arg1,arg2,(gsl_vector_int const *)arg3);
12984     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
12985 
12986 
12987 
12988     XSRETURN(argvi);
12989   fail:
12990 
12991 
12992 
12993     SWIG_croak_null();
12994   }
12995 }
12996 
12997 
XS(_wrap_gsl_matrix_int_get)12998 XS(_wrap_gsl_matrix_int_get) {
12999   {
13000     gsl_matrix_int *arg1 = (gsl_matrix_int *) 0 ;
13001     size_t arg2 ;
13002     size_t arg3 ;
13003     void *argp1 = 0 ;
13004     int res1 = 0 ;
13005     size_t val2 ;
13006     int ecode2 = 0 ;
13007     size_t val3 ;
13008     int ecode3 = 0 ;
13009     int argvi = 0;
13010     int result;
13011     dXSARGS;
13012 
13013     if ((items < 3) || (items > 3)) {
13014       SWIG_croak("Usage: gsl_matrix_int_get(m,i,j);");
13015     }
13016     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
13017     if (!SWIG_IsOK(res1)) {
13018       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_get" "', argument " "1"" of type '" "gsl_matrix_int const *""'");
13019     }
13020     arg1 = (gsl_matrix_int *)(argp1);
13021     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
13022     if (!SWIG_IsOK(ecode2)) {
13023       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_int_get" "', argument " "2"" of type '" "size_t""'");
13024     }
13025     arg2 = (size_t)(val2);
13026     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
13027     if (!SWIG_IsOK(ecode3)) {
13028       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_int_get" "', argument " "3"" of type '" "size_t""'");
13029     }
13030     arg3 = (size_t)(val3);
13031     result = (int)gsl_matrix_int_get((gsl_matrix_int const *)arg1,arg2,arg3);
13032     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
13033 
13034 
13035 
13036     XSRETURN(argvi);
13037   fail:
13038 
13039 
13040 
13041     SWIG_croak_null();
13042   }
13043 }
13044 
13045 
XS(_wrap_gsl_matrix_int_set)13046 XS(_wrap_gsl_matrix_int_set) {
13047   {
13048     gsl_matrix_int *arg1 = (gsl_matrix_int *) 0 ;
13049     size_t arg2 ;
13050     size_t arg3 ;
13051     int arg4 ;
13052     void *argp1 = 0 ;
13053     int res1 = 0 ;
13054     size_t val2 ;
13055     int ecode2 = 0 ;
13056     size_t val3 ;
13057     int ecode3 = 0 ;
13058     int val4 ;
13059     int ecode4 = 0 ;
13060     int argvi = 0;
13061     dXSARGS;
13062 
13063     if ((items < 4) || (items > 4)) {
13064       SWIG_croak("Usage: gsl_matrix_int_set(m,i,j,x);");
13065     }
13066     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
13067     if (!SWIG_IsOK(res1)) {
13068       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_set" "', argument " "1"" of type '" "gsl_matrix_int *""'");
13069     }
13070     arg1 = (gsl_matrix_int *)(argp1);
13071     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
13072     if (!SWIG_IsOK(ecode2)) {
13073       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_int_set" "', argument " "2"" of type '" "size_t""'");
13074     }
13075     arg2 = (size_t)(val2);
13076     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
13077     if (!SWIG_IsOK(ecode3)) {
13078       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_int_set" "', argument " "3"" of type '" "size_t""'");
13079     }
13080     arg3 = (size_t)(val3);
13081     ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
13082     if (!SWIG_IsOK(ecode4)) {
13083       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_matrix_int_set" "', argument " "4"" of type '" "int""'");
13084     }
13085     arg4 = (int)(val4);
13086     gsl_matrix_int_set(arg1,arg2,arg3,arg4);
13087     ST(argvi) = &PL_sv_undef;
13088 
13089 
13090 
13091 
13092     XSRETURN(argvi);
13093   fail:
13094 
13095 
13096 
13097 
13098     SWIG_croak_null();
13099   }
13100 }
13101 
13102 
XS(_wrap_gsl_matrix_int_ptr)13103 XS(_wrap_gsl_matrix_int_ptr) {
13104   {
13105     gsl_matrix_int *arg1 = (gsl_matrix_int *) 0 ;
13106     size_t arg2 ;
13107     size_t arg3 ;
13108     void *argp1 = 0 ;
13109     int res1 = 0 ;
13110     size_t val2 ;
13111     int ecode2 = 0 ;
13112     size_t val3 ;
13113     int ecode3 = 0 ;
13114     int argvi = 0;
13115     int *result = 0 ;
13116     dXSARGS;
13117 
13118     if ((items < 3) || (items > 3)) {
13119       SWIG_croak("Usage: gsl_matrix_int_ptr(m,i,j);");
13120     }
13121     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
13122     if (!SWIG_IsOK(res1)) {
13123       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_ptr" "', argument " "1"" of type '" "gsl_matrix_int *""'");
13124     }
13125     arg1 = (gsl_matrix_int *)(argp1);
13126     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
13127     if (!SWIG_IsOK(ecode2)) {
13128       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_int_ptr" "', argument " "2"" of type '" "size_t""'");
13129     }
13130     arg2 = (size_t)(val2);
13131     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
13132     if (!SWIG_IsOK(ecode3)) {
13133       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_int_ptr" "', argument " "3"" of type '" "size_t""'");
13134     }
13135     arg3 = (size_t)(val3);
13136     result = (int *)gsl_matrix_int_ptr(arg1,arg2,arg3);
13137     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0); argvi++ ;
13138 
13139 
13140 
13141     XSRETURN(argvi);
13142   fail:
13143 
13144 
13145 
13146     SWIG_croak_null();
13147   }
13148 }
13149 
13150 
XS(_wrap_gsl_matrix_int_const_ptr)13151 XS(_wrap_gsl_matrix_int_const_ptr) {
13152   {
13153     gsl_matrix_int *arg1 = (gsl_matrix_int *) 0 ;
13154     size_t arg2 ;
13155     size_t arg3 ;
13156     void *argp1 = 0 ;
13157     int res1 = 0 ;
13158     size_t val2 ;
13159     int ecode2 = 0 ;
13160     size_t val3 ;
13161     int ecode3 = 0 ;
13162     int argvi = 0;
13163     int *result = 0 ;
13164     dXSARGS;
13165 
13166     if ((items < 3) || (items > 3)) {
13167       SWIG_croak("Usage: gsl_matrix_int_const_ptr(m,i,j);");
13168     }
13169     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_int, 0 |  0 );
13170     if (!SWIG_IsOK(res1)) {
13171       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_int_const_ptr" "', argument " "1"" of type '" "gsl_matrix_int const *""'");
13172     }
13173     arg1 = (gsl_matrix_int *)(argp1);
13174     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
13175     if (!SWIG_IsOK(ecode2)) {
13176       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_int_const_ptr" "', argument " "2"" of type '" "size_t""'");
13177     }
13178     arg2 = (size_t)(val2);
13179     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
13180     if (!SWIG_IsOK(ecode3)) {
13181       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_int_const_ptr" "', argument " "3"" of type '" "size_t""'");
13182     }
13183     arg3 = (size_t)(val3);
13184     result = (int *)gsl_matrix_int_const_ptr((gsl_matrix_int const *)arg1,arg2,arg3);
13185     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0); argvi++ ;
13186 
13187 
13188 
13189     XSRETURN(argvi);
13190   fail:
13191 
13192 
13193 
13194     SWIG_croak_null();
13195   }
13196 }
13197 
13198 
XS(_wrap_gsl_matrix_complex_size1_set)13199 XS(_wrap_gsl_matrix_complex_size1_set) {
13200   {
13201     gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
13202     size_t arg2 ;
13203     void *argp1 = 0 ;
13204     int res1 = 0 ;
13205     size_t val2 ;
13206     int ecode2 = 0 ;
13207     int argvi = 0;
13208     dXSARGS;
13209 
13210     if ((items < 2) || (items > 2)) {
13211       SWIG_croak("Usage: gsl_matrix_complex_size1_set(self,size1);");
13212     }
13213     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
13214     if (!SWIG_IsOK(res1)) {
13215       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_size1_set" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
13216     }
13217     arg1 = (gsl_matrix_complex *)(argp1);
13218     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
13219     if (!SWIG_IsOK(ecode2)) {
13220       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_size1_set" "', argument " "2"" of type '" "size_t""'");
13221     }
13222     arg2 = (size_t)(val2);
13223     if (arg1) (arg1)->size1 = arg2;
13224     ST(argvi) = &PL_sv_undef;
13225 
13226 
13227     XSRETURN(argvi);
13228   fail:
13229 
13230 
13231     SWIG_croak_null();
13232   }
13233 }
13234 
13235 
XS(_wrap_gsl_matrix_complex_size1_get)13236 XS(_wrap_gsl_matrix_complex_size1_get) {
13237   {
13238     gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
13239     void *argp1 = 0 ;
13240     int res1 = 0 ;
13241     int argvi = 0;
13242     size_t result;
13243     dXSARGS;
13244 
13245     if ((items < 1) || (items > 1)) {
13246       SWIG_croak("Usage: gsl_matrix_complex_size1_get(self);");
13247     }
13248     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
13249     if (!SWIG_IsOK(res1)) {
13250       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_size1_get" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
13251     }
13252     arg1 = (gsl_matrix_complex *)(argp1);
13253     result =  ((arg1)->size1);
13254     ST(argvi) = SWIG_From_size_t  SWIG_PERL_CALL_ARGS_1((size_t)(result)); argvi++ ;
13255 
13256     XSRETURN(argvi);
13257   fail:
13258 
13259     SWIG_croak_null();
13260   }
13261 }
13262 
13263 
XS(_wrap_gsl_matrix_complex_size2_set)13264 XS(_wrap_gsl_matrix_complex_size2_set) {
13265   {
13266     gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
13267     size_t arg2 ;
13268     void *argp1 = 0 ;
13269     int res1 = 0 ;
13270     size_t val2 ;
13271     int ecode2 = 0 ;
13272     int argvi = 0;
13273     dXSARGS;
13274 
13275     if ((items < 2) || (items > 2)) {
13276       SWIG_croak("Usage: gsl_matrix_complex_size2_set(self,size2);");
13277     }
13278     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
13279     if (!SWIG_IsOK(res1)) {
13280       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_size2_set" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
13281     }
13282     arg1 = (gsl_matrix_complex *)(argp1);
13283     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
13284     if (!SWIG_IsOK(ecode2)) {
13285       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_size2_set" "', argument " "2"" of type '" "size_t""'");
13286     }
13287     arg2 = (size_t)(val2);
13288     if (arg1) (arg1)->size2 = arg2;
13289     ST(argvi) = &PL_sv_undef;
13290 
13291 
13292     XSRETURN(argvi);
13293   fail:
13294 
13295 
13296     SWIG_croak_null();
13297   }
13298 }
13299 
13300 
XS(_wrap_gsl_matrix_complex_size2_get)13301 XS(_wrap_gsl_matrix_complex_size2_get) {
13302   {
13303     gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
13304     void *argp1 = 0 ;
13305     int res1 = 0 ;
13306     int argvi = 0;
13307     size_t result;
13308     dXSARGS;
13309 
13310     if ((items < 1) || (items > 1)) {
13311       SWIG_croak("Usage: gsl_matrix_complex_size2_get(self);");
13312     }
13313     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
13314     if (!SWIG_IsOK(res1)) {
13315       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_size2_get" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
13316     }
13317     arg1 = (gsl_matrix_complex *)(argp1);
13318     result =  ((arg1)->size2);
13319     ST(argvi) = SWIG_From_size_t  SWIG_PERL_CALL_ARGS_1((size_t)(result)); argvi++ ;
13320 
13321     XSRETURN(argvi);
13322   fail:
13323 
13324     SWIG_croak_null();
13325   }
13326 }
13327 
13328 
XS(_wrap_gsl_matrix_complex_tda_set)13329 XS(_wrap_gsl_matrix_complex_tda_set) {
13330   {
13331     gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
13332     size_t arg2 ;
13333     void *argp1 = 0 ;
13334     int res1 = 0 ;
13335     size_t val2 ;
13336     int ecode2 = 0 ;
13337     int argvi = 0;
13338     dXSARGS;
13339 
13340     if ((items < 2) || (items > 2)) {
13341       SWIG_croak("Usage: gsl_matrix_complex_tda_set(self,tda);");
13342     }
13343     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
13344     if (!SWIG_IsOK(res1)) {
13345       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_tda_set" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
13346     }
13347     arg1 = (gsl_matrix_complex *)(argp1);
13348     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
13349     if (!SWIG_IsOK(ecode2)) {
13350       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_tda_set" "', argument " "2"" of type '" "size_t""'");
13351     }
13352     arg2 = (size_t)(val2);
13353     if (arg1) (arg1)->tda = arg2;
13354     ST(argvi) = &PL_sv_undef;
13355 
13356 
13357     XSRETURN(argvi);
13358   fail:
13359 
13360 
13361     SWIG_croak_null();
13362   }
13363 }
13364 
13365 
XS(_wrap_gsl_matrix_complex_tda_get)13366 XS(_wrap_gsl_matrix_complex_tda_get) {
13367   {
13368     gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
13369     void *argp1 = 0 ;
13370     int res1 = 0 ;
13371     int argvi = 0;
13372     size_t result;
13373     dXSARGS;
13374 
13375     if ((items < 1) || (items > 1)) {
13376       SWIG_croak("Usage: gsl_matrix_complex_tda_get(self);");
13377     }
13378     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
13379     if (!SWIG_IsOK(res1)) {
13380       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_tda_get" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
13381     }
13382     arg1 = (gsl_matrix_complex *)(argp1);
13383     result =  ((arg1)->tda);
13384     ST(argvi) = SWIG_From_size_t  SWIG_PERL_CALL_ARGS_1((size_t)(result)); argvi++ ;
13385 
13386     XSRETURN(argvi);
13387   fail:
13388 
13389     SWIG_croak_null();
13390   }
13391 }
13392 
13393 
XS(_wrap_gsl_matrix_complex_data_set)13394 XS(_wrap_gsl_matrix_complex_data_set) {
13395   {
13396     gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
13397     double *arg2 = (double *) 0 ;
13398     void *argp1 = 0 ;
13399     int res1 = 0 ;
13400     int argvi = 0;
13401     dXSARGS;
13402 
13403     if ((items < 2) || (items > 2)) {
13404       SWIG_croak("Usage: gsl_matrix_complex_data_set(self,data);");
13405     }
13406     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
13407     if (!SWIG_IsOK(res1)) {
13408       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_data_set" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
13409     }
13410     arg1 = (gsl_matrix_complex *)(argp1);
13411     {
13412       AV *tempav;
13413       I32 len;
13414       int i;
13415       SV **tv;
13416       if (!SvROK(ST(1)))
13417       croak("Math::GSL : $data is not a reference!");
13418       if (SvTYPE(SvRV(ST(1))) != SVt_PVAV)
13419       croak("Math::GSL : $data is not an array ref!");
13420 
13421       tempav = (AV*)SvRV(ST(1));
13422       len = av_len(tempav);
13423       arg2 = (double *) malloc((len+2)*sizeof(double));
13424       for (i = 0; i <= len; i++) {
13425         tv = av_fetch(tempav, i, 0);
13426         arg2[i] = (double) SvNV(*tv);
13427       }
13428     }
13429     if (arg1) (arg1)->data = arg2;
13430     ST(argvi) = &PL_sv_undef;
13431 
13432     {
13433       if (arg2) free(arg2);
13434     }
13435     XSRETURN(argvi);
13436   fail:
13437 
13438     {
13439       if (arg2) free(arg2);
13440     }
13441     SWIG_croak_null();
13442   }
13443 }
13444 
13445 
XS(_wrap_gsl_matrix_complex_data_get)13446 XS(_wrap_gsl_matrix_complex_data_get) {
13447   {
13448     gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
13449     void *argp1 = 0 ;
13450     int res1 = 0 ;
13451     int argvi = 0;
13452     double *result = 0 ;
13453     dXSARGS;
13454 
13455     if ((items < 1) || (items > 1)) {
13456       SWIG_croak("Usage: gsl_matrix_complex_data_get(self);");
13457     }
13458     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
13459     if (!SWIG_IsOK(res1)) {
13460       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_data_get" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
13461     }
13462     arg1 = (gsl_matrix_complex *)(argp1);
13463     result = (double *) ((arg1)->data);
13464     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0); argvi++ ;
13465 
13466     XSRETURN(argvi);
13467   fail:
13468 
13469     SWIG_croak_null();
13470   }
13471 }
13472 
13473 
XS(_wrap_gsl_matrix_complex_block_set)13474 XS(_wrap_gsl_matrix_complex_block_set) {
13475   {
13476     gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
13477     gsl_block_complex *arg2 = (gsl_block_complex *) 0 ;
13478     void *argp1 = 0 ;
13479     int res1 = 0 ;
13480     void *argp2 = 0 ;
13481     int res2 = 0 ;
13482     int argvi = 0;
13483     dXSARGS;
13484 
13485     if ((items < 2) || (items > 2)) {
13486       SWIG_croak("Usage: gsl_matrix_complex_block_set(self,block);");
13487     }
13488     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
13489     if (!SWIG_IsOK(res1)) {
13490       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_block_set" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
13491     }
13492     arg1 = (gsl_matrix_complex *)(argp1);
13493     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_block_complex, SWIG_POINTER_DISOWN |  0 );
13494     if (!SWIG_IsOK(res2)) {
13495       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_complex_block_set" "', argument " "2"" of type '" "gsl_block_complex *""'");
13496     }
13497     arg2 = (gsl_block_complex *)(argp2);
13498     if (arg1) (arg1)->block = arg2;
13499     ST(argvi) = &PL_sv_undef;
13500 
13501 
13502     XSRETURN(argvi);
13503   fail:
13504 
13505 
13506     SWIG_croak_null();
13507   }
13508 }
13509 
13510 
XS(_wrap_gsl_matrix_complex_block_get)13511 XS(_wrap_gsl_matrix_complex_block_get) {
13512   {
13513     gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
13514     void *argp1 = 0 ;
13515     int res1 = 0 ;
13516     int argvi = 0;
13517     gsl_block_complex *result = 0 ;
13518     dXSARGS;
13519 
13520     if ((items < 1) || (items > 1)) {
13521       SWIG_croak("Usage: gsl_matrix_complex_block_get(self);");
13522     }
13523     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
13524     if (!SWIG_IsOK(res1)) {
13525       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_block_get" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
13526     }
13527     arg1 = (gsl_matrix_complex *)(argp1);
13528     result = (gsl_block_complex *) ((arg1)->block);
13529     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_block_complex, 0 | 0); argvi++ ;
13530 
13531     XSRETURN(argvi);
13532   fail:
13533 
13534     SWIG_croak_null();
13535   }
13536 }
13537 
13538 
XS(_wrap_gsl_matrix_complex_owner_set)13539 XS(_wrap_gsl_matrix_complex_owner_set) {
13540   {
13541     gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
13542     int arg2 ;
13543     void *argp1 = 0 ;
13544     int res1 = 0 ;
13545     int val2 ;
13546     int ecode2 = 0 ;
13547     int argvi = 0;
13548     dXSARGS;
13549 
13550     if ((items < 2) || (items > 2)) {
13551       SWIG_croak("Usage: gsl_matrix_complex_owner_set(self,owner);");
13552     }
13553     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
13554     if (!SWIG_IsOK(res1)) {
13555       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_owner_set" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
13556     }
13557     arg1 = (gsl_matrix_complex *)(argp1);
13558     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
13559     if (!SWIG_IsOK(ecode2)) {
13560       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_owner_set" "', argument " "2"" of type '" "int""'");
13561     }
13562     arg2 = (int)(val2);
13563     if (arg1) (arg1)->owner = arg2;
13564     ST(argvi) = &PL_sv_undef;
13565 
13566 
13567     XSRETURN(argvi);
13568   fail:
13569 
13570 
13571     SWIG_croak_null();
13572   }
13573 }
13574 
13575 
XS(_wrap_gsl_matrix_complex_owner_get)13576 XS(_wrap_gsl_matrix_complex_owner_get) {
13577   {
13578     gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
13579     void *argp1 = 0 ;
13580     int res1 = 0 ;
13581     int argvi = 0;
13582     int result;
13583     dXSARGS;
13584 
13585     if ((items < 1) || (items > 1)) {
13586       SWIG_croak("Usage: gsl_matrix_complex_owner_get(self);");
13587     }
13588     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
13589     if (!SWIG_IsOK(res1)) {
13590       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_owner_get" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
13591     }
13592     arg1 = (gsl_matrix_complex *)(argp1);
13593     result = (int) ((arg1)->owner);
13594     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
13595 
13596     XSRETURN(argvi);
13597   fail:
13598 
13599     SWIG_croak_null();
13600   }
13601 }
13602 
13603 
XS(_wrap_new_gsl_matrix_complex)13604 XS(_wrap_new_gsl_matrix_complex) {
13605   {
13606     int argvi = 0;
13607     gsl_matrix_complex *result = 0 ;
13608     dXSARGS;
13609 
13610     if ((items < 0) || (items > 0)) {
13611       SWIG_croak("Usage: new_gsl_matrix_complex();");
13612     }
13613     result = (gsl_matrix_complex *)calloc(1, sizeof(gsl_matrix_complex));
13614     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_matrix_complex, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
13615     XSRETURN(argvi);
13616   fail:
13617     SWIG_croak_null();
13618   }
13619 }
13620 
13621 
XS(_wrap_delete_gsl_matrix_complex)13622 XS(_wrap_delete_gsl_matrix_complex) {
13623   {
13624     gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
13625     void *argp1 = 0 ;
13626     int res1 = 0 ;
13627     int argvi = 0;
13628     dXSARGS;
13629 
13630     if ((items < 1) || (items > 1)) {
13631       SWIG_croak("Usage: delete_gsl_matrix_complex(self);");
13632     }
13633     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, SWIG_POINTER_DISOWN |  0 );
13634     if (!SWIG_IsOK(res1)) {
13635       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_gsl_matrix_complex" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
13636     }
13637     arg1 = (gsl_matrix_complex *)(argp1);
13638     free((char *) arg1);
13639     ST(argvi) = &PL_sv_undef;
13640 
13641     XSRETURN(argvi);
13642   fail:
13643 
13644     SWIG_croak_null();
13645   }
13646 }
13647 
13648 
XS(_wrap__gsl_matrix_complex_view_matrix_set)13649 XS(_wrap__gsl_matrix_complex_view_matrix_set) {
13650   {
13651     _gsl_matrix_complex_view *arg1 = (_gsl_matrix_complex_view *) 0 ;
13652     gsl_matrix_complex *arg2 = (gsl_matrix_complex *) 0 ;
13653     void *argp1 = 0 ;
13654     int res1 = 0 ;
13655     void *argp2 = 0 ;
13656     int res2 = 0 ;
13657     int argvi = 0;
13658     dXSARGS;
13659 
13660     if ((items < 2) || (items > 2)) {
13661       SWIG_croak("Usage: _gsl_matrix_complex_view_matrix_set(self,matrix);");
13662     }
13663     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__gsl_matrix_complex_view, 0 |  0 );
13664     if (!SWIG_IsOK(res1)) {
13665       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_gsl_matrix_complex_view_matrix_set" "', argument " "1"" of type '" "_gsl_matrix_complex_view *""'");
13666     }
13667     arg1 = (_gsl_matrix_complex_view *)(argp1);
13668     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
13669     if (!SWIG_IsOK(res2)) {
13670       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_gsl_matrix_complex_view_matrix_set" "', argument " "2"" of type '" "gsl_matrix_complex *""'");
13671     }
13672     arg2 = (gsl_matrix_complex *)(argp2);
13673     if (arg1) (arg1)->matrix = *arg2;
13674     ST(argvi) = &PL_sv_undef;
13675 
13676 
13677     XSRETURN(argvi);
13678   fail:
13679 
13680 
13681     SWIG_croak_null();
13682   }
13683 }
13684 
13685 
XS(_wrap__gsl_matrix_complex_view_matrix_get)13686 XS(_wrap__gsl_matrix_complex_view_matrix_get) {
13687   {
13688     _gsl_matrix_complex_view *arg1 = (_gsl_matrix_complex_view *) 0 ;
13689     void *argp1 = 0 ;
13690     int res1 = 0 ;
13691     int argvi = 0;
13692     gsl_matrix_complex *result = 0 ;
13693     dXSARGS;
13694 
13695     if ((items < 1) || (items > 1)) {
13696       SWIG_croak("Usage: _gsl_matrix_complex_view_matrix_get(self);");
13697     }
13698     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__gsl_matrix_complex_view, 0 |  0 );
13699     if (!SWIG_IsOK(res1)) {
13700       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_gsl_matrix_complex_view_matrix_get" "', argument " "1"" of type '" "_gsl_matrix_complex_view *""'");
13701     }
13702     arg1 = (_gsl_matrix_complex_view *)(argp1);
13703     result = (gsl_matrix_complex *)& ((arg1)->matrix);
13704     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_matrix_complex, 0 | SWIG_SHADOW); argvi++ ;
13705 
13706     XSRETURN(argvi);
13707   fail:
13708 
13709     SWIG_croak_null();
13710   }
13711 }
13712 
13713 
XS(_wrap_new__gsl_matrix_complex_view)13714 XS(_wrap_new__gsl_matrix_complex_view) {
13715   {
13716     int argvi = 0;
13717     _gsl_matrix_complex_view *result = 0 ;
13718     dXSARGS;
13719 
13720     if ((items < 0) || (items > 0)) {
13721       SWIG_croak("Usage: new__gsl_matrix_complex_view();");
13722     }
13723     result = (_gsl_matrix_complex_view *)calloc(1, sizeof(_gsl_matrix_complex_view));
13724     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__gsl_matrix_complex_view, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
13725     XSRETURN(argvi);
13726   fail:
13727     SWIG_croak_null();
13728   }
13729 }
13730 
13731 
XS(_wrap_delete__gsl_matrix_complex_view)13732 XS(_wrap_delete__gsl_matrix_complex_view) {
13733   {
13734     _gsl_matrix_complex_view *arg1 = (_gsl_matrix_complex_view *) 0 ;
13735     void *argp1 = 0 ;
13736     int res1 = 0 ;
13737     int argvi = 0;
13738     dXSARGS;
13739 
13740     if ((items < 1) || (items > 1)) {
13741       SWIG_croak("Usage: delete__gsl_matrix_complex_view(self);");
13742     }
13743     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__gsl_matrix_complex_view, SWIG_POINTER_DISOWN |  0 );
13744     if (!SWIG_IsOK(res1)) {
13745       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete__gsl_matrix_complex_view" "', argument " "1"" of type '" "_gsl_matrix_complex_view *""'");
13746     }
13747     arg1 = (_gsl_matrix_complex_view *)(argp1);
13748     free((char *) arg1);
13749     ST(argvi) = &PL_sv_undef;
13750 
13751     XSRETURN(argvi);
13752   fail:
13753 
13754     SWIG_croak_null();
13755   }
13756 }
13757 
13758 
XS(_wrap__gsl_matrix_complex_const_view_matrix_set)13759 XS(_wrap__gsl_matrix_complex_const_view_matrix_set) {
13760   {
13761     _gsl_matrix_complex_const_view *arg1 = (_gsl_matrix_complex_const_view *) 0 ;
13762     gsl_matrix_complex *arg2 = (gsl_matrix_complex *) 0 ;
13763     void *argp1 = 0 ;
13764     int res1 = 0 ;
13765     void *argp2 = 0 ;
13766     int res2 = 0 ;
13767     int argvi = 0;
13768     dXSARGS;
13769 
13770     if ((items < 2) || (items > 2)) {
13771       SWIG_croak("Usage: _gsl_matrix_complex_const_view_matrix_set(self,matrix);");
13772     }
13773     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__gsl_matrix_complex_const_view, 0 |  0 );
13774     if (!SWIG_IsOK(res1)) {
13775       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_gsl_matrix_complex_const_view_matrix_set" "', argument " "1"" of type '" "_gsl_matrix_complex_const_view *""'");
13776     }
13777     arg1 = (_gsl_matrix_complex_const_view *)(argp1);
13778     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
13779     if (!SWIG_IsOK(res2)) {
13780       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_gsl_matrix_complex_const_view_matrix_set" "', argument " "2"" of type '" "gsl_matrix_complex *""'");
13781     }
13782     arg2 = (gsl_matrix_complex *)(argp2);
13783     if (arg1) (arg1)->matrix = *arg2;
13784     ST(argvi) = &PL_sv_undef;
13785 
13786 
13787     XSRETURN(argvi);
13788   fail:
13789 
13790 
13791     SWIG_croak_null();
13792   }
13793 }
13794 
13795 
XS(_wrap__gsl_matrix_complex_const_view_matrix_get)13796 XS(_wrap__gsl_matrix_complex_const_view_matrix_get) {
13797   {
13798     _gsl_matrix_complex_const_view *arg1 = (_gsl_matrix_complex_const_view *) 0 ;
13799     void *argp1 = 0 ;
13800     int res1 = 0 ;
13801     int argvi = 0;
13802     gsl_matrix_complex *result = 0 ;
13803     dXSARGS;
13804 
13805     if ((items < 1) || (items > 1)) {
13806       SWIG_croak("Usage: _gsl_matrix_complex_const_view_matrix_get(self);");
13807     }
13808     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__gsl_matrix_complex_const_view, 0 |  0 );
13809     if (!SWIG_IsOK(res1)) {
13810       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_gsl_matrix_complex_const_view_matrix_get" "', argument " "1"" of type '" "_gsl_matrix_complex_const_view *""'");
13811     }
13812     arg1 = (_gsl_matrix_complex_const_view *)(argp1);
13813     result = (gsl_matrix_complex *)& ((arg1)->matrix);
13814     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_matrix_complex, 0 | SWIG_SHADOW); argvi++ ;
13815 
13816     XSRETURN(argvi);
13817   fail:
13818 
13819     SWIG_croak_null();
13820   }
13821 }
13822 
13823 
XS(_wrap_new__gsl_matrix_complex_const_view)13824 XS(_wrap_new__gsl_matrix_complex_const_view) {
13825   {
13826     int argvi = 0;
13827     _gsl_matrix_complex_const_view *result = 0 ;
13828     dXSARGS;
13829 
13830     if ((items < 0) || (items > 0)) {
13831       SWIG_croak("Usage: new__gsl_matrix_complex_const_view();");
13832     }
13833     result = (_gsl_matrix_complex_const_view *)calloc(1, sizeof(_gsl_matrix_complex_const_view));
13834     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__gsl_matrix_complex_const_view, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
13835     XSRETURN(argvi);
13836   fail:
13837     SWIG_croak_null();
13838   }
13839 }
13840 
13841 
XS(_wrap_delete__gsl_matrix_complex_const_view)13842 XS(_wrap_delete__gsl_matrix_complex_const_view) {
13843   {
13844     _gsl_matrix_complex_const_view *arg1 = (_gsl_matrix_complex_const_view *) 0 ;
13845     void *argp1 = 0 ;
13846     int res1 = 0 ;
13847     int argvi = 0;
13848     dXSARGS;
13849 
13850     if ((items < 1) || (items > 1)) {
13851       SWIG_croak("Usage: delete__gsl_matrix_complex_const_view(self);");
13852     }
13853     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__gsl_matrix_complex_const_view, SWIG_POINTER_DISOWN |  0 );
13854     if (!SWIG_IsOK(res1)) {
13855       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete__gsl_matrix_complex_const_view" "', argument " "1"" of type '" "_gsl_matrix_complex_const_view *""'");
13856     }
13857     arg1 = (_gsl_matrix_complex_const_view *)(argp1);
13858     free((char *) arg1);
13859     ST(argvi) = &PL_sv_undef;
13860 
13861     XSRETURN(argvi);
13862   fail:
13863 
13864     SWIG_croak_null();
13865   }
13866 }
13867 
13868 
XS(_wrap_gsl_matrix_complex_alloc)13869 XS(_wrap_gsl_matrix_complex_alloc) {
13870   {
13871     size_t arg1 ;
13872     size_t arg2 ;
13873     size_t val1 ;
13874     int ecode1 = 0 ;
13875     size_t val2 ;
13876     int ecode2 = 0 ;
13877     int argvi = 0;
13878     gsl_matrix_complex *result = 0 ;
13879     dXSARGS;
13880 
13881     if ((items < 2) || (items > 2)) {
13882       SWIG_croak("Usage: gsl_matrix_complex_alloc(n1,n2);");
13883     }
13884     ecode1 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
13885     if (!SWIG_IsOK(ecode1)) {
13886       SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_matrix_complex_alloc" "', argument " "1"" of type '" "size_t""'");
13887     }
13888     arg1 = (size_t)(val1);
13889     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
13890     if (!SWIG_IsOK(ecode2)) {
13891       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_alloc" "', argument " "2"" of type '" "size_t""'");
13892     }
13893     arg2 = (size_t)(val2);
13894     result = (gsl_matrix_complex *)gsl_matrix_complex_alloc(arg1,arg2);
13895     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_matrix_complex, 0 | SWIG_SHADOW); argvi++ ;
13896 
13897 
13898     XSRETURN(argvi);
13899   fail:
13900 
13901 
13902     SWIG_croak_null();
13903   }
13904 }
13905 
13906 
XS(_wrap_gsl_matrix_complex_calloc)13907 XS(_wrap_gsl_matrix_complex_calloc) {
13908   {
13909     size_t arg1 ;
13910     size_t arg2 ;
13911     size_t val1 ;
13912     int ecode1 = 0 ;
13913     size_t val2 ;
13914     int ecode2 = 0 ;
13915     int argvi = 0;
13916     gsl_matrix_complex *result = 0 ;
13917     dXSARGS;
13918 
13919     if ((items < 2) || (items > 2)) {
13920       SWIG_croak("Usage: gsl_matrix_complex_calloc(n1,n2);");
13921     }
13922     ecode1 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
13923     if (!SWIG_IsOK(ecode1)) {
13924       SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_matrix_complex_calloc" "', argument " "1"" of type '" "size_t""'");
13925     }
13926     arg1 = (size_t)(val1);
13927     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
13928     if (!SWIG_IsOK(ecode2)) {
13929       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_calloc" "', argument " "2"" of type '" "size_t""'");
13930     }
13931     arg2 = (size_t)(val2);
13932     result = (gsl_matrix_complex *)gsl_matrix_complex_calloc(arg1,arg2);
13933     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_matrix_complex, 0 | SWIG_SHADOW); argvi++ ;
13934 
13935 
13936     XSRETURN(argvi);
13937   fail:
13938 
13939 
13940     SWIG_croak_null();
13941   }
13942 }
13943 
13944 
XS(_wrap_gsl_matrix_complex_alloc_from_block)13945 XS(_wrap_gsl_matrix_complex_alloc_from_block) {
13946   {
13947     gsl_block_complex *arg1 = (gsl_block_complex *) 0 ;
13948     size_t arg2 ;
13949     size_t arg3 ;
13950     size_t arg4 ;
13951     size_t arg5 ;
13952     void *argp1 = 0 ;
13953     int res1 = 0 ;
13954     size_t val2 ;
13955     int ecode2 = 0 ;
13956     size_t val3 ;
13957     int ecode3 = 0 ;
13958     size_t val4 ;
13959     int ecode4 = 0 ;
13960     size_t val5 ;
13961     int ecode5 = 0 ;
13962     int argvi = 0;
13963     gsl_matrix_complex *result = 0 ;
13964     dXSARGS;
13965 
13966     if ((items < 5) || (items > 5)) {
13967       SWIG_croak("Usage: gsl_matrix_complex_alloc_from_block(b,offset,n1,n2,d2);");
13968     }
13969     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_block_complex, 0 |  0 );
13970     if (!SWIG_IsOK(res1)) {
13971       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_alloc_from_block" "', argument " "1"" of type '" "gsl_block_complex *""'");
13972     }
13973     arg1 = (gsl_block_complex *)(argp1);
13974     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
13975     if (!SWIG_IsOK(ecode2)) {
13976       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_alloc_from_block" "', argument " "2"" of type '" "size_t""'");
13977     }
13978     arg2 = (size_t)(val2);
13979     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
13980     if (!SWIG_IsOK(ecode3)) {
13981       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_complex_alloc_from_block" "', argument " "3"" of type '" "size_t""'");
13982     }
13983     arg3 = (size_t)(val3);
13984     ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
13985     if (!SWIG_IsOK(ecode4)) {
13986       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_matrix_complex_alloc_from_block" "', argument " "4"" of type '" "size_t""'");
13987     }
13988     arg4 = (size_t)(val4);
13989     ecode5 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
13990     if (!SWIG_IsOK(ecode5)) {
13991       SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "gsl_matrix_complex_alloc_from_block" "', argument " "5"" of type '" "size_t""'");
13992     }
13993     arg5 = (size_t)(val5);
13994     result = (gsl_matrix_complex *)gsl_matrix_complex_alloc_from_block(arg1,arg2,arg3,arg4,arg5);
13995     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_matrix_complex, 0 | SWIG_SHADOW); argvi++ ;
13996 
13997 
13998 
13999 
14000 
14001     XSRETURN(argvi);
14002   fail:
14003 
14004 
14005 
14006 
14007 
14008     SWIG_croak_null();
14009   }
14010 }
14011 
14012 
XS(_wrap_gsl_matrix_complex_alloc_from_matrix)14013 XS(_wrap_gsl_matrix_complex_alloc_from_matrix) {
14014   {
14015     gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
14016     size_t arg2 ;
14017     size_t arg3 ;
14018     size_t arg4 ;
14019     size_t arg5 ;
14020     void *argp1 = 0 ;
14021     int res1 = 0 ;
14022     size_t val2 ;
14023     int ecode2 = 0 ;
14024     size_t val3 ;
14025     int ecode3 = 0 ;
14026     size_t val4 ;
14027     int ecode4 = 0 ;
14028     size_t val5 ;
14029     int ecode5 = 0 ;
14030     int argvi = 0;
14031     gsl_matrix_complex *result = 0 ;
14032     dXSARGS;
14033 
14034     if ((items < 5) || (items > 5)) {
14035       SWIG_croak("Usage: gsl_matrix_complex_alloc_from_matrix(b,k1,k2,n1,n2);");
14036     }
14037     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
14038     if (!SWIG_IsOK(res1)) {
14039       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_alloc_from_matrix" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
14040     }
14041     arg1 = (gsl_matrix_complex *)(argp1);
14042     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
14043     if (!SWIG_IsOK(ecode2)) {
14044       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_alloc_from_matrix" "', argument " "2"" of type '" "size_t""'");
14045     }
14046     arg2 = (size_t)(val2);
14047     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
14048     if (!SWIG_IsOK(ecode3)) {
14049       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_complex_alloc_from_matrix" "', argument " "3"" of type '" "size_t""'");
14050     }
14051     arg3 = (size_t)(val3);
14052     ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
14053     if (!SWIG_IsOK(ecode4)) {
14054       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_matrix_complex_alloc_from_matrix" "', argument " "4"" of type '" "size_t""'");
14055     }
14056     arg4 = (size_t)(val4);
14057     ecode5 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
14058     if (!SWIG_IsOK(ecode5)) {
14059       SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "gsl_matrix_complex_alloc_from_matrix" "', argument " "5"" of type '" "size_t""'");
14060     }
14061     arg5 = (size_t)(val5);
14062     result = (gsl_matrix_complex *)gsl_matrix_complex_alloc_from_matrix(arg1,arg2,arg3,arg4,arg5);
14063     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_matrix_complex, 0 | SWIG_SHADOW); argvi++ ;
14064 
14065 
14066 
14067 
14068 
14069     XSRETURN(argvi);
14070   fail:
14071 
14072 
14073 
14074 
14075 
14076     SWIG_croak_null();
14077   }
14078 }
14079 
14080 
XS(_wrap_gsl_vector_complex_alloc_row_from_matrix)14081 XS(_wrap_gsl_vector_complex_alloc_row_from_matrix) {
14082   {
14083     gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
14084     size_t arg2 ;
14085     void *argp1 = 0 ;
14086     int res1 = 0 ;
14087     size_t val2 ;
14088     int ecode2 = 0 ;
14089     int argvi = 0;
14090     gsl_vector_complex *result = 0 ;
14091     dXSARGS;
14092 
14093     if ((items < 2) || (items > 2)) {
14094       SWIG_croak("Usage: gsl_vector_complex_alloc_row_from_matrix(m,i);");
14095     }
14096     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
14097     if (!SWIG_IsOK(res1)) {
14098       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_complex_alloc_row_from_matrix" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
14099     }
14100     arg1 = (gsl_matrix_complex *)(argp1);
14101     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
14102     if (!SWIG_IsOK(ecode2)) {
14103       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_complex_alloc_row_from_matrix" "', argument " "2"" of type '" "size_t""'");
14104     }
14105     arg2 = (size_t)(val2);
14106     result = (gsl_vector_complex *)gsl_vector_complex_alloc_row_from_matrix(arg1,arg2);
14107     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_vector_complex, 0 | 0); argvi++ ;
14108 
14109 
14110     XSRETURN(argvi);
14111   fail:
14112 
14113 
14114     SWIG_croak_null();
14115   }
14116 }
14117 
14118 
XS(_wrap_gsl_vector_complex_alloc_col_from_matrix)14119 XS(_wrap_gsl_vector_complex_alloc_col_from_matrix) {
14120   {
14121     gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
14122     size_t arg2 ;
14123     void *argp1 = 0 ;
14124     int res1 = 0 ;
14125     size_t val2 ;
14126     int ecode2 = 0 ;
14127     int argvi = 0;
14128     gsl_vector_complex *result = 0 ;
14129     dXSARGS;
14130 
14131     if ((items < 2) || (items > 2)) {
14132       SWIG_croak("Usage: gsl_vector_complex_alloc_col_from_matrix(m,j);");
14133     }
14134     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
14135     if (!SWIG_IsOK(res1)) {
14136       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_complex_alloc_col_from_matrix" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
14137     }
14138     arg1 = (gsl_matrix_complex *)(argp1);
14139     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
14140     if (!SWIG_IsOK(ecode2)) {
14141       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_complex_alloc_col_from_matrix" "', argument " "2"" of type '" "size_t""'");
14142     }
14143     arg2 = (size_t)(val2);
14144     result = (gsl_vector_complex *)gsl_vector_complex_alloc_col_from_matrix(arg1,arg2);
14145     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_vector_complex, 0 | 0); argvi++ ;
14146 
14147 
14148     XSRETURN(argvi);
14149   fail:
14150 
14151 
14152     SWIG_croak_null();
14153   }
14154 }
14155 
14156 
XS(_wrap_gsl_matrix_complex_free)14157 XS(_wrap_gsl_matrix_complex_free) {
14158   {
14159     gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
14160     void *argp1 = 0 ;
14161     int res1 = 0 ;
14162     int argvi = 0;
14163     dXSARGS;
14164 
14165     if ((items < 1) || (items > 1)) {
14166       SWIG_croak("Usage: gsl_matrix_complex_free(m);");
14167     }
14168     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
14169     if (!SWIG_IsOK(res1)) {
14170       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_free" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
14171     }
14172     arg1 = (gsl_matrix_complex *)(argp1);
14173     gsl_matrix_complex_free(arg1);
14174     ST(argvi) = &PL_sv_undef;
14175 
14176     XSRETURN(argvi);
14177   fail:
14178 
14179     SWIG_croak_null();
14180   }
14181 }
14182 
14183 
XS(_wrap_gsl_matrix_complex_submatrix)14184 XS(_wrap_gsl_matrix_complex_submatrix) {
14185   {
14186     gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
14187     size_t arg2 ;
14188     size_t arg3 ;
14189     size_t arg4 ;
14190     size_t arg5 ;
14191     void *argp1 = 0 ;
14192     int res1 = 0 ;
14193     size_t val2 ;
14194     int ecode2 = 0 ;
14195     size_t val3 ;
14196     int ecode3 = 0 ;
14197     size_t val4 ;
14198     int ecode4 = 0 ;
14199     size_t val5 ;
14200     int ecode5 = 0 ;
14201     int argvi = 0;
14202     _gsl_matrix_complex_view result;
14203     dXSARGS;
14204 
14205     if ((items < 5) || (items > 5)) {
14206       SWIG_croak("Usage: gsl_matrix_complex_submatrix(m,i,j,n1,n2);");
14207     }
14208     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
14209     if (!SWIG_IsOK(res1)) {
14210       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_submatrix" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
14211     }
14212     arg1 = (gsl_matrix_complex *)(argp1);
14213     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
14214     if (!SWIG_IsOK(ecode2)) {
14215       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_submatrix" "', argument " "2"" of type '" "size_t""'");
14216     }
14217     arg2 = (size_t)(val2);
14218     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
14219     if (!SWIG_IsOK(ecode3)) {
14220       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_complex_submatrix" "', argument " "3"" of type '" "size_t""'");
14221     }
14222     arg3 = (size_t)(val3);
14223     ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
14224     if (!SWIG_IsOK(ecode4)) {
14225       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_matrix_complex_submatrix" "', argument " "4"" of type '" "size_t""'");
14226     }
14227     arg4 = (size_t)(val4);
14228     ecode5 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
14229     if (!SWIG_IsOK(ecode5)) {
14230       SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "gsl_matrix_complex_submatrix" "', argument " "5"" of type '" "size_t""'");
14231     }
14232     arg5 = (size_t)(val5);
14233     result = gsl_matrix_complex_submatrix(arg1,arg2,arg3,arg4,arg5);
14234     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++ ;
14235 
14236 
14237 
14238 
14239 
14240     XSRETURN(argvi);
14241   fail:
14242 
14243 
14244 
14245 
14246 
14247     SWIG_croak_null();
14248   }
14249 }
14250 
14251 
XS(_wrap_gsl_matrix_complex_row)14252 XS(_wrap_gsl_matrix_complex_row) {
14253   {
14254     gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
14255     size_t arg2 ;
14256     void *argp1 = 0 ;
14257     int res1 = 0 ;
14258     size_t val2 ;
14259     int ecode2 = 0 ;
14260     int argvi = 0;
14261     _gsl_vector_complex_view result;
14262     dXSARGS;
14263 
14264     if ((items < 2) || (items > 2)) {
14265       SWIG_croak("Usage: gsl_matrix_complex_row(m,i);");
14266     }
14267     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
14268     if (!SWIG_IsOK(res1)) {
14269       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_row" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
14270     }
14271     arg1 = (gsl_matrix_complex *)(argp1);
14272     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
14273     if (!SWIG_IsOK(ecode2)) {
14274       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_row" "', argument " "2"" of type '" "size_t""'");
14275     }
14276     arg2 = (size_t)(val2);
14277     result = gsl_matrix_complex_row(arg1,arg2);
14278     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++ ;
14279 
14280 
14281     XSRETURN(argvi);
14282   fail:
14283 
14284 
14285     SWIG_croak_null();
14286   }
14287 }
14288 
14289 
XS(_wrap_gsl_matrix_complex_column)14290 XS(_wrap_gsl_matrix_complex_column) {
14291   {
14292     gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
14293     size_t arg2 ;
14294     void *argp1 = 0 ;
14295     int res1 = 0 ;
14296     size_t val2 ;
14297     int ecode2 = 0 ;
14298     int argvi = 0;
14299     _gsl_vector_complex_view result;
14300     dXSARGS;
14301 
14302     if ((items < 2) || (items > 2)) {
14303       SWIG_croak("Usage: gsl_matrix_complex_column(m,j);");
14304     }
14305     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
14306     if (!SWIG_IsOK(res1)) {
14307       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_column" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
14308     }
14309     arg1 = (gsl_matrix_complex *)(argp1);
14310     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
14311     if (!SWIG_IsOK(ecode2)) {
14312       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_column" "', argument " "2"" of type '" "size_t""'");
14313     }
14314     arg2 = (size_t)(val2);
14315     result = gsl_matrix_complex_column(arg1,arg2);
14316     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++ ;
14317 
14318 
14319     XSRETURN(argvi);
14320   fail:
14321 
14322 
14323     SWIG_croak_null();
14324   }
14325 }
14326 
14327 
XS(_wrap_gsl_matrix_complex_diagonal)14328 XS(_wrap_gsl_matrix_complex_diagonal) {
14329   {
14330     gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
14331     void *argp1 = 0 ;
14332     int res1 = 0 ;
14333     int argvi = 0;
14334     _gsl_vector_complex_view result;
14335     dXSARGS;
14336 
14337     if ((items < 1) || (items > 1)) {
14338       SWIG_croak("Usage: gsl_matrix_complex_diagonal(m);");
14339     }
14340     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
14341     if (!SWIG_IsOK(res1)) {
14342       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_diagonal" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
14343     }
14344     arg1 = (gsl_matrix_complex *)(argp1);
14345     result = gsl_matrix_complex_diagonal(arg1);
14346     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++ ;
14347 
14348     XSRETURN(argvi);
14349   fail:
14350 
14351     SWIG_croak_null();
14352   }
14353 }
14354 
14355 
XS(_wrap_gsl_matrix_complex_subdiagonal)14356 XS(_wrap_gsl_matrix_complex_subdiagonal) {
14357   {
14358     gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
14359     size_t arg2 ;
14360     void *argp1 = 0 ;
14361     int res1 = 0 ;
14362     size_t val2 ;
14363     int ecode2 = 0 ;
14364     int argvi = 0;
14365     _gsl_vector_complex_view result;
14366     dXSARGS;
14367 
14368     if ((items < 2) || (items > 2)) {
14369       SWIG_croak("Usage: gsl_matrix_complex_subdiagonal(m,k);");
14370     }
14371     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
14372     if (!SWIG_IsOK(res1)) {
14373       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_subdiagonal" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
14374     }
14375     arg1 = (gsl_matrix_complex *)(argp1);
14376     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
14377     if (!SWIG_IsOK(ecode2)) {
14378       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_subdiagonal" "', argument " "2"" of type '" "size_t""'");
14379     }
14380     arg2 = (size_t)(val2);
14381     result = gsl_matrix_complex_subdiagonal(arg1,arg2);
14382     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++ ;
14383 
14384 
14385     XSRETURN(argvi);
14386   fail:
14387 
14388 
14389     SWIG_croak_null();
14390   }
14391 }
14392 
14393 
XS(_wrap_gsl_matrix_complex_superdiagonal)14394 XS(_wrap_gsl_matrix_complex_superdiagonal) {
14395   {
14396     gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
14397     size_t arg2 ;
14398     void *argp1 = 0 ;
14399     int res1 = 0 ;
14400     size_t val2 ;
14401     int ecode2 = 0 ;
14402     int argvi = 0;
14403     _gsl_vector_complex_view result;
14404     dXSARGS;
14405 
14406     if ((items < 2) || (items > 2)) {
14407       SWIG_croak("Usage: gsl_matrix_complex_superdiagonal(m,k);");
14408     }
14409     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
14410     if (!SWIG_IsOK(res1)) {
14411       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_superdiagonal" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
14412     }
14413     arg1 = (gsl_matrix_complex *)(argp1);
14414     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
14415     if (!SWIG_IsOK(ecode2)) {
14416       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_superdiagonal" "', argument " "2"" of type '" "size_t""'");
14417     }
14418     arg2 = (size_t)(val2);
14419     result = gsl_matrix_complex_superdiagonal(arg1,arg2);
14420     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++ ;
14421 
14422 
14423     XSRETURN(argvi);
14424   fail:
14425 
14426 
14427     SWIG_croak_null();
14428   }
14429 }
14430 
14431 
XS(_wrap_gsl_matrix_complex_subrow)14432 XS(_wrap_gsl_matrix_complex_subrow) {
14433   {
14434     gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
14435     size_t arg2 ;
14436     size_t arg3 ;
14437     size_t arg4 ;
14438     void *argp1 = 0 ;
14439     int res1 = 0 ;
14440     size_t val2 ;
14441     int ecode2 = 0 ;
14442     size_t val3 ;
14443     int ecode3 = 0 ;
14444     size_t val4 ;
14445     int ecode4 = 0 ;
14446     int argvi = 0;
14447     _gsl_vector_complex_view result;
14448     dXSARGS;
14449 
14450     if ((items < 4) || (items > 4)) {
14451       SWIG_croak("Usage: gsl_matrix_complex_subrow(m,i,offset,n);");
14452     }
14453     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
14454     if (!SWIG_IsOK(res1)) {
14455       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_subrow" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
14456     }
14457     arg1 = (gsl_matrix_complex *)(argp1);
14458     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
14459     if (!SWIG_IsOK(ecode2)) {
14460       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_subrow" "', argument " "2"" of type '" "size_t""'");
14461     }
14462     arg2 = (size_t)(val2);
14463     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
14464     if (!SWIG_IsOK(ecode3)) {
14465       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_complex_subrow" "', argument " "3"" of type '" "size_t""'");
14466     }
14467     arg3 = (size_t)(val3);
14468     ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
14469     if (!SWIG_IsOK(ecode4)) {
14470       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_matrix_complex_subrow" "', argument " "4"" of type '" "size_t""'");
14471     }
14472     arg4 = (size_t)(val4);
14473     result = gsl_matrix_complex_subrow(arg1,arg2,arg3,arg4);
14474     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++ ;
14475 
14476 
14477 
14478 
14479     XSRETURN(argvi);
14480   fail:
14481 
14482 
14483 
14484 
14485     SWIG_croak_null();
14486   }
14487 }
14488 
14489 
XS(_wrap_gsl_matrix_complex_subcolumn)14490 XS(_wrap_gsl_matrix_complex_subcolumn) {
14491   {
14492     gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
14493     size_t arg2 ;
14494     size_t arg3 ;
14495     size_t arg4 ;
14496     void *argp1 = 0 ;
14497     int res1 = 0 ;
14498     size_t val2 ;
14499     int ecode2 = 0 ;
14500     size_t val3 ;
14501     int ecode3 = 0 ;
14502     size_t val4 ;
14503     int ecode4 = 0 ;
14504     int argvi = 0;
14505     _gsl_vector_complex_view result;
14506     dXSARGS;
14507 
14508     if ((items < 4) || (items > 4)) {
14509       SWIG_croak("Usage: gsl_matrix_complex_subcolumn(m,j,offset,n);");
14510     }
14511     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
14512     if (!SWIG_IsOK(res1)) {
14513       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_subcolumn" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
14514     }
14515     arg1 = (gsl_matrix_complex *)(argp1);
14516     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
14517     if (!SWIG_IsOK(ecode2)) {
14518       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_subcolumn" "', argument " "2"" of type '" "size_t""'");
14519     }
14520     arg2 = (size_t)(val2);
14521     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
14522     if (!SWIG_IsOK(ecode3)) {
14523       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_complex_subcolumn" "', argument " "3"" of type '" "size_t""'");
14524     }
14525     arg3 = (size_t)(val3);
14526     ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
14527     if (!SWIG_IsOK(ecode4)) {
14528       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_matrix_complex_subcolumn" "', argument " "4"" of type '" "size_t""'");
14529     }
14530     arg4 = (size_t)(val4);
14531     result = gsl_matrix_complex_subcolumn(arg1,arg2,arg3,arg4);
14532     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++ ;
14533 
14534 
14535 
14536 
14537     XSRETURN(argvi);
14538   fail:
14539 
14540 
14541 
14542 
14543     SWIG_croak_null();
14544   }
14545 }
14546 
14547 
XS(_wrap_gsl_matrix_complex_view_array)14548 XS(_wrap_gsl_matrix_complex_view_array) {
14549   {
14550     double *arg1 = (double *) 0 ;
14551     size_t arg2 ;
14552     size_t arg3 ;
14553     size_t val2 ;
14554     int ecode2 = 0 ;
14555     size_t val3 ;
14556     int ecode3 = 0 ;
14557     int argvi = 0;
14558     _gsl_matrix_complex_view result;
14559     dXSARGS;
14560 
14561     if ((items < 3) || (items > 3)) {
14562       SWIG_croak("Usage: gsl_matrix_complex_view_array(base,n1,n2);");
14563     }
14564     {
14565       AV *tempav;
14566       I32 len;
14567       int i;
14568       SV **tv;
14569       if (!SvROK(ST(0)))
14570       croak("Math::GSL : $base is not a reference!");
14571       if (SvTYPE(SvRV(ST(0))) != SVt_PVAV)
14572       croak("Math::GSL : $base is not an array ref!");
14573 
14574       tempav = (AV*)SvRV(ST(0));
14575       len = av_len(tempav);
14576       arg1 = (double *) malloc((len+2)*sizeof(double));
14577       for (i = 0; i <= len; i++) {
14578         tv = av_fetch(tempav, i, 0);
14579         arg1[i] = (double) SvNV(*tv);
14580       }
14581     }
14582     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
14583     if (!SWIG_IsOK(ecode2)) {
14584       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_view_array" "', argument " "2"" of type '" "size_t""'");
14585     }
14586     arg2 = (size_t)(val2);
14587     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
14588     if (!SWIG_IsOK(ecode3)) {
14589       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_complex_view_array" "', argument " "3"" of type '" "size_t""'");
14590     }
14591     arg3 = (size_t)(val3);
14592     result = gsl_matrix_complex_view_array(arg1,arg2,arg3);
14593     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++ ;
14594     {
14595       if (arg1) free(arg1);
14596     }
14597 
14598 
14599     XSRETURN(argvi);
14600   fail:
14601     {
14602       if (arg1) free(arg1);
14603     }
14604 
14605 
14606     SWIG_croak_null();
14607   }
14608 }
14609 
14610 
XS(_wrap_gsl_matrix_complex_view_array_with_tda)14611 XS(_wrap_gsl_matrix_complex_view_array_with_tda) {
14612   {
14613     double *arg1 = (double *) 0 ;
14614     size_t arg2 ;
14615     size_t arg3 ;
14616     size_t arg4 ;
14617     size_t val2 ;
14618     int ecode2 = 0 ;
14619     size_t val3 ;
14620     int ecode3 = 0 ;
14621     size_t val4 ;
14622     int ecode4 = 0 ;
14623     int argvi = 0;
14624     _gsl_matrix_complex_view result;
14625     dXSARGS;
14626 
14627     if ((items < 4) || (items > 4)) {
14628       SWIG_croak("Usage: gsl_matrix_complex_view_array_with_tda(base,n1,n2,tda);");
14629     }
14630     {
14631       AV *tempav;
14632       I32 len;
14633       int i;
14634       SV **tv;
14635       if (!SvROK(ST(0)))
14636       croak("Math::GSL : $base is not a reference!");
14637       if (SvTYPE(SvRV(ST(0))) != SVt_PVAV)
14638       croak("Math::GSL : $base is not an array ref!");
14639 
14640       tempav = (AV*)SvRV(ST(0));
14641       len = av_len(tempav);
14642       arg1 = (double *) malloc((len+2)*sizeof(double));
14643       for (i = 0; i <= len; i++) {
14644         tv = av_fetch(tempav, i, 0);
14645         arg1[i] = (double) SvNV(*tv);
14646       }
14647     }
14648     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
14649     if (!SWIG_IsOK(ecode2)) {
14650       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_view_array_with_tda" "', argument " "2"" of type '" "size_t""'");
14651     }
14652     arg2 = (size_t)(val2);
14653     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
14654     if (!SWIG_IsOK(ecode3)) {
14655       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_complex_view_array_with_tda" "', argument " "3"" of type '" "size_t""'");
14656     }
14657     arg3 = (size_t)(val3);
14658     ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
14659     if (!SWIG_IsOK(ecode4)) {
14660       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_matrix_complex_view_array_with_tda" "', argument " "4"" of type '" "size_t""'");
14661     }
14662     arg4 = (size_t)(val4);
14663     result = gsl_matrix_complex_view_array_with_tda(arg1,arg2,arg3,arg4);
14664     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++ ;
14665     {
14666       if (arg1) free(arg1);
14667     }
14668 
14669 
14670 
14671     XSRETURN(argvi);
14672   fail:
14673     {
14674       if (arg1) free(arg1);
14675     }
14676 
14677 
14678 
14679     SWIG_croak_null();
14680   }
14681 }
14682 
14683 
XS(_wrap_gsl_matrix_complex_view_vector)14684 XS(_wrap_gsl_matrix_complex_view_vector) {
14685   {
14686     gsl_vector_complex *arg1 = (gsl_vector_complex *) 0 ;
14687     size_t arg2 ;
14688     size_t arg3 ;
14689     void *argp1 = 0 ;
14690     int res1 = 0 ;
14691     size_t val2 ;
14692     int ecode2 = 0 ;
14693     size_t val3 ;
14694     int ecode3 = 0 ;
14695     int argvi = 0;
14696     _gsl_matrix_complex_view result;
14697     dXSARGS;
14698 
14699     if ((items < 3) || (items > 3)) {
14700       SWIG_croak("Usage: gsl_matrix_complex_view_vector(v,n1,n2);");
14701     }
14702     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_complex, 0 |  0 );
14703     if (!SWIG_IsOK(res1)) {
14704       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_view_vector" "', argument " "1"" of type '" "gsl_vector_complex *""'");
14705     }
14706     arg1 = (gsl_vector_complex *)(argp1);
14707     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
14708     if (!SWIG_IsOK(ecode2)) {
14709       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_view_vector" "', argument " "2"" of type '" "size_t""'");
14710     }
14711     arg2 = (size_t)(val2);
14712     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
14713     if (!SWIG_IsOK(ecode3)) {
14714       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_complex_view_vector" "', argument " "3"" of type '" "size_t""'");
14715     }
14716     arg3 = (size_t)(val3);
14717     result = gsl_matrix_complex_view_vector(arg1,arg2,arg3);
14718     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++ ;
14719 
14720 
14721 
14722     XSRETURN(argvi);
14723   fail:
14724 
14725 
14726 
14727     SWIG_croak_null();
14728   }
14729 }
14730 
14731 
XS(_wrap_gsl_matrix_complex_view_vector_with_tda)14732 XS(_wrap_gsl_matrix_complex_view_vector_with_tda) {
14733   {
14734     gsl_vector_complex *arg1 = (gsl_vector_complex *) 0 ;
14735     size_t arg2 ;
14736     size_t arg3 ;
14737     size_t arg4 ;
14738     void *argp1 = 0 ;
14739     int res1 = 0 ;
14740     size_t val2 ;
14741     int ecode2 = 0 ;
14742     size_t val3 ;
14743     int ecode3 = 0 ;
14744     size_t val4 ;
14745     int ecode4 = 0 ;
14746     int argvi = 0;
14747     _gsl_matrix_complex_view result;
14748     dXSARGS;
14749 
14750     if ((items < 4) || (items > 4)) {
14751       SWIG_croak("Usage: gsl_matrix_complex_view_vector_with_tda(v,n1,n2,tda);");
14752     }
14753     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_complex, 0 |  0 );
14754     if (!SWIG_IsOK(res1)) {
14755       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_view_vector_with_tda" "', argument " "1"" of type '" "gsl_vector_complex *""'");
14756     }
14757     arg1 = (gsl_vector_complex *)(argp1);
14758     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
14759     if (!SWIG_IsOK(ecode2)) {
14760       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_view_vector_with_tda" "', argument " "2"" of type '" "size_t""'");
14761     }
14762     arg2 = (size_t)(val2);
14763     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
14764     if (!SWIG_IsOK(ecode3)) {
14765       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_complex_view_vector_with_tda" "', argument " "3"" of type '" "size_t""'");
14766     }
14767     arg3 = (size_t)(val3);
14768     ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
14769     if (!SWIG_IsOK(ecode4)) {
14770       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_matrix_complex_view_vector_with_tda" "', argument " "4"" of type '" "size_t""'");
14771     }
14772     arg4 = (size_t)(val4);
14773     result = gsl_matrix_complex_view_vector_with_tda(arg1,arg2,arg3,arg4);
14774     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++ ;
14775 
14776 
14777 
14778 
14779     XSRETURN(argvi);
14780   fail:
14781 
14782 
14783 
14784 
14785     SWIG_croak_null();
14786   }
14787 }
14788 
14789 
XS(_wrap_gsl_matrix_complex_const_submatrix)14790 XS(_wrap_gsl_matrix_complex_const_submatrix) {
14791   {
14792     gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
14793     size_t arg2 ;
14794     size_t arg3 ;
14795     size_t arg4 ;
14796     size_t arg5 ;
14797     void *argp1 = 0 ;
14798     int res1 = 0 ;
14799     size_t val2 ;
14800     int ecode2 = 0 ;
14801     size_t val3 ;
14802     int ecode3 = 0 ;
14803     size_t val4 ;
14804     int ecode4 = 0 ;
14805     size_t val5 ;
14806     int ecode5 = 0 ;
14807     int argvi = 0;
14808     _gsl_matrix_complex_const_view result;
14809     dXSARGS;
14810 
14811     if ((items < 5) || (items > 5)) {
14812       SWIG_croak("Usage: gsl_matrix_complex_const_submatrix(m,i,j,n1,n2);");
14813     }
14814     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
14815     if (!SWIG_IsOK(res1)) {
14816       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_const_submatrix" "', argument " "1"" of type '" "gsl_matrix_complex const *""'");
14817     }
14818     arg1 = (gsl_matrix_complex *)(argp1);
14819     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
14820     if (!SWIG_IsOK(ecode2)) {
14821       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_const_submatrix" "', argument " "2"" of type '" "size_t""'");
14822     }
14823     arg2 = (size_t)(val2);
14824     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
14825     if (!SWIG_IsOK(ecode3)) {
14826       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_complex_const_submatrix" "', argument " "3"" of type '" "size_t""'");
14827     }
14828     arg3 = (size_t)(val3);
14829     ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
14830     if (!SWIG_IsOK(ecode4)) {
14831       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_matrix_complex_const_submatrix" "', argument " "4"" of type '" "size_t""'");
14832     }
14833     arg4 = (size_t)(val4);
14834     ecode5 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
14835     if (!SWIG_IsOK(ecode5)) {
14836       SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "gsl_matrix_complex_const_submatrix" "', argument " "5"" of type '" "size_t""'");
14837     }
14838     arg5 = (size_t)(val5);
14839     result = gsl_matrix_complex_const_submatrix((gsl_matrix_complex const *)arg1,arg2,arg3,arg4,arg5);
14840     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++ ;
14841 
14842 
14843 
14844 
14845 
14846     XSRETURN(argvi);
14847   fail:
14848 
14849 
14850 
14851 
14852 
14853     SWIG_croak_null();
14854   }
14855 }
14856 
14857 
XS(_wrap_gsl_matrix_complex_const_row)14858 XS(_wrap_gsl_matrix_complex_const_row) {
14859   {
14860     gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
14861     size_t arg2 ;
14862     void *argp1 = 0 ;
14863     int res1 = 0 ;
14864     size_t val2 ;
14865     int ecode2 = 0 ;
14866     int argvi = 0;
14867     _gsl_vector_complex_const_view result;
14868     dXSARGS;
14869 
14870     if ((items < 2) || (items > 2)) {
14871       SWIG_croak("Usage: gsl_matrix_complex_const_row(m,i);");
14872     }
14873     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
14874     if (!SWIG_IsOK(res1)) {
14875       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_const_row" "', argument " "1"" of type '" "gsl_matrix_complex const *""'");
14876     }
14877     arg1 = (gsl_matrix_complex *)(argp1);
14878     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
14879     if (!SWIG_IsOK(ecode2)) {
14880       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_const_row" "', argument " "2"" of type '" "size_t""'");
14881     }
14882     arg2 = (size_t)(val2);
14883     result = gsl_matrix_complex_const_row((gsl_matrix_complex const *)arg1,arg2);
14884     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++ ;
14885 
14886 
14887     XSRETURN(argvi);
14888   fail:
14889 
14890 
14891     SWIG_croak_null();
14892   }
14893 }
14894 
14895 
XS(_wrap_gsl_matrix_complex_const_column)14896 XS(_wrap_gsl_matrix_complex_const_column) {
14897   {
14898     gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
14899     size_t arg2 ;
14900     void *argp1 = 0 ;
14901     int res1 = 0 ;
14902     size_t val2 ;
14903     int ecode2 = 0 ;
14904     int argvi = 0;
14905     _gsl_vector_complex_const_view result;
14906     dXSARGS;
14907 
14908     if ((items < 2) || (items > 2)) {
14909       SWIG_croak("Usage: gsl_matrix_complex_const_column(m,j);");
14910     }
14911     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
14912     if (!SWIG_IsOK(res1)) {
14913       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_const_column" "', argument " "1"" of type '" "gsl_matrix_complex const *""'");
14914     }
14915     arg1 = (gsl_matrix_complex *)(argp1);
14916     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
14917     if (!SWIG_IsOK(ecode2)) {
14918       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_const_column" "', argument " "2"" of type '" "size_t""'");
14919     }
14920     arg2 = (size_t)(val2);
14921     result = gsl_matrix_complex_const_column((gsl_matrix_complex const *)arg1,arg2);
14922     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++ ;
14923 
14924 
14925     XSRETURN(argvi);
14926   fail:
14927 
14928 
14929     SWIG_croak_null();
14930   }
14931 }
14932 
14933 
XS(_wrap_gsl_matrix_complex_const_diagonal)14934 XS(_wrap_gsl_matrix_complex_const_diagonal) {
14935   {
14936     gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
14937     void *argp1 = 0 ;
14938     int res1 = 0 ;
14939     int argvi = 0;
14940     _gsl_vector_complex_const_view result;
14941     dXSARGS;
14942 
14943     if ((items < 1) || (items > 1)) {
14944       SWIG_croak("Usage: gsl_matrix_complex_const_diagonal(m);");
14945     }
14946     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
14947     if (!SWIG_IsOK(res1)) {
14948       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_const_diagonal" "', argument " "1"" of type '" "gsl_matrix_complex const *""'");
14949     }
14950     arg1 = (gsl_matrix_complex *)(argp1);
14951     result = gsl_matrix_complex_const_diagonal((gsl_matrix_complex const *)arg1);
14952     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++ ;
14953 
14954     XSRETURN(argvi);
14955   fail:
14956 
14957     SWIG_croak_null();
14958   }
14959 }
14960 
14961 
XS(_wrap_gsl_matrix_complex_const_subdiagonal)14962 XS(_wrap_gsl_matrix_complex_const_subdiagonal) {
14963   {
14964     gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
14965     size_t arg2 ;
14966     void *argp1 = 0 ;
14967     int res1 = 0 ;
14968     size_t val2 ;
14969     int ecode2 = 0 ;
14970     int argvi = 0;
14971     _gsl_vector_complex_const_view result;
14972     dXSARGS;
14973 
14974     if ((items < 2) || (items > 2)) {
14975       SWIG_croak("Usage: gsl_matrix_complex_const_subdiagonal(m,k);");
14976     }
14977     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
14978     if (!SWIG_IsOK(res1)) {
14979       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_const_subdiagonal" "', argument " "1"" of type '" "gsl_matrix_complex const *""'");
14980     }
14981     arg1 = (gsl_matrix_complex *)(argp1);
14982     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
14983     if (!SWIG_IsOK(ecode2)) {
14984       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_const_subdiagonal" "', argument " "2"" of type '" "size_t""'");
14985     }
14986     arg2 = (size_t)(val2);
14987     result = gsl_matrix_complex_const_subdiagonal((gsl_matrix_complex const *)arg1,arg2);
14988     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++ ;
14989 
14990 
14991     XSRETURN(argvi);
14992   fail:
14993 
14994 
14995     SWIG_croak_null();
14996   }
14997 }
14998 
14999 
XS(_wrap_gsl_matrix_complex_const_superdiagonal)15000 XS(_wrap_gsl_matrix_complex_const_superdiagonal) {
15001   {
15002     gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
15003     size_t arg2 ;
15004     void *argp1 = 0 ;
15005     int res1 = 0 ;
15006     size_t val2 ;
15007     int ecode2 = 0 ;
15008     int argvi = 0;
15009     _gsl_vector_complex_const_view result;
15010     dXSARGS;
15011 
15012     if ((items < 2) || (items > 2)) {
15013       SWIG_croak("Usage: gsl_matrix_complex_const_superdiagonal(m,k);");
15014     }
15015     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
15016     if (!SWIG_IsOK(res1)) {
15017       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_const_superdiagonal" "', argument " "1"" of type '" "gsl_matrix_complex const *""'");
15018     }
15019     arg1 = (gsl_matrix_complex *)(argp1);
15020     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
15021     if (!SWIG_IsOK(ecode2)) {
15022       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_const_superdiagonal" "', argument " "2"" of type '" "size_t""'");
15023     }
15024     arg2 = (size_t)(val2);
15025     result = gsl_matrix_complex_const_superdiagonal((gsl_matrix_complex const *)arg1,arg2);
15026     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++ ;
15027 
15028 
15029     XSRETURN(argvi);
15030   fail:
15031 
15032 
15033     SWIG_croak_null();
15034   }
15035 }
15036 
15037 
XS(_wrap_gsl_matrix_complex_const_subrow)15038 XS(_wrap_gsl_matrix_complex_const_subrow) {
15039   {
15040     gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
15041     size_t arg2 ;
15042     size_t arg3 ;
15043     size_t arg4 ;
15044     void *argp1 = 0 ;
15045     int res1 = 0 ;
15046     size_t val2 ;
15047     int ecode2 = 0 ;
15048     size_t val3 ;
15049     int ecode3 = 0 ;
15050     size_t val4 ;
15051     int ecode4 = 0 ;
15052     int argvi = 0;
15053     _gsl_vector_complex_const_view result;
15054     dXSARGS;
15055 
15056     if ((items < 4) || (items > 4)) {
15057       SWIG_croak("Usage: gsl_matrix_complex_const_subrow(m,i,offset,n);");
15058     }
15059     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
15060     if (!SWIG_IsOK(res1)) {
15061       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_const_subrow" "', argument " "1"" of type '" "gsl_matrix_complex const *""'");
15062     }
15063     arg1 = (gsl_matrix_complex *)(argp1);
15064     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
15065     if (!SWIG_IsOK(ecode2)) {
15066       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_const_subrow" "', argument " "2"" of type '" "size_t""'");
15067     }
15068     arg2 = (size_t)(val2);
15069     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
15070     if (!SWIG_IsOK(ecode3)) {
15071       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_complex_const_subrow" "', argument " "3"" of type '" "size_t""'");
15072     }
15073     arg3 = (size_t)(val3);
15074     ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
15075     if (!SWIG_IsOK(ecode4)) {
15076       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_matrix_complex_const_subrow" "', argument " "4"" of type '" "size_t""'");
15077     }
15078     arg4 = (size_t)(val4);
15079     result = gsl_matrix_complex_const_subrow((gsl_matrix_complex const *)arg1,arg2,arg3,arg4);
15080     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++ ;
15081 
15082 
15083 
15084 
15085     XSRETURN(argvi);
15086   fail:
15087 
15088 
15089 
15090 
15091     SWIG_croak_null();
15092   }
15093 }
15094 
15095 
XS(_wrap_gsl_matrix_complex_const_subcolumn)15096 XS(_wrap_gsl_matrix_complex_const_subcolumn) {
15097   {
15098     gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
15099     size_t arg2 ;
15100     size_t arg3 ;
15101     size_t arg4 ;
15102     void *argp1 = 0 ;
15103     int res1 = 0 ;
15104     size_t val2 ;
15105     int ecode2 = 0 ;
15106     size_t val3 ;
15107     int ecode3 = 0 ;
15108     size_t val4 ;
15109     int ecode4 = 0 ;
15110     int argvi = 0;
15111     _gsl_vector_complex_const_view result;
15112     dXSARGS;
15113 
15114     if ((items < 4) || (items > 4)) {
15115       SWIG_croak("Usage: gsl_matrix_complex_const_subcolumn(m,j,offset,n);");
15116     }
15117     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
15118     if (!SWIG_IsOK(res1)) {
15119       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_const_subcolumn" "', argument " "1"" of type '" "gsl_matrix_complex const *""'");
15120     }
15121     arg1 = (gsl_matrix_complex *)(argp1);
15122     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
15123     if (!SWIG_IsOK(ecode2)) {
15124       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_const_subcolumn" "', argument " "2"" of type '" "size_t""'");
15125     }
15126     arg2 = (size_t)(val2);
15127     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
15128     if (!SWIG_IsOK(ecode3)) {
15129       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_complex_const_subcolumn" "', argument " "3"" of type '" "size_t""'");
15130     }
15131     arg3 = (size_t)(val3);
15132     ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
15133     if (!SWIG_IsOK(ecode4)) {
15134       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_matrix_complex_const_subcolumn" "', argument " "4"" of type '" "size_t""'");
15135     }
15136     arg4 = (size_t)(val4);
15137     result = gsl_matrix_complex_const_subcolumn((gsl_matrix_complex const *)arg1,arg2,arg3,arg4);
15138     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++ ;
15139 
15140 
15141 
15142 
15143     XSRETURN(argvi);
15144   fail:
15145 
15146 
15147 
15148 
15149     SWIG_croak_null();
15150   }
15151 }
15152 
15153 
XS(_wrap_gsl_matrix_complex_const_view_array)15154 XS(_wrap_gsl_matrix_complex_const_view_array) {
15155   {
15156     double *arg1 = (double *) 0 ;
15157     size_t arg2 ;
15158     size_t arg3 ;
15159     size_t val2 ;
15160     int ecode2 = 0 ;
15161     size_t val3 ;
15162     int ecode3 = 0 ;
15163     int argvi = 0;
15164     _gsl_matrix_complex_const_view result;
15165     dXSARGS;
15166 
15167     if ((items < 3) || (items > 3)) {
15168       SWIG_croak("Usage: gsl_matrix_complex_const_view_array(base,n1,n2);");
15169     }
15170     {
15171       AV *tempav;
15172       I32 len;
15173       int i;
15174       SV **tv;
15175       if (!SvROK(ST(0)))
15176       croak("Math::GSL : $base is not a reference!");
15177       if (SvTYPE(SvRV(ST(0))) != SVt_PVAV)
15178       croak("Math::GSL : $base is not an array ref!");
15179 
15180       tempav = (AV*)SvRV(ST(0));
15181       len = av_len(tempav);
15182       arg1 = (double *) malloc((len+2)*sizeof(double));
15183       for (i = 0; i <= len; i++) {
15184         tv = av_fetch(tempav, i, 0);
15185         arg1[i] = (double) SvNV(*tv);
15186       }
15187     }
15188     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
15189     if (!SWIG_IsOK(ecode2)) {
15190       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_const_view_array" "', argument " "2"" of type '" "size_t""'");
15191     }
15192     arg2 = (size_t)(val2);
15193     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
15194     if (!SWIG_IsOK(ecode3)) {
15195       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_complex_const_view_array" "', argument " "3"" of type '" "size_t""'");
15196     }
15197     arg3 = (size_t)(val3);
15198     result = gsl_matrix_complex_const_view_array((double const *)arg1,arg2,arg3);
15199     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++ ;
15200     {
15201       if (arg1) free(arg1);
15202     }
15203 
15204 
15205     XSRETURN(argvi);
15206   fail:
15207     {
15208       if (arg1) free(arg1);
15209     }
15210 
15211 
15212     SWIG_croak_null();
15213   }
15214 }
15215 
15216 
XS(_wrap_gsl_matrix_complex_const_view_array_with_tda)15217 XS(_wrap_gsl_matrix_complex_const_view_array_with_tda) {
15218   {
15219     double *arg1 = (double *) 0 ;
15220     size_t arg2 ;
15221     size_t arg3 ;
15222     size_t arg4 ;
15223     size_t val2 ;
15224     int ecode2 = 0 ;
15225     size_t val3 ;
15226     int ecode3 = 0 ;
15227     size_t val4 ;
15228     int ecode4 = 0 ;
15229     int argvi = 0;
15230     _gsl_matrix_complex_const_view result;
15231     dXSARGS;
15232 
15233     if ((items < 4) || (items > 4)) {
15234       SWIG_croak("Usage: gsl_matrix_complex_const_view_array_with_tda(base,n1,n2,tda);");
15235     }
15236     {
15237       AV *tempav;
15238       I32 len;
15239       int i;
15240       SV **tv;
15241       if (!SvROK(ST(0)))
15242       croak("Math::GSL : $base is not a reference!");
15243       if (SvTYPE(SvRV(ST(0))) != SVt_PVAV)
15244       croak("Math::GSL : $base is not an array ref!");
15245 
15246       tempav = (AV*)SvRV(ST(0));
15247       len = av_len(tempav);
15248       arg1 = (double *) malloc((len+2)*sizeof(double));
15249       for (i = 0; i <= len; i++) {
15250         tv = av_fetch(tempav, i, 0);
15251         arg1[i] = (double) SvNV(*tv);
15252       }
15253     }
15254     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
15255     if (!SWIG_IsOK(ecode2)) {
15256       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_const_view_array_with_tda" "', argument " "2"" of type '" "size_t""'");
15257     }
15258     arg2 = (size_t)(val2);
15259     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
15260     if (!SWIG_IsOK(ecode3)) {
15261       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_complex_const_view_array_with_tda" "', argument " "3"" of type '" "size_t""'");
15262     }
15263     arg3 = (size_t)(val3);
15264     ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
15265     if (!SWIG_IsOK(ecode4)) {
15266       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_matrix_complex_const_view_array_with_tda" "', argument " "4"" of type '" "size_t""'");
15267     }
15268     arg4 = (size_t)(val4);
15269     result = gsl_matrix_complex_const_view_array_with_tda((double const *)arg1,arg2,arg3,arg4);
15270     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++ ;
15271     {
15272       if (arg1) free(arg1);
15273     }
15274 
15275 
15276 
15277     XSRETURN(argvi);
15278   fail:
15279     {
15280       if (arg1) free(arg1);
15281     }
15282 
15283 
15284 
15285     SWIG_croak_null();
15286   }
15287 }
15288 
15289 
XS(_wrap_gsl_matrix_complex_const_view_vector)15290 XS(_wrap_gsl_matrix_complex_const_view_vector) {
15291   {
15292     gsl_vector_complex *arg1 = (gsl_vector_complex *) 0 ;
15293     size_t arg2 ;
15294     size_t arg3 ;
15295     void *argp1 = 0 ;
15296     int res1 = 0 ;
15297     size_t val2 ;
15298     int ecode2 = 0 ;
15299     size_t val3 ;
15300     int ecode3 = 0 ;
15301     int argvi = 0;
15302     _gsl_matrix_complex_const_view result;
15303     dXSARGS;
15304 
15305     if ((items < 3) || (items > 3)) {
15306       SWIG_croak("Usage: gsl_matrix_complex_const_view_vector(v,n1,n2);");
15307     }
15308     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_complex, 0 |  0 );
15309     if (!SWIG_IsOK(res1)) {
15310       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_const_view_vector" "', argument " "1"" of type '" "gsl_vector_complex const *""'");
15311     }
15312     arg1 = (gsl_vector_complex *)(argp1);
15313     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
15314     if (!SWIG_IsOK(ecode2)) {
15315       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_const_view_vector" "', argument " "2"" of type '" "size_t""'");
15316     }
15317     arg2 = (size_t)(val2);
15318     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
15319     if (!SWIG_IsOK(ecode3)) {
15320       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_complex_const_view_vector" "', argument " "3"" of type '" "size_t""'");
15321     }
15322     arg3 = (size_t)(val3);
15323     result = gsl_matrix_complex_const_view_vector((gsl_vector_complex const *)arg1,arg2,arg3);
15324     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++ ;
15325 
15326 
15327 
15328     XSRETURN(argvi);
15329   fail:
15330 
15331 
15332 
15333     SWIG_croak_null();
15334   }
15335 }
15336 
15337 
XS(_wrap_gsl_matrix_complex_const_view_vector_with_tda)15338 XS(_wrap_gsl_matrix_complex_const_view_vector_with_tda) {
15339   {
15340     gsl_vector_complex *arg1 = (gsl_vector_complex *) 0 ;
15341     size_t arg2 ;
15342     size_t arg3 ;
15343     size_t arg4 ;
15344     void *argp1 = 0 ;
15345     int res1 = 0 ;
15346     size_t val2 ;
15347     int ecode2 = 0 ;
15348     size_t val3 ;
15349     int ecode3 = 0 ;
15350     size_t val4 ;
15351     int ecode4 = 0 ;
15352     int argvi = 0;
15353     _gsl_matrix_complex_const_view result;
15354     dXSARGS;
15355 
15356     if ((items < 4) || (items > 4)) {
15357       SWIG_croak("Usage: gsl_matrix_complex_const_view_vector_with_tda(v,n1,n2,tda);");
15358     }
15359     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_complex, 0 |  0 );
15360     if (!SWIG_IsOK(res1)) {
15361       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_const_view_vector_with_tda" "', argument " "1"" of type '" "gsl_vector_complex const *""'");
15362     }
15363     arg1 = (gsl_vector_complex *)(argp1);
15364     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
15365     if (!SWIG_IsOK(ecode2)) {
15366       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_const_view_vector_with_tda" "', argument " "2"" of type '" "size_t""'");
15367     }
15368     arg2 = (size_t)(val2);
15369     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
15370     if (!SWIG_IsOK(ecode3)) {
15371       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_complex_const_view_vector_with_tda" "', argument " "3"" of type '" "size_t""'");
15372     }
15373     arg3 = (size_t)(val3);
15374     ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
15375     if (!SWIG_IsOK(ecode4)) {
15376       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_matrix_complex_const_view_vector_with_tda" "', argument " "4"" of type '" "size_t""'");
15377     }
15378     arg4 = (size_t)(val4);
15379     result = gsl_matrix_complex_const_view_vector_with_tda((gsl_vector_complex const *)arg1,arg2,arg3,arg4);
15380     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++ ;
15381 
15382 
15383 
15384 
15385     XSRETURN(argvi);
15386   fail:
15387 
15388 
15389 
15390 
15391     SWIG_croak_null();
15392   }
15393 }
15394 
15395 
XS(_wrap_gsl_matrix_complex_set_zero)15396 XS(_wrap_gsl_matrix_complex_set_zero) {
15397   {
15398     gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
15399     void *argp1 = 0 ;
15400     int res1 = 0 ;
15401     int argvi = 0;
15402     dXSARGS;
15403 
15404     if ((items < 1) || (items > 1)) {
15405       SWIG_croak("Usage: gsl_matrix_complex_set_zero(m);");
15406     }
15407     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
15408     if (!SWIG_IsOK(res1)) {
15409       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_set_zero" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
15410     }
15411     arg1 = (gsl_matrix_complex *)(argp1);
15412     gsl_matrix_complex_set_zero(arg1);
15413     ST(argvi) = &PL_sv_undef;
15414 
15415     XSRETURN(argvi);
15416   fail:
15417 
15418     SWIG_croak_null();
15419   }
15420 }
15421 
15422 
XS(_wrap_gsl_matrix_complex_set_identity)15423 XS(_wrap_gsl_matrix_complex_set_identity) {
15424   {
15425     gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
15426     void *argp1 = 0 ;
15427     int res1 = 0 ;
15428     int argvi = 0;
15429     dXSARGS;
15430 
15431     if ((items < 1) || (items > 1)) {
15432       SWIG_croak("Usage: gsl_matrix_complex_set_identity(m);");
15433     }
15434     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
15435     if (!SWIG_IsOK(res1)) {
15436       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_set_identity" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
15437     }
15438     arg1 = (gsl_matrix_complex *)(argp1);
15439     gsl_matrix_complex_set_identity(arg1);
15440     ST(argvi) = &PL_sv_undef;
15441 
15442     XSRETURN(argvi);
15443   fail:
15444 
15445     SWIG_croak_null();
15446   }
15447 }
15448 
15449 
XS(_wrap_gsl_matrix_complex_set_all)15450 XS(_wrap_gsl_matrix_complex_set_all) {
15451   {
15452     gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
15453     gsl_complex arg2 ;
15454     void *argp1 = 0 ;
15455     int res1 = 0 ;
15456     void *argp2 ;
15457     int res2 = 0 ;
15458     int argvi = 0;
15459     dXSARGS;
15460 
15461     if ((items < 2) || (items > 2)) {
15462       SWIG_croak("Usage: gsl_matrix_complex_set_all(m,x);");
15463     }
15464     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
15465     if (!SWIG_IsOK(res1)) {
15466       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_set_all" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
15467     }
15468     arg1 = (gsl_matrix_complex *)(argp1);
15469     {
15470       res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_gsl_complex,  0 );
15471       if (!SWIG_IsOK(res2)) {
15472         SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_complex_set_all" "', argument " "2"" of type '" "gsl_complex""'");
15473       }
15474       if (!argp2) {
15475         SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "gsl_matrix_complex_set_all" "', argument " "2"" of type '" "gsl_complex""'");
15476       } else {
15477         arg2 = *((gsl_complex *)(argp2));
15478       }
15479     }
15480     gsl_matrix_complex_set_all(arg1,arg2);
15481     ST(argvi) = &PL_sv_undef;
15482 
15483     XSRETURN(argvi);
15484   fail:
15485 
15486     SWIG_croak_null();
15487   }
15488 }
15489 
15490 
XS(_wrap_gsl_matrix_complex_fread)15491 XS(_wrap_gsl_matrix_complex_fread) {
15492   {
15493     FILE *arg1 = (FILE *) 0 ;
15494     gsl_matrix_complex *arg2 = (gsl_matrix_complex *) 0 ;
15495     void *argp1 = 0 ;
15496     int res1 = 0 ;
15497     void *argp2 = 0 ;
15498     int res2 = 0 ;
15499     int argvi = 0;
15500     int result;
15501     dXSARGS;
15502 
15503     if ((items < 2) || (items > 2)) {
15504       SWIG_croak("Usage: gsl_matrix_complex_fread(stream,m);");
15505     }
15506     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_FILE, 0 |  0 );
15507     if (!SWIG_IsOK(res1)) {
15508       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_fread" "', argument " "1"" of type '" "FILE *""'");
15509     }
15510     arg1 = (FILE *)(argp1);
15511     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
15512     if (!SWIG_IsOK(res2)) {
15513       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_complex_fread" "', argument " "2"" of type '" "gsl_matrix_complex *""'");
15514     }
15515     arg2 = (gsl_matrix_complex *)(argp2);
15516     result = (int)gsl_matrix_complex_fread(arg1,arg2);
15517     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
15518 
15519 
15520     XSRETURN(argvi);
15521   fail:
15522 
15523 
15524     SWIG_croak_null();
15525   }
15526 }
15527 
15528 
XS(_wrap_gsl_matrix_complex_fwrite)15529 XS(_wrap_gsl_matrix_complex_fwrite) {
15530   {
15531     FILE *arg1 = (FILE *) 0 ;
15532     gsl_matrix_complex *arg2 = (gsl_matrix_complex *) 0 ;
15533     void *argp1 = 0 ;
15534     int res1 = 0 ;
15535     void *argp2 = 0 ;
15536     int res2 = 0 ;
15537     int argvi = 0;
15538     int result;
15539     dXSARGS;
15540 
15541     if ((items < 2) || (items > 2)) {
15542       SWIG_croak("Usage: gsl_matrix_complex_fwrite(stream,m);");
15543     }
15544     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_FILE, 0 |  0 );
15545     if (!SWIG_IsOK(res1)) {
15546       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_fwrite" "', argument " "1"" of type '" "FILE *""'");
15547     }
15548     arg1 = (FILE *)(argp1);
15549     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
15550     if (!SWIG_IsOK(res2)) {
15551       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_complex_fwrite" "', argument " "2"" of type '" "gsl_matrix_complex const *""'");
15552     }
15553     arg2 = (gsl_matrix_complex *)(argp2);
15554     result = (int)gsl_matrix_complex_fwrite(arg1,(gsl_matrix_complex const *)arg2);
15555     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
15556 
15557 
15558     XSRETURN(argvi);
15559   fail:
15560 
15561 
15562     SWIG_croak_null();
15563   }
15564 }
15565 
15566 
XS(_wrap_gsl_matrix_complex_fscanf)15567 XS(_wrap_gsl_matrix_complex_fscanf) {
15568   {
15569     FILE *arg1 = (FILE *) 0 ;
15570     gsl_matrix_complex *arg2 = (gsl_matrix_complex *) 0 ;
15571     void *argp1 = 0 ;
15572     int res1 = 0 ;
15573     void *argp2 = 0 ;
15574     int res2 = 0 ;
15575     int argvi = 0;
15576     int result;
15577     dXSARGS;
15578 
15579     if ((items < 2) || (items > 2)) {
15580       SWIG_croak("Usage: gsl_matrix_complex_fscanf(stream,m);");
15581     }
15582     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_FILE, 0 |  0 );
15583     if (!SWIG_IsOK(res1)) {
15584       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_fscanf" "', argument " "1"" of type '" "FILE *""'");
15585     }
15586     arg1 = (FILE *)(argp1);
15587     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
15588     if (!SWIG_IsOK(res2)) {
15589       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_complex_fscanf" "', argument " "2"" of type '" "gsl_matrix_complex *""'");
15590     }
15591     arg2 = (gsl_matrix_complex *)(argp2);
15592     result = (int)gsl_matrix_complex_fscanf(arg1,arg2);
15593     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
15594 
15595 
15596     XSRETURN(argvi);
15597   fail:
15598 
15599 
15600     SWIG_croak_null();
15601   }
15602 }
15603 
15604 
XS(_wrap_gsl_matrix_complex_fprintf)15605 XS(_wrap_gsl_matrix_complex_fprintf) {
15606   {
15607     FILE *arg1 = (FILE *) 0 ;
15608     gsl_matrix_complex *arg2 = (gsl_matrix_complex *) 0 ;
15609     char *arg3 = (char *) 0 ;
15610     void *argp1 = 0 ;
15611     int res1 = 0 ;
15612     void *argp2 = 0 ;
15613     int res2 = 0 ;
15614     int res3 ;
15615     char *buf3 = 0 ;
15616     int alloc3 = 0 ;
15617     int argvi = 0;
15618     int result;
15619     dXSARGS;
15620 
15621     if ((items < 3) || (items > 3)) {
15622       SWIG_croak("Usage: gsl_matrix_complex_fprintf(stream,m,format);");
15623     }
15624     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_FILE, 0 |  0 );
15625     if (!SWIG_IsOK(res1)) {
15626       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_fprintf" "', argument " "1"" of type '" "FILE *""'");
15627     }
15628     arg1 = (FILE *)(argp1);
15629     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
15630     if (!SWIG_IsOK(res2)) {
15631       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_complex_fprintf" "', argument " "2"" of type '" "gsl_matrix_complex const *""'");
15632     }
15633     arg2 = (gsl_matrix_complex *)(argp2);
15634     res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
15635     if (!SWIG_IsOK(res3)) {
15636       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_matrix_complex_fprintf" "', argument " "3"" of type '" "char const *""'");
15637     }
15638     arg3 = (char *)(buf3);
15639     result = (int)gsl_matrix_complex_fprintf(arg1,(gsl_matrix_complex const *)arg2,(char const *)arg3);
15640     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
15641 
15642 
15643     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
15644     XSRETURN(argvi);
15645   fail:
15646 
15647 
15648     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
15649     SWIG_croak_null();
15650   }
15651 }
15652 
15653 
XS(_wrap_gsl_matrix_complex_memcpy)15654 XS(_wrap_gsl_matrix_complex_memcpy) {
15655   {
15656     gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
15657     gsl_matrix_complex *arg2 = (gsl_matrix_complex *) 0 ;
15658     void *argp1 = 0 ;
15659     int res1 = 0 ;
15660     void *argp2 = 0 ;
15661     int res2 = 0 ;
15662     int argvi = 0;
15663     int result;
15664     dXSARGS;
15665 
15666     if ((items < 2) || (items > 2)) {
15667       SWIG_croak("Usage: gsl_matrix_complex_memcpy(dest,src);");
15668     }
15669     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
15670     if (!SWIG_IsOK(res1)) {
15671       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_memcpy" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
15672     }
15673     arg1 = (gsl_matrix_complex *)(argp1);
15674     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
15675     if (!SWIG_IsOK(res2)) {
15676       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_complex_memcpy" "', argument " "2"" of type '" "gsl_matrix_complex const *""'");
15677     }
15678     arg2 = (gsl_matrix_complex *)(argp2);
15679     result = (int)gsl_matrix_complex_memcpy(arg1,(gsl_matrix_complex const *)arg2);
15680     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
15681 
15682 
15683     XSRETURN(argvi);
15684   fail:
15685 
15686 
15687     SWIG_croak_null();
15688   }
15689 }
15690 
15691 
XS(_wrap_gsl_matrix_complex_swap)15692 XS(_wrap_gsl_matrix_complex_swap) {
15693   {
15694     gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
15695     gsl_matrix_complex *arg2 = (gsl_matrix_complex *) 0 ;
15696     void *argp1 = 0 ;
15697     int res1 = 0 ;
15698     void *argp2 = 0 ;
15699     int res2 = 0 ;
15700     int argvi = 0;
15701     int result;
15702     dXSARGS;
15703 
15704     if ((items < 2) || (items > 2)) {
15705       SWIG_croak("Usage: gsl_matrix_complex_swap(m1,m2);");
15706     }
15707     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
15708     if (!SWIG_IsOK(res1)) {
15709       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_swap" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
15710     }
15711     arg1 = (gsl_matrix_complex *)(argp1);
15712     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
15713     if (!SWIG_IsOK(res2)) {
15714       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_complex_swap" "', argument " "2"" of type '" "gsl_matrix_complex *""'");
15715     }
15716     arg2 = (gsl_matrix_complex *)(argp2);
15717     result = (int)gsl_matrix_complex_swap(arg1,arg2);
15718     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
15719 
15720 
15721     XSRETURN(argvi);
15722   fail:
15723 
15724 
15725     SWIG_croak_null();
15726   }
15727 }
15728 
15729 
XS(_wrap_gsl_matrix_complex_tricpy)15730 XS(_wrap_gsl_matrix_complex_tricpy) {
15731   {
15732     CBLAS_UPLO_t arg1 ;
15733     CBLAS_DIAG_t arg2 ;
15734     gsl_matrix_complex *arg3 = (gsl_matrix_complex *) 0 ;
15735     gsl_matrix_complex *arg4 = (gsl_matrix_complex *) 0 ;
15736     int val1 ;
15737     int ecode1 = 0 ;
15738     int val2 ;
15739     int ecode2 = 0 ;
15740     void *argp3 = 0 ;
15741     int res3 = 0 ;
15742     void *argp4 = 0 ;
15743     int res4 = 0 ;
15744     int argvi = 0;
15745     int result;
15746     dXSARGS;
15747 
15748     if ((items < 4) || (items > 4)) {
15749       SWIG_croak("Usage: gsl_matrix_complex_tricpy(Uplo,Diag,dest,src);");
15750     }
15751     ecode1 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
15752     if (!SWIG_IsOK(ecode1)) {
15753       SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_matrix_complex_tricpy" "', argument " "1"" of type '" "CBLAS_UPLO_t""'");
15754     }
15755     arg1 = (CBLAS_UPLO_t)(val1);
15756     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
15757     if (!SWIG_IsOK(ecode2)) {
15758       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_tricpy" "', argument " "2"" of type '" "CBLAS_DIAG_t""'");
15759     }
15760     arg2 = (CBLAS_DIAG_t)(val2);
15761     res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
15762     if (!SWIG_IsOK(res3)) {
15763       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_matrix_complex_tricpy" "', argument " "3"" of type '" "gsl_matrix_complex *""'");
15764     }
15765     arg3 = (gsl_matrix_complex *)(argp3);
15766     res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
15767     if (!SWIG_IsOK(res4)) {
15768       SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_matrix_complex_tricpy" "', argument " "4"" of type '" "gsl_matrix_complex const *""'");
15769     }
15770     arg4 = (gsl_matrix_complex *)(argp4);
15771     result = (int)gsl_matrix_complex_tricpy(arg1,arg2,arg3,(gsl_matrix_complex const *)arg4);
15772     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
15773 
15774 
15775 
15776 
15777     XSRETURN(argvi);
15778   fail:
15779 
15780 
15781 
15782 
15783     SWIG_croak_null();
15784   }
15785 }
15786 
15787 
XS(_wrap_gsl_matrix_complex_swap_rows)15788 XS(_wrap_gsl_matrix_complex_swap_rows) {
15789   {
15790     gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
15791     size_t arg2 ;
15792     size_t arg3 ;
15793     void *argp1 = 0 ;
15794     int res1 = 0 ;
15795     size_t val2 ;
15796     int ecode2 = 0 ;
15797     size_t val3 ;
15798     int ecode3 = 0 ;
15799     int argvi = 0;
15800     int result;
15801     dXSARGS;
15802 
15803     if ((items < 3) || (items > 3)) {
15804       SWIG_croak("Usage: gsl_matrix_complex_swap_rows(m,i,j);");
15805     }
15806     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
15807     if (!SWIG_IsOK(res1)) {
15808       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_swap_rows" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
15809     }
15810     arg1 = (gsl_matrix_complex *)(argp1);
15811     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
15812     if (!SWIG_IsOK(ecode2)) {
15813       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_swap_rows" "', argument " "2"" of type '" "size_t""'");
15814     }
15815     arg2 = (size_t)(val2);
15816     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
15817     if (!SWIG_IsOK(ecode3)) {
15818       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_complex_swap_rows" "', argument " "3"" of type '" "size_t""'");
15819     }
15820     arg3 = (size_t)(val3);
15821     result = (int)gsl_matrix_complex_swap_rows(arg1,arg2,arg3);
15822     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
15823 
15824 
15825 
15826     XSRETURN(argvi);
15827   fail:
15828 
15829 
15830 
15831     SWIG_croak_null();
15832   }
15833 }
15834 
15835 
XS(_wrap_gsl_matrix_complex_swap_columns)15836 XS(_wrap_gsl_matrix_complex_swap_columns) {
15837   {
15838     gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
15839     size_t arg2 ;
15840     size_t arg3 ;
15841     void *argp1 = 0 ;
15842     int res1 = 0 ;
15843     size_t val2 ;
15844     int ecode2 = 0 ;
15845     size_t val3 ;
15846     int ecode3 = 0 ;
15847     int argvi = 0;
15848     int result;
15849     dXSARGS;
15850 
15851     if ((items < 3) || (items > 3)) {
15852       SWIG_croak("Usage: gsl_matrix_complex_swap_columns(m,i,j);");
15853     }
15854     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
15855     if (!SWIG_IsOK(res1)) {
15856       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_swap_columns" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
15857     }
15858     arg1 = (gsl_matrix_complex *)(argp1);
15859     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
15860     if (!SWIG_IsOK(ecode2)) {
15861       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_swap_columns" "', argument " "2"" of type '" "size_t""'");
15862     }
15863     arg2 = (size_t)(val2);
15864     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
15865     if (!SWIG_IsOK(ecode3)) {
15866       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_complex_swap_columns" "', argument " "3"" of type '" "size_t""'");
15867     }
15868     arg3 = (size_t)(val3);
15869     result = (int)gsl_matrix_complex_swap_columns(arg1,arg2,arg3);
15870     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
15871 
15872 
15873 
15874     XSRETURN(argvi);
15875   fail:
15876 
15877 
15878 
15879     SWIG_croak_null();
15880   }
15881 }
15882 
15883 
XS(_wrap_gsl_matrix_complex_swap_rowcol)15884 XS(_wrap_gsl_matrix_complex_swap_rowcol) {
15885   {
15886     gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
15887     size_t arg2 ;
15888     size_t arg3 ;
15889     void *argp1 = 0 ;
15890     int res1 = 0 ;
15891     size_t val2 ;
15892     int ecode2 = 0 ;
15893     size_t val3 ;
15894     int ecode3 = 0 ;
15895     int argvi = 0;
15896     int result;
15897     dXSARGS;
15898 
15899     if ((items < 3) || (items > 3)) {
15900       SWIG_croak("Usage: gsl_matrix_complex_swap_rowcol(m,i,j);");
15901     }
15902     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
15903     if (!SWIG_IsOK(res1)) {
15904       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_swap_rowcol" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
15905     }
15906     arg1 = (gsl_matrix_complex *)(argp1);
15907     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
15908     if (!SWIG_IsOK(ecode2)) {
15909       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_swap_rowcol" "', argument " "2"" of type '" "size_t""'");
15910     }
15911     arg2 = (size_t)(val2);
15912     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
15913     if (!SWIG_IsOK(ecode3)) {
15914       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_complex_swap_rowcol" "', argument " "3"" of type '" "size_t""'");
15915     }
15916     arg3 = (size_t)(val3);
15917     result = (int)gsl_matrix_complex_swap_rowcol(arg1,arg2,arg3);
15918     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
15919 
15920 
15921 
15922     XSRETURN(argvi);
15923   fail:
15924 
15925 
15926 
15927     SWIG_croak_null();
15928   }
15929 }
15930 
15931 
XS(_wrap_gsl_matrix_complex_transpose)15932 XS(_wrap_gsl_matrix_complex_transpose) {
15933   {
15934     gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
15935     void *argp1 = 0 ;
15936     int res1 = 0 ;
15937     int argvi = 0;
15938     int result;
15939     dXSARGS;
15940 
15941     if ((items < 1) || (items > 1)) {
15942       SWIG_croak("Usage: gsl_matrix_complex_transpose(m);");
15943     }
15944     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
15945     if (!SWIG_IsOK(res1)) {
15946       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_transpose" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
15947     }
15948     arg1 = (gsl_matrix_complex *)(argp1);
15949     result = (int)gsl_matrix_complex_transpose(arg1);
15950     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
15951 
15952     XSRETURN(argvi);
15953   fail:
15954 
15955     SWIG_croak_null();
15956   }
15957 }
15958 
15959 
XS(_wrap_gsl_matrix_complex_transpose_memcpy)15960 XS(_wrap_gsl_matrix_complex_transpose_memcpy) {
15961   {
15962     gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
15963     gsl_matrix_complex *arg2 = (gsl_matrix_complex *) 0 ;
15964     void *argp1 = 0 ;
15965     int res1 = 0 ;
15966     void *argp2 = 0 ;
15967     int res2 = 0 ;
15968     int argvi = 0;
15969     int result;
15970     dXSARGS;
15971 
15972     if ((items < 2) || (items > 2)) {
15973       SWIG_croak("Usage: gsl_matrix_complex_transpose_memcpy(dest,src);");
15974     }
15975     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
15976     if (!SWIG_IsOK(res1)) {
15977       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_transpose_memcpy" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
15978     }
15979     arg1 = (gsl_matrix_complex *)(argp1);
15980     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
15981     if (!SWIG_IsOK(res2)) {
15982       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_complex_transpose_memcpy" "', argument " "2"" of type '" "gsl_matrix_complex const *""'");
15983     }
15984     arg2 = (gsl_matrix_complex *)(argp2);
15985     result = (int)gsl_matrix_complex_transpose_memcpy(arg1,(gsl_matrix_complex const *)arg2);
15986     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
15987 
15988 
15989     XSRETURN(argvi);
15990   fail:
15991 
15992 
15993     SWIG_croak_null();
15994   }
15995 }
15996 
15997 
XS(_wrap_gsl_matrix_complex_transpose_tricpy)15998 XS(_wrap_gsl_matrix_complex_transpose_tricpy) {
15999   {
16000     CBLAS_UPLO_t arg1 ;
16001     CBLAS_DIAG_t arg2 ;
16002     gsl_matrix_complex *arg3 = (gsl_matrix_complex *) 0 ;
16003     gsl_matrix_complex *arg4 = (gsl_matrix_complex *) 0 ;
16004     int val1 ;
16005     int ecode1 = 0 ;
16006     int val2 ;
16007     int ecode2 = 0 ;
16008     void *argp3 = 0 ;
16009     int res3 = 0 ;
16010     void *argp4 = 0 ;
16011     int res4 = 0 ;
16012     int argvi = 0;
16013     int result;
16014     dXSARGS;
16015 
16016     if ((items < 4) || (items > 4)) {
16017       SWIG_croak("Usage: gsl_matrix_complex_transpose_tricpy(Uplo_src,Diag,dest,src);");
16018     }
16019     ecode1 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
16020     if (!SWIG_IsOK(ecode1)) {
16021       SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_matrix_complex_transpose_tricpy" "', argument " "1"" of type '" "CBLAS_UPLO_t""'");
16022     }
16023     arg1 = (CBLAS_UPLO_t)(val1);
16024     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
16025     if (!SWIG_IsOK(ecode2)) {
16026       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_transpose_tricpy" "', argument " "2"" of type '" "CBLAS_DIAG_t""'");
16027     }
16028     arg2 = (CBLAS_DIAG_t)(val2);
16029     res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
16030     if (!SWIG_IsOK(res3)) {
16031       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_matrix_complex_transpose_tricpy" "', argument " "3"" of type '" "gsl_matrix_complex *""'");
16032     }
16033     arg3 = (gsl_matrix_complex *)(argp3);
16034     res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
16035     if (!SWIG_IsOK(res4)) {
16036       SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_matrix_complex_transpose_tricpy" "', argument " "4"" of type '" "gsl_matrix_complex const *""'");
16037     }
16038     arg4 = (gsl_matrix_complex *)(argp4);
16039     result = (int)gsl_matrix_complex_transpose_tricpy(arg1,arg2,arg3,(gsl_matrix_complex const *)arg4);
16040     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
16041 
16042 
16043 
16044 
16045     XSRETURN(argvi);
16046   fail:
16047 
16048 
16049 
16050 
16051     SWIG_croak_null();
16052   }
16053 }
16054 
16055 
XS(_wrap_gsl_matrix_complex_equal)16056 XS(_wrap_gsl_matrix_complex_equal) {
16057   {
16058     gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
16059     gsl_matrix_complex *arg2 = (gsl_matrix_complex *) 0 ;
16060     void *argp1 = 0 ;
16061     int res1 = 0 ;
16062     void *argp2 = 0 ;
16063     int res2 = 0 ;
16064     int argvi = 0;
16065     int result;
16066     dXSARGS;
16067 
16068     if ((items < 2) || (items > 2)) {
16069       SWIG_croak("Usage: gsl_matrix_complex_equal(a,b);");
16070     }
16071     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
16072     if (!SWIG_IsOK(res1)) {
16073       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_equal" "', argument " "1"" of type '" "gsl_matrix_complex const *""'");
16074     }
16075     arg1 = (gsl_matrix_complex *)(argp1);
16076     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
16077     if (!SWIG_IsOK(res2)) {
16078       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_complex_equal" "', argument " "2"" of type '" "gsl_matrix_complex const *""'");
16079     }
16080     arg2 = (gsl_matrix_complex *)(argp2);
16081     result = (int)gsl_matrix_complex_equal((gsl_matrix_complex const *)arg1,(gsl_matrix_complex const *)arg2);
16082     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
16083 
16084 
16085     XSRETURN(argvi);
16086   fail:
16087 
16088 
16089     SWIG_croak_null();
16090   }
16091 }
16092 
16093 
XS(_wrap_gsl_matrix_complex_isnull)16094 XS(_wrap_gsl_matrix_complex_isnull) {
16095   {
16096     gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
16097     void *argp1 = 0 ;
16098     int res1 = 0 ;
16099     int argvi = 0;
16100     int result;
16101     dXSARGS;
16102 
16103     if ((items < 1) || (items > 1)) {
16104       SWIG_croak("Usage: gsl_matrix_complex_isnull(m);");
16105     }
16106     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
16107     if (!SWIG_IsOK(res1)) {
16108       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_isnull" "', argument " "1"" of type '" "gsl_matrix_complex const *""'");
16109     }
16110     arg1 = (gsl_matrix_complex *)(argp1);
16111     result = (int)gsl_matrix_complex_isnull((gsl_matrix_complex const *)arg1);
16112     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
16113 
16114     XSRETURN(argvi);
16115   fail:
16116 
16117     SWIG_croak_null();
16118   }
16119 }
16120 
16121 
XS(_wrap_gsl_matrix_complex_ispos)16122 XS(_wrap_gsl_matrix_complex_ispos) {
16123   {
16124     gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
16125     void *argp1 = 0 ;
16126     int res1 = 0 ;
16127     int argvi = 0;
16128     int result;
16129     dXSARGS;
16130 
16131     if ((items < 1) || (items > 1)) {
16132       SWIG_croak("Usage: gsl_matrix_complex_ispos(m);");
16133     }
16134     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
16135     if (!SWIG_IsOK(res1)) {
16136       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_ispos" "', argument " "1"" of type '" "gsl_matrix_complex const *""'");
16137     }
16138     arg1 = (gsl_matrix_complex *)(argp1);
16139     result = (int)gsl_matrix_complex_ispos((gsl_matrix_complex const *)arg1);
16140     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
16141 
16142     XSRETURN(argvi);
16143   fail:
16144 
16145     SWIG_croak_null();
16146   }
16147 }
16148 
16149 
XS(_wrap_gsl_matrix_complex_isneg)16150 XS(_wrap_gsl_matrix_complex_isneg) {
16151   {
16152     gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
16153     void *argp1 = 0 ;
16154     int res1 = 0 ;
16155     int argvi = 0;
16156     int result;
16157     dXSARGS;
16158 
16159     if ((items < 1) || (items > 1)) {
16160       SWIG_croak("Usage: gsl_matrix_complex_isneg(m);");
16161     }
16162     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
16163     if (!SWIG_IsOK(res1)) {
16164       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_isneg" "', argument " "1"" of type '" "gsl_matrix_complex const *""'");
16165     }
16166     arg1 = (gsl_matrix_complex *)(argp1);
16167     result = (int)gsl_matrix_complex_isneg((gsl_matrix_complex const *)arg1);
16168     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
16169 
16170     XSRETURN(argvi);
16171   fail:
16172 
16173     SWIG_croak_null();
16174   }
16175 }
16176 
16177 
XS(_wrap_gsl_matrix_complex_isnonneg)16178 XS(_wrap_gsl_matrix_complex_isnonneg) {
16179   {
16180     gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
16181     void *argp1 = 0 ;
16182     int res1 = 0 ;
16183     int argvi = 0;
16184     int result;
16185     dXSARGS;
16186 
16187     if ((items < 1) || (items > 1)) {
16188       SWIG_croak("Usage: gsl_matrix_complex_isnonneg(m);");
16189     }
16190     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
16191     if (!SWIG_IsOK(res1)) {
16192       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_isnonneg" "', argument " "1"" of type '" "gsl_matrix_complex const *""'");
16193     }
16194     arg1 = (gsl_matrix_complex *)(argp1);
16195     result = (int)gsl_matrix_complex_isnonneg((gsl_matrix_complex const *)arg1);
16196     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
16197 
16198     XSRETURN(argvi);
16199   fail:
16200 
16201     SWIG_croak_null();
16202   }
16203 }
16204 
16205 
XS(_wrap_gsl_matrix_complex_add)16206 XS(_wrap_gsl_matrix_complex_add) {
16207   {
16208     gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
16209     gsl_matrix_complex *arg2 = (gsl_matrix_complex *) 0 ;
16210     void *argp1 = 0 ;
16211     int res1 = 0 ;
16212     void *argp2 = 0 ;
16213     int res2 = 0 ;
16214     int argvi = 0;
16215     int result;
16216     dXSARGS;
16217 
16218     if ((items < 2) || (items > 2)) {
16219       SWIG_croak("Usage: gsl_matrix_complex_add(a,b);");
16220     }
16221     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
16222     if (!SWIG_IsOK(res1)) {
16223       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_add" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
16224     }
16225     arg1 = (gsl_matrix_complex *)(argp1);
16226     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
16227     if (!SWIG_IsOK(res2)) {
16228       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_complex_add" "', argument " "2"" of type '" "gsl_matrix_complex const *""'");
16229     }
16230     arg2 = (gsl_matrix_complex *)(argp2);
16231     result = (int)gsl_matrix_complex_add(arg1,(gsl_matrix_complex const *)arg2);
16232     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
16233 
16234 
16235     XSRETURN(argvi);
16236   fail:
16237 
16238 
16239     SWIG_croak_null();
16240   }
16241 }
16242 
16243 
XS(_wrap_gsl_matrix_complex_sub)16244 XS(_wrap_gsl_matrix_complex_sub) {
16245   {
16246     gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
16247     gsl_matrix_complex *arg2 = (gsl_matrix_complex *) 0 ;
16248     void *argp1 = 0 ;
16249     int res1 = 0 ;
16250     void *argp2 = 0 ;
16251     int res2 = 0 ;
16252     int argvi = 0;
16253     int result;
16254     dXSARGS;
16255 
16256     if ((items < 2) || (items > 2)) {
16257       SWIG_croak("Usage: gsl_matrix_complex_sub(a,b);");
16258     }
16259     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
16260     if (!SWIG_IsOK(res1)) {
16261       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_sub" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
16262     }
16263     arg1 = (gsl_matrix_complex *)(argp1);
16264     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
16265     if (!SWIG_IsOK(res2)) {
16266       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_complex_sub" "', argument " "2"" of type '" "gsl_matrix_complex const *""'");
16267     }
16268     arg2 = (gsl_matrix_complex *)(argp2);
16269     result = (int)gsl_matrix_complex_sub(arg1,(gsl_matrix_complex const *)arg2);
16270     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
16271 
16272 
16273     XSRETURN(argvi);
16274   fail:
16275 
16276 
16277     SWIG_croak_null();
16278   }
16279 }
16280 
16281 
XS(_wrap_gsl_matrix_complex_mul_elements)16282 XS(_wrap_gsl_matrix_complex_mul_elements) {
16283   {
16284     gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
16285     gsl_matrix_complex *arg2 = (gsl_matrix_complex *) 0 ;
16286     void *argp1 = 0 ;
16287     int res1 = 0 ;
16288     void *argp2 = 0 ;
16289     int res2 = 0 ;
16290     int argvi = 0;
16291     int result;
16292     dXSARGS;
16293 
16294     if ((items < 2) || (items > 2)) {
16295       SWIG_croak("Usage: gsl_matrix_complex_mul_elements(a,b);");
16296     }
16297     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
16298     if (!SWIG_IsOK(res1)) {
16299       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_mul_elements" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
16300     }
16301     arg1 = (gsl_matrix_complex *)(argp1);
16302     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
16303     if (!SWIG_IsOK(res2)) {
16304       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_complex_mul_elements" "', argument " "2"" of type '" "gsl_matrix_complex const *""'");
16305     }
16306     arg2 = (gsl_matrix_complex *)(argp2);
16307     result = (int)gsl_matrix_complex_mul_elements(arg1,(gsl_matrix_complex const *)arg2);
16308     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
16309 
16310 
16311     XSRETURN(argvi);
16312   fail:
16313 
16314 
16315     SWIG_croak_null();
16316   }
16317 }
16318 
16319 
XS(_wrap_gsl_matrix_complex_div_elements)16320 XS(_wrap_gsl_matrix_complex_div_elements) {
16321   {
16322     gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
16323     gsl_matrix_complex *arg2 = (gsl_matrix_complex *) 0 ;
16324     void *argp1 = 0 ;
16325     int res1 = 0 ;
16326     void *argp2 = 0 ;
16327     int res2 = 0 ;
16328     int argvi = 0;
16329     int result;
16330     dXSARGS;
16331 
16332     if ((items < 2) || (items > 2)) {
16333       SWIG_croak("Usage: gsl_matrix_complex_div_elements(a,b);");
16334     }
16335     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
16336     if (!SWIG_IsOK(res1)) {
16337       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_div_elements" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
16338     }
16339     arg1 = (gsl_matrix_complex *)(argp1);
16340     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
16341     if (!SWIG_IsOK(res2)) {
16342       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_complex_div_elements" "', argument " "2"" of type '" "gsl_matrix_complex const *""'");
16343     }
16344     arg2 = (gsl_matrix_complex *)(argp2);
16345     result = (int)gsl_matrix_complex_div_elements(arg1,(gsl_matrix_complex const *)arg2);
16346     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
16347 
16348 
16349     XSRETURN(argvi);
16350   fail:
16351 
16352 
16353     SWIG_croak_null();
16354   }
16355 }
16356 
16357 
XS(_wrap_gsl_matrix_complex_scale)16358 XS(_wrap_gsl_matrix_complex_scale) {
16359   {
16360     gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
16361     gsl_complex arg2 ;
16362     void *argp1 = 0 ;
16363     int res1 = 0 ;
16364     void *argp2 ;
16365     int res2 = 0 ;
16366     int argvi = 0;
16367     int result;
16368     dXSARGS;
16369 
16370     if ((items < 2) || (items > 2)) {
16371       SWIG_croak("Usage: gsl_matrix_complex_scale(a,x);");
16372     }
16373     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
16374     if (!SWIG_IsOK(res1)) {
16375       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_scale" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
16376     }
16377     arg1 = (gsl_matrix_complex *)(argp1);
16378     {
16379       res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_gsl_complex,  0 );
16380       if (!SWIG_IsOK(res2)) {
16381         SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_complex_scale" "', argument " "2"" of type '" "gsl_complex const""'");
16382       }
16383       if (!argp2) {
16384         SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "gsl_matrix_complex_scale" "', argument " "2"" of type '" "gsl_complex const""'");
16385       } else {
16386         arg2 = *((gsl_complex *)(argp2));
16387       }
16388     }
16389     result = (int)gsl_matrix_complex_scale(arg1,arg2);
16390     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
16391 
16392     XSRETURN(argvi);
16393   fail:
16394 
16395     SWIG_croak_null();
16396   }
16397 }
16398 
16399 
XS(_wrap_gsl_matrix_complex_add_constant)16400 XS(_wrap_gsl_matrix_complex_add_constant) {
16401   {
16402     gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
16403     gsl_complex arg2 ;
16404     void *argp1 = 0 ;
16405     int res1 = 0 ;
16406     void *argp2 ;
16407     int res2 = 0 ;
16408     int argvi = 0;
16409     int result;
16410     dXSARGS;
16411 
16412     if ((items < 2) || (items > 2)) {
16413       SWIG_croak("Usage: gsl_matrix_complex_add_constant(a,x);");
16414     }
16415     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
16416     if (!SWIG_IsOK(res1)) {
16417       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_add_constant" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
16418     }
16419     arg1 = (gsl_matrix_complex *)(argp1);
16420     {
16421       res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_gsl_complex,  0 );
16422       if (!SWIG_IsOK(res2)) {
16423         SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_complex_add_constant" "', argument " "2"" of type '" "gsl_complex const""'");
16424       }
16425       if (!argp2) {
16426         SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "gsl_matrix_complex_add_constant" "', argument " "2"" of type '" "gsl_complex const""'");
16427       } else {
16428         arg2 = *((gsl_complex *)(argp2));
16429       }
16430     }
16431     result = (int)gsl_matrix_complex_add_constant(arg1,arg2);
16432     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
16433 
16434     XSRETURN(argvi);
16435   fail:
16436 
16437     SWIG_croak_null();
16438   }
16439 }
16440 
16441 
XS(_wrap_gsl_matrix_complex_add_diagonal)16442 XS(_wrap_gsl_matrix_complex_add_diagonal) {
16443   {
16444     gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
16445     gsl_complex arg2 ;
16446     void *argp1 = 0 ;
16447     int res1 = 0 ;
16448     void *argp2 ;
16449     int res2 = 0 ;
16450     int argvi = 0;
16451     int result;
16452     dXSARGS;
16453 
16454     if ((items < 2) || (items > 2)) {
16455       SWIG_croak("Usage: gsl_matrix_complex_add_diagonal(a,x);");
16456     }
16457     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
16458     if (!SWIG_IsOK(res1)) {
16459       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_add_diagonal" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
16460     }
16461     arg1 = (gsl_matrix_complex *)(argp1);
16462     {
16463       res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_gsl_complex,  0 );
16464       if (!SWIG_IsOK(res2)) {
16465         SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_complex_add_diagonal" "', argument " "2"" of type '" "gsl_complex const""'");
16466       }
16467       if (!argp2) {
16468         SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "gsl_matrix_complex_add_diagonal" "', argument " "2"" of type '" "gsl_complex const""'");
16469       } else {
16470         arg2 = *((gsl_complex *)(argp2));
16471       }
16472     }
16473     result = (int)gsl_matrix_complex_add_diagonal(arg1,arg2);
16474     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
16475 
16476     XSRETURN(argvi);
16477   fail:
16478 
16479     SWIG_croak_null();
16480   }
16481 }
16482 
16483 
XS(_wrap_gsl_matrix_complex_get_row)16484 XS(_wrap_gsl_matrix_complex_get_row) {
16485   {
16486     gsl_vector_complex *arg1 = (gsl_vector_complex *) 0 ;
16487     gsl_matrix_complex *arg2 = (gsl_matrix_complex *) 0 ;
16488     size_t arg3 ;
16489     void *argp1 = 0 ;
16490     int res1 = 0 ;
16491     void *argp2 = 0 ;
16492     int res2 = 0 ;
16493     size_t val3 ;
16494     int ecode3 = 0 ;
16495     int argvi = 0;
16496     int result;
16497     dXSARGS;
16498 
16499     if ((items < 3) || (items > 3)) {
16500       SWIG_croak("Usage: gsl_matrix_complex_get_row(v,m,i);");
16501     }
16502     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_complex, 0 |  0 );
16503     if (!SWIG_IsOK(res1)) {
16504       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_get_row" "', argument " "1"" of type '" "gsl_vector_complex *""'");
16505     }
16506     arg1 = (gsl_vector_complex *)(argp1);
16507     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
16508     if (!SWIG_IsOK(res2)) {
16509       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_complex_get_row" "', argument " "2"" of type '" "gsl_matrix_complex const *""'");
16510     }
16511     arg2 = (gsl_matrix_complex *)(argp2);
16512     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
16513     if (!SWIG_IsOK(ecode3)) {
16514       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_complex_get_row" "', argument " "3"" of type '" "size_t""'");
16515     }
16516     arg3 = (size_t)(val3);
16517     result = (int)gsl_matrix_complex_get_row(arg1,(gsl_matrix_complex const *)arg2,arg3);
16518     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
16519 
16520 
16521 
16522     XSRETURN(argvi);
16523   fail:
16524 
16525 
16526 
16527     SWIG_croak_null();
16528   }
16529 }
16530 
16531 
XS(_wrap_gsl_matrix_complex_get_col)16532 XS(_wrap_gsl_matrix_complex_get_col) {
16533   {
16534     gsl_vector_complex *arg1 = (gsl_vector_complex *) 0 ;
16535     gsl_matrix_complex *arg2 = (gsl_matrix_complex *) 0 ;
16536     size_t arg3 ;
16537     void *argp1 = 0 ;
16538     int res1 = 0 ;
16539     void *argp2 = 0 ;
16540     int res2 = 0 ;
16541     size_t val3 ;
16542     int ecode3 = 0 ;
16543     int argvi = 0;
16544     int result;
16545     dXSARGS;
16546 
16547     if ((items < 3) || (items > 3)) {
16548       SWIG_croak("Usage: gsl_matrix_complex_get_col(v,m,j);");
16549     }
16550     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_complex, 0 |  0 );
16551     if (!SWIG_IsOK(res1)) {
16552       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_get_col" "', argument " "1"" of type '" "gsl_vector_complex *""'");
16553     }
16554     arg1 = (gsl_vector_complex *)(argp1);
16555     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
16556     if (!SWIG_IsOK(res2)) {
16557       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_complex_get_col" "', argument " "2"" of type '" "gsl_matrix_complex const *""'");
16558     }
16559     arg2 = (gsl_matrix_complex *)(argp2);
16560     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
16561     if (!SWIG_IsOK(ecode3)) {
16562       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_complex_get_col" "', argument " "3"" of type '" "size_t""'");
16563     }
16564     arg3 = (size_t)(val3);
16565     result = (int)gsl_matrix_complex_get_col(arg1,(gsl_matrix_complex const *)arg2,arg3);
16566     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
16567 
16568 
16569 
16570     XSRETURN(argvi);
16571   fail:
16572 
16573 
16574 
16575     SWIG_croak_null();
16576   }
16577 }
16578 
16579 
XS(_wrap_gsl_matrix_complex_set_row)16580 XS(_wrap_gsl_matrix_complex_set_row) {
16581   {
16582     gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
16583     size_t arg2 ;
16584     gsl_vector_complex *arg3 = (gsl_vector_complex *) 0 ;
16585     void *argp1 = 0 ;
16586     int res1 = 0 ;
16587     size_t val2 ;
16588     int ecode2 = 0 ;
16589     void *argp3 = 0 ;
16590     int res3 = 0 ;
16591     int argvi = 0;
16592     int result;
16593     dXSARGS;
16594 
16595     if ((items < 3) || (items > 3)) {
16596       SWIG_croak("Usage: gsl_matrix_complex_set_row(m,i,v);");
16597     }
16598     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
16599     if (!SWIG_IsOK(res1)) {
16600       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_set_row" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
16601     }
16602     arg1 = (gsl_matrix_complex *)(argp1);
16603     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
16604     if (!SWIG_IsOK(ecode2)) {
16605       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_set_row" "', argument " "2"" of type '" "size_t""'");
16606     }
16607     arg2 = (size_t)(val2);
16608     res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_gsl_vector_complex, 0 |  0 );
16609     if (!SWIG_IsOK(res3)) {
16610       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_matrix_complex_set_row" "', argument " "3"" of type '" "gsl_vector_complex const *""'");
16611     }
16612     arg3 = (gsl_vector_complex *)(argp3);
16613     result = (int)gsl_matrix_complex_set_row(arg1,arg2,(gsl_vector_complex const *)arg3);
16614     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
16615 
16616 
16617 
16618     XSRETURN(argvi);
16619   fail:
16620 
16621 
16622 
16623     SWIG_croak_null();
16624   }
16625 }
16626 
16627 
XS(_wrap_gsl_matrix_complex_set_col)16628 XS(_wrap_gsl_matrix_complex_set_col) {
16629   {
16630     gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
16631     size_t arg2 ;
16632     gsl_vector_complex *arg3 = (gsl_vector_complex *) 0 ;
16633     void *argp1 = 0 ;
16634     int res1 = 0 ;
16635     size_t val2 ;
16636     int ecode2 = 0 ;
16637     void *argp3 = 0 ;
16638     int res3 = 0 ;
16639     int argvi = 0;
16640     int result;
16641     dXSARGS;
16642 
16643     if ((items < 3) || (items > 3)) {
16644       SWIG_croak("Usage: gsl_matrix_complex_set_col(m,j,v);");
16645     }
16646     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
16647     if (!SWIG_IsOK(res1)) {
16648       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_set_col" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
16649     }
16650     arg1 = (gsl_matrix_complex *)(argp1);
16651     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
16652     if (!SWIG_IsOK(ecode2)) {
16653       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_set_col" "', argument " "2"" of type '" "size_t""'");
16654     }
16655     arg2 = (size_t)(val2);
16656     res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_gsl_vector_complex, 0 |  0 );
16657     if (!SWIG_IsOK(res3)) {
16658       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_matrix_complex_set_col" "', argument " "3"" of type '" "gsl_vector_complex const *""'");
16659     }
16660     arg3 = (gsl_vector_complex *)(argp3);
16661     result = (int)gsl_matrix_complex_set_col(arg1,arg2,(gsl_vector_complex const *)arg3);
16662     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
16663 
16664 
16665 
16666     XSRETURN(argvi);
16667   fail:
16668 
16669 
16670 
16671     SWIG_croak_null();
16672   }
16673 }
16674 
16675 
XS(_wrap_gsl_matrix_complex_get)16676 XS(_wrap_gsl_matrix_complex_get) {
16677   {
16678     gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
16679     size_t arg2 ;
16680     size_t arg3 ;
16681     void *argp1 = 0 ;
16682     int res1 = 0 ;
16683     size_t val2 ;
16684     int ecode2 = 0 ;
16685     size_t val3 ;
16686     int ecode3 = 0 ;
16687     int argvi = 0;
16688     gsl_complex result;
16689     dXSARGS;
16690 
16691     if ((items < 3) || (items > 3)) {
16692       SWIG_croak("Usage: gsl_matrix_complex_get(m,i,j);");
16693     }
16694     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
16695     if (!SWIG_IsOK(res1)) {
16696       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_get" "', argument " "1"" of type '" "gsl_matrix_complex const *""'");
16697     }
16698     arg1 = (gsl_matrix_complex *)(argp1);
16699     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
16700     if (!SWIG_IsOK(ecode2)) {
16701       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_get" "', argument " "2"" of type '" "size_t""'");
16702     }
16703     arg2 = (size_t)(val2);
16704     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
16705     if (!SWIG_IsOK(ecode3)) {
16706       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_complex_get" "', argument " "3"" of type '" "size_t""'");
16707     }
16708     arg3 = (size_t)(val3);
16709     result = gsl_matrix_complex_get((gsl_matrix_complex const *)arg1,arg2,arg3);
16710     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++ ;
16711 
16712 
16713 
16714     XSRETURN(argvi);
16715   fail:
16716 
16717 
16718 
16719     SWIG_croak_null();
16720   }
16721 }
16722 
16723 
XS(_wrap_gsl_matrix_complex_set)16724 XS(_wrap_gsl_matrix_complex_set) {
16725   {
16726     gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
16727     size_t arg2 ;
16728     size_t arg3 ;
16729     gsl_complex arg4 ;
16730     void *argp1 = 0 ;
16731     int res1 = 0 ;
16732     size_t val2 ;
16733     int ecode2 = 0 ;
16734     size_t val3 ;
16735     int ecode3 = 0 ;
16736     void *argp4 ;
16737     int res4 = 0 ;
16738     int argvi = 0;
16739     dXSARGS;
16740 
16741     if ((items < 4) || (items > 4)) {
16742       SWIG_croak("Usage: gsl_matrix_complex_set(m,i,j,x);");
16743     }
16744     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
16745     if (!SWIG_IsOK(res1)) {
16746       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_set" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
16747     }
16748     arg1 = (gsl_matrix_complex *)(argp1);
16749     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
16750     if (!SWIG_IsOK(ecode2)) {
16751       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_set" "', argument " "2"" of type '" "size_t""'");
16752     }
16753     arg2 = (size_t)(val2);
16754     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
16755     if (!SWIG_IsOK(ecode3)) {
16756       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_complex_set" "', argument " "3"" of type '" "size_t""'");
16757     }
16758     arg3 = (size_t)(val3);
16759     {
16760       res4 = SWIG_ConvertPtr(ST(3), &argp4, SWIGTYPE_p_gsl_complex,  0 );
16761       if (!SWIG_IsOK(res4)) {
16762         SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_matrix_complex_set" "', argument " "4"" of type '" "gsl_complex const""'");
16763       }
16764       if (!argp4) {
16765         SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "gsl_matrix_complex_set" "', argument " "4"" of type '" "gsl_complex const""'");
16766       } else {
16767         arg4 = *((gsl_complex *)(argp4));
16768       }
16769     }
16770     gsl_matrix_complex_set(arg1,arg2,arg3,arg4);
16771     ST(argvi) = &PL_sv_undef;
16772 
16773 
16774 
16775     XSRETURN(argvi);
16776   fail:
16777 
16778 
16779 
16780     SWIG_croak_null();
16781   }
16782 }
16783 
16784 
XS(_wrap_gsl_matrix_complex_ptr)16785 XS(_wrap_gsl_matrix_complex_ptr) {
16786   {
16787     gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
16788     size_t arg2 ;
16789     size_t arg3 ;
16790     void *argp1 = 0 ;
16791     int res1 = 0 ;
16792     size_t val2 ;
16793     int ecode2 = 0 ;
16794     size_t val3 ;
16795     int ecode3 = 0 ;
16796     int argvi = 0;
16797     gsl_complex *result = 0 ;
16798     dXSARGS;
16799 
16800     if ((items < 3) || (items > 3)) {
16801       SWIG_croak("Usage: gsl_matrix_complex_ptr(m,i,j);");
16802     }
16803     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
16804     if (!SWIG_IsOK(res1)) {
16805       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_ptr" "', argument " "1"" of type '" "gsl_matrix_complex *""'");
16806     }
16807     arg1 = (gsl_matrix_complex *)(argp1);
16808     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
16809     if (!SWIG_IsOK(ecode2)) {
16810       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_ptr" "', argument " "2"" of type '" "size_t""'");
16811     }
16812     arg2 = (size_t)(val2);
16813     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
16814     if (!SWIG_IsOK(ecode3)) {
16815       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_complex_ptr" "', argument " "3"" of type '" "size_t""'");
16816     }
16817     arg3 = (size_t)(val3);
16818     result = (gsl_complex *)gsl_matrix_complex_ptr(arg1,arg2,arg3);
16819     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_complex, 0 | SWIG_SHADOW); argvi++ ;
16820 
16821 
16822 
16823     XSRETURN(argvi);
16824   fail:
16825 
16826 
16827 
16828     SWIG_croak_null();
16829   }
16830 }
16831 
16832 
XS(_wrap_gsl_matrix_complex_const_ptr)16833 XS(_wrap_gsl_matrix_complex_const_ptr) {
16834   {
16835     gsl_matrix_complex *arg1 = (gsl_matrix_complex *) 0 ;
16836     size_t arg2 ;
16837     size_t arg3 ;
16838     void *argp1 = 0 ;
16839     int res1 = 0 ;
16840     size_t val2 ;
16841     int ecode2 = 0 ;
16842     size_t val3 ;
16843     int ecode3 = 0 ;
16844     int argvi = 0;
16845     gsl_complex *result = 0 ;
16846     dXSARGS;
16847 
16848     if ((items < 3) || (items > 3)) {
16849       SWIG_croak("Usage: gsl_matrix_complex_const_ptr(m,i,j);");
16850     }
16851     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_complex, 0 |  0 );
16852     if (!SWIG_IsOK(res1)) {
16853       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_complex_const_ptr" "', argument " "1"" of type '" "gsl_matrix_complex const *""'");
16854     }
16855     arg1 = (gsl_matrix_complex *)(argp1);
16856     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
16857     if (!SWIG_IsOK(ecode2)) {
16858       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_complex_const_ptr" "', argument " "2"" of type '" "size_t""'");
16859     }
16860     arg2 = (size_t)(val2);
16861     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
16862     if (!SWIG_IsOK(ecode3)) {
16863       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_complex_const_ptr" "', argument " "3"" of type '" "size_t""'");
16864     }
16865     arg3 = (size_t)(val3);
16866     result = (gsl_complex *)gsl_matrix_complex_const_ptr((gsl_matrix_complex const *)arg1,arg2,arg3);
16867     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_complex, 0 | SWIG_SHADOW); argvi++ ;
16868 
16869 
16870 
16871     XSRETURN(argvi);
16872   fail:
16873 
16874 
16875 
16876     SWIG_croak_null();
16877   }
16878 }
16879 
16880 
XS(_wrap_gsl_matrix_char_size1_set)16881 XS(_wrap_gsl_matrix_char_size1_set) {
16882   {
16883     gsl_matrix_char *arg1 = (gsl_matrix_char *) 0 ;
16884     size_t arg2 ;
16885     void *argp1 = 0 ;
16886     int res1 = 0 ;
16887     size_t val2 ;
16888     int ecode2 = 0 ;
16889     int argvi = 0;
16890     dXSARGS;
16891 
16892     if ((items < 2) || (items > 2)) {
16893       SWIG_croak("Usage: gsl_matrix_char_size1_set(self,size1);");
16894     }
16895     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
16896     if (!SWIG_IsOK(res1)) {
16897       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_size1_set" "', argument " "1"" of type '" "gsl_matrix_char *""'");
16898     }
16899     arg1 = (gsl_matrix_char *)(argp1);
16900     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
16901     if (!SWIG_IsOK(ecode2)) {
16902       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_char_size1_set" "', argument " "2"" of type '" "size_t""'");
16903     }
16904     arg2 = (size_t)(val2);
16905     if (arg1) (arg1)->size1 = arg2;
16906     ST(argvi) = &PL_sv_undef;
16907 
16908 
16909     XSRETURN(argvi);
16910   fail:
16911 
16912 
16913     SWIG_croak_null();
16914   }
16915 }
16916 
16917 
XS(_wrap_gsl_matrix_char_size1_get)16918 XS(_wrap_gsl_matrix_char_size1_get) {
16919   {
16920     gsl_matrix_char *arg1 = (gsl_matrix_char *) 0 ;
16921     void *argp1 = 0 ;
16922     int res1 = 0 ;
16923     int argvi = 0;
16924     size_t result;
16925     dXSARGS;
16926 
16927     if ((items < 1) || (items > 1)) {
16928       SWIG_croak("Usage: gsl_matrix_char_size1_get(self);");
16929     }
16930     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
16931     if (!SWIG_IsOK(res1)) {
16932       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_size1_get" "', argument " "1"" of type '" "gsl_matrix_char *""'");
16933     }
16934     arg1 = (gsl_matrix_char *)(argp1);
16935     result =  ((arg1)->size1);
16936     ST(argvi) = SWIG_From_size_t  SWIG_PERL_CALL_ARGS_1((size_t)(result)); argvi++ ;
16937 
16938     XSRETURN(argvi);
16939   fail:
16940 
16941     SWIG_croak_null();
16942   }
16943 }
16944 
16945 
XS(_wrap_gsl_matrix_char_size2_set)16946 XS(_wrap_gsl_matrix_char_size2_set) {
16947   {
16948     gsl_matrix_char *arg1 = (gsl_matrix_char *) 0 ;
16949     size_t arg2 ;
16950     void *argp1 = 0 ;
16951     int res1 = 0 ;
16952     size_t val2 ;
16953     int ecode2 = 0 ;
16954     int argvi = 0;
16955     dXSARGS;
16956 
16957     if ((items < 2) || (items > 2)) {
16958       SWIG_croak("Usage: gsl_matrix_char_size2_set(self,size2);");
16959     }
16960     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
16961     if (!SWIG_IsOK(res1)) {
16962       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_size2_set" "', argument " "1"" of type '" "gsl_matrix_char *""'");
16963     }
16964     arg1 = (gsl_matrix_char *)(argp1);
16965     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
16966     if (!SWIG_IsOK(ecode2)) {
16967       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_char_size2_set" "', argument " "2"" of type '" "size_t""'");
16968     }
16969     arg2 = (size_t)(val2);
16970     if (arg1) (arg1)->size2 = arg2;
16971     ST(argvi) = &PL_sv_undef;
16972 
16973 
16974     XSRETURN(argvi);
16975   fail:
16976 
16977 
16978     SWIG_croak_null();
16979   }
16980 }
16981 
16982 
XS(_wrap_gsl_matrix_char_size2_get)16983 XS(_wrap_gsl_matrix_char_size2_get) {
16984   {
16985     gsl_matrix_char *arg1 = (gsl_matrix_char *) 0 ;
16986     void *argp1 = 0 ;
16987     int res1 = 0 ;
16988     int argvi = 0;
16989     size_t result;
16990     dXSARGS;
16991 
16992     if ((items < 1) || (items > 1)) {
16993       SWIG_croak("Usage: gsl_matrix_char_size2_get(self);");
16994     }
16995     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
16996     if (!SWIG_IsOK(res1)) {
16997       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_size2_get" "', argument " "1"" of type '" "gsl_matrix_char *""'");
16998     }
16999     arg1 = (gsl_matrix_char *)(argp1);
17000     result =  ((arg1)->size2);
17001     ST(argvi) = SWIG_From_size_t  SWIG_PERL_CALL_ARGS_1((size_t)(result)); argvi++ ;
17002 
17003     XSRETURN(argvi);
17004   fail:
17005 
17006     SWIG_croak_null();
17007   }
17008 }
17009 
17010 
XS(_wrap_gsl_matrix_char_tda_set)17011 XS(_wrap_gsl_matrix_char_tda_set) {
17012   {
17013     gsl_matrix_char *arg1 = (gsl_matrix_char *) 0 ;
17014     size_t arg2 ;
17015     void *argp1 = 0 ;
17016     int res1 = 0 ;
17017     size_t val2 ;
17018     int ecode2 = 0 ;
17019     int argvi = 0;
17020     dXSARGS;
17021 
17022     if ((items < 2) || (items > 2)) {
17023       SWIG_croak("Usage: gsl_matrix_char_tda_set(self,tda);");
17024     }
17025     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
17026     if (!SWIG_IsOK(res1)) {
17027       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_tda_set" "', argument " "1"" of type '" "gsl_matrix_char *""'");
17028     }
17029     arg1 = (gsl_matrix_char *)(argp1);
17030     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
17031     if (!SWIG_IsOK(ecode2)) {
17032       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_char_tda_set" "', argument " "2"" of type '" "size_t""'");
17033     }
17034     arg2 = (size_t)(val2);
17035     if (arg1) (arg1)->tda = arg2;
17036     ST(argvi) = &PL_sv_undef;
17037 
17038 
17039     XSRETURN(argvi);
17040   fail:
17041 
17042 
17043     SWIG_croak_null();
17044   }
17045 }
17046 
17047 
XS(_wrap_gsl_matrix_char_tda_get)17048 XS(_wrap_gsl_matrix_char_tda_get) {
17049   {
17050     gsl_matrix_char *arg1 = (gsl_matrix_char *) 0 ;
17051     void *argp1 = 0 ;
17052     int res1 = 0 ;
17053     int argvi = 0;
17054     size_t result;
17055     dXSARGS;
17056 
17057     if ((items < 1) || (items > 1)) {
17058       SWIG_croak("Usage: gsl_matrix_char_tda_get(self);");
17059     }
17060     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
17061     if (!SWIG_IsOK(res1)) {
17062       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_tda_get" "', argument " "1"" of type '" "gsl_matrix_char *""'");
17063     }
17064     arg1 = (gsl_matrix_char *)(argp1);
17065     result =  ((arg1)->tda);
17066     ST(argvi) = SWIG_From_size_t  SWIG_PERL_CALL_ARGS_1((size_t)(result)); argvi++ ;
17067 
17068     XSRETURN(argvi);
17069   fail:
17070 
17071     SWIG_croak_null();
17072   }
17073 }
17074 
17075 
XS(_wrap_gsl_matrix_char_data_set)17076 XS(_wrap_gsl_matrix_char_data_set) {
17077   {
17078     gsl_matrix_char *arg1 = (gsl_matrix_char *) 0 ;
17079     char *arg2 = (char *) 0 ;
17080     void *argp1 = 0 ;
17081     int res1 = 0 ;
17082     int res2 ;
17083     char *buf2 = 0 ;
17084     int alloc2 = 0 ;
17085     int argvi = 0;
17086     dXSARGS;
17087 
17088     if ((items < 2) || (items > 2)) {
17089       SWIG_croak("Usage: gsl_matrix_char_data_set(self,data);");
17090     }
17091     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
17092     if (!SWIG_IsOK(res1)) {
17093       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_data_set" "', argument " "1"" of type '" "gsl_matrix_char *""'");
17094     }
17095     arg1 = (gsl_matrix_char *)(argp1);
17096     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
17097     if (!SWIG_IsOK(res2)) {
17098       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_char_data_set" "', argument " "2"" of type '" "char *""'");
17099     }
17100     arg2 = (char *)(buf2);
17101     if (arg1->data) free((char*)arg1->data);
17102     if (arg2) {
17103       size_t size = strlen((const char *)(arg2)) + 1;
17104       arg1->data = (char *)(char *)memcpy(malloc((size)*sizeof(char)), (const char *)(arg2), sizeof(char)*(size));
17105     } else {
17106       arg1->data = 0;
17107     }
17108     ST(argvi) = &PL_sv_undef;
17109 
17110     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
17111     XSRETURN(argvi);
17112   fail:
17113 
17114     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
17115     SWIG_croak_null();
17116   }
17117 }
17118 
17119 
XS(_wrap_gsl_matrix_char_data_get)17120 XS(_wrap_gsl_matrix_char_data_get) {
17121   {
17122     gsl_matrix_char *arg1 = (gsl_matrix_char *) 0 ;
17123     void *argp1 = 0 ;
17124     int res1 = 0 ;
17125     int argvi = 0;
17126     char *result = 0 ;
17127     dXSARGS;
17128 
17129     if ((items < 1) || (items > 1)) {
17130       SWIG_croak("Usage: gsl_matrix_char_data_get(self);");
17131     }
17132     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
17133     if (!SWIG_IsOK(res1)) {
17134       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_data_get" "', argument " "1"" of type '" "gsl_matrix_char *""'");
17135     }
17136     arg1 = (gsl_matrix_char *)(argp1);
17137     result = (char *) ((arg1)->data);
17138     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
17139 
17140     XSRETURN(argvi);
17141   fail:
17142 
17143     SWIG_croak_null();
17144   }
17145 }
17146 
17147 
XS(_wrap_gsl_matrix_char_block_set)17148 XS(_wrap_gsl_matrix_char_block_set) {
17149   {
17150     gsl_matrix_char *arg1 = (gsl_matrix_char *) 0 ;
17151     gsl_block_char *arg2 = (gsl_block_char *) 0 ;
17152     void *argp1 = 0 ;
17153     int res1 = 0 ;
17154     void *argp2 = 0 ;
17155     int res2 = 0 ;
17156     int argvi = 0;
17157     dXSARGS;
17158 
17159     if ((items < 2) || (items > 2)) {
17160       SWIG_croak("Usage: gsl_matrix_char_block_set(self,block);");
17161     }
17162     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
17163     if (!SWIG_IsOK(res1)) {
17164       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_block_set" "', argument " "1"" of type '" "gsl_matrix_char *""'");
17165     }
17166     arg1 = (gsl_matrix_char *)(argp1);
17167     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_block_char, SWIG_POINTER_DISOWN |  0 );
17168     if (!SWIG_IsOK(res2)) {
17169       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_char_block_set" "', argument " "2"" of type '" "gsl_block_char *""'");
17170     }
17171     arg2 = (gsl_block_char *)(argp2);
17172     if (arg1) (arg1)->block = arg2;
17173     ST(argvi) = &PL_sv_undef;
17174 
17175 
17176     XSRETURN(argvi);
17177   fail:
17178 
17179 
17180     SWIG_croak_null();
17181   }
17182 }
17183 
17184 
XS(_wrap_gsl_matrix_char_block_get)17185 XS(_wrap_gsl_matrix_char_block_get) {
17186   {
17187     gsl_matrix_char *arg1 = (gsl_matrix_char *) 0 ;
17188     void *argp1 = 0 ;
17189     int res1 = 0 ;
17190     int argvi = 0;
17191     gsl_block_char *result = 0 ;
17192     dXSARGS;
17193 
17194     if ((items < 1) || (items > 1)) {
17195       SWIG_croak("Usage: gsl_matrix_char_block_get(self);");
17196     }
17197     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
17198     if (!SWIG_IsOK(res1)) {
17199       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_block_get" "', argument " "1"" of type '" "gsl_matrix_char *""'");
17200     }
17201     arg1 = (gsl_matrix_char *)(argp1);
17202     result = (gsl_block_char *) ((arg1)->block);
17203     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_block_char, 0 | 0); argvi++ ;
17204 
17205     XSRETURN(argvi);
17206   fail:
17207 
17208     SWIG_croak_null();
17209   }
17210 }
17211 
17212 
XS(_wrap_gsl_matrix_char_owner_set)17213 XS(_wrap_gsl_matrix_char_owner_set) {
17214   {
17215     gsl_matrix_char *arg1 = (gsl_matrix_char *) 0 ;
17216     int arg2 ;
17217     void *argp1 = 0 ;
17218     int res1 = 0 ;
17219     int val2 ;
17220     int ecode2 = 0 ;
17221     int argvi = 0;
17222     dXSARGS;
17223 
17224     if ((items < 2) || (items > 2)) {
17225       SWIG_croak("Usage: gsl_matrix_char_owner_set(self,owner);");
17226     }
17227     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
17228     if (!SWIG_IsOK(res1)) {
17229       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_owner_set" "', argument " "1"" of type '" "gsl_matrix_char *""'");
17230     }
17231     arg1 = (gsl_matrix_char *)(argp1);
17232     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
17233     if (!SWIG_IsOK(ecode2)) {
17234       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_char_owner_set" "', argument " "2"" of type '" "int""'");
17235     }
17236     arg2 = (int)(val2);
17237     if (arg1) (arg1)->owner = arg2;
17238     ST(argvi) = &PL_sv_undef;
17239 
17240 
17241     XSRETURN(argvi);
17242   fail:
17243 
17244 
17245     SWIG_croak_null();
17246   }
17247 }
17248 
17249 
XS(_wrap_gsl_matrix_char_owner_get)17250 XS(_wrap_gsl_matrix_char_owner_get) {
17251   {
17252     gsl_matrix_char *arg1 = (gsl_matrix_char *) 0 ;
17253     void *argp1 = 0 ;
17254     int res1 = 0 ;
17255     int argvi = 0;
17256     int result;
17257     dXSARGS;
17258 
17259     if ((items < 1) || (items > 1)) {
17260       SWIG_croak("Usage: gsl_matrix_char_owner_get(self);");
17261     }
17262     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
17263     if (!SWIG_IsOK(res1)) {
17264       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_owner_get" "', argument " "1"" of type '" "gsl_matrix_char *""'");
17265     }
17266     arg1 = (gsl_matrix_char *)(argp1);
17267     result = (int) ((arg1)->owner);
17268     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
17269 
17270     XSRETURN(argvi);
17271   fail:
17272 
17273     SWIG_croak_null();
17274   }
17275 }
17276 
17277 
XS(_wrap_new_gsl_matrix_char)17278 XS(_wrap_new_gsl_matrix_char) {
17279   {
17280     int argvi = 0;
17281     gsl_matrix_char *result = 0 ;
17282     dXSARGS;
17283 
17284     if ((items < 0) || (items > 0)) {
17285       SWIG_croak("Usage: new_gsl_matrix_char();");
17286     }
17287     result = (gsl_matrix_char *)calloc(1, sizeof(gsl_matrix_char));
17288     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_matrix_char, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
17289     XSRETURN(argvi);
17290   fail:
17291     SWIG_croak_null();
17292   }
17293 }
17294 
17295 
XS(_wrap_delete_gsl_matrix_char)17296 XS(_wrap_delete_gsl_matrix_char) {
17297   {
17298     gsl_matrix_char *arg1 = (gsl_matrix_char *) 0 ;
17299     void *argp1 = 0 ;
17300     int res1 = 0 ;
17301     int argvi = 0;
17302     dXSARGS;
17303 
17304     if ((items < 1) || (items > 1)) {
17305       SWIG_croak("Usage: delete_gsl_matrix_char(self);");
17306     }
17307     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_char, SWIG_POINTER_DISOWN |  0 );
17308     if (!SWIG_IsOK(res1)) {
17309       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_gsl_matrix_char" "', argument " "1"" of type '" "gsl_matrix_char *""'");
17310     }
17311     arg1 = (gsl_matrix_char *)(argp1);
17312     free((char *) arg1);
17313     ST(argvi) = &PL_sv_undef;
17314 
17315     XSRETURN(argvi);
17316   fail:
17317 
17318     SWIG_croak_null();
17319   }
17320 }
17321 
17322 
XS(_wrap__gsl_matrix_char_view_matrix_set)17323 XS(_wrap__gsl_matrix_char_view_matrix_set) {
17324   {
17325     _gsl_matrix_char_view *arg1 = (_gsl_matrix_char_view *) 0 ;
17326     gsl_matrix_char *arg2 = (gsl_matrix_char *) 0 ;
17327     void *argp1 = 0 ;
17328     int res1 = 0 ;
17329     void *argp2 = 0 ;
17330     int res2 = 0 ;
17331     int argvi = 0;
17332     dXSARGS;
17333 
17334     if ((items < 2) || (items > 2)) {
17335       SWIG_croak("Usage: _gsl_matrix_char_view_matrix_set(self,matrix);");
17336     }
17337     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__gsl_matrix_char_view, 0 |  0 );
17338     if (!SWIG_IsOK(res1)) {
17339       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_gsl_matrix_char_view_matrix_set" "', argument " "1"" of type '" "_gsl_matrix_char_view *""'");
17340     }
17341     arg1 = (_gsl_matrix_char_view *)(argp1);
17342     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
17343     if (!SWIG_IsOK(res2)) {
17344       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_gsl_matrix_char_view_matrix_set" "', argument " "2"" of type '" "gsl_matrix_char *""'");
17345     }
17346     arg2 = (gsl_matrix_char *)(argp2);
17347     if (arg1) (arg1)->matrix = *arg2;
17348     ST(argvi) = &PL_sv_undef;
17349 
17350 
17351     XSRETURN(argvi);
17352   fail:
17353 
17354 
17355     SWIG_croak_null();
17356   }
17357 }
17358 
17359 
XS(_wrap__gsl_matrix_char_view_matrix_get)17360 XS(_wrap__gsl_matrix_char_view_matrix_get) {
17361   {
17362     _gsl_matrix_char_view *arg1 = (_gsl_matrix_char_view *) 0 ;
17363     void *argp1 = 0 ;
17364     int res1 = 0 ;
17365     int argvi = 0;
17366     gsl_matrix_char *result = 0 ;
17367     dXSARGS;
17368 
17369     if ((items < 1) || (items > 1)) {
17370       SWIG_croak("Usage: _gsl_matrix_char_view_matrix_get(self);");
17371     }
17372     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__gsl_matrix_char_view, 0 |  0 );
17373     if (!SWIG_IsOK(res1)) {
17374       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_gsl_matrix_char_view_matrix_get" "', argument " "1"" of type '" "_gsl_matrix_char_view *""'");
17375     }
17376     arg1 = (_gsl_matrix_char_view *)(argp1);
17377     result = (gsl_matrix_char *)& ((arg1)->matrix);
17378     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_matrix_char, 0 | SWIG_SHADOW); argvi++ ;
17379 
17380     XSRETURN(argvi);
17381   fail:
17382 
17383     SWIG_croak_null();
17384   }
17385 }
17386 
17387 
XS(_wrap_new__gsl_matrix_char_view)17388 XS(_wrap_new__gsl_matrix_char_view) {
17389   {
17390     int argvi = 0;
17391     _gsl_matrix_char_view *result = 0 ;
17392     dXSARGS;
17393 
17394     if ((items < 0) || (items > 0)) {
17395       SWIG_croak("Usage: new__gsl_matrix_char_view();");
17396     }
17397     result = (_gsl_matrix_char_view *)calloc(1, sizeof(_gsl_matrix_char_view));
17398     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__gsl_matrix_char_view, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
17399     XSRETURN(argvi);
17400   fail:
17401     SWIG_croak_null();
17402   }
17403 }
17404 
17405 
XS(_wrap_delete__gsl_matrix_char_view)17406 XS(_wrap_delete__gsl_matrix_char_view) {
17407   {
17408     _gsl_matrix_char_view *arg1 = (_gsl_matrix_char_view *) 0 ;
17409     void *argp1 = 0 ;
17410     int res1 = 0 ;
17411     int argvi = 0;
17412     dXSARGS;
17413 
17414     if ((items < 1) || (items > 1)) {
17415       SWIG_croak("Usage: delete__gsl_matrix_char_view(self);");
17416     }
17417     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__gsl_matrix_char_view, SWIG_POINTER_DISOWN |  0 );
17418     if (!SWIG_IsOK(res1)) {
17419       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete__gsl_matrix_char_view" "', argument " "1"" of type '" "_gsl_matrix_char_view *""'");
17420     }
17421     arg1 = (_gsl_matrix_char_view *)(argp1);
17422     free((char *) arg1);
17423     ST(argvi) = &PL_sv_undef;
17424 
17425     XSRETURN(argvi);
17426   fail:
17427 
17428     SWIG_croak_null();
17429   }
17430 }
17431 
17432 
XS(_wrap__gsl_matrix_char_const_view_matrix_set)17433 XS(_wrap__gsl_matrix_char_const_view_matrix_set) {
17434   {
17435     _gsl_matrix_char_const_view *arg1 = (_gsl_matrix_char_const_view *) 0 ;
17436     gsl_matrix_char *arg2 = (gsl_matrix_char *) 0 ;
17437     void *argp1 = 0 ;
17438     int res1 = 0 ;
17439     void *argp2 = 0 ;
17440     int res2 = 0 ;
17441     int argvi = 0;
17442     dXSARGS;
17443 
17444     if ((items < 2) || (items > 2)) {
17445       SWIG_croak("Usage: _gsl_matrix_char_const_view_matrix_set(self,matrix);");
17446     }
17447     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__gsl_matrix_char_const_view, 0 |  0 );
17448     if (!SWIG_IsOK(res1)) {
17449       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_gsl_matrix_char_const_view_matrix_set" "', argument " "1"" of type '" "_gsl_matrix_char_const_view *""'");
17450     }
17451     arg1 = (_gsl_matrix_char_const_view *)(argp1);
17452     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
17453     if (!SWIG_IsOK(res2)) {
17454       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_gsl_matrix_char_const_view_matrix_set" "', argument " "2"" of type '" "gsl_matrix_char *""'");
17455     }
17456     arg2 = (gsl_matrix_char *)(argp2);
17457     if (arg1) (arg1)->matrix = *arg2;
17458     ST(argvi) = &PL_sv_undef;
17459 
17460 
17461     XSRETURN(argvi);
17462   fail:
17463 
17464 
17465     SWIG_croak_null();
17466   }
17467 }
17468 
17469 
XS(_wrap__gsl_matrix_char_const_view_matrix_get)17470 XS(_wrap__gsl_matrix_char_const_view_matrix_get) {
17471   {
17472     _gsl_matrix_char_const_view *arg1 = (_gsl_matrix_char_const_view *) 0 ;
17473     void *argp1 = 0 ;
17474     int res1 = 0 ;
17475     int argvi = 0;
17476     gsl_matrix_char *result = 0 ;
17477     dXSARGS;
17478 
17479     if ((items < 1) || (items > 1)) {
17480       SWIG_croak("Usage: _gsl_matrix_char_const_view_matrix_get(self);");
17481     }
17482     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__gsl_matrix_char_const_view, 0 |  0 );
17483     if (!SWIG_IsOK(res1)) {
17484       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_gsl_matrix_char_const_view_matrix_get" "', argument " "1"" of type '" "_gsl_matrix_char_const_view *""'");
17485     }
17486     arg1 = (_gsl_matrix_char_const_view *)(argp1);
17487     result = (gsl_matrix_char *)& ((arg1)->matrix);
17488     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_matrix_char, 0 | SWIG_SHADOW); argvi++ ;
17489 
17490     XSRETURN(argvi);
17491   fail:
17492 
17493     SWIG_croak_null();
17494   }
17495 }
17496 
17497 
XS(_wrap_new__gsl_matrix_char_const_view)17498 XS(_wrap_new__gsl_matrix_char_const_view) {
17499   {
17500     int argvi = 0;
17501     _gsl_matrix_char_const_view *result = 0 ;
17502     dXSARGS;
17503 
17504     if ((items < 0) || (items > 0)) {
17505       SWIG_croak("Usage: new__gsl_matrix_char_const_view();");
17506     }
17507     result = (_gsl_matrix_char_const_view *)calloc(1, sizeof(_gsl_matrix_char_const_view));
17508     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__gsl_matrix_char_const_view, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
17509     XSRETURN(argvi);
17510   fail:
17511     SWIG_croak_null();
17512   }
17513 }
17514 
17515 
XS(_wrap_delete__gsl_matrix_char_const_view)17516 XS(_wrap_delete__gsl_matrix_char_const_view) {
17517   {
17518     _gsl_matrix_char_const_view *arg1 = (_gsl_matrix_char_const_view *) 0 ;
17519     void *argp1 = 0 ;
17520     int res1 = 0 ;
17521     int argvi = 0;
17522     dXSARGS;
17523 
17524     if ((items < 1) || (items > 1)) {
17525       SWIG_croak("Usage: delete__gsl_matrix_char_const_view(self);");
17526     }
17527     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__gsl_matrix_char_const_view, SWIG_POINTER_DISOWN |  0 );
17528     if (!SWIG_IsOK(res1)) {
17529       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete__gsl_matrix_char_const_view" "', argument " "1"" of type '" "_gsl_matrix_char_const_view *""'");
17530     }
17531     arg1 = (_gsl_matrix_char_const_view *)(argp1);
17532     free((char *) arg1);
17533     ST(argvi) = &PL_sv_undef;
17534 
17535     XSRETURN(argvi);
17536   fail:
17537 
17538     SWIG_croak_null();
17539   }
17540 }
17541 
17542 
XS(_wrap_gsl_matrix_char_alloc)17543 XS(_wrap_gsl_matrix_char_alloc) {
17544   {
17545     size_t arg1 ;
17546     size_t arg2 ;
17547     size_t val1 ;
17548     int ecode1 = 0 ;
17549     size_t val2 ;
17550     int ecode2 = 0 ;
17551     int argvi = 0;
17552     gsl_matrix_char *result = 0 ;
17553     dXSARGS;
17554 
17555     if ((items < 2) || (items > 2)) {
17556       SWIG_croak("Usage: gsl_matrix_char_alloc(n1,n2);");
17557     }
17558     ecode1 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
17559     if (!SWIG_IsOK(ecode1)) {
17560       SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_matrix_char_alloc" "', argument " "1"" of type '" "size_t""'");
17561     }
17562     arg1 = (size_t)(val1);
17563     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
17564     if (!SWIG_IsOK(ecode2)) {
17565       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_char_alloc" "', argument " "2"" of type '" "size_t""'");
17566     }
17567     arg2 = (size_t)(val2);
17568     result = (gsl_matrix_char *)gsl_matrix_char_alloc(arg1,arg2);
17569     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_matrix_char, 0 | SWIG_SHADOW); argvi++ ;
17570 
17571 
17572     XSRETURN(argvi);
17573   fail:
17574 
17575 
17576     SWIG_croak_null();
17577   }
17578 }
17579 
17580 
XS(_wrap_gsl_matrix_char_calloc)17581 XS(_wrap_gsl_matrix_char_calloc) {
17582   {
17583     size_t arg1 ;
17584     size_t arg2 ;
17585     size_t val1 ;
17586     int ecode1 = 0 ;
17587     size_t val2 ;
17588     int ecode2 = 0 ;
17589     int argvi = 0;
17590     gsl_matrix_char *result = 0 ;
17591     dXSARGS;
17592 
17593     if ((items < 2) || (items > 2)) {
17594       SWIG_croak("Usage: gsl_matrix_char_calloc(n1,n2);");
17595     }
17596     ecode1 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
17597     if (!SWIG_IsOK(ecode1)) {
17598       SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_matrix_char_calloc" "', argument " "1"" of type '" "size_t""'");
17599     }
17600     arg1 = (size_t)(val1);
17601     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
17602     if (!SWIG_IsOK(ecode2)) {
17603       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_char_calloc" "', argument " "2"" of type '" "size_t""'");
17604     }
17605     arg2 = (size_t)(val2);
17606     result = (gsl_matrix_char *)gsl_matrix_char_calloc(arg1,arg2);
17607     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_matrix_char, 0 | SWIG_SHADOW); argvi++ ;
17608 
17609 
17610     XSRETURN(argvi);
17611   fail:
17612 
17613 
17614     SWIG_croak_null();
17615   }
17616 }
17617 
17618 
XS(_wrap_gsl_matrix_char_alloc_from_block)17619 XS(_wrap_gsl_matrix_char_alloc_from_block) {
17620   {
17621     gsl_block_char *arg1 = (gsl_block_char *) 0 ;
17622     size_t arg2 ;
17623     size_t arg3 ;
17624     size_t arg4 ;
17625     size_t arg5 ;
17626     void *argp1 = 0 ;
17627     int res1 = 0 ;
17628     size_t val2 ;
17629     int ecode2 = 0 ;
17630     size_t val3 ;
17631     int ecode3 = 0 ;
17632     size_t val4 ;
17633     int ecode4 = 0 ;
17634     size_t val5 ;
17635     int ecode5 = 0 ;
17636     int argvi = 0;
17637     gsl_matrix_char *result = 0 ;
17638     dXSARGS;
17639 
17640     if ((items < 5) || (items > 5)) {
17641       SWIG_croak("Usage: gsl_matrix_char_alloc_from_block(b,offset,n1,n2,d2);");
17642     }
17643     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_block_char, 0 |  0 );
17644     if (!SWIG_IsOK(res1)) {
17645       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_alloc_from_block" "', argument " "1"" of type '" "gsl_block_char *""'");
17646     }
17647     arg1 = (gsl_block_char *)(argp1);
17648     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
17649     if (!SWIG_IsOK(ecode2)) {
17650       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_char_alloc_from_block" "', argument " "2"" of type '" "size_t""'");
17651     }
17652     arg2 = (size_t)(val2);
17653     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
17654     if (!SWIG_IsOK(ecode3)) {
17655       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_char_alloc_from_block" "', argument " "3"" of type '" "size_t""'");
17656     }
17657     arg3 = (size_t)(val3);
17658     ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
17659     if (!SWIG_IsOK(ecode4)) {
17660       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_matrix_char_alloc_from_block" "', argument " "4"" of type '" "size_t""'");
17661     }
17662     arg4 = (size_t)(val4);
17663     ecode5 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
17664     if (!SWIG_IsOK(ecode5)) {
17665       SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "gsl_matrix_char_alloc_from_block" "', argument " "5"" of type '" "size_t""'");
17666     }
17667     arg5 = (size_t)(val5);
17668     result = (gsl_matrix_char *)gsl_matrix_char_alloc_from_block(arg1,arg2,arg3,arg4,arg5);
17669     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_matrix_char, 0 | SWIG_SHADOW); argvi++ ;
17670 
17671 
17672 
17673 
17674 
17675     XSRETURN(argvi);
17676   fail:
17677 
17678 
17679 
17680 
17681 
17682     SWIG_croak_null();
17683   }
17684 }
17685 
17686 
XS(_wrap_gsl_matrix_char_alloc_from_matrix)17687 XS(_wrap_gsl_matrix_char_alloc_from_matrix) {
17688   {
17689     gsl_matrix_char *arg1 = (gsl_matrix_char *) 0 ;
17690     size_t arg2 ;
17691     size_t arg3 ;
17692     size_t arg4 ;
17693     size_t arg5 ;
17694     void *argp1 = 0 ;
17695     int res1 = 0 ;
17696     size_t val2 ;
17697     int ecode2 = 0 ;
17698     size_t val3 ;
17699     int ecode3 = 0 ;
17700     size_t val4 ;
17701     int ecode4 = 0 ;
17702     size_t val5 ;
17703     int ecode5 = 0 ;
17704     int argvi = 0;
17705     gsl_matrix_char *result = 0 ;
17706     dXSARGS;
17707 
17708     if ((items < 5) || (items > 5)) {
17709       SWIG_croak("Usage: gsl_matrix_char_alloc_from_matrix(m,k1,k2,n1,n2);");
17710     }
17711     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
17712     if (!SWIG_IsOK(res1)) {
17713       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_alloc_from_matrix" "', argument " "1"" of type '" "gsl_matrix_char *""'");
17714     }
17715     arg1 = (gsl_matrix_char *)(argp1);
17716     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
17717     if (!SWIG_IsOK(ecode2)) {
17718       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_char_alloc_from_matrix" "', argument " "2"" of type '" "size_t""'");
17719     }
17720     arg2 = (size_t)(val2);
17721     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
17722     if (!SWIG_IsOK(ecode3)) {
17723       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_char_alloc_from_matrix" "', argument " "3"" of type '" "size_t""'");
17724     }
17725     arg3 = (size_t)(val3);
17726     ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
17727     if (!SWIG_IsOK(ecode4)) {
17728       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_matrix_char_alloc_from_matrix" "', argument " "4"" of type '" "size_t""'");
17729     }
17730     arg4 = (size_t)(val4);
17731     ecode5 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
17732     if (!SWIG_IsOK(ecode5)) {
17733       SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "gsl_matrix_char_alloc_from_matrix" "', argument " "5"" of type '" "size_t""'");
17734     }
17735     arg5 = (size_t)(val5);
17736     result = (gsl_matrix_char *)gsl_matrix_char_alloc_from_matrix(arg1,arg2,arg3,arg4,arg5);
17737     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_matrix_char, 0 | SWIG_SHADOW); argvi++ ;
17738 
17739 
17740 
17741 
17742 
17743     XSRETURN(argvi);
17744   fail:
17745 
17746 
17747 
17748 
17749 
17750     SWIG_croak_null();
17751   }
17752 }
17753 
17754 
XS(_wrap_gsl_vector_char_alloc_row_from_matrix)17755 XS(_wrap_gsl_vector_char_alloc_row_from_matrix) {
17756   {
17757     gsl_matrix_char *arg1 = (gsl_matrix_char *) 0 ;
17758     size_t arg2 ;
17759     void *argp1 = 0 ;
17760     int res1 = 0 ;
17761     size_t val2 ;
17762     int ecode2 = 0 ;
17763     int argvi = 0;
17764     gsl_vector_char *result = 0 ;
17765     dXSARGS;
17766 
17767     if ((items < 2) || (items > 2)) {
17768       SWIG_croak("Usage: gsl_vector_char_alloc_row_from_matrix(m,i);");
17769     }
17770     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
17771     if (!SWIG_IsOK(res1)) {
17772       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_alloc_row_from_matrix" "', argument " "1"" of type '" "gsl_matrix_char *""'");
17773     }
17774     arg1 = (gsl_matrix_char *)(argp1);
17775     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
17776     if (!SWIG_IsOK(ecode2)) {
17777       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_char_alloc_row_from_matrix" "', argument " "2"" of type '" "size_t""'");
17778     }
17779     arg2 = (size_t)(val2);
17780     result = (gsl_vector_char *)gsl_vector_char_alloc_row_from_matrix(arg1,arg2);
17781     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_vector_char, 0 | 0); argvi++ ;
17782 
17783 
17784     XSRETURN(argvi);
17785   fail:
17786 
17787 
17788     SWIG_croak_null();
17789   }
17790 }
17791 
17792 
XS(_wrap_gsl_vector_char_alloc_col_from_matrix)17793 XS(_wrap_gsl_vector_char_alloc_col_from_matrix) {
17794   {
17795     gsl_matrix_char *arg1 = (gsl_matrix_char *) 0 ;
17796     size_t arg2 ;
17797     void *argp1 = 0 ;
17798     int res1 = 0 ;
17799     size_t val2 ;
17800     int ecode2 = 0 ;
17801     int argvi = 0;
17802     gsl_vector_char *result = 0 ;
17803     dXSARGS;
17804 
17805     if ((items < 2) || (items > 2)) {
17806       SWIG_croak("Usage: gsl_vector_char_alloc_col_from_matrix(m,j);");
17807     }
17808     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
17809     if (!SWIG_IsOK(res1)) {
17810       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_vector_char_alloc_col_from_matrix" "', argument " "1"" of type '" "gsl_matrix_char *""'");
17811     }
17812     arg1 = (gsl_matrix_char *)(argp1);
17813     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
17814     if (!SWIG_IsOK(ecode2)) {
17815       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_vector_char_alloc_col_from_matrix" "', argument " "2"" of type '" "size_t""'");
17816     }
17817     arg2 = (size_t)(val2);
17818     result = (gsl_vector_char *)gsl_vector_char_alloc_col_from_matrix(arg1,arg2);
17819     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_vector_char, 0 | 0); argvi++ ;
17820 
17821 
17822     XSRETURN(argvi);
17823   fail:
17824 
17825 
17826     SWIG_croak_null();
17827   }
17828 }
17829 
17830 
XS(_wrap_gsl_matrix_char_free)17831 XS(_wrap_gsl_matrix_char_free) {
17832   {
17833     gsl_matrix_char *arg1 = (gsl_matrix_char *) 0 ;
17834     void *argp1 = 0 ;
17835     int res1 = 0 ;
17836     int argvi = 0;
17837     dXSARGS;
17838 
17839     if ((items < 1) || (items > 1)) {
17840       SWIG_croak("Usage: gsl_matrix_char_free(m);");
17841     }
17842     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
17843     if (!SWIG_IsOK(res1)) {
17844       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_free" "', argument " "1"" of type '" "gsl_matrix_char *""'");
17845     }
17846     arg1 = (gsl_matrix_char *)(argp1);
17847     gsl_matrix_char_free(arg1);
17848     ST(argvi) = &PL_sv_undef;
17849 
17850     XSRETURN(argvi);
17851   fail:
17852 
17853     SWIG_croak_null();
17854   }
17855 }
17856 
17857 
XS(_wrap_gsl_matrix_char_submatrix)17858 XS(_wrap_gsl_matrix_char_submatrix) {
17859   {
17860     gsl_matrix_char *arg1 = (gsl_matrix_char *) 0 ;
17861     size_t arg2 ;
17862     size_t arg3 ;
17863     size_t arg4 ;
17864     size_t arg5 ;
17865     void *argp1 = 0 ;
17866     int res1 = 0 ;
17867     size_t val2 ;
17868     int ecode2 = 0 ;
17869     size_t val3 ;
17870     int ecode3 = 0 ;
17871     size_t val4 ;
17872     int ecode4 = 0 ;
17873     size_t val5 ;
17874     int ecode5 = 0 ;
17875     int argvi = 0;
17876     _gsl_matrix_char_view result;
17877     dXSARGS;
17878 
17879     if ((items < 5) || (items > 5)) {
17880       SWIG_croak("Usage: gsl_matrix_char_submatrix(m,i,j,n1,n2);");
17881     }
17882     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
17883     if (!SWIG_IsOK(res1)) {
17884       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_submatrix" "', argument " "1"" of type '" "gsl_matrix_char *""'");
17885     }
17886     arg1 = (gsl_matrix_char *)(argp1);
17887     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
17888     if (!SWIG_IsOK(ecode2)) {
17889       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_char_submatrix" "', argument " "2"" of type '" "size_t""'");
17890     }
17891     arg2 = (size_t)(val2);
17892     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
17893     if (!SWIG_IsOK(ecode3)) {
17894       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_char_submatrix" "', argument " "3"" of type '" "size_t""'");
17895     }
17896     arg3 = (size_t)(val3);
17897     ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
17898     if (!SWIG_IsOK(ecode4)) {
17899       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_matrix_char_submatrix" "', argument " "4"" of type '" "size_t""'");
17900     }
17901     arg4 = (size_t)(val4);
17902     ecode5 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
17903     if (!SWIG_IsOK(ecode5)) {
17904       SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "gsl_matrix_char_submatrix" "', argument " "5"" of type '" "size_t""'");
17905     }
17906     arg5 = (size_t)(val5);
17907     result = gsl_matrix_char_submatrix(arg1,arg2,arg3,arg4,arg5);
17908     ST(argvi) = SWIG_NewPointerObj((_gsl_matrix_char_view *)memcpy((_gsl_matrix_char_view *)calloc(1,sizeof(_gsl_matrix_char_view)),&result,sizeof(_gsl_matrix_char_view)), SWIGTYPE_p__gsl_matrix_char_view, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
17909 
17910 
17911 
17912 
17913 
17914     XSRETURN(argvi);
17915   fail:
17916 
17917 
17918 
17919 
17920 
17921     SWIG_croak_null();
17922   }
17923 }
17924 
17925 
XS(_wrap_gsl_matrix_char_row)17926 XS(_wrap_gsl_matrix_char_row) {
17927   {
17928     gsl_matrix_char *arg1 = (gsl_matrix_char *) 0 ;
17929     size_t arg2 ;
17930     void *argp1 = 0 ;
17931     int res1 = 0 ;
17932     size_t val2 ;
17933     int ecode2 = 0 ;
17934     int argvi = 0;
17935     _gsl_vector_char_view result;
17936     dXSARGS;
17937 
17938     if ((items < 2) || (items > 2)) {
17939       SWIG_croak("Usage: gsl_matrix_char_row(m,i);");
17940     }
17941     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
17942     if (!SWIG_IsOK(res1)) {
17943       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_row" "', argument " "1"" of type '" "gsl_matrix_char *""'");
17944     }
17945     arg1 = (gsl_matrix_char *)(argp1);
17946     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
17947     if (!SWIG_IsOK(ecode2)) {
17948       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_char_row" "', argument " "2"" of type '" "size_t""'");
17949     }
17950     arg2 = (size_t)(val2);
17951     result = gsl_matrix_char_row(arg1,arg2);
17952     ST(argvi) = SWIG_NewPointerObj((_gsl_vector_char_view *)memcpy((_gsl_vector_char_view *)calloc(1,sizeof(_gsl_vector_char_view)),&result,sizeof(_gsl_vector_char_view)), SWIGTYPE_p__gsl_vector_char_view, SWIG_POINTER_OWN | 0); argvi++ ;
17953 
17954 
17955     XSRETURN(argvi);
17956   fail:
17957 
17958 
17959     SWIG_croak_null();
17960   }
17961 }
17962 
17963 
XS(_wrap_gsl_matrix_char_column)17964 XS(_wrap_gsl_matrix_char_column) {
17965   {
17966     gsl_matrix_char *arg1 = (gsl_matrix_char *) 0 ;
17967     size_t arg2 ;
17968     void *argp1 = 0 ;
17969     int res1 = 0 ;
17970     size_t val2 ;
17971     int ecode2 = 0 ;
17972     int argvi = 0;
17973     _gsl_vector_char_view result;
17974     dXSARGS;
17975 
17976     if ((items < 2) || (items > 2)) {
17977       SWIG_croak("Usage: gsl_matrix_char_column(m,j);");
17978     }
17979     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
17980     if (!SWIG_IsOK(res1)) {
17981       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_column" "', argument " "1"" of type '" "gsl_matrix_char *""'");
17982     }
17983     arg1 = (gsl_matrix_char *)(argp1);
17984     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
17985     if (!SWIG_IsOK(ecode2)) {
17986       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_char_column" "', argument " "2"" of type '" "size_t""'");
17987     }
17988     arg2 = (size_t)(val2);
17989     result = gsl_matrix_char_column(arg1,arg2);
17990     ST(argvi) = SWIG_NewPointerObj((_gsl_vector_char_view *)memcpy((_gsl_vector_char_view *)calloc(1,sizeof(_gsl_vector_char_view)),&result,sizeof(_gsl_vector_char_view)), SWIGTYPE_p__gsl_vector_char_view, SWIG_POINTER_OWN | 0); argvi++ ;
17991 
17992 
17993     XSRETURN(argvi);
17994   fail:
17995 
17996 
17997     SWIG_croak_null();
17998   }
17999 }
18000 
18001 
XS(_wrap_gsl_matrix_char_diagonal)18002 XS(_wrap_gsl_matrix_char_diagonal) {
18003   {
18004     gsl_matrix_char *arg1 = (gsl_matrix_char *) 0 ;
18005     void *argp1 = 0 ;
18006     int res1 = 0 ;
18007     int argvi = 0;
18008     _gsl_vector_char_view result;
18009     dXSARGS;
18010 
18011     if ((items < 1) || (items > 1)) {
18012       SWIG_croak("Usage: gsl_matrix_char_diagonal(m);");
18013     }
18014     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
18015     if (!SWIG_IsOK(res1)) {
18016       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_diagonal" "', argument " "1"" of type '" "gsl_matrix_char *""'");
18017     }
18018     arg1 = (gsl_matrix_char *)(argp1);
18019     result = gsl_matrix_char_diagonal(arg1);
18020     ST(argvi) = SWIG_NewPointerObj((_gsl_vector_char_view *)memcpy((_gsl_vector_char_view *)calloc(1,sizeof(_gsl_vector_char_view)),&result,sizeof(_gsl_vector_char_view)), SWIGTYPE_p__gsl_vector_char_view, SWIG_POINTER_OWN | 0); argvi++ ;
18021 
18022     XSRETURN(argvi);
18023   fail:
18024 
18025     SWIG_croak_null();
18026   }
18027 }
18028 
18029 
XS(_wrap_gsl_matrix_char_subdiagonal)18030 XS(_wrap_gsl_matrix_char_subdiagonal) {
18031   {
18032     gsl_matrix_char *arg1 = (gsl_matrix_char *) 0 ;
18033     size_t arg2 ;
18034     void *argp1 = 0 ;
18035     int res1 = 0 ;
18036     size_t val2 ;
18037     int ecode2 = 0 ;
18038     int argvi = 0;
18039     _gsl_vector_char_view result;
18040     dXSARGS;
18041 
18042     if ((items < 2) || (items > 2)) {
18043       SWIG_croak("Usage: gsl_matrix_char_subdiagonal(m,k);");
18044     }
18045     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
18046     if (!SWIG_IsOK(res1)) {
18047       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_subdiagonal" "', argument " "1"" of type '" "gsl_matrix_char *""'");
18048     }
18049     arg1 = (gsl_matrix_char *)(argp1);
18050     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
18051     if (!SWIG_IsOK(ecode2)) {
18052       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_char_subdiagonal" "', argument " "2"" of type '" "size_t""'");
18053     }
18054     arg2 = (size_t)(val2);
18055     result = gsl_matrix_char_subdiagonal(arg1,arg2);
18056     ST(argvi) = SWIG_NewPointerObj((_gsl_vector_char_view *)memcpy((_gsl_vector_char_view *)calloc(1,sizeof(_gsl_vector_char_view)),&result,sizeof(_gsl_vector_char_view)), SWIGTYPE_p__gsl_vector_char_view, SWIG_POINTER_OWN | 0); argvi++ ;
18057 
18058 
18059     XSRETURN(argvi);
18060   fail:
18061 
18062 
18063     SWIG_croak_null();
18064   }
18065 }
18066 
18067 
XS(_wrap_gsl_matrix_char_superdiagonal)18068 XS(_wrap_gsl_matrix_char_superdiagonal) {
18069   {
18070     gsl_matrix_char *arg1 = (gsl_matrix_char *) 0 ;
18071     size_t arg2 ;
18072     void *argp1 = 0 ;
18073     int res1 = 0 ;
18074     size_t val2 ;
18075     int ecode2 = 0 ;
18076     int argvi = 0;
18077     _gsl_vector_char_view result;
18078     dXSARGS;
18079 
18080     if ((items < 2) || (items > 2)) {
18081       SWIG_croak("Usage: gsl_matrix_char_superdiagonal(m,k);");
18082     }
18083     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
18084     if (!SWIG_IsOK(res1)) {
18085       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_superdiagonal" "', argument " "1"" of type '" "gsl_matrix_char *""'");
18086     }
18087     arg1 = (gsl_matrix_char *)(argp1);
18088     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
18089     if (!SWIG_IsOK(ecode2)) {
18090       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_char_superdiagonal" "', argument " "2"" of type '" "size_t""'");
18091     }
18092     arg2 = (size_t)(val2);
18093     result = gsl_matrix_char_superdiagonal(arg1,arg2);
18094     ST(argvi) = SWIG_NewPointerObj((_gsl_vector_char_view *)memcpy((_gsl_vector_char_view *)calloc(1,sizeof(_gsl_vector_char_view)),&result,sizeof(_gsl_vector_char_view)), SWIGTYPE_p__gsl_vector_char_view, SWIG_POINTER_OWN | 0); argvi++ ;
18095 
18096 
18097     XSRETURN(argvi);
18098   fail:
18099 
18100 
18101     SWIG_croak_null();
18102   }
18103 }
18104 
18105 
XS(_wrap_gsl_matrix_char_subrow)18106 XS(_wrap_gsl_matrix_char_subrow) {
18107   {
18108     gsl_matrix_char *arg1 = (gsl_matrix_char *) 0 ;
18109     size_t arg2 ;
18110     size_t arg3 ;
18111     size_t arg4 ;
18112     void *argp1 = 0 ;
18113     int res1 = 0 ;
18114     size_t val2 ;
18115     int ecode2 = 0 ;
18116     size_t val3 ;
18117     int ecode3 = 0 ;
18118     size_t val4 ;
18119     int ecode4 = 0 ;
18120     int argvi = 0;
18121     _gsl_vector_char_view result;
18122     dXSARGS;
18123 
18124     if ((items < 4) || (items > 4)) {
18125       SWIG_croak("Usage: gsl_matrix_char_subrow(m,i,offset,n);");
18126     }
18127     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
18128     if (!SWIG_IsOK(res1)) {
18129       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_subrow" "', argument " "1"" of type '" "gsl_matrix_char *""'");
18130     }
18131     arg1 = (gsl_matrix_char *)(argp1);
18132     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
18133     if (!SWIG_IsOK(ecode2)) {
18134       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_char_subrow" "', argument " "2"" of type '" "size_t""'");
18135     }
18136     arg2 = (size_t)(val2);
18137     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
18138     if (!SWIG_IsOK(ecode3)) {
18139       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_char_subrow" "', argument " "3"" of type '" "size_t""'");
18140     }
18141     arg3 = (size_t)(val3);
18142     ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
18143     if (!SWIG_IsOK(ecode4)) {
18144       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_matrix_char_subrow" "', argument " "4"" of type '" "size_t""'");
18145     }
18146     arg4 = (size_t)(val4);
18147     result = gsl_matrix_char_subrow(arg1,arg2,arg3,arg4);
18148     ST(argvi) = SWIG_NewPointerObj((_gsl_vector_char_view *)memcpy((_gsl_vector_char_view *)calloc(1,sizeof(_gsl_vector_char_view)),&result,sizeof(_gsl_vector_char_view)), SWIGTYPE_p__gsl_vector_char_view, SWIG_POINTER_OWN | 0); argvi++ ;
18149 
18150 
18151 
18152 
18153     XSRETURN(argvi);
18154   fail:
18155 
18156 
18157 
18158 
18159     SWIG_croak_null();
18160   }
18161 }
18162 
18163 
XS(_wrap_gsl_matrix_char_subcolumn)18164 XS(_wrap_gsl_matrix_char_subcolumn) {
18165   {
18166     gsl_matrix_char *arg1 = (gsl_matrix_char *) 0 ;
18167     size_t arg2 ;
18168     size_t arg3 ;
18169     size_t arg4 ;
18170     void *argp1 = 0 ;
18171     int res1 = 0 ;
18172     size_t val2 ;
18173     int ecode2 = 0 ;
18174     size_t val3 ;
18175     int ecode3 = 0 ;
18176     size_t val4 ;
18177     int ecode4 = 0 ;
18178     int argvi = 0;
18179     _gsl_vector_char_view result;
18180     dXSARGS;
18181 
18182     if ((items < 4) || (items > 4)) {
18183       SWIG_croak("Usage: gsl_matrix_char_subcolumn(m,j,offset,n);");
18184     }
18185     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
18186     if (!SWIG_IsOK(res1)) {
18187       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_subcolumn" "', argument " "1"" of type '" "gsl_matrix_char *""'");
18188     }
18189     arg1 = (gsl_matrix_char *)(argp1);
18190     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
18191     if (!SWIG_IsOK(ecode2)) {
18192       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_char_subcolumn" "', argument " "2"" of type '" "size_t""'");
18193     }
18194     arg2 = (size_t)(val2);
18195     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
18196     if (!SWIG_IsOK(ecode3)) {
18197       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_char_subcolumn" "', argument " "3"" of type '" "size_t""'");
18198     }
18199     arg3 = (size_t)(val3);
18200     ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
18201     if (!SWIG_IsOK(ecode4)) {
18202       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_matrix_char_subcolumn" "', argument " "4"" of type '" "size_t""'");
18203     }
18204     arg4 = (size_t)(val4);
18205     result = gsl_matrix_char_subcolumn(arg1,arg2,arg3,arg4);
18206     ST(argvi) = SWIG_NewPointerObj((_gsl_vector_char_view *)memcpy((_gsl_vector_char_view *)calloc(1,sizeof(_gsl_vector_char_view)),&result,sizeof(_gsl_vector_char_view)), SWIGTYPE_p__gsl_vector_char_view, SWIG_POINTER_OWN | 0); argvi++ ;
18207 
18208 
18209 
18210 
18211     XSRETURN(argvi);
18212   fail:
18213 
18214 
18215 
18216 
18217     SWIG_croak_null();
18218   }
18219 }
18220 
18221 
XS(_wrap_gsl_matrix_char_view_array)18222 XS(_wrap_gsl_matrix_char_view_array) {
18223   {
18224     char *arg1 = (char *) 0 ;
18225     size_t arg2 ;
18226     size_t arg3 ;
18227     int res1 ;
18228     char *buf1 = 0 ;
18229     int alloc1 = 0 ;
18230     size_t val2 ;
18231     int ecode2 = 0 ;
18232     size_t val3 ;
18233     int ecode3 = 0 ;
18234     int argvi = 0;
18235     _gsl_matrix_char_view result;
18236     dXSARGS;
18237 
18238     if ((items < 3) || (items > 3)) {
18239       SWIG_croak("Usage: gsl_matrix_char_view_array(base,n1,n2);");
18240     }
18241     res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
18242     if (!SWIG_IsOK(res1)) {
18243       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_view_array" "', argument " "1"" of type '" "char *""'");
18244     }
18245     arg1 = (char *)(buf1);
18246     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
18247     if (!SWIG_IsOK(ecode2)) {
18248       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_char_view_array" "', argument " "2"" of type '" "size_t""'");
18249     }
18250     arg2 = (size_t)(val2);
18251     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
18252     if (!SWIG_IsOK(ecode3)) {
18253       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_char_view_array" "', argument " "3"" of type '" "size_t""'");
18254     }
18255     arg3 = (size_t)(val3);
18256     result = gsl_matrix_char_view_array(arg1,arg2,arg3);
18257     ST(argvi) = SWIG_NewPointerObj((_gsl_matrix_char_view *)memcpy((_gsl_matrix_char_view *)calloc(1,sizeof(_gsl_matrix_char_view)),&result,sizeof(_gsl_matrix_char_view)), SWIGTYPE_p__gsl_matrix_char_view, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
18258     if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
18259 
18260 
18261     XSRETURN(argvi);
18262   fail:
18263     if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
18264 
18265 
18266     SWIG_croak_null();
18267   }
18268 }
18269 
18270 
XS(_wrap_gsl_matrix_char_view_array_with_tda)18271 XS(_wrap_gsl_matrix_char_view_array_with_tda) {
18272   {
18273     char *arg1 = (char *) 0 ;
18274     size_t arg2 ;
18275     size_t arg3 ;
18276     size_t arg4 ;
18277     int res1 ;
18278     char *buf1 = 0 ;
18279     int alloc1 = 0 ;
18280     size_t val2 ;
18281     int ecode2 = 0 ;
18282     size_t val3 ;
18283     int ecode3 = 0 ;
18284     size_t val4 ;
18285     int ecode4 = 0 ;
18286     int argvi = 0;
18287     _gsl_matrix_char_view result;
18288     dXSARGS;
18289 
18290     if ((items < 4) || (items > 4)) {
18291       SWIG_croak("Usage: gsl_matrix_char_view_array_with_tda(base,n1,n2,tda);");
18292     }
18293     res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
18294     if (!SWIG_IsOK(res1)) {
18295       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_view_array_with_tda" "', argument " "1"" of type '" "char *""'");
18296     }
18297     arg1 = (char *)(buf1);
18298     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
18299     if (!SWIG_IsOK(ecode2)) {
18300       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_char_view_array_with_tda" "', argument " "2"" of type '" "size_t""'");
18301     }
18302     arg2 = (size_t)(val2);
18303     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
18304     if (!SWIG_IsOK(ecode3)) {
18305       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_char_view_array_with_tda" "', argument " "3"" of type '" "size_t""'");
18306     }
18307     arg3 = (size_t)(val3);
18308     ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
18309     if (!SWIG_IsOK(ecode4)) {
18310       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_matrix_char_view_array_with_tda" "', argument " "4"" of type '" "size_t""'");
18311     }
18312     arg4 = (size_t)(val4);
18313     result = gsl_matrix_char_view_array_with_tda(arg1,arg2,arg3,arg4);
18314     ST(argvi) = SWIG_NewPointerObj((_gsl_matrix_char_view *)memcpy((_gsl_matrix_char_view *)calloc(1,sizeof(_gsl_matrix_char_view)),&result,sizeof(_gsl_matrix_char_view)), SWIGTYPE_p__gsl_matrix_char_view, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
18315     if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
18316 
18317 
18318 
18319     XSRETURN(argvi);
18320   fail:
18321     if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
18322 
18323 
18324 
18325     SWIG_croak_null();
18326   }
18327 }
18328 
18329 
XS(_wrap_gsl_matrix_char_view_vector)18330 XS(_wrap_gsl_matrix_char_view_vector) {
18331   {
18332     gsl_vector_char *arg1 = (gsl_vector_char *) 0 ;
18333     size_t arg2 ;
18334     size_t arg3 ;
18335     void *argp1 = 0 ;
18336     int res1 = 0 ;
18337     size_t val2 ;
18338     int ecode2 = 0 ;
18339     size_t val3 ;
18340     int ecode3 = 0 ;
18341     int argvi = 0;
18342     _gsl_matrix_char_view result;
18343     dXSARGS;
18344 
18345     if ((items < 3) || (items > 3)) {
18346       SWIG_croak("Usage: gsl_matrix_char_view_vector(v,n1,n2);");
18347     }
18348     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_char, 0 |  0 );
18349     if (!SWIG_IsOK(res1)) {
18350       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_view_vector" "', argument " "1"" of type '" "gsl_vector_char *""'");
18351     }
18352     arg1 = (gsl_vector_char *)(argp1);
18353     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
18354     if (!SWIG_IsOK(ecode2)) {
18355       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_char_view_vector" "', argument " "2"" of type '" "size_t""'");
18356     }
18357     arg2 = (size_t)(val2);
18358     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
18359     if (!SWIG_IsOK(ecode3)) {
18360       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_char_view_vector" "', argument " "3"" of type '" "size_t""'");
18361     }
18362     arg3 = (size_t)(val3);
18363     result = gsl_matrix_char_view_vector(arg1,arg2,arg3);
18364     ST(argvi) = SWIG_NewPointerObj((_gsl_matrix_char_view *)memcpy((_gsl_matrix_char_view *)calloc(1,sizeof(_gsl_matrix_char_view)),&result,sizeof(_gsl_matrix_char_view)), SWIGTYPE_p__gsl_matrix_char_view, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
18365 
18366 
18367 
18368     XSRETURN(argvi);
18369   fail:
18370 
18371 
18372 
18373     SWIG_croak_null();
18374   }
18375 }
18376 
18377 
XS(_wrap_gsl_matrix_char_view_vector_with_tda)18378 XS(_wrap_gsl_matrix_char_view_vector_with_tda) {
18379   {
18380     gsl_vector_char *arg1 = (gsl_vector_char *) 0 ;
18381     size_t arg2 ;
18382     size_t arg3 ;
18383     size_t arg4 ;
18384     void *argp1 = 0 ;
18385     int res1 = 0 ;
18386     size_t val2 ;
18387     int ecode2 = 0 ;
18388     size_t val3 ;
18389     int ecode3 = 0 ;
18390     size_t val4 ;
18391     int ecode4 = 0 ;
18392     int argvi = 0;
18393     _gsl_matrix_char_view result;
18394     dXSARGS;
18395 
18396     if ((items < 4) || (items > 4)) {
18397       SWIG_croak("Usage: gsl_matrix_char_view_vector_with_tda(v,n1,n2,tda);");
18398     }
18399     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_char, 0 |  0 );
18400     if (!SWIG_IsOK(res1)) {
18401       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_view_vector_with_tda" "', argument " "1"" of type '" "gsl_vector_char *""'");
18402     }
18403     arg1 = (gsl_vector_char *)(argp1);
18404     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
18405     if (!SWIG_IsOK(ecode2)) {
18406       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_char_view_vector_with_tda" "', argument " "2"" of type '" "size_t""'");
18407     }
18408     arg2 = (size_t)(val2);
18409     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
18410     if (!SWIG_IsOK(ecode3)) {
18411       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_char_view_vector_with_tda" "', argument " "3"" of type '" "size_t""'");
18412     }
18413     arg3 = (size_t)(val3);
18414     ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
18415     if (!SWIG_IsOK(ecode4)) {
18416       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_matrix_char_view_vector_with_tda" "', argument " "4"" of type '" "size_t""'");
18417     }
18418     arg4 = (size_t)(val4);
18419     result = gsl_matrix_char_view_vector_with_tda(arg1,arg2,arg3,arg4);
18420     ST(argvi) = SWIG_NewPointerObj((_gsl_matrix_char_view *)memcpy((_gsl_matrix_char_view *)calloc(1,sizeof(_gsl_matrix_char_view)),&result,sizeof(_gsl_matrix_char_view)), SWIGTYPE_p__gsl_matrix_char_view, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
18421 
18422 
18423 
18424 
18425     XSRETURN(argvi);
18426   fail:
18427 
18428 
18429 
18430 
18431     SWIG_croak_null();
18432   }
18433 }
18434 
18435 
XS(_wrap_gsl_matrix_char_const_submatrix)18436 XS(_wrap_gsl_matrix_char_const_submatrix) {
18437   {
18438     gsl_matrix_char *arg1 = (gsl_matrix_char *) 0 ;
18439     size_t arg2 ;
18440     size_t arg3 ;
18441     size_t arg4 ;
18442     size_t arg5 ;
18443     void *argp1 = 0 ;
18444     int res1 = 0 ;
18445     size_t val2 ;
18446     int ecode2 = 0 ;
18447     size_t val3 ;
18448     int ecode3 = 0 ;
18449     size_t val4 ;
18450     int ecode4 = 0 ;
18451     size_t val5 ;
18452     int ecode5 = 0 ;
18453     int argvi = 0;
18454     _gsl_matrix_char_const_view result;
18455     dXSARGS;
18456 
18457     if ((items < 5) || (items > 5)) {
18458       SWIG_croak("Usage: gsl_matrix_char_const_submatrix(m,i,j,n1,n2);");
18459     }
18460     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
18461     if (!SWIG_IsOK(res1)) {
18462       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_const_submatrix" "', argument " "1"" of type '" "gsl_matrix_char const *""'");
18463     }
18464     arg1 = (gsl_matrix_char *)(argp1);
18465     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
18466     if (!SWIG_IsOK(ecode2)) {
18467       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_char_const_submatrix" "', argument " "2"" of type '" "size_t""'");
18468     }
18469     arg2 = (size_t)(val2);
18470     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
18471     if (!SWIG_IsOK(ecode3)) {
18472       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_char_const_submatrix" "', argument " "3"" of type '" "size_t""'");
18473     }
18474     arg3 = (size_t)(val3);
18475     ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
18476     if (!SWIG_IsOK(ecode4)) {
18477       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_matrix_char_const_submatrix" "', argument " "4"" of type '" "size_t""'");
18478     }
18479     arg4 = (size_t)(val4);
18480     ecode5 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
18481     if (!SWIG_IsOK(ecode5)) {
18482       SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "gsl_matrix_char_const_submatrix" "', argument " "5"" of type '" "size_t""'");
18483     }
18484     arg5 = (size_t)(val5);
18485     result = gsl_matrix_char_const_submatrix((gsl_matrix_char const *)arg1,arg2,arg3,arg4,arg5);
18486     ST(argvi) = SWIG_NewPointerObj((_gsl_matrix_char_const_view *)memcpy((_gsl_matrix_char_const_view *)calloc(1,sizeof(_gsl_matrix_char_const_view)),&result,sizeof(_gsl_matrix_char_const_view)), SWIGTYPE_p__gsl_matrix_char_const_view, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
18487 
18488 
18489 
18490 
18491 
18492     XSRETURN(argvi);
18493   fail:
18494 
18495 
18496 
18497 
18498 
18499     SWIG_croak_null();
18500   }
18501 }
18502 
18503 
XS(_wrap_gsl_matrix_char_const_row)18504 XS(_wrap_gsl_matrix_char_const_row) {
18505   {
18506     gsl_matrix_char *arg1 = (gsl_matrix_char *) 0 ;
18507     size_t arg2 ;
18508     void *argp1 = 0 ;
18509     int res1 = 0 ;
18510     size_t val2 ;
18511     int ecode2 = 0 ;
18512     int argvi = 0;
18513     _gsl_vector_char_const_view result;
18514     dXSARGS;
18515 
18516     if ((items < 2) || (items > 2)) {
18517       SWIG_croak("Usage: gsl_matrix_char_const_row(m,i);");
18518     }
18519     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
18520     if (!SWIG_IsOK(res1)) {
18521       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_const_row" "', argument " "1"" of type '" "gsl_matrix_char const *""'");
18522     }
18523     arg1 = (gsl_matrix_char *)(argp1);
18524     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
18525     if (!SWIG_IsOK(ecode2)) {
18526       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_char_const_row" "', argument " "2"" of type '" "size_t""'");
18527     }
18528     arg2 = (size_t)(val2);
18529     result = gsl_matrix_char_const_row((gsl_matrix_char const *)arg1,arg2);
18530     ST(argvi) = SWIG_NewPointerObj((_gsl_vector_char_const_view *)memcpy((_gsl_vector_char_const_view *)calloc(1,sizeof(_gsl_vector_char_const_view)),&result,sizeof(_gsl_vector_char_const_view)), SWIGTYPE_p__gsl_vector_char_const_view, SWIG_POINTER_OWN | 0); argvi++ ;
18531 
18532 
18533     XSRETURN(argvi);
18534   fail:
18535 
18536 
18537     SWIG_croak_null();
18538   }
18539 }
18540 
18541 
XS(_wrap_gsl_matrix_char_const_column)18542 XS(_wrap_gsl_matrix_char_const_column) {
18543   {
18544     gsl_matrix_char *arg1 = (gsl_matrix_char *) 0 ;
18545     size_t arg2 ;
18546     void *argp1 = 0 ;
18547     int res1 = 0 ;
18548     size_t val2 ;
18549     int ecode2 = 0 ;
18550     int argvi = 0;
18551     _gsl_vector_char_const_view result;
18552     dXSARGS;
18553 
18554     if ((items < 2) || (items > 2)) {
18555       SWIG_croak("Usage: gsl_matrix_char_const_column(m,j);");
18556     }
18557     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
18558     if (!SWIG_IsOK(res1)) {
18559       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_const_column" "', argument " "1"" of type '" "gsl_matrix_char const *""'");
18560     }
18561     arg1 = (gsl_matrix_char *)(argp1);
18562     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
18563     if (!SWIG_IsOK(ecode2)) {
18564       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_char_const_column" "', argument " "2"" of type '" "size_t""'");
18565     }
18566     arg2 = (size_t)(val2);
18567     result = gsl_matrix_char_const_column((gsl_matrix_char const *)arg1,arg2);
18568     ST(argvi) = SWIG_NewPointerObj((_gsl_vector_char_const_view *)memcpy((_gsl_vector_char_const_view *)calloc(1,sizeof(_gsl_vector_char_const_view)),&result,sizeof(_gsl_vector_char_const_view)), SWIGTYPE_p__gsl_vector_char_const_view, SWIG_POINTER_OWN | 0); argvi++ ;
18569 
18570 
18571     XSRETURN(argvi);
18572   fail:
18573 
18574 
18575     SWIG_croak_null();
18576   }
18577 }
18578 
18579 
XS(_wrap_gsl_matrix_char_const_diagonal)18580 XS(_wrap_gsl_matrix_char_const_diagonal) {
18581   {
18582     gsl_matrix_char *arg1 = (gsl_matrix_char *) 0 ;
18583     void *argp1 = 0 ;
18584     int res1 = 0 ;
18585     int argvi = 0;
18586     _gsl_vector_char_const_view result;
18587     dXSARGS;
18588 
18589     if ((items < 1) || (items > 1)) {
18590       SWIG_croak("Usage: gsl_matrix_char_const_diagonal(m);");
18591     }
18592     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
18593     if (!SWIG_IsOK(res1)) {
18594       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_const_diagonal" "', argument " "1"" of type '" "gsl_matrix_char const *""'");
18595     }
18596     arg1 = (gsl_matrix_char *)(argp1);
18597     result = gsl_matrix_char_const_diagonal((gsl_matrix_char const *)arg1);
18598     ST(argvi) = SWIG_NewPointerObj((_gsl_vector_char_const_view *)memcpy((_gsl_vector_char_const_view *)calloc(1,sizeof(_gsl_vector_char_const_view)),&result,sizeof(_gsl_vector_char_const_view)), SWIGTYPE_p__gsl_vector_char_const_view, SWIG_POINTER_OWN | 0); argvi++ ;
18599 
18600     XSRETURN(argvi);
18601   fail:
18602 
18603     SWIG_croak_null();
18604   }
18605 }
18606 
18607 
XS(_wrap_gsl_matrix_char_const_subdiagonal)18608 XS(_wrap_gsl_matrix_char_const_subdiagonal) {
18609   {
18610     gsl_matrix_char *arg1 = (gsl_matrix_char *) 0 ;
18611     size_t arg2 ;
18612     void *argp1 = 0 ;
18613     int res1 = 0 ;
18614     size_t val2 ;
18615     int ecode2 = 0 ;
18616     int argvi = 0;
18617     _gsl_vector_char_const_view result;
18618     dXSARGS;
18619 
18620     if ((items < 2) || (items > 2)) {
18621       SWIG_croak("Usage: gsl_matrix_char_const_subdiagonal(m,k);");
18622     }
18623     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
18624     if (!SWIG_IsOK(res1)) {
18625       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_const_subdiagonal" "', argument " "1"" of type '" "gsl_matrix_char const *""'");
18626     }
18627     arg1 = (gsl_matrix_char *)(argp1);
18628     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
18629     if (!SWIG_IsOK(ecode2)) {
18630       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_char_const_subdiagonal" "', argument " "2"" of type '" "size_t""'");
18631     }
18632     arg2 = (size_t)(val2);
18633     result = gsl_matrix_char_const_subdiagonal((gsl_matrix_char const *)arg1,arg2);
18634     ST(argvi) = SWIG_NewPointerObj((_gsl_vector_char_const_view *)memcpy((_gsl_vector_char_const_view *)calloc(1,sizeof(_gsl_vector_char_const_view)),&result,sizeof(_gsl_vector_char_const_view)), SWIGTYPE_p__gsl_vector_char_const_view, SWIG_POINTER_OWN | 0); argvi++ ;
18635 
18636 
18637     XSRETURN(argvi);
18638   fail:
18639 
18640 
18641     SWIG_croak_null();
18642   }
18643 }
18644 
18645 
XS(_wrap_gsl_matrix_char_const_superdiagonal)18646 XS(_wrap_gsl_matrix_char_const_superdiagonal) {
18647   {
18648     gsl_matrix_char *arg1 = (gsl_matrix_char *) 0 ;
18649     size_t arg2 ;
18650     void *argp1 = 0 ;
18651     int res1 = 0 ;
18652     size_t val2 ;
18653     int ecode2 = 0 ;
18654     int argvi = 0;
18655     _gsl_vector_char_const_view result;
18656     dXSARGS;
18657 
18658     if ((items < 2) || (items > 2)) {
18659       SWIG_croak("Usage: gsl_matrix_char_const_superdiagonal(m,k);");
18660     }
18661     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
18662     if (!SWIG_IsOK(res1)) {
18663       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_const_superdiagonal" "', argument " "1"" of type '" "gsl_matrix_char const *""'");
18664     }
18665     arg1 = (gsl_matrix_char *)(argp1);
18666     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
18667     if (!SWIG_IsOK(ecode2)) {
18668       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_char_const_superdiagonal" "', argument " "2"" of type '" "size_t""'");
18669     }
18670     arg2 = (size_t)(val2);
18671     result = gsl_matrix_char_const_superdiagonal((gsl_matrix_char const *)arg1,arg2);
18672     ST(argvi) = SWIG_NewPointerObj((_gsl_vector_char_const_view *)memcpy((_gsl_vector_char_const_view *)calloc(1,sizeof(_gsl_vector_char_const_view)),&result,sizeof(_gsl_vector_char_const_view)), SWIGTYPE_p__gsl_vector_char_const_view, SWIG_POINTER_OWN | 0); argvi++ ;
18673 
18674 
18675     XSRETURN(argvi);
18676   fail:
18677 
18678 
18679     SWIG_croak_null();
18680   }
18681 }
18682 
18683 
XS(_wrap_gsl_matrix_char_const_subrow)18684 XS(_wrap_gsl_matrix_char_const_subrow) {
18685   {
18686     gsl_matrix_char *arg1 = (gsl_matrix_char *) 0 ;
18687     size_t arg2 ;
18688     size_t arg3 ;
18689     size_t arg4 ;
18690     void *argp1 = 0 ;
18691     int res1 = 0 ;
18692     size_t val2 ;
18693     int ecode2 = 0 ;
18694     size_t val3 ;
18695     int ecode3 = 0 ;
18696     size_t val4 ;
18697     int ecode4 = 0 ;
18698     int argvi = 0;
18699     _gsl_vector_char_const_view result;
18700     dXSARGS;
18701 
18702     if ((items < 4) || (items > 4)) {
18703       SWIG_croak("Usage: gsl_matrix_char_const_subrow(m,i,offset,n);");
18704     }
18705     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
18706     if (!SWIG_IsOK(res1)) {
18707       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_const_subrow" "', argument " "1"" of type '" "gsl_matrix_char const *""'");
18708     }
18709     arg1 = (gsl_matrix_char *)(argp1);
18710     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
18711     if (!SWIG_IsOK(ecode2)) {
18712       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_char_const_subrow" "', argument " "2"" of type '" "size_t""'");
18713     }
18714     arg2 = (size_t)(val2);
18715     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
18716     if (!SWIG_IsOK(ecode3)) {
18717       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_char_const_subrow" "', argument " "3"" of type '" "size_t""'");
18718     }
18719     arg3 = (size_t)(val3);
18720     ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
18721     if (!SWIG_IsOK(ecode4)) {
18722       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_matrix_char_const_subrow" "', argument " "4"" of type '" "size_t""'");
18723     }
18724     arg4 = (size_t)(val4);
18725     result = gsl_matrix_char_const_subrow((gsl_matrix_char const *)arg1,arg2,arg3,arg4);
18726     ST(argvi) = SWIG_NewPointerObj((_gsl_vector_char_const_view *)memcpy((_gsl_vector_char_const_view *)calloc(1,sizeof(_gsl_vector_char_const_view)),&result,sizeof(_gsl_vector_char_const_view)), SWIGTYPE_p__gsl_vector_char_const_view, SWIG_POINTER_OWN | 0); argvi++ ;
18727 
18728 
18729 
18730 
18731     XSRETURN(argvi);
18732   fail:
18733 
18734 
18735 
18736 
18737     SWIG_croak_null();
18738   }
18739 }
18740 
18741 
XS(_wrap_gsl_matrix_char_const_subcolumn)18742 XS(_wrap_gsl_matrix_char_const_subcolumn) {
18743   {
18744     gsl_matrix_char *arg1 = (gsl_matrix_char *) 0 ;
18745     size_t arg2 ;
18746     size_t arg3 ;
18747     size_t arg4 ;
18748     void *argp1 = 0 ;
18749     int res1 = 0 ;
18750     size_t val2 ;
18751     int ecode2 = 0 ;
18752     size_t val3 ;
18753     int ecode3 = 0 ;
18754     size_t val4 ;
18755     int ecode4 = 0 ;
18756     int argvi = 0;
18757     _gsl_vector_char_const_view result;
18758     dXSARGS;
18759 
18760     if ((items < 4) || (items > 4)) {
18761       SWIG_croak("Usage: gsl_matrix_char_const_subcolumn(m,j,offset,n);");
18762     }
18763     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
18764     if (!SWIG_IsOK(res1)) {
18765       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_const_subcolumn" "', argument " "1"" of type '" "gsl_matrix_char const *""'");
18766     }
18767     arg1 = (gsl_matrix_char *)(argp1);
18768     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
18769     if (!SWIG_IsOK(ecode2)) {
18770       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_char_const_subcolumn" "', argument " "2"" of type '" "size_t""'");
18771     }
18772     arg2 = (size_t)(val2);
18773     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
18774     if (!SWIG_IsOK(ecode3)) {
18775       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_char_const_subcolumn" "', argument " "3"" of type '" "size_t""'");
18776     }
18777     arg3 = (size_t)(val3);
18778     ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
18779     if (!SWIG_IsOK(ecode4)) {
18780       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_matrix_char_const_subcolumn" "', argument " "4"" of type '" "size_t""'");
18781     }
18782     arg4 = (size_t)(val4);
18783     result = gsl_matrix_char_const_subcolumn((gsl_matrix_char const *)arg1,arg2,arg3,arg4);
18784     ST(argvi) = SWIG_NewPointerObj((_gsl_vector_char_const_view *)memcpy((_gsl_vector_char_const_view *)calloc(1,sizeof(_gsl_vector_char_const_view)),&result,sizeof(_gsl_vector_char_const_view)), SWIGTYPE_p__gsl_vector_char_const_view, SWIG_POINTER_OWN | 0); argvi++ ;
18785 
18786 
18787 
18788 
18789     XSRETURN(argvi);
18790   fail:
18791 
18792 
18793 
18794 
18795     SWIG_croak_null();
18796   }
18797 }
18798 
18799 
XS(_wrap_gsl_matrix_char_const_view_array)18800 XS(_wrap_gsl_matrix_char_const_view_array) {
18801   {
18802     char *arg1 = (char *) 0 ;
18803     size_t arg2 ;
18804     size_t arg3 ;
18805     int res1 ;
18806     char *buf1 = 0 ;
18807     int alloc1 = 0 ;
18808     size_t val2 ;
18809     int ecode2 = 0 ;
18810     size_t val3 ;
18811     int ecode3 = 0 ;
18812     int argvi = 0;
18813     _gsl_matrix_char_const_view result;
18814     dXSARGS;
18815 
18816     if ((items < 3) || (items > 3)) {
18817       SWIG_croak("Usage: gsl_matrix_char_const_view_array(base,n1,n2);");
18818     }
18819     res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
18820     if (!SWIG_IsOK(res1)) {
18821       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_const_view_array" "', argument " "1"" of type '" "char const *""'");
18822     }
18823     arg1 = (char *)(buf1);
18824     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
18825     if (!SWIG_IsOK(ecode2)) {
18826       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_char_const_view_array" "', argument " "2"" of type '" "size_t""'");
18827     }
18828     arg2 = (size_t)(val2);
18829     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
18830     if (!SWIG_IsOK(ecode3)) {
18831       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_char_const_view_array" "', argument " "3"" of type '" "size_t""'");
18832     }
18833     arg3 = (size_t)(val3);
18834     result = gsl_matrix_char_const_view_array((char const *)arg1,arg2,arg3);
18835     ST(argvi) = SWIG_NewPointerObj((_gsl_matrix_char_const_view *)memcpy((_gsl_matrix_char_const_view *)calloc(1,sizeof(_gsl_matrix_char_const_view)),&result,sizeof(_gsl_matrix_char_const_view)), SWIGTYPE_p__gsl_matrix_char_const_view, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
18836     if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
18837 
18838 
18839     XSRETURN(argvi);
18840   fail:
18841     if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
18842 
18843 
18844     SWIG_croak_null();
18845   }
18846 }
18847 
18848 
XS(_wrap_gsl_matrix_char_const_view_array_with_tda)18849 XS(_wrap_gsl_matrix_char_const_view_array_with_tda) {
18850   {
18851     char *arg1 = (char *) 0 ;
18852     size_t arg2 ;
18853     size_t arg3 ;
18854     size_t arg4 ;
18855     int res1 ;
18856     char *buf1 = 0 ;
18857     int alloc1 = 0 ;
18858     size_t val2 ;
18859     int ecode2 = 0 ;
18860     size_t val3 ;
18861     int ecode3 = 0 ;
18862     size_t val4 ;
18863     int ecode4 = 0 ;
18864     int argvi = 0;
18865     _gsl_matrix_char_const_view result;
18866     dXSARGS;
18867 
18868     if ((items < 4) || (items > 4)) {
18869       SWIG_croak("Usage: gsl_matrix_char_const_view_array_with_tda(base,n1,n2,tda);");
18870     }
18871     res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
18872     if (!SWIG_IsOK(res1)) {
18873       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_const_view_array_with_tda" "', argument " "1"" of type '" "char const *""'");
18874     }
18875     arg1 = (char *)(buf1);
18876     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
18877     if (!SWIG_IsOK(ecode2)) {
18878       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_char_const_view_array_with_tda" "', argument " "2"" of type '" "size_t""'");
18879     }
18880     arg2 = (size_t)(val2);
18881     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
18882     if (!SWIG_IsOK(ecode3)) {
18883       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_char_const_view_array_with_tda" "', argument " "3"" of type '" "size_t""'");
18884     }
18885     arg3 = (size_t)(val3);
18886     ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
18887     if (!SWIG_IsOK(ecode4)) {
18888       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_matrix_char_const_view_array_with_tda" "', argument " "4"" of type '" "size_t""'");
18889     }
18890     arg4 = (size_t)(val4);
18891     result = gsl_matrix_char_const_view_array_with_tda((char const *)arg1,arg2,arg3,arg4);
18892     ST(argvi) = SWIG_NewPointerObj((_gsl_matrix_char_const_view *)memcpy((_gsl_matrix_char_const_view *)calloc(1,sizeof(_gsl_matrix_char_const_view)),&result,sizeof(_gsl_matrix_char_const_view)), SWIGTYPE_p__gsl_matrix_char_const_view, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
18893     if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
18894 
18895 
18896 
18897     XSRETURN(argvi);
18898   fail:
18899     if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
18900 
18901 
18902 
18903     SWIG_croak_null();
18904   }
18905 }
18906 
18907 
XS(_wrap_gsl_matrix_char_const_view_vector)18908 XS(_wrap_gsl_matrix_char_const_view_vector) {
18909   {
18910     gsl_vector_char *arg1 = (gsl_vector_char *) 0 ;
18911     size_t arg2 ;
18912     size_t arg3 ;
18913     void *argp1 = 0 ;
18914     int res1 = 0 ;
18915     size_t val2 ;
18916     int ecode2 = 0 ;
18917     size_t val3 ;
18918     int ecode3 = 0 ;
18919     int argvi = 0;
18920     _gsl_matrix_char_const_view result;
18921     dXSARGS;
18922 
18923     if ((items < 3) || (items > 3)) {
18924       SWIG_croak("Usage: gsl_matrix_char_const_view_vector(v,n1,n2);");
18925     }
18926     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_char, 0 |  0 );
18927     if (!SWIG_IsOK(res1)) {
18928       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_const_view_vector" "', argument " "1"" of type '" "gsl_vector_char const *""'");
18929     }
18930     arg1 = (gsl_vector_char *)(argp1);
18931     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
18932     if (!SWIG_IsOK(ecode2)) {
18933       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_char_const_view_vector" "', argument " "2"" of type '" "size_t""'");
18934     }
18935     arg2 = (size_t)(val2);
18936     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
18937     if (!SWIG_IsOK(ecode3)) {
18938       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_char_const_view_vector" "', argument " "3"" of type '" "size_t""'");
18939     }
18940     arg3 = (size_t)(val3);
18941     result = gsl_matrix_char_const_view_vector((gsl_vector_char const *)arg1,arg2,arg3);
18942     ST(argvi) = SWIG_NewPointerObj((_gsl_matrix_char_const_view *)memcpy((_gsl_matrix_char_const_view *)calloc(1,sizeof(_gsl_matrix_char_const_view)),&result,sizeof(_gsl_matrix_char_const_view)), SWIGTYPE_p__gsl_matrix_char_const_view, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
18943 
18944 
18945 
18946     XSRETURN(argvi);
18947   fail:
18948 
18949 
18950 
18951     SWIG_croak_null();
18952   }
18953 }
18954 
18955 
XS(_wrap_gsl_matrix_char_const_view_vector_with_tda)18956 XS(_wrap_gsl_matrix_char_const_view_vector_with_tda) {
18957   {
18958     gsl_vector_char *arg1 = (gsl_vector_char *) 0 ;
18959     size_t arg2 ;
18960     size_t arg3 ;
18961     size_t arg4 ;
18962     void *argp1 = 0 ;
18963     int res1 = 0 ;
18964     size_t val2 ;
18965     int ecode2 = 0 ;
18966     size_t val3 ;
18967     int ecode3 = 0 ;
18968     size_t val4 ;
18969     int ecode4 = 0 ;
18970     int argvi = 0;
18971     _gsl_matrix_char_const_view result;
18972     dXSARGS;
18973 
18974     if ((items < 4) || (items > 4)) {
18975       SWIG_croak("Usage: gsl_matrix_char_const_view_vector_with_tda(v,n1,n2,tda);");
18976     }
18977     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_char, 0 |  0 );
18978     if (!SWIG_IsOK(res1)) {
18979       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_const_view_vector_with_tda" "', argument " "1"" of type '" "gsl_vector_char const *""'");
18980     }
18981     arg1 = (gsl_vector_char *)(argp1);
18982     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
18983     if (!SWIG_IsOK(ecode2)) {
18984       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_char_const_view_vector_with_tda" "', argument " "2"" of type '" "size_t""'");
18985     }
18986     arg2 = (size_t)(val2);
18987     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
18988     if (!SWIG_IsOK(ecode3)) {
18989       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_char_const_view_vector_with_tda" "', argument " "3"" of type '" "size_t""'");
18990     }
18991     arg3 = (size_t)(val3);
18992     ecode4 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
18993     if (!SWIG_IsOK(ecode4)) {
18994       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_matrix_char_const_view_vector_with_tda" "', argument " "4"" of type '" "size_t""'");
18995     }
18996     arg4 = (size_t)(val4);
18997     result = gsl_matrix_char_const_view_vector_with_tda((gsl_vector_char const *)arg1,arg2,arg3,arg4);
18998     ST(argvi) = SWIG_NewPointerObj((_gsl_matrix_char_const_view *)memcpy((_gsl_matrix_char_const_view *)calloc(1,sizeof(_gsl_matrix_char_const_view)),&result,sizeof(_gsl_matrix_char_const_view)), SWIGTYPE_p__gsl_matrix_char_const_view, SWIG_POINTER_OWN | SWIG_SHADOW); argvi++ ;
18999 
19000 
19001 
19002 
19003     XSRETURN(argvi);
19004   fail:
19005 
19006 
19007 
19008 
19009     SWIG_croak_null();
19010   }
19011 }
19012 
19013 
XS(_wrap_gsl_matrix_char_set_zero)19014 XS(_wrap_gsl_matrix_char_set_zero) {
19015   {
19016     gsl_matrix_char *arg1 = (gsl_matrix_char *) 0 ;
19017     void *argp1 = 0 ;
19018     int res1 = 0 ;
19019     int argvi = 0;
19020     dXSARGS;
19021 
19022     if ((items < 1) || (items > 1)) {
19023       SWIG_croak("Usage: gsl_matrix_char_set_zero(m);");
19024     }
19025     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
19026     if (!SWIG_IsOK(res1)) {
19027       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_set_zero" "', argument " "1"" of type '" "gsl_matrix_char *""'");
19028     }
19029     arg1 = (gsl_matrix_char *)(argp1);
19030     gsl_matrix_char_set_zero(arg1);
19031     ST(argvi) = &PL_sv_undef;
19032 
19033     XSRETURN(argvi);
19034   fail:
19035 
19036     SWIG_croak_null();
19037   }
19038 }
19039 
19040 
XS(_wrap_gsl_matrix_char_set_identity)19041 XS(_wrap_gsl_matrix_char_set_identity) {
19042   {
19043     gsl_matrix_char *arg1 = (gsl_matrix_char *) 0 ;
19044     void *argp1 = 0 ;
19045     int res1 = 0 ;
19046     int argvi = 0;
19047     dXSARGS;
19048 
19049     if ((items < 1) || (items > 1)) {
19050       SWIG_croak("Usage: gsl_matrix_char_set_identity(m);");
19051     }
19052     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
19053     if (!SWIG_IsOK(res1)) {
19054       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_set_identity" "', argument " "1"" of type '" "gsl_matrix_char *""'");
19055     }
19056     arg1 = (gsl_matrix_char *)(argp1);
19057     gsl_matrix_char_set_identity(arg1);
19058     ST(argvi) = &PL_sv_undef;
19059 
19060     XSRETURN(argvi);
19061   fail:
19062 
19063     SWIG_croak_null();
19064   }
19065 }
19066 
19067 
XS(_wrap_gsl_matrix_char_set_all)19068 XS(_wrap_gsl_matrix_char_set_all) {
19069   {
19070     gsl_matrix_char *arg1 = (gsl_matrix_char *) 0 ;
19071     char arg2 ;
19072     void *argp1 = 0 ;
19073     int res1 = 0 ;
19074     char val2 ;
19075     int ecode2 = 0 ;
19076     int argvi = 0;
19077     dXSARGS;
19078 
19079     if ((items < 2) || (items > 2)) {
19080       SWIG_croak("Usage: gsl_matrix_char_set_all(m,x);");
19081     }
19082     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
19083     if (!SWIG_IsOK(res1)) {
19084       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_set_all" "', argument " "1"" of type '" "gsl_matrix_char *""'");
19085     }
19086     arg1 = (gsl_matrix_char *)(argp1);
19087     ecode2 = SWIG_AsVal_char SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
19088     if (!SWIG_IsOK(ecode2)) {
19089       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_char_set_all" "', argument " "2"" of type '" "char""'");
19090     }
19091     arg2 = (char)(val2);
19092     gsl_matrix_char_set_all(arg1,arg2);
19093     ST(argvi) = &PL_sv_undef;
19094 
19095 
19096     XSRETURN(argvi);
19097   fail:
19098 
19099 
19100     SWIG_croak_null();
19101   }
19102 }
19103 
19104 
XS(_wrap_gsl_matrix_char_fread)19105 XS(_wrap_gsl_matrix_char_fread) {
19106   {
19107     FILE *arg1 = (FILE *) 0 ;
19108     gsl_matrix_char *arg2 = (gsl_matrix_char *) 0 ;
19109     void *argp1 = 0 ;
19110     int res1 = 0 ;
19111     void *argp2 = 0 ;
19112     int res2 = 0 ;
19113     int argvi = 0;
19114     int result;
19115     dXSARGS;
19116 
19117     if ((items < 2) || (items > 2)) {
19118       SWIG_croak("Usage: gsl_matrix_char_fread(stream,m);");
19119     }
19120     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_FILE, 0 |  0 );
19121     if (!SWIG_IsOK(res1)) {
19122       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_fread" "', argument " "1"" of type '" "FILE *""'");
19123     }
19124     arg1 = (FILE *)(argp1);
19125     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
19126     if (!SWIG_IsOK(res2)) {
19127       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_char_fread" "', argument " "2"" of type '" "gsl_matrix_char *""'");
19128     }
19129     arg2 = (gsl_matrix_char *)(argp2);
19130     result = (int)gsl_matrix_char_fread(arg1,arg2);
19131     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
19132 
19133 
19134     XSRETURN(argvi);
19135   fail:
19136 
19137 
19138     SWIG_croak_null();
19139   }
19140 }
19141 
19142 
XS(_wrap_gsl_matrix_char_fwrite)19143 XS(_wrap_gsl_matrix_char_fwrite) {
19144   {
19145     FILE *arg1 = (FILE *) 0 ;
19146     gsl_matrix_char *arg2 = (gsl_matrix_char *) 0 ;
19147     void *argp1 = 0 ;
19148     int res1 = 0 ;
19149     void *argp2 = 0 ;
19150     int res2 = 0 ;
19151     int argvi = 0;
19152     int result;
19153     dXSARGS;
19154 
19155     if ((items < 2) || (items > 2)) {
19156       SWIG_croak("Usage: gsl_matrix_char_fwrite(stream,m);");
19157     }
19158     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_FILE, 0 |  0 );
19159     if (!SWIG_IsOK(res1)) {
19160       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_fwrite" "', argument " "1"" of type '" "FILE *""'");
19161     }
19162     arg1 = (FILE *)(argp1);
19163     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
19164     if (!SWIG_IsOK(res2)) {
19165       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_char_fwrite" "', argument " "2"" of type '" "gsl_matrix_char const *""'");
19166     }
19167     arg2 = (gsl_matrix_char *)(argp2);
19168     result = (int)gsl_matrix_char_fwrite(arg1,(gsl_matrix_char const *)arg2);
19169     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
19170 
19171 
19172     XSRETURN(argvi);
19173   fail:
19174 
19175 
19176     SWIG_croak_null();
19177   }
19178 }
19179 
19180 
XS(_wrap_gsl_matrix_char_fscanf)19181 XS(_wrap_gsl_matrix_char_fscanf) {
19182   {
19183     FILE *arg1 = (FILE *) 0 ;
19184     gsl_matrix_char *arg2 = (gsl_matrix_char *) 0 ;
19185     void *argp1 = 0 ;
19186     int res1 = 0 ;
19187     void *argp2 = 0 ;
19188     int res2 = 0 ;
19189     int argvi = 0;
19190     int result;
19191     dXSARGS;
19192 
19193     if ((items < 2) || (items > 2)) {
19194       SWIG_croak("Usage: gsl_matrix_char_fscanf(stream,m);");
19195     }
19196     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_FILE, 0 |  0 );
19197     if (!SWIG_IsOK(res1)) {
19198       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_fscanf" "', argument " "1"" of type '" "FILE *""'");
19199     }
19200     arg1 = (FILE *)(argp1);
19201     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
19202     if (!SWIG_IsOK(res2)) {
19203       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_char_fscanf" "', argument " "2"" of type '" "gsl_matrix_char *""'");
19204     }
19205     arg2 = (gsl_matrix_char *)(argp2);
19206     result = (int)gsl_matrix_char_fscanf(arg1,arg2);
19207     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
19208 
19209 
19210     XSRETURN(argvi);
19211   fail:
19212 
19213 
19214     SWIG_croak_null();
19215   }
19216 }
19217 
19218 
XS(_wrap_gsl_matrix_char_fprintf)19219 XS(_wrap_gsl_matrix_char_fprintf) {
19220   {
19221     FILE *arg1 = (FILE *) 0 ;
19222     gsl_matrix_char *arg2 = (gsl_matrix_char *) 0 ;
19223     char *arg3 = (char *) 0 ;
19224     void *argp1 = 0 ;
19225     int res1 = 0 ;
19226     void *argp2 = 0 ;
19227     int res2 = 0 ;
19228     int res3 ;
19229     char *buf3 = 0 ;
19230     int alloc3 = 0 ;
19231     int argvi = 0;
19232     int result;
19233     dXSARGS;
19234 
19235     if ((items < 3) || (items > 3)) {
19236       SWIG_croak("Usage: gsl_matrix_char_fprintf(stream,m,format);");
19237     }
19238     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_FILE, 0 |  0 );
19239     if (!SWIG_IsOK(res1)) {
19240       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_fprintf" "', argument " "1"" of type '" "FILE *""'");
19241     }
19242     arg1 = (FILE *)(argp1);
19243     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
19244     if (!SWIG_IsOK(res2)) {
19245       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_char_fprintf" "', argument " "2"" of type '" "gsl_matrix_char const *""'");
19246     }
19247     arg2 = (gsl_matrix_char *)(argp2);
19248     res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
19249     if (!SWIG_IsOK(res3)) {
19250       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_matrix_char_fprintf" "', argument " "3"" of type '" "char const *""'");
19251     }
19252     arg3 = (char *)(buf3);
19253     result = (int)gsl_matrix_char_fprintf(arg1,(gsl_matrix_char const *)arg2,(char const *)arg3);
19254     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
19255 
19256 
19257     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
19258     XSRETURN(argvi);
19259   fail:
19260 
19261 
19262     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
19263     SWIG_croak_null();
19264   }
19265 }
19266 
19267 
XS(_wrap_gsl_matrix_char_memcpy)19268 XS(_wrap_gsl_matrix_char_memcpy) {
19269   {
19270     gsl_matrix_char *arg1 = (gsl_matrix_char *) 0 ;
19271     gsl_matrix_char *arg2 = (gsl_matrix_char *) 0 ;
19272     void *argp1 = 0 ;
19273     int res1 = 0 ;
19274     void *argp2 = 0 ;
19275     int res2 = 0 ;
19276     int argvi = 0;
19277     int result;
19278     dXSARGS;
19279 
19280     if ((items < 2) || (items > 2)) {
19281       SWIG_croak("Usage: gsl_matrix_char_memcpy(dest,src);");
19282     }
19283     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
19284     if (!SWIG_IsOK(res1)) {
19285       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_memcpy" "', argument " "1"" of type '" "gsl_matrix_char *""'");
19286     }
19287     arg1 = (gsl_matrix_char *)(argp1);
19288     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
19289     if (!SWIG_IsOK(res2)) {
19290       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_char_memcpy" "', argument " "2"" of type '" "gsl_matrix_char const *""'");
19291     }
19292     arg2 = (gsl_matrix_char *)(argp2);
19293     result = (int)gsl_matrix_char_memcpy(arg1,(gsl_matrix_char const *)arg2);
19294     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
19295 
19296 
19297     XSRETURN(argvi);
19298   fail:
19299 
19300 
19301     SWIG_croak_null();
19302   }
19303 }
19304 
19305 
XS(_wrap_gsl_matrix_char_swap)19306 XS(_wrap_gsl_matrix_char_swap) {
19307   {
19308     gsl_matrix_char *arg1 = (gsl_matrix_char *) 0 ;
19309     gsl_matrix_char *arg2 = (gsl_matrix_char *) 0 ;
19310     void *argp1 = 0 ;
19311     int res1 = 0 ;
19312     void *argp2 = 0 ;
19313     int res2 = 0 ;
19314     int argvi = 0;
19315     int result;
19316     dXSARGS;
19317 
19318     if ((items < 2) || (items > 2)) {
19319       SWIG_croak("Usage: gsl_matrix_char_swap(m1,m2);");
19320     }
19321     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
19322     if (!SWIG_IsOK(res1)) {
19323       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_swap" "', argument " "1"" of type '" "gsl_matrix_char *""'");
19324     }
19325     arg1 = (gsl_matrix_char *)(argp1);
19326     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
19327     if (!SWIG_IsOK(res2)) {
19328       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_char_swap" "', argument " "2"" of type '" "gsl_matrix_char *""'");
19329     }
19330     arg2 = (gsl_matrix_char *)(argp2);
19331     result = (int)gsl_matrix_char_swap(arg1,arg2);
19332     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
19333 
19334 
19335     XSRETURN(argvi);
19336   fail:
19337 
19338 
19339     SWIG_croak_null();
19340   }
19341 }
19342 
19343 
XS(_wrap_gsl_matrix_char_tricpy)19344 XS(_wrap_gsl_matrix_char_tricpy) {
19345   {
19346     CBLAS_UPLO_t arg1 ;
19347     CBLAS_DIAG_t arg2 ;
19348     gsl_matrix_char *arg3 = (gsl_matrix_char *) 0 ;
19349     gsl_matrix_char *arg4 = (gsl_matrix_char *) 0 ;
19350     int val1 ;
19351     int ecode1 = 0 ;
19352     int val2 ;
19353     int ecode2 = 0 ;
19354     void *argp3 = 0 ;
19355     int res3 = 0 ;
19356     void *argp4 = 0 ;
19357     int res4 = 0 ;
19358     int argvi = 0;
19359     int result;
19360     dXSARGS;
19361 
19362     if ((items < 4) || (items > 4)) {
19363       SWIG_croak("Usage: gsl_matrix_char_tricpy(Uplo,Diag,dest,src);");
19364     }
19365     ecode1 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
19366     if (!SWIG_IsOK(ecode1)) {
19367       SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_matrix_char_tricpy" "', argument " "1"" of type '" "CBLAS_UPLO_t""'");
19368     }
19369     arg1 = (CBLAS_UPLO_t)(val1);
19370     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
19371     if (!SWIG_IsOK(ecode2)) {
19372       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_char_tricpy" "', argument " "2"" of type '" "CBLAS_DIAG_t""'");
19373     }
19374     arg2 = (CBLAS_DIAG_t)(val2);
19375     res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
19376     if (!SWIG_IsOK(res3)) {
19377       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_matrix_char_tricpy" "', argument " "3"" of type '" "gsl_matrix_char *""'");
19378     }
19379     arg3 = (gsl_matrix_char *)(argp3);
19380     res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
19381     if (!SWIG_IsOK(res4)) {
19382       SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_matrix_char_tricpy" "', argument " "4"" of type '" "gsl_matrix_char const *""'");
19383     }
19384     arg4 = (gsl_matrix_char *)(argp4);
19385     result = (int)gsl_matrix_char_tricpy(arg1,arg2,arg3,(gsl_matrix_char const *)arg4);
19386     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
19387 
19388 
19389 
19390 
19391     XSRETURN(argvi);
19392   fail:
19393 
19394 
19395 
19396 
19397     SWIG_croak_null();
19398   }
19399 }
19400 
19401 
XS(_wrap_gsl_matrix_char_swap_rows)19402 XS(_wrap_gsl_matrix_char_swap_rows) {
19403   {
19404     gsl_matrix_char *arg1 = (gsl_matrix_char *) 0 ;
19405     size_t arg2 ;
19406     size_t arg3 ;
19407     void *argp1 = 0 ;
19408     int res1 = 0 ;
19409     size_t val2 ;
19410     int ecode2 = 0 ;
19411     size_t val3 ;
19412     int ecode3 = 0 ;
19413     int argvi = 0;
19414     int result;
19415     dXSARGS;
19416 
19417     if ((items < 3) || (items > 3)) {
19418       SWIG_croak("Usage: gsl_matrix_char_swap_rows(m,i,j);");
19419     }
19420     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
19421     if (!SWIG_IsOK(res1)) {
19422       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_swap_rows" "', argument " "1"" of type '" "gsl_matrix_char *""'");
19423     }
19424     arg1 = (gsl_matrix_char *)(argp1);
19425     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
19426     if (!SWIG_IsOK(ecode2)) {
19427       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_char_swap_rows" "', argument " "2"" of type '" "size_t""'");
19428     }
19429     arg2 = (size_t)(val2);
19430     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
19431     if (!SWIG_IsOK(ecode3)) {
19432       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_char_swap_rows" "', argument " "3"" of type '" "size_t""'");
19433     }
19434     arg3 = (size_t)(val3);
19435     result = (int)gsl_matrix_char_swap_rows(arg1,arg2,arg3);
19436     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
19437 
19438 
19439 
19440     XSRETURN(argvi);
19441   fail:
19442 
19443 
19444 
19445     SWIG_croak_null();
19446   }
19447 }
19448 
19449 
XS(_wrap_gsl_matrix_char_swap_columns)19450 XS(_wrap_gsl_matrix_char_swap_columns) {
19451   {
19452     gsl_matrix_char *arg1 = (gsl_matrix_char *) 0 ;
19453     size_t arg2 ;
19454     size_t arg3 ;
19455     void *argp1 = 0 ;
19456     int res1 = 0 ;
19457     size_t val2 ;
19458     int ecode2 = 0 ;
19459     size_t val3 ;
19460     int ecode3 = 0 ;
19461     int argvi = 0;
19462     int result;
19463     dXSARGS;
19464 
19465     if ((items < 3) || (items > 3)) {
19466       SWIG_croak("Usage: gsl_matrix_char_swap_columns(m,i,j);");
19467     }
19468     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
19469     if (!SWIG_IsOK(res1)) {
19470       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_swap_columns" "', argument " "1"" of type '" "gsl_matrix_char *""'");
19471     }
19472     arg1 = (gsl_matrix_char *)(argp1);
19473     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
19474     if (!SWIG_IsOK(ecode2)) {
19475       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_char_swap_columns" "', argument " "2"" of type '" "size_t""'");
19476     }
19477     arg2 = (size_t)(val2);
19478     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
19479     if (!SWIG_IsOK(ecode3)) {
19480       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_char_swap_columns" "', argument " "3"" of type '" "size_t""'");
19481     }
19482     arg3 = (size_t)(val3);
19483     result = (int)gsl_matrix_char_swap_columns(arg1,arg2,arg3);
19484     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
19485 
19486 
19487 
19488     XSRETURN(argvi);
19489   fail:
19490 
19491 
19492 
19493     SWIG_croak_null();
19494   }
19495 }
19496 
19497 
XS(_wrap_gsl_matrix_char_swap_rowcol)19498 XS(_wrap_gsl_matrix_char_swap_rowcol) {
19499   {
19500     gsl_matrix_char *arg1 = (gsl_matrix_char *) 0 ;
19501     size_t arg2 ;
19502     size_t arg3 ;
19503     void *argp1 = 0 ;
19504     int res1 = 0 ;
19505     size_t val2 ;
19506     int ecode2 = 0 ;
19507     size_t val3 ;
19508     int ecode3 = 0 ;
19509     int argvi = 0;
19510     int result;
19511     dXSARGS;
19512 
19513     if ((items < 3) || (items > 3)) {
19514       SWIG_croak("Usage: gsl_matrix_char_swap_rowcol(m,i,j);");
19515     }
19516     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
19517     if (!SWIG_IsOK(res1)) {
19518       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_swap_rowcol" "', argument " "1"" of type '" "gsl_matrix_char *""'");
19519     }
19520     arg1 = (gsl_matrix_char *)(argp1);
19521     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
19522     if (!SWIG_IsOK(ecode2)) {
19523       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_char_swap_rowcol" "', argument " "2"" of type '" "size_t""'");
19524     }
19525     arg2 = (size_t)(val2);
19526     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
19527     if (!SWIG_IsOK(ecode3)) {
19528       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_char_swap_rowcol" "', argument " "3"" of type '" "size_t""'");
19529     }
19530     arg3 = (size_t)(val3);
19531     result = (int)gsl_matrix_char_swap_rowcol(arg1,arg2,arg3);
19532     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
19533 
19534 
19535 
19536     XSRETURN(argvi);
19537   fail:
19538 
19539 
19540 
19541     SWIG_croak_null();
19542   }
19543 }
19544 
19545 
XS(_wrap_gsl_matrix_char_transpose)19546 XS(_wrap_gsl_matrix_char_transpose) {
19547   {
19548     gsl_matrix_char *arg1 = (gsl_matrix_char *) 0 ;
19549     void *argp1 = 0 ;
19550     int res1 = 0 ;
19551     int argvi = 0;
19552     int result;
19553     dXSARGS;
19554 
19555     if ((items < 1) || (items > 1)) {
19556       SWIG_croak("Usage: gsl_matrix_char_transpose(m);");
19557     }
19558     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
19559     if (!SWIG_IsOK(res1)) {
19560       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_transpose" "', argument " "1"" of type '" "gsl_matrix_char *""'");
19561     }
19562     arg1 = (gsl_matrix_char *)(argp1);
19563     result = (int)gsl_matrix_char_transpose(arg1);
19564     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
19565 
19566     XSRETURN(argvi);
19567   fail:
19568 
19569     SWIG_croak_null();
19570   }
19571 }
19572 
19573 
XS(_wrap_gsl_matrix_char_transpose_memcpy)19574 XS(_wrap_gsl_matrix_char_transpose_memcpy) {
19575   {
19576     gsl_matrix_char *arg1 = (gsl_matrix_char *) 0 ;
19577     gsl_matrix_char *arg2 = (gsl_matrix_char *) 0 ;
19578     void *argp1 = 0 ;
19579     int res1 = 0 ;
19580     void *argp2 = 0 ;
19581     int res2 = 0 ;
19582     int argvi = 0;
19583     int result;
19584     dXSARGS;
19585 
19586     if ((items < 2) || (items > 2)) {
19587       SWIG_croak("Usage: gsl_matrix_char_transpose_memcpy(dest,src);");
19588     }
19589     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
19590     if (!SWIG_IsOK(res1)) {
19591       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_transpose_memcpy" "', argument " "1"" of type '" "gsl_matrix_char *""'");
19592     }
19593     arg1 = (gsl_matrix_char *)(argp1);
19594     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
19595     if (!SWIG_IsOK(res2)) {
19596       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_char_transpose_memcpy" "', argument " "2"" of type '" "gsl_matrix_char const *""'");
19597     }
19598     arg2 = (gsl_matrix_char *)(argp2);
19599     result = (int)gsl_matrix_char_transpose_memcpy(arg1,(gsl_matrix_char const *)arg2);
19600     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
19601 
19602 
19603     XSRETURN(argvi);
19604   fail:
19605 
19606 
19607     SWIG_croak_null();
19608   }
19609 }
19610 
19611 
XS(_wrap_gsl_matrix_char_transpose_tricpy)19612 XS(_wrap_gsl_matrix_char_transpose_tricpy) {
19613   {
19614     CBLAS_UPLO_t arg1 ;
19615     CBLAS_DIAG_t arg2 ;
19616     gsl_matrix_char *arg3 = (gsl_matrix_char *) 0 ;
19617     gsl_matrix_char *arg4 = (gsl_matrix_char *) 0 ;
19618     int val1 ;
19619     int ecode1 = 0 ;
19620     int val2 ;
19621     int ecode2 = 0 ;
19622     void *argp3 = 0 ;
19623     int res3 = 0 ;
19624     void *argp4 = 0 ;
19625     int res4 = 0 ;
19626     int argvi = 0;
19627     int result;
19628     dXSARGS;
19629 
19630     if ((items < 4) || (items > 4)) {
19631       SWIG_croak("Usage: gsl_matrix_char_transpose_tricpy(Uplo_src,Diag,dest,src);");
19632     }
19633     ecode1 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
19634     if (!SWIG_IsOK(ecode1)) {
19635       SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_matrix_char_transpose_tricpy" "', argument " "1"" of type '" "CBLAS_UPLO_t""'");
19636     }
19637     arg1 = (CBLAS_UPLO_t)(val1);
19638     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
19639     if (!SWIG_IsOK(ecode2)) {
19640       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_char_transpose_tricpy" "', argument " "2"" of type '" "CBLAS_DIAG_t""'");
19641     }
19642     arg2 = (CBLAS_DIAG_t)(val2);
19643     res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
19644     if (!SWIG_IsOK(res3)) {
19645       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_matrix_char_transpose_tricpy" "', argument " "3"" of type '" "gsl_matrix_char *""'");
19646     }
19647     arg3 = (gsl_matrix_char *)(argp3);
19648     res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
19649     if (!SWIG_IsOK(res4)) {
19650       SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_matrix_char_transpose_tricpy" "', argument " "4"" of type '" "gsl_matrix_char const *""'");
19651     }
19652     arg4 = (gsl_matrix_char *)(argp4);
19653     result = (int)gsl_matrix_char_transpose_tricpy(arg1,arg2,arg3,(gsl_matrix_char const *)arg4);
19654     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
19655 
19656 
19657 
19658 
19659     XSRETURN(argvi);
19660   fail:
19661 
19662 
19663 
19664 
19665     SWIG_croak_null();
19666   }
19667 }
19668 
19669 
XS(_wrap_gsl_matrix_char_max)19670 XS(_wrap_gsl_matrix_char_max) {
19671   {
19672     gsl_matrix_char *arg1 = (gsl_matrix_char *) 0 ;
19673     void *argp1 = 0 ;
19674     int res1 = 0 ;
19675     int argvi = 0;
19676     char result;
19677     dXSARGS;
19678 
19679     if ((items < 1) || (items > 1)) {
19680       SWIG_croak("Usage: gsl_matrix_char_max(m);");
19681     }
19682     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
19683     if (!SWIG_IsOK(res1)) {
19684       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_max" "', argument " "1"" of type '" "gsl_matrix_char const *""'");
19685     }
19686     arg1 = (gsl_matrix_char *)(argp1);
19687     result = (char)gsl_matrix_char_max((gsl_matrix_char const *)arg1);
19688     ST(argvi) = SWIG_From_char  SWIG_PERL_CALL_ARGS_1((char)(result)); argvi++ ;
19689 
19690     XSRETURN(argvi);
19691   fail:
19692 
19693     SWIG_croak_null();
19694   }
19695 }
19696 
19697 
XS(_wrap_gsl_matrix_char_min)19698 XS(_wrap_gsl_matrix_char_min) {
19699   {
19700     gsl_matrix_char *arg1 = (gsl_matrix_char *) 0 ;
19701     void *argp1 = 0 ;
19702     int res1 = 0 ;
19703     int argvi = 0;
19704     char result;
19705     dXSARGS;
19706 
19707     if ((items < 1) || (items > 1)) {
19708       SWIG_croak("Usage: gsl_matrix_char_min(m);");
19709     }
19710     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
19711     if (!SWIG_IsOK(res1)) {
19712       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_min" "', argument " "1"" of type '" "gsl_matrix_char const *""'");
19713     }
19714     arg1 = (gsl_matrix_char *)(argp1);
19715     result = (char)gsl_matrix_char_min((gsl_matrix_char const *)arg1);
19716     ST(argvi) = SWIG_From_char  SWIG_PERL_CALL_ARGS_1((char)(result)); argvi++ ;
19717 
19718     XSRETURN(argvi);
19719   fail:
19720 
19721     SWIG_croak_null();
19722   }
19723 }
19724 
19725 
XS(_wrap_gsl_matrix_char_minmax)19726 XS(_wrap_gsl_matrix_char_minmax) {
19727   {
19728     gsl_matrix_char *arg1 = (gsl_matrix_char *) 0 ;
19729     char *arg2 = (char *) 0 ;
19730     char *arg3 = (char *) 0 ;
19731     void *argp1 = 0 ;
19732     int res1 = 0 ;
19733     int res2 ;
19734     char *buf2 = 0 ;
19735     int alloc2 = 0 ;
19736     int res3 ;
19737     char *buf3 = 0 ;
19738     int alloc3 = 0 ;
19739     int argvi = 0;
19740     dXSARGS;
19741 
19742     if ((items < 3) || (items > 3)) {
19743       SWIG_croak("Usage: gsl_matrix_char_minmax(m,min_out,max_out);");
19744     }
19745     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
19746     if (!SWIG_IsOK(res1)) {
19747       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_minmax" "', argument " "1"" of type '" "gsl_matrix_char const *""'");
19748     }
19749     arg1 = (gsl_matrix_char *)(argp1);
19750     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
19751     if (!SWIG_IsOK(res2)) {
19752       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_char_minmax" "', argument " "2"" of type '" "char *""'");
19753     }
19754     arg2 = (char *)(buf2);
19755     res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
19756     if (!SWIG_IsOK(res3)) {
19757       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_matrix_char_minmax" "', argument " "3"" of type '" "char *""'");
19758     }
19759     arg3 = (char *)(buf3);
19760     gsl_matrix_char_minmax((gsl_matrix_char const *)arg1,arg2,arg3);
19761     ST(argvi) = &PL_sv_undef;
19762 
19763     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
19764     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
19765     XSRETURN(argvi);
19766   fail:
19767 
19768     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
19769     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
19770     SWIG_croak_null();
19771   }
19772 }
19773 
19774 
XS(_wrap_gsl_matrix_char_max_index)19775 XS(_wrap_gsl_matrix_char_max_index) {
19776   {
19777     gsl_matrix_char *arg1 = (gsl_matrix_char *) 0 ;
19778     size_t *arg2 = (size_t *) 0 ;
19779     size_t *arg3 = (size_t *) 0 ;
19780     void *argp1 = 0 ;
19781     int res1 = 0 ;
19782     size_t temp2 ;
19783     int res2 = SWIG_TMPOBJ ;
19784     size_t temp3 ;
19785     int res3 = SWIG_TMPOBJ ;
19786     int argvi = 0;
19787     dXSARGS;
19788 
19789     arg2 = &temp2;
19790     arg3 = &temp3;
19791     if ((items < 1) || (items > 1)) {
19792       SWIG_croak("Usage: gsl_matrix_char_max_index(m);");
19793     }
19794     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
19795     if (!SWIG_IsOK(res1)) {
19796       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_max_index" "', argument " "1"" of type '" "gsl_matrix_char const *""'");
19797     }
19798     arg1 = (gsl_matrix_char *)(argp1);
19799     gsl_matrix_char_max_index((gsl_matrix_char const *)arg1,arg2,arg3);
19800     ST(argvi) = &PL_sv_undef;
19801     if (SWIG_IsTmpObj(res2)) {
19802       if (argvi >= items) EXTEND(sp, argvi+1);  ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((*arg2)); argvi++  ;
19803     } else {
19804       int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0) : 0;
19805       if (argvi >= items) EXTEND(sp, argvi+1);  ST(argvi) = SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_size_t, new_flags); argvi++  ;
19806     }
19807     if (SWIG_IsTmpObj(res3)) {
19808       if (argvi >= items) EXTEND(sp, argvi+1);  ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((*arg3)); argvi++  ;
19809     } else {
19810       int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0) : 0;
19811       if (argvi >= items) EXTEND(sp, argvi+1);  ST(argvi) = SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_size_t, new_flags); argvi++  ;
19812     }
19813 
19814 
19815 
19816     XSRETURN(argvi);
19817   fail:
19818 
19819 
19820 
19821     SWIG_croak_null();
19822   }
19823 }
19824 
19825 
XS(_wrap_gsl_matrix_char_min_index)19826 XS(_wrap_gsl_matrix_char_min_index) {
19827   {
19828     gsl_matrix_char *arg1 = (gsl_matrix_char *) 0 ;
19829     size_t *arg2 = (size_t *) 0 ;
19830     size_t *arg3 = (size_t *) 0 ;
19831     void *argp1 = 0 ;
19832     int res1 = 0 ;
19833     size_t temp2 ;
19834     int res2 = SWIG_TMPOBJ ;
19835     size_t temp3 ;
19836     int res3 = SWIG_TMPOBJ ;
19837     int argvi = 0;
19838     dXSARGS;
19839 
19840     arg2 = &temp2;
19841     arg3 = &temp3;
19842     if ((items < 1) || (items > 1)) {
19843       SWIG_croak("Usage: gsl_matrix_char_min_index(m);");
19844     }
19845     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
19846     if (!SWIG_IsOK(res1)) {
19847       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_min_index" "', argument " "1"" of type '" "gsl_matrix_char const *""'");
19848     }
19849     arg1 = (gsl_matrix_char *)(argp1);
19850     gsl_matrix_char_min_index((gsl_matrix_char const *)arg1,arg2,arg3);
19851     ST(argvi) = &PL_sv_undef;
19852     if (SWIG_IsTmpObj(res2)) {
19853       if (argvi >= items) EXTEND(sp, argvi+1);  ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((*arg2)); argvi++  ;
19854     } else {
19855       int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0) : 0;
19856       if (argvi >= items) EXTEND(sp, argvi+1);  ST(argvi) = SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_size_t, new_flags); argvi++  ;
19857     }
19858     if (SWIG_IsTmpObj(res3)) {
19859       if (argvi >= items) EXTEND(sp, argvi+1);  ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((*arg3)); argvi++  ;
19860     } else {
19861       int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0) : 0;
19862       if (argvi >= items) EXTEND(sp, argvi+1);  ST(argvi) = SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_size_t, new_flags); argvi++  ;
19863     }
19864 
19865 
19866 
19867     XSRETURN(argvi);
19868   fail:
19869 
19870 
19871 
19872     SWIG_croak_null();
19873   }
19874 }
19875 
19876 
XS(_wrap_gsl_matrix_char_minmax_index)19877 XS(_wrap_gsl_matrix_char_minmax_index) {
19878   {
19879     gsl_matrix_char *arg1 = (gsl_matrix_char *) 0 ;
19880     size_t *arg2 = (size_t *) 0 ;
19881     size_t *arg3 = (size_t *) 0 ;
19882     size_t *arg4 = (size_t *) 0 ;
19883     size_t *arg5 = (size_t *) 0 ;
19884     void *argp1 = 0 ;
19885     int res1 = 0 ;
19886     size_t temp2 ;
19887     int res2 = SWIG_TMPOBJ ;
19888     size_t temp3 ;
19889     int res3 = SWIG_TMPOBJ ;
19890     size_t temp4 ;
19891     int res4 = SWIG_TMPOBJ ;
19892     size_t temp5 ;
19893     int res5 = SWIG_TMPOBJ ;
19894     int argvi = 0;
19895     dXSARGS;
19896 
19897     arg2 = &temp2;
19898     arg3 = &temp3;
19899     arg4 = &temp4;
19900     arg5 = &temp5;
19901     if ((items < 1) || (items > 1)) {
19902       SWIG_croak("Usage: gsl_matrix_char_minmax_index(m);");
19903     }
19904     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
19905     if (!SWIG_IsOK(res1)) {
19906       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_minmax_index" "', argument " "1"" of type '" "gsl_matrix_char const *""'");
19907     }
19908     arg1 = (gsl_matrix_char *)(argp1);
19909     gsl_matrix_char_minmax_index((gsl_matrix_char const *)arg1,arg2,arg3,arg4,arg5);
19910     ST(argvi) = &PL_sv_undef;
19911     if (SWIG_IsTmpObj(res2)) {
19912       if (argvi >= items) EXTEND(sp, argvi+1);  ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((*arg2)); argvi++  ;
19913     } else {
19914       int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0) : 0;
19915       if (argvi >= items) EXTEND(sp, argvi+1);  ST(argvi) = SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_size_t, new_flags); argvi++  ;
19916     }
19917     if (SWIG_IsTmpObj(res3)) {
19918       if (argvi >= items) EXTEND(sp, argvi+1);  ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((*arg3)); argvi++  ;
19919     } else {
19920       int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0) : 0;
19921       if (argvi >= items) EXTEND(sp, argvi+1);  ST(argvi) = SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_size_t, new_flags); argvi++  ;
19922     }
19923     if (SWIG_IsTmpObj(res4)) {
19924       if (argvi >= items) EXTEND(sp, argvi+1);  ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((*arg4)); argvi++  ;
19925     } else {
19926       int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0) : 0;
19927       if (argvi >= items) EXTEND(sp, argvi+1);  ST(argvi) = SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_size_t, new_flags); argvi++  ;
19928     }
19929     if (SWIG_IsTmpObj(res5)) {
19930       if (argvi >= items) EXTEND(sp, argvi+1);  ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((*arg5)); argvi++  ;
19931     } else {
19932       int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0) : 0;
19933       if (argvi >= items) EXTEND(sp, argvi+1);  ST(argvi) = SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_size_t, new_flags); argvi++  ;
19934     }
19935 
19936 
19937 
19938 
19939 
19940     XSRETURN(argvi);
19941   fail:
19942 
19943 
19944 
19945 
19946 
19947     SWIG_croak_null();
19948   }
19949 }
19950 
19951 
XS(_wrap_gsl_matrix_char_equal)19952 XS(_wrap_gsl_matrix_char_equal) {
19953   {
19954     gsl_matrix_char *arg1 = (gsl_matrix_char *) 0 ;
19955     gsl_matrix_char *arg2 = (gsl_matrix_char *) 0 ;
19956     void *argp1 = 0 ;
19957     int res1 = 0 ;
19958     void *argp2 = 0 ;
19959     int res2 = 0 ;
19960     int argvi = 0;
19961     int result;
19962     dXSARGS;
19963 
19964     if ((items < 2) || (items > 2)) {
19965       SWIG_croak("Usage: gsl_matrix_char_equal(a,b);");
19966     }
19967     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
19968     if (!SWIG_IsOK(res1)) {
19969       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_equal" "', argument " "1"" of type '" "gsl_matrix_char const *""'");
19970     }
19971     arg1 = (gsl_matrix_char *)(argp1);
19972     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
19973     if (!SWIG_IsOK(res2)) {
19974       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_char_equal" "', argument " "2"" of type '" "gsl_matrix_char const *""'");
19975     }
19976     arg2 = (gsl_matrix_char *)(argp2);
19977     result = (int)gsl_matrix_char_equal((gsl_matrix_char const *)arg1,(gsl_matrix_char const *)arg2);
19978     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
19979 
19980 
19981     XSRETURN(argvi);
19982   fail:
19983 
19984 
19985     SWIG_croak_null();
19986   }
19987 }
19988 
19989 
XS(_wrap_gsl_matrix_char_isnull)19990 XS(_wrap_gsl_matrix_char_isnull) {
19991   {
19992     gsl_matrix_char *arg1 = (gsl_matrix_char *) 0 ;
19993     void *argp1 = 0 ;
19994     int res1 = 0 ;
19995     int argvi = 0;
19996     int result;
19997     dXSARGS;
19998 
19999     if ((items < 1) || (items > 1)) {
20000       SWIG_croak("Usage: gsl_matrix_char_isnull(m);");
20001     }
20002     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
20003     if (!SWIG_IsOK(res1)) {
20004       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_isnull" "', argument " "1"" of type '" "gsl_matrix_char const *""'");
20005     }
20006     arg1 = (gsl_matrix_char *)(argp1);
20007     result = (int)gsl_matrix_char_isnull((gsl_matrix_char const *)arg1);
20008     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
20009 
20010     XSRETURN(argvi);
20011   fail:
20012 
20013     SWIG_croak_null();
20014   }
20015 }
20016 
20017 
XS(_wrap_gsl_matrix_char_ispos)20018 XS(_wrap_gsl_matrix_char_ispos) {
20019   {
20020     gsl_matrix_char *arg1 = (gsl_matrix_char *) 0 ;
20021     void *argp1 = 0 ;
20022     int res1 = 0 ;
20023     int argvi = 0;
20024     int result;
20025     dXSARGS;
20026 
20027     if ((items < 1) || (items > 1)) {
20028       SWIG_croak("Usage: gsl_matrix_char_ispos(m);");
20029     }
20030     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
20031     if (!SWIG_IsOK(res1)) {
20032       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_ispos" "', argument " "1"" of type '" "gsl_matrix_char const *""'");
20033     }
20034     arg1 = (gsl_matrix_char *)(argp1);
20035     result = (int)gsl_matrix_char_ispos((gsl_matrix_char const *)arg1);
20036     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
20037 
20038     XSRETURN(argvi);
20039   fail:
20040 
20041     SWIG_croak_null();
20042   }
20043 }
20044 
20045 
XS(_wrap_gsl_matrix_char_isneg)20046 XS(_wrap_gsl_matrix_char_isneg) {
20047   {
20048     gsl_matrix_char *arg1 = (gsl_matrix_char *) 0 ;
20049     void *argp1 = 0 ;
20050     int res1 = 0 ;
20051     int argvi = 0;
20052     int result;
20053     dXSARGS;
20054 
20055     if ((items < 1) || (items > 1)) {
20056       SWIG_croak("Usage: gsl_matrix_char_isneg(m);");
20057     }
20058     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
20059     if (!SWIG_IsOK(res1)) {
20060       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_isneg" "', argument " "1"" of type '" "gsl_matrix_char const *""'");
20061     }
20062     arg1 = (gsl_matrix_char *)(argp1);
20063     result = (int)gsl_matrix_char_isneg((gsl_matrix_char const *)arg1);
20064     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
20065 
20066     XSRETURN(argvi);
20067   fail:
20068 
20069     SWIG_croak_null();
20070   }
20071 }
20072 
20073 
XS(_wrap_gsl_matrix_char_isnonneg)20074 XS(_wrap_gsl_matrix_char_isnonneg) {
20075   {
20076     gsl_matrix_char *arg1 = (gsl_matrix_char *) 0 ;
20077     void *argp1 = 0 ;
20078     int res1 = 0 ;
20079     int argvi = 0;
20080     int result;
20081     dXSARGS;
20082 
20083     if ((items < 1) || (items > 1)) {
20084       SWIG_croak("Usage: gsl_matrix_char_isnonneg(m);");
20085     }
20086     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
20087     if (!SWIG_IsOK(res1)) {
20088       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_isnonneg" "', argument " "1"" of type '" "gsl_matrix_char const *""'");
20089     }
20090     arg1 = (gsl_matrix_char *)(argp1);
20091     result = (int)gsl_matrix_char_isnonneg((gsl_matrix_char const *)arg1);
20092     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
20093 
20094     XSRETURN(argvi);
20095   fail:
20096 
20097     SWIG_croak_null();
20098   }
20099 }
20100 
20101 
XS(_wrap_gsl_matrix_char_add)20102 XS(_wrap_gsl_matrix_char_add) {
20103   {
20104     gsl_matrix_char *arg1 = (gsl_matrix_char *) 0 ;
20105     gsl_matrix_char *arg2 = (gsl_matrix_char *) 0 ;
20106     void *argp1 = 0 ;
20107     int res1 = 0 ;
20108     void *argp2 = 0 ;
20109     int res2 = 0 ;
20110     int argvi = 0;
20111     int result;
20112     dXSARGS;
20113 
20114     if ((items < 2) || (items > 2)) {
20115       SWIG_croak("Usage: gsl_matrix_char_add(a,b);");
20116     }
20117     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
20118     if (!SWIG_IsOK(res1)) {
20119       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_add" "', argument " "1"" of type '" "gsl_matrix_char *""'");
20120     }
20121     arg1 = (gsl_matrix_char *)(argp1);
20122     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
20123     if (!SWIG_IsOK(res2)) {
20124       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_char_add" "', argument " "2"" of type '" "gsl_matrix_char const *""'");
20125     }
20126     arg2 = (gsl_matrix_char *)(argp2);
20127     result = (int)gsl_matrix_char_add(arg1,(gsl_matrix_char const *)arg2);
20128     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
20129 
20130 
20131     XSRETURN(argvi);
20132   fail:
20133 
20134 
20135     SWIG_croak_null();
20136   }
20137 }
20138 
20139 
XS(_wrap_gsl_matrix_char_sub)20140 XS(_wrap_gsl_matrix_char_sub) {
20141   {
20142     gsl_matrix_char *arg1 = (gsl_matrix_char *) 0 ;
20143     gsl_matrix_char *arg2 = (gsl_matrix_char *) 0 ;
20144     void *argp1 = 0 ;
20145     int res1 = 0 ;
20146     void *argp2 = 0 ;
20147     int res2 = 0 ;
20148     int argvi = 0;
20149     int result;
20150     dXSARGS;
20151 
20152     if ((items < 2) || (items > 2)) {
20153       SWIG_croak("Usage: gsl_matrix_char_sub(a,b);");
20154     }
20155     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
20156     if (!SWIG_IsOK(res1)) {
20157       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_sub" "', argument " "1"" of type '" "gsl_matrix_char *""'");
20158     }
20159     arg1 = (gsl_matrix_char *)(argp1);
20160     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
20161     if (!SWIG_IsOK(res2)) {
20162       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_char_sub" "', argument " "2"" of type '" "gsl_matrix_char const *""'");
20163     }
20164     arg2 = (gsl_matrix_char *)(argp2);
20165     result = (int)gsl_matrix_char_sub(arg1,(gsl_matrix_char const *)arg2);
20166     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
20167 
20168 
20169     XSRETURN(argvi);
20170   fail:
20171 
20172 
20173     SWIG_croak_null();
20174   }
20175 }
20176 
20177 
XS(_wrap_gsl_matrix_char_mul_elements)20178 XS(_wrap_gsl_matrix_char_mul_elements) {
20179   {
20180     gsl_matrix_char *arg1 = (gsl_matrix_char *) 0 ;
20181     gsl_matrix_char *arg2 = (gsl_matrix_char *) 0 ;
20182     void *argp1 = 0 ;
20183     int res1 = 0 ;
20184     void *argp2 = 0 ;
20185     int res2 = 0 ;
20186     int argvi = 0;
20187     int result;
20188     dXSARGS;
20189 
20190     if ((items < 2) || (items > 2)) {
20191       SWIG_croak("Usage: gsl_matrix_char_mul_elements(a,b);");
20192     }
20193     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
20194     if (!SWIG_IsOK(res1)) {
20195       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_mul_elements" "', argument " "1"" of type '" "gsl_matrix_char *""'");
20196     }
20197     arg1 = (gsl_matrix_char *)(argp1);
20198     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
20199     if (!SWIG_IsOK(res2)) {
20200       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_char_mul_elements" "', argument " "2"" of type '" "gsl_matrix_char const *""'");
20201     }
20202     arg2 = (gsl_matrix_char *)(argp2);
20203     result = (int)gsl_matrix_char_mul_elements(arg1,(gsl_matrix_char const *)arg2);
20204     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
20205 
20206 
20207     XSRETURN(argvi);
20208   fail:
20209 
20210 
20211     SWIG_croak_null();
20212   }
20213 }
20214 
20215 
XS(_wrap_gsl_matrix_char_div_elements)20216 XS(_wrap_gsl_matrix_char_div_elements) {
20217   {
20218     gsl_matrix_char *arg1 = (gsl_matrix_char *) 0 ;
20219     gsl_matrix_char *arg2 = (gsl_matrix_char *) 0 ;
20220     void *argp1 = 0 ;
20221     int res1 = 0 ;
20222     void *argp2 = 0 ;
20223     int res2 = 0 ;
20224     int argvi = 0;
20225     int result;
20226     dXSARGS;
20227 
20228     if ((items < 2) || (items > 2)) {
20229       SWIG_croak("Usage: gsl_matrix_char_div_elements(a,b);");
20230     }
20231     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
20232     if (!SWIG_IsOK(res1)) {
20233       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_div_elements" "', argument " "1"" of type '" "gsl_matrix_char *""'");
20234     }
20235     arg1 = (gsl_matrix_char *)(argp1);
20236     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
20237     if (!SWIG_IsOK(res2)) {
20238       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_char_div_elements" "', argument " "2"" of type '" "gsl_matrix_char const *""'");
20239     }
20240     arg2 = (gsl_matrix_char *)(argp2);
20241     result = (int)gsl_matrix_char_div_elements(arg1,(gsl_matrix_char const *)arg2);
20242     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
20243 
20244 
20245     XSRETURN(argvi);
20246   fail:
20247 
20248 
20249     SWIG_croak_null();
20250   }
20251 }
20252 
20253 
XS(_wrap_gsl_matrix_char_scale)20254 XS(_wrap_gsl_matrix_char_scale) {
20255   {
20256     gsl_matrix_char *arg1 = (gsl_matrix_char *) 0 ;
20257     char arg2 ;
20258     void *argp1 = 0 ;
20259     int res1 = 0 ;
20260     char val2 ;
20261     int ecode2 = 0 ;
20262     int argvi = 0;
20263     int result;
20264     dXSARGS;
20265 
20266     if ((items < 2) || (items > 2)) {
20267       SWIG_croak("Usage: gsl_matrix_char_scale(a,x);");
20268     }
20269     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
20270     if (!SWIG_IsOK(res1)) {
20271       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_scale" "', argument " "1"" of type '" "gsl_matrix_char *""'");
20272     }
20273     arg1 = (gsl_matrix_char *)(argp1);
20274     ecode2 = SWIG_AsVal_char SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
20275     if (!SWIG_IsOK(ecode2)) {
20276       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_char_scale" "', argument " "2"" of type '" "char""'");
20277     }
20278     arg2 = (char)(val2);
20279     result = (int)gsl_matrix_char_scale(arg1,arg2);
20280     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
20281 
20282 
20283     XSRETURN(argvi);
20284   fail:
20285 
20286 
20287     SWIG_croak_null();
20288   }
20289 }
20290 
20291 
XS(_wrap_gsl_matrix_char_add_constant)20292 XS(_wrap_gsl_matrix_char_add_constant) {
20293   {
20294     gsl_matrix_char *arg1 = (gsl_matrix_char *) 0 ;
20295     char arg2 ;
20296     void *argp1 = 0 ;
20297     int res1 = 0 ;
20298     char val2 ;
20299     int ecode2 = 0 ;
20300     int argvi = 0;
20301     int result;
20302     dXSARGS;
20303 
20304     if ((items < 2) || (items > 2)) {
20305       SWIG_croak("Usage: gsl_matrix_char_add_constant(a,x);");
20306     }
20307     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
20308     if (!SWIG_IsOK(res1)) {
20309       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_add_constant" "', argument " "1"" of type '" "gsl_matrix_char *""'");
20310     }
20311     arg1 = (gsl_matrix_char *)(argp1);
20312     ecode2 = SWIG_AsVal_char SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
20313     if (!SWIG_IsOK(ecode2)) {
20314       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_char_add_constant" "', argument " "2"" of type '" "char""'");
20315     }
20316     arg2 = (char)(val2);
20317     result = (int)gsl_matrix_char_add_constant(arg1,arg2);
20318     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
20319 
20320 
20321     XSRETURN(argvi);
20322   fail:
20323 
20324 
20325     SWIG_croak_null();
20326   }
20327 }
20328 
20329 
XS(_wrap_gsl_matrix_char_add_diagonal)20330 XS(_wrap_gsl_matrix_char_add_diagonal) {
20331   {
20332     gsl_matrix_char *arg1 = (gsl_matrix_char *) 0 ;
20333     char arg2 ;
20334     void *argp1 = 0 ;
20335     int res1 = 0 ;
20336     char val2 ;
20337     int ecode2 = 0 ;
20338     int argvi = 0;
20339     int result;
20340     dXSARGS;
20341 
20342     if ((items < 2) || (items > 2)) {
20343       SWIG_croak("Usage: gsl_matrix_char_add_diagonal(a,x);");
20344     }
20345     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
20346     if (!SWIG_IsOK(res1)) {
20347       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_add_diagonal" "', argument " "1"" of type '" "gsl_matrix_char *""'");
20348     }
20349     arg1 = (gsl_matrix_char *)(argp1);
20350     ecode2 = SWIG_AsVal_char SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
20351     if (!SWIG_IsOK(ecode2)) {
20352       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_char_add_diagonal" "', argument " "2"" of type '" "char""'");
20353     }
20354     arg2 = (char)(val2);
20355     result = (int)gsl_matrix_char_add_diagonal(arg1,arg2);
20356     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
20357 
20358 
20359     XSRETURN(argvi);
20360   fail:
20361 
20362 
20363     SWIG_croak_null();
20364   }
20365 }
20366 
20367 
XS(_wrap_gsl_matrix_char_get_row)20368 XS(_wrap_gsl_matrix_char_get_row) {
20369   {
20370     gsl_vector_char *arg1 = (gsl_vector_char *) 0 ;
20371     gsl_matrix_char *arg2 = (gsl_matrix_char *) 0 ;
20372     size_t arg3 ;
20373     void *argp1 = 0 ;
20374     int res1 = 0 ;
20375     void *argp2 = 0 ;
20376     int res2 = 0 ;
20377     size_t val3 ;
20378     int ecode3 = 0 ;
20379     int argvi = 0;
20380     int result;
20381     dXSARGS;
20382 
20383     if ((items < 3) || (items > 3)) {
20384       SWIG_croak("Usage: gsl_matrix_char_get_row(v,m,i);");
20385     }
20386     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_char, 0 |  0 );
20387     if (!SWIG_IsOK(res1)) {
20388       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_get_row" "', argument " "1"" of type '" "gsl_vector_char *""'");
20389     }
20390     arg1 = (gsl_vector_char *)(argp1);
20391     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
20392     if (!SWIG_IsOK(res2)) {
20393       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_char_get_row" "', argument " "2"" of type '" "gsl_matrix_char const *""'");
20394     }
20395     arg2 = (gsl_matrix_char *)(argp2);
20396     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
20397     if (!SWIG_IsOK(ecode3)) {
20398       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_char_get_row" "', argument " "3"" of type '" "size_t""'");
20399     }
20400     arg3 = (size_t)(val3);
20401     result = (int)gsl_matrix_char_get_row(arg1,(gsl_matrix_char const *)arg2,arg3);
20402     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
20403 
20404 
20405 
20406     XSRETURN(argvi);
20407   fail:
20408 
20409 
20410 
20411     SWIG_croak_null();
20412   }
20413 }
20414 
20415 
XS(_wrap_gsl_matrix_char_get_col)20416 XS(_wrap_gsl_matrix_char_get_col) {
20417   {
20418     gsl_vector_char *arg1 = (gsl_vector_char *) 0 ;
20419     gsl_matrix_char *arg2 = (gsl_matrix_char *) 0 ;
20420     size_t arg3 ;
20421     void *argp1 = 0 ;
20422     int res1 = 0 ;
20423     void *argp2 = 0 ;
20424     int res2 = 0 ;
20425     size_t val3 ;
20426     int ecode3 = 0 ;
20427     int argvi = 0;
20428     int result;
20429     dXSARGS;
20430 
20431     if ((items < 3) || (items > 3)) {
20432       SWIG_croak("Usage: gsl_matrix_char_get_col(v,m,j);");
20433     }
20434     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector_char, 0 |  0 );
20435     if (!SWIG_IsOK(res1)) {
20436       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_get_col" "', argument " "1"" of type '" "gsl_vector_char *""'");
20437     }
20438     arg1 = (gsl_vector_char *)(argp1);
20439     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
20440     if (!SWIG_IsOK(res2)) {
20441       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_char_get_col" "', argument " "2"" of type '" "gsl_matrix_char const *""'");
20442     }
20443     arg2 = (gsl_matrix_char *)(argp2);
20444     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
20445     if (!SWIG_IsOK(ecode3)) {
20446       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_char_get_col" "', argument " "3"" of type '" "size_t""'");
20447     }
20448     arg3 = (size_t)(val3);
20449     result = (int)gsl_matrix_char_get_col(arg1,(gsl_matrix_char const *)arg2,arg3);
20450     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
20451 
20452 
20453 
20454     XSRETURN(argvi);
20455   fail:
20456 
20457 
20458 
20459     SWIG_croak_null();
20460   }
20461 }
20462 
20463 
XS(_wrap_gsl_matrix_char_set_row)20464 XS(_wrap_gsl_matrix_char_set_row) {
20465   {
20466     gsl_matrix_char *arg1 = (gsl_matrix_char *) 0 ;
20467     size_t arg2 ;
20468     gsl_vector_char *arg3 = (gsl_vector_char *) 0 ;
20469     void *argp1 = 0 ;
20470     int res1 = 0 ;
20471     size_t val2 ;
20472     int ecode2 = 0 ;
20473     void *argp3 = 0 ;
20474     int res3 = 0 ;
20475     int argvi = 0;
20476     int result;
20477     dXSARGS;
20478 
20479     if ((items < 3) || (items > 3)) {
20480       SWIG_croak("Usage: gsl_matrix_char_set_row(m,i,v);");
20481     }
20482     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
20483     if (!SWIG_IsOK(res1)) {
20484       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_set_row" "', argument " "1"" of type '" "gsl_matrix_char *""'");
20485     }
20486     arg1 = (gsl_matrix_char *)(argp1);
20487     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
20488     if (!SWIG_IsOK(ecode2)) {
20489       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_char_set_row" "', argument " "2"" of type '" "size_t""'");
20490     }
20491     arg2 = (size_t)(val2);
20492     res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_gsl_vector_char, 0 |  0 );
20493     if (!SWIG_IsOK(res3)) {
20494       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_matrix_char_set_row" "', argument " "3"" of type '" "gsl_vector_char const *""'");
20495     }
20496     arg3 = (gsl_vector_char *)(argp3);
20497     result = (int)gsl_matrix_char_set_row(arg1,arg2,(gsl_vector_char const *)arg3);
20498     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
20499 
20500 
20501 
20502     XSRETURN(argvi);
20503   fail:
20504 
20505 
20506 
20507     SWIG_croak_null();
20508   }
20509 }
20510 
20511 
XS(_wrap_gsl_matrix_char_set_col)20512 XS(_wrap_gsl_matrix_char_set_col) {
20513   {
20514     gsl_matrix_char *arg1 = (gsl_matrix_char *) 0 ;
20515     size_t arg2 ;
20516     gsl_vector_char *arg3 = (gsl_vector_char *) 0 ;
20517     void *argp1 = 0 ;
20518     int res1 = 0 ;
20519     size_t val2 ;
20520     int ecode2 = 0 ;
20521     void *argp3 = 0 ;
20522     int res3 = 0 ;
20523     int argvi = 0;
20524     int result;
20525     dXSARGS;
20526 
20527     if ((items < 3) || (items > 3)) {
20528       SWIG_croak("Usage: gsl_matrix_char_set_col(m,j,v);");
20529     }
20530     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
20531     if (!SWIG_IsOK(res1)) {
20532       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_set_col" "', argument " "1"" of type '" "gsl_matrix_char *""'");
20533     }
20534     arg1 = (gsl_matrix_char *)(argp1);
20535     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
20536     if (!SWIG_IsOK(ecode2)) {
20537       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_char_set_col" "', argument " "2"" of type '" "size_t""'");
20538     }
20539     arg2 = (size_t)(val2);
20540     res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_gsl_vector_char, 0 |  0 );
20541     if (!SWIG_IsOK(res3)) {
20542       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_matrix_char_set_col" "', argument " "3"" of type '" "gsl_vector_char const *""'");
20543     }
20544     arg3 = (gsl_vector_char *)(argp3);
20545     result = (int)gsl_matrix_char_set_col(arg1,arg2,(gsl_vector_char const *)arg3);
20546     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
20547 
20548 
20549 
20550     XSRETURN(argvi);
20551   fail:
20552 
20553 
20554 
20555     SWIG_croak_null();
20556   }
20557 }
20558 
20559 
XS(_wrap_gsl_matrix_char_get)20560 XS(_wrap_gsl_matrix_char_get) {
20561   {
20562     gsl_matrix_char *arg1 = (gsl_matrix_char *) 0 ;
20563     size_t arg2 ;
20564     size_t arg3 ;
20565     void *argp1 = 0 ;
20566     int res1 = 0 ;
20567     size_t val2 ;
20568     int ecode2 = 0 ;
20569     size_t val3 ;
20570     int ecode3 = 0 ;
20571     int argvi = 0;
20572     char result;
20573     dXSARGS;
20574 
20575     if ((items < 3) || (items > 3)) {
20576       SWIG_croak("Usage: gsl_matrix_char_get(m,i,j);");
20577     }
20578     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
20579     if (!SWIG_IsOK(res1)) {
20580       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_get" "', argument " "1"" of type '" "gsl_matrix_char const *""'");
20581     }
20582     arg1 = (gsl_matrix_char *)(argp1);
20583     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
20584     if (!SWIG_IsOK(ecode2)) {
20585       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_char_get" "', argument " "2"" of type '" "size_t""'");
20586     }
20587     arg2 = (size_t)(val2);
20588     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
20589     if (!SWIG_IsOK(ecode3)) {
20590       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_char_get" "', argument " "3"" of type '" "size_t""'");
20591     }
20592     arg3 = (size_t)(val3);
20593     result = (char)gsl_matrix_char_get((gsl_matrix_char const *)arg1,arg2,arg3);
20594     ST(argvi) = SWIG_From_char  SWIG_PERL_CALL_ARGS_1((char)(result)); argvi++ ;
20595 
20596 
20597 
20598     XSRETURN(argvi);
20599   fail:
20600 
20601 
20602 
20603     SWIG_croak_null();
20604   }
20605 }
20606 
20607 
XS(_wrap_gsl_matrix_char_set)20608 XS(_wrap_gsl_matrix_char_set) {
20609   {
20610     gsl_matrix_char *arg1 = (gsl_matrix_char *) 0 ;
20611     size_t arg2 ;
20612     size_t arg3 ;
20613     char arg4 ;
20614     void *argp1 = 0 ;
20615     int res1 = 0 ;
20616     size_t val2 ;
20617     int ecode2 = 0 ;
20618     size_t val3 ;
20619     int ecode3 = 0 ;
20620     char val4 ;
20621     int ecode4 = 0 ;
20622     int argvi = 0;
20623     dXSARGS;
20624 
20625     if ((items < 4) || (items > 4)) {
20626       SWIG_croak("Usage: gsl_matrix_char_set(m,i,j,x);");
20627     }
20628     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
20629     if (!SWIG_IsOK(res1)) {
20630       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_set" "', argument " "1"" of type '" "gsl_matrix_char *""'");
20631     }
20632     arg1 = (gsl_matrix_char *)(argp1);
20633     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
20634     if (!SWIG_IsOK(ecode2)) {
20635       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_char_set" "', argument " "2"" of type '" "size_t""'");
20636     }
20637     arg2 = (size_t)(val2);
20638     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
20639     if (!SWIG_IsOK(ecode3)) {
20640       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_char_set" "', argument " "3"" of type '" "size_t""'");
20641     }
20642     arg3 = (size_t)(val3);
20643     ecode4 = SWIG_AsVal_char SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
20644     if (!SWIG_IsOK(ecode4)) {
20645       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_matrix_char_set" "', argument " "4"" of type '" "char""'");
20646     }
20647     arg4 = (char)(val4);
20648     gsl_matrix_char_set(arg1,arg2,arg3,arg4);
20649     ST(argvi) = &PL_sv_undef;
20650 
20651 
20652 
20653 
20654     XSRETURN(argvi);
20655   fail:
20656 
20657 
20658 
20659 
20660     SWIG_croak_null();
20661   }
20662 }
20663 
20664 
XS(_wrap_gsl_matrix_char_ptr)20665 XS(_wrap_gsl_matrix_char_ptr) {
20666   {
20667     gsl_matrix_char *arg1 = (gsl_matrix_char *) 0 ;
20668     size_t arg2 ;
20669     size_t arg3 ;
20670     void *argp1 = 0 ;
20671     int res1 = 0 ;
20672     size_t val2 ;
20673     int ecode2 = 0 ;
20674     size_t val3 ;
20675     int ecode3 = 0 ;
20676     int argvi = 0;
20677     char *result = 0 ;
20678     dXSARGS;
20679 
20680     if ((items < 3) || (items > 3)) {
20681       SWIG_croak("Usage: gsl_matrix_char_ptr(m,i,j);");
20682     }
20683     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
20684     if (!SWIG_IsOK(res1)) {
20685       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_ptr" "', argument " "1"" of type '" "gsl_matrix_char *""'");
20686     }
20687     arg1 = (gsl_matrix_char *)(argp1);
20688     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
20689     if (!SWIG_IsOK(ecode2)) {
20690       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_char_ptr" "', argument " "2"" of type '" "size_t""'");
20691     }
20692     arg2 = (size_t)(val2);
20693     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
20694     if (!SWIG_IsOK(ecode3)) {
20695       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_char_ptr" "', argument " "3"" of type '" "size_t""'");
20696     }
20697     arg3 = (size_t)(val3);
20698     result = (char *)gsl_matrix_char_ptr(arg1,arg2,arg3);
20699     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
20700 
20701 
20702 
20703     XSRETURN(argvi);
20704   fail:
20705 
20706 
20707 
20708     SWIG_croak_null();
20709   }
20710 }
20711 
20712 
XS(_wrap_gsl_matrix_char_const_ptr)20713 XS(_wrap_gsl_matrix_char_const_ptr) {
20714   {
20715     gsl_matrix_char *arg1 = (gsl_matrix_char *) 0 ;
20716     size_t arg2 ;
20717     size_t arg3 ;
20718     void *argp1 = 0 ;
20719     int res1 = 0 ;
20720     size_t val2 ;
20721     int ecode2 = 0 ;
20722     size_t val3 ;
20723     int ecode3 = 0 ;
20724     int argvi = 0;
20725     char *result = 0 ;
20726     dXSARGS;
20727 
20728     if ((items < 3) || (items > 3)) {
20729       SWIG_croak("Usage: gsl_matrix_char_const_ptr(m,i,j);");
20730     }
20731     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix_char, 0 |  0 );
20732     if (!SWIG_IsOK(res1)) {
20733       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_char_const_ptr" "', argument " "1"" of type '" "gsl_matrix_char const *""'");
20734     }
20735     arg1 = (gsl_matrix_char *)(argp1);
20736     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
20737     if (!SWIG_IsOK(ecode2)) {
20738       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_matrix_char_const_ptr" "', argument " "2"" of type '" "size_t""'");
20739     }
20740     arg2 = (size_t)(val2);
20741     ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
20742     if (!SWIG_IsOK(ecode3)) {
20743       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_matrix_char_const_ptr" "', argument " "3"" of type '" "size_t""'");
20744     }
20745     arg3 = (size_t)(val3);
20746     result = (char *)gsl_matrix_char_const_ptr((gsl_matrix_char const *)arg1,arg2,arg3);
20747     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
20748 
20749 
20750 
20751     XSRETURN(argvi);
20752   fail:
20753 
20754 
20755 
20756     SWIG_croak_null();
20757   }
20758 }
20759 
20760 
XS(_wrap_gsl_matrix_vconcat)20761 XS(_wrap_gsl_matrix_vconcat) {
20762   {
20763     gsl_matrix *arg1 = (gsl_matrix *) 0 ;
20764     gsl_matrix *arg2 = (gsl_matrix *) 0 ;
20765     void *argp1 = 0 ;
20766     int res1 = 0 ;
20767     void *argp2 = 0 ;
20768     int res2 = 0 ;
20769     int argvi = 0;
20770     gsl_matrix *result = 0 ;
20771     dXSARGS;
20772 
20773     if ((items < 2) || (items > 2)) {
20774       SWIG_croak("Usage: gsl_matrix_vconcat(A,B);");
20775     }
20776     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix, 0 |  0 );
20777     if (!SWIG_IsOK(res1)) {
20778       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_vconcat" "', argument " "1"" of type '" "gsl_matrix const *""'");
20779     }
20780     arg1 = (gsl_matrix *)(argp1);
20781     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix, 0 |  0 );
20782     if (!SWIG_IsOK(res2)) {
20783       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_vconcat" "', argument " "2"" of type '" "gsl_matrix const *""'");
20784     }
20785     arg2 = (gsl_matrix *)(argp2);
20786     result = (gsl_matrix *)gsl_matrix_vconcat((gsl_matrix const *)arg1,(gsl_matrix const *)arg2);
20787     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_matrix, 0 | SWIG_SHADOW); argvi++ ;
20788 
20789 
20790     XSRETURN(argvi);
20791   fail:
20792 
20793 
20794     SWIG_croak_null();
20795   }
20796 }
20797 
20798 
XS(_wrap_gsl_matrix_hconcat)20799 XS(_wrap_gsl_matrix_hconcat) {
20800   {
20801     gsl_matrix *arg1 = (gsl_matrix *) 0 ;
20802     gsl_matrix *arg2 = (gsl_matrix *) 0 ;
20803     void *argp1 = 0 ;
20804     int res1 = 0 ;
20805     void *argp2 = 0 ;
20806     int res2 = 0 ;
20807     int argvi = 0;
20808     gsl_matrix *result = 0 ;
20809     dXSARGS;
20810 
20811     if ((items < 2) || (items > 2)) {
20812       SWIG_croak("Usage: gsl_matrix_hconcat(A,B);");
20813     }
20814     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix, 0 |  0 );
20815     if (!SWIG_IsOK(res1)) {
20816       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_hconcat" "', argument " "1"" of type '" "gsl_matrix const *""'");
20817     }
20818     arg1 = (gsl_matrix *)(argp1);
20819     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix, 0 |  0 );
20820     if (!SWIG_IsOK(res2)) {
20821       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_matrix_hconcat" "', argument " "2"" of type '" "gsl_matrix const *""'");
20822     }
20823     arg2 = (gsl_matrix *)(argp2);
20824     result = (gsl_matrix *)gsl_matrix_hconcat((gsl_matrix const *)arg1,(gsl_matrix const *)arg2);
20825     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_matrix, 0 | SWIG_SHADOW); argvi++ ;
20826 
20827 
20828     XSRETURN(argvi);
20829   fail:
20830 
20831 
20832     SWIG_croak_null();
20833   }
20834 }
20835 
20836 
XS(_wrap_gsl_matrix_random)20837 XS(_wrap_gsl_matrix_random) {
20838   {
20839     gsl_matrix *arg1 = (gsl_matrix *) 0 ;
20840     void *argp1 = 0 ;
20841     int res1 = 0 ;
20842     int argvi = 0;
20843     dXSARGS;
20844 
20845     if ((items < 1) || (items > 1)) {
20846       SWIG_croak("Usage: gsl_matrix_random(A);");
20847     }
20848     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix, 0 |  0 );
20849     if (!SWIG_IsOK(res1)) {
20850       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_matrix_random" "', argument " "1"" of type '" "gsl_matrix const *""'");
20851     }
20852     arg1 = (gsl_matrix *)(argp1);
20853     gsl_matrix_random((gsl_matrix const *)arg1);
20854     ST(argvi) = &PL_sv_undef;
20855 
20856     XSRETURN(argvi);
20857   fail:
20858 
20859     SWIG_croak_null();
20860   }
20861 }
20862 
20863 
20864 
20865 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
20866 
20867 static swig_type_info _swigt__p_CBLAS_DIAG = {"_p_CBLAS_DIAG", "CBLAS_DIAG_t *|enum CBLAS_DIAG *", 0, 0, (void*)0, 0};
20868 static swig_type_info _swigt__p_CBLAS_INDEX = {"_p_CBLAS_INDEX", "CBLAS_INDEX *|CBLAS_INDEX_t *", 0, 0, (void*)0, 0};
20869 static swig_type_info _swigt__p_CBLAS_ORDER = {"_p_CBLAS_ORDER", "CBLAS_ORDER_t *|enum CBLAS_ORDER *", 0, 0, (void*)0, 0};
20870 static swig_type_info _swigt__p_CBLAS_SIDE = {"_p_CBLAS_SIDE", "enum CBLAS_SIDE *|CBLAS_SIDE_t *", 0, 0, (void*)0, 0};
20871 static swig_type_info _swigt__p_CBLAS_TRANSPOSE = {"_p_CBLAS_TRANSPOSE", "CBLAS_TRANSPOSE_t *|enum CBLAS_TRANSPOSE *", 0, 0, (void*)0, 0};
20872 static swig_type_info _swigt__p_CBLAS_UPLO = {"_p_CBLAS_UPLO", "enum CBLAS_UPLO *|CBLAS_UPLO_t *", 0, 0, (void*)0, 0};
20873 static swig_type_info _swigt__p_FILE = {"_p_FILE", "FILE *", 0, 0, (void*)0, 0};
20874 static swig_type_info _swigt__p__gsl_matrix_char_const_view = {"_p__gsl_matrix_char_const_view", "_gsl_matrix_char_const_view *|gsl_matrix_char_const_view *", 0, 0, (void*)"Math::GSL::Matrix::_gsl_matrix_char_const_view", 0};
20875 static swig_type_info _swigt__p__gsl_matrix_char_view = {"_p__gsl_matrix_char_view", "_gsl_matrix_char_view *|gsl_matrix_char_view *", 0, 0, (void*)"Math::GSL::Matrix::_gsl_matrix_char_view", 0};
20876 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::Matrix::_gsl_matrix_complex_const_view", 0};
20877 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::Matrix::_gsl_matrix_complex_view", 0};
20878 static swig_type_info _swigt__p__gsl_matrix_const_view = {"_p__gsl_matrix_const_view", "_gsl_matrix_const_view *|gsl_matrix_const_view *", 0, 0, (void*)"Math::GSL::Matrix::_gsl_matrix_const_view", 0};
20879 static swig_type_info _swigt__p__gsl_matrix_int_const_view = {"_p__gsl_matrix_int_const_view", "_gsl_matrix_int_const_view *|gsl_matrix_int_const_view *", 0, 0, (void*)"Math::GSL::Matrix::_gsl_matrix_int_const_view", 0};
20880 static swig_type_info _swigt__p__gsl_matrix_int_view = {"_p__gsl_matrix_int_view", "_gsl_matrix_int_view *|gsl_matrix_int_view *", 0, 0, (void*)"Math::GSL::Matrix::_gsl_matrix_int_view", 0};
20881 static swig_type_info _swigt__p__gsl_matrix_view = {"_p__gsl_matrix_view", "_gsl_matrix_view *|gsl_matrix_view *", 0, 0, (void*)"Math::GSL::Matrix::_gsl_matrix_view", 0};
20882 static swig_type_info _swigt__p__gsl_vector_char_const_view = {"_p__gsl_vector_char_const_view", "_gsl_vector_char_const_view *", 0, 0, (void*)0, 0};
20883 static swig_type_info _swigt__p__gsl_vector_char_view = {"_p__gsl_vector_char_view", "_gsl_vector_char_view *", 0, 0, (void*)0, 0};
20884 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};
20885 static swig_type_info _swigt__p__gsl_vector_complex_view = {"_p__gsl_vector_complex_view", "_gsl_vector_complex_view *", 0, 0, (void*)0, 0};
20886 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::Matrix::_gsl_vector_const_view", 0};
20887 static swig_type_info _swigt__p__gsl_vector_int_const_view = {"_p__gsl_vector_int_const_view", "_gsl_vector_int_const_view *", 0, 0, (void*)0, 0};
20888 static swig_type_info _swigt__p__gsl_vector_int_view = {"_p__gsl_vector_int_view", "_gsl_vector_int_view *", 0, 0, (void*)0, 0};
20889 static swig_type_info _swigt__p__gsl_vector_view = {"_p__gsl_vector_view", "_gsl_vector_view *|gsl_vector_view *", 0, 0, (void*)"Math::GSL::Matrix::_gsl_vector_view", 0};
20890 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
20891 static swig_type_info _swigt__p_double = {"_p_double", "double *", 0, 0, (void*)0, 0};
20892 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", "void (*)(char const *,char const *,int,int)|gsl_error_handler_t *", 0, 0, (void*)0, 0};
20893 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};
20894 static swig_type_info _swigt__p_float = {"_p_float", "float *", 0, 0, (void*)0, 0};
20895 static swig_type_info _swigt__p_gsl_block = {"_p_gsl_block", "gsl_block *", 0, 0, (void*)0, 0};
20896 static swig_type_info _swigt__p_gsl_block_char = {"_p_gsl_block_char", "gsl_block_char *", 0, 0, (void*)0, 0};
20897 static swig_type_info _swigt__p_gsl_block_complex = {"_p_gsl_block_complex", "gsl_block_complex *", 0, 0, (void*)0, 0};
20898 static swig_type_info _swigt__p_gsl_block_int = {"_p_gsl_block_int", "gsl_block_int *", 0, 0, (void*)0, 0};
20899 static swig_type_info _swigt__p_gsl_complex = {"_p_gsl_complex", "gsl_complex *", 0, 0, (void*)"Math::GSL::Matrix::gsl_complex", 0};
20900 static swig_type_info _swigt__p_gsl_complex_float = {"_p_gsl_complex_float", "gsl_complex_float *", 0, 0, (void*)"Math::GSL::Matrix::gsl_complex_float", 0};
20901 static swig_type_info _swigt__p_gsl_complex_long_double = {"_p_gsl_complex_long_double", "gsl_complex_long_double *", 0, 0, (void*)"Math::GSL::Matrix::gsl_complex_long_double", 0};
20902 static swig_type_info _swigt__p_gsl_matrix = {"_p_gsl_matrix", "gsl_matrix *", 0, 0, (void*)"Math::GSL::Matrix::gsl_matrix", 0};
20903 static swig_type_info _swigt__p_gsl_matrix_char = {"_p_gsl_matrix_char", "gsl_matrix_char *", 0, 0, (void*)"Math::GSL::Matrix::gsl_matrix_char", 0};
20904 static swig_type_info _swigt__p_gsl_matrix_complex = {"_p_gsl_matrix_complex", "gsl_matrix_complex *", 0, 0, (void*)"Math::GSL::Matrix::gsl_matrix_complex", 0};
20905 static swig_type_info _swigt__p_gsl_matrix_int = {"_p_gsl_matrix_int", "gsl_matrix_int *", 0, 0, (void*)"Math::GSL::Matrix::gsl_matrix_int", 0};
20906 static swig_type_info _swigt__p_gsl_vector = {"_p_gsl_vector", "gsl_vector *", 0, 0, (void*)"Math::GSL::Matrix::gsl_vector", 0};
20907 static swig_type_info _swigt__p_gsl_vector_char = {"_p_gsl_vector_char", "gsl_vector_char *", 0, 0, (void*)0, 0};
20908 static swig_type_info _swigt__p_gsl_vector_complex = {"_p_gsl_vector_complex", "gsl_vector_complex *", 0, 0, (void*)0, 0};
20909 static swig_type_info _swigt__p_gsl_vector_int = {"_p_gsl_vector_int", "gsl_vector_int *", 0, 0, (void*)0, 0};
20910 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
20911 static swig_type_info _swigt__p_long_double = {"_p_long_double", "long double *", 0, 0, (void*)0, 0};
20912 static swig_type_info _swigt__p_size_t = {"_p_size_t", "size_t *", 0, 0, (void*)0, 0};
20913 
20914 static swig_type_info *swig_type_initial[] = {
20915   &_swigt__p_CBLAS_DIAG,
20916   &_swigt__p_CBLAS_INDEX,
20917   &_swigt__p_CBLAS_ORDER,
20918   &_swigt__p_CBLAS_SIDE,
20919   &_swigt__p_CBLAS_TRANSPOSE,
20920   &_swigt__p_CBLAS_UPLO,
20921   &_swigt__p_FILE,
20922   &_swigt__p__gsl_matrix_char_const_view,
20923   &_swigt__p__gsl_matrix_char_view,
20924   &_swigt__p__gsl_matrix_complex_const_view,
20925   &_swigt__p__gsl_matrix_complex_view,
20926   &_swigt__p__gsl_matrix_const_view,
20927   &_swigt__p__gsl_matrix_int_const_view,
20928   &_swigt__p__gsl_matrix_int_view,
20929   &_swigt__p__gsl_matrix_view,
20930   &_swigt__p__gsl_vector_char_const_view,
20931   &_swigt__p__gsl_vector_char_view,
20932   &_swigt__p__gsl_vector_complex_const_view,
20933   &_swigt__p__gsl_vector_complex_view,
20934   &_swigt__p__gsl_vector_const_view,
20935   &_swigt__p__gsl_vector_int_const_view,
20936   &_swigt__p__gsl_vector_int_view,
20937   &_swigt__p__gsl_vector_view,
20938   &_swigt__p_char,
20939   &_swigt__p_double,
20940   &_swigt__p_f_p_q_const__char_p_q_const__char_int_int__void,
20941   &_swigt__p_f_p_q_const__char_p_q_const__char_int_p_q_const__char__void,
20942   &_swigt__p_float,
20943   &_swigt__p_gsl_block,
20944   &_swigt__p_gsl_block_char,
20945   &_swigt__p_gsl_block_complex,
20946   &_swigt__p_gsl_block_int,
20947   &_swigt__p_gsl_complex,
20948   &_swigt__p_gsl_complex_float,
20949   &_swigt__p_gsl_complex_long_double,
20950   &_swigt__p_gsl_matrix,
20951   &_swigt__p_gsl_matrix_char,
20952   &_swigt__p_gsl_matrix_complex,
20953   &_swigt__p_gsl_matrix_int,
20954   &_swigt__p_gsl_vector,
20955   &_swigt__p_gsl_vector_char,
20956   &_swigt__p_gsl_vector_complex,
20957   &_swigt__p_gsl_vector_int,
20958   &_swigt__p_int,
20959   &_swigt__p_long_double,
20960   &_swigt__p_size_t,
20961 };
20962 
20963 static swig_cast_info _swigc__p_CBLAS_DIAG[] = {  {&_swigt__p_CBLAS_DIAG, 0, 0, 0},{0, 0, 0, 0}};
20964 static swig_cast_info _swigc__p_CBLAS_INDEX[] = {  {&_swigt__p_CBLAS_INDEX, 0, 0, 0},{0, 0, 0, 0}};
20965 static swig_cast_info _swigc__p_CBLAS_ORDER[] = {  {&_swigt__p_CBLAS_ORDER, 0, 0, 0},{0, 0, 0, 0}};
20966 static swig_cast_info _swigc__p_CBLAS_SIDE[] = {  {&_swigt__p_CBLAS_SIDE, 0, 0, 0},{0, 0, 0, 0}};
20967 static swig_cast_info _swigc__p_CBLAS_TRANSPOSE[] = {  {&_swigt__p_CBLAS_TRANSPOSE, 0, 0, 0},{0, 0, 0, 0}};
20968 static swig_cast_info _swigc__p_CBLAS_UPLO[] = {  {&_swigt__p_CBLAS_UPLO, 0, 0, 0},{0, 0, 0, 0}};
20969 static swig_cast_info _swigc__p_FILE[] = {  {&_swigt__p_FILE, 0, 0, 0},{0, 0, 0, 0}};
20970 static swig_cast_info _swigc__p__gsl_matrix_char_const_view[] = {  {&_swigt__p__gsl_matrix_char_const_view, 0, 0, 0},{0, 0, 0, 0}};
20971 static swig_cast_info _swigc__p__gsl_matrix_char_view[] = {  {&_swigt__p__gsl_matrix_char_view, 0, 0, 0},{0, 0, 0, 0}};
20972 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}};
20973 static swig_cast_info _swigc__p__gsl_matrix_complex_view[] = {  {&_swigt__p__gsl_matrix_complex_view, 0, 0, 0},{0, 0, 0, 0}};
20974 static swig_cast_info _swigc__p__gsl_matrix_const_view[] = {  {&_swigt__p__gsl_matrix_const_view, 0, 0, 0},{0, 0, 0, 0}};
20975 static swig_cast_info _swigc__p__gsl_matrix_int_const_view[] = {  {&_swigt__p__gsl_matrix_int_const_view, 0, 0, 0},{0, 0, 0, 0}};
20976 static swig_cast_info _swigc__p__gsl_matrix_int_view[] = {  {&_swigt__p__gsl_matrix_int_view, 0, 0, 0},{0, 0, 0, 0}};
20977 static swig_cast_info _swigc__p__gsl_matrix_view[] = {  {&_swigt__p__gsl_matrix_view, 0, 0, 0},{0, 0, 0, 0}};
20978 static swig_cast_info _swigc__p__gsl_vector_char_const_view[] = {  {&_swigt__p__gsl_vector_char_const_view, 0, 0, 0},{0, 0, 0, 0}};
20979 static swig_cast_info _swigc__p__gsl_vector_char_view[] = {  {&_swigt__p__gsl_vector_char_view, 0, 0, 0},{0, 0, 0, 0}};
20980 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}};
20981 static swig_cast_info _swigc__p__gsl_vector_complex_view[] = {  {&_swigt__p__gsl_vector_complex_view, 0, 0, 0},{0, 0, 0, 0}};
20982 static swig_cast_info _swigc__p__gsl_vector_const_view[] = {  {&_swigt__p__gsl_vector_const_view, 0, 0, 0},{0, 0, 0, 0}};
20983 static swig_cast_info _swigc__p__gsl_vector_int_const_view[] = {  {&_swigt__p__gsl_vector_int_const_view, 0, 0, 0},{0, 0, 0, 0}};
20984 static swig_cast_info _swigc__p__gsl_vector_int_view[] = {  {&_swigt__p__gsl_vector_int_view, 0, 0, 0},{0, 0, 0, 0}};
20985 static swig_cast_info _swigc__p__gsl_vector_view[] = {  {&_swigt__p__gsl_vector_view, 0, 0, 0},{0, 0, 0, 0}};
20986 static swig_cast_info _swigc__p_char[] = {  {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
20987 static swig_cast_info _swigc__p_double[] = {  {&_swigt__p_double, 0, 0, 0},{0, 0, 0, 0}};
20988 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}};
20989 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}};
20990 static swig_cast_info _swigc__p_float[] = {  {&_swigt__p_float, 0, 0, 0},{0, 0, 0, 0}};
20991 static swig_cast_info _swigc__p_gsl_block[] = {  {&_swigt__p_gsl_block, 0, 0, 0},{0, 0, 0, 0}};
20992 static swig_cast_info _swigc__p_gsl_block_char[] = {  {&_swigt__p_gsl_block_char, 0, 0, 0},{0, 0, 0, 0}};
20993 static swig_cast_info _swigc__p_gsl_block_complex[] = {  {&_swigt__p_gsl_block_complex, 0, 0, 0},{0, 0, 0, 0}};
20994 static swig_cast_info _swigc__p_gsl_block_int[] = {  {&_swigt__p_gsl_block_int, 0, 0, 0},{0, 0, 0, 0}};
20995 static swig_cast_info _swigc__p_gsl_complex[] = {  {&_swigt__p_gsl_complex, 0, 0, 0},{0, 0, 0, 0}};
20996 static swig_cast_info _swigc__p_gsl_complex_float[] = {  {&_swigt__p_gsl_complex_float, 0, 0, 0},{0, 0, 0, 0}};
20997 static swig_cast_info _swigc__p_gsl_complex_long_double[] = {  {&_swigt__p_gsl_complex_long_double, 0, 0, 0},{0, 0, 0, 0}};
20998 static swig_cast_info _swigc__p_gsl_matrix[] = {  {&_swigt__p_gsl_matrix, 0, 0, 0},{0, 0, 0, 0}};
20999 static swig_cast_info _swigc__p_gsl_matrix_char[] = {  {&_swigt__p_gsl_matrix_char, 0, 0, 0},{0, 0, 0, 0}};
21000 static swig_cast_info _swigc__p_gsl_matrix_complex[] = {  {&_swigt__p_gsl_matrix_complex, 0, 0, 0},{0, 0, 0, 0}};
21001 static swig_cast_info _swigc__p_gsl_matrix_int[] = {  {&_swigt__p_gsl_matrix_int, 0, 0, 0},{0, 0, 0, 0}};
21002 static swig_cast_info _swigc__p_gsl_vector[] = {  {&_swigt__p_gsl_vector, 0, 0, 0},{0, 0, 0, 0}};
21003 static swig_cast_info _swigc__p_gsl_vector_char[] = {  {&_swigt__p_gsl_vector_char, 0, 0, 0},{0, 0, 0, 0}};
21004 static swig_cast_info _swigc__p_gsl_vector_complex[] = {  {&_swigt__p_gsl_vector_complex, 0, 0, 0},{0, 0, 0, 0}};
21005 static swig_cast_info _swigc__p_gsl_vector_int[] = {  {&_swigt__p_gsl_vector_int, 0, 0, 0},{0, 0, 0, 0}};
21006 static swig_cast_info _swigc__p_int[] = {  {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
21007 static swig_cast_info _swigc__p_long_double[] = {  {&_swigt__p_long_double, 0, 0, 0},{0, 0, 0, 0}};
21008 static swig_cast_info _swigc__p_size_t[] = {  {&_swigt__p_size_t, 0, 0, 0},{0, 0, 0, 0}};
21009 
21010 static swig_cast_info *swig_cast_initial[] = {
21011   _swigc__p_CBLAS_DIAG,
21012   _swigc__p_CBLAS_INDEX,
21013   _swigc__p_CBLAS_ORDER,
21014   _swigc__p_CBLAS_SIDE,
21015   _swigc__p_CBLAS_TRANSPOSE,
21016   _swigc__p_CBLAS_UPLO,
21017   _swigc__p_FILE,
21018   _swigc__p__gsl_matrix_char_const_view,
21019   _swigc__p__gsl_matrix_char_view,
21020   _swigc__p__gsl_matrix_complex_const_view,
21021   _swigc__p__gsl_matrix_complex_view,
21022   _swigc__p__gsl_matrix_const_view,
21023   _swigc__p__gsl_matrix_int_const_view,
21024   _swigc__p__gsl_matrix_int_view,
21025   _swigc__p__gsl_matrix_view,
21026   _swigc__p__gsl_vector_char_const_view,
21027   _swigc__p__gsl_vector_char_view,
21028   _swigc__p__gsl_vector_complex_const_view,
21029   _swigc__p__gsl_vector_complex_view,
21030   _swigc__p__gsl_vector_const_view,
21031   _swigc__p__gsl_vector_int_const_view,
21032   _swigc__p__gsl_vector_int_view,
21033   _swigc__p__gsl_vector_view,
21034   _swigc__p_char,
21035   _swigc__p_double,
21036   _swigc__p_f_p_q_const__char_p_q_const__char_int_int__void,
21037   _swigc__p_f_p_q_const__char_p_q_const__char_int_p_q_const__char__void,
21038   _swigc__p_float,
21039   _swigc__p_gsl_block,
21040   _swigc__p_gsl_block_char,
21041   _swigc__p_gsl_block_complex,
21042   _swigc__p_gsl_block_int,
21043   _swigc__p_gsl_complex,
21044   _swigc__p_gsl_complex_float,
21045   _swigc__p_gsl_complex_long_double,
21046   _swigc__p_gsl_matrix,
21047   _swigc__p_gsl_matrix_char,
21048   _swigc__p_gsl_matrix_complex,
21049   _swigc__p_gsl_matrix_int,
21050   _swigc__p_gsl_vector,
21051   _swigc__p_gsl_vector_char,
21052   _swigc__p_gsl_vector_complex,
21053   _swigc__p_gsl_vector_int,
21054   _swigc__p_int,
21055   _swigc__p_long_double,
21056   _swigc__p_size_t,
21057 };
21058 
21059 
21060 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
21061 
21062 static swig_constant_info swig_constants[] = {
21063 {0,0,0,0,0,0}
21064 };
21065 #ifdef __cplusplus
21066 }
21067 #endif
21068 static swig_variable_info swig_variables[] = {
21069 {0,0,0,0}
21070 };
21071 static swig_command_info swig_commands[] = {
21072 {"Math::GSL::Matrixc::gsl_error", _wrap_gsl_error},
21073 {"Math::GSL::Matrixc::gsl_stream_printf", _wrap_gsl_stream_printf},
21074 {"Math::GSL::Matrixc::gsl_strerror", _wrap_gsl_strerror},
21075 {"Math::GSL::Matrixc::gsl_set_error_handler", _wrap_gsl_set_error_handler},
21076 {"Math::GSL::Matrixc::gsl_set_error_handler_off", _wrap_gsl_set_error_handler_off},
21077 {"Math::GSL::Matrixc::gsl_set_stream_handler", _wrap_gsl_set_stream_handler},
21078 {"Math::GSL::Matrixc::gsl_set_stream", _wrap_gsl_set_stream},
21079 {"Math::GSL::Matrixc::gsl_complex_dat_set", _wrap_gsl_complex_dat_set},
21080 {"Math::GSL::Matrixc::gsl_complex_dat_get", _wrap_gsl_complex_dat_get},
21081 {"Math::GSL::Matrixc::new_gsl_complex", _wrap_new_gsl_complex},
21082 {"Math::GSL::Matrixc::delete_gsl_complex", _wrap_delete_gsl_complex},
21083 {"Math::GSL::Matrixc::gsl_complex_long_double_dat_set", _wrap_gsl_complex_long_double_dat_set},
21084 {"Math::GSL::Matrixc::gsl_complex_long_double_dat_get", _wrap_gsl_complex_long_double_dat_get},
21085 {"Math::GSL::Matrixc::new_gsl_complex_long_double", _wrap_new_gsl_complex_long_double},
21086 {"Math::GSL::Matrixc::delete_gsl_complex_long_double", _wrap_delete_gsl_complex_long_double},
21087 {"Math::GSL::Matrixc::gsl_complex_float_dat_set", _wrap_gsl_complex_float_dat_set},
21088 {"Math::GSL::Matrixc::gsl_complex_float_dat_get", _wrap_gsl_complex_float_dat_get},
21089 {"Math::GSL::Matrixc::new_gsl_complex_float", _wrap_new_gsl_complex_float},
21090 {"Math::GSL::Matrixc::delete_gsl_complex_float", _wrap_delete_gsl_complex_float},
21091 {"Math::GSL::Matrixc::gsl_vector_size_set", _wrap_gsl_vector_size_set},
21092 {"Math::GSL::Matrixc::gsl_vector_size_get", _wrap_gsl_vector_size_get},
21093 {"Math::GSL::Matrixc::gsl_vector_stride_set", _wrap_gsl_vector_stride_set},
21094 {"Math::GSL::Matrixc::gsl_vector_stride_get", _wrap_gsl_vector_stride_get},
21095 {"Math::GSL::Matrixc::gsl_vector_data_set", _wrap_gsl_vector_data_set},
21096 {"Math::GSL::Matrixc::gsl_vector_data_get", _wrap_gsl_vector_data_get},
21097 {"Math::GSL::Matrixc::gsl_vector_block_set", _wrap_gsl_vector_block_set},
21098 {"Math::GSL::Matrixc::gsl_vector_block_get", _wrap_gsl_vector_block_get},
21099 {"Math::GSL::Matrixc::gsl_vector_owner_set", _wrap_gsl_vector_owner_set},
21100 {"Math::GSL::Matrixc::gsl_vector_owner_get", _wrap_gsl_vector_owner_get},
21101 {"Math::GSL::Matrixc::new_gsl_vector", _wrap_new_gsl_vector},
21102 {"Math::GSL::Matrixc::delete_gsl_vector", _wrap_delete_gsl_vector},
21103 {"Math::GSL::Matrixc::_gsl_vector_view_vector_set", _wrap__gsl_vector_view_vector_set},
21104 {"Math::GSL::Matrixc::_gsl_vector_view_vector_get", _wrap__gsl_vector_view_vector_get},
21105 {"Math::GSL::Matrixc::new__gsl_vector_view", _wrap_new__gsl_vector_view},
21106 {"Math::GSL::Matrixc::delete__gsl_vector_view", _wrap_delete__gsl_vector_view},
21107 {"Math::GSL::Matrixc::_gsl_vector_const_view_vector_set", _wrap__gsl_vector_const_view_vector_set},
21108 {"Math::GSL::Matrixc::_gsl_vector_const_view_vector_get", _wrap__gsl_vector_const_view_vector_get},
21109 {"Math::GSL::Matrixc::new__gsl_vector_const_view", _wrap_new__gsl_vector_const_view},
21110 {"Math::GSL::Matrixc::delete__gsl_vector_const_view", _wrap_delete__gsl_vector_const_view},
21111 {"Math::GSL::Matrixc::gsl_vector_alloc", _wrap_gsl_vector_alloc},
21112 {"Math::GSL::Matrixc::gsl_vector_calloc", _wrap_gsl_vector_calloc},
21113 {"Math::GSL::Matrixc::gsl_vector_alloc_from_block", _wrap_gsl_vector_alloc_from_block},
21114 {"Math::GSL::Matrixc::gsl_vector_alloc_from_vector", _wrap_gsl_vector_alloc_from_vector},
21115 {"Math::GSL::Matrixc::gsl_vector_free", _wrap_gsl_vector_free},
21116 {"Math::GSL::Matrixc::gsl_vector_view_array", _wrap_gsl_vector_view_array},
21117 {"Math::GSL::Matrixc::gsl_vector_view_array_with_stride", _wrap_gsl_vector_view_array_with_stride},
21118 {"Math::GSL::Matrixc::gsl_vector_const_view_array", _wrap_gsl_vector_const_view_array},
21119 {"Math::GSL::Matrixc::gsl_vector_const_view_array_with_stride", _wrap_gsl_vector_const_view_array_with_stride},
21120 {"Math::GSL::Matrixc::gsl_vector_subvector", _wrap_gsl_vector_subvector},
21121 {"Math::GSL::Matrixc::gsl_vector_subvector_with_stride", _wrap_gsl_vector_subvector_with_stride},
21122 {"Math::GSL::Matrixc::gsl_vector_const_subvector", _wrap_gsl_vector_const_subvector},
21123 {"Math::GSL::Matrixc::gsl_vector_const_subvector_with_stride", _wrap_gsl_vector_const_subvector_with_stride},
21124 {"Math::GSL::Matrixc::gsl_vector_set_zero", _wrap_gsl_vector_set_zero},
21125 {"Math::GSL::Matrixc::gsl_vector_set_all", _wrap_gsl_vector_set_all},
21126 {"Math::GSL::Matrixc::gsl_vector_set_basis", _wrap_gsl_vector_set_basis},
21127 {"Math::GSL::Matrixc::gsl_vector_fread", _wrap_gsl_vector_fread},
21128 {"Math::GSL::Matrixc::gsl_vector_fwrite", _wrap_gsl_vector_fwrite},
21129 {"Math::GSL::Matrixc::gsl_vector_fscanf", _wrap_gsl_vector_fscanf},
21130 {"Math::GSL::Matrixc::gsl_vector_fprintf", _wrap_gsl_vector_fprintf},
21131 {"Math::GSL::Matrixc::gsl_vector_memcpy", _wrap_gsl_vector_memcpy},
21132 {"Math::GSL::Matrixc::gsl_vector_reverse", _wrap_gsl_vector_reverse},
21133 {"Math::GSL::Matrixc::gsl_vector_swap", _wrap_gsl_vector_swap},
21134 {"Math::GSL::Matrixc::gsl_vector_swap_elements", _wrap_gsl_vector_swap_elements},
21135 {"Math::GSL::Matrixc::gsl_vector_max", _wrap_gsl_vector_max},
21136 {"Math::GSL::Matrixc::gsl_vector_min", _wrap_gsl_vector_min},
21137 {"Math::GSL::Matrixc::gsl_vector_minmax", _wrap_gsl_vector_minmax},
21138 {"Math::GSL::Matrixc::gsl_vector_max_index", _wrap_gsl_vector_max_index},
21139 {"Math::GSL::Matrixc::gsl_vector_min_index", _wrap_gsl_vector_min_index},
21140 {"Math::GSL::Matrixc::gsl_vector_minmax_index", _wrap_gsl_vector_minmax_index},
21141 {"Math::GSL::Matrixc::gsl_vector_add", _wrap_gsl_vector_add},
21142 {"Math::GSL::Matrixc::gsl_vector_sub", _wrap_gsl_vector_sub},
21143 {"Math::GSL::Matrixc::gsl_vector_mul", _wrap_gsl_vector_mul},
21144 {"Math::GSL::Matrixc::gsl_vector_div", _wrap_gsl_vector_div},
21145 {"Math::GSL::Matrixc::gsl_vector_scale", _wrap_gsl_vector_scale},
21146 {"Math::GSL::Matrixc::gsl_vector_add_constant", _wrap_gsl_vector_add_constant},
21147 {"Math::GSL::Matrixc::gsl_vector_equal", _wrap_gsl_vector_equal},
21148 {"Math::GSL::Matrixc::gsl_vector_isnull", _wrap_gsl_vector_isnull},
21149 {"Math::GSL::Matrixc::gsl_vector_ispos", _wrap_gsl_vector_ispos},
21150 {"Math::GSL::Matrixc::gsl_vector_isneg", _wrap_gsl_vector_isneg},
21151 {"Math::GSL::Matrixc::gsl_vector_isnonneg", _wrap_gsl_vector_isnonneg},
21152 {"Math::GSL::Matrixc::gsl_vector_get", _wrap_gsl_vector_get},
21153 {"Math::GSL::Matrixc::gsl_vector_set", _wrap_gsl_vector_set},
21154 {"Math::GSL::Matrixc::gsl_vector_ptr", _wrap_gsl_vector_ptr},
21155 {"Math::GSL::Matrixc::gsl_vector_const_ptr", _wrap_gsl_vector_const_ptr},
21156 {"Math::GSL::Matrixc::gsl_matrix_size1_set", _wrap_gsl_matrix_size1_set},
21157 {"Math::GSL::Matrixc::gsl_matrix_size1_get", _wrap_gsl_matrix_size1_get},
21158 {"Math::GSL::Matrixc::gsl_matrix_size2_set", _wrap_gsl_matrix_size2_set},
21159 {"Math::GSL::Matrixc::gsl_matrix_size2_get", _wrap_gsl_matrix_size2_get},
21160 {"Math::GSL::Matrixc::gsl_matrix_tda_set", _wrap_gsl_matrix_tda_set},
21161 {"Math::GSL::Matrixc::gsl_matrix_tda_get", _wrap_gsl_matrix_tda_get},
21162 {"Math::GSL::Matrixc::gsl_matrix_data_set", _wrap_gsl_matrix_data_set},
21163 {"Math::GSL::Matrixc::gsl_matrix_data_get", _wrap_gsl_matrix_data_get},
21164 {"Math::GSL::Matrixc::gsl_matrix_block_set", _wrap_gsl_matrix_block_set},
21165 {"Math::GSL::Matrixc::gsl_matrix_block_get", _wrap_gsl_matrix_block_get},
21166 {"Math::GSL::Matrixc::gsl_matrix_owner_set", _wrap_gsl_matrix_owner_set},
21167 {"Math::GSL::Matrixc::gsl_matrix_owner_get", _wrap_gsl_matrix_owner_get},
21168 {"Math::GSL::Matrixc::new_gsl_matrix", _wrap_new_gsl_matrix},
21169 {"Math::GSL::Matrixc::delete_gsl_matrix", _wrap_delete_gsl_matrix},
21170 {"Math::GSL::Matrixc::_gsl_matrix_view_matrix_set", _wrap__gsl_matrix_view_matrix_set},
21171 {"Math::GSL::Matrixc::_gsl_matrix_view_matrix_get", _wrap__gsl_matrix_view_matrix_get},
21172 {"Math::GSL::Matrixc::new__gsl_matrix_view", _wrap_new__gsl_matrix_view},
21173 {"Math::GSL::Matrixc::delete__gsl_matrix_view", _wrap_delete__gsl_matrix_view},
21174 {"Math::GSL::Matrixc::_gsl_matrix_const_view_matrix_set", _wrap__gsl_matrix_const_view_matrix_set},
21175 {"Math::GSL::Matrixc::_gsl_matrix_const_view_matrix_get", _wrap__gsl_matrix_const_view_matrix_get},
21176 {"Math::GSL::Matrixc::new__gsl_matrix_const_view", _wrap_new__gsl_matrix_const_view},
21177 {"Math::GSL::Matrixc::delete__gsl_matrix_const_view", _wrap_delete__gsl_matrix_const_view},
21178 {"Math::GSL::Matrixc::gsl_matrix_alloc", _wrap_gsl_matrix_alloc},
21179 {"Math::GSL::Matrixc::gsl_matrix_calloc", _wrap_gsl_matrix_calloc},
21180 {"Math::GSL::Matrixc::gsl_matrix_alloc_from_block", _wrap_gsl_matrix_alloc_from_block},
21181 {"Math::GSL::Matrixc::gsl_matrix_alloc_from_matrix", _wrap_gsl_matrix_alloc_from_matrix},
21182 {"Math::GSL::Matrixc::gsl_vector_alloc_row_from_matrix", _wrap_gsl_vector_alloc_row_from_matrix},
21183 {"Math::GSL::Matrixc::gsl_vector_alloc_col_from_matrix", _wrap_gsl_vector_alloc_col_from_matrix},
21184 {"Math::GSL::Matrixc::gsl_matrix_free", _wrap_gsl_matrix_free},
21185 {"Math::GSL::Matrixc::gsl_matrix_submatrix", _wrap_gsl_matrix_submatrix},
21186 {"Math::GSL::Matrixc::gsl_matrix_row", _wrap_gsl_matrix_row},
21187 {"Math::GSL::Matrixc::gsl_matrix_column", _wrap_gsl_matrix_column},
21188 {"Math::GSL::Matrixc::gsl_matrix_diagonal", _wrap_gsl_matrix_diagonal},
21189 {"Math::GSL::Matrixc::gsl_matrix_subdiagonal", _wrap_gsl_matrix_subdiagonal},
21190 {"Math::GSL::Matrixc::gsl_matrix_superdiagonal", _wrap_gsl_matrix_superdiagonal},
21191 {"Math::GSL::Matrixc::gsl_matrix_subrow", _wrap_gsl_matrix_subrow},
21192 {"Math::GSL::Matrixc::gsl_matrix_subcolumn", _wrap_gsl_matrix_subcolumn},
21193 {"Math::GSL::Matrixc::gsl_matrix_view_array", _wrap_gsl_matrix_view_array},
21194 {"Math::GSL::Matrixc::gsl_matrix_view_array_with_tda", _wrap_gsl_matrix_view_array_with_tda},
21195 {"Math::GSL::Matrixc::gsl_matrix_view_vector", _wrap_gsl_matrix_view_vector},
21196 {"Math::GSL::Matrixc::gsl_matrix_view_vector_with_tda", _wrap_gsl_matrix_view_vector_with_tda},
21197 {"Math::GSL::Matrixc::gsl_matrix_const_submatrix", _wrap_gsl_matrix_const_submatrix},
21198 {"Math::GSL::Matrixc::gsl_matrix_const_row", _wrap_gsl_matrix_const_row},
21199 {"Math::GSL::Matrixc::gsl_matrix_const_column", _wrap_gsl_matrix_const_column},
21200 {"Math::GSL::Matrixc::gsl_matrix_const_diagonal", _wrap_gsl_matrix_const_diagonal},
21201 {"Math::GSL::Matrixc::gsl_matrix_const_subdiagonal", _wrap_gsl_matrix_const_subdiagonal},
21202 {"Math::GSL::Matrixc::gsl_matrix_const_superdiagonal", _wrap_gsl_matrix_const_superdiagonal},
21203 {"Math::GSL::Matrixc::gsl_matrix_const_subrow", _wrap_gsl_matrix_const_subrow},
21204 {"Math::GSL::Matrixc::gsl_matrix_const_subcolumn", _wrap_gsl_matrix_const_subcolumn},
21205 {"Math::GSL::Matrixc::gsl_matrix_const_view_array", _wrap_gsl_matrix_const_view_array},
21206 {"Math::GSL::Matrixc::gsl_matrix_const_view_array_with_tda", _wrap_gsl_matrix_const_view_array_with_tda},
21207 {"Math::GSL::Matrixc::gsl_matrix_const_view_vector", _wrap_gsl_matrix_const_view_vector},
21208 {"Math::GSL::Matrixc::gsl_matrix_const_view_vector_with_tda", _wrap_gsl_matrix_const_view_vector_with_tda},
21209 {"Math::GSL::Matrixc::gsl_matrix_set_zero", _wrap_gsl_matrix_set_zero},
21210 {"Math::GSL::Matrixc::gsl_matrix_set_identity", _wrap_gsl_matrix_set_identity},
21211 {"Math::GSL::Matrixc::gsl_matrix_set_all", _wrap_gsl_matrix_set_all},
21212 {"Math::GSL::Matrixc::gsl_matrix_fread", _wrap_gsl_matrix_fread},
21213 {"Math::GSL::Matrixc::gsl_matrix_fwrite", _wrap_gsl_matrix_fwrite},
21214 {"Math::GSL::Matrixc::gsl_matrix_fscanf", _wrap_gsl_matrix_fscanf},
21215 {"Math::GSL::Matrixc::gsl_matrix_fprintf", _wrap_gsl_matrix_fprintf},
21216 {"Math::GSL::Matrixc::gsl_matrix_memcpy", _wrap_gsl_matrix_memcpy},
21217 {"Math::GSL::Matrixc::gsl_matrix_swap", _wrap_gsl_matrix_swap},
21218 {"Math::GSL::Matrixc::gsl_matrix_tricpy", _wrap_gsl_matrix_tricpy},
21219 {"Math::GSL::Matrixc::gsl_matrix_swap_rows", _wrap_gsl_matrix_swap_rows},
21220 {"Math::GSL::Matrixc::gsl_matrix_swap_columns", _wrap_gsl_matrix_swap_columns},
21221 {"Math::GSL::Matrixc::gsl_matrix_swap_rowcol", _wrap_gsl_matrix_swap_rowcol},
21222 {"Math::GSL::Matrixc::gsl_matrix_transpose", _wrap_gsl_matrix_transpose},
21223 {"Math::GSL::Matrixc::gsl_matrix_transpose_memcpy", _wrap_gsl_matrix_transpose_memcpy},
21224 {"Math::GSL::Matrixc::gsl_matrix_transpose_tricpy", _wrap_gsl_matrix_transpose_tricpy},
21225 {"Math::GSL::Matrixc::gsl_matrix_max", _wrap_gsl_matrix_max},
21226 {"Math::GSL::Matrixc::gsl_matrix_min", _wrap_gsl_matrix_min},
21227 {"Math::GSL::Matrixc::gsl_matrix_minmax", _wrap_gsl_matrix_minmax},
21228 {"Math::GSL::Matrixc::gsl_matrix_max_index", _wrap_gsl_matrix_max_index},
21229 {"Math::GSL::Matrixc::gsl_matrix_min_index", _wrap_gsl_matrix_min_index},
21230 {"Math::GSL::Matrixc::gsl_matrix_minmax_index", _wrap_gsl_matrix_minmax_index},
21231 {"Math::GSL::Matrixc::gsl_matrix_equal", _wrap_gsl_matrix_equal},
21232 {"Math::GSL::Matrixc::gsl_matrix_isnull", _wrap_gsl_matrix_isnull},
21233 {"Math::GSL::Matrixc::gsl_matrix_ispos", _wrap_gsl_matrix_ispos},
21234 {"Math::GSL::Matrixc::gsl_matrix_isneg", _wrap_gsl_matrix_isneg},
21235 {"Math::GSL::Matrixc::gsl_matrix_isnonneg", _wrap_gsl_matrix_isnonneg},
21236 {"Math::GSL::Matrixc::gsl_matrix_add", _wrap_gsl_matrix_add},
21237 {"Math::GSL::Matrixc::gsl_matrix_sub", _wrap_gsl_matrix_sub},
21238 {"Math::GSL::Matrixc::gsl_matrix_mul_elements", _wrap_gsl_matrix_mul_elements},
21239 {"Math::GSL::Matrixc::gsl_matrix_div_elements", _wrap_gsl_matrix_div_elements},
21240 {"Math::GSL::Matrixc::gsl_matrix_scale", _wrap_gsl_matrix_scale},
21241 {"Math::GSL::Matrixc::gsl_matrix_add_constant", _wrap_gsl_matrix_add_constant},
21242 {"Math::GSL::Matrixc::gsl_matrix_add_diagonal", _wrap_gsl_matrix_add_diagonal},
21243 {"Math::GSL::Matrixc::gsl_matrix_get_row", _wrap_gsl_matrix_get_row},
21244 {"Math::GSL::Matrixc::gsl_matrix_get_col", _wrap_gsl_matrix_get_col},
21245 {"Math::GSL::Matrixc::gsl_matrix_set_row", _wrap_gsl_matrix_set_row},
21246 {"Math::GSL::Matrixc::gsl_matrix_set_col", _wrap_gsl_matrix_set_col},
21247 {"Math::GSL::Matrixc::gsl_matrix_get", _wrap_gsl_matrix_get},
21248 {"Math::GSL::Matrixc::gsl_matrix_set", _wrap_gsl_matrix_set},
21249 {"Math::GSL::Matrixc::gsl_matrix_ptr", _wrap_gsl_matrix_ptr},
21250 {"Math::GSL::Matrixc::gsl_matrix_const_ptr", _wrap_gsl_matrix_const_ptr},
21251 {"Math::GSL::Matrixc::gsl_matrix_int_size1_set", _wrap_gsl_matrix_int_size1_set},
21252 {"Math::GSL::Matrixc::gsl_matrix_int_size1_get", _wrap_gsl_matrix_int_size1_get},
21253 {"Math::GSL::Matrixc::gsl_matrix_int_size2_set", _wrap_gsl_matrix_int_size2_set},
21254 {"Math::GSL::Matrixc::gsl_matrix_int_size2_get", _wrap_gsl_matrix_int_size2_get},
21255 {"Math::GSL::Matrixc::gsl_matrix_int_tda_set", _wrap_gsl_matrix_int_tda_set},
21256 {"Math::GSL::Matrixc::gsl_matrix_int_tda_get", _wrap_gsl_matrix_int_tda_get},
21257 {"Math::GSL::Matrixc::gsl_matrix_int_data_set", _wrap_gsl_matrix_int_data_set},
21258 {"Math::GSL::Matrixc::gsl_matrix_int_data_get", _wrap_gsl_matrix_int_data_get},
21259 {"Math::GSL::Matrixc::gsl_matrix_int_block_set", _wrap_gsl_matrix_int_block_set},
21260 {"Math::GSL::Matrixc::gsl_matrix_int_block_get", _wrap_gsl_matrix_int_block_get},
21261 {"Math::GSL::Matrixc::gsl_matrix_int_owner_set", _wrap_gsl_matrix_int_owner_set},
21262 {"Math::GSL::Matrixc::gsl_matrix_int_owner_get", _wrap_gsl_matrix_int_owner_get},
21263 {"Math::GSL::Matrixc::new_gsl_matrix_int", _wrap_new_gsl_matrix_int},
21264 {"Math::GSL::Matrixc::delete_gsl_matrix_int", _wrap_delete_gsl_matrix_int},
21265 {"Math::GSL::Matrixc::_gsl_matrix_int_view_matrix_set", _wrap__gsl_matrix_int_view_matrix_set},
21266 {"Math::GSL::Matrixc::_gsl_matrix_int_view_matrix_get", _wrap__gsl_matrix_int_view_matrix_get},
21267 {"Math::GSL::Matrixc::new__gsl_matrix_int_view", _wrap_new__gsl_matrix_int_view},
21268 {"Math::GSL::Matrixc::delete__gsl_matrix_int_view", _wrap_delete__gsl_matrix_int_view},
21269 {"Math::GSL::Matrixc::_gsl_matrix_int_const_view_matrix_set", _wrap__gsl_matrix_int_const_view_matrix_set},
21270 {"Math::GSL::Matrixc::_gsl_matrix_int_const_view_matrix_get", _wrap__gsl_matrix_int_const_view_matrix_get},
21271 {"Math::GSL::Matrixc::new__gsl_matrix_int_const_view", _wrap_new__gsl_matrix_int_const_view},
21272 {"Math::GSL::Matrixc::delete__gsl_matrix_int_const_view", _wrap_delete__gsl_matrix_int_const_view},
21273 {"Math::GSL::Matrixc::gsl_matrix_int_alloc", _wrap_gsl_matrix_int_alloc},
21274 {"Math::GSL::Matrixc::gsl_matrix_int_calloc", _wrap_gsl_matrix_int_calloc},
21275 {"Math::GSL::Matrixc::gsl_matrix_int_alloc_from_block", _wrap_gsl_matrix_int_alloc_from_block},
21276 {"Math::GSL::Matrixc::gsl_matrix_int_alloc_from_matrix", _wrap_gsl_matrix_int_alloc_from_matrix},
21277 {"Math::GSL::Matrixc::gsl_vector_int_alloc_row_from_matrix", _wrap_gsl_vector_int_alloc_row_from_matrix},
21278 {"Math::GSL::Matrixc::gsl_vector_int_alloc_col_from_matrix", _wrap_gsl_vector_int_alloc_col_from_matrix},
21279 {"Math::GSL::Matrixc::gsl_matrix_int_free", _wrap_gsl_matrix_int_free},
21280 {"Math::GSL::Matrixc::gsl_matrix_int_submatrix", _wrap_gsl_matrix_int_submatrix},
21281 {"Math::GSL::Matrixc::gsl_matrix_int_row", _wrap_gsl_matrix_int_row},
21282 {"Math::GSL::Matrixc::gsl_matrix_int_column", _wrap_gsl_matrix_int_column},
21283 {"Math::GSL::Matrixc::gsl_matrix_int_diagonal", _wrap_gsl_matrix_int_diagonal},
21284 {"Math::GSL::Matrixc::gsl_matrix_int_subdiagonal", _wrap_gsl_matrix_int_subdiagonal},
21285 {"Math::GSL::Matrixc::gsl_matrix_int_superdiagonal", _wrap_gsl_matrix_int_superdiagonal},
21286 {"Math::GSL::Matrixc::gsl_matrix_int_subrow", _wrap_gsl_matrix_int_subrow},
21287 {"Math::GSL::Matrixc::gsl_matrix_int_subcolumn", _wrap_gsl_matrix_int_subcolumn},
21288 {"Math::GSL::Matrixc::gsl_matrix_int_view_array", _wrap_gsl_matrix_int_view_array},
21289 {"Math::GSL::Matrixc::gsl_matrix_int_view_array_with_tda", _wrap_gsl_matrix_int_view_array_with_tda},
21290 {"Math::GSL::Matrixc::gsl_matrix_int_view_vector", _wrap_gsl_matrix_int_view_vector},
21291 {"Math::GSL::Matrixc::gsl_matrix_int_view_vector_with_tda", _wrap_gsl_matrix_int_view_vector_with_tda},
21292 {"Math::GSL::Matrixc::gsl_matrix_int_const_submatrix", _wrap_gsl_matrix_int_const_submatrix},
21293 {"Math::GSL::Matrixc::gsl_matrix_int_const_row", _wrap_gsl_matrix_int_const_row},
21294 {"Math::GSL::Matrixc::gsl_matrix_int_const_column", _wrap_gsl_matrix_int_const_column},
21295 {"Math::GSL::Matrixc::gsl_matrix_int_const_diagonal", _wrap_gsl_matrix_int_const_diagonal},
21296 {"Math::GSL::Matrixc::gsl_matrix_int_const_subdiagonal", _wrap_gsl_matrix_int_const_subdiagonal},
21297 {"Math::GSL::Matrixc::gsl_matrix_int_const_superdiagonal", _wrap_gsl_matrix_int_const_superdiagonal},
21298 {"Math::GSL::Matrixc::gsl_matrix_int_const_subrow", _wrap_gsl_matrix_int_const_subrow},
21299 {"Math::GSL::Matrixc::gsl_matrix_int_const_subcolumn", _wrap_gsl_matrix_int_const_subcolumn},
21300 {"Math::GSL::Matrixc::gsl_matrix_int_const_view_array", _wrap_gsl_matrix_int_const_view_array},
21301 {"Math::GSL::Matrixc::gsl_matrix_int_const_view_array_with_tda", _wrap_gsl_matrix_int_const_view_array_with_tda},
21302 {"Math::GSL::Matrixc::gsl_matrix_int_const_view_vector", _wrap_gsl_matrix_int_const_view_vector},
21303 {"Math::GSL::Matrixc::gsl_matrix_int_const_view_vector_with_tda", _wrap_gsl_matrix_int_const_view_vector_with_tda},
21304 {"Math::GSL::Matrixc::gsl_matrix_int_set_zero", _wrap_gsl_matrix_int_set_zero},
21305 {"Math::GSL::Matrixc::gsl_matrix_int_set_identity", _wrap_gsl_matrix_int_set_identity},
21306 {"Math::GSL::Matrixc::gsl_matrix_int_set_all", _wrap_gsl_matrix_int_set_all},
21307 {"Math::GSL::Matrixc::gsl_matrix_int_fread", _wrap_gsl_matrix_int_fread},
21308 {"Math::GSL::Matrixc::gsl_matrix_int_fwrite", _wrap_gsl_matrix_int_fwrite},
21309 {"Math::GSL::Matrixc::gsl_matrix_int_fscanf", _wrap_gsl_matrix_int_fscanf},
21310 {"Math::GSL::Matrixc::gsl_matrix_int_fprintf", _wrap_gsl_matrix_int_fprintf},
21311 {"Math::GSL::Matrixc::gsl_matrix_int_memcpy", _wrap_gsl_matrix_int_memcpy},
21312 {"Math::GSL::Matrixc::gsl_matrix_int_swap", _wrap_gsl_matrix_int_swap},
21313 {"Math::GSL::Matrixc::gsl_matrix_int_tricpy", _wrap_gsl_matrix_int_tricpy},
21314 {"Math::GSL::Matrixc::gsl_matrix_int_swap_rows", _wrap_gsl_matrix_int_swap_rows},
21315 {"Math::GSL::Matrixc::gsl_matrix_int_swap_columns", _wrap_gsl_matrix_int_swap_columns},
21316 {"Math::GSL::Matrixc::gsl_matrix_int_swap_rowcol", _wrap_gsl_matrix_int_swap_rowcol},
21317 {"Math::GSL::Matrixc::gsl_matrix_int_transpose", _wrap_gsl_matrix_int_transpose},
21318 {"Math::GSL::Matrixc::gsl_matrix_int_transpose_memcpy", _wrap_gsl_matrix_int_transpose_memcpy},
21319 {"Math::GSL::Matrixc::gsl_matrix_int_transpose_tricpy", _wrap_gsl_matrix_int_transpose_tricpy},
21320 {"Math::GSL::Matrixc::gsl_matrix_int_max", _wrap_gsl_matrix_int_max},
21321 {"Math::GSL::Matrixc::gsl_matrix_int_min", _wrap_gsl_matrix_int_min},
21322 {"Math::GSL::Matrixc::gsl_matrix_int_minmax", _wrap_gsl_matrix_int_minmax},
21323 {"Math::GSL::Matrixc::gsl_matrix_int_max_index", _wrap_gsl_matrix_int_max_index},
21324 {"Math::GSL::Matrixc::gsl_matrix_int_min_index", _wrap_gsl_matrix_int_min_index},
21325 {"Math::GSL::Matrixc::gsl_matrix_int_minmax_index", _wrap_gsl_matrix_int_minmax_index},
21326 {"Math::GSL::Matrixc::gsl_matrix_int_equal", _wrap_gsl_matrix_int_equal},
21327 {"Math::GSL::Matrixc::gsl_matrix_int_isnull", _wrap_gsl_matrix_int_isnull},
21328 {"Math::GSL::Matrixc::gsl_matrix_int_ispos", _wrap_gsl_matrix_int_ispos},
21329 {"Math::GSL::Matrixc::gsl_matrix_int_isneg", _wrap_gsl_matrix_int_isneg},
21330 {"Math::GSL::Matrixc::gsl_matrix_int_isnonneg", _wrap_gsl_matrix_int_isnonneg},
21331 {"Math::GSL::Matrixc::gsl_matrix_int_add", _wrap_gsl_matrix_int_add},
21332 {"Math::GSL::Matrixc::gsl_matrix_int_sub", _wrap_gsl_matrix_int_sub},
21333 {"Math::GSL::Matrixc::gsl_matrix_int_mul_elements", _wrap_gsl_matrix_int_mul_elements},
21334 {"Math::GSL::Matrixc::gsl_matrix_int_div_elements", _wrap_gsl_matrix_int_div_elements},
21335 {"Math::GSL::Matrixc::gsl_matrix_int_scale", _wrap_gsl_matrix_int_scale},
21336 {"Math::GSL::Matrixc::gsl_matrix_int_add_constant", _wrap_gsl_matrix_int_add_constant},
21337 {"Math::GSL::Matrixc::gsl_matrix_int_add_diagonal", _wrap_gsl_matrix_int_add_diagonal},
21338 {"Math::GSL::Matrixc::gsl_matrix_int_get_row", _wrap_gsl_matrix_int_get_row},
21339 {"Math::GSL::Matrixc::gsl_matrix_int_get_col", _wrap_gsl_matrix_int_get_col},
21340 {"Math::GSL::Matrixc::gsl_matrix_int_set_row", _wrap_gsl_matrix_int_set_row},
21341 {"Math::GSL::Matrixc::gsl_matrix_int_set_col", _wrap_gsl_matrix_int_set_col},
21342 {"Math::GSL::Matrixc::gsl_matrix_int_get", _wrap_gsl_matrix_int_get},
21343 {"Math::GSL::Matrixc::gsl_matrix_int_set", _wrap_gsl_matrix_int_set},
21344 {"Math::GSL::Matrixc::gsl_matrix_int_ptr", _wrap_gsl_matrix_int_ptr},
21345 {"Math::GSL::Matrixc::gsl_matrix_int_const_ptr", _wrap_gsl_matrix_int_const_ptr},
21346 {"Math::GSL::Matrixc::gsl_matrix_complex_size1_set", _wrap_gsl_matrix_complex_size1_set},
21347 {"Math::GSL::Matrixc::gsl_matrix_complex_size1_get", _wrap_gsl_matrix_complex_size1_get},
21348 {"Math::GSL::Matrixc::gsl_matrix_complex_size2_set", _wrap_gsl_matrix_complex_size2_set},
21349 {"Math::GSL::Matrixc::gsl_matrix_complex_size2_get", _wrap_gsl_matrix_complex_size2_get},
21350 {"Math::GSL::Matrixc::gsl_matrix_complex_tda_set", _wrap_gsl_matrix_complex_tda_set},
21351 {"Math::GSL::Matrixc::gsl_matrix_complex_tda_get", _wrap_gsl_matrix_complex_tda_get},
21352 {"Math::GSL::Matrixc::gsl_matrix_complex_data_set", _wrap_gsl_matrix_complex_data_set},
21353 {"Math::GSL::Matrixc::gsl_matrix_complex_data_get", _wrap_gsl_matrix_complex_data_get},
21354 {"Math::GSL::Matrixc::gsl_matrix_complex_block_set", _wrap_gsl_matrix_complex_block_set},
21355 {"Math::GSL::Matrixc::gsl_matrix_complex_block_get", _wrap_gsl_matrix_complex_block_get},
21356 {"Math::GSL::Matrixc::gsl_matrix_complex_owner_set", _wrap_gsl_matrix_complex_owner_set},
21357 {"Math::GSL::Matrixc::gsl_matrix_complex_owner_get", _wrap_gsl_matrix_complex_owner_get},
21358 {"Math::GSL::Matrixc::new_gsl_matrix_complex", _wrap_new_gsl_matrix_complex},
21359 {"Math::GSL::Matrixc::delete_gsl_matrix_complex", _wrap_delete_gsl_matrix_complex},
21360 {"Math::GSL::Matrixc::_gsl_matrix_complex_view_matrix_set", _wrap__gsl_matrix_complex_view_matrix_set},
21361 {"Math::GSL::Matrixc::_gsl_matrix_complex_view_matrix_get", _wrap__gsl_matrix_complex_view_matrix_get},
21362 {"Math::GSL::Matrixc::new__gsl_matrix_complex_view", _wrap_new__gsl_matrix_complex_view},
21363 {"Math::GSL::Matrixc::delete__gsl_matrix_complex_view", _wrap_delete__gsl_matrix_complex_view},
21364 {"Math::GSL::Matrixc::_gsl_matrix_complex_const_view_matrix_set", _wrap__gsl_matrix_complex_const_view_matrix_set},
21365 {"Math::GSL::Matrixc::_gsl_matrix_complex_const_view_matrix_get", _wrap__gsl_matrix_complex_const_view_matrix_get},
21366 {"Math::GSL::Matrixc::new__gsl_matrix_complex_const_view", _wrap_new__gsl_matrix_complex_const_view},
21367 {"Math::GSL::Matrixc::delete__gsl_matrix_complex_const_view", _wrap_delete__gsl_matrix_complex_const_view},
21368 {"Math::GSL::Matrixc::gsl_matrix_complex_alloc", _wrap_gsl_matrix_complex_alloc},
21369 {"Math::GSL::Matrixc::gsl_matrix_complex_calloc", _wrap_gsl_matrix_complex_calloc},
21370 {"Math::GSL::Matrixc::gsl_matrix_complex_alloc_from_block", _wrap_gsl_matrix_complex_alloc_from_block},
21371 {"Math::GSL::Matrixc::gsl_matrix_complex_alloc_from_matrix", _wrap_gsl_matrix_complex_alloc_from_matrix},
21372 {"Math::GSL::Matrixc::gsl_vector_complex_alloc_row_from_matrix", _wrap_gsl_vector_complex_alloc_row_from_matrix},
21373 {"Math::GSL::Matrixc::gsl_vector_complex_alloc_col_from_matrix", _wrap_gsl_vector_complex_alloc_col_from_matrix},
21374 {"Math::GSL::Matrixc::gsl_matrix_complex_free", _wrap_gsl_matrix_complex_free},
21375 {"Math::GSL::Matrixc::gsl_matrix_complex_submatrix", _wrap_gsl_matrix_complex_submatrix},
21376 {"Math::GSL::Matrixc::gsl_matrix_complex_row", _wrap_gsl_matrix_complex_row},
21377 {"Math::GSL::Matrixc::gsl_matrix_complex_column", _wrap_gsl_matrix_complex_column},
21378 {"Math::GSL::Matrixc::gsl_matrix_complex_diagonal", _wrap_gsl_matrix_complex_diagonal},
21379 {"Math::GSL::Matrixc::gsl_matrix_complex_subdiagonal", _wrap_gsl_matrix_complex_subdiagonal},
21380 {"Math::GSL::Matrixc::gsl_matrix_complex_superdiagonal", _wrap_gsl_matrix_complex_superdiagonal},
21381 {"Math::GSL::Matrixc::gsl_matrix_complex_subrow", _wrap_gsl_matrix_complex_subrow},
21382 {"Math::GSL::Matrixc::gsl_matrix_complex_subcolumn", _wrap_gsl_matrix_complex_subcolumn},
21383 {"Math::GSL::Matrixc::gsl_matrix_complex_view_array", _wrap_gsl_matrix_complex_view_array},
21384 {"Math::GSL::Matrixc::gsl_matrix_complex_view_array_with_tda", _wrap_gsl_matrix_complex_view_array_with_tda},
21385 {"Math::GSL::Matrixc::gsl_matrix_complex_view_vector", _wrap_gsl_matrix_complex_view_vector},
21386 {"Math::GSL::Matrixc::gsl_matrix_complex_view_vector_with_tda", _wrap_gsl_matrix_complex_view_vector_with_tda},
21387 {"Math::GSL::Matrixc::gsl_matrix_complex_const_submatrix", _wrap_gsl_matrix_complex_const_submatrix},
21388 {"Math::GSL::Matrixc::gsl_matrix_complex_const_row", _wrap_gsl_matrix_complex_const_row},
21389 {"Math::GSL::Matrixc::gsl_matrix_complex_const_column", _wrap_gsl_matrix_complex_const_column},
21390 {"Math::GSL::Matrixc::gsl_matrix_complex_const_diagonal", _wrap_gsl_matrix_complex_const_diagonal},
21391 {"Math::GSL::Matrixc::gsl_matrix_complex_const_subdiagonal", _wrap_gsl_matrix_complex_const_subdiagonal},
21392 {"Math::GSL::Matrixc::gsl_matrix_complex_const_superdiagonal", _wrap_gsl_matrix_complex_const_superdiagonal},
21393 {"Math::GSL::Matrixc::gsl_matrix_complex_const_subrow", _wrap_gsl_matrix_complex_const_subrow},
21394 {"Math::GSL::Matrixc::gsl_matrix_complex_const_subcolumn", _wrap_gsl_matrix_complex_const_subcolumn},
21395 {"Math::GSL::Matrixc::gsl_matrix_complex_const_view_array", _wrap_gsl_matrix_complex_const_view_array},
21396 {"Math::GSL::Matrixc::gsl_matrix_complex_const_view_array_with_tda", _wrap_gsl_matrix_complex_const_view_array_with_tda},
21397 {"Math::GSL::Matrixc::gsl_matrix_complex_const_view_vector", _wrap_gsl_matrix_complex_const_view_vector},
21398 {"Math::GSL::Matrixc::gsl_matrix_complex_const_view_vector_with_tda", _wrap_gsl_matrix_complex_const_view_vector_with_tda},
21399 {"Math::GSL::Matrixc::gsl_matrix_complex_set_zero", _wrap_gsl_matrix_complex_set_zero},
21400 {"Math::GSL::Matrixc::gsl_matrix_complex_set_identity", _wrap_gsl_matrix_complex_set_identity},
21401 {"Math::GSL::Matrixc::gsl_matrix_complex_set_all", _wrap_gsl_matrix_complex_set_all},
21402 {"Math::GSL::Matrixc::gsl_matrix_complex_fread", _wrap_gsl_matrix_complex_fread},
21403 {"Math::GSL::Matrixc::gsl_matrix_complex_fwrite", _wrap_gsl_matrix_complex_fwrite},
21404 {"Math::GSL::Matrixc::gsl_matrix_complex_fscanf", _wrap_gsl_matrix_complex_fscanf},
21405 {"Math::GSL::Matrixc::gsl_matrix_complex_fprintf", _wrap_gsl_matrix_complex_fprintf},
21406 {"Math::GSL::Matrixc::gsl_matrix_complex_memcpy", _wrap_gsl_matrix_complex_memcpy},
21407 {"Math::GSL::Matrixc::gsl_matrix_complex_swap", _wrap_gsl_matrix_complex_swap},
21408 {"Math::GSL::Matrixc::gsl_matrix_complex_tricpy", _wrap_gsl_matrix_complex_tricpy},
21409 {"Math::GSL::Matrixc::gsl_matrix_complex_swap_rows", _wrap_gsl_matrix_complex_swap_rows},
21410 {"Math::GSL::Matrixc::gsl_matrix_complex_swap_columns", _wrap_gsl_matrix_complex_swap_columns},
21411 {"Math::GSL::Matrixc::gsl_matrix_complex_swap_rowcol", _wrap_gsl_matrix_complex_swap_rowcol},
21412 {"Math::GSL::Matrixc::gsl_matrix_complex_transpose", _wrap_gsl_matrix_complex_transpose},
21413 {"Math::GSL::Matrixc::gsl_matrix_complex_transpose_memcpy", _wrap_gsl_matrix_complex_transpose_memcpy},
21414 {"Math::GSL::Matrixc::gsl_matrix_complex_transpose_tricpy", _wrap_gsl_matrix_complex_transpose_tricpy},
21415 {"Math::GSL::Matrixc::gsl_matrix_complex_equal", _wrap_gsl_matrix_complex_equal},
21416 {"Math::GSL::Matrixc::gsl_matrix_complex_isnull", _wrap_gsl_matrix_complex_isnull},
21417 {"Math::GSL::Matrixc::gsl_matrix_complex_ispos", _wrap_gsl_matrix_complex_ispos},
21418 {"Math::GSL::Matrixc::gsl_matrix_complex_isneg", _wrap_gsl_matrix_complex_isneg},
21419 {"Math::GSL::Matrixc::gsl_matrix_complex_isnonneg", _wrap_gsl_matrix_complex_isnonneg},
21420 {"Math::GSL::Matrixc::gsl_matrix_complex_add", _wrap_gsl_matrix_complex_add},
21421 {"Math::GSL::Matrixc::gsl_matrix_complex_sub", _wrap_gsl_matrix_complex_sub},
21422 {"Math::GSL::Matrixc::gsl_matrix_complex_mul_elements", _wrap_gsl_matrix_complex_mul_elements},
21423 {"Math::GSL::Matrixc::gsl_matrix_complex_div_elements", _wrap_gsl_matrix_complex_div_elements},
21424 {"Math::GSL::Matrixc::gsl_matrix_complex_scale", _wrap_gsl_matrix_complex_scale},
21425 {"Math::GSL::Matrixc::gsl_matrix_complex_add_constant", _wrap_gsl_matrix_complex_add_constant},
21426 {"Math::GSL::Matrixc::gsl_matrix_complex_add_diagonal", _wrap_gsl_matrix_complex_add_diagonal},
21427 {"Math::GSL::Matrixc::gsl_matrix_complex_get_row", _wrap_gsl_matrix_complex_get_row},
21428 {"Math::GSL::Matrixc::gsl_matrix_complex_get_col", _wrap_gsl_matrix_complex_get_col},
21429 {"Math::GSL::Matrixc::gsl_matrix_complex_set_row", _wrap_gsl_matrix_complex_set_row},
21430 {"Math::GSL::Matrixc::gsl_matrix_complex_set_col", _wrap_gsl_matrix_complex_set_col},
21431 {"Math::GSL::Matrixc::gsl_matrix_complex_get", _wrap_gsl_matrix_complex_get},
21432 {"Math::GSL::Matrixc::gsl_matrix_complex_set", _wrap_gsl_matrix_complex_set},
21433 {"Math::GSL::Matrixc::gsl_matrix_complex_ptr", _wrap_gsl_matrix_complex_ptr},
21434 {"Math::GSL::Matrixc::gsl_matrix_complex_const_ptr", _wrap_gsl_matrix_complex_const_ptr},
21435 {"Math::GSL::Matrixc::gsl_matrix_char_size1_set", _wrap_gsl_matrix_char_size1_set},
21436 {"Math::GSL::Matrixc::gsl_matrix_char_size1_get", _wrap_gsl_matrix_char_size1_get},
21437 {"Math::GSL::Matrixc::gsl_matrix_char_size2_set", _wrap_gsl_matrix_char_size2_set},
21438 {"Math::GSL::Matrixc::gsl_matrix_char_size2_get", _wrap_gsl_matrix_char_size2_get},
21439 {"Math::GSL::Matrixc::gsl_matrix_char_tda_set", _wrap_gsl_matrix_char_tda_set},
21440 {"Math::GSL::Matrixc::gsl_matrix_char_tda_get", _wrap_gsl_matrix_char_tda_get},
21441 {"Math::GSL::Matrixc::gsl_matrix_char_data_set", _wrap_gsl_matrix_char_data_set},
21442 {"Math::GSL::Matrixc::gsl_matrix_char_data_get", _wrap_gsl_matrix_char_data_get},
21443 {"Math::GSL::Matrixc::gsl_matrix_char_block_set", _wrap_gsl_matrix_char_block_set},
21444 {"Math::GSL::Matrixc::gsl_matrix_char_block_get", _wrap_gsl_matrix_char_block_get},
21445 {"Math::GSL::Matrixc::gsl_matrix_char_owner_set", _wrap_gsl_matrix_char_owner_set},
21446 {"Math::GSL::Matrixc::gsl_matrix_char_owner_get", _wrap_gsl_matrix_char_owner_get},
21447 {"Math::GSL::Matrixc::new_gsl_matrix_char", _wrap_new_gsl_matrix_char},
21448 {"Math::GSL::Matrixc::delete_gsl_matrix_char", _wrap_delete_gsl_matrix_char},
21449 {"Math::GSL::Matrixc::_gsl_matrix_char_view_matrix_set", _wrap__gsl_matrix_char_view_matrix_set},
21450 {"Math::GSL::Matrixc::_gsl_matrix_char_view_matrix_get", _wrap__gsl_matrix_char_view_matrix_get},
21451 {"Math::GSL::Matrixc::new__gsl_matrix_char_view", _wrap_new__gsl_matrix_char_view},
21452 {"Math::GSL::Matrixc::delete__gsl_matrix_char_view", _wrap_delete__gsl_matrix_char_view},
21453 {"Math::GSL::Matrixc::_gsl_matrix_char_const_view_matrix_set", _wrap__gsl_matrix_char_const_view_matrix_set},
21454 {"Math::GSL::Matrixc::_gsl_matrix_char_const_view_matrix_get", _wrap__gsl_matrix_char_const_view_matrix_get},
21455 {"Math::GSL::Matrixc::new__gsl_matrix_char_const_view", _wrap_new__gsl_matrix_char_const_view},
21456 {"Math::GSL::Matrixc::delete__gsl_matrix_char_const_view", _wrap_delete__gsl_matrix_char_const_view},
21457 {"Math::GSL::Matrixc::gsl_matrix_char_alloc", _wrap_gsl_matrix_char_alloc},
21458 {"Math::GSL::Matrixc::gsl_matrix_char_calloc", _wrap_gsl_matrix_char_calloc},
21459 {"Math::GSL::Matrixc::gsl_matrix_char_alloc_from_block", _wrap_gsl_matrix_char_alloc_from_block},
21460 {"Math::GSL::Matrixc::gsl_matrix_char_alloc_from_matrix", _wrap_gsl_matrix_char_alloc_from_matrix},
21461 {"Math::GSL::Matrixc::gsl_vector_char_alloc_row_from_matrix", _wrap_gsl_vector_char_alloc_row_from_matrix},
21462 {"Math::GSL::Matrixc::gsl_vector_char_alloc_col_from_matrix", _wrap_gsl_vector_char_alloc_col_from_matrix},
21463 {"Math::GSL::Matrixc::gsl_matrix_char_free", _wrap_gsl_matrix_char_free},
21464 {"Math::GSL::Matrixc::gsl_matrix_char_submatrix", _wrap_gsl_matrix_char_submatrix},
21465 {"Math::GSL::Matrixc::gsl_matrix_char_row", _wrap_gsl_matrix_char_row},
21466 {"Math::GSL::Matrixc::gsl_matrix_char_column", _wrap_gsl_matrix_char_column},
21467 {"Math::GSL::Matrixc::gsl_matrix_char_diagonal", _wrap_gsl_matrix_char_diagonal},
21468 {"Math::GSL::Matrixc::gsl_matrix_char_subdiagonal", _wrap_gsl_matrix_char_subdiagonal},
21469 {"Math::GSL::Matrixc::gsl_matrix_char_superdiagonal", _wrap_gsl_matrix_char_superdiagonal},
21470 {"Math::GSL::Matrixc::gsl_matrix_char_subrow", _wrap_gsl_matrix_char_subrow},
21471 {"Math::GSL::Matrixc::gsl_matrix_char_subcolumn", _wrap_gsl_matrix_char_subcolumn},
21472 {"Math::GSL::Matrixc::gsl_matrix_char_view_array", _wrap_gsl_matrix_char_view_array},
21473 {"Math::GSL::Matrixc::gsl_matrix_char_view_array_with_tda", _wrap_gsl_matrix_char_view_array_with_tda},
21474 {"Math::GSL::Matrixc::gsl_matrix_char_view_vector", _wrap_gsl_matrix_char_view_vector},
21475 {"Math::GSL::Matrixc::gsl_matrix_char_view_vector_with_tda", _wrap_gsl_matrix_char_view_vector_with_tda},
21476 {"Math::GSL::Matrixc::gsl_matrix_char_const_submatrix", _wrap_gsl_matrix_char_const_submatrix},
21477 {"Math::GSL::Matrixc::gsl_matrix_char_const_row", _wrap_gsl_matrix_char_const_row},
21478 {"Math::GSL::Matrixc::gsl_matrix_char_const_column", _wrap_gsl_matrix_char_const_column},
21479 {"Math::GSL::Matrixc::gsl_matrix_char_const_diagonal", _wrap_gsl_matrix_char_const_diagonal},
21480 {"Math::GSL::Matrixc::gsl_matrix_char_const_subdiagonal", _wrap_gsl_matrix_char_const_subdiagonal},
21481 {"Math::GSL::Matrixc::gsl_matrix_char_const_superdiagonal", _wrap_gsl_matrix_char_const_superdiagonal},
21482 {"Math::GSL::Matrixc::gsl_matrix_char_const_subrow", _wrap_gsl_matrix_char_const_subrow},
21483 {"Math::GSL::Matrixc::gsl_matrix_char_const_subcolumn", _wrap_gsl_matrix_char_const_subcolumn},
21484 {"Math::GSL::Matrixc::gsl_matrix_char_const_view_array", _wrap_gsl_matrix_char_const_view_array},
21485 {"Math::GSL::Matrixc::gsl_matrix_char_const_view_array_with_tda", _wrap_gsl_matrix_char_const_view_array_with_tda},
21486 {"Math::GSL::Matrixc::gsl_matrix_char_const_view_vector", _wrap_gsl_matrix_char_const_view_vector},
21487 {"Math::GSL::Matrixc::gsl_matrix_char_const_view_vector_with_tda", _wrap_gsl_matrix_char_const_view_vector_with_tda},
21488 {"Math::GSL::Matrixc::gsl_matrix_char_set_zero", _wrap_gsl_matrix_char_set_zero},
21489 {"Math::GSL::Matrixc::gsl_matrix_char_set_identity", _wrap_gsl_matrix_char_set_identity},
21490 {"Math::GSL::Matrixc::gsl_matrix_char_set_all", _wrap_gsl_matrix_char_set_all},
21491 {"Math::GSL::Matrixc::gsl_matrix_char_fread", _wrap_gsl_matrix_char_fread},
21492 {"Math::GSL::Matrixc::gsl_matrix_char_fwrite", _wrap_gsl_matrix_char_fwrite},
21493 {"Math::GSL::Matrixc::gsl_matrix_char_fscanf", _wrap_gsl_matrix_char_fscanf},
21494 {"Math::GSL::Matrixc::gsl_matrix_char_fprintf", _wrap_gsl_matrix_char_fprintf},
21495 {"Math::GSL::Matrixc::gsl_matrix_char_memcpy", _wrap_gsl_matrix_char_memcpy},
21496 {"Math::GSL::Matrixc::gsl_matrix_char_swap", _wrap_gsl_matrix_char_swap},
21497 {"Math::GSL::Matrixc::gsl_matrix_char_tricpy", _wrap_gsl_matrix_char_tricpy},
21498 {"Math::GSL::Matrixc::gsl_matrix_char_swap_rows", _wrap_gsl_matrix_char_swap_rows},
21499 {"Math::GSL::Matrixc::gsl_matrix_char_swap_columns", _wrap_gsl_matrix_char_swap_columns},
21500 {"Math::GSL::Matrixc::gsl_matrix_char_swap_rowcol", _wrap_gsl_matrix_char_swap_rowcol},
21501 {"Math::GSL::Matrixc::gsl_matrix_char_transpose", _wrap_gsl_matrix_char_transpose},
21502 {"Math::GSL::Matrixc::gsl_matrix_char_transpose_memcpy", _wrap_gsl_matrix_char_transpose_memcpy},
21503 {"Math::GSL::Matrixc::gsl_matrix_char_transpose_tricpy", _wrap_gsl_matrix_char_transpose_tricpy},
21504 {"Math::GSL::Matrixc::gsl_matrix_char_max", _wrap_gsl_matrix_char_max},
21505 {"Math::GSL::Matrixc::gsl_matrix_char_min", _wrap_gsl_matrix_char_min},
21506 {"Math::GSL::Matrixc::gsl_matrix_char_minmax", _wrap_gsl_matrix_char_minmax},
21507 {"Math::GSL::Matrixc::gsl_matrix_char_max_index", _wrap_gsl_matrix_char_max_index},
21508 {"Math::GSL::Matrixc::gsl_matrix_char_min_index", _wrap_gsl_matrix_char_min_index},
21509 {"Math::GSL::Matrixc::gsl_matrix_char_minmax_index", _wrap_gsl_matrix_char_minmax_index},
21510 {"Math::GSL::Matrixc::gsl_matrix_char_equal", _wrap_gsl_matrix_char_equal},
21511 {"Math::GSL::Matrixc::gsl_matrix_char_isnull", _wrap_gsl_matrix_char_isnull},
21512 {"Math::GSL::Matrixc::gsl_matrix_char_ispos", _wrap_gsl_matrix_char_ispos},
21513 {"Math::GSL::Matrixc::gsl_matrix_char_isneg", _wrap_gsl_matrix_char_isneg},
21514 {"Math::GSL::Matrixc::gsl_matrix_char_isnonneg", _wrap_gsl_matrix_char_isnonneg},
21515 {"Math::GSL::Matrixc::gsl_matrix_char_add", _wrap_gsl_matrix_char_add},
21516 {"Math::GSL::Matrixc::gsl_matrix_char_sub", _wrap_gsl_matrix_char_sub},
21517 {"Math::GSL::Matrixc::gsl_matrix_char_mul_elements", _wrap_gsl_matrix_char_mul_elements},
21518 {"Math::GSL::Matrixc::gsl_matrix_char_div_elements", _wrap_gsl_matrix_char_div_elements},
21519 {"Math::GSL::Matrixc::gsl_matrix_char_scale", _wrap_gsl_matrix_char_scale},
21520 {"Math::GSL::Matrixc::gsl_matrix_char_add_constant", _wrap_gsl_matrix_char_add_constant},
21521 {"Math::GSL::Matrixc::gsl_matrix_char_add_diagonal", _wrap_gsl_matrix_char_add_diagonal},
21522 {"Math::GSL::Matrixc::gsl_matrix_char_get_row", _wrap_gsl_matrix_char_get_row},
21523 {"Math::GSL::Matrixc::gsl_matrix_char_get_col", _wrap_gsl_matrix_char_get_col},
21524 {"Math::GSL::Matrixc::gsl_matrix_char_set_row", _wrap_gsl_matrix_char_set_row},
21525 {"Math::GSL::Matrixc::gsl_matrix_char_set_col", _wrap_gsl_matrix_char_set_col},
21526 {"Math::GSL::Matrixc::gsl_matrix_char_get", _wrap_gsl_matrix_char_get},
21527 {"Math::GSL::Matrixc::gsl_matrix_char_set", _wrap_gsl_matrix_char_set},
21528 {"Math::GSL::Matrixc::gsl_matrix_char_ptr", _wrap_gsl_matrix_char_ptr},
21529 {"Math::GSL::Matrixc::gsl_matrix_char_const_ptr", _wrap_gsl_matrix_char_const_ptr},
21530 {"Math::GSL::Matrixc::gsl_matrix_vconcat", _wrap_gsl_matrix_vconcat},
21531 {"Math::GSL::Matrixc::gsl_matrix_hconcat", _wrap_gsl_matrix_hconcat},
21532 {"Math::GSL::Matrixc::gsl_matrix_random", _wrap_gsl_matrix_random},
21533 {0,0}
21534 };
21535 /* -----------------------------------------------------------------------------
21536  * Type initialization:
21537  * This problem is tough by the requirement that no dynamic
21538  * memory is used. Also, since swig_type_info structures store pointers to
21539  * swig_cast_info structures and swig_cast_info structures store pointers back
21540  * to swig_type_info structures, we need some lookup code at initialization.
21541  * The idea is that swig generates all the structures that are needed.
21542  * The runtime then collects these partially filled structures.
21543  * The SWIG_InitializeModule function takes these initial arrays out of
21544  * swig_module, and does all the lookup, filling in the swig_module.types
21545  * array with the correct data and linking the correct swig_cast_info
21546  * structures together.
21547  *
21548  * The generated swig_type_info structures are assigned statically to an initial
21549  * array. We just loop through that array, and handle each type individually.
21550  * First we lookup if this type has been already loaded, and if so, use the
21551  * loaded structure instead of the generated one. Then we have to fill in the
21552  * cast linked list. The cast data is initially stored in something like a
21553  * two-dimensional array. Each row corresponds to a type (there are the same
21554  * number of rows as there are in the swig_type_initial array). Each entry in
21555  * a column is one of the swig_cast_info structures for that type.
21556  * The cast_initial array is actually an array of arrays, because each row has
21557  * a variable number of columns. So to actually build the cast linked list,
21558  * we find the array of casts associated with the type, and loop through it
21559  * adding the casts to the list. The one last trick we need to do is making
21560  * sure the type pointer in the swig_cast_info struct is correct.
21561  *
21562  * First off, we lookup the cast->type name to see if it is already loaded.
21563  * There are three cases to handle:
21564  *  1) If the cast->type has already been loaded AND the type we are adding
21565  *     casting info to has not been loaded (it is in this module), THEN we
21566  *     replace the cast->type pointer with the type pointer that has already
21567  *     been loaded.
21568  *  2) If BOTH types (the one we are adding casting info to, and the
21569  *     cast->type) are loaded, THEN the cast info has already been loaded by
21570  *     the previous module so we just ignore it.
21571  *  3) Finally, if cast->type has not already been loaded, then we add that
21572  *     swig_cast_info to the linked list (because the cast->type) pointer will
21573  *     be correct.
21574  * ----------------------------------------------------------------------------- */
21575 
21576 #ifdef __cplusplus
21577 extern "C" {
21578 #if 0
21579 } /* c-mode */
21580 #endif
21581 #endif
21582 
21583 #if 0
21584 #define SWIGRUNTIME_DEBUG
21585 #endif
21586 
21587 
21588 SWIGRUNTIME void
SWIG_InitializeModule(void * clientdata)21589 SWIG_InitializeModule(void *clientdata) {
21590   size_t i;
21591   swig_module_info *module_head, *iter;
21592   int init;
21593 
21594   /* check to see if the circular list has been setup, if not, set it up */
21595   if (swig_module.next==0) {
21596     /* Initialize the swig_module */
21597     swig_module.type_initial = swig_type_initial;
21598     swig_module.cast_initial = swig_cast_initial;
21599     swig_module.next = &swig_module;
21600     init = 1;
21601   } else {
21602     init = 0;
21603   }
21604 
21605   /* Try and load any already created modules */
21606   module_head = SWIG_GetModule(clientdata);
21607   if (!module_head) {
21608     /* This is the first module loaded for this interpreter */
21609     /* so set the swig module into the interpreter */
21610     SWIG_SetModule(clientdata, &swig_module);
21611   } else {
21612     /* the interpreter has loaded a SWIG module, but has it loaded this one? */
21613     iter=module_head;
21614     do {
21615       if (iter==&swig_module) {
21616         /* Our module is already in the list, so there's nothing more to do. */
21617         return;
21618       }
21619       iter=iter->next;
21620     } while (iter!= module_head);
21621 
21622     /* otherwise we must add our module into the list */
21623     swig_module.next = module_head->next;
21624     module_head->next = &swig_module;
21625   }
21626 
21627   /* When multiple interpreters are used, a module could have already been initialized in
21628        a different interpreter, but not yet have a pointer in this interpreter.
21629        In this case, we do not want to continue adding types... everything should be
21630        set up already */
21631   if (init == 0) return;
21632 
21633   /* Now work on filling in swig_module.types */
21634 #ifdef SWIGRUNTIME_DEBUG
21635   printf("SWIG_InitializeModule: size %lu\n", (unsigned long)swig_module.size);
21636 #endif
21637   for (i = 0; i < swig_module.size; ++i) {
21638     swig_type_info *type = 0;
21639     swig_type_info *ret;
21640     swig_cast_info *cast;
21641 
21642 #ifdef SWIGRUNTIME_DEBUG
21643     printf("SWIG_InitializeModule: type %lu %s\n", (unsigned long)i, swig_module.type_initial[i]->name);
21644 #endif
21645 
21646     /* if there is another module already loaded */
21647     if (swig_module.next != &swig_module) {
21648       type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
21649     }
21650     if (type) {
21651       /* Overwrite clientdata field */
21652 #ifdef SWIGRUNTIME_DEBUG
21653       printf("SWIG_InitializeModule: found type %s\n", type->name);
21654 #endif
21655       if (swig_module.type_initial[i]->clientdata) {
21656         type->clientdata = swig_module.type_initial[i]->clientdata;
21657 #ifdef SWIGRUNTIME_DEBUG
21658         printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
21659 #endif
21660       }
21661     } else {
21662       type = swig_module.type_initial[i];
21663     }
21664 
21665     /* Insert casting types */
21666     cast = swig_module.cast_initial[i];
21667     while (cast->type) {
21668       /* Don't need to add information already in the list */
21669       ret = 0;
21670 #ifdef SWIGRUNTIME_DEBUG
21671       printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
21672 #endif
21673       if (swig_module.next != &swig_module) {
21674         ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
21675 #ifdef SWIGRUNTIME_DEBUG
21676         if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
21677 #endif
21678       }
21679       if (ret) {
21680         if (type == swig_module.type_initial[i]) {
21681 #ifdef SWIGRUNTIME_DEBUG
21682           printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
21683 #endif
21684           cast->type = ret;
21685           ret = 0;
21686         } else {
21687           /* Check for casting already in the list */
21688           swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
21689 #ifdef SWIGRUNTIME_DEBUG
21690           if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
21691 #endif
21692           if (!ocast) ret = 0;
21693         }
21694       }
21695 
21696       if (!ret) {
21697 #ifdef SWIGRUNTIME_DEBUG
21698         printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
21699 #endif
21700         if (type->cast) {
21701           type->cast->prev = cast;
21702           cast->next = type->cast;
21703         }
21704         type->cast = cast;
21705       }
21706       cast++;
21707     }
21708     /* Set entry in modules->types array equal to the type */
21709     swig_module.types[i] = type;
21710   }
21711   swig_module.types[i] = 0;
21712 
21713 #ifdef SWIGRUNTIME_DEBUG
21714   printf("**** SWIG_InitializeModule: Cast List ******\n");
21715   for (i = 0; i < swig_module.size; ++i) {
21716     int j = 0;
21717     swig_cast_info *cast = swig_module.cast_initial[i];
21718     printf("SWIG_InitializeModule: type %lu %s\n", (unsigned long)i, swig_module.type_initial[i]->name);
21719     while (cast->type) {
21720       printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
21721       cast++;
21722       ++j;
21723     }
21724     printf("---- Total casts: %d\n",j);
21725   }
21726   printf("**** SWIG_InitializeModule: Cast List ******\n");
21727 #endif
21728 }
21729 
21730 /* This function will propagate the clientdata field of type to
21731 * any new swig_type_info structures that have been added into the list
21732 * of equivalent types.  It is like calling
21733 * SWIG_TypeClientData(type, clientdata) a second time.
21734 */
21735 SWIGRUNTIME void
SWIG_PropagateClientData(void)21736 SWIG_PropagateClientData(void) {
21737   size_t i;
21738   swig_cast_info *equiv;
21739   static int init_run = 0;
21740 
21741   if (init_run) return;
21742   init_run = 1;
21743 
21744   for (i = 0; i < swig_module.size; i++) {
21745     if (swig_module.types[i]->clientdata) {
21746       equiv = swig_module.types[i]->cast;
21747       while (equiv) {
21748         if (!equiv->converter) {
21749           if (equiv->type && !equiv->type->clientdata)
21750           SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
21751         }
21752         equiv = equiv->next;
21753       }
21754     }
21755   }
21756 }
21757 
21758 #ifdef __cplusplus
21759 #if 0
21760 {
21761   /* c-mode */
21762 #endif
21763 }
21764 #endif
21765 
21766 
21767 
21768 #if defined(__cplusplus) && ! defined(XSPROTO)
21769 extern "C"
21770 #endif
21771 
XS(SWIG_init)21772 XS(SWIG_init) {
21773   dXSARGS;
21774   int i;
21775   (void)items;
21776 
21777   SWIG_InitializeModule(0);
21778 
21779   /* Install commands */
21780   for (i = 0; swig_commands[i].name; i++) {
21781     /* Casts only needed for Perl < 5.10. */
21782 #ifdef __cplusplus
21783     newXS(const_cast<char*>(swig_commands[i].name), swig_commands[i].wrapper, const_cast<char*>(__FILE__));
21784 #else
21785     newXS((char*)swig_commands[i].name, swig_commands[i].wrapper, (char*)__FILE__);
21786 #endif
21787   }
21788 
21789   /* Install variables */
21790   for (i = 0; swig_variables[i].name; i++) {
21791     SV *sv;
21792     sv = get_sv(swig_variables[i].name, TRUE | 0x2 | GV_ADDMULTI);
21793     if (swig_variables[i].type) {
21794       SWIG_MakePtr(sv,(void *)1, *swig_variables[i].type,0);
21795     } else {
21796       sv_setiv(sv,(IV) 0);
21797     }
21798     swig_create_magic(sv, swig_variables[i].name, swig_variables[i].set, swig_variables[i].get);
21799   }
21800 
21801   /* Install constant */
21802   for (i = 0; swig_constants[i].type; i++) {
21803     SV *sv;
21804     sv = get_sv(swig_constants[i].name, TRUE | 0x2 | GV_ADDMULTI);
21805     switch(swig_constants[i].type) {
21806     case SWIG_INT:
21807       sv_setiv(sv, (IV) swig_constants[i].lvalue);
21808       break;
21809     case SWIG_FLOAT:
21810       sv_setnv(sv, (double) swig_constants[i].dvalue);
21811       break;
21812     case SWIG_STRING:
21813       sv_setpv(sv, (const char *) swig_constants[i].pvalue);
21814       break;
21815     case SWIG_POINTER:
21816       SWIG_MakePtr(sv, swig_constants[i].pvalue, *(swig_constants[i].ptype),0);
21817       break;
21818     case SWIG_BINARY:
21819       SWIG_MakePackedObj(sv, swig_constants[i].pvalue, swig_constants[i].lvalue, *(swig_constants[i].ptype));
21820       break;
21821     default:
21822       break;
21823     }
21824     SvREADONLY_on(sv);
21825   }
21826 
21827   /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
21828     SV *sv = get_sv((char*) SWIG_prefix "GSL_VERSION", TRUE | 0x2 | GV_ADDMULTI);
21829     sv_setsv(sv, SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(2.7)));
21830     SvREADONLY_on(sv);
21831   } while(0) /*@SWIG@*/;
21832   /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
21833     SV *sv = get_sv((char*) SWIG_prefix "GSL_MAJOR_VERSION", TRUE | 0x2 | GV_ADDMULTI);
21834     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(2)));
21835     SvREADONLY_on(sv);
21836   } while(0) /*@SWIG@*/;
21837   /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
21838     SV *sv = get_sv((char*) SWIG_prefix "GSL_MINOR_VERSION", TRUE | 0x2 | GV_ADDMULTI);
21839     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(7)));
21840     SvREADONLY_on(sv);
21841   } while(0) /*@SWIG@*/;
21842   /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
21843     SV *sv = get_sv((char*) SWIG_prefix "GSL_POSZERO", TRUE | 0x2 | GV_ADDMULTI);
21844     sv_setsv(sv, SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)((+0.0))));
21845     SvREADONLY_on(sv);
21846   } while(0) /*@SWIG@*/;
21847   /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
21848     SV *sv = get_sv((char*) SWIG_prefix "GSL_NEGZERO", TRUE | 0x2 | GV_ADDMULTI);
21849     sv_setsv(sv, SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)((-0.0))));
21850     SvREADONLY_on(sv);
21851   } while(0) /*@SWIG@*/;
21852   /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
21853     SV *sv = get_sv((char*) SWIG_prefix "GSL_SUCCESS", TRUE | 0x2 | GV_ADDMULTI);
21854     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(GSL_SUCCESS)));
21855     SvREADONLY_on(sv);
21856   } while(0) /*@SWIG@*/;
21857   /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
21858     SV *sv = get_sv((char*) SWIG_prefix "GSL_FAILURE", TRUE | 0x2 | GV_ADDMULTI);
21859     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(GSL_FAILURE)));
21860     SvREADONLY_on(sv);
21861   } while(0) /*@SWIG@*/;
21862   /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
21863     SV *sv = get_sv((char*) SWIG_prefix "GSL_CONTINUE", TRUE | 0x2 | GV_ADDMULTI);
21864     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(GSL_CONTINUE)));
21865     SvREADONLY_on(sv);
21866   } while(0) /*@SWIG@*/;
21867   /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
21868     SV *sv = get_sv((char*) SWIG_prefix "GSL_EDOM", TRUE | 0x2 | GV_ADDMULTI);
21869     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(GSL_EDOM)));
21870     SvREADONLY_on(sv);
21871   } while(0) /*@SWIG@*/;
21872   /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
21873     SV *sv = get_sv((char*) SWIG_prefix "GSL_ERANGE", TRUE | 0x2 | GV_ADDMULTI);
21874     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(GSL_ERANGE)));
21875     SvREADONLY_on(sv);
21876   } while(0) /*@SWIG@*/;
21877   /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
21878     SV *sv = get_sv((char*) SWIG_prefix "GSL_EFAULT", TRUE | 0x2 | GV_ADDMULTI);
21879     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(GSL_EFAULT)));
21880     SvREADONLY_on(sv);
21881   } while(0) /*@SWIG@*/;
21882   /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
21883     SV *sv = get_sv((char*) SWIG_prefix "GSL_EINVAL", TRUE | 0x2 | GV_ADDMULTI);
21884     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(GSL_EINVAL)));
21885     SvREADONLY_on(sv);
21886   } while(0) /*@SWIG@*/;
21887   /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
21888     SV *sv = get_sv((char*) SWIG_prefix "GSL_EFAILED", TRUE | 0x2 | GV_ADDMULTI);
21889     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(GSL_EFAILED)));
21890     SvREADONLY_on(sv);
21891   } while(0) /*@SWIG@*/;
21892   /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
21893     SV *sv = get_sv((char*) SWIG_prefix "GSL_EFACTOR", TRUE | 0x2 | GV_ADDMULTI);
21894     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(GSL_EFACTOR)));
21895     SvREADONLY_on(sv);
21896   } while(0) /*@SWIG@*/;
21897   /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
21898     SV *sv = get_sv((char*) SWIG_prefix "GSL_ESANITY", TRUE | 0x2 | GV_ADDMULTI);
21899     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(GSL_ESANITY)));
21900     SvREADONLY_on(sv);
21901   } while(0) /*@SWIG@*/;
21902   /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
21903     SV *sv = get_sv((char*) SWIG_prefix "GSL_ENOMEM", TRUE | 0x2 | GV_ADDMULTI);
21904     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(GSL_ENOMEM)));
21905     SvREADONLY_on(sv);
21906   } while(0) /*@SWIG@*/;
21907   /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
21908     SV *sv = get_sv((char*) SWIG_prefix "GSL_EBADFUNC", TRUE | 0x2 | GV_ADDMULTI);
21909     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(GSL_EBADFUNC)));
21910     SvREADONLY_on(sv);
21911   } while(0) /*@SWIG@*/;
21912   /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
21913     SV *sv = get_sv((char*) SWIG_prefix "GSL_ERUNAWAY", TRUE | 0x2 | GV_ADDMULTI);
21914     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(GSL_ERUNAWAY)));
21915     SvREADONLY_on(sv);
21916   } while(0) /*@SWIG@*/;
21917   /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
21918     SV *sv = get_sv((char*) SWIG_prefix "GSL_EMAXITER", TRUE | 0x2 | GV_ADDMULTI);
21919     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(GSL_EMAXITER)));
21920     SvREADONLY_on(sv);
21921   } while(0) /*@SWIG@*/;
21922   /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
21923     SV *sv = get_sv((char*) SWIG_prefix "GSL_EZERODIV", TRUE | 0x2 | GV_ADDMULTI);
21924     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(GSL_EZERODIV)));
21925     SvREADONLY_on(sv);
21926   } while(0) /*@SWIG@*/;
21927   /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
21928     SV *sv = get_sv((char*) SWIG_prefix "GSL_EBADTOL", TRUE | 0x2 | GV_ADDMULTI);
21929     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(GSL_EBADTOL)));
21930     SvREADONLY_on(sv);
21931   } while(0) /*@SWIG@*/;
21932   /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
21933     SV *sv = get_sv((char*) SWIG_prefix "GSL_ETOL", TRUE | 0x2 | GV_ADDMULTI);
21934     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(GSL_ETOL)));
21935     SvREADONLY_on(sv);
21936   } while(0) /*@SWIG@*/;
21937   /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
21938     SV *sv = get_sv((char*) SWIG_prefix "GSL_EUNDRFLW", TRUE | 0x2 | GV_ADDMULTI);
21939     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(GSL_EUNDRFLW)));
21940     SvREADONLY_on(sv);
21941   } while(0) /*@SWIG@*/;
21942   /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
21943     SV *sv = get_sv((char*) SWIG_prefix "GSL_EOVRFLW", TRUE | 0x2 | GV_ADDMULTI);
21944     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(GSL_EOVRFLW)));
21945     SvREADONLY_on(sv);
21946   } while(0) /*@SWIG@*/;
21947   /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
21948     SV *sv = get_sv((char*) SWIG_prefix "GSL_ELOSS", TRUE | 0x2 | GV_ADDMULTI);
21949     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(GSL_ELOSS)));
21950     SvREADONLY_on(sv);
21951   } while(0) /*@SWIG@*/;
21952   /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
21953     SV *sv = get_sv((char*) SWIG_prefix "GSL_EROUND", TRUE | 0x2 | GV_ADDMULTI);
21954     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(GSL_EROUND)));
21955     SvREADONLY_on(sv);
21956   } while(0) /*@SWIG@*/;
21957   /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
21958     SV *sv = get_sv((char*) SWIG_prefix "GSL_EBADLEN", TRUE | 0x2 | GV_ADDMULTI);
21959     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(GSL_EBADLEN)));
21960     SvREADONLY_on(sv);
21961   } while(0) /*@SWIG@*/;
21962   /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
21963     SV *sv = get_sv((char*) SWIG_prefix "GSL_ENOTSQR", TRUE | 0x2 | GV_ADDMULTI);
21964     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(GSL_ENOTSQR)));
21965     SvREADONLY_on(sv);
21966   } while(0) /*@SWIG@*/;
21967   /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
21968     SV *sv = get_sv((char*) SWIG_prefix "GSL_ESING", TRUE | 0x2 | GV_ADDMULTI);
21969     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(GSL_ESING)));
21970     SvREADONLY_on(sv);
21971   } while(0) /*@SWIG@*/;
21972   /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
21973     SV *sv = get_sv((char*) SWIG_prefix "GSL_EDIVERGE", TRUE | 0x2 | GV_ADDMULTI);
21974     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(GSL_EDIVERGE)));
21975     SvREADONLY_on(sv);
21976   } while(0) /*@SWIG@*/;
21977   /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
21978     SV *sv = get_sv((char*) SWIG_prefix "GSL_EUNSUP", TRUE | 0x2 | GV_ADDMULTI);
21979     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(GSL_EUNSUP)));
21980     SvREADONLY_on(sv);
21981   } while(0) /*@SWIG@*/;
21982   /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
21983     SV *sv = get_sv((char*) SWIG_prefix "GSL_EUNIMPL", TRUE | 0x2 | GV_ADDMULTI);
21984     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(GSL_EUNIMPL)));
21985     SvREADONLY_on(sv);
21986   } while(0) /*@SWIG@*/;
21987   /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
21988     SV *sv = get_sv((char*) SWIG_prefix "GSL_ECACHE", TRUE | 0x2 | GV_ADDMULTI);
21989     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(GSL_ECACHE)));
21990     SvREADONLY_on(sv);
21991   } while(0) /*@SWIG@*/;
21992   /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
21993     SV *sv = get_sv((char*) SWIG_prefix "GSL_ETABLE", TRUE | 0x2 | GV_ADDMULTI);
21994     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(GSL_ETABLE)));
21995     SvREADONLY_on(sv);
21996   } while(0) /*@SWIG@*/;
21997   /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
21998     SV *sv = get_sv((char*) SWIG_prefix "GSL_ENOPROG", TRUE | 0x2 | GV_ADDMULTI);
21999     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(GSL_ENOPROG)));
22000     SvREADONLY_on(sv);
22001   } while(0) /*@SWIG@*/;
22002   /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
22003     SV *sv = get_sv((char*) SWIG_prefix "GSL_ENOPROGJ", TRUE | 0x2 | GV_ADDMULTI);
22004     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(GSL_ENOPROGJ)));
22005     SvREADONLY_on(sv);
22006   } while(0) /*@SWIG@*/;
22007   /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
22008     SV *sv = get_sv((char*) SWIG_prefix "GSL_ETOLF", TRUE | 0x2 | GV_ADDMULTI);
22009     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(GSL_ETOLF)));
22010     SvREADONLY_on(sv);
22011   } while(0) /*@SWIG@*/;
22012   /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
22013     SV *sv = get_sv((char*) SWIG_prefix "GSL_ETOLX", TRUE | 0x2 | GV_ADDMULTI);
22014     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(GSL_ETOLX)));
22015     SvREADONLY_on(sv);
22016   } while(0) /*@SWIG@*/;
22017   /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
22018     SV *sv = get_sv((char*) SWIG_prefix "GSL_ETOLG", TRUE | 0x2 | GV_ADDMULTI);
22019     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(GSL_ETOLG)));
22020     SvREADONLY_on(sv);
22021   } while(0) /*@SWIG@*/;
22022   /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
22023     SV *sv = get_sv((char*) SWIG_prefix "GSL_EOF", TRUE | 0x2 | GV_ADDMULTI);
22024     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(GSL_EOF)));
22025     SvREADONLY_on(sv);
22026   } while(0) /*@SWIG@*/;
22027   SWIG_TypeClientData(SWIGTYPE_p_gsl_complex, (void*) "Math::GSL::Matrix::gsl_complex");
22028   SWIG_TypeClientData(SWIGTYPE_p_gsl_complex_long_double, (void*) "Math::GSL::Matrix::gsl_complex_long_double");
22029   SWIG_TypeClientData(SWIGTYPE_p_gsl_complex_float, (void*) "Math::GSL::Matrix::gsl_complex_float");
22030   SWIG_TypeClientData(SWIGTYPE_p_gsl_vector, (void*) "Math::GSL::Matrix::gsl_vector");
22031   SWIG_TypeClientData(SWIGTYPE_p__gsl_vector_view, (void*) "Math::GSL::Matrix::_gsl_vector_view");
22032   SWIG_TypeClientData(SWIGTYPE_p__gsl_vector_const_view, (void*) "Math::GSL::Matrix::_gsl_vector_const_view");
22033   SWIG_TypeClientData(SWIGTYPE_p_gsl_matrix, (void*) "Math::GSL::Matrix::gsl_matrix");
22034   SWIG_TypeClientData(SWIGTYPE_p__gsl_matrix_view, (void*) "Math::GSL::Matrix::_gsl_matrix_view");
22035   SWIG_TypeClientData(SWIGTYPE_p__gsl_matrix_const_view, (void*) "Math::GSL::Matrix::_gsl_matrix_const_view");
22036   SWIG_TypeClientData(SWIGTYPE_p_gsl_matrix_int, (void*) "Math::GSL::Matrix::gsl_matrix_int");
22037   SWIG_TypeClientData(SWIGTYPE_p__gsl_matrix_int_view, (void*) "Math::GSL::Matrix::_gsl_matrix_int_view");
22038   SWIG_TypeClientData(SWIGTYPE_p__gsl_matrix_int_const_view, (void*) "Math::GSL::Matrix::_gsl_matrix_int_const_view");
22039   SWIG_TypeClientData(SWIGTYPE_p_gsl_matrix_complex, (void*) "Math::GSL::Matrix::gsl_matrix_complex");
22040   SWIG_TypeClientData(SWIGTYPE_p__gsl_matrix_complex_view, (void*) "Math::GSL::Matrix::_gsl_matrix_complex_view");
22041   SWIG_TypeClientData(SWIGTYPE_p__gsl_matrix_complex_const_view, (void*) "Math::GSL::Matrix::_gsl_matrix_complex_const_view");
22042   SWIG_TypeClientData(SWIGTYPE_p_gsl_matrix_char, (void*) "Math::GSL::Matrix::gsl_matrix_char");
22043   SWIG_TypeClientData(SWIGTYPE_p__gsl_matrix_char_view, (void*) "Math::GSL::Matrix::_gsl_matrix_char_view");
22044   SWIG_TypeClientData(SWIGTYPE_p__gsl_matrix_char_const_view, (void*) "Math::GSL::Matrix::_gsl_matrix_char_const_view");
22045   ST(0) = &PL_sv_yes;
22046   XSRETURN(1);
22047 }
22048 
22049