xs/BSpline_wrap.2.8.c

filter: Statementstmt 0.0% 0 / 3702 Branchbran 0.0% 0 / 2104 Conditioncond n/a MC/DCmcdc n/a Subroutinesub n/a Podpod n/a totaltotal 0.0% 0 / 5806 CC 0 SCAR 0
CC
0
Cov
0%
CRAP 0
« xs/BLAS_wrap.2.8.c ↑ Summary xs/CBLAS_wrap.2.8.c »
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (https://www.swig.org).
3 * Version 4.2.0
4 *
5 * Do not make changes to this file unless you know what you are doing - modify
6 * the SWIG interface file instead.
7 * ----------------------------------------------------------------------------- */
8  
9  
10 #define SWIG_VERSION 0x040200
11 #define SWIGPERL
12 #define SWIG_CASTRANK_MODE
13  
14 /* -----------------------------------------------------------------------------
15 * This section contains generic SWIG labels for method/variable
16 * declarations/attributes, and other compiler dependent labels.
17 * ----------------------------------------------------------------------------- */
18  
19 /* template workaround for compilers that cannot correctly implement the C++ standard */
20 #ifndef SWIGTEMPLATEDISAMBIGUATOR
21 # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
22 # define SWIGTEMPLATEDISAMBIGUATOR template
23 # elif defined(__HP_aCC)
24 /* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */
25 /* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */
26 # define SWIGTEMPLATEDISAMBIGUATOR template
27 # else
28 # define SWIGTEMPLATEDISAMBIGUATOR
29 # endif
30 #endif
31  
32 /* inline attribute */
33 #ifndef SWIGINLINE
34 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
35 # define SWIGINLINE inline
36 # else
37 # define SWIGINLINE
38 # endif
39 #endif
40  
41 /* attribute recognised by some compilers to avoid 'unused' warnings */
42 #ifndef SWIGUNUSED
43 # if defined(__GNUC__)
44 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
45 # define SWIGUNUSED __attribute__ ((__unused__))
46 # else
47 # define SWIGUNUSED
48 # endif
49 # elif defined(__ICC)
50 # define SWIGUNUSED __attribute__ ((__unused__))
51 # else
52 # define SWIGUNUSED
53 # endif
54 #endif
55  
56 #ifndef SWIG_MSC_UNSUPPRESS_4505
57 # if defined(_MSC_VER)
58 # pragma warning(disable : 4505) /* unreferenced local function has been removed */
59 # endif
60 #endif
61  
62 #ifndef SWIGUNUSEDPARM
63 # ifdef __cplusplus
64 # define SWIGUNUSEDPARM(p)
65 # else
66 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
67 # endif
68 #endif
69  
70 /* internal SWIG method */
71 #ifndef SWIGINTERN
72 # define SWIGINTERN static SWIGUNUSED
73 #endif
74  
75 /* internal inline SWIG method */
76 #ifndef SWIGINTERNINLINE
77 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
78 #endif
79  
80 /* exporting methods */
81 #if defined(__GNUC__)
82 # if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
83 # ifndef GCC_HASCLASSVISIBILITY
84 # define GCC_HASCLASSVISIBILITY
85 # endif
86 # endif
87 #endif
88  
89 #ifndef SWIGEXPORT
90 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
91 # if defined(STATIC_LINKED)
92 # define SWIGEXPORT
93 # else
94 # define SWIGEXPORT __declspec(dllexport)
95 # endif
96 # else
97 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
98 # define SWIGEXPORT __attribute__ ((visibility("default")))
99 # else
100 # define SWIGEXPORT
101 # endif
102 # endif
103 #endif
104  
105 /* calling conventions for Windows */
106 #ifndef SWIGSTDCALL
107 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
108 # define SWIGSTDCALL __stdcall
109 # else
110 # define SWIGSTDCALL
111 # endif
112 #endif
113  
114 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
115 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
116 # define _CRT_SECURE_NO_DEPRECATE
117 #endif
118  
119 /* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */
120 #if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
121 # define _SCL_SECURE_NO_DEPRECATE
122 #endif
123  
124 /* Deal with Apple's deprecated 'AssertMacros.h' from Carbon-framework */
125 #if defined(__APPLE__) && !defined(__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES)
126 # define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0
127 #endif
128  
129 /* Intel's compiler complains if a variable which was never initialised is
130 * cast to void, which is a common idiom which we use to indicate that we
131 * are aware a variable isn't used. So we just silence that warning.
132 * See: https://github.com/swig/swig/issues/192 for more discussion.
133 */
134 #ifdef __INTEL_COMPILER
135 # pragma warning disable 592
136 #endif
137  
138 #if __cplusplus >=201103L
139 # define SWIG_NULLPTR nullptr
140 #else
141 # define SWIG_NULLPTR NULL
142 #endif
143  
144 /* -----------------------------------------------------------------------------
145 * swigrun.swg
146 *
147 * This file contains generic C API SWIG runtime support for pointer
148 * type checking.
149 * ----------------------------------------------------------------------------- */
150  
151 /* This should only be incremented when either the layout of swig_type_info changes,
152 or for whatever reason, the runtime changes incompatibly */
153 #define SWIG_RUNTIME_VERSION "4"
154  
155 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
156 #ifdef SWIG_TYPE_TABLE
157 # define SWIG_QUOTE_STRING(x) #x
158 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
159 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
160 #else
161 # define SWIG_TYPE_TABLE_NAME
162 #endif
163  
164 /*
165 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
166 creating a static or dynamic library from the SWIG runtime code.
167 In 99.9% of the cases, SWIG just needs to declare them as 'static'.
168  
169 But only do this if strictly necessary, ie, if you have problems
170 with your compiler or suchlike.
171 */
172  
173 #ifndef SWIGRUNTIME
174 # define SWIGRUNTIME SWIGINTERN
175 #endif
176  
177 #ifndef SWIGRUNTIMEINLINE
178 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
179 #endif
180  
181 /* Generic buffer size */
182 #ifndef SWIG_BUFFER_SIZE
183 # define SWIG_BUFFER_SIZE 1024
184 #endif
185  
186 /* Flags for pointer conversions */
187 #define SWIG_POINTER_DISOWN 0x1
188 #define SWIG_CAST_NEW_MEMORY 0x2
189 #define SWIG_POINTER_NO_NULL 0x4
190 #define SWIG_POINTER_CLEAR 0x8
191 #define SWIG_POINTER_RELEASE (SWIG_POINTER_CLEAR | SWIG_POINTER_DISOWN)
192  
193 /* Flags for new pointer objects */
194 #define SWIG_POINTER_OWN 0x1
195  
196  
197 /*
198 Flags/methods for returning states.
199  
200 The SWIG conversion methods, as ConvertPtr, return an integer
201 that tells if the conversion was successful or not. And if not,
202 an error code can be returned (see swigerrors.swg for the codes).
203  
204 Use the following macros/flags to set or process the returning
205 states.
206  
207 In old versions of SWIG, code such as the following was usually written:
208  
209 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
210 // success code
211 } else {
212 //fail code
213 }
214  
215 Now you can be more explicit:
216  
217 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
218 if (SWIG_IsOK(res)) {
219 // success code
220 } else {
221 // fail code
222 }
223  
224 which is the same really, but now you can also do
225  
226 Type *ptr;
227 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
228 if (SWIG_IsOK(res)) {
229 // success code
230 if (SWIG_IsNewObj(res) {
231 ...
232 delete *ptr;
233 } else {
234 ...
235 }
236 } else {
237 // fail code
238 }
239  
240 I.e., now SWIG_ConvertPtr can return new objects and you can
241 identify the case and take care of the deallocation. Of course that
242 also requires SWIG_ConvertPtr to return new result values, such as
243  
244 int SWIG_ConvertPtr(obj, ptr,...) {
245 if (<obj is ok>) {
246 if (<need new object>) {
247 *ptr = <ptr to new allocated object>;
248 return SWIG_NEWOBJ;
249 } else {
250 *ptr = <ptr to old object>;
251 return SWIG_OLDOBJ;
252 }
253 } else {
254 return SWIG_BADOBJ;
255 }
256 }
257  
258 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
259 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
260 SWIG errors code.
261  
262 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
263 allows returning the 'cast rank', for example, if you have this
264  
265 int food(double)
266 int fooi(int);
267  
268 and you call
269  
270 food(1) // cast rank '1' (1 -> 1.0)
271 fooi(1) // cast rank '0'
272  
273 just use the SWIG_AddCast()/SWIG_CheckState()
274 */
275  
276 #define SWIG_OK (0)
277 /* Runtime errors are < 0 */
278 #define SWIG_ERROR (-1)
279 /* Errors in range -1 to -99 are in swigerrors.swg (errors for all languages including those not using the runtime) */
280 /* Errors in range -100 to -199 are language specific errors defined in *errors.swg */
281 /* Errors < -200 are generic runtime specific errors */
282 #define SWIG_ERROR_RELEASE_NOT_OWNED (-200)
283  
284 #define SWIG_IsOK(r) (r >= 0)
285 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
286  
287 /* The CastRankLimit says how many bits are used for the cast rank */
288 #define SWIG_CASTRANKLIMIT (1 << 8)
289 /* The NewMask denotes the object was created (using new/malloc) */
290 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
291 /* The TmpMask is for in/out typemaps that use temporary objects */
292 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
293 /* Simple returning values */
294 #define SWIG_BADOBJ (SWIG_ERROR)
295 #define SWIG_OLDOBJ (SWIG_OK)
296 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
297 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
298 /* Check, add and del object mask methods */
299 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
300 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
301 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
302 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
303 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
304 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
305  
306 /* Cast-Rank Mode */
307 #if defined(SWIG_CASTRANK_MODE)
308 # ifndef SWIG_TypeRank
309 # define SWIG_TypeRank unsigned long
310 # endif
311 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
312 # define SWIG_MAXCASTRANK (2)
313 # endif
314 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
315 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
316 0 SWIGINTERNINLINE int SWIG_AddCast(int r) {
317 0 ▶ return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
Branch: 2 branches
BranchTrueFalseTotal
return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r; 0 0 0
return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r; 0 0 0
318 }
319 SWIGINTERNINLINE int SWIG_CheckState(int r) {
320 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
321 }
322 #else /* no cast-rank mode */
323 # define SWIG_AddCast(r) (r)
324 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
325 #endif
326  
327 /* C99 and C++11 should provide snprintf, but define SWIG_NO_SNPRINTF
328 * if you're missing it.
329 */
330 #if ((defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L) || \
331 (defined __cplusplus && __cplusplus >= 201103L) || \
332 defined SWIG_HAVE_SNPRINTF) && \
333 !defined SWIG_NO_SNPRINTF
334 # define SWIG_snprintf(O,S,F,A) snprintf(O,S,F,A)
335 # define SWIG_snprintf2(O,S,F,A,B) snprintf(O,S,F,A,B)
336 #else
337 /* Fallback versions ignore the buffer size, but most of our uses either have a
338 * fixed maximum possible size or dynamically allocate a buffer that's large
339 * enough.
340 */
341 # define SWIG_snprintf(O,S,F,A) sprintf(O,F,A)
342 # define SWIG_snprintf2(O,S,F,A,B) sprintf(O,F,A,B)
343 #endif
344  
345 #include <string.h>
346  
347 #ifdef __cplusplus
348 extern "C" {
349 #endif
350  
351 typedef void *(*swig_converter_func)(void *, int *);
352 typedef struct swig_type_info *(*swig_dycast_func)(void **);
353  
354 /* Structure to store information on one type */
355 typedef struct swig_type_info {
356 const char *name; /* mangled name of this type */
357 const char *str; /* human readable name of this type */
358 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
359 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
360 void *clientdata; /* language specific type data */
361 int owndata; /* flag if the structure owns the clientdata */
362 } swig_type_info;
363  
364 /* Structure to store a type and conversion function used for casting */
365 typedef struct swig_cast_info {
366 swig_type_info *type; /* pointer to type that is equivalent to this type */
367 swig_converter_func converter; /* function to cast the void pointers */
368 struct swig_cast_info *next; /* pointer to next cast in linked list */
369 struct swig_cast_info *prev; /* pointer to the previous cast */
370 } swig_cast_info;
371  
372 /* Structure used to store module information
373 * Each module generates one structure like this, and the runtime collects
374 * all of these structures and stores them in a circularly linked list.*/
375 typedef struct swig_module_info {
376 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
377 size_t size; /* Number of types in this module */
378 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
379 swig_type_info **type_initial; /* Array of initially generated type structures */
380 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
381 void *clientdata; /* Language specific module data */
382 } swig_module_info;
383  
384 /*
385 Compare two type names skipping the space characters, therefore
386 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
387  
388 Return 0 when the two name types are equivalent, as in
389 strncmp, but skipping ' '.
390 */
391 SWIGRUNTIME int
392 0 SWIG_TypeNameComp(const char *f1, const char *l1,
393 const char *f2, const char *l2) {
394 0 ▶ for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
Branch: 2 branches
BranchTrueFalseTotal
for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) { 0 0 0
for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) { 0 0 0
395 0 ▶ while ((*f1 == ' ') && (f1 != l1)) ++f1;
Branch: 2 branches
BranchTrueFalseTotal
while ((*f1 == ' ') && (f1 != l1)) ++f1; 0 0 0
while ((*f1 == ' ') && (f1 != l1)) ++f1; 0 0 0
396 0 ▶ while ((*f2 == ' ') && (f2 != l2)) ++f2;
Branch: 2 branches
BranchTrueFalseTotal
while ((*f2 == ' ') && (f2 != l2)) ++f2; 0 0 0
while ((*f2 == ' ') && (f2 != l2)) ++f2; 0 0 0
397 0 ▶ if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
Branch: 2 branches
BranchTrueFalseTotal
if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1; 0 0 0
if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1; 0 0 0
398 }
399 0 return (int)((l1 - f1) - (l2 - f2));
400 }
401  
402 /*
403 Check type equivalence in a name list like <name1>|<name2>|...
404 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
405 */
406 SWIGRUNTIME int
407 0 SWIG_TypeCmp(const char *nb, const char *tb) {
408 0 int equiv = 1;
409 0 const char* te = tb + strlen(tb);
410 0 const char* ne = nb;
411 0 ▶ while (equiv != 0 && *ne) {
Branch: 2 branches
BranchTrueFalseTotal
while (equiv != 0 && *ne) { 0 0 0
while (equiv != 0 && *ne) { 0 0 0
412 0 ▶ for (nb = ne; *ne; ++ne) {
Branch: 1 branch
BranchTrueFalseTotal
for (nb = ne; *ne; ++ne) { 0 0 0
413 0 ▶ if (*ne == '|') break;
Branch: 1 branch
BranchTrueFalseTotal
if (*ne == '|') break; 0 0 0
414 }
415 0 equiv = SWIG_TypeNameComp(nb, ne, tb, te);
416 0 ▶ if (*ne) ++ne;
Branch: 1 branch
BranchTrueFalseTotal
if (*ne) ++ne; 0 0 0
417 }
418 0 return equiv;
419 }
420  
421 /*
422 Check type equivalence in a name list like <name1>|<name2>|...
423 Return 0 if not equal, 1 if equal
424 */
425 SWIGRUNTIME int
426 0 SWIG_TypeEquiv(const char *nb, const char *tb) {
427 0 return SWIG_TypeCmp(nb, tb) == 0 ? 1 : 0;
428 }
429  
430 /*
431 Check the typename
432 */
433 SWIGRUNTIME swig_cast_info *
434 0 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
435 0 ▶ if (ty) {
Branch: 1 branch
BranchTrueFalseTotal
if (ty) { 0 0 0
436 0 swig_cast_info *iter = ty->cast;
437 0 ▶ while (iter) {
Branch: 1 branch
BranchTrueFalseTotal
while (iter) { 0 0 0
438 0 ▶ if (strcmp(iter->type->name, c) == 0) {
Branch: 1 branch
BranchTrueFalseTotal
if (strcmp(iter->type->name, c) == 0) { 0 0 0
439 0 ▶ if (iter == ty->cast)
Branch: 1 branch
BranchTrueFalseTotal
if (iter == ty->cast) 0 0 0
440 0 return iter;
441 /* Move iter to the top of the linked list */
442 0 iter->prev->next = iter->next;
443 0 ▶ if (iter->next)
Branch: 1 branch
BranchTrueFalseTotal
if (iter->next) 0 0 0
444 0 iter->next->prev = iter->prev;
445 0 iter->next = ty->cast;
446 0 iter->prev = 0;
447 0 ▶ if (ty->cast) ty->cast->prev = iter;
Branch: 1 branch
BranchTrueFalseTotal
if (ty->cast) ty->cast->prev = iter; 0 0 0
448 0 ty->cast = iter;
449 0 return iter;
450 }
451 0 iter = iter->next;
452 }
453 }
454 0 return 0;
455 }
456  
457 /*
458 Identical to SWIG_TypeCheck, except strcmp is replaced with a pointer comparison
459 */
460 SWIGRUNTIME swig_cast_info *
461 0 SWIG_TypeCheckStruct(const swig_type_info *from, swig_type_info *ty) {
462 0 ▶ if (ty) {
Branch: 1 branch
BranchTrueFalseTotal
if (ty) { 0 0 0
463 0 swig_cast_info *iter = ty->cast;
464 0 ▶ while (iter) {
Branch: 1 branch
BranchTrueFalseTotal
while (iter) { 0 0 0
465 0 ▶ if (iter->type == from) {
Branch: 1 branch
BranchTrueFalseTotal
if (iter->type == from) { 0 0 0
466 0 ▶ if (iter == ty->cast)
Branch: 1 branch
BranchTrueFalseTotal
if (iter == ty->cast) 0 0 0
467 0 return iter;
468 /* Move iter to the top of the linked list */
469 0 iter->prev->next = iter->next;
470 0 ▶ if (iter->next)
Branch: 1 branch
BranchTrueFalseTotal
if (iter->next) 0 0 0
471 0 iter->next->prev = iter->prev;
472 0 iter->next = ty->cast;
473 0 iter->prev = 0;
474 0 ▶ if (ty->cast) ty->cast->prev = iter;
Branch: 1 branch
BranchTrueFalseTotal
if (ty->cast) ty->cast->prev = iter; 0 0 0
475 0 ty->cast = iter;
476 0 return iter;
477 }
478 0 iter = iter->next;
479 }
480 }
481 0 return 0;
482 }
483  
484 /*
485 Cast a pointer up an inheritance hierarchy
486 */
487 SWIGRUNTIMEINLINE void *
488 0 SWIG_TypeCast(swig_cast_info *ty, void *ptr, int *newmemory) {
489 0 ▶ return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr, newmemory);
Branch: 2 branches
BranchTrueFalseTotal
return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr, newmemory); 0 0 0
return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr, newmemory); 0 0 0
490 }
491  
492 /*
493 Dynamic pointer casting. Down an inheritance hierarchy
494 */
495 SWIGRUNTIME swig_type_info *
496 0 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
497 0 swig_type_info *lastty = ty;
498 0 ▶ if (!ty || !ty->dcast) return ty;
Branch: 2 branches
BranchTrueFalseTotal
if (!ty || !ty->dcast) return ty; 0 0 0
if (!ty || !ty->dcast) return ty; 0 0 0
499 0 ▶ while (ty && (ty->dcast)) {
Branch: 2 branches
BranchTrueFalseTotal
while (ty && (ty->dcast)) { 0 0 0
while (ty && (ty->dcast)) { 0 0 0
500 0 ty = (*ty->dcast)(ptr);
501 0 ▶ if (ty) lastty = ty;
Branch: 1 branch
BranchTrueFalseTotal
if (ty) lastty = ty; 0 0 0
502 }
503 0 return lastty;
504 }
505  
506 /*
507 Return the name associated with this type
508 */
509 SWIGRUNTIMEINLINE const char *
510 SWIG_TypeName(const swig_type_info *ty) {
511 return ty->name;
512 }
513  
514 /*
515 Return the pretty name associated with this type,
516 that is an unmangled type name in a form presentable to the user.
517 */
518 SWIGRUNTIME const char *
519 0 SWIG_TypePrettyName(const swig_type_info *type) {
520 /* The "str" field contains the equivalent pretty names of the
521 type, separated by vertical-bar characters. Choose the last
522 name. It should be the most specific; a fully resolved name
523 but not necessarily with default template parameters expanded. */
524 0 ▶ if (!type) return NULL;
Branch: 1 branch
BranchTrueFalseTotal
if (!type) return NULL; 0 0 0
525 0 ▶ if (type->str != NULL) {
Branch: 1 branch
BranchTrueFalseTotal
if (type->str != NULL) { 0 0 0
526 0 const char *last_name = type->str;
527 const char *s;
528 0 ▶ for (s = type->str; *s; s++)
Branch: 1 branch
BranchTrueFalseTotal
for (s = type->str; *s; s++) 0 0 0
529 0 ▶ if (*s == '|') last_name = s+1;
Branch: 1 branch
BranchTrueFalseTotal
if (*s == '|') last_name = s+1; 0 0 0
530 0 return last_name;
531 }
532 else
533 0 return type->name;
534 }
535  
536 /*
537 Set the clientdata field for a type
538 */
539 SWIGRUNTIME void
540 0 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
541 0 swig_cast_info *cast = ti->cast;
542 /* if (ti->clientdata == clientdata) return; */
543 0 ti->clientdata = clientdata;
544  
545 0 ▶ while (cast) {
Branch: 1 branch
BranchTrueFalseTotal
while (cast) { 0 0 0
546 0 ▶ if (!cast->converter) {
Branch: 1 branch
BranchTrueFalseTotal
if (!cast->converter) { 0 0 0
547 0 swig_type_info *tc = cast->type;
548 0 ▶ if (!tc->clientdata) {
Branch: 1 branch
BranchTrueFalseTotal
if (!tc->clientdata) { 0 0 0
549 0 SWIG_TypeClientData(tc, clientdata);
550 }
551 }
552 0 cast = cast->next;
553 }
554 0 }
555 SWIGRUNTIME void
556 0 SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
557 0 SWIG_TypeClientData(ti, clientdata);
558 0 ti->owndata = 1;
559 0 }
560  
561 /*
562 Search for a swig_type_info structure only by mangled name
563 Search is a O(log #types)
564  
565 We start searching at module start, and finish searching when start == end.
566 Note: if start == end at the beginning of the function, we go all the way around
567 the circular list.
568 */
569 SWIGRUNTIME swig_type_info *
570 0 SWIG_MangledTypeQueryModule(swig_module_info *start,
571 swig_module_info *end,
572 const char *name) {
573 0 swig_module_info *iter = start;
574 do {
575 0 ▶ if (iter->size) {
Branch: 1 branch
BranchTrueFalseTotal
if (iter->size) { 0 0 0
576 0 size_t l = 0;
577 0 size_t r = iter->size - 1;
578 do {
579 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
580 0 size_t i = (l + r) >> 1;
581 0 const char *iname = iter->types[i]->name;
582 0 ▶ if (iname) {
Branch: 1 branch
BranchTrueFalseTotal
if (iname) { 0 0 0
583 0 int compare = strcmp(name, iname);
584 0 ▶ if (compare == 0) {
Branch: 1 branch
BranchTrueFalseTotal
if (compare == 0) { 0 0 0
585 0 return iter->types[i];
586 0 ▶ } else if (compare < 0) {
Branch: 1 branch
BranchTrueFalseTotal
} else if (compare < 0) { 0 0 0
587 0 ▶ if (i) {
Branch: 1 branch
BranchTrueFalseTotal
if (i) { 0 0 0
588 0 r = i - 1;
589 } else {
590 0 break;
591 }
592 0 ▶ } else if (compare > 0) {
Branch: 1 branch
BranchTrueFalseTotal
} else if (compare > 0) { 0 0 0
593 0 l = i + 1;
594 }
595 } else {
596 0 break; /* should never happen */
597 }
598 0 ▶ } while (l <= r);
Branch: 1 branch
BranchTrueFalseTotal
} while (l <= r); 0 0 0
599 }
600 0 iter = iter->next;
601 0 ▶ } while (iter != end);
Branch: 1 branch
BranchTrueFalseTotal
} while (iter != end); 0 0 0
602 0 return 0;
603 }
604  
605 /*
606 Search for a swig_type_info structure for either a mangled name or a human readable name.
607 It first searches the mangled names of the types, which is a O(log #types)
608 If a type is not found it then searches the human readable names, which is O(#types).
609  
610 We start searching at module start, and finish searching when start == end.
611 Note: if start == end at the beginning of the function, we go all the way around
612 the circular list.
613 */
614 SWIGRUNTIME swig_type_info *
615 0 SWIG_TypeQueryModule(swig_module_info *start,
616 swig_module_info *end,
617 const char *name) {
618 /* STEP 1: Search the name field using binary search */
619 0 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
620 0 ▶ if (ret) {
Branch: 1 branch
BranchTrueFalseTotal
if (ret) { 0 0 0
621 0 return ret;
622 } else {
623 /* STEP 2: If the type hasn't been found, do a complete search
624 of the str field (the human readable name) */
625 0 swig_module_info *iter = start;
626 do {
627 0 size_t i = 0;
628 0 ▶ for (; i < iter->size; ++i) {
Branch: 1 branch
BranchTrueFalseTotal
for (; i < iter->size; ++i) { 0 0 0
629 0 ▶ if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
Branch: 2 branches
BranchTrueFalseTotal
if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name))) 0 0 0
if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name))) 0 0 0
630 0 return iter->types[i];
631 }
632 0 iter = iter->next;
633 0 ▶ } while (iter != end);
Branch: 1 branch
BranchTrueFalseTotal
} while (iter != end); 0 0 0
634 }
635  
636 /* neither found a match */
637 0 return 0;
638 }
639  
640 /*
641 Pack binary data into a string
642 */
643 SWIGRUNTIME char *
644 0 SWIG_PackData(char *c, void *ptr, size_t sz) {
645 static const char hex[17] = "0123456789abcdef";
646 0 const unsigned char *u = (unsigned char *) ptr;
647 0 const unsigned char *eu = u + sz;
648 0 ▶ for (; u != eu; ++u) {
Branch: 1 branch
BranchTrueFalseTotal
for (; u != eu; ++u) { 0 0 0
649 0 unsigned char uu = *u;
650 0 *(c++) = hex[(uu & 0xf0) >> 4];
651 0 *(c++) = hex[uu & 0xf];
652 }
653 0 return c;
654 }
655  
656 /*
657 Unpack binary data from a string
658 */
659 SWIGRUNTIME const char *
660 0 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
661 0 unsigned char *u = (unsigned char *) ptr;
662 0 const unsigned char *eu = u + sz;
663 0 ▶ for (; u != eu; ++u) {
Branch: 1 branch
BranchTrueFalseTotal
for (; u != eu; ++u) { 0 0 0
664 0 char d = *(c++);
665 unsigned char uu;
666 0 ▶ if ((d >= '0') && (d <= '9'))
Branch: 2 branches
BranchTrueFalseTotal
if ((d >= '0') && (d <= '9')) 0 0 0
if ((d >= '0') && (d <= '9')) 0 0 0
667 0 uu = (unsigned char)((d - '0') << 4);
668 0 ▶ else if ((d >= 'a') && (d <= 'f'))
Branch: 2 branches
BranchTrueFalseTotal
else if ((d >= 'a') && (d <= 'f')) 0 0 0
else if ((d >= 'a') && (d <= 'f')) 0 0 0
669 0 uu = (unsigned char)((d - ('a'-10)) << 4);
670 else
671 0 return (char *) 0;
672 0 d = *(c++);
673 0 ▶ if ((d >= '0') && (d <= '9'))
Branch: 2 branches
BranchTrueFalseTotal
if ((d >= '0') && (d <= '9')) 0 0 0
if ((d >= '0') && (d <= '9')) 0 0 0
674 0 uu |= (unsigned char)(d - '0');
675 0 ▶ else if ((d >= 'a') && (d <= 'f'))
Branch: 2 branches
BranchTrueFalseTotal
else if ((d >= 'a') && (d <= 'f')) 0 0 0
else if ((d >= 'a') && (d <= 'f')) 0 0 0
676 0 uu |= (unsigned char)(d - ('a'-10));
677 else
678 0 return (char *) 0;
679 0 *u = uu;
680 }
681 0 return c;
682 }
683  
684 /*
685 Pack 'void *' into a string buffer.
686 */
687 SWIGRUNTIME char *
688 0 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
689 0 char *r = buff;
690 0 ▶ if ((2*sizeof(void *) + 2) > bsz) return 0;
Branch: 1 branch
BranchTrueFalseTotal
if ((2*sizeof(void *) + 2) > bsz) return 0; 0 0 0
691 0 *(r++) = '_';
692 0 r = SWIG_PackData(r,&ptr,sizeof(void *));
693 0 ▶ if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
Branch: 1 branch
BranchTrueFalseTotal
if (strlen(name) + 1 > (bsz - (r - buff))) return 0; 0 0 0
694 0 strcpy(r,name);
695 0 return buff;
696 }
697  
698 SWIGRUNTIME const char *
699 0 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
700 0 ▶ if (*c != '_') {
Branch: 1 branch
BranchTrueFalseTotal
if (*c != '_') { 0 0 0
701 0 ▶ if (strcmp(c,"NULL") == 0) {
Branch: 1 branch
BranchTrueFalseTotal
if (strcmp(c,"NULL") == 0) { 0 0 0
702 0 *ptr = (void *) 0;
703 0 return name;
704 } else {
705 0 return 0;
706 }
707 }
708 0 return SWIG_UnpackData(++c,ptr,sizeof(void *));
709 }
710  
711 SWIGRUNTIME char *
712 0 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
713 0 char *r = buff;
714 0 ▶ size_t lname = (name ? strlen(name) : 0);
Branch: 1 branch
BranchTrueFalseTotal
size_t lname = (name ? strlen(name) : 0); 0 0 0
715 0 ▶ if ((2*sz + 2 + lname) > bsz) return 0;
Branch: 1 branch
BranchTrueFalseTotal
if ((2*sz + 2 + lname) > bsz) return 0; 0 0 0
716 0 *(r++) = '_';
717 0 r = SWIG_PackData(r,ptr,sz);
718 0 ▶ if (lname) {
Branch: 1 branch
BranchTrueFalseTotal
if (lname) { 0 0 0
719 0 strncpy(r,name,lname+1);
720 } else {
721 0 *r = 0;
722 }
723 0 return buff;
724 }
725  
726 SWIGRUNTIME const char *
727 0 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
728 0 ▶ if (*c != '_') {
Branch: 1 branch
BranchTrueFalseTotal
if (*c != '_') { 0 0 0
729 0 ▶ if (strcmp(c,"NULL") == 0) {
Branch: 1 branch
BranchTrueFalseTotal
if (strcmp(c,"NULL") == 0) { 0 0 0
730 0 memset(ptr,0,sz);
731 0 return name;
732 } else {
733 0 return 0;
734 }
735 }
736 0 return SWIG_UnpackData(++c,ptr,sz);
737 }
738  
739 #ifdef __cplusplus
740 }
741 #endif
742  
743 /* SWIG Errors applicable to all language modules, values are reserved from -1 to -99 */
744 #define SWIG_UnknownError -1
745 #define SWIG_IOError -2
746 #define SWIG_RuntimeError -3
747 #define SWIG_IndexError -4
748 #define SWIG_TypeError -5
749 #define SWIG_DivisionByZero -6
750 #define SWIG_OverflowError -7
751 #define SWIG_SyntaxError -8
752 #define SWIG_ValueError -9
753 #define SWIG_SystemError -10
754 #define SWIG_AttributeError -11
755 #define SWIG_MemoryError -12
756 #define SWIG_NullReferenceError -13
757  
758  
759 #ifdef __cplusplus
760 /* Needed on some windows machines---since MS plays funny games with the header files under C++ */
761 #include <math.h>
762 #include <stdlib.h>
763 extern "C" {
764 #endif
765  
766 #if __GNUC__ >= 10
767 #if defined(__cplusplus)
768 #pragma GCC diagnostic push
769 #pragma GCC diagnostic ignored "-Wvolatile"
770 #endif
771 #endif
772  
773 #include "EXTERN.h"
774 #include "perl.h"
775 #include "XSUB.h"
776  
777 #if __GNUC__ >= 10
778 #if defined(__cplusplus)
779 #pragma GCC diagnostic pop
780 #endif
781 #endif
782  
783 /* PERL_REVISION was added in Perl 5.6. */
784 #if !defined PERL_REVISION || (PERL_REVISION-0 == 5 && PERL_VERSION-0 < 8)
785 # error SWIG requires Perl >= 5.8.0
786 #endif
787  
788 #if defined(WIN32) && defined(PERL_OBJECT) && !defined(PerlIO_exportFILE)
789 #define PerlIO_exportFILE(fh,fl) (FILE*)(fh)
790 #endif
791  
792 #ifndef SvIOK_UV
793 # define SvIOK_UV(sv) (SvIOK(sv) && (SvUVX(sv) == SvIVX(sv)))
794 #endif
795  
796 #ifndef SvUOK
797 # define SvUOK(sv) SvIOK_UV(sv)
798 #endif
799  
800 #ifndef IVSIZE
801 # ifdef LONGSIZE
802 # define IVSIZE LONGSIZE
803 # else
804 # define IVSIZE 4 /* A bold guess, but the best we can make. */
805 # endif
806 #endif
807  
808 #ifndef INT2PTR
809 # if (IVSIZE == PTRSIZE) && (UVSIZE == PTRSIZE)
810 # define PTRV UV
811 # define INT2PTR(any,d) (any)(d)
812 # else
813 # if PTRSIZE == LONGSIZE
814 # define PTRV unsigned long
815 # else
816 # define PTRV unsigned
817 # endif
818 # define INT2PTR(any,d) (any)(PTRV)(d)
819 # endif
820  
821 # define NUM2PTR(any,d) (any)(PTRV)(d)
822 # define PTR2IV(p) INT2PTR(IV,p)
823 # define PTR2UV(p) INT2PTR(UV,p)
824 # define PTR2NV(p) NUM2PTR(NV,p)
825  
826 # if PTRSIZE == LONGSIZE
827 # define PTR2ul(p) (unsigned long)(p)
828 # else
829 # define PTR2ul(p) INT2PTR(unsigned long,p)
830 # endif
831 #endif /* !INT2PTR */
832  
833 #ifndef SvPV_nolen
834 # define SvPV_nolen(x) SvPV(x,PL_na)
835 #endif
836  
837 #ifndef get_sv
838 # define get_sv perl_get_sv
839 #endif
840  
841 #ifndef ERRSV
842 # define ERRSV get_sv("@",FALSE)
843 #endif
844  
845 #ifndef pTHX_
846 #define pTHX_
847 #endif
848  
849 #include <string.h>
850 #ifdef __cplusplus
851 }
852 #endif
853  
854 /* -----------------------------------------------------------------------------
855 * error manipulation
856 * ----------------------------------------------------------------------------- */
857  
858 SWIGINTERN const char*
859 0 SWIG_Perl_ErrorType(int code) {
860 0 switch(code) {
861 0 case SWIG_MemoryError:
862 0 return "MemoryError";
863 0 case SWIG_IOError:
864 0 return "IOError";
865 0 case SWIG_RuntimeError:
866 0 return "RuntimeError";
867 0 case SWIG_IndexError:
868 0 return "IndexError";
869 0 case SWIG_TypeError:
870 0 return "TypeError";
871 0 case SWIG_DivisionByZero:
872 0 return "ZeroDivisionError";
873 0 case SWIG_OverflowError:
874 0 return "OverflowError";
875 0 case SWIG_SyntaxError:
876 0 return "SyntaxError";
877 0 case SWIG_ValueError:
878 0 return "ValueError";
879 0 case SWIG_SystemError:
880 0 return "SystemError";
881 0 case SWIG_AttributeError:
882 0 return "AttributeError";
883 0 default:
884 0 return "RuntimeError";
885 }
886 }
887  
888  
889 /* -----------------------------------------------------------------------------
890 * perlrun.swg
891 *
892 * This file contains the runtime support for Perl modules
893 * and includes code for managing global variables and pointer
894 * type checking.
895 * ----------------------------------------------------------------------------- */
896  
897 #define SWIG_PERL_OBJECT_DECL
898 #define SWIG_PERL_OBJECT_CALL
899  
900 /* Common SWIG API */
901  
902 /* for raw pointers */
903 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Perl_ConvertPtr(SWIG_PERL_OBJECT_CALL obj, pp, type, flags)
904 #define SWIG_ConvertPtrAndOwn(obj, pp, type, flags,own) SWIG_Perl_ConvertPtrAndOwn(SWIG_PERL_OBJECT_CALL obj, pp, type, flags, own)
905 #define SWIG_NewPointerObj(p, type, flags) SWIG_Perl_NewPointerObj(SWIG_PERL_OBJECT_CALL p, type, flags)
906 #define SWIG_AcquirePtr(ptr, src) SWIG_Perl_AcquirePtr(ptr, src)
907 #define swig_owntype int
908  
909 /* for raw packed data */
910 #define SWIG_ConvertPacked(obj, p, s, type) SWIG_Perl_ConvertPacked(SWIG_PERL_OBJECT_CALL obj, p, s, type)
911 #define SWIG_NewPackedObj(p, s, type) SWIG_Perl_NewPackedObj(SWIG_PERL_OBJECT_CALL p, s, type)
912  
913 /* for class or struct pointers */
914 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
915 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
916  
917 /* for C or C++ function pointers */
918 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_ConvertPtr(obj, pptr, type, 0)
919 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_NewPointerObj(ptr, type, 0)
920  
921 /* for C++ member pointers, ie, member methods */
922 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_ConvertPacked(obj, ptr, sz, ty)
923 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_NewPackedObj(ptr, sz, type)
924  
925  
926 /* Runtime API */
927  
928 #define SWIG_GetModule(clientdata) SWIG_Perl_GetModule(clientdata)
929 #define SWIG_SetModule(clientdata, pointer) SWIG_Perl_SetModule(pointer)
930  
931  
932 /* Error manipulation */
933  
934 #define SWIG_ErrorType(code) SWIG_Perl_ErrorType(code)
935 #define SWIG_Error(code, msg) sv_setpvf(get_sv("@", GV_ADD), "%s %s", SWIG_ErrorType(code), msg)
936 #define SWIG_fail goto fail
937  
938 /* Perl-specific SWIG API */
939  
940 #define SWIG_MakePtr(sv, ptr, type, flags) SWIG_Perl_MakePtr(SWIG_PERL_OBJECT_CALL sv, ptr, type, flags)
941 #define SWIG_MakePackedObj(sv, p, s, type) SWIG_Perl_MakePackedObj(SWIG_PERL_OBJECT_CALL sv, p, s, type)
942 #define SWIG_SetError(str) SWIG_Error(SWIG_RuntimeError, str)
943  
944  
945 #define SWIG_PERL_DECL_ARGS_1(arg1) (SWIG_PERL_OBJECT_DECL arg1)
946 #define SWIG_PERL_CALL_ARGS_1(arg1) (SWIG_PERL_OBJECT_CALL arg1)
947 #define SWIG_PERL_DECL_ARGS_2(arg1, arg2) (SWIG_PERL_OBJECT_DECL arg1, arg2)
948 #define SWIG_PERL_CALL_ARGS_2(arg1, arg2) (SWIG_PERL_OBJECT_CALL arg1, arg2)
949  
950 /* -----------------------------------------------------------------------------
951 * pointers/data manipulation
952 * ----------------------------------------------------------------------------- */
953  
954 /* For backward compatibility only */
955 #define SWIG_POINTER_EXCEPTION 0
956  
957 #ifdef __cplusplus
958 extern "C" {
959 #endif
960  
961 #define SWIG_OWNER SWIG_POINTER_OWN
962 #define SWIG_SHADOW SWIG_OWNER << 1
963  
964 #define SWIG_MAYBE_PERL_OBJECT SWIG_PERL_OBJECT_DECL
965  
966 /* SWIG Perl macros */
967  
968 /* Macro to declare an XS function */
969 #ifndef XSPROTO
970 # define XSPROTO(name) void name(pTHX_ CV* cv)
971 #endif
972  
973 /* Macro to call an XS function */
974 #ifndef MULTIPLICITY
975 # define SWIG_CALLXS(_name) _name(cv)
976 #else
977 # define SWIG_CALLXS(_name) _name(PERL_GET_THX, cv)
978 #endif
979  
980 #define MAGIC_PPERL
981 #define SWIGCLASS_STATIC static SWIGUNUSED
982  
983 #ifndef MULTIPLICITY
984 #define SWIG_MAGIC(a,b) (SV *a, MAGIC *b)
985  
986 #ifdef __cplusplus
987 extern "C" {
988 #endif
989 typedef int (*SwigMagicFunc)(SV *, MAGIC *);
990 #ifdef __cplusplus
991 }
992 #endif
993  
994 #else /* MULTIPLICITY */
995  
996 #define SWIG_MAGIC(a,b) (struct interpreter *interp, SV *a, MAGIC *b)
997  
998 #ifdef __cplusplus
999 extern "C" {
1000 #endif
1001 typedef int (*SwigMagicFunc)(struct interpreter *, SV *, MAGIC *);
1002 #ifdef __cplusplus
1003 }
1004 #endif
1005  
1006 #endif /* MULTIPLICITY */
1007  
1008 0 static void SWIGUNUSED SWIG_croak_null()
1009 {
1010 0 SV *err = get_sv("@", GV_ADD);
1011 0 ▶ if (sv_isobject(err))
Branch: 1 branch
BranchTrueFalseTotal
if (sv_isobject(err)) 0 0 0
1012 0 croak(0);
1013 else
1014 0 croak("%s", SvPV_nolen(err));
1015 }
1016  
1017  
1018 /*
1019 Define how strict is the cast between strings and integers/doubles
1020 when overloading between these types occurs.
1021
1022 The default is making it as strict as possible by using SWIG_AddCast
1023 when needed.
1024
1025 You can use -DSWIG_PERL_NO_STRICT_STR2NUM at compilation time to
1026 disable the SWIG_AddCast, making the casting between string and
1027 numbers less strict.
1028  
1029 In the end, we try to solve the overloading between strings and
1030 numerical types in the more natural way, but if you can avoid it,
1031 well, avoid it using %rename, for example.
1032 */
1033 #ifndef SWIG_PERL_NO_STRICT_STR2NUM
1034 # ifndef SWIG_PERL_STRICT_STR2NUM
1035 # define SWIG_PERL_STRICT_STR2NUM
1036 # endif
1037 #endif
1038 #ifdef SWIG_PERL_STRICT_STR2NUM
1039 /* string takes precedence */
1040 #define SWIG_Str2NumCast(x) SWIG_AddCast(x)
1041 #else
1042 /* number takes precedence */
1043 #define SWIG_Str2NumCast(x) x
1044 #endif
1045  
1046  
1047  
1048 #include <stdlib.h>
1049  
1050 SWIGRUNTIME const char *
1051 0 SWIG_Perl_TypeProxyName(const swig_type_info *type) {
1052 0 ▶ if (!type) return NULL;
Branch: 1 branch
BranchTrueFalseTotal
if (!type) return NULL; 0 0 0
1053 0 ▶ if (type->clientdata != NULL) {
Branch: 1 branch
BranchTrueFalseTotal
if (type->clientdata != NULL) { 0 0 0
1054 0 return (const char*) type->clientdata;
1055 }
1056 else {
1057 0 return type->name;
1058 }
1059 }
1060  
1061 /* Identical to SWIG_TypeCheck, except for strcmp comparison */
1062 SWIGRUNTIME swig_cast_info *
1063 0 SWIG_TypeProxyCheck(const char *c, swig_type_info *ty) {
1064 0 ▶ if (ty) {
Branch: 1 branch
BranchTrueFalseTotal
if (ty) { 0 0 0
1065 0 swig_cast_info *iter = ty->cast;
1066 0 ▶ while (iter) {
Branch: 1 branch
BranchTrueFalseTotal
while (iter) { 0 0 0
1067 0 ▶ if (strcmp(SWIG_Perl_TypeProxyName(iter->type), c) == 0) {
Branch: 1 branch
BranchTrueFalseTotal
if (strcmp(SWIG_Perl_TypeProxyName(iter->type), c) == 0) { 0 0 0
1068 0 ▶ if (iter == ty->cast)
Branch: 1 branch
BranchTrueFalseTotal
if (iter == ty->cast) 0 0 0
1069 0 return iter;
1070 /* Move iter to the top of the linked list */
1071 0 iter->prev->next = iter->next;
1072 0 ▶ if (iter->next)
Branch: 1 branch
BranchTrueFalseTotal
if (iter->next) 0 0 0
1073 0 iter->next->prev = iter->prev;
1074 0 iter->next = ty->cast;
1075 0 iter->prev = 0;
1076 0 ▶ if (ty->cast) ty->cast->prev = iter;
Branch: 1 branch
BranchTrueFalseTotal
if (ty->cast) ty->cast->prev = iter; 0 0 0
1077 0 ty->cast = iter;
1078 0 return iter;
1079 }
1080 0 iter = iter->next;
1081 }
1082 }
1083 0 return 0;
1084 }
1085  
1086 /* Acquire a pointer value */
1087  
1088 SWIGRUNTIME int
1089 0 SWIG_Perl_AcquirePtr(SWIG_MAYBE_PERL_OBJECT SV *SWIGUNUSEDPARM(sv), int SWIGUNUSEDPARM(own)) {
1090 /* TODO */
1091 0 return 0;
1092 }
1093  
1094 /* Function for getting a pointer value */
1095  
1096 SWIGRUNTIME int
1097 0 SWIG_Perl_ConvertPtrAndOwn(SWIG_MAYBE_PERL_OBJECT SV *sv, void **ptr, swig_type_info *_t, int flags, int *own) {
1098 swig_cast_info *tc;
1099 0 void *voidptr = (void *)0;
1100 0 SV *tsv = 0;
1101 0 int check_owned_pointer_release = (flags & SWIG_POINTER_RELEASE) == SWIG_POINTER_RELEASE;
1102  
1103 0 ▶ if (own)
Branch: 1 branch
BranchTrueFalseTotal
if (own) 0 0 0
1104 0 *own = 0;
1105  
1106 /* If magical, apply more magic */
1107 0 ▶ if (SvGMAGICAL(sv))
Branch: 1 branch
BranchTrueFalseTotal
if (SvGMAGICAL(sv)) 0 0 0
1108 0 mg_get(sv);
1109  
1110 /* Check to see if this is an object */
1111 0 ▶ if (sv_isobject(sv)) {
Branch: 1 branch
BranchTrueFalseTotal
if (sv_isobject(sv)) { 0 0 0
1112 0 IV tmp = 0;
1113 0 tsv = (SV*) SvRV(sv);
1114 0 ▶ if ((SvTYPE(tsv) == SVt_PVHV)) {
Branch: 1 branch
BranchTrueFalseTotal
if ((SvTYPE(tsv) == SVt_PVHV)) { 0 0 0
1115 MAGIC *mg;
1116 0 ▶ if (SvMAGICAL(tsv)) {
Branch: 1 branch
BranchTrueFalseTotal
if (SvMAGICAL(tsv)) { 0 0 0
1117 0 mg = mg_find(tsv,'P');
1118 0 ▶ if (mg) {
Branch: 1 branch
BranchTrueFalseTotal
if (mg) { 0 0 0
1119 0 sv = mg->mg_obj;
1120 0 ▶ if (sv_isobject(sv)) {
Branch: 1 branch
BranchTrueFalseTotal
if (sv_isobject(sv)) { 0 0 0
1121 0 tsv = (SV*)SvRV(sv);
1122 0 tmp = SvIV(tsv);
1123 }
1124 }
1125 } else {
1126 0 return SWIG_ERROR;
1127 }
1128 } else {
1129 0 tmp = SvIV(tsv);
1130 }
1131 0 voidptr = INT2PTR(void *,tmp);
1132 0 ▶ } else if (! SvOK(sv)) { /* Check for undef */
Branch: 1 branch
BranchTrueFalseTotal
} else if (! SvOK(sv)) { /* Check for undef */ 0 0 0
1133 0 *(ptr) = (void *) 0;
1134 0 ▶ return (flags & SWIG_POINTER_NO_NULL) ? SWIG_NullReferenceError : SWIG_OK;
Branch: 1 branch
BranchTrueFalseTotal
return (flags & SWIG_POINTER_NO_NULL) ? SWIG_NullReferenceError : SWIG_OK; 0 0 0
1135 0 ▶ } else if (SvTYPE(sv) == SVt_RV) { /* Check for NULL pointer */
Branch: 1 branch
BranchTrueFalseTotal
} else if (SvTYPE(sv) == SVt_RV) { /* Check for NULL pointer */ 0 0 0
1136 0 ▶ if (!SvROK(sv)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SvROK(sv)) { 0 0 0
1137 /* In Perl 5.12 and later, SVt_RV == SVt_IV, so sv could be a valid integer value. */
1138 0 ▶ if (SvIOK(sv)) {
Branch: 1 branch
BranchTrueFalseTotal
if (SvIOK(sv)) { 0 0 0
1139 0 return SWIG_ERROR;
1140 } else {
1141 /* NULL pointer (reference to undef). */
1142 0 *(ptr) = (void *) 0;
1143 0 return SWIG_OK;
1144 }
1145 } else {
1146 0 return SWIG_ERROR;
1147 }
1148 } else { /* Don't know what it is */
1149 0 return SWIG_ERROR;
1150 }
1151 0 ▶ if (_t) {
Branch: 1 branch
BranchTrueFalseTotal
if (_t) { 0 0 0
1152 /* Now see if the types match */
1153 0 ▶ char *_c = HvNAME(SvSTASH(SvRV(sv)));
Branch: 6 branches
BranchTrueFalseTotal
char *_c = HvNAME(SvSTASH(SvRV(sv))); 0 0 0
char *_c = HvNAME(SvSTASH(SvRV(sv))); 0 0 0
char *_c = HvNAME(SvSTASH(SvRV(sv))); 0 0 0
char *_c = HvNAME(SvSTASH(SvRV(sv))); 0 0 0
char *_c = HvNAME(SvSTASH(SvRV(sv))); 0 0 0
char *_c = HvNAME(SvSTASH(SvRV(sv))); 0 0 0
1154 0 tc = SWIG_TypeProxyCheck(_c,_t);
1155 #ifdef SWIG_DIRECTORS
1156 if (!tc && !sv_derived_from(sv,SWIG_Perl_TypeProxyName(_t))) {
1157 #else
1158 0 ▶ if (!tc) {
Branch: 1 branch
BranchTrueFalseTotal
if (!tc) { 0 0 0
1159 #endif
1160 0 return SWIG_ERROR;
1161 }
1162 {
1163 0 int newmemory = 0;
1164 0 *ptr = SWIG_TypeCast(tc,voidptr,&newmemory);
1165 0 ▶ if (newmemory == SWIG_CAST_NEW_MEMORY) {
Branch: 1 branch
BranchTrueFalseTotal
if (newmemory == SWIG_CAST_NEW_MEMORY) { 0 0 0
1166 assert(own); /* badly formed typemap which will lead to a memory leak - it must set and use own to delete *ptr */
1167 0 ▶ if (own)
Branch: 1 branch
BranchTrueFalseTotal
if (own) 0 0 0
1168 0 *own = *own | SWIG_CAST_NEW_MEMORY;
1169 }
1170 }
1171 } else {
1172 0 *ptr = voidptr;
1173 }
1174  
1175 /*
1176 * DISOWN implementation: we need a perl guru to check this one.
1177 */
1178 0 ▶ if (tsv && ((flags & SWIG_POINTER_DISOWN) || check_owned_pointer_release)) {
Branch: 3 branches
BranchTrueFalseTotal
if (tsv && ((flags & SWIG_POINTER_DISOWN) || check_owned_pointer_release)) { 0 0 0
if (tsv && ((flags & SWIG_POINTER_DISOWN) || check_owned_pointer_release)) { 0 0 0
if (tsv && ((flags & SWIG_POINTER_DISOWN) || check_owned_pointer_release)) { 0 0 0
1179 /*
1180 * almost copy paste code from below SWIG_POINTER_OWN setting
1181 */
1182 0 SV *obj = sv;
1183 0 HV *stash = SvSTASH(SvRV(obj));
1184 0 GV *gv = *(GV**)hv_fetch(stash, "OWNER", 5, TRUE);
1185 0 int owned = 0;
1186 0 ▶ if (isGV(gv)) {
Branch: 1 branch
BranchTrueFalseTotal
if (isGV(gv)) { 0 0 0
1187 0 ▶ HV *hv = GvHVn(gv);
Branch: 1 branch
BranchTrueFalseTotal
HV *hv = GvHVn(gv); 0 0 0
1188 /*
1189 * To set ownership (see below), a newSViv(1) entry is added.
1190 * Hence, to remove ownership, we delete the entry.
1191 */
1192 0 ▶ if (hv_exists_ent(hv, obj, 0)) {
Branch: 1 branch
BranchTrueFalseTotal
if (hv_exists_ent(hv, obj, 0)) { 0 0 0
1193 0 owned = 1;
1194 0 ▶ if (flags & SWIG_POINTER_DISOWN) {
Branch: 1 branch
BranchTrueFalseTotal
if (flags & SWIG_POINTER_DISOWN) { 0 0 0
1195 0 hv_delete_ent(hv, obj, 0, 0);
1196 }
1197 }
1198 }
1199 0 ▶ if (check_owned_pointer_release && !owned) {
Branch: 2 branches
BranchTrueFalseTotal
if (check_owned_pointer_release && !owned) { 0 0 0
if (check_owned_pointer_release && !owned) { 0 0 0
1200 0 return SWIG_ERROR_RELEASE_NOT_OWNED;
1201 }
1202 }
1203  
1204 0 ▶ if (tsv && (flags & SWIG_POINTER_CLEAR)) {
Branch: 2 branches
BranchTrueFalseTotal
if (tsv && (flags & SWIG_POINTER_CLEAR)) { 0 0 0
if (tsv && (flags & SWIG_POINTER_CLEAR)) { 0 0 0
1205 0 SvIV_set(tsv, 0);
1206 }
1207  
1208 0 return SWIG_OK;
1209 }
1210  
1211 SWIGRUNTIME int
1212 0 SWIG_Perl_ConvertPtr(SWIG_MAYBE_PERL_OBJECT SV *sv, void **ptr, swig_type_info *_t, int flags) {
1213 0 return SWIG_Perl_ConvertPtrAndOwn(sv, ptr, _t, flags, 0);
1214 }
1215  
1216 SWIGRUNTIME void
1217 0 SWIG_Perl_MakePtr(SWIG_MAYBE_PERL_OBJECT SV *sv, void *ptr, swig_type_info *t, int flags) {
1218 0 ▶ if (ptr && (flags & (SWIG_SHADOW | SWIG_POINTER_OWN))) {
Branch: 2 branches
BranchTrueFalseTotal
if (ptr && (flags & (SWIG_SHADOW | SWIG_POINTER_OWN))) { 0 0 0
if (ptr && (flags & (SWIG_SHADOW | SWIG_POINTER_OWN))) { 0 0 0
1219 SV *self;
1220 0 SV *obj=newSV(0);
1221 0 HV *hash=newHV();
1222 HV *stash;
1223 0 sv_setref_pv(obj, SWIG_Perl_TypeProxyName(t), ptr);
1224 0 stash=SvSTASH(SvRV(obj));
1225 0 ▶ if (flags & SWIG_POINTER_OWN) {
Branch: 1 branch
BranchTrueFalseTotal
if (flags & SWIG_POINTER_OWN) { 0 0 0
1226 HV *hv;
1227 0 GV *gv = *(GV**)hv_fetch(stash, "OWNER", 5, TRUE);
1228 0 ▶ if (!isGV(gv))
Branch: 1 branch
BranchTrueFalseTotal
if (!isGV(gv)) 0 0 0
1229 0 gv_init(gv, stash, "OWNER", 5, FALSE);
1230 0 ▶ hv=GvHVn(gv);
Branch: 1 branch
BranchTrueFalseTotal
hv=GvHVn(gv); 0 0 0
1231 0 hv_store_ent(hv, obj, newSViv(1), 0);
1232 }
1233 0 sv_magic((SV *)hash, (SV *)obj, 'P', Nullch, 0);
1234 0 SvREFCNT_dec(obj);
1235 0 self=newRV_noinc((SV *)hash);
1236 0 sv_setsv(sv, self);
1237 0 SvREFCNT_dec((SV *)self);
1238 0 sv_bless(sv, stash);
1239 }
1240 else {
1241 0 sv_setref_pv(sv, SWIG_Perl_TypeProxyName(t), ptr);
1242 }
1243 0 }
1244  
1245 SWIGRUNTIMEINLINE SV *
1246 0 SWIG_Perl_NewPointerObj(SWIG_MAYBE_PERL_OBJECT void *ptr, swig_type_info *t, int flags) {
1247 0 SV *result = sv_newmortal();
1248 0 SWIG_MakePtr(result, ptr, t, flags);
1249 0 return result;
1250 }
1251  
1252 SWIGRUNTIME void
1253 0 SWIG_Perl_MakePackedObj(SWIG_MAYBE_PERL_OBJECT SV *sv, void *ptr, int sz, swig_type_info *type) {
1254 char result[1024];
1255 0 char *r = result;
1256 0 ▶ if ((2*sz + 1 + strlen(SWIG_Perl_TypeProxyName(type))) > 1000) return;
Branch: 1 branch
BranchTrueFalseTotal
if ((2*sz + 1 + strlen(SWIG_Perl_TypeProxyName(type))) > 1000) return; 0 0 0
1257 0 *(r++) = '_';
1258 0 r = SWIG_PackData(r,ptr,sz);
1259 0 strcpy(r,SWIG_Perl_TypeProxyName(type));
1260 0 sv_setpv(sv, result);
1261 }
1262  
1263 SWIGRUNTIME SV *
1264 0 SWIG_Perl_NewPackedObj(SWIG_MAYBE_PERL_OBJECT void *ptr, int sz, swig_type_info *type) {
1265 0 SV *result = sv_newmortal();
1266 0 SWIG_Perl_MakePackedObj(result, ptr, sz, type);
1267 0 return result;
1268 }
1269  
1270 /* Convert a packed pointer value */
1271 SWIGRUNTIME int
1272 0 SWIG_Perl_ConvertPacked(SWIG_MAYBE_PERL_OBJECT SV *obj, void *ptr, int sz, swig_type_info *ty) {
1273 swig_cast_info *tc;
1274 0 const char *c = 0;
1275  
1276 0 ▶ if ((!obj) || (!SvOK(obj))) return SWIG_ERROR;
Branch: 2 branches
BranchTrueFalseTotal
if ((!obj) || (!SvOK(obj))) return SWIG_ERROR; 0 0 0
if ((!obj) || (!SvOK(obj))) return SWIG_ERROR; 0 0 0
1277 0 c = SvPV_nolen(obj);
1278 /* Pointer values must start with leading underscore */
1279 0 ▶ if (*c != '_') return SWIG_ERROR;
Branch: 1 branch
BranchTrueFalseTotal
if (*c != '_') return SWIG_ERROR; 0 0 0
1280 0 c++;
1281 0 c = SWIG_UnpackData(c,ptr,sz);
1282 0 ▶ if (ty) {
Branch: 1 branch
BranchTrueFalseTotal
if (ty) { 0 0 0
1283 0 tc = SWIG_TypeCheck(c,ty);
1284 0 ▶ if (!tc) return SWIG_ERROR;
Branch: 1 branch
BranchTrueFalseTotal
if (!tc) return SWIG_ERROR; 0 0 0
1285 }
1286 0 return SWIG_OK;
1287 }
1288  
1289  
1290 /* Macros for low-level exception handling */
1291 #define SWIG_croak(x) { SWIG_Error(SWIG_RuntimeError, x); SWIG_fail; }
1292  
1293  
1294 typedef XSPROTO(SwigPerlWrapper);
1295 typedef SwigPerlWrapper *SwigPerlWrapperPtr;
1296  
1297 /* Structure for command table */
1298 typedef struct {
1299 const char *name;
1300 SwigPerlWrapperPtr wrapper;
1301 } swig_command_info;
1302  
1303 /* Information for constant table */
1304  
1305 #define SWIG_INT 1
1306 #define SWIG_FLOAT 2
1307 #define SWIG_STRING 3
1308 #define SWIG_POINTER 4
1309 #define SWIG_BINARY 5
1310  
1311 /* Constant information structure */
1312 typedef struct swig_constant_info {
1313 int type;
1314 const char *name;
1315 long lvalue;
1316 double dvalue;
1317 void *pvalue;
1318 swig_type_info **ptype;
1319 } swig_constant_info;
1320  
1321  
1322 /* Structure for variable table */
1323 typedef struct {
1324 const char *name;
1325 SwigMagicFunc set;
1326 SwigMagicFunc get;
1327 swig_type_info **type;
1328 } swig_variable_info;
1329  
1330 /* Magic variable code */
1331 #ifdef __cplusplus
1332 # define swig_create_magic(s,a,b,c) _swig_create_magic(s,const_cast<char*>(a),b,c)
1333 #else
1334 # define swig_create_magic(s,a,b,c) _swig_create_magic(s,(char*)(a),b,c)
1335 #endif
1336 #ifndef MULTIPLICITY
1337 0 SWIGRUNTIME void _swig_create_magic(SV *sv, char *name, int (*set)(SV *, MAGIC *), int (*get)(SV *,MAGIC *))
1338 #else
1339 SWIGRUNTIME void _swig_create_magic(SV *sv, char *name, int (*set)(struct interpreter*, SV *, MAGIC *), int (*get)(struct interpreter*, SV *,MAGIC *))
1340 #endif
1341 {
1342 MAGIC *mg;
1343 0 sv_magic(sv,sv,'U',name,(I32)strlen(name));
1344 0 mg = mg_find(sv,'U');
1345 0 mg->mg_virtual = (MGVTBL *) malloc(sizeof(MGVTBL));
1346 0 mg->mg_virtual->svt_get = (SwigMagicFunc) get;
1347 0 mg->mg_virtual->svt_set = (SwigMagicFunc) set;
1348 0 mg->mg_virtual->svt_len = 0;
1349 0 mg->mg_virtual->svt_clear = 0;
1350 0 mg->mg_virtual->svt_free = 0;
1351 0 }
1352  
1353  
1354 SWIGRUNTIME swig_module_info *
1355 0 SWIG_Perl_GetModule(void *SWIGUNUSEDPARM(clientdata)) {
1356 static void *type_pointer = (void *)0;
1357 SV *pointer;
1358  
1359 /* first check if pointer already created */
1360 0 ▶ if (!type_pointer) {
Branch: 1 branch
BranchTrueFalseTotal
if (!type_pointer) { 0 0 0
1361 0 pointer = get_sv("swig_runtime_data::type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME, FALSE | GV_ADDMULTI);
1362 0 ▶ if (pointer && SvOK(pointer)) {
Branch: 2 branches
BranchTrueFalseTotal
if (pointer && SvOK(pointer)) { 0 0 0
if (pointer && SvOK(pointer)) { 0 0 0
1363 0 type_pointer = INT2PTR(swig_type_info **, SvIV(pointer));
1364 }
1365 }
1366  
1367 0 return (swig_module_info *) type_pointer;
1368 }
1369  
1370 SWIGRUNTIME void
1371 0 SWIG_Perl_SetModule(swig_module_info *module) {
1372 SV *pointer;
1373  
1374 /* create a new pointer */
1375 0 pointer = get_sv("swig_runtime_data::type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME, TRUE | GV_ADDMULTI);
1376 0 sv_setiv(pointer, PTR2IV(module));
1377 0 }
1378  
1379 #ifdef __cplusplus
1380 }
1381 #endif
1382  
1383 /* Workaround perl5 global namespace pollution. Note that undefining library
1384 * functions like fopen will not solve the problem on all platforms as fopen
1385 * might be a macro on Windows but not necessarily on other operating systems. */
1386 #ifdef do_open
1387 #undef do_open
1388 #endif
1389 #ifdef do_close
1390 #undef do_close
1391 #endif
1392 #ifdef do_exec
1393 #undef do_exec
1394 #endif
1395 #ifdef scalar
1396 #undef scalar
1397 #endif
1398 #ifdef list
1399 #undef list
1400 #endif
1401 #ifdef apply
1402 #undef apply
1403 #endif
1404 #ifdef convert
1405 #undef convert
1406 #endif
1407 #ifdef Error
1408 #undef Error
1409 #endif
1410 #ifdef form
1411 #undef form
1412 #endif
1413 #ifdef vform
1414 #undef vform
1415 #endif
1416 #ifdef LABEL
1417 #undef LABEL
1418 #endif
1419 #ifdef METHOD
1420 #undef METHOD
1421 #endif
1422 #ifdef Move
1423 #undef Move
1424 #endif
1425 #ifdef yylex
1426 #undef yylex
1427 #endif
1428 #ifdef yyparse
1429 #undef yyparse
1430 #endif
1431 #ifdef yyerror
1432 #undef yyerror
1433 #endif
1434 #ifdef invert
1435 #undef invert
1436 #endif
1437 #ifdef ref
1438 #undef ref
1439 #endif
1440 #ifdef read
1441 #undef read
1442 #endif
1443 #ifdef write
1444 #undef write
1445 #endif
1446 #ifdef eof
1447 #undef eof
1448 #endif
1449 #ifdef close
1450 #undef close
1451 #endif
1452 #ifdef rewind
1453 #undef rewind
1454 #endif
1455 #ifdef free
1456 #undef free
1457 #endif
1458 #ifdef malloc
1459 #undef malloc
1460 #endif
1461 #ifdef calloc
1462 #undef calloc
1463 #endif
1464 #ifdef Stat
1465 #undef Stat
1466 #endif
1467 #ifdef check
1468 #undef check
1469 #endif
1470 #ifdef seekdir
1471 #undef seekdir
1472 #endif
1473 #ifdef open
1474 #undef open
1475 #endif
1476 #ifdef readdir
1477 #undef readdir
1478 #endif
1479 #ifdef bind
1480 #undef bind
1481 #endif
1482 #ifdef access
1483 #undef access
1484 #endif
1485 #ifdef stat
1486 #undef stat
1487 #endif
1488 #ifdef seed
1489 #undef seed
1490 #endif
1491  
1492 #ifdef bool
1493 /* Leave if macro is from C99 stdbool.h */
1494 #ifndef __bool_true_false_are_defined
1495 #undef bool
1496 #endif
1497 #endif
1498  
1499  
1500  
1501  
1502 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
1503  
1504 #define SWIG_contract_assert(expr, msg) do { if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } } while (0)
1505  
1506  
1507  
1508 /* -------- TYPES TABLE (BEGIN) -------- */
1509  
1510 #define SWIGTYPE_p_FILE swig_types[0]
1511 #define SWIGTYPE_p_char swig_types[1]
1512 #define SWIGTYPE_p_double swig_types[2]
1513 #define SWIGTYPE_p_f_double_a___double_p_void__int swig_types[3]
1514 #define SWIGTYPE_p_f_double_p_void__double swig_types[4]
1515 #define SWIGTYPE_p_f_double_p_void_p_double_p_double__void swig_types[5]
1516 #define SWIGTYPE_p_f_p_q_const__char_p_q_const__char_int_int__void swig_types[6]
1517 #define SWIGTYPE_p_f_p_q_const__char_p_q_const__char_int_p_q_const__char__void swig_types[7]
1518 #define SWIGTYPE_p_gsl_bspline_workspace swig_types[8]
1519 #define SWIGTYPE_p_gsl_function_fdf_struct swig_types[9]
1520 #define SWIGTYPE_p_gsl_function_struct swig_types[10]
1521 #define SWIGTYPE_p_gsl_function_vec_struct swig_types[11]
1522 #define SWIGTYPE_p_gsl_matrix swig_types[12]
1523 #define SWIGTYPE_p_gsl_vector swig_types[13]
1524 #define SWIGTYPE_p_int swig_types[14]
1525 #define SWIGTYPE_p_size_t swig_types[15]
1526 #define SWIGTYPE_p_void swig_types[16]
1527 static swig_type_info *swig_types[18];
1528 static swig_module_info swig_module = {swig_types, 17, 0, 0, 0, 0};
1529 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1530 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
1531  
1532 /* -------- TYPES TABLE (END) -------- */
1533  
1534 #define SWIG_init boot_Math__GSL__BSpline
1535  
1536 #define SWIG_name "Math::GSL::BSplinec::boot_Math__GSL__BSpline"
1537 #define SWIG_prefix "Math::GSL::BSplinec::"
1538  
1539 #define SWIG_as_voidptr(a) (void *)((const void *)(a))
1540 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),(void**)(a))
1541  
1542  
1543 #ifdef __cplusplus
1544 extern "C"
1545 #endif
1546 #ifndef MULTIPLICITY
1547 SWIGEXPORT void SWIG_init (CV* cv);
1548 #else
1549 SWIGEXPORT void SWIG_init (pTHXo_ CV* cv);
1550 #endif
1551  
1552  
1553 SWIGINTERNINLINE SV *
1554 0 SWIG_From_double SWIG_PERL_DECL_ARGS_1(double value)
1555 {
1556 0 return sv_2mortal(newSVnv(value));
1557 }
1558  
1559  
1560 SWIGINTERNINLINE SV *
1561 0 SWIG_From_long SWIG_PERL_DECL_ARGS_1(long value)
1562 {
1563 SV *sv;
1564 if (IVSIZE >= sizeof(value) || (value >= IV_MIN && value <= IV_MAX))
1565 0 sv = newSViv(value);
1566 else
1567 sv = newSVpvf("%ld", value);
1568 0 return sv_2mortal(sv);
1569 }
1570  
1571  
1572 SWIGINTERNINLINE SV *
1573 0 SWIG_From_int SWIG_PERL_DECL_ARGS_1(int value)
1574 {
1575 0 return SWIG_From_long SWIG_PERL_CALL_ARGS_1(value);
1576 }
1577  
1578  
1579 SWIGINTERN swig_type_info*
1580 0 SWIG_pchar_descriptor(void)
1581 {
1582 static int init = 0;
1583 static swig_type_info* info = 0;
1584 0 ▶ if (!init) {
Branch: 1 branch
BranchTrueFalseTotal
if (!init) { 0 0 0
1585 0 info = SWIG_TypeQuery("_p_char");
1586 0 init = 1;
1587 }
1588 0 return info;
1589 }
1590  
1591  
1592 SWIGINTERN int
1593 0 SWIG_AsCharPtrAndSize(SV *obj, char** cptr, size_t* psize, int *alloc)
1594 {
1595 0 ▶ if (SvMAGICAL(obj)) {
Branch: 1 branch
BranchTrueFalseTotal
if (SvMAGICAL(obj)) { 0 0 0
1596 0 SV *tmp = sv_newmortal();
1597 0 ▶ SvSetSV(tmp, obj);
Branch: 1 branch
BranchTrueFalseTotal
SvSetSV(tmp, obj); 0 0 0
1598 0 obj = tmp;
1599 }
1600 0 ▶ if (SvPOK(obj)) {
Branch: 1 branch
BranchTrueFalseTotal
if (SvPOK(obj)) { 0 0 0
1601 0 STRLEN len = 0;
1602 0 char *cstr = SvPV(obj, len);
1603 0 size_t size = len + 1;
1604 0 ▶ if (cptr) {
Branch: 1 branch
BranchTrueFalseTotal
if (cptr) { 0 0 0
1605 0 ▶ if (alloc) {
Branch: 1 branch
BranchTrueFalseTotal
if (alloc) { 0 0 0
1606 0 ▶ if (*alloc == SWIG_NEWOBJ) {
Branch: 1 branch
BranchTrueFalseTotal
if (*alloc == SWIG_NEWOBJ) { 0 0 0
1607 0 *cptr = (char *)memcpy(malloc((size)*sizeof(char)), cstr, sizeof(char)*(size));
1608 } else {
1609 0 *cptr = cstr;
1610 0 *alloc = SWIG_OLDOBJ;
1611 }
1612 }
1613 }
1614 0 ▶ if (psize) *psize = size;
Branch: 1 branch
BranchTrueFalseTotal
if (psize) *psize = size; 0 0 0
1615 0 return SWIG_OK;
1616 } else {
1617 0 swig_type_info* pchar_descriptor = SWIG_pchar_descriptor();
1618 0 ▶ if (pchar_descriptor) {
Branch: 1 branch
BranchTrueFalseTotal
if (pchar_descriptor) { 0 0 0
1619 0 char* vptr = 0;
1620 0 ▶ if (SWIG_ConvertPtr(obj, (void**)&vptr, pchar_descriptor, 0) == SWIG_OK) {
Branch: 1 branch
BranchTrueFalseTotal
if (SWIG_ConvertPtr(obj, (void**)&vptr, pchar_descriptor, 0) == SWIG_OK) { 0 0 0
1621 0 ▶ if (cptr) *cptr = vptr;
Branch: 1 branch
BranchTrueFalseTotal
if (cptr) *cptr = vptr; 0 0 0
1622 0 ▶ if (psize) *psize = vptr ? (strlen(vptr) + 1) : 0;
Branch: 2 branches
BranchTrueFalseTotal
if (psize) *psize = vptr ? (strlen(vptr) + 1) : 0; 0 0 0
if (psize) *psize = vptr ? (strlen(vptr) + 1) : 0; 0 0 0
1623 0 ▶ if (alloc) *alloc = SWIG_OLDOBJ;
Branch: 1 branch
BranchTrueFalseTotal
if (alloc) *alloc = SWIG_OLDOBJ; 0 0 0
1624 0 return SWIG_OK;
1625 }
1626 }
1627 }
1628 0 return SWIG_TypeError;
1629 }
1630  
1631  
1632  
1633  
1634  
1635 #include <limits.h>
1636 #if !defined(SWIG_NO_LLONG_MAX)
1637 # if !defined(LLONG_MAX) && defined(__GNUC__) && defined (__LONG_LONG_MAX__)
1638 # define LLONG_MAX __LONG_LONG_MAX__
1639 # define LLONG_MIN (-LLONG_MAX - 1LL)
1640 # define ULLONG_MAX (LLONG_MAX * 2ULL + 1ULL)
1641 # endif
1642 #endif
1643  
1644  
1645 #include <stdlib.h>
1646 #ifdef _MSC_VER
1647 # ifndef strtoull
1648 # define strtoull _strtoui64
1649 # endif
1650 # ifndef strtoll
1651 # define strtoll _strtoi64
1652 # endif
1653 #endif
1654  
1655  
1656 SWIGINTERN int
1657 0 SWIG_AsVal_double SWIG_PERL_DECL_ARGS_2(SV *obj, double *val)
1658 {
1659 0 ▶ if (SvNIOK(obj)) {
Branch: 1 branch
BranchTrueFalseTotal
if (SvNIOK(obj)) { 0 0 0
1660 0 ▶ if (val) *val = SvNV(obj);
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = SvNV(obj); 0 0 0
1661 0 return SWIG_OK;
1662 0 ▶ } else if (SvIOK(obj)) {
Branch: 1 branch
BranchTrueFalseTotal
} else if (SvIOK(obj)) { 0 0 0
1663 0 ▶ if (val) *val = (double) SvIV(obj);
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = (double) SvIV(obj); 0 0 0
1664 0 return SWIG_AddCast(SWIG_OK);
1665 } else {
1666 0 const char *nptr = SvPV_nolen(obj);
1667 0 ▶ if (nptr) {
Branch: 1 branch
BranchTrueFalseTotal
if (nptr) { 0 0 0
1668 char *endptr;
1669 double v;
1670 0 errno = 0;
1671 0 v = strtod(nptr, &endptr);
1672 0 ▶ if (errno == ERANGE) {
Branch: 1 branch
BranchTrueFalseTotal
if (errno == ERANGE) { 0 0 0
1673 0 errno = 0;
1674 0 return SWIG_OverflowError;
1675 } else {
1676 0 ▶ if (*endptr == '\0') {
Branch: 1 branch
BranchTrueFalseTotal
if (*endptr == '\0') { 0 0 0
1677 0 ▶ if (val) *val = v;
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = v; 0 0 0
1678 0 return SWIG_Str2NumCast(SWIG_OK);
1679 }
1680 }
1681 }
1682 }
1683 0 return SWIG_TypeError;
1684 }
1685  
1686  
1687 #include <float.h>
1688  
1689  
1690 #include <math.h>
1691  
1692  
1693 SWIGINTERNINLINE int
1694 0 SWIG_CanCastAsInteger(double *d, double min, double max) {
1695 0 double x = *d;
1696 0 ▶ if ((min <= x && x <= max)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((min <= x && x <= max)) { 0 0 0
if ((min <= x && x <= max)) { 0 0 0
1697 double fx, cx, rd;
1698 0 errno = 0;
1699 0 fx = floor(x);
1700 0 cx = ceil(x);
1701 0 ▶ rd = ((x - fx) < 0.5) ? fx : cx; /* simple rint */
Branch: 1 branch
BranchTrueFalseTotal
rd = ((x - fx) < 0.5) ? fx : cx; /* simple rint */ 0 0 0
1702 0 ▶ if ((errno == EDOM) || (errno == ERANGE)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((errno == EDOM) || (errno == ERANGE)) { 0 0 0
if ((errno == EDOM) || (errno == ERANGE)) { 0 0 0
1703 0 errno = 0;
1704 } else {
1705 double summ, reps, diff;
1706 0 ▶ if (rd < x) {
Branch: 1 branch
BranchTrueFalseTotal
if (rd < x) { 0 0 0
1707 0 diff = x - rd;
1708 0 ▶ } else if (rd > x) {
Branch: 1 branch
BranchTrueFalseTotal
} else if (rd > x) { 0 0 0
1709 0 diff = rd - x;
1710 } else {
1711 0 return 1;
1712 }
1713 0 summ = rd + x;
1714 0 reps = diff/summ;
1715 0 ▶ if (reps < 8*DBL_EPSILON) {
Branch: 1 branch
BranchTrueFalseTotal
if (reps < 8*DBL_EPSILON) { 0 0 0
1716 0 *d = rd;
1717 0 return 1;
1718 }
1719 }
1720 }
1721 0 return 0;
1722 }
1723  
1724  
1725 SWIGINTERN int
1726 0 SWIG_AsVal_long SWIG_PERL_DECL_ARGS_2(SV *obj, long* val)
1727 {
1728 0 ▶ if (SvUOK(obj)) {
Branch: 1 branch
BranchTrueFalseTotal
if (SvUOK(obj)) { 0 0 0
1729 0 UV v = SvUV(obj);
1730 0 ▶ if (UVSIZE < sizeof(*val) || v <= LONG_MAX) {
Branch: 1 branch
BranchTrueFalseTotal
if (UVSIZE < sizeof(*val) || v <= LONG_MAX) { 0 0 0
1731 0 ▶ if (val) *val = v;
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = v; 0 0 0
1732 0 return SWIG_OK;
1733 }
1734 0 return SWIG_OverflowError;
1735 0 ▶ } else if (SvIOK(obj)) {
Branch: 1 branch
BranchTrueFalseTotal
} else if (SvIOK(obj)) { 0 0 0
1736 0 IV v = SvIV(obj);
1737 if (IVSIZE <= sizeof(*val) || (v >= LONG_MIN && v <= LONG_MAX)) {
1738 0 ▶ if(val) *val = v;
Branch: 1 branch
BranchTrueFalseTotal
if(val) *val = v; 0 0 0
1739 0 return SWIG_OK;
1740 }
1741 return SWIG_OverflowError;
1742 } else {
1743 0 int dispatch = 0;
1744 0 const char *nptr = SvPV_nolen(obj);
1745 0 ▶ if (nptr) {
Branch: 1 branch
BranchTrueFalseTotal
if (nptr) { 0 0 0
1746 char *endptr;
1747 long v;
1748 0 errno = 0;
1749 0 v = strtol(nptr, &endptr,0);
1750 0 ▶ if (errno == ERANGE) {
Branch: 1 branch
BranchTrueFalseTotal
if (errno == ERANGE) { 0 0 0
1751 0 errno = 0;
1752 0 return SWIG_OverflowError;
1753 } else {
1754 0 ▶ if (*endptr == '\0') {
Branch: 1 branch
BranchTrueFalseTotal
if (*endptr == '\0') { 0 0 0
1755 0 ▶ if (val) *val = v;
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = v; 0 0 0
1756 0 return SWIG_Str2NumCast(SWIG_OK);
1757 }
1758 }
1759 }
1760 0 ▶ if (!dispatch) {
Branch: 1 branch
BranchTrueFalseTotal
if (!dispatch) { 0 0 0
1761 double d;
1762 0 int res = SWIG_AddCast(SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(obj,&d));
1763 0 ▶ if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, LONG_MIN, LONG_MAX)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, LONG_MIN, LONG_MAX)) { 0 0 0
if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, LONG_MIN, LONG_MAX)) { 0 0 0
1764 0 ▶ if (val) *val = (long)(d);
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = (long)(d); 0 0 0
1765 0 return res;
1766 }
1767 }
1768 }
1769 0 return SWIG_TypeError;
1770 }
1771  
1772  
1773 SWIGINTERN int
1774 0 SWIG_AsVal_int SWIG_PERL_DECL_ARGS_2(SV * obj, int *val)
1775 {
1776 long v;
1777 0 int res = SWIG_AsVal_long SWIG_PERL_CALL_ARGS_2(obj, &v);
1778 0 ▶ if (SWIG_IsOK(res)) {
Branch: 1 branch
BranchTrueFalseTotal
if (SWIG_IsOK(res)) { 0 0 0
1779 0 ▶ if ((v < INT_MIN || v > INT_MAX)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((v < INT_MIN || v > INT_MAX)) { 0 0 0
if ((v < INT_MIN || v > INT_MAX)) { 0 0 0
1780 0 return SWIG_OverflowError;
1781 } else {
1782 0 ▶ if (val) *val = (int)(v);
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = (int)(v); 0 0 0
1783 }
1784 }
1785 0 return res;
1786 }
1787  
1788  
1789 SWIGINTERNINLINE SV *
1790 0 SWIG_FromCharPtrAndSize(const char* carray, size_t size)
1791 {
1792 0 SV *obj = sv_newmortal();
1793 0 ▶ if (carray) {
Branch: 1 branch
BranchTrueFalseTotal
if (carray) { 0 0 0
1794 0 sv_setpvn(obj, carray, size);
1795 } else {
1796 0 sv_setsv(obj, &PL_sv_undef);
1797 }
1798 0 return obj;
1799 }
1800  
1801  
1802 SWIGINTERNINLINE SV *
1803 0 SWIG_FromCharPtr(const char *cptr)
1804 {
1805 0 ▶ return SWIG_FromCharPtrAndSize(cptr, (cptr ? strlen(cptr) : 0));
Branch: 1 branch
BranchTrueFalseTotal
return SWIG_FromCharPtrAndSize(cptr, (cptr ? strlen(cptr) : 0)); 0 0 0
1806 }
1807  
1808  
1809 #include "gsl/gsl_nan.h"
1810 #include "gsl/gsl_errno.h"
1811 #include "gsl/gsl_math.h"
1812 #include "gsl/gsl_monte.h"
1813  
1814  
1815 struct perl_array {
1816 I32 len;
1817 AV *array;
1818 };
1819  
1820  
1821  
1822 enum awType { awDouble, awFloat, awInt, awUnsigned };
1823  
1824 typedef struct {
1825 I32 size;
1826 enum awType type;
1827 void * data;
1828 } array_wrapper;
1829  
1830 0 array_wrapper * array_wrapper_alloc(int numelem, enum awType type){
1831 0 array_wrapper * rv = malloc(sizeof(array_wrapper));
1832  
1833 0 ▶ if (rv == NULL)
Branch: 1 branch
BranchTrueFalseTotal
if (rv == NULL) 0 0 0
1834 0 croak("array_wrapper_alloc: can't malloc wrapper\n");
1835  
1836 0 switch (type){
1837 0 case awDouble:
1838 0 rv->data = malloc(sizeof(double) * numelem);
1839 0 break;
1840 0 case awFloat:
1841 0 rv->data = malloc(sizeof(float) * numelem);
1842 0 break;
1843 0 case awInt:
1844 0 rv->data = malloc(sizeof(int) * numelem);
1845 0 break;
1846 0 case awUnsigned:
1847 0 rv->data = malloc(sizeof(unsigned int) * numelem);
1848 0 break;
1849 0 default:
1850 0 croak("array_wrapper_alloc: type should be awDouble, awFloat, awInt, or awUnsigned");
1851 }
1852  
1853 0 ▶ if (rv->data == NULL)
Branch: 1 branch
BranchTrueFalseTotal
if (rv->data == NULL) 0 0 0
1854 0 croak("array_wrapper_alloc: can't malloc data");
1855  
1856 0 rv->size = numelem;
1857 0 rv->type = type;
1858 0 return rv;
1859 }
1860  
1861 0 void array_wrapper_free(array_wrapper * daw){
1862 0 free(daw->data);
1863 0 free(daw);
1864 0 }
1865  
1866  
1867 /* structure to hold required information while the gsl function call
1868 for each callback
1869 */
1870 struct gsl_function_perl {
1871 gsl_function C_gsl_function;
1872 SV * function;
1873 SV * params;
1874 };
1875  
1876 struct gsl_function_fdf_perl {
1877 gsl_function_fdf C_gsl_function_fdf;
1878 SV * f;
1879 SV * df;
1880 SV * fdf;
1881 SV * params;
1882 };
1883  
1884 struct gsl_monte_function_perl {
1885 gsl_monte_function C_gsl_monte_function;
1886 SV * f;
1887 SV * dim;
1888 SV * params;
1889 };
1890  
1891 0 void gsl_function_perl_free(struct gsl_function_perl * perl_f){
1892 0 ▶ if (perl_f != NULL) {
Branch: 1 branch
BranchTrueFalseTotal
if (perl_f != NULL) { 0 0 0
1893 0 SvREFCNT_dec(perl_f->function);
1894 0 SvREFCNT_dec(perl_f->params);
1895 0 Safefree(perl_f);
1896 }
1897 0 }
1898  
1899 0 void gsl_function_fdf_perl_free(struct gsl_function_fdf_perl * perl_fdf){
1900 0 ▶ if (perl_fdf != NULL) {
Branch: 1 branch
BranchTrueFalseTotal
if (perl_fdf != NULL) { 0 0 0
1901 0 SvREFCNT_dec(perl_fdf->f);
1902 0 SvREFCNT_dec(perl_fdf->df);
1903 0 SvREFCNT_dec(perl_fdf->fdf);
1904 0 SvREFCNT_dec(perl_fdf->params);
1905 0 Safefree(perl_fdf);
1906 }
1907 0 }
1908  
1909 /* These functions (C callbacks) calls the perl callbacks.
1910 Info for perl callback can be found using the 'void*params' parameter
1911 */
1912 0 double call_gsl_function_x_params(SV* function, double x, SV *params){
1913 unsigned int count;
1914 double y;
1915 0 dSP;
1916  
1917 //fprintf(stderr, "LOOKUP CALLBACK\n");
1918 0 ENTER;
1919 0 SAVETMPS;
1920  
1921 0 ▶ PUSHMARK(SP);
Branch: 1 branch
BranchTrueFalseTotal
PUSHMARK(SP); 0 0 0
1922 0 ▶ XPUSHs(sv_2mortal(newSVnv((double)x)));
Branch: 1 branch
BranchTrueFalseTotal
XPUSHs(sv_2mortal(newSVnv((double)x))); 0 0 0
1923 0 ▶ XPUSHs(params);
Branch: 1 branch
BranchTrueFalseTotal
XPUSHs(params); 0 0 0
1924 0 PUTBACK; /* make local stack pointer global */
1925  
1926 0 count = call_sv(function, G_SCALAR);
1927 0 SPAGAIN;
1928  
1929 0 ▶ if (count != 1)
Branch: 1 branch
BranchTrueFalseTotal
if (count != 1) 0 0 0
1930 0 croak("Expected to call subroutine in scalar context!");
1931  
1932 0 y = POPn;
1933  
1934 0 PUTBACK; /* make local stack pointer global */
1935 0 ▶ FREETMPS;
Branch: 1 branch
BranchTrueFalseTotal
FREETMPS; 0 0 0
1936 0 LEAVE;
1937  
1938 0 return y;
1939 }
1940  
1941 0 double call_gsl_function(double x , void *params){
1942 0 struct gsl_function_perl *F=(struct gsl_function_perl*)params;
1943 0 return call_gsl_function_x_params( F->function, x, F->params );
1944 }
1945  
1946 0 double call_gsl_function_fdf_f(double x , void *params){
1947 0 struct gsl_function_fdf_perl *F=(struct gsl_function_fdf_perl*)params;
1948 0 return call_gsl_function_x_params( F->f, x, F->params );
1949 }
1950  
1951 0 double call_gsl_function_fdf_df(double x , void *params){
1952 0 struct gsl_function_fdf_perl *F=(struct gsl_function_fdf_perl*)params;
1953 0 return call_gsl_function_x_params( F->df, x, F->params );
1954 }
1955  
1956 0 void call_gsl_function_fdf_fdf(double x , void *params, double *f, double *df ){
1957 0 struct gsl_function_fdf_perl *F=(struct gsl_function_fdf_perl*)params;
1958  
1959 0 dSP;
1960  
1961 0 ENTER;
1962 0 SAVETMPS;
1963  
1964 0 ▶ PUSHMARK(SP);
Branch: 1 branch
BranchTrueFalseTotal
PUSHMARK(SP); 0 0 0
1965 0 ▶ EXTEND(SP, 2);
Branch: 1 branch
BranchTrueFalseTotal
EXTEND(SP, 2); 0 0 0
1966 0 PUSHs(sv_2mortal(newSVnv((double)x)));
1967 0 PUSHs(F->params);
1968 0 PUTBACK; /* make local stack pointer global */
1969  
1970 {
1971 0 unsigned int count = call_sv(F->fdf, G_ARRAY);
1972 0 SPAGAIN;
1973  
1974 0 ▶ if (count != 2)
Branch: 1 branch
BranchTrueFalseTotal
if (count != 2) 0 0 0
1975 0 croak( "Expected two return values, got %d", count );
1976 }
1977  
1978 0 *df = POPn;
1979 0 *f = POPn;
1980  
1981 0 PUTBACK; /* make local stack pointer global */
1982 0 ▶ FREETMPS;
Branch: 1 branch
BranchTrueFalseTotal
FREETMPS; 0 0 0
1983 0 LEAVE;
1984 0 }
1985  
1986 0 double call_gsl_monte_function(double *x_array , size_t dim, void *params){
1987 0 struct gsl_monte_function_perl *F=(struct gsl_monte_function_perl*)params;
1988 unsigned int count;
1989 unsigned int i;
1990 AV* perl_array;
1991 double y;
1992 0 dSP;
1993  
1994 //fprintf(stderr, "LOOKUP CALLBACK\n");
1995 0 ENTER;
1996 0 SAVETMPS;
1997  
1998 0 ▶ PUSHMARK(SP);
Branch: 1 branch
BranchTrueFalseTotal
PUSHMARK(SP); 0 0 0
1999 0 perl_array=newAV();
2000 0 sv_2mortal((SV*)perl_array);
2001 0 ▶ XPUSHs(sv_2mortal(newRV((SV *)perl_array)));
Branch: 1 branch
BranchTrueFalseTotal
XPUSHs(sv_2mortal(newRV((SV *)perl_array))); 0 0 0
2002 0 ▶ for(i=0; i<dim; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for(i=0; i<dim; i++) { 0 0 0
2003 /* no mortal : it is referenced by the array */
2004 0 av_push(perl_array, newSVnv(x_array[i]));
2005 }
2006 0 ▶ XPUSHs(sv_2mortal(newSViv(dim)));
Branch: 1 branch
BranchTrueFalseTotal
XPUSHs(sv_2mortal(newSViv(dim))); 0 0 0
2007 0 ▶ XPUSHs(F->params);
Branch: 1 branch
BranchTrueFalseTotal
XPUSHs(F->params); 0 0 0
2008 0 PUTBACK; /* make local stack pointer global */
2009  
2010 0 count = call_sv(F->f, G_SCALAR);
2011 0 SPAGAIN;
2012  
2013 0 ▶ if (count != 1)
Branch: 1 branch
BranchTrueFalseTotal
if (count != 1) 0 0 0
2014 0 croak("Expected to call subroutine in scalar context!");
2015  
2016 0 y = POPn;
2017  
2018 0 PUTBACK; /* make local stack pointer global */
2019 0 ▶ FREETMPS;
Branch: 1 branch
BranchTrueFalseTotal
FREETMPS; 0 0 0
2020 0 LEAVE;
2021  
2022 0 return y;
2023 }
2024  
2025  
2026 0 void gsl_function_fdf_extract( char* param_name, HV* hash, SV* func[] ) {
2027 static const char *keys[3] = { "f", "df", "fdf" };
2028  
2029 int ikey;
2030  
2031 0 ▶ for ( ikey = 0 ; ikey < 3 ; ++ikey ) {
Branch: 1 branch
BranchTrueFalseTotal
for ( ikey = 0 ; ikey < 3 ; ++ikey ) { 0 0 0
2032 0 func[ikey] = 0;
2033 0 const char* key = keys[ikey];
2034 /* it just so happens that strlen(keys[ikey]) == ikey + 1 */
2035 0 SV** pp_sv = hv_fetch( hash, key, ikey+1, 0 );
2036 SV* function;
2037  
2038 0 ▶ if ( !pp_sv )
Branch: 1 branch
BranchTrueFalseTotal
if ( !pp_sv ) 0 0 0
2039 0 croak("Math::GSL : %s: missing key %s!", param_name, key);
2040  
2041 0 function = *pp_sv;
2042  
2043 0 ▶ if ( SvPOK(function) || ( SvROK( function ) && SvTYPE(SvRV(function)) == SVt_PVCV ) ) {
Branch: 3 branches
BranchTrueFalseTotal
if ( SvPOK(function) || ( SvROK( function ) && SvTYPE(SvRV(function)) == SVt_PVCV ) ) { 0 0 0
if ( SvPOK(function) || ( SvROK( function ) && SvTYPE(SvRV(function)) == SVt_PVCV ) ) { 0 0 0
if ( SvPOK(function) || ( SvROK( function ) && SvTYPE(SvRV(function)) == SVt_PVCV ) ) { 0 0 0
2044 /* hold on to SV after the enclosing hash goes away */
2045 0 SvREFCNT_inc( function );
2046 0 func[ikey] = function;
2047 }
2048 else {
2049 0 croak( "Math::GSL : %s: key %s is not a reference to code!", param_name, key);
2050 }
2051 }
2052 0 }
2053  
2054  
2055  
2056 SWIGINTERN int
2057 0 SWIG_AsVal_unsigned_SS_long SWIG_PERL_DECL_ARGS_2(SV *obj, unsigned long *val)
2058 {
2059 0 ▶ if (SvUOK(obj)) {
Branch: 1 branch
BranchTrueFalseTotal
if (SvUOK(obj)) { 0 0 0
2060 0 UV v = SvUV(obj);
2061 if (UVSIZE <= sizeof(*val) || v <= ULONG_MAX) {
2062 0 ▶ if (val) *val = v;
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = v; 0 0 0
2063 0 return SWIG_OK;
2064 }
2065 return SWIG_OverflowError;
2066 0 ▶ } else if (SvIOK(obj)) {
Branch: 1 branch
BranchTrueFalseTotal
} else if (SvIOK(obj)) { 0 0 0
2067 0 IV v = SvIV(obj);
2068 0 ▶ if (v >= 0 && (IVSIZE <= sizeof(*val) || v <= ULONG_MAX)) {
Branch: 1 branch
BranchTrueFalseTotal
if (v >= 0 && (IVSIZE <= sizeof(*val) || v <= ULONG_MAX)) { 0 0 0
2069 0 ▶ if (val) *val = v;
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = v; 0 0 0
2070 0 return SWIG_OK;
2071 }
2072 0 return SWIG_OverflowError;
2073 } else {
2074 0 int dispatch = 0;
2075 0 const char *nptr = SvPV_nolen(obj);
2076 0 ▶ if (nptr) {
Branch: 1 branch
BranchTrueFalseTotal
if (nptr) { 0 0 0
2077 char *endptr;
2078 unsigned long v;
2079 0 errno = 0;
2080 0 v = strtoul(nptr, &endptr,0);
2081 0 ▶ if (errno == ERANGE) {
Branch: 1 branch
BranchTrueFalseTotal
if (errno == ERANGE) { 0 0 0
2082 0 errno = 0;
2083 0 return SWIG_OverflowError;
2084 } else {
2085 0 ▶ if (*endptr == '\0') {
Branch: 1 branch
BranchTrueFalseTotal
if (*endptr == '\0') { 0 0 0
2086 0 ▶ if (val) *val = v;
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = v; 0 0 0
2087 0 return SWIG_Str2NumCast(SWIG_OK);
2088 }
2089 }
2090 }
2091 0 ▶ if (!dispatch) {
Branch: 1 branch
BranchTrueFalseTotal
if (!dispatch) { 0 0 0
2092 double d;
2093 0 int res = SWIG_AddCast(SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(obj,&d));
2094 0 ▶ if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, 0, ULONG_MAX)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, 0, ULONG_MAX)) { 0 0 0
if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, 0, ULONG_MAX)) { 0 0 0
2095 0 ▶ if (val) *val = (unsigned long)(d);
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = (unsigned long)(d); 0 0 0
2096 0 return res;
2097 }
2098 }
2099 }
2100 0 return SWIG_TypeError;
2101 }
2102  
2103  
2104 #if defined(LLONG_MAX) && !defined(SWIG_LONG_LONG_AVAILABLE)
2105 # define SWIG_LONG_LONG_AVAILABLE
2106 #endif
2107  
2108  
2109 #ifdef SWIG_LONG_LONG_AVAILABLE
2110 SWIGINTERN int
2111 0 SWIG_AsVal_unsigned_SS_long_SS_long SWIG_PERL_DECL_ARGS_2(SV *obj, unsigned long long *val)
2112 {
2113 0 ▶ if (SvUOK(obj)) {
Branch: 1 branch
BranchTrueFalseTotal
if (SvUOK(obj)) { 0 0 0
2114 /* pretty sure this should be conditional on
2115 * (UVSIZE <= sizeof(*val) || v <= ULLONG_MAX) */
2116 0 ▶ if (val) *val = SvUV(obj);
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = SvUV(obj); 0 0 0
2117 0 return SWIG_OK;
2118 0 ▶ } else if (SvIOK(obj)) {
Branch: 1 branch
BranchTrueFalseTotal
} else if (SvIOK(obj)) { 0 0 0
2119 0 IV v = SvIV(obj);
2120 0 ▶ if (v >= 0 && (IVSIZE <= sizeof(*val) || v <= ULLONG_MAX)) {
Branch: 1 branch
BranchTrueFalseTotal
if (v >= 0 && (IVSIZE <= sizeof(*val) || v <= ULLONG_MAX)) { 0 0 0
2121 0 ▶ if (val) *val = v;
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = v; 0 0 0
2122 0 return SWIG_OK;
2123 } else {
2124 0 return SWIG_OverflowError;
2125 }
2126 } else {
2127 0 int dispatch = 0;
2128 0 const char *nptr = SvPV_nolen(obj);
2129 0 ▶ if (nptr) {
Branch: 1 branch
BranchTrueFalseTotal
if (nptr) { 0 0 0
2130 char *endptr;
2131 unsigned long long v;
2132 0 errno = 0;
2133 0 v = strtoull(nptr, &endptr,0);
2134 0 ▶ if (errno == ERANGE) {
Branch: 1 branch
BranchTrueFalseTotal
if (errno == ERANGE) { 0 0 0
2135 0 errno = 0;
2136 0 return SWIG_OverflowError;
2137 } else {
2138 0 ▶ if (*endptr == '\0') {
Branch: 1 branch
BranchTrueFalseTotal
if (*endptr == '\0') { 0 0 0
2139 0 ▶ if (val) *val = v;
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = v; 0 0 0
2140 0 return SWIG_Str2NumCast(SWIG_OK);
2141 }
2142 }
2143 }
2144 0 ▶ if (!dispatch) {
Branch: 1 branch
BranchTrueFalseTotal
if (!dispatch) { 0 0 0
2145 0 const double mant_max = 1LL << DBL_MANT_DIG;
2146 double d;
2147 0 int res = SWIG_AddCast(SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(obj,&d));
2148 0 ▶ if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, 0, mant_max)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, 0, mant_max)) { 0 0 0
if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, 0, mant_max)) { 0 0 0
2149 0 ▶ if (val) *val = (unsigned long long)(d);
Branch: 1 branch
BranchTrueFalseTotal
if (val) *val = (unsigned long long)(d); 0 0 0
2150 0 return res;
2151 }
2152 }
2153 }
2154 0 return SWIG_TypeError;
2155 }
2156 #endif
2157  
2158  
2159 SWIGINTERNINLINE int
2160 0 SWIG_AsVal_size_t SWIG_PERL_DECL_ARGS_2(SV * obj, size_t *val)
2161 {
2162 0 int res = SWIG_TypeError;
2163 #ifdef SWIG_LONG_LONG_AVAILABLE
2164 if (sizeof(size_t) <= sizeof(unsigned long)) {
2165 #endif
2166 unsigned long v;
2167 0 ▶ res = SWIG_AsVal_unsigned_SS_long SWIG_PERL_CALL_ARGS_2(obj, val ? &v : 0);
Branch: 1 branch
BranchTrueFalseTotal
res = SWIG_AsVal_unsigned_SS_long SWIG_PERL_CALL_ARGS_2(obj, val ? &v : 0); 0 0 0
2168 0 ▶ if (SWIG_IsOK(res) && val) *val = (size_t)(v);
Branch: 2 branches
BranchTrueFalseTotal
if (SWIG_IsOK(res) && val) *val = (size_t)(v); 0 0 0
if (SWIG_IsOK(res) && val) *val = (size_t)(v); 0 0 0
2169 #ifdef SWIG_LONG_LONG_AVAILABLE
2170 } else if (sizeof(size_t) <= sizeof(unsigned long long)) {
2171 unsigned long long v;
2172 res = SWIG_AsVal_unsigned_SS_long_SS_long SWIG_PERL_CALL_ARGS_2(obj, val ? &v : 0);
2173 if (SWIG_IsOK(res) && val) *val = (size_t)(v);
2174 }
2175 #endif
2176 0 return res;
2177 }
2178  
2179  
2180 SWIGINTERNINLINE SV *
2181 0 SWIG_From_unsigned_SS_long SWIG_PERL_DECL_ARGS_1(unsigned long value)
2182 {
2183 SV *sv;
2184 if (UVSIZE >= sizeof(value) || value <= UV_MAX)
2185 0 sv = newSVuv(value);
2186 else
2187 sv = newSVpvf("%lu", value);
2188 0 return sv_2mortal(sv);
2189 }
2190  
2191  
2192 #include <stdio.h>
2193 #if (defined(_MSC_VER) && (_MSC_VER < 1900)) || defined(__BORLANDC__) || defined(_WATCOM)
2194 # ifndef snprintf
2195 # define snprintf _snprintf
2196 # endif
2197 #endif
2198  
2199  
2200 #ifdef SWIG_LONG_LONG_AVAILABLE
2201 SWIGINTERNINLINE SV *
2202 SWIG_From_unsigned_SS_long_SS_long SWIG_PERL_DECL_ARGS_1(unsigned long long value)
2203 {
2204 SV *sv;
2205 if (UVSIZE >= sizeof(value) || value <= UV_MAX)
2206 sv = newSVuv((UV)(value));
2207 else {
2208 //sv = newSVpvf("%llu", value); doesn't work in non 64bit Perl
2209 char temp[256];
2210 SWIG_snprintf(temp, sizeof(temp), "%llu", value);
2211 sv = newSVpv(temp, 0);
2212 }
2213 return sv_2mortal(sv);
2214 }
2215 #endif
2216  
2217  
2218 SWIGINTERNINLINE SV *
2219 0 SWIG_From_size_t SWIG_PERL_DECL_ARGS_1(size_t value)
2220 {
2221 #ifdef SWIG_LONG_LONG_AVAILABLE
2222 if (sizeof(size_t) <= sizeof(unsigned long)) {
2223 #endif
2224 0 return SWIG_From_unsigned_SS_long SWIG_PERL_CALL_ARGS_1((unsigned long)(value));
2225 #ifdef SWIG_LONG_LONG_AVAILABLE
2226 } else {
2227 /* assume sizeof(size_t) <= sizeof(unsigned long long) */
2228 return SWIG_From_unsigned_SS_long_SS_long SWIG_PERL_CALL_ARGS_1((unsigned long long)(value));
2229 }
2230 #endif
2231 }
2232  
2233  
2234 #include "gsl/gsl_math.h"
2235 #include "gsl/gsl_vector.h"
2236 #include "gsl/gsl_bspline.h"
2237  
2238 #ifdef __cplusplus
2239 extern "C" {
2240 #endif
2241  
2242 #define MAGIC_CLASS
2243 0 SWIGCLASS_STATIC int swig_magic_readonly(pTHX_ SV *SWIGUNUSEDPARM(sv), MAGIC *SWIGUNUSEDPARM(mg)) {
2244 MAGIC_PPERL
2245 0 croak("Value is read-only.");
2246 return 0;
2247 }
2248  
2249 #ifdef __cplusplus
2250 }
2251 #endif
2252  
2253 #ifdef __cplusplus
2254 extern "C" {
2255 #endif
2256 0 XS(_wrap_gsl_error) {
2257 {
2258 0 char *arg1 = (char *) 0 ;
2259 0 char *arg2 = (char *) 0 ;
2260 int arg3 ;
2261 int arg4 ;
2262 int res1 ;
2263 0 char *buf1 = 0 ;
2264 0 int alloc1 = 0 ;
2265 int res2 ;
2266 0 char *buf2 = 0 ;
2267 0 int alloc2 = 0 ;
2268 int val3 ;
2269 0 int ecode3 = 0 ;
2270 int val4 ;
2271 0 int ecode4 = 0 ;
2272 0 int argvi = 0;
2273 0 dXSARGS;
2274
2275 0 ▶ if ((items < 4) || (items > 4)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 4) || (items > 4)) { 0 0 0
if ((items < 4) || (items > 4)) { 0 0 0
2276 0 SWIG_croak("Usage: gsl_error(reason,file,line,gsl_errno);");
2277 }
2278 0 res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
2279 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2280 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_error" "', argument " "1"" of type '" "char const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_error" "', argument " "1"" of type '" "char const *""'"); 0 0 0
2281 }
2282 0 arg1 = (char *)(buf1);
2283 0 res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
2284 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
2285 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_error" "', argument " "2"" of type '" "char const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_error" "', argument " "2"" of type '" "char const *""'"); 0 0 0
2286 }
2287 0 arg2 = (char *)(buf2);
2288 0 ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
2289 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
2290 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_error" "', argument " "3"" of type '" "int""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_error" "', argument " "3"" of type '" "int""'"); 0 0 0
2291 }
2292 0 arg3 = (int)(val3);
2293 0 ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
2294 0 ▶ if (!SWIG_IsOK(ecode4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode4)) { 0 0 0
2295 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_error" "', argument " "4"" of type '" "int""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "gsl_error" "', argument " "4"" of type '" "int""'"); 0 0 0
2296 }
2297 0 arg4 = (int)(val4);
2298 0 gsl_error((char const *)arg1,(char const *)arg2,arg3,arg4);
2299 0 ST(argvi) = &PL_sv_undef;
2300 0 ▶ if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc1 == SWIG_NEWOBJ) free((char*)buf1); 0 0 0
2301 0 ▶ if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); 0 0 0
2302
2303
2304 0 XSRETURN(argvi);
2305 0 fail:
2306 0 ▶ if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc1 == SWIG_NEWOBJ) free((char*)buf1); 0 0 0
2307 0 ▶ if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); 0 0 0
2308
2309
2310 0 SWIG_croak_null();
2311 }
2312 }
2313  
2314  
2315 0 XS(_wrap_gsl_stream_printf) {
2316 {
2317 0 char *arg1 = (char *) 0 ;
2318 0 char *arg2 = (char *) 0 ;
2319 int arg3 ;
2320 0 char *arg4 = (char *) 0 ;
2321 int res1 ;
2322 0 char *buf1 = 0 ;
2323 0 int alloc1 = 0 ;
2324 int res2 ;
2325 0 char *buf2 = 0 ;
2326 0 int alloc2 = 0 ;
2327 int val3 ;
2328 0 int ecode3 = 0 ;
2329 int res4 ;
2330 0 char *buf4 = 0 ;
2331 0 int alloc4 = 0 ;
2332 0 int argvi = 0;
2333 0 dXSARGS;
2334
2335 0 ▶ if ((items < 4) || (items > 4)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 4) || (items > 4)) { 0 0 0
if ((items < 4) || (items > 4)) { 0 0 0
2336 0 SWIG_croak("Usage: gsl_stream_printf(label,file,line,reason);");
2337 }
2338 0 res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
2339 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2340 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_stream_printf" "', argument " "1"" of type '" "char const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_stream_printf" "', argument " "1"" of type '" "char const *""'"); 0 0 0
2341 }
2342 0 arg1 = (char *)(buf1);
2343 0 res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
2344 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
2345 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_stream_printf" "', argument " "2"" of type '" "char const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_stream_printf" "', argument " "2"" of type '" "char const *""'"); 0 0 0
2346 }
2347 0 arg2 = (char *)(buf2);
2348 0 ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
2349 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
2350 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_stream_printf" "', argument " "3"" of type '" "int""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_stream_printf" "', argument " "3"" of type '" "int""'"); 0 0 0
2351 }
2352 0 arg3 = (int)(val3);
2353 0 res4 = SWIG_AsCharPtrAndSize(ST(3), &buf4, NULL, &alloc4);
2354 0 ▶ if (!SWIG_IsOK(res4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res4)) { 0 0 0
2355 0 ▶ SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_stream_printf" "', argument " "4"" of type '" "char const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_stream_printf" "', argument " "4"" of type '" "char const *""'"); 0 0 0
2356 }
2357 0 arg4 = (char *)(buf4);
2358 0 gsl_stream_printf((char const *)arg1,(char const *)arg2,arg3,(char const *)arg4);
2359 0 ST(argvi) = &PL_sv_undef;
2360 0 ▶ if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc1 == SWIG_NEWOBJ) free((char*)buf1); 0 0 0
2361 0 ▶ if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); 0 0 0
2362
2363 0 ▶ if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc4 == SWIG_NEWOBJ) free((char*)buf4); 0 0 0
2364 0 XSRETURN(argvi);
2365 0 fail:
2366 0 ▶ if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc1 == SWIG_NEWOBJ) free((char*)buf1); 0 0 0
2367 0 ▶ if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); 0 0 0
2368
2369 0 ▶ if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
Branch: 1 branch
BranchTrueFalseTotal
if (alloc4 == SWIG_NEWOBJ) free((char*)buf4); 0 0 0
2370 0 SWIG_croak_null();
2371 }
2372 }
2373  
2374  
2375 0 XS(_wrap_gsl_strerror) {
2376 {
2377 int arg1 ;
2378 int val1 ;
2379 0 int ecode1 = 0 ;
2380 0 int argvi = 0;
2381 0 char *result = 0 ;
2382 0 dXSARGS;
2383
2384 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
2385 0 SWIG_croak("Usage: gsl_strerror(gsl_errno);");
2386 }
2387 0 ecode1 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
2388 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
2389 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_strerror" "', argument " "1"" of type '" "int""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_strerror" "', argument " "1"" of type '" "int""'"); 0 0 0
2390 }
2391 0 arg1 = (int)(val1);
2392 0 result = (char *)gsl_strerror(arg1);
2393 0 ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
2394
2395 0 XSRETURN(argvi);
2396 0 fail:
2397
2398 0 SWIG_croak_null();
2399 }
2400 }
2401  
2402  
2403 0 XS(_wrap_gsl_set_error_handler) {
2404 {
2405 0 gsl_error_handler_t *arg1 = (gsl_error_handler_t *) 0 ;
2406 0 int argvi = 0;
2407 0 gsl_error_handler_t *result = 0 ;
2408 0 dXSARGS;
2409
2410 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
2411 0 SWIG_croak("Usage: gsl_set_error_handler(new_handler);");
2412 }
2413 {
2414 0 int res = SWIG_ConvertFunctionPtr(ST(0), (void**)(&arg1), SWIGTYPE_p_f_p_q_const__char_p_q_const__char_int_int__void);
2415 0 ▶ if (!SWIG_IsOK(res)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res)) { 0 0 0
2416 0 ▶ SWIG_exception_fail(SWIG_ArgError(res), "in method '" "gsl_set_error_handler" "', argument " "1"" of type '" "gsl_error_handler_t *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res), "in method '" "gsl_set_error_handler" "', argument " "1"" of type '" "gsl_error_handler_t *""'"); 0 0 0
2417 }
2418 }
2419 0 result = (gsl_error_handler_t *)gsl_set_error_handler(arg1);
2420 0 ST(argvi) = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_q_const__char_p_q_const__char_int_int__void); argvi++ ;
2421
2422 0 XSRETURN(argvi);
2423 0 fail:
2424
2425 0 SWIG_croak_null();
2426 }
2427 }
2428  
2429  
2430 0 XS(_wrap_gsl_set_error_handler_off) {
2431 {
2432 0 int argvi = 0;
2433 0 gsl_error_handler_t *result = 0 ;
2434 0 dXSARGS;
2435
2436 0 ▶ if ((items < 0) || (items > 0)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 0) || (items > 0)) { 0 0 0
if ((items < 0) || (items > 0)) { 0 0 0
2437 0 SWIG_croak("Usage: gsl_set_error_handler_off();");
2438 }
2439 0 result = (gsl_error_handler_t *)gsl_set_error_handler_off();
2440 0 ST(argvi) = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_q_const__char_p_q_const__char_int_int__void); argvi++ ;
2441 0 XSRETURN(argvi);
2442 0 fail:
2443 0 SWIG_croak_null();
2444 }
2445 }
2446  
2447  
2448 0 XS(_wrap_gsl_set_stream_handler) {
2449 {
2450 0 gsl_stream_handler_t *arg1 = (gsl_stream_handler_t *) 0 ;
2451 0 int argvi = 0;
2452 0 gsl_stream_handler_t *result = 0 ;
2453 0 dXSARGS;
2454
2455 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
2456 0 SWIG_croak("Usage: gsl_set_stream_handler(new_handler);");
2457 }
2458 {
2459 0 int res = SWIG_ConvertFunctionPtr(ST(0), (void**)(&arg1), SWIGTYPE_p_f_p_q_const__char_p_q_const__char_int_p_q_const__char__void);
2460 0 ▶ if (!SWIG_IsOK(res)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res)) { 0 0 0
2461 0 ▶ SWIG_exception_fail(SWIG_ArgError(res), "in method '" "gsl_set_stream_handler" "', argument " "1"" of type '" "gsl_stream_handler_t *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res), "in method '" "gsl_set_stream_handler" "', argument " "1"" of type '" "gsl_stream_handler_t *""'"); 0 0 0
2462 }
2463 }
2464 0 result = (gsl_stream_handler_t *)gsl_set_stream_handler(arg1);
2465 0 ST(argvi) = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_q_const__char_p_q_const__char_int_p_q_const__char__void); argvi++ ;
2466
2467 0 XSRETURN(argvi);
2468 0 fail:
2469
2470 0 SWIG_croak_null();
2471 }
2472 }
2473  
2474  
2475 0 XS(_wrap_gsl_set_stream) {
2476 {
2477 0 FILE *arg1 = (FILE *) 0 ;
2478 0 void *argp1 = 0 ;
2479 0 int res1 = 0 ;
2480 0 int argvi = 0;
2481 0 FILE *result = 0 ;
2482 0 dXSARGS;
2483
2484 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
2485 0 SWIG_croak("Usage: gsl_set_stream(new_stream);");
2486 }
2487 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_FILE, 0 | 0 );
2488 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2489 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_set_stream" "', argument " "1"" of type '" "FILE *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_set_stream" "', argument " "1"" of type '" "FILE *""'"); 0 0 0
2490 }
2491 0 arg1 = (FILE *)(argp1);
2492 0 result = (FILE *)gsl_set_stream(arg1);
2493 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FILE, 0 | 0); argvi++ ;
2494
2495 0 XSRETURN(argvi);
2496 0 fail:
2497
2498 0 SWIG_croak_null();
2499 }
2500 }
2501  
2502  
2503 0 XS(_wrap_gsl_function_struct_function_set) {
2504 {
2505 0 struct gsl_function_struct *arg1 = (struct gsl_function_struct *) 0 ;
2506 0 double (*arg2)(double,void *) = (double (*)(double,void *)) 0 ;
2507 0 void *argp1 = 0 ;
2508 0 int res1 = 0 ;
2509 0 int argvi = 0;
2510 0 dXSARGS;
2511
2512 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
2513 0 SWIG_croak("Usage: gsl_function_struct_function_set(self,function);");
2514 }
2515 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_function_struct, 0 | 0 );
2516 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2517 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_function_struct_function_set" "', argument " "1"" of type '" "struct gsl_function_struct *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_function_struct_function_set" "', argument " "1"" of type '" "struct gsl_function_struct *""'"); 0 0 0
2518 }
2519 0 arg1 = (struct gsl_function_struct *)(argp1);
2520 {
2521 0 int res = SWIG_ConvertFunctionPtr(ST(1), (void**)(&arg2), SWIGTYPE_p_f_double_p_void__double);
2522 0 ▶ if (!SWIG_IsOK(res)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res)) { 0 0 0
2523 0 ▶ SWIG_exception_fail(SWIG_ArgError(res), "in method '" "gsl_function_struct_function_set" "', argument " "2"" of type '" "double (*)(double,void *)""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res), "in method '" "gsl_function_struct_function_set" "', argument " "2"" of type '" "double (*)(double,void *)""'"); 0 0 0
2524 }
2525 }
2526 0 ▶ if (arg1) (arg1)->function = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->function = arg2; 0 0 0
2527 0 ST(argvi) = &PL_sv_undef;
2528
2529
2530 0 XSRETURN(argvi);
2531 0 fail:
2532
2533
2534 0 SWIG_croak_null();
2535 }
2536 }
2537  
2538  
2539 0 XS(_wrap_gsl_function_struct_function_get) {
2540 {
2541 0 struct gsl_function_struct *arg1 = (struct gsl_function_struct *) 0 ;
2542 0 void *argp1 = 0 ;
2543 0 int res1 = 0 ;
2544 0 int argvi = 0;
2545 0 double (*result)(double,void *) = 0 ;
2546 0 dXSARGS;
2547
2548 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
2549 0 SWIG_croak("Usage: gsl_function_struct_function_get(self);");
2550 }
2551 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_function_struct, 0 | 0 );
2552 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2553 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_function_struct_function_get" "', argument " "1"" of type '" "struct gsl_function_struct *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_function_struct_function_get" "', argument " "1"" of type '" "struct gsl_function_struct *""'"); 0 0 0
2554 }
2555 0 arg1 = (struct gsl_function_struct *)(argp1);
2556 0 result = (double (*)(double,void *)) ((arg1)->function);
2557 0 ST(argvi) = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_double_p_void__double); argvi++ ;
2558
2559 0 XSRETURN(argvi);
2560 0 fail:
2561
2562 0 SWIG_croak_null();
2563 }
2564 }
2565  
2566  
2567 0 XS(_wrap_gsl_function_struct_params_set) {
2568 {
2569 0 struct gsl_function_struct *arg1 = (struct gsl_function_struct *) 0 ;
2570 0 void *arg2 = (void *) 0 ;
2571 0 void *argp1 = 0 ;
2572 0 int res1 = 0 ;
2573 int res2 ;
2574 0 int argvi = 0;
2575 0 dXSARGS;
2576
2577 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
2578 0 SWIG_croak("Usage: gsl_function_struct_params_set(self,params);");
2579 }
2580 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_function_struct, 0 | 0 );
2581 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2582 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_function_struct_params_set" "', argument " "1"" of type '" "struct gsl_function_struct *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_function_struct_params_set" "', argument " "1"" of type '" "struct gsl_function_struct *""'"); 0 0 0
2583 }
2584 0 arg1 = (struct gsl_function_struct *)(argp1);
2585 0 res2 = SWIG_ConvertPtr(ST(1),SWIG_as_voidptrptr(&arg2), 0, SWIG_POINTER_DISOWN);
2586 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
2587 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_function_struct_params_set" "', argument " "2"" of type '" "void *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_function_struct_params_set" "', argument " "2"" of type '" "void *""'"); 0 0 0
2588 }
2589 0 ▶ if (arg1) (arg1)->params = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->params = arg2; 0 0 0
2590 0 ST(argvi) = &PL_sv_undef;
2591
2592
2593 0 XSRETURN(argvi);
2594 0 fail:
2595
2596
2597 0 SWIG_croak_null();
2598 }
2599 }
2600  
2601  
2602 0 XS(_wrap_gsl_function_struct_params_get) {
2603 {
2604 0 struct gsl_function_struct *arg1 = (struct gsl_function_struct *) 0 ;
2605 0 void *argp1 = 0 ;
2606 0 int res1 = 0 ;
2607 0 int argvi = 0;
2608 0 void *result = 0 ;
2609 0 dXSARGS;
2610
2611 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
2612 0 SWIG_croak("Usage: gsl_function_struct_params_get(self);");
2613 }
2614 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_function_struct, 0 | 0 );
2615 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2616 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_function_struct_params_get" "', argument " "1"" of type '" "struct gsl_function_struct *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_function_struct_params_get" "', argument " "1"" of type '" "struct gsl_function_struct *""'"); 0 0 0
2617 }
2618 0 arg1 = (struct gsl_function_struct *)(argp1);
2619 0 result = (void *) ((arg1)->params);
2620 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0); argvi++ ;
2621
2622 0 XSRETURN(argvi);
2623 0 fail:
2624
2625 0 SWIG_croak_null();
2626 }
2627 }
2628  
2629  
2630 0 XS(_wrap_new_gsl_function_struct) {
2631 {
2632 0 int argvi = 0;
2633 0 struct gsl_function_struct *result = 0 ;
2634 0 dXSARGS;
2635
2636 0 ▶ if ((items < 0) || (items > 0)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 0) || (items > 0)) { 0 0 0
if ((items < 0) || (items > 0)) { 0 0 0
2637 0 SWIG_croak("Usage: new_gsl_function_struct();");
2638 }
2639 0 result = (struct gsl_function_struct *)calloc(1, sizeof(struct gsl_function_struct));
2640 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_function_struct, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
2641 0 XSRETURN(argvi);
2642 0 fail:
2643 0 SWIG_croak_null();
2644 }
2645 }
2646  
2647  
2648 0 XS(_wrap_delete_gsl_function_struct) {
2649 {
2650 0 struct gsl_function_struct *arg1 = (struct gsl_function_struct *) 0 ;
2651 0 void *argp1 = 0 ;
2652 0 int res1 = 0 ;
2653 0 int argvi = 0;
2654 0 dXSARGS;
2655
2656 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
2657 0 SWIG_croak("Usage: delete_gsl_function_struct(self);");
2658 }
2659 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_function_struct, SWIG_POINTER_DISOWN | 0 );
2660 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2661 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_gsl_function_struct" "', argument " "1"" of type '" "struct gsl_function_struct *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_gsl_function_struct" "', argument " "1"" of type '" "struct gsl_function_struct *""'"); 0 0 0
2662 }
2663 0 arg1 = (struct gsl_function_struct *)(argp1);
2664 0 free((char *) arg1);
2665 0 ST(argvi) = &PL_sv_undef;
2666
2667 0 XSRETURN(argvi);
2668 0 fail:
2669
2670 0 SWIG_croak_null();
2671 }
2672 }
2673  
2674  
2675 0 XS(_wrap_gsl_function_fdf_struct_f_set) {
2676 {
2677 0 struct gsl_function_fdf_struct *arg1 = (struct gsl_function_fdf_struct *) 0 ;
2678 0 double (*arg2)(double,void *) = (double (*)(double,void *)) 0 ;
2679 0 void *argp1 = 0 ;
2680 0 int res1 = 0 ;
2681 0 int argvi = 0;
2682 0 dXSARGS;
2683
2684 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
2685 0 SWIG_croak("Usage: gsl_function_fdf_struct_f_set(self,f);");
2686 }
2687 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_function_fdf_struct, 0 | 0 );
2688 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2689 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_function_fdf_struct_f_set" "', argument " "1"" of type '" "struct gsl_function_fdf_struct *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_function_fdf_struct_f_set" "', argument " "1"" of type '" "struct gsl_function_fdf_struct *""'"); 0 0 0
2690 }
2691 0 arg1 = (struct gsl_function_fdf_struct *)(argp1);
2692 {
2693 0 int res = SWIG_ConvertFunctionPtr(ST(1), (void**)(&arg2), SWIGTYPE_p_f_double_p_void__double);
2694 0 ▶ if (!SWIG_IsOK(res)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res)) { 0 0 0
2695 0 ▶ SWIG_exception_fail(SWIG_ArgError(res), "in method '" "gsl_function_fdf_struct_f_set" "', argument " "2"" of type '" "double (*)(double,void *)""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res), "in method '" "gsl_function_fdf_struct_f_set" "', argument " "2"" of type '" "double (*)(double,void *)""'"); 0 0 0
2696 }
2697 }
2698 0 ▶ if (arg1) (arg1)->f = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->f = arg2; 0 0 0
2699 0 ST(argvi) = &PL_sv_undef;
2700
2701
2702 0 XSRETURN(argvi);
2703 0 fail:
2704
2705
2706 0 SWIG_croak_null();
2707 }
2708 }
2709  
2710  
2711 0 XS(_wrap_gsl_function_fdf_struct_f_get) {
2712 {
2713 0 struct gsl_function_fdf_struct *arg1 = (struct gsl_function_fdf_struct *) 0 ;
2714 0 void *argp1 = 0 ;
2715 0 int res1 = 0 ;
2716 0 int argvi = 0;
2717 0 double (*result)(double,void *) = 0 ;
2718 0 dXSARGS;
2719
2720 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
2721 0 SWIG_croak("Usage: gsl_function_fdf_struct_f_get(self);");
2722 }
2723 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_function_fdf_struct, 0 | 0 );
2724 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2725 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_function_fdf_struct_f_get" "', argument " "1"" of type '" "struct gsl_function_fdf_struct *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_function_fdf_struct_f_get" "', argument " "1"" of type '" "struct gsl_function_fdf_struct *""'"); 0 0 0
2726 }
2727 0 arg1 = (struct gsl_function_fdf_struct *)(argp1);
2728 0 result = (double (*)(double,void *)) ((arg1)->f);
2729 0 ST(argvi) = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_double_p_void__double); argvi++ ;
2730
2731 0 XSRETURN(argvi);
2732 0 fail:
2733
2734 0 SWIG_croak_null();
2735 }
2736 }
2737  
2738  
2739 0 XS(_wrap_gsl_function_fdf_struct_df_set) {
2740 {
2741 0 struct gsl_function_fdf_struct *arg1 = (struct gsl_function_fdf_struct *) 0 ;
2742 0 double (*arg2)(double,void *) = (double (*)(double,void *)) 0 ;
2743 0 void *argp1 = 0 ;
2744 0 int res1 = 0 ;
2745 0 int argvi = 0;
2746 0 dXSARGS;
2747
2748 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
2749 0 SWIG_croak("Usage: gsl_function_fdf_struct_df_set(self,df);");
2750 }
2751 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_function_fdf_struct, 0 | 0 );
2752 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2753 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_function_fdf_struct_df_set" "', argument " "1"" of type '" "struct gsl_function_fdf_struct *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_function_fdf_struct_df_set" "', argument " "1"" of type '" "struct gsl_function_fdf_struct *""'"); 0 0 0
2754 }
2755 0 arg1 = (struct gsl_function_fdf_struct *)(argp1);
2756 {
2757 0 int res = SWIG_ConvertFunctionPtr(ST(1), (void**)(&arg2), SWIGTYPE_p_f_double_p_void__double);
2758 0 ▶ if (!SWIG_IsOK(res)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res)) { 0 0 0
2759 0 ▶ SWIG_exception_fail(SWIG_ArgError(res), "in method '" "gsl_function_fdf_struct_df_set" "', argument " "2"" of type '" "double (*)(double,void *)""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res), "in method '" "gsl_function_fdf_struct_df_set" "', argument " "2"" of type '" "double (*)(double,void *)""'"); 0 0 0
2760 }
2761 }
2762 0 ▶ if (arg1) (arg1)->df = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->df = arg2; 0 0 0
2763 0 ST(argvi) = &PL_sv_undef;
2764
2765
2766 0 XSRETURN(argvi);
2767 0 fail:
2768
2769
2770 0 SWIG_croak_null();
2771 }
2772 }
2773  
2774  
2775 0 XS(_wrap_gsl_function_fdf_struct_df_get) {
2776 {
2777 0 struct gsl_function_fdf_struct *arg1 = (struct gsl_function_fdf_struct *) 0 ;
2778 0 void *argp1 = 0 ;
2779 0 int res1 = 0 ;
2780 0 int argvi = 0;
2781 0 double (*result)(double,void *) = 0 ;
2782 0 dXSARGS;
2783
2784 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
2785 0 SWIG_croak("Usage: gsl_function_fdf_struct_df_get(self);");
2786 }
2787 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_function_fdf_struct, 0 | 0 );
2788 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2789 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_function_fdf_struct_df_get" "', argument " "1"" of type '" "struct gsl_function_fdf_struct *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_function_fdf_struct_df_get" "', argument " "1"" of type '" "struct gsl_function_fdf_struct *""'"); 0 0 0
2790 }
2791 0 arg1 = (struct gsl_function_fdf_struct *)(argp1);
2792 0 result = (double (*)(double,void *)) ((arg1)->df);
2793 0 ST(argvi) = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_double_p_void__double); argvi++ ;
2794
2795 0 XSRETURN(argvi);
2796 0 fail:
2797
2798 0 SWIG_croak_null();
2799 }
2800 }
2801  
2802  
2803 0 XS(_wrap_gsl_function_fdf_struct_fdf_set) {
2804 {
2805 0 struct gsl_function_fdf_struct *arg1 = (struct gsl_function_fdf_struct *) 0 ;
2806 0 void (*arg2)(double,void *,double *,double *) = (void (*)(double,void *,double *,double *)) 0 ;
2807 0 void *argp1 = 0 ;
2808 0 int res1 = 0 ;
2809 0 int argvi = 0;
2810 0 dXSARGS;
2811
2812 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
2813 0 SWIG_croak("Usage: gsl_function_fdf_struct_fdf_set(self,fdf);");
2814 }
2815 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_function_fdf_struct, 0 | 0 );
2816 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2817 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_function_fdf_struct_fdf_set" "', argument " "1"" of type '" "struct gsl_function_fdf_struct *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_function_fdf_struct_fdf_set" "', argument " "1"" of type '" "struct gsl_function_fdf_struct *""'"); 0 0 0
2818 }
2819 0 arg1 = (struct gsl_function_fdf_struct *)(argp1);
2820 {
2821 0 int res = SWIG_ConvertFunctionPtr(ST(1), (void**)(&arg2), SWIGTYPE_p_f_double_p_void_p_double_p_double__void);
2822 0 ▶ if (!SWIG_IsOK(res)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res)) { 0 0 0
2823 0 ▶ SWIG_exception_fail(SWIG_ArgError(res), "in method '" "gsl_function_fdf_struct_fdf_set" "', argument " "2"" of type '" "void (*)(double,void *,double *,double *)""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res), "in method '" "gsl_function_fdf_struct_fdf_set" "', argument " "2"" of type '" "void (*)(double,void *,double *,double *)""'"); 0 0 0
2824 }
2825 }
2826 0 ▶ if (arg1) (arg1)->fdf = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->fdf = arg2; 0 0 0
2827 0 ST(argvi) = &PL_sv_undef;
2828
2829
2830 0 XSRETURN(argvi);
2831 0 fail:
2832
2833
2834 0 SWIG_croak_null();
2835 }
2836 }
2837  
2838  
2839 0 XS(_wrap_gsl_function_fdf_struct_fdf_get) {
2840 {
2841 0 struct gsl_function_fdf_struct *arg1 = (struct gsl_function_fdf_struct *) 0 ;
2842 0 void *argp1 = 0 ;
2843 0 int res1 = 0 ;
2844 0 int argvi = 0;
2845 0 void (*result)(double,void *,double *,double *) = 0 ;
2846 0 dXSARGS;
2847
2848 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
2849 0 SWIG_croak("Usage: gsl_function_fdf_struct_fdf_get(self);");
2850 }
2851 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_function_fdf_struct, 0 | 0 );
2852 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2853 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_function_fdf_struct_fdf_get" "', argument " "1"" of type '" "struct gsl_function_fdf_struct *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_function_fdf_struct_fdf_get" "', argument " "1"" of type '" "struct gsl_function_fdf_struct *""'"); 0 0 0
2854 }
2855 0 arg1 = (struct gsl_function_fdf_struct *)(argp1);
2856 0 result = (void (*)(double,void *,double *,double *)) ((arg1)->fdf);
2857 0 ST(argvi) = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_double_p_void_p_double_p_double__void); argvi++ ;
2858
2859 0 XSRETURN(argvi);
2860 0 fail:
2861
2862 0 SWIG_croak_null();
2863 }
2864 }
2865  
2866  
2867 0 XS(_wrap_gsl_function_fdf_struct_params_set) {
2868 {
2869 0 struct gsl_function_fdf_struct *arg1 = (struct gsl_function_fdf_struct *) 0 ;
2870 0 void *arg2 = (void *) 0 ;
2871 0 void *argp1 = 0 ;
2872 0 int res1 = 0 ;
2873 int res2 ;
2874 0 int argvi = 0;
2875 0 dXSARGS;
2876
2877 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
2878 0 SWIG_croak("Usage: gsl_function_fdf_struct_params_set(self,params);");
2879 }
2880 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_function_fdf_struct, 0 | 0 );
2881 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2882 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_function_fdf_struct_params_set" "', argument " "1"" of type '" "struct gsl_function_fdf_struct *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_function_fdf_struct_params_set" "', argument " "1"" of type '" "struct gsl_function_fdf_struct *""'"); 0 0 0
2883 }
2884 0 arg1 = (struct gsl_function_fdf_struct *)(argp1);
2885 0 res2 = SWIG_ConvertPtr(ST(1),SWIG_as_voidptrptr(&arg2), 0, SWIG_POINTER_DISOWN);
2886 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
2887 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_function_fdf_struct_params_set" "', argument " "2"" of type '" "void *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_function_fdf_struct_params_set" "', argument " "2"" of type '" "void *""'"); 0 0 0
2888 }
2889 0 ▶ if (arg1) (arg1)->params = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->params = arg2; 0 0 0
2890 0 ST(argvi) = &PL_sv_undef;
2891
2892
2893 0 XSRETURN(argvi);
2894 0 fail:
2895
2896
2897 0 SWIG_croak_null();
2898 }
2899 }
2900  
2901  
2902 0 XS(_wrap_gsl_function_fdf_struct_params_get) {
2903 {
2904 0 struct gsl_function_fdf_struct *arg1 = (struct gsl_function_fdf_struct *) 0 ;
2905 0 void *argp1 = 0 ;
2906 0 int res1 = 0 ;
2907 0 int argvi = 0;
2908 0 void *result = 0 ;
2909 0 dXSARGS;
2910
2911 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
2912 0 SWIG_croak("Usage: gsl_function_fdf_struct_params_get(self);");
2913 }
2914 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_function_fdf_struct, 0 | 0 );
2915 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2916 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_function_fdf_struct_params_get" "', argument " "1"" of type '" "struct gsl_function_fdf_struct *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_function_fdf_struct_params_get" "', argument " "1"" of type '" "struct gsl_function_fdf_struct *""'"); 0 0 0
2917 }
2918 0 arg1 = (struct gsl_function_fdf_struct *)(argp1);
2919 0 result = (void *) ((arg1)->params);
2920 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0); argvi++ ;
2921
2922 0 XSRETURN(argvi);
2923 0 fail:
2924
2925 0 SWIG_croak_null();
2926 }
2927 }
2928  
2929  
2930 0 XS(_wrap_new_gsl_function_fdf_struct) {
2931 {
2932 0 int argvi = 0;
2933 0 struct gsl_function_fdf_struct *result = 0 ;
2934 0 dXSARGS;
2935
2936 0 ▶ if ((items < 0) || (items > 0)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 0) || (items > 0)) { 0 0 0
if ((items < 0) || (items > 0)) { 0 0 0
2937 0 SWIG_croak("Usage: new_gsl_function_fdf_struct();");
2938 }
2939 0 result = (struct gsl_function_fdf_struct *)calloc(1, sizeof(struct gsl_function_fdf_struct));
2940 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_function_fdf_struct, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
2941 0 XSRETURN(argvi);
2942 0 fail:
2943 0 SWIG_croak_null();
2944 }
2945 }
2946  
2947  
2948 0 XS(_wrap_delete_gsl_function_fdf_struct) {
2949 {
2950 0 struct gsl_function_fdf_struct *arg1 = (struct gsl_function_fdf_struct *) 0 ;
2951 0 void *argp1 = 0 ;
2952 0 int res1 = 0 ;
2953 0 int argvi = 0;
2954 0 dXSARGS;
2955
2956 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
2957 0 SWIG_croak("Usage: delete_gsl_function_fdf_struct(self);");
2958 }
2959 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_function_fdf_struct, SWIG_POINTER_DISOWN | 0 );
2960 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2961 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_gsl_function_fdf_struct" "', argument " "1"" of type '" "struct gsl_function_fdf_struct *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_gsl_function_fdf_struct" "', argument " "1"" of type '" "struct gsl_function_fdf_struct *""'"); 0 0 0
2962 }
2963 0 arg1 = (struct gsl_function_fdf_struct *)(argp1);
2964 0 free((char *) arg1);
2965 0 ST(argvi) = &PL_sv_undef;
2966
2967 0 XSRETURN(argvi);
2968 0 fail:
2969
2970 0 SWIG_croak_null();
2971 }
2972 }
2973  
2974  
2975 0 XS(_wrap_gsl_function_vec_struct_function_set) {
2976 {
2977 0 struct gsl_function_vec_struct *arg1 = (struct gsl_function_vec_struct *) 0 ;
2978 0 int (*arg2)(double,double [],void *) = (int (*)(double,double [],void *)) 0 ;
2979 0 void *argp1 = 0 ;
2980 0 int res1 = 0 ;
2981 0 int argvi = 0;
2982 0 dXSARGS;
2983
2984 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
2985 0 SWIG_croak("Usage: gsl_function_vec_struct_function_set(self,function);");
2986 }
2987 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_function_vec_struct, 0 | 0 );
2988 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
2989 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_function_vec_struct_function_set" "', argument " "1"" of type '" "struct gsl_function_vec_struct *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_function_vec_struct_function_set" "', argument " "1"" of type '" "struct gsl_function_vec_struct *""'"); 0 0 0
2990 }
2991 0 arg1 = (struct gsl_function_vec_struct *)(argp1);
2992 {
2993 0 int res = SWIG_ConvertFunctionPtr(ST(1), (void**)(&arg2), SWIGTYPE_p_f_double_a___double_p_void__int);
2994 0 ▶ if (!SWIG_IsOK(res)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res)) { 0 0 0
2995 0 ▶ SWIG_exception_fail(SWIG_ArgError(res), "in method '" "gsl_function_vec_struct_function_set" "', argument " "2"" of type '" "int (*)(double,double [],void *)""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res), "in method '" "gsl_function_vec_struct_function_set" "', argument " "2"" of type '" "int (*)(double,double [],void *)""'"); 0 0 0
2996 }
2997 }
2998 0 ▶ if (arg1) (arg1)->function = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->function = arg2; 0 0 0
2999 0 ST(argvi) = &PL_sv_undef;
3000
3001
3002 0 XSRETURN(argvi);
3003 0 fail:
3004
3005
3006 0 SWIG_croak_null();
3007 }
3008 }
3009  
3010  
3011 0 XS(_wrap_gsl_function_vec_struct_function_get) {
3012 {
3013 0 struct gsl_function_vec_struct *arg1 = (struct gsl_function_vec_struct *) 0 ;
3014 0 void *argp1 = 0 ;
3015 0 int res1 = 0 ;
3016 0 int argvi = 0;
3017 0 int (*result)(double,double [],void *) = 0 ;
3018 0 dXSARGS;
3019
3020 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
3021 0 SWIG_croak("Usage: gsl_function_vec_struct_function_get(self);");
3022 }
3023 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_function_vec_struct, 0 | 0 );
3024 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3025 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_function_vec_struct_function_get" "', argument " "1"" of type '" "struct gsl_function_vec_struct *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_function_vec_struct_function_get" "', argument " "1"" of type '" "struct gsl_function_vec_struct *""'"); 0 0 0
3026 }
3027 0 arg1 = (struct gsl_function_vec_struct *)(argp1);
3028 0 result = (int (*)(double,double [],void *)) ((arg1)->function);
3029 0 ST(argvi) = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_double_a___double_p_void__int); argvi++ ;
3030
3031 0 XSRETURN(argvi);
3032 0 fail:
3033
3034 0 SWIG_croak_null();
3035 }
3036 }
3037  
3038  
3039 0 XS(_wrap_gsl_function_vec_struct_params_set) {
3040 {
3041 0 struct gsl_function_vec_struct *arg1 = (struct gsl_function_vec_struct *) 0 ;
3042 0 void *arg2 = (void *) 0 ;
3043 0 void *argp1 = 0 ;
3044 0 int res1 = 0 ;
3045 int res2 ;
3046 0 int argvi = 0;
3047 0 dXSARGS;
3048
3049 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
3050 0 SWIG_croak("Usage: gsl_function_vec_struct_params_set(self,params);");
3051 }
3052 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_function_vec_struct, 0 | 0 );
3053 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3054 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_function_vec_struct_params_set" "', argument " "1"" of type '" "struct gsl_function_vec_struct *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_function_vec_struct_params_set" "', argument " "1"" of type '" "struct gsl_function_vec_struct *""'"); 0 0 0
3055 }
3056 0 arg1 = (struct gsl_function_vec_struct *)(argp1);
3057 0 res2 = SWIG_ConvertPtr(ST(1),SWIG_as_voidptrptr(&arg2), 0, SWIG_POINTER_DISOWN);
3058 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
3059 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_function_vec_struct_params_set" "', argument " "2"" of type '" "void *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_function_vec_struct_params_set" "', argument " "2"" of type '" "void *""'"); 0 0 0
3060 }
3061 0 ▶ if (arg1) (arg1)->params = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->params = arg2; 0 0 0
3062 0 ST(argvi) = &PL_sv_undef;
3063
3064
3065 0 XSRETURN(argvi);
3066 0 fail:
3067
3068
3069 0 SWIG_croak_null();
3070 }
3071 }
3072  
3073  
3074 0 XS(_wrap_gsl_function_vec_struct_params_get) {
3075 {
3076 0 struct gsl_function_vec_struct *arg1 = (struct gsl_function_vec_struct *) 0 ;
3077 0 void *argp1 = 0 ;
3078 0 int res1 = 0 ;
3079 0 int argvi = 0;
3080 0 void *result = 0 ;
3081 0 dXSARGS;
3082
3083 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
3084 0 SWIG_croak("Usage: gsl_function_vec_struct_params_get(self);");
3085 }
3086 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_function_vec_struct, 0 | 0 );
3087 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3088 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_function_vec_struct_params_get" "', argument " "1"" of type '" "struct gsl_function_vec_struct *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_function_vec_struct_params_get" "', argument " "1"" of type '" "struct gsl_function_vec_struct *""'"); 0 0 0
3089 }
3090 0 arg1 = (struct gsl_function_vec_struct *)(argp1);
3091 0 result = (void *) ((arg1)->params);
3092 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0); argvi++ ;
3093
3094 0 XSRETURN(argvi);
3095 0 fail:
3096
3097 0 SWIG_croak_null();
3098 }
3099 }
3100  
3101  
3102 0 XS(_wrap_new_gsl_function_vec_struct) {
3103 {
3104 0 int argvi = 0;
3105 0 struct gsl_function_vec_struct *result = 0 ;
3106 0 dXSARGS;
3107
3108 0 ▶ if ((items < 0) || (items > 0)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 0) || (items > 0)) { 0 0 0
if ((items < 0) || (items > 0)) { 0 0 0
3109 0 SWIG_croak("Usage: new_gsl_function_vec_struct();");
3110 }
3111 0 result = (struct gsl_function_vec_struct *)calloc(1, sizeof(struct gsl_function_vec_struct));
3112 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_function_vec_struct, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
3113 0 XSRETURN(argvi);
3114 0 fail:
3115 0 SWIG_croak_null();
3116 }
3117 }
3118  
3119  
3120 0 XS(_wrap_delete_gsl_function_vec_struct) {
3121 {
3122 0 struct gsl_function_vec_struct *arg1 = (struct gsl_function_vec_struct *) 0 ;
3123 0 void *argp1 = 0 ;
3124 0 int res1 = 0 ;
3125 0 int argvi = 0;
3126 0 dXSARGS;
3127
3128 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
3129 0 SWIG_croak("Usage: delete_gsl_function_vec_struct(self);");
3130 }
3131 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_function_vec_struct, SWIG_POINTER_DISOWN | 0 );
3132 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3133 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_gsl_function_vec_struct" "', argument " "1"" of type '" "struct gsl_function_vec_struct *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_gsl_function_vec_struct" "', argument " "1"" of type '" "struct gsl_function_vec_struct *""'"); 0 0 0
3134 }
3135 0 arg1 = (struct gsl_function_vec_struct *)(argp1);
3136 0 free((char *) arg1);
3137 0 ST(argvi) = &PL_sv_undef;
3138
3139 0 XSRETURN(argvi);
3140 0 fail:
3141
3142 0 SWIG_croak_null();
3143 }
3144 }
3145  
3146  
3147 0 XS(_wrap_gsl_bspline_workspace_spline_order_set) {
3148 {
3149 0 gsl_bspline_workspace *arg1 = (gsl_bspline_workspace *) 0 ;
3150 size_t arg2 ;
3151 0 void *argp1 = 0 ;
3152 0 int res1 = 0 ;
3153 size_t val2 ;
3154 0 int ecode2 = 0 ;
3155 0 int argvi = 0;
3156 0 dXSARGS;
3157
3158 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
3159 0 SWIG_croak("Usage: gsl_bspline_workspace_spline_order_set(self,spline_order);");
3160 }
3161 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_bspline_workspace, 0 | 0 );
3162 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3163 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_workspace_spline_order_set" "', argument " "1"" of type '" "gsl_bspline_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_workspace_spline_order_set" "', argument " "1"" of type '" "gsl_bspline_workspace *""'"); 0 0 0
3164 }
3165 0 arg1 = (gsl_bspline_workspace *)(argp1);
3166 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
3167 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
3168 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_bspline_workspace_spline_order_set" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_bspline_workspace_spline_order_set" "', argument " "2"" of type '" "size_t""'"); 0 0 0
3169 }
3170 0 arg2 = (size_t)(val2);
3171 0 ▶ if (arg1) (arg1)->spline_order = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->spline_order = arg2; 0 0 0
3172 0 ST(argvi) = &PL_sv_undef;
3173
3174
3175 0 XSRETURN(argvi);
3176 0 fail:
3177
3178
3179 0 SWIG_croak_null();
3180 }
3181 }
3182  
3183  
3184 0 XS(_wrap_gsl_bspline_workspace_spline_order_get) {
3185 {
3186 0 gsl_bspline_workspace *arg1 = (gsl_bspline_workspace *) 0 ;
3187 0 void *argp1 = 0 ;
3188 0 int res1 = 0 ;
3189 0 int argvi = 0;
3190 size_t result;
3191 0 dXSARGS;
3192
3193 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
3194 0 SWIG_croak("Usage: gsl_bspline_workspace_spline_order_get(self);");
3195 }
3196 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_bspline_workspace, 0 | 0 );
3197 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3198 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_workspace_spline_order_get" "', argument " "1"" of type '" "gsl_bspline_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_workspace_spline_order_get" "', argument " "1"" of type '" "gsl_bspline_workspace *""'"); 0 0 0
3199 }
3200 0 arg1 = (gsl_bspline_workspace *)(argp1);
3201 0 result = ((arg1)->spline_order);
3202 0 ST(argvi) = SWIG_From_size_t SWIG_PERL_CALL_ARGS_1((size_t)(result)); argvi++ ;
3203
3204 0 XSRETURN(argvi);
3205 0 fail:
3206
3207 0 SWIG_croak_null();
3208 }
3209 }
3210  
3211  
3212 0 XS(_wrap_gsl_bspline_workspace_nbreak_set) {
3213 {
3214 0 gsl_bspline_workspace *arg1 = (gsl_bspline_workspace *) 0 ;
3215 size_t arg2 ;
3216 0 void *argp1 = 0 ;
3217 0 int res1 = 0 ;
3218 size_t val2 ;
3219 0 int ecode2 = 0 ;
3220 0 int argvi = 0;
3221 0 dXSARGS;
3222
3223 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
3224 0 SWIG_croak("Usage: gsl_bspline_workspace_nbreak_set(self,nbreak);");
3225 }
3226 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_bspline_workspace, 0 | 0 );
3227 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3228 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_workspace_nbreak_set" "', argument " "1"" of type '" "gsl_bspline_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_workspace_nbreak_set" "', argument " "1"" of type '" "gsl_bspline_workspace *""'"); 0 0 0
3229 }
3230 0 arg1 = (gsl_bspline_workspace *)(argp1);
3231 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
3232 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
3233 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_bspline_workspace_nbreak_set" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_bspline_workspace_nbreak_set" "', argument " "2"" of type '" "size_t""'"); 0 0 0
3234 }
3235 0 arg2 = (size_t)(val2);
3236 0 ▶ if (arg1) (arg1)->nbreak = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->nbreak = arg2; 0 0 0
3237 0 ST(argvi) = &PL_sv_undef;
3238
3239
3240 0 XSRETURN(argvi);
3241 0 fail:
3242
3243
3244 0 SWIG_croak_null();
3245 }
3246 }
3247  
3248  
3249 0 XS(_wrap_gsl_bspline_workspace_nbreak_get) {
3250 {
3251 0 gsl_bspline_workspace *arg1 = (gsl_bspline_workspace *) 0 ;
3252 0 void *argp1 = 0 ;
3253 0 int res1 = 0 ;
3254 0 int argvi = 0;
3255 size_t result;
3256 0 dXSARGS;
3257
3258 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
3259 0 SWIG_croak("Usage: gsl_bspline_workspace_nbreak_get(self);");
3260 }
3261 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_bspline_workspace, 0 | 0 );
3262 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3263 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_workspace_nbreak_get" "', argument " "1"" of type '" "gsl_bspline_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_workspace_nbreak_get" "', argument " "1"" of type '" "gsl_bspline_workspace *""'"); 0 0 0
3264 }
3265 0 arg1 = (gsl_bspline_workspace *)(argp1);
3266 0 result = ((arg1)->nbreak);
3267 0 ST(argvi) = SWIG_From_size_t SWIG_PERL_CALL_ARGS_1((size_t)(result)); argvi++ ;
3268
3269 0 XSRETURN(argvi);
3270 0 fail:
3271
3272 0 SWIG_croak_null();
3273 }
3274 }
3275  
3276  
3277 0 XS(_wrap_gsl_bspline_workspace_ncontrol_set) {
3278 {
3279 0 gsl_bspline_workspace *arg1 = (gsl_bspline_workspace *) 0 ;
3280 size_t arg2 ;
3281 0 void *argp1 = 0 ;
3282 0 int res1 = 0 ;
3283 size_t val2 ;
3284 0 int ecode2 = 0 ;
3285 0 int argvi = 0;
3286 0 dXSARGS;
3287
3288 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
3289 0 SWIG_croak("Usage: gsl_bspline_workspace_ncontrol_set(self,ncontrol);");
3290 }
3291 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_bspline_workspace, 0 | 0 );
3292 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3293 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_workspace_ncontrol_set" "', argument " "1"" of type '" "gsl_bspline_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_workspace_ncontrol_set" "', argument " "1"" of type '" "gsl_bspline_workspace *""'"); 0 0 0
3294 }
3295 0 arg1 = (gsl_bspline_workspace *)(argp1);
3296 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
3297 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
3298 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_bspline_workspace_ncontrol_set" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_bspline_workspace_ncontrol_set" "', argument " "2"" of type '" "size_t""'"); 0 0 0
3299 }
3300 0 arg2 = (size_t)(val2);
3301 0 ▶ if (arg1) (arg1)->ncontrol = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->ncontrol = arg2; 0 0 0
3302 0 ST(argvi) = &PL_sv_undef;
3303
3304
3305 0 XSRETURN(argvi);
3306 0 fail:
3307
3308
3309 0 SWIG_croak_null();
3310 }
3311 }
3312  
3313  
3314 0 XS(_wrap_gsl_bspline_workspace_ncontrol_get) {
3315 {
3316 0 gsl_bspline_workspace *arg1 = (gsl_bspline_workspace *) 0 ;
3317 0 void *argp1 = 0 ;
3318 0 int res1 = 0 ;
3319 0 int argvi = 0;
3320 size_t result;
3321 0 dXSARGS;
3322
3323 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
3324 0 SWIG_croak("Usage: gsl_bspline_workspace_ncontrol_get(self);");
3325 }
3326 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_bspline_workspace, 0 | 0 );
3327 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3328 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_workspace_ncontrol_get" "', argument " "1"" of type '" "gsl_bspline_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_workspace_ncontrol_get" "', argument " "1"" of type '" "gsl_bspline_workspace *""'"); 0 0 0
3329 }
3330 0 arg1 = (gsl_bspline_workspace *)(argp1);
3331 0 result = ((arg1)->ncontrol);
3332 0 ST(argvi) = SWIG_From_size_t SWIG_PERL_CALL_ARGS_1((size_t)(result)); argvi++ ;
3333
3334 0 XSRETURN(argvi);
3335 0 fail:
3336
3337 0 SWIG_croak_null();
3338 }
3339 }
3340  
3341  
3342 0 XS(_wrap_gsl_bspline_workspace_knots_set) {
3343 {
3344 0 gsl_bspline_workspace *arg1 = (gsl_bspline_workspace *) 0 ;
3345 0 gsl_vector *arg2 = (gsl_vector *) 0 ;
3346 0 void *argp1 = 0 ;
3347 0 int res1 = 0 ;
3348 0 void *argp2 = 0 ;
3349 0 int res2 = 0 ;
3350 0 int argvi = 0;
3351 0 dXSARGS;
3352
3353 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
3354 0 SWIG_croak("Usage: gsl_bspline_workspace_knots_set(self,knots);");
3355 }
3356 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_bspline_workspace, 0 | 0 );
3357 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3358 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_workspace_knots_set" "', argument " "1"" of type '" "gsl_bspline_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_workspace_knots_set" "', argument " "1"" of type '" "gsl_bspline_workspace *""'"); 0 0 0
3359 }
3360 0 arg1 = (gsl_bspline_workspace *)(argp1);
3361 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector, SWIG_POINTER_DISOWN | 0 );
3362 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
3363 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_workspace_knots_set" "', argument " "2"" of type '" "gsl_vector *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_workspace_knots_set" "', argument " "2"" of type '" "gsl_vector *""'"); 0 0 0
3364 }
3365 0 arg2 = (gsl_vector *)(argp2);
3366 0 ▶ if (arg1) (arg1)->knots = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->knots = arg2; 0 0 0
3367 0 ST(argvi) = &PL_sv_undef;
3368
3369
3370 0 XSRETURN(argvi);
3371 0 fail:
3372
3373
3374 0 SWIG_croak_null();
3375 }
3376 }
3377  
3378  
3379 0 XS(_wrap_gsl_bspline_workspace_knots_get) {
3380 {
3381 0 gsl_bspline_workspace *arg1 = (gsl_bspline_workspace *) 0 ;
3382 0 void *argp1 = 0 ;
3383 0 int res1 = 0 ;
3384 0 int argvi = 0;
3385 0 gsl_vector *result = 0 ;
3386 0 dXSARGS;
3387
3388 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
3389 0 SWIG_croak("Usage: gsl_bspline_workspace_knots_get(self);");
3390 }
3391 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_bspline_workspace, 0 | 0 );
3392 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3393 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_workspace_knots_get" "', argument " "1"" of type '" "gsl_bspline_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_workspace_knots_get" "', argument " "1"" of type '" "gsl_bspline_workspace *""'"); 0 0 0
3394 }
3395 0 arg1 = (gsl_bspline_workspace *)(argp1);
3396 0 result = (gsl_vector *) ((arg1)->knots);
3397 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_vector, 0 | 0); argvi++ ;
3398
3399 0 XSRETURN(argvi);
3400 0 fail:
3401
3402 0 SWIG_croak_null();
3403 }
3404 }
3405  
3406  
3407 0 XS(_wrap_gsl_bspline_workspace_deltal_set) {
3408 {
3409 0 gsl_bspline_workspace *arg1 = (gsl_bspline_workspace *) 0 ;
3410 0 gsl_vector *arg2 = (gsl_vector *) 0 ;
3411 0 void *argp1 = 0 ;
3412 0 int res1 = 0 ;
3413 0 void *argp2 = 0 ;
3414 0 int res2 = 0 ;
3415 0 int argvi = 0;
3416 0 dXSARGS;
3417
3418 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
3419 0 SWIG_croak("Usage: gsl_bspline_workspace_deltal_set(self,deltal);");
3420 }
3421 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_bspline_workspace, 0 | 0 );
3422 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3423 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_workspace_deltal_set" "', argument " "1"" of type '" "gsl_bspline_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_workspace_deltal_set" "', argument " "1"" of type '" "gsl_bspline_workspace *""'"); 0 0 0
3424 }
3425 0 arg1 = (gsl_bspline_workspace *)(argp1);
3426 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector, SWIG_POINTER_DISOWN | 0 );
3427 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
3428 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_workspace_deltal_set" "', argument " "2"" of type '" "gsl_vector *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_workspace_deltal_set" "', argument " "2"" of type '" "gsl_vector *""'"); 0 0 0
3429 }
3430 0 arg2 = (gsl_vector *)(argp2);
3431 0 ▶ if (arg1) (arg1)->deltal = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->deltal = arg2; 0 0 0
3432 0 ST(argvi) = &PL_sv_undef;
3433
3434
3435 0 XSRETURN(argvi);
3436 0 fail:
3437
3438
3439 0 SWIG_croak_null();
3440 }
3441 }
3442  
3443  
3444 0 XS(_wrap_gsl_bspline_workspace_deltal_get) {
3445 {
3446 0 gsl_bspline_workspace *arg1 = (gsl_bspline_workspace *) 0 ;
3447 0 void *argp1 = 0 ;
3448 0 int res1 = 0 ;
3449 0 int argvi = 0;
3450 0 gsl_vector *result = 0 ;
3451 0 dXSARGS;
3452
3453 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
3454 0 SWIG_croak("Usage: gsl_bspline_workspace_deltal_get(self);");
3455 }
3456 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_bspline_workspace, 0 | 0 );
3457 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3458 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_workspace_deltal_get" "', argument " "1"" of type '" "gsl_bspline_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_workspace_deltal_get" "', argument " "1"" of type '" "gsl_bspline_workspace *""'"); 0 0 0
3459 }
3460 0 arg1 = (gsl_bspline_workspace *)(argp1);
3461 0 result = (gsl_vector *) ((arg1)->deltal);
3462 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_vector, 0 | 0); argvi++ ;
3463
3464 0 XSRETURN(argvi);
3465 0 fail:
3466
3467 0 SWIG_croak_null();
3468 }
3469 }
3470  
3471  
3472 0 XS(_wrap_gsl_bspline_workspace_deltar_set) {
3473 {
3474 0 gsl_bspline_workspace *arg1 = (gsl_bspline_workspace *) 0 ;
3475 0 gsl_vector *arg2 = (gsl_vector *) 0 ;
3476 0 void *argp1 = 0 ;
3477 0 int res1 = 0 ;
3478 0 void *argp2 = 0 ;
3479 0 int res2 = 0 ;
3480 0 int argvi = 0;
3481 0 dXSARGS;
3482
3483 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
3484 0 SWIG_croak("Usage: gsl_bspline_workspace_deltar_set(self,deltar);");
3485 }
3486 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_bspline_workspace, 0 | 0 );
3487 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3488 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_workspace_deltar_set" "', argument " "1"" of type '" "gsl_bspline_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_workspace_deltar_set" "', argument " "1"" of type '" "gsl_bspline_workspace *""'"); 0 0 0
3489 }
3490 0 arg1 = (gsl_bspline_workspace *)(argp1);
3491 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector, SWIG_POINTER_DISOWN | 0 );
3492 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
3493 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_workspace_deltar_set" "', argument " "2"" of type '" "gsl_vector *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_workspace_deltar_set" "', argument " "2"" of type '" "gsl_vector *""'"); 0 0 0
3494 }
3495 0 arg2 = (gsl_vector *)(argp2);
3496 0 ▶ if (arg1) (arg1)->deltar = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->deltar = arg2; 0 0 0
3497 0 ST(argvi) = &PL_sv_undef;
3498
3499
3500 0 XSRETURN(argvi);
3501 0 fail:
3502
3503
3504 0 SWIG_croak_null();
3505 }
3506 }
3507  
3508  
3509 0 XS(_wrap_gsl_bspline_workspace_deltar_get) {
3510 {
3511 0 gsl_bspline_workspace *arg1 = (gsl_bspline_workspace *) 0 ;
3512 0 void *argp1 = 0 ;
3513 0 int res1 = 0 ;
3514 0 int argvi = 0;
3515 0 gsl_vector *result = 0 ;
3516 0 dXSARGS;
3517
3518 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
3519 0 SWIG_croak("Usage: gsl_bspline_workspace_deltar_get(self);");
3520 }
3521 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_bspline_workspace, 0 | 0 );
3522 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3523 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_workspace_deltar_get" "', argument " "1"" of type '" "gsl_bspline_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_workspace_deltar_get" "', argument " "1"" of type '" "gsl_bspline_workspace *""'"); 0 0 0
3524 }
3525 0 arg1 = (gsl_bspline_workspace *)(argp1);
3526 0 result = (gsl_vector *) ((arg1)->deltar);
3527 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_vector, 0 | 0); argvi++ ;
3528
3529 0 XSRETURN(argvi);
3530 0 fail:
3531
3532 0 SWIG_croak_null();
3533 }
3534 }
3535  
3536  
3537 0 XS(_wrap_gsl_bspline_workspace_B_set) {
3538 {
3539 0 gsl_bspline_workspace *arg1 = (gsl_bspline_workspace *) 0 ;
3540 0 gsl_vector *arg2 = (gsl_vector *) 0 ;
3541 0 void *argp1 = 0 ;
3542 0 int res1 = 0 ;
3543 0 void *argp2 = 0 ;
3544 0 int res2 = 0 ;
3545 0 int argvi = 0;
3546 0 dXSARGS;
3547
3548 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
3549 0 SWIG_croak("Usage: gsl_bspline_workspace_B_set(self,B);");
3550 }
3551 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_bspline_workspace, 0 | 0 );
3552 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3553 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_workspace_B_set" "', argument " "1"" of type '" "gsl_bspline_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_workspace_B_set" "', argument " "1"" of type '" "gsl_bspline_workspace *""'"); 0 0 0
3554 }
3555 0 arg1 = (gsl_bspline_workspace *)(argp1);
3556 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector, SWIG_POINTER_DISOWN | 0 );
3557 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
3558 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_workspace_B_set" "', argument " "2"" of type '" "gsl_vector *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_workspace_B_set" "', argument " "2"" of type '" "gsl_vector *""'"); 0 0 0
3559 }
3560 0 arg2 = (gsl_vector *)(argp2);
3561 0 ▶ if (arg1) (arg1)->B = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->B = arg2; 0 0 0
3562 0 ST(argvi) = &PL_sv_undef;
3563
3564
3565 0 XSRETURN(argvi);
3566 0 fail:
3567
3568
3569 0 SWIG_croak_null();
3570 }
3571 }
3572  
3573  
3574 0 XS(_wrap_gsl_bspline_workspace_B_get) {
3575 {
3576 0 gsl_bspline_workspace *arg1 = (gsl_bspline_workspace *) 0 ;
3577 0 void *argp1 = 0 ;
3578 0 int res1 = 0 ;
3579 0 int argvi = 0;
3580 0 gsl_vector *result = 0 ;
3581 0 dXSARGS;
3582
3583 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
3584 0 SWIG_croak("Usage: gsl_bspline_workspace_B_get(self);");
3585 }
3586 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_bspline_workspace, 0 | 0 );
3587 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3588 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_workspace_B_get" "', argument " "1"" of type '" "gsl_bspline_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_workspace_B_get" "', argument " "1"" of type '" "gsl_bspline_workspace *""'"); 0 0 0
3589 }
3590 0 arg1 = (gsl_bspline_workspace *)(argp1);
3591 0 result = (gsl_vector *) ((arg1)->B);
3592 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_vector, 0 | 0); argvi++ ;
3593
3594 0 XSRETURN(argvi);
3595 0 fail:
3596
3597 0 SWIG_croak_null();
3598 }
3599 }
3600  
3601  
3602 0 XS(_wrap_gsl_bspline_workspace_XTX_set) {
3603 {
3604 0 gsl_bspline_workspace *arg1 = (gsl_bspline_workspace *) 0 ;
3605 0 gsl_matrix *arg2 = (gsl_matrix *) 0 ;
3606 0 void *argp1 = 0 ;
3607 0 int res1 = 0 ;
3608 0 void *argp2 = 0 ;
3609 0 int res2 = 0 ;
3610 0 int argvi = 0;
3611 0 dXSARGS;
3612
3613 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
3614 0 SWIG_croak("Usage: gsl_bspline_workspace_XTX_set(self,XTX);");
3615 }
3616 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_bspline_workspace, 0 | 0 );
3617 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3618 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_workspace_XTX_set" "', argument " "1"" of type '" "gsl_bspline_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_workspace_XTX_set" "', argument " "1"" of type '" "gsl_bspline_workspace *""'"); 0 0 0
3619 }
3620 0 arg1 = (gsl_bspline_workspace *)(argp1);
3621 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix, SWIG_POINTER_DISOWN | 0 );
3622 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
3623 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_workspace_XTX_set" "', argument " "2"" of type '" "gsl_matrix *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_workspace_XTX_set" "', argument " "2"" of type '" "gsl_matrix *""'"); 0 0 0
3624 }
3625 0 arg2 = (gsl_matrix *)(argp2);
3626 0 ▶ if (arg1) (arg1)->XTX = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->XTX = arg2; 0 0 0
3627 0 ST(argvi) = &PL_sv_undef;
3628
3629
3630 0 XSRETURN(argvi);
3631 0 fail:
3632
3633
3634 0 SWIG_croak_null();
3635 }
3636 }
3637  
3638  
3639 0 XS(_wrap_gsl_bspline_workspace_XTX_get) {
3640 {
3641 0 gsl_bspline_workspace *arg1 = (gsl_bspline_workspace *) 0 ;
3642 0 void *argp1 = 0 ;
3643 0 int res1 = 0 ;
3644 0 int argvi = 0;
3645 0 gsl_matrix *result = 0 ;
3646 0 dXSARGS;
3647
3648 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
3649 0 SWIG_croak("Usage: gsl_bspline_workspace_XTX_get(self);");
3650 }
3651 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_bspline_workspace, 0 | 0 );
3652 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3653 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_workspace_XTX_get" "', argument " "1"" of type '" "gsl_bspline_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_workspace_XTX_get" "', argument " "1"" of type '" "gsl_bspline_workspace *""'"); 0 0 0
3654 }
3655 0 arg1 = (gsl_bspline_workspace *)(argp1);
3656 0 result = (gsl_matrix *) ((arg1)->XTX);
3657 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_matrix, 0 | 0); argvi++ ;
3658
3659 0 XSRETURN(argvi);
3660 0 fail:
3661
3662 0 SWIG_croak_null();
3663 }
3664 }
3665  
3666  
3667 0 XS(_wrap_gsl_bspline_workspace_R_set) {
3668 {
3669 0 gsl_bspline_workspace *arg1 = (gsl_bspline_workspace *) 0 ;
3670 0 gsl_matrix *arg2 = (gsl_matrix *) 0 ;
3671 0 void *argp1 = 0 ;
3672 0 int res1 = 0 ;
3673 0 void *argp2 = 0 ;
3674 0 int res2 = 0 ;
3675 0 int argvi = 0;
3676 0 dXSARGS;
3677
3678 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
3679 0 SWIG_croak("Usage: gsl_bspline_workspace_R_set(self,R);");
3680 }
3681 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_bspline_workspace, 0 | 0 );
3682 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3683 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_workspace_R_set" "', argument " "1"" of type '" "gsl_bspline_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_workspace_R_set" "', argument " "1"" of type '" "gsl_bspline_workspace *""'"); 0 0 0
3684 }
3685 0 arg1 = (gsl_bspline_workspace *)(argp1);
3686 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix, SWIG_POINTER_DISOWN | 0 );
3687 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
3688 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_workspace_R_set" "', argument " "2"" of type '" "gsl_matrix *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_workspace_R_set" "', argument " "2"" of type '" "gsl_matrix *""'"); 0 0 0
3689 }
3690 0 arg2 = (gsl_matrix *)(argp2);
3691 0 ▶ if (arg1) (arg1)->R = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->R = arg2; 0 0 0
3692 0 ST(argvi) = &PL_sv_undef;
3693
3694
3695 0 XSRETURN(argvi);
3696 0 fail:
3697
3698
3699 0 SWIG_croak_null();
3700 }
3701 }
3702  
3703  
3704 0 XS(_wrap_gsl_bspline_workspace_R_get) {
3705 {
3706 0 gsl_bspline_workspace *arg1 = (gsl_bspline_workspace *) 0 ;
3707 0 void *argp1 = 0 ;
3708 0 int res1 = 0 ;
3709 0 int argvi = 0;
3710 0 gsl_matrix *result = 0 ;
3711 0 dXSARGS;
3712
3713 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
3714 0 SWIG_croak("Usage: gsl_bspline_workspace_R_get(self);");
3715 }
3716 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_bspline_workspace, 0 | 0 );
3717 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3718 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_workspace_R_get" "', argument " "1"" of type '" "gsl_bspline_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_workspace_R_get" "', argument " "1"" of type '" "gsl_bspline_workspace *""'"); 0 0 0
3719 }
3720 0 arg1 = (gsl_bspline_workspace *)(argp1);
3721 0 result = (gsl_matrix *) ((arg1)->R);
3722 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_matrix, 0 | 0); argvi++ ;
3723
3724 0 XSRETURN(argvi);
3725 0 fail:
3726
3727 0 SWIG_croak_null();
3728 }
3729 }
3730  
3731  
3732 0 XS(_wrap_gsl_bspline_workspace_work_set) {
3733 {
3734 0 gsl_bspline_workspace *arg1 = (gsl_bspline_workspace *) 0 ;
3735 0 gsl_vector *arg2 = (gsl_vector *) 0 ;
3736 0 void *argp1 = 0 ;
3737 0 int res1 = 0 ;
3738 0 void *argp2 = 0 ;
3739 0 int res2 = 0 ;
3740 0 int argvi = 0;
3741 0 dXSARGS;
3742
3743 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
3744 0 SWIG_croak("Usage: gsl_bspline_workspace_work_set(self,work);");
3745 }
3746 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_bspline_workspace, 0 | 0 );
3747 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3748 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_workspace_work_set" "', argument " "1"" of type '" "gsl_bspline_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_workspace_work_set" "', argument " "1"" of type '" "gsl_bspline_workspace *""'"); 0 0 0
3749 }
3750 0 arg1 = (gsl_bspline_workspace *)(argp1);
3751 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector, SWIG_POINTER_DISOWN | 0 );
3752 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
3753 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_workspace_work_set" "', argument " "2"" of type '" "gsl_vector *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_workspace_work_set" "', argument " "2"" of type '" "gsl_vector *""'"); 0 0 0
3754 }
3755 0 arg2 = (gsl_vector *)(argp2);
3756 0 ▶ if (arg1) (arg1)->work = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->work = arg2; 0 0 0
3757 0 ST(argvi) = &PL_sv_undef;
3758
3759
3760 0 XSRETURN(argvi);
3761 0 fail:
3762
3763
3764 0 SWIG_croak_null();
3765 }
3766 }
3767  
3768  
3769 0 XS(_wrap_gsl_bspline_workspace_work_get) {
3770 {
3771 0 gsl_bspline_workspace *arg1 = (gsl_bspline_workspace *) 0 ;
3772 0 void *argp1 = 0 ;
3773 0 int res1 = 0 ;
3774 0 int argvi = 0;
3775 0 gsl_vector *result = 0 ;
3776 0 dXSARGS;
3777
3778 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
3779 0 SWIG_croak("Usage: gsl_bspline_workspace_work_get(self);");
3780 }
3781 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_bspline_workspace, 0 | 0 );
3782 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3783 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_workspace_work_get" "', argument " "1"" of type '" "gsl_bspline_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_workspace_work_get" "', argument " "1"" of type '" "gsl_bspline_workspace *""'"); 0 0 0
3784 }
3785 0 arg1 = (gsl_bspline_workspace *)(argp1);
3786 0 result = (gsl_vector *) ((arg1)->work);
3787 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_vector, 0 | 0); argvi++ ;
3788
3789 0 XSRETURN(argvi);
3790 0 fail:
3791
3792 0 SWIG_croak_null();
3793 }
3794 }
3795  
3796  
3797 0 XS(_wrap_gsl_bspline_workspace_A_set) {
3798 {
3799 0 gsl_bspline_workspace *arg1 = (gsl_bspline_workspace *) 0 ;
3800 0 gsl_matrix *arg2 = (gsl_matrix *) 0 ;
3801 0 void *argp1 = 0 ;
3802 0 int res1 = 0 ;
3803 0 void *argp2 = 0 ;
3804 0 int res2 = 0 ;
3805 0 int argvi = 0;
3806 0 dXSARGS;
3807
3808 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
3809 0 SWIG_croak("Usage: gsl_bspline_workspace_A_set(self,A);");
3810 }
3811 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_bspline_workspace, 0 | 0 );
3812 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3813 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_workspace_A_set" "', argument " "1"" of type '" "gsl_bspline_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_workspace_A_set" "', argument " "1"" of type '" "gsl_bspline_workspace *""'"); 0 0 0
3814 }
3815 0 arg1 = (gsl_bspline_workspace *)(argp1);
3816 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix, SWIG_POINTER_DISOWN | 0 );
3817 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
3818 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_workspace_A_set" "', argument " "2"" of type '" "gsl_matrix *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_workspace_A_set" "', argument " "2"" of type '" "gsl_matrix *""'"); 0 0 0
3819 }
3820 0 arg2 = (gsl_matrix *)(argp2);
3821 0 ▶ if (arg1) (arg1)->A = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->A = arg2; 0 0 0
3822 0 ST(argvi) = &PL_sv_undef;
3823
3824
3825 0 XSRETURN(argvi);
3826 0 fail:
3827
3828
3829 0 SWIG_croak_null();
3830 }
3831 }
3832  
3833  
3834 0 XS(_wrap_gsl_bspline_workspace_A_get) {
3835 {
3836 0 gsl_bspline_workspace *arg1 = (gsl_bspline_workspace *) 0 ;
3837 0 void *argp1 = 0 ;
3838 0 int res1 = 0 ;
3839 0 int argvi = 0;
3840 0 gsl_matrix *result = 0 ;
3841 0 dXSARGS;
3842
3843 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
3844 0 SWIG_croak("Usage: gsl_bspline_workspace_A_get(self);");
3845 }
3846 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_bspline_workspace, 0 | 0 );
3847 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3848 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_workspace_A_get" "', argument " "1"" of type '" "gsl_bspline_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_workspace_A_get" "', argument " "1"" of type '" "gsl_bspline_workspace *""'"); 0 0 0
3849 }
3850 0 arg1 = (gsl_bspline_workspace *)(argp1);
3851 0 result = (gsl_matrix *) ((arg1)->A);
3852 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_matrix, 0 | 0); argvi++ ;
3853
3854 0 XSRETURN(argvi);
3855 0 fail:
3856
3857 0 SWIG_croak_null();
3858 }
3859 }
3860  
3861  
3862 0 XS(_wrap_gsl_bspline_workspace_dB_set) {
3863 {
3864 0 gsl_bspline_workspace *arg1 = (gsl_bspline_workspace *) 0 ;
3865 0 gsl_matrix *arg2 = (gsl_matrix *) 0 ;
3866 0 void *argp1 = 0 ;
3867 0 int res1 = 0 ;
3868 0 void *argp2 = 0 ;
3869 0 int res2 = 0 ;
3870 0 int argvi = 0;
3871 0 dXSARGS;
3872
3873 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
3874 0 SWIG_croak("Usage: gsl_bspline_workspace_dB_set(self,dB);");
3875 }
3876 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_bspline_workspace, 0 | 0 );
3877 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3878 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_workspace_dB_set" "', argument " "1"" of type '" "gsl_bspline_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_workspace_dB_set" "', argument " "1"" of type '" "gsl_bspline_workspace *""'"); 0 0 0
3879 }
3880 0 arg1 = (gsl_bspline_workspace *)(argp1);
3881 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix, SWIG_POINTER_DISOWN | 0 );
3882 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
3883 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_workspace_dB_set" "', argument " "2"" of type '" "gsl_matrix *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_workspace_dB_set" "', argument " "2"" of type '" "gsl_matrix *""'"); 0 0 0
3884 }
3885 0 arg2 = (gsl_matrix *)(argp2);
3886 0 ▶ if (arg1) (arg1)->dB = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->dB = arg2; 0 0 0
3887 0 ST(argvi) = &PL_sv_undef;
3888
3889
3890 0 XSRETURN(argvi);
3891 0 fail:
3892
3893
3894 0 SWIG_croak_null();
3895 }
3896 }
3897  
3898  
3899 0 XS(_wrap_gsl_bspline_workspace_dB_get) {
3900 {
3901 0 gsl_bspline_workspace *arg1 = (gsl_bspline_workspace *) 0 ;
3902 0 void *argp1 = 0 ;
3903 0 int res1 = 0 ;
3904 0 int argvi = 0;
3905 0 gsl_matrix *result = 0 ;
3906 0 dXSARGS;
3907
3908 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
3909 0 SWIG_croak("Usage: gsl_bspline_workspace_dB_get(self);");
3910 }
3911 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_bspline_workspace, 0 | 0 );
3912 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3913 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_workspace_dB_get" "', argument " "1"" of type '" "gsl_bspline_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_workspace_dB_get" "', argument " "1"" of type '" "gsl_bspline_workspace *""'"); 0 0 0
3914 }
3915 0 arg1 = (gsl_bspline_workspace *)(argp1);
3916 0 result = (gsl_matrix *) ((arg1)->dB);
3917 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_matrix, 0 | 0); argvi++ ;
3918
3919 0 XSRETURN(argvi);
3920 0 fail:
3921
3922 0 SWIG_croak_null();
3923 }
3924 }
3925  
3926  
3927 0 XS(_wrap_gsl_bspline_workspace_icache_set) {
3928 {
3929 0 gsl_bspline_workspace *arg1 = (gsl_bspline_workspace *) 0 ;
3930 size_t arg2 ;
3931 0 void *argp1 = 0 ;
3932 0 int res1 = 0 ;
3933 size_t val2 ;
3934 0 int ecode2 = 0 ;
3935 0 int argvi = 0;
3936 0 dXSARGS;
3937
3938 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
3939 0 SWIG_croak("Usage: gsl_bspline_workspace_icache_set(self,icache);");
3940 }
3941 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_bspline_workspace, 0 | 0 );
3942 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3943 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_workspace_icache_set" "', argument " "1"" of type '" "gsl_bspline_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_workspace_icache_set" "', argument " "1"" of type '" "gsl_bspline_workspace *""'"); 0 0 0
3944 }
3945 0 arg1 = (gsl_bspline_workspace *)(argp1);
3946 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
3947 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
3948 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_bspline_workspace_icache_set" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_bspline_workspace_icache_set" "', argument " "2"" of type '" "size_t""'"); 0 0 0
3949 }
3950 0 arg2 = (size_t)(val2);
3951 0 ▶ if (arg1) (arg1)->icache = arg2;
Branch: 1 branch
BranchTrueFalseTotal
if (arg1) (arg1)->icache = arg2; 0 0 0
3952 0 ST(argvi) = &PL_sv_undef;
3953
3954
3955 0 XSRETURN(argvi);
3956 0 fail:
3957
3958
3959 0 SWIG_croak_null();
3960 }
3961 }
3962  
3963  
3964 0 XS(_wrap_gsl_bspline_workspace_icache_get) {
3965 {
3966 0 gsl_bspline_workspace *arg1 = (gsl_bspline_workspace *) 0 ;
3967 0 void *argp1 = 0 ;
3968 0 int res1 = 0 ;
3969 0 int argvi = 0;
3970 size_t result;
3971 0 dXSARGS;
3972
3973 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
3974 0 SWIG_croak("Usage: gsl_bspline_workspace_icache_get(self);");
3975 }
3976 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_bspline_workspace, 0 | 0 );
3977 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
3978 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_workspace_icache_get" "', argument " "1"" of type '" "gsl_bspline_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_workspace_icache_get" "', argument " "1"" of type '" "gsl_bspline_workspace *""'"); 0 0 0
3979 }
3980 0 arg1 = (gsl_bspline_workspace *)(argp1);
3981 0 result = ((arg1)->icache);
3982 0 ST(argvi) = SWIG_From_size_t SWIG_PERL_CALL_ARGS_1((size_t)(result)); argvi++ ;
3983
3984 0 XSRETURN(argvi);
3985 0 fail:
3986
3987 0 SWIG_croak_null();
3988 }
3989 }
3990  
3991  
3992 0 XS(_wrap_new_gsl_bspline_workspace) {
3993 {
3994 0 int argvi = 0;
3995 0 gsl_bspline_workspace *result = 0 ;
3996 0 dXSARGS;
3997
3998 0 ▶ if ((items < 0) || (items > 0)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 0) || (items > 0)) { 0 0 0
if ((items < 0) || (items > 0)) { 0 0 0
3999 0 SWIG_croak("Usage: new_gsl_bspline_workspace();");
4000 }
4001 0 result = (gsl_bspline_workspace *)calloc(1, sizeof(gsl_bspline_workspace));
4002 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_bspline_workspace, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
4003 0 XSRETURN(argvi);
4004 0 fail:
4005 0 SWIG_croak_null();
4006 }
4007 }
4008  
4009  
4010 0 XS(_wrap_delete_gsl_bspline_workspace) {
4011 {
4012 0 gsl_bspline_workspace *arg1 = (gsl_bspline_workspace *) 0 ;
4013 0 void *argp1 = 0 ;
4014 0 int res1 = 0 ;
4015 0 int argvi = 0;
4016 0 dXSARGS;
4017
4018 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
4019 0 SWIG_croak("Usage: delete_gsl_bspline_workspace(self);");
4020 }
4021 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_bspline_workspace, SWIG_POINTER_DISOWN | 0 );
4022 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4023 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_gsl_bspline_workspace" "', argument " "1"" of type '" "gsl_bspline_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_gsl_bspline_workspace" "', argument " "1"" of type '" "gsl_bspline_workspace *""'"); 0 0 0
4024 }
4025 0 arg1 = (gsl_bspline_workspace *)(argp1);
4026 0 free((char *) arg1);
4027 0 ST(argvi) = &PL_sv_undef;
4028
4029 0 XSRETURN(argvi);
4030 0 fail:
4031
4032 0 SWIG_croak_null();
4033 }
4034 }
4035  
4036  
4037 0 XS(_wrap_gsl_bspline_alloc) {
4038 {
4039 size_t arg1 ;
4040 size_t arg2 ;
4041 size_t val1 ;
4042 0 int ecode1 = 0 ;
4043 size_t val2 ;
4044 0 int ecode2 = 0 ;
4045 0 int argvi = 0;
4046 0 gsl_bspline_workspace *result = 0 ;
4047 0 dXSARGS;
4048
4049 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
4050 0 SWIG_croak("Usage: gsl_bspline_alloc(k,nbreak);");
4051 }
4052 0 ecode1 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
4053 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
4054 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_bspline_alloc" "', argument " "1"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_bspline_alloc" "', argument " "1"" of type '" "size_t""'"); 0 0 0
4055 }
4056 0 arg1 = (size_t)(val1);
4057 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
4058 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
4059 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_bspline_alloc" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_bspline_alloc" "', argument " "2"" of type '" "size_t""'"); 0 0 0
4060 }
4061 0 arg2 = (size_t)(val2);
4062 0 result = (gsl_bspline_workspace *)gsl_bspline_alloc(arg1,arg2);
4063 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_bspline_workspace, 0 | SWIG_SHADOW); argvi++ ;
4064
4065
4066 0 XSRETURN(argvi);
4067 0 fail:
4068
4069
4070 0 SWIG_croak_null();
4071 }
4072 }
4073  
4074  
4075 0 XS(_wrap_gsl_bspline_alloc_ncontrol) {
4076 {
4077 size_t arg1 ;
4078 size_t arg2 ;
4079 size_t val1 ;
4080 0 int ecode1 = 0 ;
4081 size_t val2 ;
4082 0 int ecode2 = 0 ;
4083 0 int argvi = 0;
4084 0 gsl_bspline_workspace *result = 0 ;
4085 0 dXSARGS;
4086
4087 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
4088 0 SWIG_croak("Usage: gsl_bspline_alloc_ncontrol(spline_order,ncontrol);");
4089 }
4090 0 ecode1 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
4091 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
4092 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_bspline_alloc_ncontrol" "', argument " "1"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_bspline_alloc_ncontrol" "', argument " "1"" of type '" "size_t""'"); 0 0 0
4093 }
4094 0 arg1 = (size_t)(val1);
4095 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
4096 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
4097 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_bspline_alloc_ncontrol" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_bspline_alloc_ncontrol" "', argument " "2"" of type '" "size_t""'"); 0 0 0
4098 }
4099 0 arg2 = (size_t)(val2);
4100 0 result = (gsl_bspline_workspace *)gsl_bspline_alloc_ncontrol(arg1,arg2);
4101 0 ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gsl_bspline_workspace, 0 | SWIG_SHADOW); argvi++ ;
4102
4103
4104 0 XSRETURN(argvi);
4105 0 fail:
4106
4107
4108 0 SWIG_croak_null();
4109 }
4110 }
4111  
4112  
4113 0 XS(_wrap_gsl_bspline_free) {
4114 {
4115 0 gsl_bspline_workspace *arg1 = (gsl_bspline_workspace *) 0 ;
4116 0 void *argp1 = 0 ;
4117 0 int res1 = 0 ;
4118 0 int argvi = 0;
4119 0 dXSARGS;
4120
4121 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
4122 0 SWIG_croak("Usage: gsl_bspline_free(w);");
4123 }
4124 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_bspline_workspace, 0 | 0 );
4125 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4126 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_free" "', argument " "1"" of type '" "gsl_bspline_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_free" "', argument " "1"" of type '" "gsl_bspline_workspace *""'"); 0 0 0
4127 }
4128 0 arg1 = (gsl_bspline_workspace *)(argp1);
4129 0 gsl_bspline_free(arg1);
4130 0 ST(argvi) = &PL_sv_undef;
4131
4132 0 XSRETURN(argvi);
4133 0 fail:
4134
4135 0 SWIG_croak_null();
4136 }
4137 }
4138  
4139  
4140 0 XS(_wrap_gsl_bspline_ncontrol) {
4141 {
4142 0 gsl_bspline_workspace *arg1 = (gsl_bspline_workspace *) 0 ;
4143 0 void *argp1 = 0 ;
4144 0 int res1 = 0 ;
4145 0 int argvi = 0;
4146 size_t result;
4147 0 dXSARGS;
4148
4149 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
4150 0 SWIG_croak("Usage: gsl_bspline_ncontrol(w);");
4151 }
4152 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_bspline_workspace, 0 | 0 );
4153 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4154 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_ncontrol" "', argument " "1"" of type '" "gsl_bspline_workspace const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_ncontrol" "', argument " "1"" of type '" "gsl_bspline_workspace const *""'"); 0 0 0
4155 }
4156 0 arg1 = (gsl_bspline_workspace *)(argp1);
4157 0 result = gsl_bspline_ncontrol((gsl_bspline_workspace const *)arg1);
4158 0 ST(argvi) = SWIG_From_size_t SWIG_PERL_CALL_ARGS_1((size_t)(result)); argvi++ ;
4159
4160 0 XSRETURN(argvi);
4161 0 fail:
4162
4163 0 SWIG_croak_null();
4164 }
4165 }
4166  
4167  
4168 0 XS(_wrap_gsl_bspline_order) {
4169 {
4170 0 gsl_bspline_workspace *arg1 = (gsl_bspline_workspace *) 0 ;
4171 0 void *argp1 = 0 ;
4172 0 int res1 = 0 ;
4173 0 int argvi = 0;
4174 size_t result;
4175 0 dXSARGS;
4176
4177 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
4178 0 SWIG_croak("Usage: gsl_bspline_order(w);");
4179 }
4180 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_bspline_workspace, 0 | 0 );
4181 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4182 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_order" "', argument " "1"" of type '" "gsl_bspline_workspace const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_order" "', argument " "1"" of type '" "gsl_bspline_workspace const *""'"); 0 0 0
4183 }
4184 0 arg1 = (gsl_bspline_workspace *)(argp1);
4185 0 result = gsl_bspline_order((gsl_bspline_workspace const *)arg1);
4186 0 ST(argvi) = SWIG_From_size_t SWIG_PERL_CALL_ARGS_1((size_t)(result)); argvi++ ;
4187
4188 0 XSRETURN(argvi);
4189 0 fail:
4190
4191 0 SWIG_croak_null();
4192 }
4193 }
4194  
4195  
4196 0 XS(_wrap_gsl_bspline_nbreak) {
4197 {
4198 0 gsl_bspline_workspace *arg1 = (gsl_bspline_workspace *) 0 ;
4199 0 void *argp1 = 0 ;
4200 0 int res1 = 0 ;
4201 0 int argvi = 0;
4202 size_t result;
4203 0 dXSARGS;
4204
4205 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
4206 0 SWIG_croak("Usage: gsl_bspline_nbreak(w);");
4207 }
4208 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_bspline_workspace, 0 | 0 );
4209 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4210 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_nbreak" "', argument " "1"" of type '" "gsl_bspline_workspace const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_nbreak" "', argument " "1"" of type '" "gsl_bspline_workspace const *""'"); 0 0 0
4211 }
4212 0 arg1 = (gsl_bspline_workspace *)(argp1);
4213 0 result = gsl_bspline_nbreak((gsl_bspline_workspace const *)arg1);
4214 0 ST(argvi) = SWIG_From_size_t SWIG_PERL_CALL_ARGS_1((size_t)(result)); argvi++ ;
4215
4216 0 XSRETURN(argvi);
4217 0 fail:
4218
4219 0 SWIG_croak_null();
4220 }
4221 }
4222  
4223  
4224 0 XS(_wrap_gsl_bspline_breakpoint) {
4225 {
4226 size_t arg1 ;
4227 0 gsl_bspline_workspace *arg2 = (gsl_bspline_workspace *) 0 ;
4228 size_t val1 ;
4229 0 int ecode1 = 0 ;
4230 0 void *argp2 = 0 ;
4231 0 int res2 = 0 ;
4232 0 int argvi = 0;
4233 double result;
4234 0 dXSARGS;
4235
4236 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
4237 0 SWIG_croak("Usage: gsl_bspline_breakpoint(i,w);");
4238 }
4239 0 ecode1 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
4240 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
4241 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_bspline_breakpoint" "', argument " "1"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_bspline_breakpoint" "', argument " "1"" of type '" "size_t""'"); 0 0 0
4242 }
4243 0 arg1 = (size_t)(val1);
4244 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_bspline_workspace, 0 | 0 );
4245 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
4246 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_breakpoint" "', argument " "2"" of type '" "gsl_bspline_workspace const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_breakpoint" "', argument " "2"" of type '" "gsl_bspline_workspace const *""'"); 0 0 0
4247 }
4248 0 arg2 = (gsl_bspline_workspace *)(argp2);
4249 0 result = (double)gsl_bspline_breakpoint(arg1,(gsl_bspline_workspace const *)arg2);
4250 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
4251
4252
4253 0 XSRETURN(argvi);
4254 0 fail:
4255
4256
4257 0 SWIG_croak_null();
4258 }
4259 }
4260  
4261  
4262 0 XS(_wrap_gsl_bspline_greville_abscissa) {
4263 {
4264 size_t arg1 ;
4265 0 gsl_bspline_workspace *arg2 = (gsl_bspline_workspace *) 0 ;
4266 size_t val1 ;
4267 0 int ecode1 = 0 ;
4268 0 void *argp2 = 0 ;
4269 0 int res2 = 0 ;
4270 0 int argvi = 0;
4271 double result;
4272 0 dXSARGS;
4273
4274 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
4275 0 SWIG_croak("Usage: gsl_bspline_greville_abscissa(i,w);");
4276 }
4277 0 ecode1 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
4278 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
4279 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_bspline_greville_abscissa" "', argument " "1"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_bspline_greville_abscissa" "', argument " "1"" of type '" "size_t""'"); 0 0 0
4280 }
4281 0 arg1 = (size_t)(val1);
4282 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_bspline_workspace, 0 | 0 );
4283 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
4284 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_greville_abscissa" "', argument " "2"" of type '" "gsl_bspline_workspace const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_greville_abscissa" "', argument " "2"" of type '" "gsl_bspline_workspace const *""'"); 0 0 0
4285 }
4286 0 arg2 = (gsl_bspline_workspace *)(argp2);
4287 0 result = (double)gsl_bspline_greville_abscissa(arg1,(gsl_bspline_workspace const *)arg2);
4288 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
4289
4290
4291 0 XSRETURN(argvi);
4292 0 fail:
4293
4294
4295 0 SWIG_croak_null();
4296 }
4297 }
4298  
4299  
4300 0 XS(_wrap_gsl_bspline_init_augment) {
4301 {
4302 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
4303 0 gsl_bspline_workspace *arg2 = (gsl_bspline_workspace *) 0 ;
4304 0 void *argp1 = 0 ;
4305 0 int res1 = 0 ;
4306 0 void *argp2 = 0 ;
4307 0 int res2 = 0 ;
4308 0 int argvi = 0;
4309 int result;
4310 0 dXSARGS;
4311
4312 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
4313 0 SWIG_croak("Usage: gsl_bspline_init_augment(breakpts,w);");
4314 }
4315 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
4316 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4317 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_init_augment" "', argument " "1"" of type '" "gsl_vector const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_init_augment" "', argument " "1"" of type '" "gsl_vector const *""'"); 0 0 0
4318 }
4319 0 arg1 = (gsl_vector *)(argp1);
4320 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_bspline_workspace, 0 | 0 );
4321 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
4322 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_init_augment" "', argument " "2"" of type '" "gsl_bspline_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_init_augment" "', argument " "2"" of type '" "gsl_bspline_workspace *""'"); 0 0 0
4323 }
4324 0 arg2 = (gsl_bspline_workspace *)(argp2);
4325 0 result = (int)gsl_bspline_init_augment((gsl_vector const *)arg1,arg2);
4326 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
4327
4328
4329 0 XSRETURN(argvi);
4330 0 fail:
4331
4332
4333 0 SWIG_croak_null();
4334 }
4335 }
4336  
4337  
4338 0 XS(_wrap_gsl_bspline_init_uniform) {
4339 {
4340 double arg1 ;
4341 double arg2 ;
4342 0 gsl_bspline_workspace *arg3 = (gsl_bspline_workspace *) 0 ;
4343 double val1 ;
4344 0 int ecode1 = 0 ;
4345 double val2 ;
4346 0 int ecode2 = 0 ;
4347 0 void *argp3 = 0 ;
4348 0 int res3 = 0 ;
4349 0 int argvi = 0;
4350 int result;
4351 0 dXSARGS;
4352
4353 0 ▶ if ((items < 3) || (items > 3)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 3) || (items > 3)) { 0 0 0
if ((items < 3) || (items > 3)) { 0 0 0
4354 0 SWIG_croak("Usage: gsl_bspline_init_uniform(a,b,w);");
4355 }
4356 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
4357 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
4358 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_bspline_init_uniform" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_bspline_init_uniform" "', argument " "1"" of type '" "double""'"); 0 0 0
4359 }
4360 0 arg1 = (double)(val1);
4361 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
4362 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
4363 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_bspline_init_uniform" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_bspline_init_uniform" "', argument " "2"" of type '" "double""'"); 0 0 0
4364 }
4365 0 arg2 = (double)(val2);
4366 0 res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_gsl_bspline_workspace, 0 | 0 );
4367 0 ▶ if (!SWIG_IsOK(res3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res3)) { 0 0 0
4368 0 ▶ SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_bspline_init_uniform" "', argument " "3"" of type '" "gsl_bspline_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_bspline_init_uniform" "', argument " "3"" of type '" "gsl_bspline_workspace *""'"); 0 0 0
4369 }
4370 0 arg3 = (gsl_bspline_workspace *)(argp3);
4371 0 result = (int)gsl_bspline_init_uniform(arg1,arg2,arg3);
4372 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
4373
4374
4375
4376 0 XSRETURN(argvi);
4377 0 fail:
4378
4379
4380
4381 0 SWIG_croak_null();
4382 }
4383 }
4384  
4385  
4386 0 XS(_wrap_gsl_bspline_init_periodic) {
4387 {
4388 double arg1 ;
4389 double arg2 ;
4390 0 gsl_bspline_workspace *arg3 = (gsl_bspline_workspace *) 0 ;
4391 double val1 ;
4392 0 int ecode1 = 0 ;
4393 double val2 ;
4394 0 int ecode2 = 0 ;
4395 0 void *argp3 = 0 ;
4396 0 int res3 = 0 ;
4397 0 int argvi = 0;
4398 int result;
4399 0 dXSARGS;
4400
4401 0 ▶ if ((items < 3) || (items > 3)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 3) || (items > 3)) { 0 0 0
if ((items < 3) || (items > 3)) { 0 0 0
4402 0 SWIG_croak("Usage: gsl_bspline_init_periodic(a,b,w);");
4403 }
4404 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
4405 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
4406 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_bspline_init_periodic" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_bspline_init_periodic" "', argument " "1"" of type '" "double""'"); 0 0 0
4407 }
4408 0 arg1 = (double)(val1);
4409 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
4410 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
4411 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_bspline_init_periodic" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_bspline_init_periodic" "', argument " "2"" of type '" "double""'"); 0 0 0
4412 }
4413 0 arg2 = (double)(val2);
4414 0 res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_gsl_bspline_workspace, 0 | 0 );
4415 0 ▶ if (!SWIG_IsOK(res3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res3)) { 0 0 0
4416 0 ▶ SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_bspline_init_periodic" "', argument " "3"" of type '" "gsl_bspline_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_bspline_init_periodic" "', argument " "3"" of type '" "gsl_bspline_workspace *""'"); 0 0 0
4417 }
4418 0 arg3 = (gsl_bspline_workspace *)(argp3);
4419 0 result = (int)gsl_bspline_init_periodic(arg1,arg2,arg3);
4420 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
4421
4422
4423
4424 0 XSRETURN(argvi);
4425 0 fail:
4426
4427
4428
4429 0 SWIG_croak_null();
4430 }
4431 }
4432  
4433  
4434 0 XS(_wrap_gsl_bspline_init) {
4435 {
4436 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
4437 0 gsl_bspline_workspace *arg2 = (gsl_bspline_workspace *) 0 ;
4438 0 void *argp1 = 0 ;
4439 0 int res1 = 0 ;
4440 0 void *argp2 = 0 ;
4441 0 int res2 = 0 ;
4442 0 int argvi = 0;
4443 int result;
4444 0 dXSARGS;
4445
4446 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
4447 0 SWIG_croak("Usage: gsl_bspline_init(t,w);");
4448 }
4449 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
4450 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
4451 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_init" "', argument " "1"" of type '" "gsl_vector const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_init" "', argument " "1"" of type '" "gsl_vector const *""'"); 0 0 0
4452 }
4453 0 arg1 = (gsl_vector *)(argp1);
4454 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_bspline_workspace, 0 | 0 );
4455 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
4456 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_init" "', argument " "2"" of type '" "gsl_bspline_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_init" "', argument " "2"" of type '" "gsl_bspline_workspace *""'"); 0 0 0
4457 }
4458 0 arg2 = (gsl_bspline_workspace *)(argp2);
4459 0 result = (int)gsl_bspline_init((gsl_vector const *)arg1,arg2);
4460 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
4461
4462
4463 0 XSRETURN(argvi);
4464 0 fail:
4465
4466
4467 0 SWIG_croak_null();
4468 }
4469 }
4470  
4471  
4472 0 XS(_wrap_gsl_bspline_proj_rhs) {
4473 {
4474 0 gsl_function *arg1 = (gsl_function *) 0 ;
4475 0 gsl_vector *arg2 = (gsl_vector *) 0 ;
4476 0 gsl_bspline_workspace *arg3 = (gsl_bspline_workspace *) 0 ;
4477 0 void *argp2 = 0 ;
4478 0 int res2 = 0 ;
4479 0 void *argp3 = 0 ;
4480 0 int res3 = 0 ;
4481 0 int argvi = 0;
4482 int result;
4483 0 dXSARGS;
4484
4485 0 ▶ if ((items < 3) || (items > 3)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 3) || (items > 3)) { 0 0 0
if ((items < 3) || (items > 3)) { 0 0 0
4486 0 SWIG_croak("Usage: gsl_bspline_proj_rhs(F,y,w);");
4487 }
4488 {
4489 0 SV * function = 0;
4490 0 SV * params = 0;
4491 struct gsl_function_perl *w_gsl_function;
4492 0 Newx(w_gsl_function, 1, struct gsl_function_perl);
4493
4494 0 ▶ if (SvROK(ST(0)) && (SvTYPE(SvRV(ST(0))) == SVt_PVAV)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SvROK(ST(0)) && (SvTYPE(SvRV(ST(0))) == SVt_PVAV)) { 0 0 0
if (SvROK(ST(0)) && (SvTYPE(SvRV(ST(0))) == SVt_PVAV)) { 0 0 0
4495 0 AV* array=(AV*)SvRV(ST(0));
4496 0 SV ** p_function = 0;
4497 0 ▶ if (av_len(array)<0) {
Branch: 1 branch
BranchTrueFalseTotal
if (av_len(array)<0) { 0 0 0
4498 0 croak("Math::GSL : $F is an empty array!");
4499 }
4500 0 ▶ if (av_len(array)>1) {
Branch: 1 branch
BranchTrueFalseTotal
if (av_len(array)>1) { 0 0 0
4501 0 croak("Math::GSL : $F is an array with more than 2 elements!");
4502 }
4503 0 p_function = av_fetch(array, 0, 0);
4504 0 function = *p_function;
4505 0 ▶ if (av_len(array)>0) {
Branch: 1 branch
BranchTrueFalseTotal
if (av_len(array)>0) { 0 0 0
4506 0 SV ** p_params = 0;
4507 0 p_params = av_fetch(array, 1, 0);
4508 0 params = *p_params;
4509 }
4510 } else {
4511 0 function = ST(0);
4512 }
4513
4514 0 ▶ if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) {
Branch: 4 branches
BranchTrueFalseTotal
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
if (!function || !(SvPOK(function) || (SvROK(function) && (SvTYPE(SvRV(function)) == SVt_PVCV)))) { 0 0 0
4515 0 croak("Math::GSL : $F is not a reference to code!");
4516 }
4517
4518 0 function = newSVsv(function);
4519
4520 0 ▶ if (! params) {
Branch: 1 branch
BranchTrueFalseTotal
if (! params) { 0 0 0
4521 0 params=&PL_sv_undef;
4522 }
4523 0 params = newSVsv(params);
4524
4525 0 w_gsl_function->params = params;
4526 0 w_gsl_function->function = function;
4527 0 w_gsl_function->C_gsl_function.params = w_gsl_function;
4528 0 w_gsl_function->C_gsl_function.function = &call_gsl_function;
4529
4530 0 arg1 = &(w_gsl_function->C_gsl_function);
4531 }
4532 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector, 0 | 0 );
4533 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
4534 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_proj_rhs" "', argument " "2"" of type '" "gsl_vector *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_proj_rhs" "', argument " "2"" of type '" "gsl_vector *""'"); 0 0 0
4535 }
4536 0 arg2 = (gsl_vector *)(argp2);
4537 0 res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_gsl_bspline_workspace, 0 | 0 );
4538 0 ▶ if (!SWIG_IsOK(res3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res3)) { 0 0 0
4539 0 ▶ SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_bspline_proj_rhs" "', argument " "3"" of type '" "gsl_bspline_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_bspline_proj_rhs" "', argument " "3"" of type '" "gsl_bspline_workspace *""'"); 0 0 0
4540 }
4541 0 arg3 = (gsl_bspline_workspace *)(argp3);
4542 0 result = (int)gsl_bspline_proj_rhs((struct gsl_function_struct const *)arg1,arg2,arg3);
4543 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
4544 {
4545 0 struct gsl_function_perl *p=(struct gsl_function_perl *) arg1->params;
4546 0 gsl_function_perl_free(p);
4547 }
4548
4549
4550 0 XSRETURN(argvi);
4551 0 fail:
4552 {
4553 0 struct gsl_function_perl *p=(struct gsl_function_perl *) arg1->params;
4554 0 gsl_function_perl_free(p);
4555 }
4556
4557
4558 0 SWIG_croak_null();
4559 }
4560 }
4561  
4562  
4563 0 XS(_wrap_gsl_bspline_find_interval) {
4564 {
4565 double arg1 ;
4566 0 int *arg2 = (int *) 0 ;
4567 0 gsl_bspline_workspace *arg3 = (gsl_bspline_workspace *) 0 ;
4568 double val1 ;
4569 0 int ecode1 = 0 ;
4570 0 void *argp2 = 0 ;
4571 0 int res2 = 0 ;
4572 0 void *argp3 = 0 ;
4573 0 int res3 = 0 ;
4574 0 int argvi = 0;
4575 size_t result;
4576 0 dXSARGS;
4577
4578 0 ▶ if ((items < 3) || (items > 3)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 3) || (items > 3)) { 0 0 0
if ((items < 3) || (items > 3)) { 0 0 0
4579 0 SWIG_croak("Usage: gsl_bspline_find_interval(x,flag,w);");
4580 }
4581 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
4582 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
4583 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_bspline_find_interval" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_bspline_find_interval" "', argument " "1"" of type '" "double""'"); 0 0 0
4584 }
4585 0 arg1 = (double)(val1);
4586 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_int, 0 | 0 );
4587 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
4588 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_find_interval" "', argument " "2"" of type '" "int *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_find_interval" "', argument " "2"" of type '" "int *""'"); 0 0 0
4589 }
4590 0 arg2 = (int *)(argp2);
4591 0 res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_gsl_bspline_workspace, 0 | 0 );
4592 0 ▶ if (!SWIG_IsOK(res3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res3)) { 0 0 0
4593 0 ▶ SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_bspline_find_interval" "', argument " "3"" of type '" "gsl_bspline_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_bspline_find_interval" "', argument " "3"" of type '" "gsl_bspline_workspace *""'"); 0 0 0
4594 }
4595 0 arg3 = (gsl_bspline_workspace *)(argp3);
4596 0 result = gsl_bspline_find_interval(arg1,arg2,arg3);
4597 0 ST(argvi) = SWIG_From_size_t SWIG_PERL_CALL_ARGS_1((size_t)(result)); argvi++ ;
4598
4599
4600
4601 0 XSRETURN(argvi);
4602 0 fail:
4603
4604
4605
4606 0 SWIG_croak_null();
4607 }
4608 }
4609  
4610  
4611 0 XS(_wrap_gsl_bspline_calc) {
4612 {
4613 double arg1 ;
4614 0 gsl_vector *arg2 = (gsl_vector *) 0 ;
4615 0 double *arg3 = (double *) 0 ;
4616 0 gsl_bspline_workspace *arg4 = (gsl_bspline_workspace *) 0 ;
4617 double val1 ;
4618 0 int ecode1 = 0 ;
4619 0 void *argp2 = 0 ;
4620 0 int res2 = 0 ;
4621 double temp3 ;
4622 0 int res3 = SWIG_TMPOBJ ;
4623 0 void *argp4 = 0 ;
4624 0 int res4 = 0 ;
4625 0 int argvi = 0;
4626 int result;
4627 0 dXSARGS;
4628
4629 0 arg3 = &temp3;
4630 0 ▶ if ((items < 3) || (items > 3)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 3) || (items > 3)) { 0 0 0
if ((items < 3) || (items > 3)) { 0 0 0
4631 0 SWIG_croak("Usage: gsl_bspline_calc(x,c,w);");
4632 }
4633 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
4634 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
4635 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_bspline_calc" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_bspline_calc" "', argument " "1"" of type '" "double""'"); 0 0 0
4636 }
4637 0 arg1 = (double)(val1);
4638 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector, 0 | 0 );
4639 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
4640 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_calc" "', argument " "2"" of type '" "gsl_vector const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_calc" "', argument " "2"" of type '" "gsl_vector const *""'"); 0 0 0
4641 }
4642 0 arg2 = (gsl_vector *)(argp2);
4643 0 res4 = SWIG_ConvertPtr(ST(2), &argp4,SWIGTYPE_p_gsl_bspline_workspace, 0 | 0 );
4644 0 ▶ if (!SWIG_IsOK(res4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res4)) { 0 0 0
4645 0 ▶ SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_bspline_calc" "', argument " "4"" of type '" "gsl_bspline_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_bspline_calc" "', argument " "4"" of type '" "gsl_bspline_workspace *""'"); 0 0 0
4646 }
4647 0 arg4 = (gsl_bspline_workspace *)(argp4);
4648 0 result = (int)gsl_bspline_calc(arg1,(gsl_vector const *)arg2,arg3,arg4);
4649 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
4650 0 ▶ if (SWIG_IsTmpObj(res3)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SWIG_IsTmpObj(res3)) { 0 0 0
if (SWIG_IsTmpObj(res3)) { 0 0 0
4651 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
4652 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
4653 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((*arg3)); argvi++ /*@SWIG@*/;
4654 } else {
4655 0 ▶ int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0) : 0;
Branch: 2 branches
BranchTrueFalseTotal
int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
4656 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
4657 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
4658 0 ST(argvi) = SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, new_flags); argvi++ /*@SWIG@*/;
4659 }
4660
4661
4662
4663
4664 0 XSRETURN(argvi);
4665 0 fail:
4666
4667
4668
4669
4670 0 SWIG_croak_null();
4671 }
4672 }
4673  
4674  
4675 0 XS(_wrap_gsl_bspline_calc_deriv) {
4676 {
4677 double arg1 ;
4678 0 gsl_vector *arg2 = (gsl_vector *) 0 ;
4679 size_t arg3 ;
4680 0 double *arg4 = (double *) 0 ;
4681 0 gsl_bspline_workspace *arg5 = (gsl_bspline_workspace *) 0 ;
4682 double val1 ;
4683 0 int ecode1 = 0 ;
4684 0 void *argp2 = 0 ;
4685 0 int res2 = 0 ;
4686 size_t val3 ;
4687 0 int ecode3 = 0 ;
4688 double temp4 ;
4689 0 int res4 = SWIG_TMPOBJ ;
4690 0 void *argp5 = 0 ;
4691 0 int res5 = 0 ;
4692 0 int argvi = 0;
4693 int result;
4694 0 dXSARGS;
4695
4696 0 arg4 = &temp4;
4697 0 ▶ if ((items < 4) || (items > 4)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 4) || (items > 4)) { 0 0 0
if ((items < 4) || (items > 4)) { 0 0 0
4698 0 SWIG_croak("Usage: gsl_bspline_calc_deriv(x,c,nderiv,w);");
4699 }
4700 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
4701 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
4702 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_bspline_calc_deriv" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_bspline_calc_deriv" "', argument " "1"" of type '" "double""'"); 0 0 0
4703 }
4704 0 arg1 = (double)(val1);
4705 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector, 0 | 0 );
4706 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
4707 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_calc_deriv" "', argument " "2"" of type '" "gsl_vector const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_calc_deriv" "', argument " "2"" of type '" "gsl_vector const *""'"); 0 0 0
4708 }
4709 0 arg2 = (gsl_vector *)(argp2);
4710 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
4711 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
4712 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_bspline_calc_deriv" "', argument " "3"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_bspline_calc_deriv" "', argument " "3"" of type '" "size_t""'"); 0 0 0
4713 }
4714 0 arg3 = (size_t)(val3);
4715 0 res5 = SWIG_ConvertPtr(ST(3), &argp5,SWIGTYPE_p_gsl_bspline_workspace, 0 | 0 );
4716 0 ▶ if (!SWIG_IsOK(res5)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res5)) { 0 0 0
4717 0 ▶ SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "gsl_bspline_calc_deriv" "', argument " "5"" of type '" "gsl_bspline_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "gsl_bspline_calc_deriv" "', argument " "5"" of type '" "gsl_bspline_workspace *""'"); 0 0 0
4718 }
4719 0 arg5 = (gsl_bspline_workspace *)(argp5);
4720 0 result = (int)gsl_bspline_calc_deriv(arg1,(gsl_vector const *)arg2,arg3,arg4,arg5);
4721 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
4722 0 ▶ if (SWIG_IsTmpObj(res4)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SWIG_IsTmpObj(res4)) { 0 0 0
if (SWIG_IsTmpObj(res4)) { 0 0 0
4723 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
4724 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
4725 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((*arg4)); argvi++ /*@SWIG@*/;
4726 } else {
4727 0 ▶ int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0) : 0;
Branch: 2 branches
BranchTrueFalseTotal
int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
4728 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
4729 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
4730 0 ST(argvi) = SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, new_flags); argvi++ /*@SWIG@*/;
4731 }
4732
4733
4734
4735
4736
4737 0 XSRETURN(argvi);
4738 0 fail:
4739
4740
4741
4742
4743
4744 0 SWIG_croak_null();
4745 }
4746 }
4747  
4748  
4749 0 XS(_wrap_gsl_bspline_vector_calc) {
4750 {
4751 double arg1 ;
4752 0 gsl_matrix *arg2 = (gsl_matrix *) 0 ;
4753 0 gsl_vector *arg3 = (gsl_vector *) 0 ;
4754 0 gsl_bspline_workspace *arg4 = (gsl_bspline_workspace *) 0 ;
4755 double val1 ;
4756 0 int ecode1 = 0 ;
4757 0 void *argp2 = 0 ;
4758 0 int res2 = 0 ;
4759 0 void *argp3 = 0 ;
4760 0 int res3 = 0 ;
4761 0 void *argp4 = 0 ;
4762 0 int res4 = 0 ;
4763 0 int argvi = 0;
4764 int result;
4765 0 dXSARGS;
4766
4767 0 ▶ if ((items < 4) || (items > 4)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 4) || (items > 4)) { 0 0 0
if ((items < 4) || (items > 4)) { 0 0 0
4768 0 SWIG_croak("Usage: gsl_bspline_vector_calc(x,c,result,w);");
4769 }
4770 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
4771 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
4772 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_bspline_vector_calc" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_bspline_vector_calc" "', argument " "1"" of type '" "double""'"); 0 0 0
4773 }
4774 0 arg1 = (double)(val1);
4775 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix, 0 | 0 );
4776 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
4777 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_vector_calc" "', argument " "2"" of type '" "gsl_matrix const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_vector_calc" "', argument " "2"" of type '" "gsl_matrix const *""'"); 0 0 0
4778 }
4779 0 arg2 = (gsl_matrix *)(argp2);
4780 0 res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_gsl_vector, 0 | 0 );
4781 0 ▶ if (!SWIG_IsOK(res3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res3)) { 0 0 0
4782 0 ▶ SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_bspline_vector_calc" "', argument " "3"" of type '" "gsl_vector *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_bspline_vector_calc" "', argument " "3"" of type '" "gsl_vector *""'"); 0 0 0
4783 }
4784 0 arg3 = (gsl_vector *)(argp3);
4785 0 res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_gsl_bspline_workspace, 0 | 0 );
4786 0 ▶ if (!SWIG_IsOK(res4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res4)) { 0 0 0
4787 0 ▶ SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_bspline_vector_calc" "', argument " "4"" of type '" "gsl_bspline_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_bspline_vector_calc" "', argument " "4"" of type '" "gsl_bspline_workspace *""'"); 0 0 0
4788 }
4789 0 arg4 = (gsl_bspline_workspace *)(argp4);
4790 0 result = (int)gsl_bspline_vector_calc(arg1,(gsl_matrix const *)arg2,arg3,arg4);
4791 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
4792
4793
4794
4795
4796 0 XSRETURN(argvi);
4797 0 fail:
4798
4799
4800
4801
4802 0 SWIG_croak_null();
4803 }
4804 }
4805  
4806  
4807 0 XS(_wrap_gsl_bspline_vector_calc_deriv) {
4808 {
4809 double arg1 ;
4810 0 gsl_matrix *arg2 = (gsl_matrix *) 0 ;
4811 size_t arg3 ;
4812 0 gsl_vector *arg4 = (gsl_vector *) 0 ;
4813 0 gsl_bspline_workspace *arg5 = (gsl_bspline_workspace *) 0 ;
4814 double val1 ;
4815 0 int ecode1 = 0 ;
4816 0 void *argp2 = 0 ;
4817 0 int res2 = 0 ;
4818 size_t val3 ;
4819 0 int ecode3 = 0 ;
4820 0 void *argp4 = 0 ;
4821 0 int res4 = 0 ;
4822 0 void *argp5 = 0 ;
4823 0 int res5 = 0 ;
4824 0 int argvi = 0;
4825 int result;
4826 0 dXSARGS;
4827
4828 0 ▶ if ((items < 5) || (items > 5)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 5) || (items > 5)) { 0 0 0
if ((items < 5) || (items > 5)) { 0 0 0
4829 0 SWIG_croak("Usage: gsl_bspline_vector_calc_deriv(x,c,nderiv,result,w);");
4830 }
4831 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
4832 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
4833 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_bspline_vector_calc_deriv" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_bspline_vector_calc_deriv" "', argument " "1"" of type '" "double""'"); 0 0 0
4834 }
4835 0 arg1 = (double)(val1);
4836 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix, 0 | 0 );
4837 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
4838 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_vector_calc_deriv" "', argument " "2"" of type '" "gsl_matrix const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_vector_calc_deriv" "', argument " "2"" of type '" "gsl_matrix const *""'"); 0 0 0
4839 }
4840 0 arg2 = (gsl_matrix *)(argp2);
4841 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
4842 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
4843 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_bspline_vector_calc_deriv" "', argument " "3"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_bspline_vector_calc_deriv" "', argument " "3"" of type '" "size_t""'"); 0 0 0
4844 }
4845 0 arg3 = (size_t)(val3);
4846 0 res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_gsl_vector, 0 | 0 );
4847 0 ▶ if (!SWIG_IsOK(res4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res4)) { 0 0 0
4848 0 ▶ SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_bspline_vector_calc_deriv" "', argument " "4"" of type '" "gsl_vector *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_bspline_vector_calc_deriv" "', argument " "4"" of type '" "gsl_vector *""'"); 0 0 0
4849 }
4850 0 arg4 = (gsl_vector *)(argp4);
4851 0 res5 = SWIG_ConvertPtr(ST(4), &argp5,SWIGTYPE_p_gsl_bspline_workspace, 0 | 0 );
4852 0 ▶ if (!SWIG_IsOK(res5)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res5)) { 0 0 0
4853 0 ▶ SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "gsl_bspline_vector_calc_deriv" "', argument " "5"" of type '" "gsl_bspline_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "gsl_bspline_vector_calc_deriv" "', argument " "5"" of type '" "gsl_bspline_workspace *""'"); 0 0 0
4854 }
4855 0 arg5 = (gsl_bspline_workspace *)(argp5);
4856 0 result = (int)gsl_bspline_vector_calc_deriv(arg1,(gsl_matrix const *)arg2,arg3,arg4,arg5);
4857 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
4858
4859
4860
4861
4862
4863 0 XSRETURN(argvi);
4864 0 fail:
4865
4866
4867
4868
4869
4870 0 SWIG_croak_null();
4871 }
4872 }
4873  
4874  
4875 0 XS(_wrap_gsl_bspline_eval_basis) {
4876 {
4877 double arg1 ;
4878 0 gsl_vector *arg2 = (gsl_vector *) 0 ;
4879 0 gsl_bspline_workspace *arg3 = (gsl_bspline_workspace *) 0 ;
4880 double val1 ;
4881 0 int ecode1 = 0 ;
4882 0 void *argp2 = 0 ;
4883 0 int res2 = 0 ;
4884 0 void *argp3 = 0 ;
4885 0 int res3 = 0 ;
4886 0 int argvi = 0;
4887 int result;
4888 0 dXSARGS;
4889
4890 0 ▶ if ((items < 3) || (items > 3)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 3) || (items > 3)) { 0 0 0
if ((items < 3) || (items > 3)) { 0 0 0
4891 0 SWIG_croak("Usage: gsl_bspline_eval_basis(x,B,w);");
4892 }
4893 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
4894 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
4895 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_bspline_eval_basis" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_bspline_eval_basis" "', argument " "1"" of type '" "double""'"); 0 0 0
4896 }
4897 0 arg1 = (double)(val1);
4898 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector, 0 | 0 );
4899 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
4900 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_eval_basis" "', argument " "2"" of type '" "gsl_vector *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_eval_basis" "', argument " "2"" of type '" "gsl_vector *""'"); 0 0 0
4901 }
4902 0 arg2 = (gsl_vector *)(argp2);
4903 0 res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_gsl_bspline_workspace, 0 | 0 );
4904 0 ▶ if (!SWIG_IsOK(res3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res3)) { 0 0 0
4905 0 ▶ SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_bspline_eval_basis" "', argument " "3"" of type '" "gsl_bspline_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_bspline_eval_basis" "', argument " "3"" of type '" "gsl_bspline_workspace *""'"); 0 0 0
4906 }
4907 0 arg3 = (gsl_bspline_workspace *)(argp3);
4908 0 result = (int)gsl_bspline_eval_basis(arg1,arg2,arg3);
4909 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
4910
4911
4912
4913 0 XSRETURN(argvi);
4914 0 fail:
4915
4916
4917
4918 0 SWIG_croak_null();
4919 }
4920 }
4921  
4922  
4923 0 XS(_wrap_gsl_bspline_basis) {
4924 {
4925 double arg1 ;
4926 0 gsl_vector *arg2 = (gsl_vector *) 0 ;
4927 0 size_t *arg3 = (size_t *) 0 ;
4928 0 gsl_bspline_workspace *arg4 = (gsl_bspline_workspace *) 0 ;
4929 double val1 ;
4930 0 int ecode1 = 0 ;
4931 0 void *argp2 = 0 ;
4932 0 int res2 = 0 ;
4933 0 void *argp3 = 0 ;
4934 0 int res3 = 0 ;
4935 0 void *argp4 = 0 ;
4936 0 int res4 = 0 ;
4937 0 int argvi = 0;
4938 int result;
4939 0 dXSARGS;
4940
4941 0 ▶ if ((items < 4) || (items > 4)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 4) || (items > 4)) { 0 0 0
if ((items < 4) || (items > 4)) { 0 0 0
4942 0 SWIG_croak("Usage: gsl_bspline_basis(x,Bk,istart,w);");
4943 }
4944 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
4945 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
4946 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_bspline_basis" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_bspline_basis" "', argument " "1"" of type '" "double""'"); 0 0 0
4947 }
4948 0 arg1 = (double)(val1);
4949 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector, 0 | 0 );
4950 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
4951 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_basis" "', argument " "2"" of type '" "gsl_vector *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_basis" "', argument " "2"" of type '" "gsl_vector *""'"); 0 0 0
4952 }
4953 0 arg2 = (gsl_vector *)(argp2);
4954 0 res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_size_t, 0 | 0 );
4955 0 ▶ if (!SWIG_IsOK(res3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res3)) { 0 0 0
4956 0 ▶ SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_bspline_basis" "', argument " "3"" of type '" "size_t *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_bspline_basis" "', argument " "3"" of type '" "size_t *""'"); 0 0 0
4957 }
4958 0 arg3 = (size_t *)(argp3);
4959 0 res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_gsl_bspline_workspace, 0 | 0 );
4960 0 ▶ if (!SWIG_IsOK(res4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res4)) { 0 0 0
4961 0 ▶ SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_bspline_basis" "', argument " "4"" of type '" "gsl_bspline_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_bspline_basis" "', argument " "4"" of type '" "gsl_bspline_workspace *""'"); 0 0 0
4962 }
4963 0 arg4 = (gsl_bspline_workspace *)(argp4);
4964 0 result = (int)gsl_bspline_basis(arg1,arg2,arg3,arg4);
4965 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
4966
4967
4968
4969
4970 0 XSRETURN(argvi);
4971 0 fail:
4972
4973
4974
4975
4976 0 SWIG_croak_null();
4977 }
4978 }
4979  
4980  
4981 0 XS(_wrap_gsl_bspline_eval_deriv_basis) {
4982 {
4983 double arg1 ;
4984 size_t arg2 ;
4985 0 gsl_matrix *arg3 = (gsl_matrix *) 0 ;
4986 0 gsl_bspline_workspace *arg4 = (gsl_bspline_workspace *) 0 ;
4987 double val1 ;
4988 0 int ecode1 = 0 ;
4989 size_t val2 ;
4990 0 int ecode2 = 0 ;
4991 0 void *argp3 = 0 ;
4992 0 int res3 = 0 ;
4993 0 void *argp4 = 0 ;
4994 0 int res4 = 0 ;
4995 0 int argvi = 0;
4996 int result;
4997 0 dXSARGS;
4998
4999 0 ▶ if ((items < 4) || (items > 4)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 4) || (items > 4)) { 0 0 0
if ((items < 4) || (items > 4)) { 0 0 0
5000 0 SWIG_croak("Usage: gsl_bspline_eval_deriv_basis(x,nderiv,dB,w);");
5001 }
5002 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
5003 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
5004 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_bspline_eval_deriv_basis" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_bspline_eval_deriv_basis" "', argument " "1"" of type '" "double""'"); 0 0 0
5005 }
5006 0 arg1 = (double)(val1);
5007 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5008 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
5009 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_bspline_eval_deriv_basis" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_bspline_eval_deriv_basis" "', argument " "2"" of type '" "size_t""'"); 0 0 0
5010 }
5011 0 arg2 = (size_t)(val2);
5012 0 res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_gsl_matrix, 0 | 0 );
5013 0 ▶ if (!SWIG_IsOK(res3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res3)) { 0 0 0
5014 0 ▶ SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_bspline_eval_deriv_basis" "', argument " "3"" of type '" "gsl_matrix *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_bspline_eval_deriv_basis" "', argument " "3"" of type '" "gsl_matrix *""'"); 0 0 0
5015 }
5016 0 arg3 = (gsl_matrix *)(argp3);
5017 0 res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_gsl_bspline_workspace, 0 | 0 );
5018 0 ▶ if (!SWIG_IsOK(res4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res4)) { 0 0 0
5019 0 ▶ SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_bspline_eval_deriv_basis" "', argument " "4"" of type '" "gsl_bspline_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_bspline_eval_deriv_basis" "', argument " "4"" of type '" "gsl_bspline_workspace *""'"); 0 0 0
5020 }
5021 0 arg4 = (gsl_bspline_workspace *)(argp4);
5022 0 result = (int)gsl_bspline_eval_deriv_basis(arg1,arg2,arg3,arg4);
5023 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
5024
5025
5026
5027
5028 0 XSRETURN(argvi);
5029 0 fail:
5030
5031
5032
5033
5034 0 SWIG_croak_null();
5035 }
5036 }
5037  
5038  
5039 0 XS(_wrap_gsl_bspline_basis_deriv) {
5040 {
5041 double arg1 ;
5042 size_t arg2 ;
5043 0 gsl_matrix *arg3 = (gsl_matrix *) 0 ;
5044 0 size_t *arg4 = (size_t *) 0 ;
5045 0 gsl_bspline_workspace *arg5 = (gsl_bspline_workspace *) 0 ;
5046 double val1 ;
5047 0 int ecode1 = 0 ;
5048 size_t val2 ;
5049 0 int ecode2 = 0 ;
5050 0 void *argp3 = 0 ;
5051 0 int res3 = 0 ;
5052 0 void *argp4 = 0 ;
5053 0 int res4 = 0 ;
5054 0 void *argp5 = 0 ;
5055 0 int res5 = 0 ;
5056 0 int argvi = 0;
5057 int result;
5058 0 dXSARGS;
5059
5060 0 ▶ if ((items < 5) || (items > 5)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 5) || (items > 5)) { 0 0 0
if ((items < 5) || (items > 5)) { 0 0 0
5061 0 SWIG_croak("Usage: gsl_bspline_basis_deriv(x,nderiv,dB,istart,w);");
5062 }
5063 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
5064 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
5065 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_bspline_basis_deriv" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_bspline_basis_deriv" "', argument " "1"" of type '" "double""'"); 0 0 0
5066 }
5067 0 arg1 = (double)(val1);
5068 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5069 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
5070 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_bspline_basis_deriv" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_bspline_basis_deriv" "', argument " "2"" of type '" "size_t""'"); 0 0 0
5071 }
5072 0 arg2 = (size_t)(val2);
5073 0 res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_gsl_matrix, 0 | 0 );
5074 0 ▶ if (!SWIG_IsOK(res3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res3)) { 0 0 0
5075 0 ▶ SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_bspline_basis_deriv" "', argument " "3"" of type '" "gsl_matrix *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_bspline_basis_deriv" "', argument " "3"" of type '" "gsl_matrix *""'"); 0 0 0
5076 }
5077 0 arg3 = (gsl_matrix *)(argp3);
5078 0 res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_size_t, 0 | 0 );
5079 0 ▶ if (!SWIG_IsOK(res4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res4)) { 0 0 0
5080 0 ▶ SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_bspline_basis_deriv" "', argument " "4"" of type '" "size_t *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_bspline_basis_deriv" "', argument " "4"" of type '" "size_t *""'"); 0 0 0
5081 }
5082 0 arg4 = (size_t *)(argp4);
5083 0 res5 = SWIG_ConvertPtr(ST(4), &argp5,SWIGTYPE_p_gsl_bspline_workspace, 0 | 0 );
5084 0 ▶ if (!SWIG_IsOK(res5)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res5)) { 0 0 0
5085 0 ▶ SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "gsl_bspline_basis_deriv" "', argument " "5"" of type '" "gsl_bspline_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "gsl_bspline_basis_deriv" "', argument " "5"" of type '" "gsl_bspline_workspace *""'"); 0 0 0
5086 }
5087 0 arg5 = (gsl_bspline_workspace *)(argp5);
5088 0 result = (int)gsl_bspline_basis_deriv(arg1,arg2,arg3,arg4,arg5);
5089 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
5090
5091
5092
5093
5094
5095 0 XSRETURN(argvi);
5096 0 fail:
5097
5098
5099
5100
5101
5102 0 SWIG_croak_null();
5103 }
5104 }
5105  
5106  
5107 0 XS(_wrap_gsl_bspline_init_greville) {
5108 {
5109 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
5110 0 gsl_bspline_workspace *arg2 = (gsl_bspline_workspace *) 0 ;
5111 0 double *arg3 = (double *) 0 ;
5112 0 void *argp1 = 0 ;
5113 0 int res1 = 0 ;
5114 0 void *argp2 = 0 ;
5115 0 int res2 = 0 ;
5116 double temp3 ;
5117 0 int res3 = SWIG_TMPOBJ ;
5118 0 int argvi = 0;
5119 int result;
5120 0 dXSARGS;
5121
5122 0 arg3 = &temp3;
5123 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
5124 0 SWIG_croak("Usage: gsl_bspline_init_greville(abscissae,w);");
5125 }
5126 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
5127 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
5128 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_init_greville" "', argument " "1"" of type '" "gsl_vector const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_init_greville" "', argument " "1"" of type '" "gsl_vector const *""'"); 0 0 0
5129 }
5130 0 arg1 = (gsl_vector *)(argp1);
5131 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_bspline_workspace, 0 | 0 );
5132 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
5133 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_init_greville" "', argument " "2"" of type '" "gsl_bspline_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_init_greville" "', argument " "2"" of type '" "gsl_bspline_workspace *""'"); 0 0 0
5134 }
5135 0 arg2 = (gsl_bspline_workspace *)(argp2);
5136 0 result = (int)gsl_bspline_init_greville((gsl_vector const *)arg1,arg2,arg3);
5137 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
5138 0 ▶ if (SWIG_IsTmpObj(res3)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SWIG_IsTmpObj(res3)) { 0 0 0
if (SWIG_IsTmpObj(res3)) { 0 0 0
5139 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
5140 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
5141 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((*arg3)); argvi++ /*@SWIG@*/;
5142 } else {
5143 0 ▶ int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0) : 0;
Branch: 2 branches
BranchTrueFalseTotal
int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
5144 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
5145 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
5146 0 ST(argvi) = SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, new_flags); argvi++ /*@SWIG@*/;
5147 }
5148
5149
5150
5151 0 XSRETURN(argvi);
5152 0 fail:
5153
5154
5155
5156 0 SWIG_croak_null();
5157 }
5158 }
5159  
5160  
5161 0 XS(_wrap_gsl_bspline_gram) {
5162 {
5163 size_t arg1 ;
5164 0 gsl_matrix *arg2 = (gsl_matrix *) 0 ;
5165 0 gsl_bspline_workspace *arg3 = (gsl_bspline_workspace *) 0 ;
5166 size_t val1 ;
5167 0 int ecode1 = 0 ;
5168 0 void *argp2 = 0 ;
5169 0 int res2 = 0 ;
5170 0 void *argp3 = 0 ;
5171 0 int res3 = 0 ;
5172 0 int argvi = 0;
5173 int result;
5174 0 dXSARGS;
5175
5176 0 ▶ if ((items < 3) || (items > 3)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 3) || (items > 3)) { 0 0 0
if ((items < 3) || (items > 3)) { 0 0 0
5177 0 SWIG_croak("Usage: gsl_bspline_gram(nderiv,G,w);");
5178 }
5179 0 ecode1 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
5180 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
5181 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_bspline_gram" "', argument " "1"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_bspline_gram" "', argument " "1"" of type '" "size_t""'"); 0 0 0
5182 }
5183 0 arg1 = (size_t)(val1);
5184 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix, 0 | 0 );
5185 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
5186 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_gram" "', argument " "2"" of type '" "gsl_matrix *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_gram" "', argument " "2"" of type '" "gsl_matrix *""'"); 0 0 0
5187 }
5188 0 arg2 = (gsl_matrix *)(argp2);
5189 0 res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_gsl_bspline_workspace, 0 | 0 );
5190 0 ▶ if (!SWIG_IsOK(res3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res3)) { 0 0 0
5191 0 ▶ SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_bspline_gram" "', argument " "3"" of type '" "gsl_bspline_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_bspline_gram" "', argument " "3"" of type '" "gsl_bspline_workspace *""'"); 0 0 0
5192 }
5193 0 arg3 = (gsl_bspline_workspace *)(argp3);
5194 0 result = (int)gsl_bspline_gram(arg1,arg2,arg3);
5195 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
5196
5197
5198
5199 0 XSRETURN(argvi);
5200 0 fail:
5201
5202
5203
5204 0 SWIG_croak_null();
5205 }
5206 }
5207  
5208  
5209 0 XS(_wrap_gsl_bspline_gram_interval) {
5210 {
5211 double arg1 ;
5212 double arg2 ;
5213 size_t arg3 ;
5214 0 gsl_matrix *arg4 = (gsl_matrix *) 0 ;
5215 0 gsl_bspline_workspace *arg5 = (gsl_bspline_workspace *) 0 ;
5216 double val1 ;
5217 0 int ecode1 = 0 ;
5218 double val2 ;
5219 0 int ecode2 = 0 ;
5220 size_t val3 ;
5221 0 int ecode3 = 0 ;
5222 0 void *argp4 = 0 ;
5223 0 int res4 = 0 ;
5224 0 void *argp5 = 0 ;
5225 0 int res5 = 0 ;
5226 0 int argvi = 0;
5227 int result;
5228 0 dXSARGS;
5229
5230 0 ▶ if ((items < 5) || (items > 5)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 5) || (items > 5)) { 0 0 0
if ((items < 5) || (items > 5)) { 0 0 0
5231 0 SWIG_croak("Usage: gsl_bspline_gram_interval(a,b,nderiv,G,w);");
5232 }
5233 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
5234 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
5235 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_bspline_gram_interval" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_bspline_gram_interval" "', argument " "1"" of type '" "double""'"); 0 0 0
5236 }
5237 0 arg1 = (double)(val1);
5238 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5239 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
5240 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_bspline_gram_interval" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_bspline_gram_interval" "', argument " "2"" of type '" "double""'"); 0 0 0
5241 }
5242 0 arg2 = (double)(val2);
5243 0 ecode3 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
5244 0 ▶ if (!SWIG_IsOK(ecode3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode3)) { 0 0 0
5245 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_bspline_gram_interval" "', argument " "3"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "gsl_bspline_gram_interval" "', argument " "3"" of type '" "size_t""'"); 0 0 0
5246 }
5247 0 arg3 = (size_t)(val3);
5248 0 res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_gsl_matrix, 0 | 0 );
5249 0 ▶ if (!SWIG_IsOK(res4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res4)) { 0 0 0
5250 0 ▶ SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_bspline_gram_interval" "', argument " "4"" of type '" "gsl_matrix *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_bspline_gram_interval" "', argument " "4"" of type '" "gsl_matrix *""'"); 0 0 0
5251 }
5252 0 arg4 = (gsl_matrix *)(argp4);
5253 0 res5 = SWIG_ConvertPtr(ST(4), &argp5,SWIGTYPE_p_gsl_bspline_workspace, 0 | 0 );
5254 0 ▶ if (!SWIG_IsOK(res5)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res5)) { 0 0 0
5255 0 ▶ SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "gsl_bspline_gram_interval" "', argument " "5"" of type '" "gsl_bspline_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "gsl_bspline_gram_interval" "', argument " "5"" of type '" "gsl_bspline_workspace *""'"); 0 0 0
5256 }
5257 0 arg5 = (gsl_bspline_workspace *)(argp5);
5258 0 result = (int)gsl_bspline_gram_interval(arg1,arg2,arg3,arg4,arg5);
5259 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
5260
5261
5262
5263
5264
5265 0 XSRETURN(argvi);
5266 0 fail:
5267
5268
5269
5270
5271
5272 0 SWIG_croak_null();
5273 }
5274 }
5275  
5276  
5277 0 XS(_wrap_gsl_bspline_oprod) {
5278 {
5279 size_t arg1 ;
5280 double arg2 ;
5281 0 gsl_matrix *arg3 = (gsl_matrix *) 0 ;
5282 0 gsl_bspline_workspace *arg4 = (gsl_bspline_workspace *) 0 ;
5283 size_t val1 ;
5284 0 int ecode1 = 0 ;
5285 double val2 ;
5286 0 int ecode2 = 0 ;
5287 0 void *argp3 = 0 ;
5288 0 int res3 = 0 ;
5289 0 void *argp4 = 0 ;
5290 0 int res4 = 0 ;
5291 0 int argvi = 0;
5292 int result;
5293 0 dXSARGS;
5294
5295 0 ▶ if ((items < 4) || (items > 4)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 4) || (items > 4)) { 0 0 0
if ((items < 4) || (items > 4)) { 0 0 0
5296 0 SWIG_croak("Usage: gsl_bspline_oprod(nderiv,x,A,w);");
5297 }
5298 0 ecode1 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
5299 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
5300 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_bspline_oprod" "', argument " "1"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_bspline_oprod" "', argument " "1"" of type '" "size_t""'"); 0 0 0
5301 }
5302 0 arg1 = (size_t)(val1);
5303 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5304 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
5305 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_bspline_oprod" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_bspline_oprod" "', argument " "2"" of type '" "double""'"); 0 0 0
5306 }
5307 0 arg2 = (double)(val2);
5308 0 res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_gsl_matrix, 0 | 0 );
5309 0 ▶ if (!SWIG_IsOK(res3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res3)) { 0 0 0
5310 0 ▶ SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_bspline_oprod" "', argument " "3"" of type '" "gsl_matrix *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_bspline_oprod" "', argument " "3"" of type '" "gsl_matrix *""'"); 0 0 0
5311 }
5312 0 arg3 = (gsl_matrix *)(argp3);
5313 0 res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_gsl_bspline_workspace, 0 | 0 );
5314 0 ▶ if (!SWIG_IsOK(res4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res4)) { 0 0 0
5315 0 ▶ SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_bspline_oprod" "', argument " "4"" of type '" "gsl_bspline_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_bspline_oprod" "', argument " "4"" of type '" "gsl_bspline_workspace *""'"); 0 0 0
5316 }
5317 0 arg4 = (gsl_bspline_workspace *)(argp4);
5318 0 result = (int)gsl_bspline_oprod(arg1,arg2,arg3,arg4);
5319 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
5320
5321
5322
5323
5324 0 XSRETURN(argvi);
5325 0 fail:
5326
5327
5328
5329
5330 0 SWIG_croak_null();
5331 }
5332 }
5333  
5334  
5335 0 XS(_wrap_gsl_bspline_calc_integ) {
5336 {
5337 double arg1 ;
5338 double arg2 ;
5339 0 gsl_vector *arg3 = (gsl_vector *) 0 ;
5340 0 double *arg4 = (double *) 0 ;
5341 0 gsl_bspline_workspace *arg5 = (gsl_bspline_workspace *) 0 ;
5342 double val1 ;
5343 0 int ecode1 = 0 ;
5344 double val2 ;
5345 0 int ecode2 = 0 ;
5346 0 void *argp3 = 0 ;
5347 0 int res3 = 0 ;
5348 double temp4 ;
5349 0 int res4 = SWIG_TMPOBJ ;
5350 0 void *argp5 = 0 ;
5351 0 int res5 = 0 ;
5352 0 int argvi = 0;
5353 int result;
5354 0 dXSARGS;
5355
5356 0 arg4 = &temp4;
5357 0 ▶ if ((items < 4) || (items > 4)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 4) || (items > 4)) { 0 0 0
if ((items < 4) || (items > 4)) { 0 0 0
5358 0 SWIG_croak("Usage: gsl_bspline_calc_integ(a,b,c,w);");
5359 }
5360 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
5361 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
5362 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_bspline_calc_integ" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_bspline_calc_integ" "', argument " "1"" of type '" "double""'"); 0 0 0
5363 }
5364 0 arg1 = (double)(val1);
5365 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5366 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
5367 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_bspline_calc_integ" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_bspline_calc_integ" "', argument " "2"" of type '" "double""'"); 0 0 0
5368 }
5369 0 arg2 = (double)(val2);
5370 0 res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_gsl_vector, 0 | 0 );
5371 0 ▶ if (!SWIG_IsOK(res3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res3)) { 0 0 0
5372 0 ▶ SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_bspline_calc_integ" "', argument " "3"" of type '" "gsl_vector const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_bspline_calc_integ" "', argument " "3"" of type '" "gsl_vector const *""'"); 0 0 0
5373 }
5374 0 arg3 = (gsl_vector *)(argp3);
5375 0 res5 = SWIG_ConvertPtr(ST(3), &argp5,SWIGTYPE_p_gsl_bspline_workspace, 0 | 0 );
5376 0 ▶ if (!SWIG_IsOK(res5)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res5)) { 0 0 0
5377 0 ▶ SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "gsl_bspline_calc_integ" "', argument " "5"" of type '" "gsl_bspline_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "gsl_bspline_calc_integ" "', argument " "5"" of type '" "gsl_bspline_workspace *""'"); 0 0 0
5378 }
5379 0 arg5 = (gsl_bspline_workspace *)(argp5);
5380 0 result = (int)gsl_bspline_calc_integ(arg1,arg2,(gsl_vector const *)arg3,arg4,arg5);
5381 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
5382 0 ▶ if (SWIG_IsTmpObj(res4)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SWIG_IsTmpObj(res4)) { 0 0 0
if (SWIG_IsTmpObj(res4)) { 0 0 0
5383 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
5384 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
5385 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((*arg4)); argvi++ /*@SWIG@*/;
5386 } else {
5387 0 ▶ int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0) : 0;
Branch: 2 branches
BranchTrueFalseTotal
int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
5388 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
5389 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
5390 0 ST(argvi) = SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, new_flags); argvi++ /*@SWIG@*/;
5391 }
5392
5393
5394
5395
5396
5397 0 XSRETURN(argvi);
5398 0 fail:
5399
5400
5401
5402
5403
5404 0 SWIG_croak_null();
5405 }
5406 }
5407  
5408  
5409 0 XS(_wrap_gsl_bspline_basis_integ) {
5410 {
5411 double arg1 ;
5412 double arg2 ;
5413 0 gsl_vector *arg3 = (gsl_vector *) 0 ;
5414 0 gsl_bspline_workspace *arg4 = (gsl_bspline_workspace *) 0 ;
5415 double val1 ;
5416 0 int ecode1 = 0 ;
5417 double val2 ;
5418 0 int ecode2 = 0 ;
5419 0 void *argp3 = 0 ;
5420 0 int res3 = 0 ;
5421 0 void *argp4 = 0 ;
5422 0 int res4 = 0 ;
5423 0 int argvi = 0;
5424 int result;
5425 0 dXSARGS;
5426
5427 0 ▶ if ((items < 4) || (items > 4)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 4) || (items > 4)) { 0 0 0
if ((items < 4) || (items > 4)) { 0 0 0
5428 0 SWIG_croak("Usage: gsl_bspline_basis_integ(a,b,bint,w);");
5429 }
5430 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
5431 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
5432 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_bspline_basis_integ" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_bspline_basis_integ" "', argument " "1"" of type '" "double""'"); 0 0 0
5433 }
5434 0 arg1 = (double)(val1);
5435 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5436 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
5437 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_bspline_basis_integ" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_bspline_basis_integ" "', argument " "2"" of type '" "double""'"); 0 0 0
5438 }
5439 0 arg2 = (double)(val2);
5440 0 res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_gsl_vector, 0 | 0 );
5441 0 ▶ if (!SWIG_IsOK(res3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res3)) { 0 0 0
5442 0 ▶ SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_bspline_basis_integ" "', argument " "3"" of type '" "gsl_vector *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_bspline_basis_integ" "', argument " "3"" of type '" "gsl_vector *""'"); 0 0 0
5443 }
5444 0 arg3 = (gsl_vector *)(argp3);
5445 0 res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_gsl_bspline_workspace, 0 | 0 );
5446 0 ▶ if (!SWIG_IsOK(res4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res4)) { 0 0 0
5447 0 ▶ SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_bspline_basis_integ" "', argument " "4"" of type '" "gsl_bspline_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_bspline_basis_integ" "', argument " "4"" of type '" "gsl_bspline_workspace *""'"); 0 0 0
5448 }
5449 0 arg4 = (gsl_bspline_workspace *)(argp4);
5450 0 result = (int)gsl_bspline_basis_integ(arg1,arg2,arg3,arg4);
5451 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
5452
5453
5454
5455
5456 0 XSRETURN(argvi);
5457 0 fail:
5458
5459
5460
5461
5462 0 SWIG_croak_null();
5463 }
5464 }
5465  
5466  
5467 0 XS(_wrap_gsl_bspline_init_interp) {
5468 {
5469 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
5470 0 gsl_bspline_workspace *arg2 = (gsl_bspline_workspace *) 0 ;
5471 0 void *argp1 = 0 ;
5472 0 int res1 = 0 ;
5473 0 void *argp2 = 0 ;
5474 0 int res2 = 0 ;
5475 0 int argvi = 0;
5476 int result;
5477 0 dXSARGS;
5478
5479 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
5480 0 SWIG_croak("Usage: gsl_bspline_init_interp(x,w);");
5481 }
5482 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
5483 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
5484 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_init_interp" "', argument " "1"" of type '" "gsl_vector const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_init_interp" "', argument " "1"" of type '" "gsl_vector const *""'"); 0 0 0
5485 }
5486 0 arg1 = (gsl_vector *)(argp1);
5487 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_bspline_workspace, 0 | 0 );
5488 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
5489 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_init_interp" "', argument " "2"" of type '" "gsl_bspline_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_init_interp" "', argument " "2"" of type '" "gsl_bspline_workspace *""'"); 0 0 0
5490 }
5491 0 arg2 = (gsl_bspline_workspace *)(argp2);
5492 0 result = (int)gsl_bspline_init_interp((gsl_vector const *)arg1,arg2);
5493 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
5494
5495
5496 0 XSRETURN(argvi);
5497 0 fail:
5498
5499
5500 0 SWIG_croak_null();
5501 }
5502 }
5503  
5504  
5505 0 XS(_wrap_gsl_bspline_init_hermite) {
5506 {
5507 size_t arg1 ;
5508 0 gsl_vector *arg2 = (gsl_vector *) 0 ;
5509 0 gsl_bspline_workspace *arg3 = (gsl_bspline_workspace *) 0 ;
5510 size_t val1 ;
5511 0 int ecode1 = 0 ;
5512 0 void *argp2 = 0 ;
5513 0 int res2 = 0 ;
5514 0 void *argp3 = 0 ;
5515 0 int res3 = 0 ;
5516 0 int argvi = 0;
5517 int result;
5518 0 dXSARGS;
5519
5520 0 ▶ if ((items < 3) || (items > 3)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 3) || (items > 3)) { 0 0 0
if ((items < 3) || (items > 3)) { 0 0 0
5521 0 SWIG_croak("Usage: gsl_bspline_init_hermite(nderiv,x,w);");
5522 }
5523 0 ecode1 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
5524 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
5525 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_bspline_init_hermite" "', argument " "1"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_bspline_init_hermite" "', argument " "1"" of type '" "size_t""'"); 0 0 0
5526 }
5527 0 arg1 = (size_t)(val1);
5528 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector, 0 | 0 );
5529 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
5530 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_init_hermite" "', argument " "2"" of type '" "gsl_vector const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_init_hermite" "', argument " "2"" of type '" "gsl_vector const *""'"); 0 0 0
5531 }
5532 0 arg2 = (gsl_vector *)(argp2);
5533 0 res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_gsl_bspline_workspace, 0 | 0 );
5534 0 ▶ if (!SWIG_IsOK(res3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res3)) { 0 0 0
5535 0 ▶ SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_bspline_init_hermite" "', argument " "3"" of type '" "gsl_bspline_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_bspline_init_hermite" "', argument " "3"" of type '" "gsl_bspline_workspace *""'"); 0 0 0
5536 }
5537 0 arg3 = (gsl_bspline_workspace *)(argp3);
5538 0 result = (int)gsl_bspline_init_hermite(arg1,(gsl_vector const *)arg2,arg3);
5539 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
5540
5541
5542
5543 0 XSRETURN(argvi);
5544 0 fail:
5545
5546
5547
5548 0 SWIG_croak_null();
5549 }
5550 }
5551  
5552  
5553 0 XS(_wrap_gsl_bspline_col_interp) {
5554 {
5555 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
5556 0 gsl_matrix *arg2 = (gsl_matrix *) 0 ;
5557 0 gsl_bspline_workspace *arg3 = (gsl_bspline_workspace *) 0 ;
5558 0 void *argp1 = 0 ;
5559 0 int res1 = 0 ;
5560 0 void *argp2 = 0 ;
5561 0 int res2 = 0 ;
5562 0 void *argp3 = 0 ;
5563 0 int res3 = 0 ;
5564 0 int argvi = 0;
5565 int result;
5566 0 dXSARGS;
5567
5568 0 ▶ if ((items < 3) || (items > 3)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 3) || (items > 3)) { 0 0 0
if ((items < 3) || (items > 3)) { 0 0 0
5569 0 SWIG_croak("Usage: gsl_bspline_col_interp(tau,XB,w);");
5570 }
5571 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
5572 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
5573 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_col_interp" "', argument " "1"" of type '" "gsl_vector const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_col_interp" "', argument " "1"" of type '" "gsl_vector const *""'"); 0 0 0
5574 }
5575 0 arg1 = (gsl_vector *)(argp1);
5576 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix, 0 | 0 );
5577 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
5578 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_col_interp" "', argument " "2"" of type '" "gsl_matrix *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_col_interp" "', argument " "2"" of type '" "gsl_matrix *""'"); 0 0 0
5579 }
5580 0 arg2 = (gsl_matrix *)(argp2);
5581 0 res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_gsl_bspline_workspace, 0 | 0 );
5582 0 ▶ if (!SWIG_IsOK(res3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res3)) { 0 0 0
5583 0 ▶ SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_bspline_col_interp" "', argument " "3"" of type '" "gsl_bspline_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_bspline_col_interp" "', argument " "3"" of type '" "gsl_bspline_workspace *""'"); 0 0 0
5584 }
5585 0 arg3 = (gsl_bspline_workspace *)(argp3);
5586 0 result = (int)gsl_bspline_col_interp((gsl_vector const *)arg1,arg2,arg3);
5587 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
5588
5589
5590
5591 0 XSRETURN(argvi);
5592 0 fail:
5593
5594
5595
5596 0 SWIG_croak_null();
5597 }
5598 }
5599  
5600  
5601 0 XS(_wrap_gsl_bspline_interp_chermite) {
5602 {
5603 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
5604 0 gsl_vector *arg2 = (gsl_vector *) 0 ;
5605 0 gsl_vector *arg3 = (gsl_vector *) 0 ;
5606 0 gsl_vector *arg4 = (gsl_vector *) 0 ;
5607 0 gsl_bspline_workspace *arg5 = (gsl_bspline_workspace *) 0 ;
5608 0 void *argp1 = 0 ;
5609 0 int res1 = 0 ;
5610 0 void *argp2 = 0 ;
5611 0 int res2 = 0 ;
5612 0 void *argp3 = 0 ;
5613 0 int res3 = 0 ;
5614 0 void *argp4 = 0 ;
5615 0 int res4 = 0 ;
5616 0 void *argp5 = 0 ;
5617 0 int res5 = 0 ;
5618 0 int argvi = 0;
5619 int result;
5620 0 dXSARGS;
5621
5622 0 ▶ if ((items < 5) || (items > 5)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 5) || (items > 5)) { 0 0 0
if ((items < 5) || (items > 5)) { 0 0 0
5623 0 SWIG_croak("Usage: gsl_bspline_interp_chermite(x,y,dy,c,w);");
5624 }
5625 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
5626 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
5627 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_interp_chermite" "', argument " "1"" of type '" "gsl_vector const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_interp_chermite" "', argument " "1"" of type '" "gsl_vector const *""'"); 0 0 0
5628 }
5629 0 arg1 = (gsl_vector *)(argp1);
5630 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector, 0 | 0 );
5631 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
5632 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_interp_chermite" "', argument " "2"" of type '" "gsl_vector const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_interp_chermite" "', argument " "2"" of type '" "gsl_vector const *""'"); 0 0 0
5633 }
5634 0 arg2 = (gsl_vector *)(argp2);
5635 0 res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_gsl_vector, 0 | 0 );
5636 0 ▶ if (!SWIG_IsOK(res3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res3)) { 0 0 0
5637 0 ▶ SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_bspline_interp_chermite" "', argument " "3"" of type '" "gsl_vector const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_bspline_interp_chermite" "', argument " "3"" of type '" "gsl_vector const *""'"); 0 0 0
5638 }
5639 0 arg3 = (gsl_vector *)(argp3);
5640 0 res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_gsl_vector, 0 | 0 );
5641 0 ▶ if (!SWIG_IsOK(res4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res4)) { 0 0 0
5642 0 ▶ SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_bspline_interp_chermite" "', argument " "4"" of type '" "gsl_vector *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_bspline_interp_chermite" "', argument " "4"" of type '" "gsl_vector *""'"); 0 0 0
5643 }
5644 0 arg4 = (gsl_vector *)(argp4);
5645 0 res5 = SWIG_ConvertPtr(ST(4), &argp5,SWIGTYPE_p_gsl_bspline_workspace, 0 | 0 );
5646 0 ▶ if (!SWIG_IsOK(res5)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res5)) { 0 0 0
5647 0 ▶ SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "gsl_bspline_interp_chermite" "', argument " "5"" of type '" "gsl_bspline_workspace const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "gsl_bspline_interp_chermite" "', argument " "5"" of type '" "gsl_bspline_workspace const *""'"); 0 0 0
5648 }
5649 0 arg5 = (gsl_bspline_workspace *)(argp5);
5650 0 result = (int)gsl_bspline_interp_chermite((gsl_vector const *)arg1,(gsl_vector const *)arg2,(gsl_vector const *)arg3,arg4,(gsl_bspline_workspace const *)arg5);
5651 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
5652
5653
5654
5655
5656
5657 0 XSRETURN(argvi);
5658 0 fail:
5659
5660
5661
5662
5663
5664 0 SWIG_croak_null();
5665 }
5666 }
5667  
5668  
5669 0 XS(_wrap_gsl_bspline_lssolve) {
5670 {
5671 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
5672 0 gsl_vector *arg2 = (gsl_vector *) 0 ;
5673 0 gsl_vector *arg3 = (gsl_vector *) 0 ;
5674 0 double *arg4 = (double *) 0 ;
5675 0 gsl_bspline_workspace *arg5 = (gsl_bspline_workspace *) 0 ;
5676 0 void *argp1 = 0 ;
5677 0 int res1 = 0 ;
5678 0 void *argp2 = 0 ;
5679 0 int res2 = 0 ;
5680 0 void *argp3 = 0 ;
5681 0 int res3 = 0 ;
5682 0 void *argp4 = 0 ;
5683 0 int res4 = 0 ;
5684 0 void *argp5 = 0 ;
5685 0 int res5 = 0 ;
5686 0 int argvi = 0;
5687 int result;
5688 0 dXSARGS;
5689
5690 0 ▶ if ((items < 5) || (items > 5)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 5) || (items > 5)) { 0 0 0
if ((items < 5) || (items > 5)) { 0 0 0
5691 0 SWIG_croak("Usage: gsl_bspline_lssolve(x,y,c,chisq,w);");
5692 }
5693 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
5694 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
5695 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_lssolve" "', argument " "1"" of type '" "gsl_vector const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_lssolve" "', argument " "1"" of type '" "gsl_vector const *""'"); 0 0 0
5696 }
5697 0 arg1 = (gsl_vector *)(argp1);
5698 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector, 0 | 0 );
5699 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
5700 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_lssolve" "', argument " "2"" of type '" "gsl_vector const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_lssolve" "', argument " "2"" of type '" "gsl_vector const *""'"); 0 0 0
5701 }
5702 0 arg2 = (gsl_vector *)(argp2);
5703 0 res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_gsl_vector, 0 | 0 );
5704 0 ▶ if (!SWIG_IsOK(res3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res3)) { 0 0 0
5705 0 ▶ SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_bspline_lssolve" "', argument " "3"" of type '" "gsl_vector *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_bspline_lssolve" "', argument " "3"" of type '" "gsl_vector *""'"); 0 0 0
5706 }
5707 0 arg3 = (gsl_vector *)(argp3);
5708 0 res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_double, 0 | 0 );
5709 0 ▶ if (!SWIG_IsOK(res4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res4)) { 0 0 0
5710 0 ▶ SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_bspline_lssolve" "', argument " "4"" of type '" "double *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_bspline_lssolve" "', argument " "4"" of type '" "double *""'"); 0 0 0
5711 }
5712 0 arg4 = (double *)(argp4);
5713 0 res5 = SWIG_ConvertPtr(ST(4), &argp5,SWIGTYPE_p_gsl_bspline_workspace, 0 | 0 );
5714 0 ▶ if (!SWIG_IsOK(res5)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res5)) { 0 0 0
5715 0 ▶ SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "gsl_bspline_lssolve" "', argument " "5"" of type '" "gsl_bspline_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "gsl_bspline_lssolve" "', argument " "5"" of type '" "gsl_bspline_workspace *""'"); 0 0 0
5716 }
5717 0 arg5 = (gsl_bspline_workspace *)(argp5);
5718 0 result = (int)gsl_bspline_lssolve((gsl_vector const *)arg1,(gsl_vector const *)arg2,arg3,arg4,arg5);
5719 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
5720
5721
5722
5723
5724
5725 0 XSRETURN(argvi);
5726 0 fail:
5727
5728
5729
5730
5731
5732 0 SWIG_croak_null();
5733 }
5734 }
5735  
5736  
5737 0 XS(_wrap_gsl_bspline_wlssolve) {
5738 {
5739 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
5740 0 gsl_vector *arg2 = (gsl_vector *) 0 ;
5741 0 gsl_vector *arg3 = (gsl_vector *) 0 ;
5742 0 gsl_vector *arg4 = (gsl_vector *) 0 ;
5743 0 double *arg5 = (double *) 0 ;
5744 0 gsl_bspline_workspace *arg6 = (gsl_bspline_workspace *) 0 ;
5745 0 void *argp1 = 0 ;
5746 0 int res1 = 0 ;
5747 0 void *argp2 = 0 ;
5748 0 int res2 = 0 ;
5749 0 void *argp3 = 0 ;
5750 0 int res3 = 0 ;
5751 0 void *argp4 = 0 ;
5752 0 int res4 = 0 ;
5753 0 void *argp5 = 0 ;
5754 0 int res5 = 0 ;
5755 0 void *argp6 = 0 ;
5756 0 int res6 = 0 ;
5757 0 int argvi = 0;
5758 int result;
5759 0 dXSARGS;
5760
5761 0 ▶ if ((items < 6) || (items > 6)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 6) || (items > 6)) { 0 0 0
if ((items < 6) || (items > 6)) { 0 0 0
5762 0 SWIG_croak("Usage: gsl_bspline_wlssolve(x,y,wts,c,chisq,w);");
5763 }
5764 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
5765 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
5766 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_wlssolve" "', argument " "1"" of type '" "gsl_vector const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_wlssolve" "', argument " "1"" of type '" "gsl_vector const *""'"); 0 0 0
5767 }
5768 0 arg1 = (gsl_vector *)(argp1);
5769 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector, 0 | 0 );
5770 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
5771 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_wlssolve" "', argument " "2"" of type '" "gsl_vector const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_wlssolve" "', argument " "2"" of type '" "gsl_vector const *""'"); 0 0 0
5772 }
5773 0 arg2 = (gsl_vector *)(argp2);
5774 0 res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_gsl_vector, 0 | 0 );
5775 0 ▶ if (!SWIG_IsOK(res3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res3)) { 0 0 0
5776 0 ▶ SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_bspline_wlssolve" "', argument " "3"" of type '" "gsl_vector const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_bspline_wlssolve" "', argument " "3"" of type '" "gsl_vector const *""'"); 0 0 0
5777 }
5778 0 arg3 = (gsl_vector *)(argp3);
5779 0 res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_gsl_vector, 0 | 0 );
5780 0 ▶ if (!SWIG_IsOK(res4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res4)) { 0 0 0
5781 0 ▶ SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_bspline_wlssolve" "', argument " "4"" of type '" "gsl_vector *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_bspline_wlssolve" "', argument " "4"" of type '" "gsl_vector *""'"); 0 0 0
5782 }
5783 0 arg4 = (gsl_vector *)(argp4);
5784 0 res5 = SWIG_ConvertPtr(ST(4), &argp5,SWIGTYPE_p_double, 0 | 0 );
5785 0 ▶ if (!SWIG_IsOK(res5)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res5)) { 0 0 0
5786 0 ▶ SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "gsl_bspline_wlssolve" "', argument " "5"" of type '" "double *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "gsl_bspline_wlssolve" "', argument " "5"" of type '" "double *""'"); 0 0 0
5787 }
5788 0 arg5 = (double *)(argp5);
5789 0 res6 = SWIG_ConvertPtr(ST(5), &argp6,SWIGTYPE_p_gsl_bspline_workspace, 0 | 0 );
5790 0 ▶ if (!SWIG_IsOK(res6)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res6)) { 0 0 0
5791 0 ▶ SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "gsl_bspline_wlssolve" "', argument " "6"" of type '" "gsl_bspline_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "gsl_bspline_wlssolve" "', argument " "6"" of type '" "gsl_bspline_workspace *""'"); 0 0 0
5792 }
5793 0 arg6 = (gsl_bspline_workspace *)(argp6);
5794 0 result = (int)gsl_bspline_wlssolve((gsl_vector const *)arg1,(gsl_vector const *)arg2,(gsl_vector const *)arg3,arg4,arg5,arg6);
5795 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
5796
5797
5798
5799
5800
5801
5802 0 XSRETURN(argvi);
5803 0 fail:
5804
5805
5806
5807
5808
5809
5810 0 SWIG_croak_null();
5811 }
5812 }
5813  
5814  
5815 0 XS(_wrap_gsl_bspline_lsnormal) {
5816 {
5817 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
5818 0 gsl_vector *arg2 = (gsl_vector *) 0 ;
5819 0 gsl_vector *arg3 = (gsl_vector *) 0 ;
5820 0 gsl_vector *arg4 = (gsl_vector *) 0 ;
5821 0 gsl_matrix *arg5 = (gsl_matrix *) 0 ;
5822 0 gsl_bspline_workspace *arg6 = (gsl_bspline_workspace *) 0 ;
5823 0 void *argp1 = 0 ;
5824 0 int res1 = 0 ;
5825 0 void *argp2 = 0 ;
5826 0 int res2 = 0 ;
5827 0 void *argp3 = 0 ;
5828 0 int res3 = 0 ;
5829 0 void *argp4 = 0 ;
5830 0 int res4 = 0 ;
5831 0 void *argp5 = 0 ;
5832 0 int res5 = 0 ;
5833 0 void *argp6 = 0 ;
5834 0 int res6 = 0 ;
5835 0 int argvi = 0;
5836 int result;
5837 0 dXSARGS;
5838
5839 0 ▶ if ((items < 6) || (items > 6)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 6) || (items > 6)) { 0 0 0
if ((items < 6) || (items > 6)) { 0 0 0
5840 0 SWIG_croak("Usage: gsl_bspline_lsnormal(x,y,wts,XTy,XTX,w);");
5841 }
5842 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
5843 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
5844 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_lsnormal" "', argument " "1"" of type '" "gsl_vector const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_lsnormal" "', argument " "1"" of type '" "gsl_vector const *""'"); 0 0 0
5845 }
5846 0 arg1 = (gsl_vector *)(argp1);
5847 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector, 0 | 0 );
5848 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
5849 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_lsnormal" "', argument " "2"" of type '" "gsl_vector const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_lsnormal" "', argument " "2"" of type '" "gsl_vector const *""'"); 0 0 0
5850 }
5851 0 arg2 = (gsl_vector *)(argp2);
5852 0 res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_gsl_vector, 0 | 0 );
5853 0 ▶ if (!SWIG_IsOK(res3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res3)) { 0 0 0
5854 0 ▶ SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_bspline_lsnormal" "', argument " "3"" of type '" "gsl_vector const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_bspline_lsnormal" "', argument " "3"" of type '" "gsl_vector const *""'"); 0 0 0
5855 }
5856 0 arg3 = (gsl_vector *)(argp3);
5857 0 res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_gsl_vector, 0 | 0 );
5858 0 ▶ if (!SWIG_IsOK(res4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res4)) { 0 0 0
5859 0 ▶ SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_bspline_lsnormal" "', argument " "4"" of type '" "gsl_vector *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_bspline_lsnormal" "', argument " "4"" of type '" "gsl_vector *""'"); 0 0 0
5860 }
5861 0 arg4 = (gsl_vector *)(argp4);
5862 0 res5 = SWIG_ConvertPtr(ST(4), &argp5,SWIGTYPE_p_gsl_matrix, 0 | 0 );
5863 0 ▶ if (!SWIG_IsOK(res5)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res5)) { 0 0 0
5864 0 ▶ SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "gsl_bspline_lsnormal" "', argument " "5"" of type '" "gsl_matrix *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "gsl_bspline_lsnormal" "', argument " "5"" of type '" "gsl_matrix *""'"); 0 0 0
5865 }
5866 0 arg5 = (gsl_matrix *)(argp5);
5867 0 res6 = SWIG_ConvertPtr(ST(5), &argp6,SWIGTYPE_p_gsl_bspline_workspace, 0 | 0 );
5868 0 ▶ if (!SWIG_IsOK(res6)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res6)) { 0 0 0
5869 0 ▶ SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "gsl_bspline_lsnormal" "', argument " "6"" of type '" "gsl_bspline_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "gsl_bspline_lsnormal" "', argument " "6"" of type '" "gsl_bspline_workspace *""'"); 0 0 0
5870 }
5871 0 arg6 = (gsl_bspline_workspace *)(argp6);
5872 0 result = (int)gsl_bspline_lsnormal((gsl_vector const *)arg1,(gsl_vector const *)arg2,(gsl_vector const *)arg3,arg4,arg5,arg6);
5873 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
5874
5875
5876
5877
5878
5879
5880 0 XSRETURN(argvi);
5881 0 fail:
5882
5883
5884
5885
5886
5887
5888 0 SWIG_croak_null();
5889 }
5890 }
5891  
5892  
5893 0 XS(_wrap_gsl_bspline_lsnormalm) {
5894 {
5895 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
5896 0 gsl_matrix *arg2 = (gsl_matrix *) 0 ;
5897 0 gsl_vector *arg3 = (gsl_vector *) 0 ;
5898 0 gsl_matrix *arg4 = (gsl_matrix *) 0 ;
5899 0 gsl_matrix *arg5 = (gsl_matrix *) 0 ;
5900 0 gsl_bspline_workspace *arg6 = (gsl_bspline_workspace *) 0 ;
5901 0 void *argp1 = 0 ;
5902 0 int res1 = 0 ;
5903 0 void *argp2 = 0 ;
5904 0 int res2 = 0 ;
5905 0 void *argp3 = 0 ;
5906 0 int res3 = 0 ;
5907 0 void *argp4 = 0 ;
5908 0 int res4 = 0 ;
5909 0 void *argp5 = 0 ;
5910 0 int res5 = 0 ;
5911 0 void *argp6 = 0 ;
5912 0 int res6 = 0 ;
5913 0 int argvi = 0;
5914 int result;
5915 0 dXSARGS;
5916
5917 0 ▶ if ((items < 6) || (items > 6)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 6) || (items > 6)) { 0 0 0
if ((items < 6) || (items > 6)) { 0 0 0
5918 0 SWIG_croak("Usage: gsl_bspline_lsnormalm(x,Y,wts,XTY,XTX,w);");
5919 }
5920 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
5921 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
5922 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_lsnormalm" "', argument " "1"" of type '" "gsl_vector const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_lsnormalm" "', argument " "1"" of type '" "gsl_vector const *""'"); 0 0 0
5923 }
5924 0 arg1 = (gsl_vector *)(argp1);
5925 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix, 0 | 0 );
5926 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
5927 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_lsnormalm" "', argument " "2"" of type '" "gsl_matrix const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_lsnormalm" "', argument " "2"" of type '" "gsl_matrix const *""'"); 0 0 0
5928 }
5929 0 arg2 = (gsl_matrix *)(argp2);
5930 0 res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_gsl_vector, 0 | 0 );
5931 0 ▶ if (!SWIG_IsOK(res3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res3)) { 0 0 0
5932 0 ▶ SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_bspline_lsnormalm" "', argument " "3"" of type '" "gsl_vector const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_bspline_lsnormalm" "', argument " "3"" of type '" "gsl_vector const *""'"); 0 0 0
5933 }
5934 0 arg3 = (gsl_vector *)(argp3);
5935 0 res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_gsl_matrix, 0 | 0 );
5936 0 ▶ if (!SWIG_IsOK(res4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res4)) { 0 0 0
5937 0 ▶ SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_bspline_lsnormalm" "', argument " "4"" of type '" "gsl_matrix *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_bspline_lsnormalm" "', argument " "4"" of type '" "gsl_matrix *""'"); 0 0 0
5938 }
5939 0 arg4 = (gsl_matrix *)(argp4);
5940 0 res5 = SWIG_ConvertPtr(ST(4), &argp5,SWIGTYPE_p_gsl_matrix, 0 | 0 );
5941 0 ▶ if (!SWIG_IsOK(res5)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res5)) { 0 0 0
5942 0 ▶ SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "gsl_bspline_lsnormalm" "', argument " "5"" of type '" "gsl_matrix *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "gsl_bspline_lsnormalm" "', argument " "5"" of type '" "gsl_matrix *""'"); 0 0 0
5943 }
5944 0 arg5 = (gsl_matrix *)(argp5);
5945 0 res6 = SWIG_ConvertPtr(ST(5), &argp6,SWIGTYPE_p_gsl_bspline_workspace, 0 | 0 );
5946 0 ▶ if (!SWIG_IsOK(res6)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res6)) { 0 0 0
5947 0 ▶ SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "gsl_bspline_lsnormalm" "', argument " "6"" of type '" "gsl_bspline_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "gsl_bspline_lsnormalm" "', argument " "6"" of type '" "gsl_bspline_workspace *""'"); 0 0 0
5948 }
5949 0 arg6 = (gsl_bspline_workspace *)(argp6);
5950 0 result = (int)gsl_bspline_lsnormalm((gsl_vector const *)arg1,(gsl_matrix const *)arg2,(gsl_vector const *)arg3,arg4,arg5,arg6);
5951 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
5952
5953
5954
5955
5956
5957
5958 0 XSRETURN(argvi);
5959 0 fail:
5960
5961
5962
5963
5964
5965
5966 0 SWIG_croak_null();
5967 }
5968 }
5969  
5970  
5971 0 XS(_wrap_gsl_bspline_plssolve) {
5972 {
5973 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
5974 0 gsl_vector *arg2 = (gsl_vector *) 0 ;
5975 0 gsl_vector *arg3 = (gsl_vector *) 0 ;
5976 0 double *arg4 = (double *) 0 ;
5977 0 gsl_bspline_workspace *arg5 = (gsl_bspline_workspace *) 0 ;
5978 0 void *argp1 = 0 ;
5979 0 int res1 = 0 ;
5980 0 void *argp2 = 0 ;
5981 0 int res2 = 0 ;
5982 0 void *argp3 = 0 ;
5983 0 int res3 = 0 ;
5984 0 void *argp4 = 0 ;
5985 0 int res4 = 0 ;
5986 0 void *argp5 = 0 ;
5987 0 int res5 = 0 ;
5988 0 int argvi = 0;
5989 int result;
5990 0 dXSARGS;
5991
5992 0 ▶ if ((items < 5) || (items > 5)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 5) || (items > 5)) { 0 0 0
if ((items < 5) || (items > 5)) { 0 0 0
5993 0 SWIG_croak("Usage: gsl_bspline_plssolve(x,y,c,chisq,w);");
5994 }
5995 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
5996 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
5997 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_plssolve" "', argument " "1"" of type '" "gsl_vector const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_plssolve" "', argument " "1"" of type '" "gsl_vector const *""'"); 0 0 0
5998 }
5999 0 arg1 = (gsl_vector *)(argp1);
6000 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector, 0 | 0 );
6001 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
6002 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_plssolve" "', argument " "2"" of type '" "gsl_vector const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_plssolve" "', argument " "2"" of type '" "gsl_vector const *""'"); 0 0 0
6003 }
6004 0 arg2 = (gsl_vector *)(argp2);
6005 0 res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_gsl_vector, 0 | 0 );
6006 0 ▶ if (!SWIG_IsOK(res3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res3)) { 0 0 0
6007 0 ▶ SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_bspline_plssolve" "', argument " "3"" of type '" "gsl_vector *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_bspline_plssolve" "', argument " "3"" of type '" "gsl_vector *""'"); 0 0 0
6008 }
6009 0 arg3 = (gsl_vector *)(argp3);
6010 0 res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_double, 0 | 0 );
6011 0 ▶ if (!SWIG_IsOK(res4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res4)) { 0 0 0
6012 0 ▶ SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_bspline_plssolve" "', argument " "4"" of type '" "double *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_bspline_plssolve" "', argument " "4"" of type '" "double *""'"); 0 0 0
6013 }
6014 0 arg4 = (double *)(argp4);
6015 0 res5 = SWIG_ConvertPtr(ST(4), &argp5,SWIGTYPE_p_gsl_bspline_workspace, 0 | 0 );
6016 0 ▶ if (!SWIG_IsOK(res5)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res5)) { 0 0 0
6017 0 ▶ SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "gsl_bspline_plssolve" "', argument " "5"" of type '" "gsl_bspline_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "gsl_bspline_plssolve" "', argument " "5"" of type '" "gsl_bspline_workspace *""'"); 0 0 0
6018 }
6019 0 arg5 = (gsl_bspline_workspace *)(argp5);
6020 0 result = (int)gsl_bspline_plssolve((gsl_vector const *)arg1,(gsl_vector const *)arg2,arg3,arg4,arg5);
6021 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
6022
6023
6024
6025
6026
6027 0 XSRETURN(argvi);
6028 0 fail:
6029
6030
6031
6032
6033
6034 0 SWIG_croak_null();
6035 }
6036 }
6037  
6038  
6039 0 XS(_wrap_gsl_bspline_pwlssolve) {
6040 {
6041 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
6042 0 gsl_vector *arg2 = (gsl_vector *) 0 ;
6043 0 gsl_vector *arg3 = (gsl_vector *) 0 ;
6044 0 gsl_vector *arg4 = (gsl_vector *) 0 ;
6045 0 double *arg5 = (double *) 0 ;
6046 0 gsl_bspline_workspace *arg6 = (gsl_bspline_workspace *) 0 ;
6047 0 void *argp1 = 0 ;
6048 0 int res1 = 0 ;
6049 0 void *argp2 = 0 ;
6050 0 int res2 = 0 ;
6051 0 void *argp3 = 0 ;
6052 0 int res3 = 0 ;
6053 0 void *argp4 = 0 ;
6054 0 int res4 = 0 ;
6055 0 void *argp5 = 0 ;
6056 0 int res5 = 0 ;
6057 0 void *argp6 = 0 ;
6058 0 int res6 = 0 ;
6059 0 int argvi = 0;
6060 int result;
6061 0 dXSARGS;
6062
6063 0 ▶ if ((items < 6) || (items > 6)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 6) || (items > 6)) { 0 0 0
if ((items < 6) || (items > 6)) { 0 0 0
6064 0 SWIG_croak("Usage: gsl_bspline_pwlssolve(x,y,wts,c,chisq,w);");
6065 }
6066 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
6067 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
6068 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_pwlssolve" "', argument " "1"" of type '" "gsl_vector const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_pwlssolve" "', argument " "1"" of type '" "gsl_vector const *""'"); 0 0 0
6069 }
6070 0 arg1 = (gsl_vector *)(argp1);
6071 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector, 0 | 0 );
6072 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
6073 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_pwlssolve" "', argument " "2"" of type '" "gsl_vector const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_pwlssolve" "', argument " "2"" of type '" "gsl_vector const *""'"); 0 0 0
6074 }
6075 0 arg2 = (gsl_vector *)(argp2);
6076 0 res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_gsl_vector, 0 | 0 );
6077 0 ▶ if (!SWIG_IsOK(res3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res3)) { 0 0 0
6078 0 ▶ SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_bspline_pwlssolve" "', argument " "3"" of type '" "gsl_vector const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_bspline_pwlssolve" "', argument " "3"" of type '" "gsl_vector const *""'"); 0 0 0
6079 }
6080 0 arg3 = (gsl_vector *)(argp3);
6081 0 res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_gsl_vector, 0 | 0 );
6082 0 ▶ if (!SWIG_IsOK(res4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res4)) { 0 0 0
6083 0 ▶ SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_bspline_pwlssolve" "', argument " "4"" of type '" "gsl_vector *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_bspline_pwlssolve" "', argument " "4"" of type '" "gsl_vector *""'"); 0 0 0
6084 }
6085 0 arg4 = (gsl_vector *)(argp4);
6086 0 res5 = SWIG_ConvertPtr(ST(4), &argp5,SWIGTYPE_p_double, 0 | 0 );
6087 0 ▶ if (!SWIG_IsOK(res5)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res5)) { 0 0 0
6088 0 ▶ SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "gsl_bspline_pwlssolve" "', argument " "5"" of type '" "double *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "gsl_bspline_pwlssolve" "', argument " "5"" of type '" "double *""'"); 0 0 0
6089 }
6090 0 arg5 = (double *)(argp5);
6091 0 res6 = SWIG_ConvertPtr(ST(5), &argp6,SWIGTYPE_p_gsl_bspline_workspace, 0 | 0 );
6092 0 ▶ if (!SWIG_IsOK(res6)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res6)) { 0 0 0
6093 0 ▶ SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "gsl_bspline_pwlssolve" "', argument " "6"" of type '" "gsl_bspline_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "gsl_bspline_pwlssolve" "', argument " "6"" of type '" "gsl_bspline_workspace *""'"); 0 0 0
6094 }
6095 0 arg6 = (gsl_bspline_workspace *)(argp6);
6096 0 result = (int)gsl_bspline_pwlssolve((gsl_vector const *)arg1,(gsl_vector const *)arg2,(gsl_vector const *)arg3,arg4,arg5,arg6);
6097 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
6098
6099
6100
6101
6102
6103
6104 0 XSRETURN(argvi);
6105 0 fail:
6106
6107
6108
6109
6110
6111
6112 0 SWIG_croak_null();
6113 }
6114 }
6115  
6116  
6117 0 XS(_wrap_gsl_bspline_plsqr) {
6118 {
6119 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
6120 0 gsl_vector *arg2 = (gsl_vector *) 0 ;
6121 0 gsl_vector *arg3 = (gsl_vector *) 0 ;
6122 0 gsl_matrix *arg4 = (gsl_matrix *) 0 ;
6123 0 gsl_vector *arg5 = (gsl_vector *) 0 ;
6124 0 double *arg6 = (double *) 0 ;
6125 0 gsl_bspline_workspace *arg7 = (gsl_bspline_workspace *) 0 ;
6126 0 void *argp1 = 0 ;
6127 0 int res1 = 0 ;
6128 0 void *argp2 = 0 ;
6129 0 int res2 = 0 ;
6130 0 void *argp3 = 0 ;
6131 0 int res3 = 0 ;
6132 0 void *argp4 = 0 ;
6133 0 int res4 = 0 ;
6134 0 void *argp5 = 0 ;
6135 0 int res5 = 0 ;
6136 0 void *argp6 = 0 ;
6137 0 int res6 = 0 ;
6138 0 void *argp7 = 0 ;
6139 0 int res7 = 0 ;
6140 0 int argvi = 0;
6141 int result;
6142 0 dXSARGS;
6143
6144 0 ▶ if ((items < 7) || (items > 7)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 7) || (items > 7)) { 0 0 0
if ((items < 7) || (items > 7)) { 0 0 0
6145 0 SWIG_croak("Usage: gsl_bspline_plsqr(x,y,wts,R,QTy,rnorm,w);");
6146 }
6147 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
6148 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
6149 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_plsqr" "', argument " "1"" of type '" "gsl_vector const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_plsqr" "', argument " "1"" of type '" "gsl_vector const *""'"); 0 0 0
6150 }
6151 0 arg1 = (gsl_vector *)(argp1);
6152 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector, 0 | 0 );
6153 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
6154 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_plsqr" "', argument " "2"" of type '" "gsl_vector const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_plsqr" "', argument " "2"" of type '" "gsl_vector const *""'"); 0 0 0
6155 }
6156 0 arg2 = (gsl_vector *)(argp2);
6157 0 res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_gsl_vector, 0 | 0 );
6158 0 ▶ if (!SWIG_IsOK(res3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res3)) { 0 0 0
6159 0 ▶ SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_bspline_plsqr" "', argument " "3"" of type '" "gsl_vector const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_bspline_plsqr" "', argument " "3"" of type '" "gsl_vector const *""'"); 0 0 0
6160 }
6161 0 arg3 = (gsl_vector *)(argp3);
6162 0 res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_gsl_matrix, 0 | 0 );
6163 0 ▶ if (!SWIG_IsOK(res4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res4)) { 0 0 0
6164 0 ▶ SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_bspline_plsqr" "', argument " "4"" of type '" "gsl_matrix *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_bspline_plsqr" "', argument " "4"" of type '" "gsl_matrix *""'"); 0 0 0
6165 }
6166 0 arg4 = (gsl_matrix *)(argp4);
6167 0 res5 = SWIG_ConvertPtr(ST(4), &argp5,SWIGTYPE_p_gsl_vector, 0 | 0 );
6168 0 ▶ if (!SWIG_IsOK(res5)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res5)) { 0 0 0
6169 0 ▶ SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "gsl_bspline_plsqr" "', argument " "5"" of type '" "gsl_vector *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "gsl_bspline_plsqr" "', argument " "5"" of type '" "gsl_vector *""'"); 0 0 0
6170 }
6171 0 arg5 = (gsl_vector *)(argp5);
6172 0 res6 = SWIG_ConvertPtr(ST(5), &argp6,SWIGTYPE_p_double, 0 | 0 );
6173 0 ▶ if (!SWIG_IsOK(res6)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res6)) { 0 0 0
6174 0 ▶ SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "gsl_bspline_plsqr" "', argument " "6"" of type '" "double *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "gsl_bspline_plsqr" "', argument " "6"" of type '" "double *""'"); 0 0 0
6175 }
6176 0 arg6 = (double *)(argp6);
6177 0 res7 = SWIG_ConvertPtr(ST(6), &argp7,SWIGTYPE_p_gsl_bspline_workspace, 0 | 0 );
6178 0 ▶ if (!SWIG_IsOK(res7)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res7)) { 0 0 0
6179 0 ▶ SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "gsl_bspline_plsqr" "', argument " "7"" of type '" "gsl_bspline_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "gsl_bspline_plsqr" "', argument " "7"" of type '" "gsl_bspline_workspace *""'"); 0 0 0
6180 }
6181 0 arg7 = (gsl_bspline_workspace *)(argp7);
6182 0 result = (int)gsl_bspline_plsqr((gsl_vector const *)arg1,(gsl_vector const *)arg2,(gsl_vector const *)arg3,arg4,arg5,arg6,arg7);
6183 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
6184
6185
6186
6187
6188
6189
6190
6191 0 XSRETURN(argvi);
6192 0 fail:
6193
6194
6195
6196
6197
6198
6199
6200 0 SWIG_croak_null();
6201 }
6202 }
6203  
6204  
6205 0 XS(_wrap_gsl_bspline_residuals) {
6206 {
6207 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
6208 0 gsl_vector *arg2 = (gsl_vector *) 0 ;
6209 0 gsl_vector *arg3 = (gsl_vector *) 0 ;
6210 0 gsl_vector *arg4 = (gsl_vector *) 0 ;
6211 0 gsl_bspline_workspace *arg5 = (gsl_bspline_workspace *) 0 ;
6212 0 void *argp1 = 0 ;
6213 0 int res1 = 0 ;
6214 0 void *argp2 = 0 ;
6215 0 int res2 = 0 ;
6216 0 void *argp3 = 0 ;
6217 0 int res3 = 0 ;
6218 0 void *argp4 = 0 ;
6219 0 int res4 = 0 ;
6220 0 void *argp5 = 0 ;
6221 0 int res5 = 0 ;
6222 0 int argvi = 0;
6223 int result;
6224 0 dXSARGS;
6225
6226 0 ▶ if ((items < 5) || (items > 5)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 5) || (items > 5)) { 0 0 0
if ((items < 5) || (items > 5)) { 0 0 0
6227 0 SWIG_croak("Usage: gsl_bspline_residuals(x,y,c,r,w);");
6228 }
6229 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
6230 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
6231 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_residuals" "', argument " "1"" of type '" "gsl_vector const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_residuals" "', argument " "1"" of type '" "gsl_vector const *""'"); 0 0 0
6232 }
6233 0 arg1 = (gsl_vector *)(argp1);
6234 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector, 0 | 0 );
6235 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
6236 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_residuals" "', argument " "2"" of type '" "gsl_vector const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_residuals" "', argument " "2"" of type '" "gsl_vector const *""'"); 0 0 0
6237 }
6238 0 arg2 = (gsl_vector *)(argp2);
6239 0 res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_gsl_vector, 0 | 0 );
6240 0 ▶ if (!SWIG_IsOK(res3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res3)) { 0 0 0
6241 0 ▶ SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_bspline_residuals" "', argument " "3"" of type '" "gsl_vector const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_bspline_residuals" "', argument " "3"" of type '" "gsl_vector const *""'"); 0 0 0
6242 }
6243 0 arg3 = (gsl_vector *)(argp3);
6244 0 res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_gsl_vector, 0 | 0 );
6245 0 ▶ if (!SWIG_IsOK(res4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res4)) { 0 0 0
6246 0 ▶ SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_bspline_residuals" "', argument " "4"" of type '" "gsl_vector *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_bspline_residuals" "', argument " "4"" of type '" "gsl_vector *""'"); 0 0 0
6247 }
6248 0 arg4 = (gsl_vector *)(argp4);
6249 0 res5 = SWIG_ConvertPtr(ST(4), &argp5,SWIGTYPE_p_gsl_bspline_workspace, 0 | 0 );
6250 0 ▶ if (!SWIG_IsOK(res5)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res5)) { 0 0 0
6251 0 ▶ SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "gsl_bspline_residuals" "', argument " "5"" of type '" "gsl_bspline_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "gsl_bspline_residuals" "', argument " "5"" of type '" "gsl_bspline_workspace *""'"); 0 0 0
6252 }
6253 0 arg5 = (gsl_bspline_workspace *)(argp5);
6254 0 result = (int)gsl_bspline_residuals((gsl_vector const *)arg1,(gsl_vector const *)arg2,(gsl_vector const *)arg3,arg4,arg5);
6255 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
6256
6257
6258
6259
6260
6261 0 XSRETURN(argvi);
6262 0 fail:
6263
6264
6265
6266
6267
6268 0 SWIG_croak_null();
6269 }
6270 }
6271  
6272  
6273 0 XS(_wrap_gsl_bspline_covariance) {
6274 {
6275 0 gsl_matrix *arg1 = (gsl_matrix *) 0 ;
6276 0 gsl_matrix *arg2 = (gsl_matrix *) 0 ;
6277 0 gsl_bspline_workspace *arg3 = (gsl_bspline_workspace *) 0 ;
6278 0 void *argp1 = 0 ;
6279 0 int res1 = 0 ;
6280 0 void *argp2 = 0 ;
6281 0 int res2 = 0 ;
6282 0 void *argp3 = 0 ;
6283 0 int res3 = 0 ;
6284 0 int argvi = 0;
6285 int result;
6286 0 dXSARGS;
6287
6288 0 ▶ if ((items < 3) || (items > 3)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 3) || (items > 3)) { 0 0 0
if ((items < 3) || (items > 3)) { 0 0 0
6289 0 SWIG_croak("Usage: gsl_bspline_covariance(XTX,cov,w);");
6290 }
6291 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix, 0 | 0 );
6292 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
6293 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_covariance" "', argument " "1"" of type '" "gsl_matrix const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_covariance" "', argument " "1"" of type '" "gsl_matrix const *""'"); 0 0 0
6294 }
6295 0 arg1 = (gsl_matrix *)(argp1);
6296 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_matrix, 0 | 0 );
6297 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
6298 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_covariance" "', argument " "2"" of type '" "gsl_matrix *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_covariance" "', argument " "2"" of type '" "gsl_matrix *""'"); 0 0 0
6299 }
6300 0 arg2 = (gsl_matrix *)(argp2);
6301 0 res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_gsl_bspline_workspace, 0 | 0 );
6302 0 ▶ if (!SWIG_IsOK(res3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res3)) { 0 0 0
6303 0 ▶ SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_bspline_covariance" "', argument " "3"" of type '" "gsl_bspline_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_bspline_covariance" "', argument " "3"" of type '" "gsl_bspline_workspace *""'"); 0 0 0
6304 }
6305 0 arg3 = (gsl_bspline_workspace *)(argp3);
6306 0 result = (int)gsl_bspline_covariance((gsl_matrix const *)arg1,arg2,arg3);
6307 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
6308
6309
6310
6311 0 XSRETURN(argvi);
6312 0 fail:
6313
6314
6315
6316 0 SWIG_croak_null();
6317 }
6318 }
6319  
6320  
6321 0 XS(_wrap_gsl_bspline_rcond) {
6322 {
6323 0 gsl_matrix *arg1 = (gsl_matrix *) 0 ;
6324 0 double *arg2 = (double *) 0 ;
6325 0 gsl_bspline_workspace *arg3 = (gsl_bspline_workspace *) 0 ;
6326 0 void *argp1 = 0 ;
6327 0 int res1 = 0 ;
6328 0 void *argp2 = 0 ;
6329 0 int res2 = 0 ;
6330 0 void *argp3 = 0 ;
6331 0 int res3 = 0 ;
6332 0 int argvi = 0;
6333 int result;
6334 0 dXSARGS;
6335
6336 0 ▶ if ((items < 3) || (items > 3)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 3) || (items > 3)) { 0 0 0
if ((items < 3) || (items > 3)) { 0 0 0
6337 0 SWIG_croak("Usage: gsl_bspline_rcond(XTX,rcond,w);");
6338 }
6339 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_matrix, 0 | 0 );
6340 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
6341 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_rcond" "', argument " "1"" of type '" "gsl_matrix const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_rcond" "', argument " "1"" of type '" "gsl_matrix const *""'"); 0 0 0
6342 }
6343 0 arg1 = (gsl_matrix *)(argp1);
6344 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, 0 | 0 );
6345 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
6346 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_rcond" "', argument " "2"" of type '" "double *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_rcond" "', argument " "2"" of type '" "double *""'"); 0 0 0
6347 }
6348 0 arg2 = (double *)(argp2);
6349 0 res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_gsl_bspline_workspace, 0 | 0 );
6350 0 ▶ if (!SWIG_IsOK(res3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res3)) { 0 0 0
6351 0 ▶ SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_bspline_rcond" "', argument " "3"" of type '" "gsl_bspline_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_bspline_rcond" "', argument " "3"" of type '" "gsl_bspline_workspace *""'"); 0 0 0
6352 }
6353 0 arg3 = (gsl_bspline_workspace *)(argp3);
6354 0 result = (int)gsl_bspline_rcond((gsl_matrix const *)arg1,arg2,arg3);
6355 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
6356
6357
6358
6359 0 XSRETURN(argvi);
6360 0 fail:
6361
6362
6363
6364 0 SWIG_croak_null();
6365 }
6366 }
6367  
6368  
6369 0 XS(_wrap_gsl_bspline_err) {
6370 {
6371 double arg1 ;
6372 size_t arg2 ;
6373 0 gsl_matrix *arg3 = (gsl_matrix *) 0 ;
6374 0 double *arg4 = (double *) 0 ;
6375 0 gsl_bspline_workspace *arg5 = (gsl_bspline_workspace *) 0 ;
6376 double val1 ;
6377 0 int ecode1 = 0 ;
6378 size_t val2 ;
6379 0 int ecode2 = 0 ;
6380 0 void *argp3 = 0 ;
6381 0 int res3 = 0 ;
6382 0 void *argp4 = 0 ;
6383 0 int res4 = 0 ;
6384 0 void *argp5 = 0 ;
6385 0 int res5 = 0 ;
6386 0 int argvi = 0;
6387 int result;
6388 0 dXSARGS;
6389
6390 0 ▶ if ((items < 5) || (items > 5)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 5) || (items > 5)) { 0 0 0
if ((items < 5) || (items > 5)) { 0 0 0
6391 0 SWIG_croak("Usage: gsl_bspline_err(x,nderiv,cov,err,w);");
6392 }
6393 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
6394 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
6395 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_bspline_err" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_bspline_err" "', argument " "1"" of type '" "double""'"); 0 0 0
6396 }
6397 0 arg1 = (double)(val1);
6398 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6399 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
6400 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_bspline_err" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_bspline_err" "', argument " "2"" of type '" "size_t""'"); 0 0 0
6401 }
6402 0 arg2 = (size_t)(val2);
6403 0 res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_gsl_matrix, 0 | 0 );
6404 0 ▶ if (!SWIG_IsOK(res3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res3)) { 0 0 0
6405 0 ▶ SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_bspline_err" "', argument " "3"" of type '" "gsl_matrix const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_bspline_err" "', argument " "3"" of type '" "gsl_matrix const *""'"); 0 0 0
6406 }
6407 0 arg3 = (gsl_matrix *)(argp3);
6408 0 res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_double, 0 | 0 );
6409 0 ▶ if (!SWIG_IsOK(res4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res4)) { 0 0 0
6410 0 ▶ SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_bspline_err" "', argument " "4"" of type '" "double *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_bspline_err" "', argument " "4"" of type '" "double *""'"); 0 0 0
6411 }
6412 0 arg4 = (double *)(argp4);
6413 0 res5 = SWIG_ConvertPtr(ST(4), &argp5,SWIGTYPE_p_gsl_bspline_workspace, 0 | 0 );
6414 0 ▶ if (!SWIG_IsOK(res5)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res5)) { 0 0 0
6415 0 ▶ SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "gsl_bspline_err" "', argument " "5"" of type '" "gsl_bspline_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "gsl_bspline_err" "', argument " "5"" of type '" "gsl_bspline_workspace *""'"); 0 0 0
6416 }
6417 0 arg5 = (gsl_bspline_workspace *)(argp5);
6418 0 result = (int)gsl_bspline_err(arg1,arg2,(gsl_matrix const *)arg3,arg4,arg5);
6419 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
6420
6421
6422
6423
6424
6425 0 XSRETURN(argvi);
6426 0 fail:
6427
6428
6429
6430
6431
6432 0 SWIG_croak_null();
6433 }
6434 }
6435  
6436  
6437 0 XS(_wrap_gsl_bspline_ncoeffs) {
6438 {
6439 0 gsl_bspline_workspace *arg1 = (gsl_bspline_workspace *) 0 ;
6440 0 void *argp1 = 0 ;
6441 0 int res1 = 0 ;
6442 0 int argvi = 0;
6443 size_t result;
6444 0 dXSARGS;
6445
6446 0 ▶ if ((items < 1) || (items > 1)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 1) || (items > 1)) { 0 0 0
if ((items < 1) || (items > 1)) { 0 0 0
6447 0 SWIG_croak("Usage: gsl_bspline_ncoeffs(w);");
6448 }
6449 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_bspline_workspace, 0 | 0 );
6450 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
6451 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_ncoeffs" "', argument " "1"" of type '" "gsl_bspline_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_ncoeffs" "', argument " "1"" of type '" "gsl_bspline_workspace *""'"); 0 0 0
6452 }
6453 0 arg1 = (gsl_bspline_workspace *)(argp1);
6454 0 result = gsl_bspline_ncoeffs(arg1);
6455 0 ST(argvi) = SWIG_From_size_t SWIG_PERL_CALL_ARGS_1((size_t)(result)); argvi++ ;
6456
6457 0 XSRETURN(argvi);
6458 0 fail:
6459
6460 0 SWIG_croak_null();
6461 }
6462 }
6463  
6464  
6465 0 XS(_wrap_gsl_bspline_knots) {
6466 {
6467 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
6468 0 gsl_bspline_workspace *arg2 = (gsl_bspline_workspace *) 0 ;
6469 0 void *argp1 = 0 ;
6470 0 int res1 = 0 ;
6471 0 void *argp2 = 0 ;
6472 0 int res2 = 0 ;
6473 0 int argvi = 0;
6474 int result;
6475 0 dXSARGS;
6476
6477 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
6478 0 SWIG_croak("Usage: gsl_bspline_knots(breakpts,w);");
6479 }
6480 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
6481 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
6482 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_knots" "', argument " "1"" of type '" "gsl_vector const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_knots" "', argument " "1"" of type '" "gsl_vector const *""'"); 0 0 0
6483 }
6484 0 arg1 = (gsl_vector *)(argp1);
6485 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_bspline_workspace, 0 | 0 );
6486 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
6487 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_knots" "', argument " "2"" of type '" "gsl_bspline_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_knots" "', argument " "2"" of type '" "gsl_bspline_workspace *""'"); 0 0 0
6488 }
6489 0 arg2 = (gsl_bspline_workspace *)(argp2);
6490 0 result = (int)gsl_bspline_knots((gsl_vector const *)arg1,arg2);
6491 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
6492
6493
6494 0 XSRETURN(argvi);
6495 0 fail:
6496
6497
6498 0 SWIG_croak_null();
6499 }
6500 }
6501  
6502  
6503 0 XS(_wrap_gsl_bspline_knots_uniform) {
6504 {
6505 double arg1 ;
6506 double arg2 ;
6507 0 gsl_bspline_workspace *arg3 = (gsl_bspline_workspace *) 0 ;
6508 double val1 ;
6509 0 int ecode1 = 0 ;
6510 double val2 ;
6511 0 int ecode2 = 0 ;
6512 0 void *argp3 = 0 ;
6513 0 int res3 = 0 ;
6514 0 int argvi = 0;
6515 int result;
6516 0 dXSARGS;
6517
6518 0 ▶ if ((items < 3) || (items > 3)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 3) || (items > 3)) { 0 0 0
if ((items < 3) || (items > 3)) { 0 0 0
6519 0 SWIG_croak("Usage: gsl_bspline_knots_uniform(a,b,w);");
6520 }
6521 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
6522 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
6523 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_bspline_knots_uniform" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_bspline_knots_uniform" "', argument " "1"" of type '" "double""'"); 0 0 0
6524 }
6525 0 arg1 = (double)(val1);
6526 0 ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6527 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
6528 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_bspline_knots_uniform" "', argument " "2"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_bspline_knots_uniform" "', argument " "2"" of type '" "double""'"); 0 0 0
6529 }
6530 0 arg2 = (double)(val2);
6531 0 res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_gsl_bspline_workspace, 0 | 0 );
6532 0 ▶ if (!SWIG_IsOK(res3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res3)) { 0 0 0
6533 0 ▶ SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_bspline_knots_uniform" "', argument " "3"" of type '" "gsl_bspline_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_bspline_knots_uniform" "', argument " "3"" of type '" "gsl_bspline_workspace *""'"); 0 0 0
6534 }
6535 0 arg3 = (gsl_bspline_workspace *)(argp3);
6536 0 result = (int)gsl_bspline_knots_uniform(arg1,arg2,arg3);
6537 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
6538
6539
6540
6541 0 XSRETURN(argvi);
6542 0 fail:
6543
6544
6545
6546 0 SWIG_croak_null();
6547 }
6548 }
6549  
6550  
6551 0 XS(_wrap_gsl_bspline_eval) {
6552 {
6553 double arg1 ;
6554 0 gsl_vector *arg2 = (gsl_vector *) 0 ;
6555 0 gsl_bspline_workspace *arg3 = (gsl_bspline_workspace *) 0 ;
6556 double val1 ;
6557 0 int ecode1 = 0 ;
6558 0 void *argp2 = 0 ;
6559 0 int res2 = 0 ;
6560 0 void *argp3 = 0 ;
6561 0 int res3 = 0 ;
6562 0 int argvi = 0;
6563 int result;
6564 0 dXSARGS;
6565
6566 0 ▶ if ((items < 3) || (items > 3)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 3) || (items > 3)) { 0 0 0
if ((items < 3) || (items > 3)) { 0 0 0
6567 0 SWIG_croak("Usage: gsl_bspline_eval(x,B,w);");
6568 }
6569 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
6570 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
6571 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_bspline_eval" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_bspline_eval" "', argument " "1"" of type '" "double""'"); 0 0 0
6572 }
6573 0 arg1 = (double)(val1);
6574 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_vector, 0 | 0 );
6575 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
6576 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_eval" "', argument " "2"" of type '" "gsl_vector *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_eval" "', argument " "2"" of type '" "gsl_vector *""'"); 0 0 0
6577 }
6578 0 arg2 = (gsl_vector *)(argp2);
6579 0 res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_gsl_bspline_workspace, 0 | 0 );
6580 0 ▶ if (!SWIG_IsOK(res3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res3)) { 0 0 0
6581 0 ▶ SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_bspline_eval" "', argument " "3"" of type '" "gsl_bspline_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_bspline_eval" "', argument " "3"" of type '" "gsl_bspline_workspace *""'"); 0 0 0
6582 }
6583 0 arg3 = (gsl_bspline_workspace *)(argp3);
6584 0 result = (int)gsl_bspline_eval(arg1,arg2,arg3);
6585 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
6586
6587
6588
6589 0 XSRETURN(argvi);
6590 0 fail:
6591
6592
6593
6594 0 SWIG_croak_null();
6595 }
6596 }
6597  
6598  
6599 0 XS(_wrap_gsl_bspline_deriv_eval) {
6600 {
6601 double arg1 ;
6602 size_t arg2 ;
6603 0 gsl_matrix *arg3 = (gsl_matrix *) 0 ;
6604 0 gsl_bspline_workspace *arg4 = (gsl_bspline_workspace *) 0 ;
6605 double val1 ;
6606 0 int ecode1 = 0 ;
6607 size_t val2 ;
6608 0 int ecode2 = 0 ;
6609 0 void *argp3 = 0 ;
6610 0 int res3 = 0 ;
6611 0 void *argp4 = 0 ;
6612 0 int res4 = 0 ;
6613 0 int argvi = 0;
6614 int result;
6615 0 dXSARGS;
6616
6617 0 ▶ if ((items < 4) || (items > 4)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 4) || (items > 4)) { 0 0 0
if ((items < 4) || (items > 4)) { 0 0 0
6618 0 SWIG_croak("Usage: gsl_bspline_deriv_eval(x,nderiv,dB,w);");
6619 }
6620 0 ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
6621 0 ▶ if (!SWIG_IsOK(ecode1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode1)) { 0 0 0
6622 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_bspline_deriv_eval" "', argument " "1"" of type '" "double""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "gsl_bspline_deriv_eval" "', argument " "1"" of type '" "double""'"); 0 0 0
6623 }
6624 0 arg1 = (double)(val1);
6625 0 ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6626 0 ▶ if (!SWIG_IsOK(ecode2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(ecode2)) { 0 0 0
6627 0 ▶ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_bspline_deriv_eval" "', argument " "2"" of type '" "size_t""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "gsl_bspline_deriv_eval" "', argument " "2"" of type '" "size_t""'"); 0 0 0
6628 }
6629 0 arg2 = (size_t)(val2);
6630 0 res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_gsl_matrix, 0 | 0 );
6631 0 ▶ if (!SWIG_IsOK(res3)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res3)) { 0 0 0
6632 0 ▶ SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_bspline_deriv_eval" "', argument " "3"" of type '" "gsl_matrix *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "gsl_bspline_deriv_eval" "', argument " "3"" of type '" "gsl_matrix *""'"); 0 0 0
6633 }
6634 0 arg3 = (gsl_matrix *)(argp3);
6635 0 res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_gsl_bspline_workspace, 0 | 0 );
6636 0 ▶ if (!SWIG_IsOK(res4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res4)) { 0 0 0
6637 0 ▶ SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_bspline_deriv_eval" "', argument " "4"" of type '" "gsl_bspline_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "gsl_bspline_deriv_eval" "', argument " "4"" of type '" "gsl_bspline_workspace *""'"); 0 0 0
6638 }
6639 0 arg4 = (gsl_bspline_workspace *)(argp4);
6640 0 result = (int)gsl_bspline_deriv_eval(arg1,arg2,arg3,arg4);
6641 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
6642
6643
6644
6645
6646 0 XSRETURN(argvi);
6647 0 fail:
6648
6649
6650
6651
6652 0 SWIG_croak_null();
6653 }
6654 }
6655  
6656  
6657 0 XS(_wrap_gsl_bspline_knots_greville) {
6658 {
6659 0 gsl_vector *arg1 = (gsl_vector *) 0 ;
6660 0 gsl_bspline_workspace *arg2 = (gsl_bspline_workspace *) 0 ;
6661 0 double *arg3 = (double *) 0 ;
6662 0 void *argp1 = 0 ;
6663 0 int res1 = 0 ;
6664 0 void *argp2 = 0 ;
6665 0 int res2 = 0 ;
6666 double temp3 ;
6667 0 int res3 = SWIG_TMPOBJ ;
6668 0 int argvi = 0;
6669 int result;
6670 0 dXSARGS;
6671
6672 0 arg3 = &temp3;
6673 0 ▶ if ((items < 2) || (items > 2)) {
Branch: 2 branches
BranchTrueFalseTotal
if ((items < 2) || (items > 2)) { 0 0 0
if ((items < 2) || (items > 2)) { 0 0 0
6674 0 SWIG_croak("Usage: gsl_bspline_knots_greville(abscissae,w);");
6675 }
6676 0 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_gsl_vector, 0 | 0 );
6677 0 ▶ if (!SWIG_IsOK(res1)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res1)) { 0 0 0
6678 0 ▶ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_knots_greville" "', argument " "1"" of type '" "gsl_vector const *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "gsl_bspline_knots_greville" "', argument " "1"" of type '" "gsl_vector const *""'"); 0 0 0
6679 }
6680 0 arg1 = (gsl_vector *)(argp1);
6681 0 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_gsl_bspline_workspace, 0 | 0 );
6682 0 ▶ if (!SWIG_IsOK(res2)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!SWIG_IsOK(res2)) { 0 0 0
6683 0 ▶ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_knots_greville" "', argument " "2"" of type '" "gsl_bspline_workspace *""'");
Branch: 1 branch
BranchTrueFalseTotal
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "gsl_bspline_knots_greville" "', argument " "2"" of type '" "gsl_bspline_workspace *""'"); 0 0 0
6684 }
6685 0 arg2 = (gsl_bspline_workspace *)(argp2);
6686 0 result = (int)gsl_bspline_knots_greville((gsl_vector const *)arg1,arg2,arg3);
6687 0 ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
6688 0 ▶ if (SWIG_IsTmpObj(res3)) {
Branch: 2 branches
BranchTrueFalseTotal
if (SWIG_IsTmpObj(res3)) { 0 0 0
if (SWIG_IsTmpObj(res3)) { 0 0 0
6689 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
6690 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
6691 0 ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((*arg3)); argvi++ /*@SWIG@*/;
6692 } else {
6693 0 ▶ int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0) : 0;
Branch: 2 branches
BranchTrueFalseTotal
int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0) : 0; 0 0 0
6694 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,59,%append_output@*/
6695 0 ▶ if (argvi >= items) EXTEND(sp, argvi+1);
Branch: 3 branches
BranchTrueFalseTotal
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
if (argvi >= items) EXTEND(sp, argvi+1); 0 0 0
6696 0 ST(argvi) = SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, new_flags); argvi++ /*@SWIG@*/;
6697 }
6698
6699
6700
6701 0 XSRETURN(argvi);
6702 0 fail:
6703
6704
6705
6706 0 SWIG_croak_null();
6707 }
6708 }
6709  
6710  
6711  
6712 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
6713  
6714 static swig_type_info _swigt__p_FILE = {"_p_FILE", "FILE *", 0, 0, (void*)0, 0};
6715 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
6716 static swig_type_info _swigt__p_double = {"_p_double", "double *", 0, 0, (void*)0, 0};
6717 static swig_type_info _swigt__p_f_double_a___double_p_void__int = {"_p_f_double_a___double_p_void__int", "int (*)(double,double [],void *)", 0, 0, (void*)0, 0};
6718 static swig_type_info _swigt__p_f_double_p_void__double = {"_p_f_double_p_void__double", "double (*)(double,void *)", 0, 0, (void*)0, 0};
6719 static swig_type_info _swigt__p_f_double_p_void_p_double_p_double__void = {"_p_f_double_p_void_p_double_p_double__void", "void (*)(double,void *,double *,double *)", 0, 0, (void*)0, 0};
6720 static swig_type_info _swigt__p_f_p_q_const__char_p_q_const__char_int_int__void = {"_p_f_p_q_const__char_p_q_const__char_int_int__void", "gsl_error_handler_t *|void (*)(char const *,char const *,int,int)", 0, 0, (void*)0, 0};
6721 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};
6722 static swig_type_info _swigt__p_gsl_bspline_workspace = {"_p_gsl_bspline_workspace", "gsl_bspline_workspace *", 0, 0, (void*)"Math::GSL::BSpline::gsl_bspline_workspace", 0};
6723 static swig_type_info _swigt__p_gsl_function_fdf_struct = {"_p_gsl_function_fdf_struct", "gsl_function_fdf *|struct gsl_function_fdf_struct *|gsl_function_fdf_struct *", 0, 0, (void*)"Math::GSL::BSpline::gsl_function_fdf_struct", 0};
6724 static swig_type_info _swigt__p_gsl_function_struct = {"_p_gsl_function_struct", "gsl_function *|struct gsl_function_struct *|gsl_function_struct *", 0, 0, (void*)"Math::GSL::BSpline::gsl_function_struct", 0};
6725 static swig_type_info _swigt__p_gsl_function_vec_struct = {"_p_gsl_function_vec_struct", "gsl_function_vec *|struct gsl_function_vec_struct *|gsl_function_vec_struct *", 0, 0, (void*)"Math::GSL::BSpline::gsl_function_vec_struct", 0};
6726 static swig_type_info _swigt__p_gsl_matrix = {"_p_gsl_matrix", "gsl_matrix *", 0, 0, (void*)0, 0};
6727 static swig_type_info _swigt__p_gsl_vector = {"_p_gsl_vector", "gsl_vector *", 0, 0, (void*)0, 0};
6728 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
6729 static swig_type_info _swigt__p_size_t = {"_p_size_t", "size_t *", 0, 0, (void*)0, 0};
6730 static swig_type_info _swigt__p_void = {"_p_void", "void *", 0, 0, (void*)0, 0};
6731  
6732 static swig_type_info *swig_type_initial[] = {
6733 &_swigt__p_FILE,
6734 &_swigt__p_char,
6735 &_swigt__p_double,
6736 &_swigt__p_f_double_a___double_p_void__int,
6737 &_swigt__p_f_double_p_void__double,
6738 &_swigt__p_f_double_p_void_p_double_p_double__void,
6739 &_swigt__p_f_p_q_const__char_p_q_const__char_int_int__void,
6740 &_swigt__p_f_p_q_const__char_p_q_const__char_int_p_q_const__char__void,
6741 &_swigt__p_gsl_bspline_workspace,
6742 &_swigt__p_gsl_function_fdf_struct,
6743 &_swigt__p_gsl_function_struct,
6744 &_swigt__p_gsl_function_vec_struct,
6745 &_swigt__p_gsl_matrix,
6746 &_swigt__p_gsl_vector,
6747 &_swigt__p_int,
6748 &_swigt__p_size_t,
6749 &_swigt__p_void,
6750 };
6751  
6752 static swig_cast_info _swigc__p_FILE[] = { {&_swigt__p_FILE, 0, 0, 0},{0, 0, 0, 0}};
6753 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
6754 static swig_cast_info _swigc__p_double[] = { {&_swigt__p_double, 0, 0, 0},{0, 0, 0, 0}};
6755 static swig_cast_info _swigc__p_f_double_a___double_p_void__int[] = { {&_swigt__p_f_double_a___double_p_void__int, 0, 0, 0},{0, 0, 0, 0}};
6756 static swig_cast_info _swigc__p_f_double_p_void__double[] = { {&_swigt__p_f_double_p_void__double, 0, 0, 0},{0, 0, 0, 0}};
6757 static swig_cast_info _swigc__p_f_double_p_void_p_double_p_double__void[] = { {&_swigt__p_f_double_p_void_p_double_p_double__void, 0, 0, 0},{0, 0, 0, 0}};
6758 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}};
6759 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}};
6760 static swig_cast_info _swigc__p_gsl_bspline_workspace[] = { {&_swigt__p_gsl_bspline_workspace, 0, 0, 0},{0, 0, 0, 0}};
6761 static swig_cast_info _swigc__p_gsl_function_fdf_struct[] = { {&_swigt__p_gsl_function_fdf_struct, 0, 0, 0},{0, 0, 0, 0}};
6762 static swig_cast_info _swigc__p_gsl_function_struct[] = { {&_swigt__p_gsl_function_struct, 0, 0, 0},{0, 0, 0, 0}};
6763 static swig_cast_info _swigc__p_gsl_function_vec_struct[] = { {&_swigt__p_gsl_function_vec_struct, 0, 0, 0},{0, 0, 0, 0}};
6764 static swig_cast_info _swigc__p_gsl_matrix[] = { {&_swigt__p_gsl_matrix, 0, 0, 0},{0, 0, 0, 0}};
6765 static swig_cast_info _swigc__p_gsl_vector[] = { {&_swigt__p_gsl_vector, 0, 0, 0},{0, 0, 0, 0}};
6766 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
6767 static swig_cast_info _swigc__p_size_t[] = { {&_swigt__p_size_t, 0, 0, 0},{0, 0, 0, 0}};
6768 static swig_cast_info _swigc__p_void[] = { {&_swigt__p_void, 0, 0, 0},{0, 0, 0, 0}};
6769  
6770 static swig_cast_info *swig_cast_initial[] = {
6771 _swigc__p_FILE,
6772 _swigc__p_char,
6773 _swigc__p_double,
6774 _swigc__p_f_double_a___double_p_void__int,
6775 _swigc__p_f_double_p_void__double,
6776 _swigc__p_f_double_p_void_p_double_p_double__void,
6777 _swigc__p_f_p_q_const__char_p_q_const__char_int_int__void,
6778 _swigc__p_f_p_q_const__char_p_q_const__char_int_p_q_const__char__void,
6779 _swigc__p_gsl_bspline_workspace,
6780 _swigc__p_gsl_function_fdf_struct,
6781 _swigc__p_gsl_function_struct,
6782 _swigc__p_gsl_function_vec_struct,
6783 _swigc__p_gsl_matrix,
6784 _swigc__p_gsl_vector,
6785 _swigc__p_int,
6786 _swigc__p_size_t,
6787 _swigc__p_void,
6788 };
6789  
6790  
6791 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
6792  
6793 static swig_constant_info swig_constants[] = {
6794 {0,0,0,0,0,0}
6795 };
6796 #ifdef __cplusplus
6797 }
6798 #endif
6799 static swig_variable_info swig_variables[] = {
6800 {0,0,0,0}
6801 };
6802 static swig_command_info swig_commands[] = {
6803 {"Math::GSL::BSplinec::gsl_error", _wrap_gsl_error},
6804 {"Math::GSL::BSplinec::gsl_stream_printf", _wrap_gsl_stream_printf},
6805 {"Math::GSL::BSplinec::gsl_strerror", _wrap_gsl_strerror},
6806 {"Math::GSL::BSplinec::gsl_set_error_handler", _wrap_gsl_set_error_handler},
6807 {"Math::GSL::BSplinec::gsl_set_error_handler_off", _wrap_gsl_set_error_handler_off},
6808 {"Math::GSL::BSplinec::gsl_set_stream_handler", _wrap_gsl_set_stream_handler},
6809 {"Math::GSL::BSplinec::gsl_set_stream", _wrap_gsl_set_stream},
6810 {"Math::GSL::BSplinec::gsl_function_struct_function_set", _wrap_gsl_function_struct_function_set},
6811 {"Math::GSL::BSplinec::gsl_function_struct_function_get", _wrap_gsl_function_struct_function_get},
6812 {"Math::GSL::BSplinec::gsl_function_struct_params_set", _wrap_gsl_function_struct_params_set},
6813 {"Math::GSL::BSplinec::gsl_function_struct_params_get", _wrap_gsl_function_struct_params_get},
6814 {"Math::GSL::BSplinec::new_gsl_function_struct", _wrap_new_gsl_function_struct},
6815 {"Math::GSL::BSplinec::delete_gsl_function_struct", _wrap_delete_gsl_function_struct},
6816 {"Math::GSL::BSplinec::gsl_function_fdf_struct_f_set", _wrap_gsl_function_fdf_struct_f_set},
6817 {"Math::GSL::BSplinec::gsl_function_fdf_struct_f_get", _wrap_gsl_function_fdf_struct_f_get},
6818 {"Math::GSL::BSplinec::gsl_function_fdf_struct_df_set", _wrap_gsl_function_fdf_struct_df_set},
6819 {"Math::GSL::BSplinec::gsl_function_fdf_struct_df_get", _wrap_gsl_function_fdf_struct_df_get},
6820 {"Math::GSL::BSplinec::gsl_function_fdf_struct_fdf_set", _wrap_gsl_function_fdf_struct_fdf_set},
6821 {"Math::GSL::BSplinec::gsl_function_fdf_struct_fdf_get", _wrap_gsl_function_fdf_struct_fdf_get},
6822 {"Math::GSL::BSplinec::gsl_function_fdf_struct_params_set", _wrap_gsl_function_fdf_struct_params_set},
6823 {"Math::GSL::BSplinec::gsl_function_fdf_struct_params_get", _wrap_gsl_function_fdf_struct_params_get},
6824 {"Math::GSL::BSplinec::new_gsl_function_fdf_struct", _wrap_new_gsl_function_fdf_struct},
6825 {"Math::GSL::BSplinec::delete_gsl_function_fdf_struct", _wrap_delete_gsl_function_fdf_struct},
6826 {"Math::GSL::BSplinec::gsl_function_vec_struct_function_set", _wrap_gsl_function_vec_struct_function_set},
6827 {"Math::GSL::BSplinec::gsl_function_vec_struct_function_get", _wrap_gsl_function_vec_struct_function_get},
6828 {"Math::GSL::BSplinec::gsl_function_vec_struct_params_set", _wrap_gsl_function_vec_struct_params_set},
6829 {"Math::GSL::BSplinec::gsl_function_vec_struct_params_get", _wrap_gsl_function_vec_struct_params_get},
6830 {"Math::GSL::BSplinec::new_gsl_function_vec_struct", _wrap_new_gsl_function_vec_struct},
6831 {"Math::GSL::BSplinec::delete_gsl_function_vec_struct", _wrap_delete_gsl_function_vec_struct},
6832 {"Math::GSL::BSplinec::gsl_bspline_workspace_spline_order_set", _wrap_gsl_bspline_workspace_spline_order_set},
6833 {"Math::GSL::BSplinec::gsl_bspline_workspace_spline_order_get", _wrap_gsl_bspline_workspace_spline_order_get},
6834 {"Math::GSL::BSplinec::gsl_bspline_workspace_nbreak_set", _wrap_gsl_bspline_workspace_nbreak_set},
6835 {"Math::GSL::BSplinec::gsl_bspline_workspace_nbreak_get", _wrap_gsl_bspline_workspace_nbreak_get},
6836 {"Math::GSL::BSplinec::gsl_bspline_workspace_ncontrol_set", _wrap_gsl_bspline_workspace_ncontrol_set},
6837 {"Math::GSL::BSplinec::gsl_bspline_workspace_ncontrol_get", _wrap_gsl_bspline_workspace_ncontrol_get},
6838 {"Math::GSL::BSplinec::gsl_bspline_workspace_knots_set", _wrap_gsl_bspline_workspace_knots_set},
6839 {"Math::GSL::BSplinec::gsl_bspline_workspace_knots_get", _wrap_gsl_bspline_workspace_knots_get},
6840 {"Math::GSL::BSplinec::gsl_bspline_workspace_deltal_set", _wrap_gsl_bspline_workspace_deltal_set},
6841 {"Math::GSL::BSplinec::gsl_bspline_workspace_deltal_get", _wrap_gsl_bspline_workspace_deltal_get},
6842 {"Math::GSL::BSplinec::gsl_bspline_workspace_deltar_set", _wrap_gsl_bspline_workspace_deltar_set},
6843 {"Math::GSL::BSplinec::gsl_bspline_workspace_deltar_get", _wrap_gsl_bspline_workspace_deltar_get},
6844 {"Math::GSL::BSplinec::gsl_bspline_workspace_B_set", _wrap_gsl_bspline_workspace_B_set},
6845 {"Math::GSL::BSplinec::gsl_bspline_workspace_B_get", _wrap_gsl_bspline_workspace_B_get},
6846 {"Math::GSL::BSplinec::gsl_bspline_workspace_XTX_set", _wrap_gsl_bspline_workspace_XTX_set},
6847 {"Math::GSL::BSplinec::gsl_bspline_workspace_XTX_get", _wrap_gsl_bspline_workspace_XTX_get},
6848 {"Math::GSL::BSplinec::gsl_bspline_workspace_R_set", _wrap_gsl_bspline_workspace_R_set},
6849 {"Math::GSL::BSplinec::gsl_bspline_workspace_R_get", _wrap_gsl_bspline_workspace_R_get},
6850 {"Math::GSL::BSplinec::gsl_bspline_workspace_work_set", _wrap_gsl_bspline_workspace_work_set},
6851 {"Math::GSL::BSplinec::gsl_bspline_workspace_work_get", _wrap_gsl_bspline_workspace_work_get},
6852 {"Math::GSL::BSplinec::gsl_bspline_workspace_A_set", _wrap_gsl_bspline_workspace_A_set},
6853 {"Math::GSL::BSplinec::gsl_bspline_workspace_A_get", _wrap_gsl_bspline_workspace_A_get},
6854 {"Math::GSL::BSplinec::gsl_bspline_workspace_dB_set", _wrap_gsl_bspline_workspace_dB_set},
6855 {"Math::GSL::BSplinec::gsl_bspline_workspace_dB_get", _wrap_gsl_bspline_workspace_dB_get},
6856 {"Math::GSL::BSplinec::gsl_bspline_workspace_icache_set", _wrap_gsl_bspline_workspace_icache_set},
6857 {"Math::GSL::BSplinec::gsl_bspline_workspace_icache_get", _wrap_gsl_bspline_workspace_icache_get},
6858 {"Math::GSL::BSplinec::new_gsl_bspline_workspace", _wrap_new_gsl_bspline_workspace},
6859 {"Math::GSL::BSplinec::delete_gsl_bspline_workspace", _wrap_delete_gsl_bspline_workspace},
6860 {"Math::GSL::BSplinec::gsl_bspline_alloc", _wrap_gsl_bspline_alloc},
6861 {"Math::GSL::BSplinec::gsl_bspline_alloc_ncontrol", _wrap_gsl_bspline_alloc_ncontrol},
6862 {"Math::GSL::BSplinec::gsl_bspline_free", _wrap_gsl_bspline_free},
6863 {"Math::GSL::BSplinec::gsl_bspline_ncontrol", _wrap_gsl_bspline_ncontrol},
6864 {"Math::GSL::BSplinec::gsl_bspline_order", _wrap_gsl_bspline_order},
6865 {"Math::GSL::BSplinec::gsl_bspline_nbreak", _wrap_gsl_bspline_nbreak},
6866 {"Math::GSL::BSplinec::gsl_bspline_breakpoint", _wrap_gsl_bspline_breakpoint},
6867 {"Math::GSL::BSplinec::gsl_bspline_greville_abscissa", _wrap_gsl_bspline_greville_abscissa},
6868 {"Math::GSL::BSplinec::gsl_bspline_init_augment", _wrap_gsl_bspline_init_augment},
6869 {"Math::GSL::BSplinec::gsl_bspline_init_uniform", _wrap_gsl_bspline_init_uniform},
6870 {"Math::GSL::BSplinec::gsl_bspline_init_periodic", _wrap_gsl_bspline_init_periodic},
6871 {"Math::GSL::BSplinec::gsl_bspline_init", _wrap_gsl_bspline_init},
6872 {"Math::GSL::BSplinec::gsl_bspline_proj_rhs", _wrap_gsl_bspline_proj_rhs},
6873 {"Math::GSL::BSplinec::gsl_bspline_find_interval", _wrap_gsl_bspline_find_interval},
6874 {"Math::GSL::BSplinec::gsl_bspline_calc", _wrap_gsl_bspline_calc},
6875 {"Math::GSL::BSplinec::gsl_bspline_calc_deriv", _wrap_gsl_bspline_calc_deriv},
6876 {"Math::GSL::BSplinec::gsl_bspline_vector_calc", _wrap_gsl_bspline_vector_calc},
6877 {"Math::GSL::BSplinec::gsl_bspline_vector_calc_deriv", _wrap_gsl_bspline_vector_calc_deriv},
6878 {"Math::GSL::BSplinec::gsl_bspline_eval_basis", _wrap_gsl_bspline_eval_basis},
6879 {"Math::GSL::BSplinec::gsl_bspline_basis", _wrap_gsl_bspline_basis},
6880 {"Math::GSL::BSplinec::gsl_bspline_eval_deriv_basis", _wrap_gsl_bspline_eval_deriv_basis},
6881 {"Math::GSL::BSplinec::gsl_bspline_basis_deriv", _wrap_gsl_bspline_basis_deriv},
6882 {"Math::GSL::BSplinec::gsl_bspline_init_greville", _wrap_gsl_bspline_init_greville},
6883 {"Math::GSL::BSplinec::gsl_bspline_gram", _wrap_gsl_bspline_gram},
6884 {"Math::GSL::BSplinec::gsl_bspline_gram_interval", _wrap_gsl_bspline_gram_interval},
6885 {"Math::GSL::BSplinec::gsl_bspline_oprod", _wrap_gsl_bspline_oprod},
6886 {"Math::GSL::BSplinec::gsl_bspline_calc_integ", _wrap_gsl_bspline_calc_integ},
6887 {"Math::GSL::BSplinec::gsl_bspline_basis_integ", _wrap_gsl_bspline_basis_integ},
6888 {"Math::GSL::BSplinec::gsl_bspline_init_interp", _wrap_gsl_bspline_init_interp},
6889 {"Math::GSL::BSplinec::gsl_bspline_init_hermite", _wrap_gsl_bspline_init_hermite},
6890 {"Math::GSL::BSplinec::gsl_bspline_col_interp", _wrap_gsl_bspline_col_interp},
6891 {"Math::GSL::BSplinec::gsl_bspline_interp_chermite", _wrap_gsl_bspline_interp_chermite},
6892 {"Math::GSL::BSplinec::gsl_bspline_lssolve", _wrap_gsl_bspline_lssolve},
6893 {"Math::GSL::BSplinec::gsl_bspline_wlssolve", _wrap_gsl_bspline_wlssolve},
6894 {"Math::GSL::BSplinec::gsl_bspline_lsnormal", _wrap_gsl_bspline_lsnormal},
6895 {"Math::GSL::BSplinec::gsl_bspline_lsnormalm", _wrap_gsl_bspline_lsnormalm},
6896 {"Math::GSL::BSplinec::gsl_bspline_plssolve", _wrap_gsl_bspline_plssolve},
6897 {"Math::GSL::BSplinec::gsl_bspline_pwlssolve", _wrap_gsl_bspline_pwlssolve},
6898 {"Math::GSL::BSplinec::gsl_bspline_plsqr", _wrap_gsl_bspline_plsqr},
6899 {"Math::GSL::BSplinec::gsl_bspline_residuals", _wrap_gsl_bspline_residuals},
6900 {"Math::GSL::BSplinec::gsl_bspline_covariance", _wrap_gsl_bspline_covariance},
6901 {"Math::GSL::BSplinec::gsl_bspline_rcond", _wrap_gsl_bspline_rcond},
6902 {"Math::GSL::BSplinec::gsl_bspline_err", _wrap_gsl_bspline_err},
6903 {"Math::GSL::BSplinec::gsl_bspline_ncoeffs", _wrap_gsl_bspline_ncoeffs},
6904 {"Math::GSL::BSplinec::gsl_bspline_knots", _wrap_gsl_bspline_knots},
6905 {"Math::GSL::BSplinec::gsl_bspline_knots_uniform", _wrap_gsl_bspline_knots_uniform},
6906 {"Math::GSL::BSplinec::gsl_bspline_eval", _wrap_gsl_bspline_eval},
6907 {"Math::GSL::BSplinec::gsl_bspline_deriv_eval", _wrap_gsl_bspline_deriv_eval},
6908 {"Math::GSL::BSplinec::gsl_bspline_knots_greville", _wrap_gsl_bspline_knots_greville},
6909 {0,0}
6910 };
6911 /* -----------------------------------------------------------------------------
6912 * Type initialization:
6913 * This problem is tough by the requirement that no dynamic
6914 * memory is used. Also, since swig_type_info structures store pointers to
6915 * swig_cast_info structures and swig_cast_info structures store pointers back
6916 * to swig_type_info structures, we need some lookup code at initialization.
6917 * The idea is that swig generates all the structures that are needed.
6918 * The runtime then collects these partially filled structures.
6919 * The SWIG_InitializeModule function takes these initial arrays out of
6920 * swig_module, and does all the lookup, filling in the swig_module.types
6921 * array with the correct data and linking the correct swig_cast_info
6922 * structures together.
6923 *
6924 * The generated swig_type_info structures are assigned statically to an initial
6925 * array. We just loop through that array, and handle each type individually.
6926 * First we lookup if this type has been already loaded, and if so, use the
6927 * loaded structure instead of the generated one. Then we have to fill in the
6928 * cast linked list. The cast data is initially stored in something like a
6929 * two-dimensional array. Each row corresponds to a type (there are the same
6930 * number of rows as there are in the swig_type_initial array). Each entry in
6931 * a column is one of the swig_cast_info structures for that type.
6932 * The cast_initial array is actually an array of arrays, because each row has
6933 * a variable number of columns. So to actually build the cast linked list,
6934 * we find the array of casts associated with the type, and loop through it
6935 * adding the casts to the list. The one last trick we need to do is making
6936 * sure the type pointer in the swig_cast_info struct is correct.
6937 *
6938 * First off, we lookup the cast->type name to see if it is already loaded.
6939 * There are three cases to handle:
6940 * 1) If the cast->type has already been loaded AND the type we are adding
6941 * casting info to has not been loaded (it is in this module), THEN we
6942 * replace the cast->type pointer with the type pointer that has already
6943 * been loaded.
6944 * 2) If BOTH types (the one we are adding casting info to, and the
6945 * cast->type) are loaded, THEN the cast info has already been loaded by
6946 * the previous module so we just ignore it.
6947 * 3) Finally, if cast->type has not already been loaded, then we add that
6948 * swig_cast_info to the linked list (because the cast->type) pointer will
6949 * be correct.
6950 * ----------------------------------------------------------------------------- */
6951  
6952 #ifdef __cplusplus
6953 extern "C" {
6954 #if 0
6955 } /* c-mode */
6956 #endif
6957 #endif
6958  
6959 #if 0
6960 #define SWIGRUNTIME_DEBUG
6961 #endif
6962  
6963 #ifndef SWIG_INIT_CLIENT_DATA_TYPE
6964 #define SWIG_INIT_CLIENT_DATA_TYPE void *
6965 #endif
6966  
6967 SWIGRUNTIME void
6968 0 SWIG_InitializeModule(SWIG_INIT_CLIENT_DATA_TYPE clientdata) {
6969 size_t i;
6970 swig_module_info *module_head, *iter;
6971 int init;
6972
6973 /* check to see if the circular list has been setup, if not, set it up */
6974 0 ▶ if (swig_module.next==0) {
Branch: 1 branch
BranchTrueFalseTotal
if (swig_module.next==0) { 0 0 0
6975 /* Initialize the swig_module */
6976 0 swig_module.type_initial = swig_type_initial;
6977 0 swig_module.cast_initial = swig_cast_initial;
6978 0 swig_module.next = &swig_module;
6979 0 init = 1;
6980 } else {
6981 0 init = 0;
6982 }
6983
6984 /* Try and load any already created modules */
6985 0 module_head = SWIG_GetModule(clientdata);
6986 0 ▶ if (!module_head) {
Branch: 1 branch
BranchTrueFalseTotal
if (!module_head) { 0 0 0
6987 /* This is the first module loaded for this interpreter */
6988 /* so set the swig module into the interpreter */
6989 0 SWIG_SetModule(clientdata, &swig_module);
6990 } else {
6991 /* the interpreter has loaded a SWIG module, but has it loaded this one? */
6992 0 iter=module_head;
6993 do {
6994 0 ▶ if (iter==&swig_module) {
Branch: 1 branch
BranchTrueFalseTotal
if (iter==&swig_module) { 0 0 0
6995 /* Our module is already in the list, so there's nothing more to do. */
6996 0 return;
6997 }
6998 0 iter=iter->next;
6999 0 ▶ } while (iter!= module_head);
Branch: 1 branch
BranchTrueFalseTotal
} while (iter!= module_head); 0 0 0
7000
7001 /* otherwise we must add our module into the list */
7002 0 swig_module.next = module_head->next;
7003 0 module_head->next = &swig_module;
7004 }
7005
7006 /* When multiple interpreters are used, a module could have already been initialized in
7007 a different interpreter, but not yet have a pointer in this interpreter.
7008 In this case, we do not want to continue adding types... everything should be
7009 set up already */
7010 0 ▶ if (init == 0) return;
Branch: 1 branch
BranchTrueFalseTotal
if (init == 0) return; 0 0 0
7011
7012 /* Now work on filling in swig_module.types */
7013 #ifdef SWIGRUNTIME_DEBUG
7014 printf("SWIG_InitializeModule: size %lu\n", (unsigned long)swig_module.size);
7015 #endif
7016 0 ▶ for (i = 0; i < swig_module.size; ++i) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; i < swig_module.size; ++i) { 0 0 0
7017 0 swig_type_info *type = 0;
7018 swig_type_info *ret;
7019 swig_cast_info *cast;
7020
7021 #ifdef SWIGRUNTIME_DEBUG
7022 printf("SWIG_InitializeModule: type %lu %s\n", (unsigned long)i, swig_module.type_initial[i]->name);
7023 #endif
7024
7025 /* if there is another module already loaded */
7026 0 ▶ if (swig_module.next != &swig_module) {
Branch: 1 branch
BranchTrueFalseTotal
if (swig_module.next != &swig_module) { 0 0 0
7027 0 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
7028 }
7029 0 ▶ if (type) {
Branch: 1 branch
BranchTrueFalseTotal
if (type) { 0 0 0
7030 /* Overwrite clientdata field */
7031 #ifdef SWIGRUNTIME_DEBUG
7032 printf("SWIG_InitializeModule: found type %s\n", type->name);
7033 #endif
7034 0 ▶ if (swig_module.type_initial[i]->clientdata) {
Branch: 1 branch
BranchTrueFalseTotal
if (swig_module.type_initial[i]->clientdata) { 0 0 0
7035 0 type->clientdata = swig_module.type_initial[i]->clientdata;
7036 #ifdef SWIGRUNTIME_DEBUG
7037 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
7038 #endif
7039 }
7040 } else {
7041 0 type = swig_module.type_initial[i];
7042 }
7043
7044 /* Insert casting types */
7045 0 cast = swig_module.cast_initial[i];
7046 0 ▶ while (cast->type) {
Branch: 1 branch
BranchTrueFalseTotal
while (cast->type) { 0 0 0
7047 /* Don't need to add information already in the list */
7048 0 ret = 0;
7049 #ifdef SWIGRUNTIME_DEBUG
7050 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
7051 #endif
7052 0 ▶ if (swig_module.next != &swig_module) {
Branch: 1 branch
BranchTrueFalseTotal
if (swig_module.next != &swig_module) { 0 0 0
7053 0 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
7054 #ifdef SWIGRUNTIME_DEBUG
7055 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
7056 #endif
7057 }
7058 0 ▶ if (ret) {
Branch: 1 branch
BranchTrueFalseTotal
if (ret) { 0 0 0
7059 0 ▶ if (type == swig_module.type_initial[i]) {
Branch: 1 branch
BranchTrueFalseTotal
if (type == swig_module.type_initial[i]) { 0 0 0
7060 #ifdef SWIGRUNTIME_DEBUG
7061 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
7062 #endif
7063 0 cast->type = ret;
7064 0 ret = 0;
7065 } else {
7066 /* Check for casting already in the list */
7067 0 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
7068 #ifdef SWIGRUNTIME_DEBUG
7069 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
7070 #endif
7071 0 ▶ if (!ocast) ret = 0;
Branch: 1 branch
BranchTrueFalseTotal
if (!ocast) ret = 0; 0 0 0
7072 }
7073 }
7074
7075 0 ▶ if (!ret) {
Branch: 1 branch
BranchTrueFalseTotal
if (!ret) { 0 0 0
7076 #ifdef SWIGRUNTIME_DEBUG
7077 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
7078 #endif
7079 0 ▶ if (type->cast) {
Branch: 1 branch
BranchTrueFalseTotal
if (type->cast) { 0 0 0
7080 0 type->cast->prev = cast;
7081 0 cast->next = type->cast;
7082 }
7083 0 type->cast = cast;
7084 }
7085 0 cast++;
7086 }
7087 /* Set entry in modules->types array equal to the type */
7088 0 swig_module.types[i] = type;
7089 }
7090 0 swig_module.types[i] = 0;
7091
7092 #ifdef SWIGRUNTIME_DEBUG
7093 printf("**** SWIG_InitializeModule: Cast List ******\n");
7094 for (i = 0; i < swig_module.size; ++i) {
7095 int j = 0;
7096 swig_cast_info *cast = swig_module.cast_initial[i];
7097 printf("SWIG_InitializeModule: type %lu %s\n", (unsigned long)i, swig_module.type_initial[i]->name);
7098 while (cast->type) {
7099 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
7100 cast++;
7101 ++j;
7102 }
7103 printf("---- Total casts: %d\n",j);
7104 }
7105 printf("**** SWIG_InitializeModule: Cast List ******\n");
7106 #endif
7107 }
7108  
7109 /* This function will propagate the clientdata field of type to
7110 * any new swig_type_info structures that have been added into the list
7111 * of equivalent types. It is like calling
7112 * SWIG_TypeClientData(type, clientdata) a second time.
7113 */
7114 SWIGRUNTIME void
7115 0 SWIG_PropagateClientData(void) {
7116 size_t i;
7117 swig_cast_info *equiv;
7118 static int init_run = 0;
7119
7120 0 ▶ if (init_run) return;
Branch: 1 branch
BranchTrueFalseTotal
if (init_run) return; 0 0 0
7121 0 init_run = 1;
7122
7123 0 ▶ for (i = 0; i < swig_module.size; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; i < swig_module.size; i++) { 0 0 0
7124 0 ▶ if (swig_module.types[i]->clientdata) {
Branch: 1 branch
BranchTrueFalseTotal
if (swig_module.types[i]->clientdata) { 0 0 0
7125 0 equiv = swig_module.types[i]->cast;
7126 0 ▶ while (equiv) {
Branch: 1 branch
BranchTrueFalseTotal
while (equiv) { 0 0 0
7127 0 ▶ if (!equiv->converter) {
Branch: 1 branch
BranchTrueFalseTotal
if (!equiv->converter) { 0 0 0
7128 0 ▶ if (equiv->type && !equiv->type->clientdata)
Branch: 2 branches
BranchTrueFalseTotal
if (equiv->type && !equiv->type->clientdata) 0 0 0
if (equiv->type && !equiv->type->clientdata) 0 0 0
7129 0 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
7130 }
7131 0 equiv = equiv->next;
7132 }
7133 }
7134 }
7135 }
7136  
7137 #ifdef __cplusplus
7138 #if 0
7139 {
7140 /* c-mode */
7141 #endif
7142 }
7143 #endif
7144  
7145  
7146  
7147 #if defined(__cplusplus) && ! defined(XSPROTO)
7148 extern "C"
7149 #endif
7150  
7151 0 XS(SWIG_init) {
7152 0 dXSARGS;
7153 int i;
7154 (void)items;
7155
7156 0 SWIG_InitializeModule(0);
7157
7158 /* Install commands */
7159 0 ▶ for (i = 0; swig_commands[i].name; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; swig_commands[i].name; i++) { 0 0 0
7160 /* Casts only needed for Perl < 5.10. */
7161 #ifdef __cplusplus
7162 newXS(const_cast<char*>(swig_commands[i].name), swig_commands[i].wrapper, const_cast<char*>(__FILE__));
7163 #else
7164 0 newXS((char*)swig_commands[i].name, swig_commands[i].wrapper, (char*)__FILE__);
7165 #endif
7166 }
7167
7168 /* Install variables */
7169 0 ▶ for (i = 0; swig_variables[i].name; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; swig_variables[i].name; i++) { 0 0 0
7170 SV *sv;
7171 0 sv = get_sv(swig_variables[i].name, TRUE | 0x2 | GV_ADDMULTI);
7172 0 ▶ if (swig_variables[i].type) {
Branch: 1 branch
BranchTrueFalseTotal
if (swig_variables[i].type) { 0 0 0
7173 0 SWIG_MakePtr(sv,(void *)1, *swig_variables[i].type,0);
7174 } else {
7175 0 sv_setiv(sv,(IV) 0);
7176 }
7177 0 swig_create_magic(sv, swig_variables[i].name, swig_variables[i].set, swig_variables[i].get);
7178 }
7179
7180 /* Install constant */
7181 0 ▶ for (i = 0; swig_constants[i].type; i++) {
Branch: 1 branch
BranchTrueFalseTotal
for (i = 0; swig_constants[i].type; i++) { 0 0 0
7182 SV *sv;
7183 0 sv = get_sv(swig_constants[i].name, TRUE | 0x2 | GV_ADDMULTI);
7184 0 switch(swig_constants[i].type) {
7185 0 case SWIG_INT:
7186 0 sv_setiv(sv, (IV) swig_constants[i].lvalue);
7187 0 break;
7188 0 case SWIG_FLOAT:
7189 0 sv_setnv(sv, (double) swig_constants[i].dvalue);
7190 0 break;
7191 0 case SWIG_STRING:
7192 0 sv_setpv(sv, (const char *) swig_constants[i].pvalue);
7193 0 break;
7194 0 case SWIG_POINTER:
7195 0 SWIG_MakePtr(sv, swig_constants[i].pvalue, *(swig_constants[i].ptype),0);
7196 0 break;
7197 0 case SWIG_BINARY:
7198 0 SWIG_MakePackedObj(sv, swig_constants[i].pvalue, swig_constants[i].lvalue, *(swig_constants[i].ptype));
7199 0 break;
7200 0 default:
7201 0 break;
7202 }
7203 0 SvREADONLY_on(sv);
7204 }
7205
7206 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
7207 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_VERSION", TRUE | 0x2 | GV_ADDMULTI);
7208 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(2.8)));
7209 0 SvREADONLY_on(sv);
7210 } while(0) /*@SWIG@*/;
7211 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
7212 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_MAJOR_VERSION", TRUE | 0x2 | GV_ADDMULTI);
7213 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(2)));
7214 0 SvREADONLY_on(sv);
7215 } while(0) /*@SWIG@*/;
7216 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
7217 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_MINOR_VERSION", TRUE | 0x2 | GV_ADDMULTI);
7218 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(8)));
7219 0 SvREADONLY_on(sv);
7220 } while(0) /*@SWIG@*/;
7221 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
7222 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_POSZERO", TRUE | 0x2 | GV_ADDMULTI);
7223 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)((+0.0))));
7224 0 SvREADONLY_on(sv);
7225 } while(0) /*@SWIG@*/;
7226 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
7227 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_NEGZERO", TRUE | 0x2 | GV_ADDMULTI);
7228 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)((-0.0))));
7229 0 SvREADONLY_on(sv);
7230 } while(0) /*@SWIG@*/;
7231 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
7232 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_SUCCESS", TRUE | 0x2 | GV_ADDMULTI);
7233 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_SUCCESS)));
7234 0 SvREADONLY_on(sv);
7235 } while(0) /*@SWIG@*/;
7236 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
7237 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_FAILURE", TRUE | 0x2 | GV_ADDMULTI);
7238 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_FAILURE)));
7239 0 SvREADONLY_on(sv);
7240 } while(0) /*@SWIG@*/;
7241 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
7242 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_CONTINUE", TRUE | 0x2 | GV_ADDMULTI);
7243 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_CONTINUE)));
7244 0 SvREADONLY_on(sv);
7245 } while(0) /*@SWIG@*/;
7246 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
7247 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EDOM", TRUE | 0x2 | GV_ADDMULTI);
7248 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EDOM)));
7249 0 SvREADONLY_on(sv);
7250 } while(0) /*@SWIG@*/;
7251 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
7252 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ERANGE", TRUE | 0x2 | GV_ADDMULTI);
7253 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ERANGE)));
7254 0 SvREADONLY_on(sv);
7255 } while(0) /*@SWIG@*/;
7256 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
7257 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EFAULT", TRUE | 0x2 | GV_ADDMULTI);
7258 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EFAULT)));
7259 0 SvREADONLY_on(sv);
7260 } while(0) /*@SWIG@*/;
7261 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
7262 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EINVAL", TRUE | 0x2 | GV_ADDMULTI);
7263 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EINVAL)));
7264 0 SvREADONLY_on(sv);
7265 } while(0) /*@SWIG@*/;
7266 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
7267 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EFAILED", TRUE | 0x2 | GV_ADDMULTI);
7268 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EFAILED)));
7269 0 SvREADONLY_on(sv);
7270 } while(0) /*@SWIG@*/;
7271 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
7272 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EFACTOR", TRUE | 0x2 | GV_ADDMULTI);
7273 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EFACTOR)));
7274 0 SvREADONLY_on(sv);
7275 } while(0) /*@SWIG@*/;
7276 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
7277 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ESANITY", TRUE | 0x2 | GV_ADDMULTI);
7278 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ESANITY)));
7279 0 SvREADONLY_on(sv);
7280 } while(0) /*@SWIG@*/;
7281 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
7282 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ENOMEM", TRUE | 0x2 | GV_ADDMULTI);
7283 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ENOMEM)));
7284 0 SvREADONLY_on(sv);
7285 } while(0) /*@SWIG@*/;
7286 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
7287 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EBADFUNC", TRUE | 0x2 | GV_ADDMULTI);
7288 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EBADFUNC)));
7289 0 SvREADONLY_on(sv);
7290 } while(0) /*@SWIG@*/;
7291 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
7292 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ERUNAWAY", TRUE | 0x2 | GV_ADDMULTI);
7293 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ERUNAWAY)));
7294 0 SvREADONLY_on(sv);
7295 } while(0) /*@SWIG@*/;
7296 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
7297 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EMAXITER", TRUE | 0x2 | GV_ADDMULTI);
7298 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EMAXITER)));
7299 0 SvREADONLY_on(sv);
7300 } while(0) /*@SWIG@*/;
7301 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
7302 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EZERODIV", TRUE | 0x2 | GV_ADDMULTI);
7303 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EZERODIV)));
7304 0 SvREADONLY_on(sv);
7305 } while(0) /*@SWIG@*/;
7306 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
7307 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EBADTOL", TRUE | 0x2 | GV_ADDMULTI);
7308 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EBADTOL)));
7309 0 SvREADONLY_on(sv);
7310 } while(0) /*@SWIG@*/;
7311 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
7312 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ETOL", TRUE | 0x2 | GV_ADDMULTI);
7313 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ETOL)));
7314 0 SvREADONLY_on(sv);
7315 } while(0) /*@SWIG@*/;
7316 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
7317 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EUNDRFLW", TRUE | 0x2 | GV_ADDMULTI);
7318 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EUNDRFLW)));
7319 0 SvREADONLY_on(sv);
7320 } while(0) /*@SWIG@*/;
7321 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
7322 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EOVRFLW", TRUE | 0x2 | GV_ADDMULTI);
7323 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EOVRFLW)));
7324 0 SvREADONLY_on(sv);
7325 } while(0) /*@SWIG@*/;
7326 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
7327 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ELOSS", TRUE | 0x2 | GV_ADDMULTI);
7328 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ELOSS)));
7329 0 SvREADONLY_on(sv);
7330 } while(0) /*@SWIG@*/;
7331 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
7332 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EROUND", TRUE | 0x2 | GV_ADDMULTI);
7333 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EROUND)));
7334 0 SvREADONLY_on(sv);
7335 } while(0) /*@SWIG@*/;
7336 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
7337 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EBADLEN", TRUE | 0x2 | GV_ADDMULTI);
7338 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EBADLEN)));
7339 0 SvREADONLY_on(sv);
7340 } while(0) /*@SWIG@*/;
7341 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
7342 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ENOTSQR", TRUE | 0x2 | GV_ADDMULTI);
7343 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ENOTSQR)));
7344 0 SvREADONLY_on(sv);
7345 } while(0) /*@SWIG@*/;
7346 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
7347 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ESING", TRUE | 0x2 | GV_ADDMULTI);
7348 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ESING)));
7349 0 SvREADONLY_on(sv);
7350 } while(0) /*@SWIG@*/;
7351 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
7352 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EDIVERGE", TRUE | 0x2 | GV_ADDMULTI);
7353 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EDIVERGE)));
7354 0 SvREADONLY_on(sv);
7355 } while(0) /*@SWIG@*/;
7356 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
7357 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EUNSUP", TRUE | 0x2 | GV_ADDMULTI);
7358 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EUNSUP)));
7359 0 SvREADONLY_on(sv);
7360 } while(0) /*@SWIG@*/;
7361 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
7362 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EUNIMPL", TRUE | 0x2 | GV_ADDMULTI);
7363 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EUNIMPL)));
7364 0 SvREADONLY_on(sv);
7365 } while(0) /*@SWIG@*/;
7366 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
7367 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ECACHE", TRUE | 0x2 | GV_ADDMULTI);
7368 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ECACHE)));
7369 0 SvREADONLY_on(sv);
7370 } while(0) /*@SWIG@*/;
7371 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
7372 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ETABLE", TRUE | 0x2 | GV_ADDMULTI);
7373 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ETABLE)));
7374 0 SvREADONLY_on(sv);
7375 } while(0) /*@SWIG@*/;
7376 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
7377 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ENOPROG", TRUE | 0x2 | GV_ADDMULTI);
7378 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ENOPROG)));
7379 0 SvREADONLY_on(sv);
7380 } while(0) /*@SWIG@*/;
7381 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
7382 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ENOPROGJ", TRUE | 0x2 | GV_ADDMULTI);
7383 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ENOPROGJ)));
7384 0 SvREADONLY_on(sv);
7385 } while(0) /*@SWIG@*/;
7386 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
7387 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ETOLF", TRUE | 0x2 | GV_ADDMULTI);
7388 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ETOLF)));
7389 0 SvREADONLY_on(sv);
7390 } while(0) /*@SWIG@*/;
7391 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
7392 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ETOLX", TRUE | 0x2 | GV_ADDMULTI);
7393 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ETOLX)));
7394 0 SvREADONLY_on(sv);
7395 } while(0) /*@SWIG@*/;
7396 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
7397 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_ETOLG", TRUE | 0x2 | GV_ADDMULTI);
7398 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_ETOLG)));
7399 0 SvREADONLY_on(sv);
7400 } while(0) /*@SWIG@*/;
7401 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
7402 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_EOF", TRUE | 0x2 | GV_ADDMULTI);
7403 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(GSL_EOF)));
7404 0 SvREADONLY_on(sv);
7405 } while(0) /*@SWIG@*/;
7406 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
7407 0 SV *sv = get_sv((char*) SWIG_prefix "GSL_DISABLE_DEPRECATED", TRUE | 0x2 | GV_ADDMULTI);
7408 0 sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(1)));
7409 0 SvREADONLY_on(sv);
7410 } while(0) /*@SWIG@*/;
7411 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
7412 0 SV *sv = get_sv((char*) SWIG_prefix "M_E", TRUE | 0x2 | GV_ADDMULTI);
7413 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(2.71828182845904523536028747135)));
7414 0 SvREADONLY_on(sv);
7415 } while(0) /*@SWIG@*/;
7416 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
7417 0 SV *sv = get_sv((char*) SWIG_prefix "M_LOG2E", TRUE | 0x2 | GV_ADDMULTI);
7418 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(1.44269504088896340735992468100)));
7419 0 SvREADONLY_on(sv);
7420 } while(0) /*@SWIG@*/;
7421 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
7422 0 SV *sv = get_sv((char*) SWIG_prefix "M_LOG10E", TRUE | 0x2 | GV_ADDMULTI);
7423 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(0.43429448190325182765112891892)));
7424 0 SvREADONLY_on(sv);
7425 } while(0) /*@SWIG@*/;
7426 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
7427 0 SV *sv = get_sv((char*) SWIG_prefix "M_SQRT2", TRUE | 0x2 | GV_ADDMULTI);
7428 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(1.41421356237309504880168872421)));
7429 0 SvREADONLY_on(sv);
7430 } while(0) /*@SWIG@*/;
7431 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
7432 0 SV *sv = get_sv((char*) SWIG_prefix "M_SQRT1_2", TRUE | 0x2 | GV_ADDMULTI);
7433 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(0.70710678118654752440084436210)));
7434 0 SvREADONLY_on(sv);
7435 } while(0) /*@SWIG@*/;
7436 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
7437 0 SV *sv = get_sv((char*) SWIG_prefix "M_SQRT3", TRUE | 0x2 | GV_ADDMULTI);
7438 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(1.73205080756887729352744634151)));
7439 0 SvREADONLY_on(sv);
7440 } while(0) /*@SWIG@*/;
7441 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
7442 0 SV *sv = get_sv((char*) SWIG_prefix "M_PI", TRUE | 0x2 | GV_ADDMULTI);
7443 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(3.14159265358979323846264338328)));
7444 0 SvREADONLY_on(sv);
7445 } while(0) /*@SWIG@*/;
7446 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
7447 0 SV *sv = get_sv((char*) SWIG_prefix "M_PI_2", TRUE | 0x2 | GV_ADDMULTI);
7448 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(1.57079632679489661923132169164)));
7449 0 SvREADONLY_on(sv);
7450 } while(0) /*@SWIG@*/;
7451 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
7452 0 SV *sv = get_sv((char*) SWIG_prefix "M_PI_4", TRUE | 0x2 | GV_ADDMULTI);
7453 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(0.78539816339744830961566084582)));
7454 0 SvREADONLY_on(sv);
7455 } while(0) /*@SWIG@*/;
7456 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
7457 0 SV *sv = get_sv((char*) SWIG_prefix "M_SQRTPI", TRUE | 0x2 | GV_ADDMULTI);
7458 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(1.77245385090551602729816748334)));
7459 0 SvREADONLY_on(sv);
7460 } while(0) /*@SWIG@*/;
7461 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
7462 0 SV *sv = get_sv((char*) SWIG_prefix "M_2_SQRTPI", TRUE | 0x2 | GV_ADDMULTI);
7463 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(1.12837916709551257389615890312)));
7464 0 SvREADONLY_on(sv);
7465 } while(0) /*@SWIG@*/;
7466 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
7467 0 SV *sv = get_sv((char*) SWIG_prefix "M_1_PI", TRUE | 0x2 | GV_ADDMULTI);
7468 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(0.31830988618379067153776752675)));
7469 0 SvREADONLY_on(sv);
7470 } while(0) /*@SWIG@*/;
7471 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
7472 0 SV *sv = get_sv((char*) SWIG_prefix "M_2_PI", TRUE | 0x2 | GV_ADDMULTI);
7473 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(0.63661977236758134307553505349)));
7474 0 SvREADONLY_on(sv);
7475 } while(0) /*@SWIG@*/;
7476 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
7477 0 SV *sv = get_sv((char*) SWIG_prefix "M_LN10", TRUE | 0x2 | GV_ADDMULTI);
7478 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(2.30258509299404568401799145468)));
7479 0 SvREADONLY_on(sv);
7480 } while(0) /*@SWIG@*/;
7481 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
7482 0 SV *sv = get_sv((char*) SWIG_prefix "M_LN2", TRUE | 0x2 | GV_ADDMULTI);
7483 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(0.69314718055994530941723212146)));
7484 0 SvREADONLY_on(sv);
7485 } while(0) /*@SWIG@*/;
7486 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
7487 0 SV *sv = get_sv((char*) SWIG_prefix "M_LNPI", TRUE | 0x2 | GV_ADDMULTI);
7488 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(1.14472988584940017414342735135)));
7489 0 SvREADONLY_on(sv);
7490 } while(0) /*@SWIG@*/;
7491 /*@SWIG:/usr/share/swig4.0/perl5/perltypemaps.swg,67,%set_constant@*/ do {
7492 0 SV *sv = get_sv((char*) SWIG_prefix "M_EULER", TRUE | 0x2 | GV_ADDMULTI);
7493 0 sv_setsv(sv, SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(0.57721566490153286060651209008)));
7494 0 SvREADONLY_on(sv);
7495 } while(0) /*@SWIG@*/;
7496 0 SWIG_TypeClientData(SWIGTYPE_p_gsl_function_struct, (void*) "Math::GSL::BSpline::gsl_function_struct");
7497 0 SWIG_TypeClientData(SWIGTYPE_p_gsl_function_fdf_struct, (void*) "Math::GSL::BSpline::gsl_function_fdf_struct");
7498 0 SWIG_TypeClientData(SWIGTYPE_p_gsl_function_vec_struct, (void*) "Math::GSL::BSpline::gsl_function_vec_struct");
7499 0 SWIG_TypeClientData(SWIGTYPE_p_gsl_bspline_workspace, (void*) "Math::GSL::BSpline::gsl_bspline_workspace");
7500 0 ST(0) = &PL_sv_yes;
7501 0 XSRETURN(1);
7502 }
7503  
« xs/BLAS_wrap.2.8.c ↑ Summary xs/CBLAS_wrap.2.8.c »