xs/Monte_wrap.2.8.c

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