1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_name_d "ml"
14 #define OCTAVE_API_VERSION_OPTION 0
18 /* SwigValueWrapper is described in swig.swg */
19 template<typename T> class SwigValueWrapper {
20 struct SwigMovePointer {
22 SwigMovePointer(T *p) : ptr(p) { }
23 ~SwigMovePointer() { delete ptr; }
24 SwigMovePointer& operator=(SwigMovePointer& rhs) { T* oldptr = ptr; ptr = 0; delete oldptr; ptr = rhs.ptr; rhs.ptr = 0; return *this; }
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 SwigValueWrapper(const SwigValueWrapper<T>& rhs);
29 SwigValueWrapper() : pointer(0) { }
30 SwigValueWrapper& operator=(const T& t) { SwigMovePointer tmp(new T(t)); pointer = tmp; return *this; }
31 operator T&() const { return *pointer.ptr; }
32 T *operator&() { return pointer.ptr; }
35 template <typename T> T SwigValueInit() {
40 /* -----------------------------------------------------------------------------
41 * This section contains generic SWIG labels for method/variable
42 * declarations/attributes, and other compiler dependent labels.
43 * ----------------------------------------------------------------------------- */
45 /* template workaround for compilers that cannot correctly implement the C++ standard */
46 #ifndef SWIGTEMPLATEDISAMBIGUATOR
47 # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
48 # define SWIGTEMPLATEDISAMBIGUATOR template
49 # elif defined(__HP_aCC)
50 /* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */
51 /* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */
52 # define SWIGTEMPLATEDISAMBIGUATOR template
54 # define SWIGTEMPLATEDISAMBIGUATOR
58 /* inline attribute */
60 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
61 # define SWIGINLINE inline
67 /* attribute recognised by some compilers to avoid 'unused' warnings */
69 # if defined(__GNUC__)
70 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
71 # define SWIGUNUSED __attribute__ ((__unused__))
76 # define SWIGUNUSED __attribute__ ((__unused__))
82 #ifndef SWIG_MSC_UNSUPPRESS_4505
83 # if defined(_MSC_VER)
84 # pragma warning(disable : 4505) /* unreferenced local function has been removed */
88 #ifndef SWIGUNUSEDPARM
90 # define SWIGUNUSEDPARM(p)
92 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
96 /* internal SWIG method */
98 # define SWIGINTERN static SWIGUNUSED
101 /* internal inline SWIG method */
102 #ifndef SWIGINTERNINLINE
103 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
106 /* exporting methods */
107 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
108 # ifndef GCC_HASCLASSVISIBILITY
109 # define GCC_HASCLASSVISIBILITY
114 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
115 # if defined(STATIC_LINKED)
118 # define SWIGEXPORT __declspec(dllexport)
121 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
122 # define SWIGEXPORT __attribute__ ((visibility("default")))
129 /* calling conventions for Windows */
131 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
132 # define SWIGSTDCALL __stdcall
138 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
139 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
140 # define _CRT_SECURE_NO_DEPRECATE
143 /* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */
144 #if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
145 # define _SCL_SECURE_NO_DEPRECATE
150 #include <octave/oct.h>
151 #include <octave/parse.h>
152 #include <octave/ov-fcn-handle.h>
153 #include <octave/Cell.h>
154 #include <octave/oct-map.h>
156 /* -----------------------------------------------------------------------------
159 * This file contains generic C API SWIG runtime support for pointer
161 * ----------------------------------------------------------------------------- */
163 /* This should only be incremented when either the layout of swig_type_info changes,
164 or for whatever reason, the runtime changes incompatibly */
165 #define SWIG_RUNTIME_VERSION "4"
167 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
168 #ifdef SWIG_TYPE_TABLE
169 # define SWIG_QUOTE_STRING(x) #x
170 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
171 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
173 # define SWIG_TYPE_TABLE_NAME
177 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
178 creating a static or dynamic library from the SWIG runtime code.
179 In 99.9% of the cases, SWIG just needs to declare them as 'static'.
181 But only do this if strictly necessary, ie, if you have problems
182 with your compiler or suchlike.
186 # define SWIGRUNTIME SWIGINTERN
189 #ifndef SWIGRUNTIMEINLINE
190 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
193 /* Generic buffer size */
194 #ifndef SWIG_BUFFER_SIZE
195 # define SWIG_BUFFER_SIZE 1024
198 /* Flags for pointer conversions */
199 #define SWIG_POINTER_DISOWN 0x1
200 #define SWIG_CAST_NEW_MEMORY 0x2
202 /* Flags for new pointer objects */
203 #define SWIG_POINTER_OWN 0x1
207 Flags/methods for returning states.
209 The SWIG conversion methods, as ConvertPtr, return and integer
210 that tells if the conversion was successful or not. And if not,
211 an error code can be returned (see swigerrors.swg for the codes).
213 Use the following macros/flags to set or process the returning
216 In old versions of SWIG, code such as the following was usually written:
218 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
224 Now you can be more explicit:
226 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
227 if (SWIG_IsOK(res)) {
233 which is the same really, but now you can also do
236 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
237 if (SWIG_IsOK(res)) {
239 if (SWIG_IsNewObj(res) {
249 I.e., now SWIG_ConvertPtr can return new objects and you can
250 identify the case and take care of the deallocation. Of course that
251 also requires SWIG_ConvertPtr to return new result values, such as
253 int SWIG_ConvertPtr(obj, ptr,...) {
255 if (<need new object>) {
256 *ptr = <ptr to new allocated object>;
259 *ptr = <ptr to old object>;
267 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
268 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
271 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
272 allows to return the 'cast rank', for example, if you have this
279 food(1) // cast rank '1' (1 -> 1.0)
280 fooi(1) // cast rank '0'
282 just use the SWIG_AddCast()/SWIG_CheckState()
286 #define SWIG_ERROR (-1)
287 #define SWIG_IsOK(r) (r >= 0)
288 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
290 /* The CastRankLimit says how many bits are used for the cast rank */
291 #define SWIG_CASTRANKLIMIT (1 << 8)
292 /* The NewMask denotes the object was created (using new/malloc) */
293 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
294 /* The TmpMask is for in/out typemaps that use temporal objects */
295 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
296 /* Simple returning values */
297 #define SWIG_BADOBJ (SWIG_ERROR)
298 #define SWIG_OLDOBJ (SWIG_OK)
299 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
300 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
301 /* Check, add and del mask methods */
302 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
303 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
304 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
305 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
306 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
307 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
310 #if defined(SWIG_CASTRANK_MODE)
311 # ifndef SWIG_TypeRank
312 # define SWIG_TypeRank unsigned long
314 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
315 # define SWIG_MAXCASTRANK (2)
317 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
318 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
319 SWIGINTERNINLINE int SWIG_AddCast(int r) {
320 return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
322 SWIGINTERNINLINE int SWIG_CheckState(int r) {
323 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
325 #else /* no cast-rank mode */
326 # define SWIG_AddCast
327 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
337 typedef void *(*swig_converter_func)(void *, int *);
338 typedef struct swig_type_info *(*swig_dycast_func)(void **);
340 /* Structure to store information on one type */
341 typedef struct swig_type_info {
342 const char *name; /* mangled name of this type */
343 const char *str; /* human readable name of this type */
344 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
345 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
346 void *clientdata; /* language specific type data */
347 int owndata; /* flag if the structure owns the clientdata */
350 /* Structure to store a type and conversion function used for casting */
351 typedef struct swig_cast_info {
352 swig_type_info *type; /* pointer to type that is equivalent to this type */
353 swig_converter_func converter; /* function to cast the void pointers */
354 struct swig_cast_info *next; /* pointer to next cast in linked list */
355 struct swig_cast_info *prev; /* pointer to the previous cast */
358 /* Structure used to store module information
359 * Each module generates one structure like this, and the runtime collects
360 * all of these structures and stores them in a circularly linked list.*/
361 typedef struct swig_module_info {
362 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
363 size_t size; /* Number of types in this module */
364 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
365 swig_type_info **type_initial; /* Array of initially generated type structures */
366 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
367 void *clientdata; /* Language specific module data */
371 Compare two type names skipping the space characters, therefore
372 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
374 Return 0 when the two name types are equivalent, as in
375 strncmp, but skipping ' '.
378 SWIG_TypeNameComp(const char *f1, const char *l1,
379 const char *f2, const char *l2) {
380 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
381 while ((*f1 == ' ') && (f1 != l1)) ++f1;
382 while ((*f2 == ' ') && (f2 != l2)) ++f2;
383 if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
385 return (int)((l1 - f1) - (l2 - f2));
389 Check type equivalence in a name list like <name1>|<name2>|...
390 Return 0 if not equal, 1 if equal
393 SWIG_TypeEquiv(const char *nb, const char *tb) {
395 const char* te = tb + strlen(tb);
397 while (!equiv && *ne) {
398 for (nb = ne; *ne; ++ne) {
399 if (*ne == '|') break;
401 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
408 Check type equivalence in a name list like <name1>|<name2>|...
409 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
412 SWIG_TypeCompare(const char *nb, const char *tb) {
414 const char* te = tb + strlen(tb);
416 while (!equiv && *ne) {
417 for (nb = ne; *ne; ++ne) {
418 if (*ne == '|') break;
420 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
430 SWIGRUNTIME swig_cast_info *
431 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
433 swig_cast_info *iter = ty->cast;
435 if (strcmp(iter->type->name, c) == 0) {
436 if (iter == ty->cast)
438 /* Move iter to the top of the linked list */
439 iter->prev->next = iter->next;
441 iter->next->prev = iter->prev;
442 iter->next = ty->cast;
444 if (ty->cast) ty->cast->prev = iter;
455 Identical to SWIG_TypeCheck, except strcmp is replaced with a pointer comparison
457 SWIGRUNTIME swig_cast_info *
458 SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *ty) {
460 swig_cast_info *iter = ty->cast;
462 if (iter->type == from) {
463 if (iter == ty->cast)
465 /* Move iter to the top of the linked list */
466 iter->prev->next = iter->next;
468 iter->next->prev = iter->prev;
469 iter->next = ty->cast;
471 if (ty->cast) ty->cast->prev = iter;
482 Cast a pointer up an inheritance hierarchy
484 SWIGRUNTIMEINLINE void *
485 SWIG_TypeCast(swig_cast_info *ty, void *ptr, int *newmemory) {
486 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr, newmemory);
490 Dynamic pointer casting. Down an inheritance hierarchy
492 SWIGRUNTIME swig_type_info *
493 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
494 swig_type_info *lastty = ty;
495 if (!ty || !ty->dcast) return ty;
496 while (ty && (ty->dcast)) {
497 ty = (*ty->dcast)(ptr);
504 Return the name associated with this type
506 SWIGRUNTIMEINLINE const char *
507 SWIG_TypeName(const swig_type_info *ty) {
512 Return the pretty name associated with this type,
513 that is an unmangled type name in a form presentable to the user.
515 SWIGRUNTIME const char *
516 SWIG_TypePrettyName(const swig_type_info *type) {
517 /* The "str" field contains the equivalent pretty names of the
518 type, separated by vertical-bar characters. We choose
519 to print the last name, as it is often (?) the most
521 if (!type) return NULL;
522 if (type->str != NULL) {
523 const char *last_name = type->str;
525 for (s = type->str; *s; s++)
526 if (*s == '|') last_name = s+1;
534 Set the clientdata field for a type
537 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
538 swig_cast_info *cast = ti->cast;
539 /* if (ti->clientdata == clientdata) return; */
540 ti->clientdata = clientdata;
543 if (!cast->converter) {
544 swig_type_info *tc = cast->type;
545 if (!tc->clientdata) {
546 SWIG_TypeClientData(tc, clientdata);
553 SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
554 SWIG_TypeClientData(ti, clientdata);
559 Search for a swig_type_info structure only by mangled name
560 Search is a O(log #types)
562 We start searching at module start, and finish searching when start == end.
563 Note: if start == end at the beginning of the function, we go all the way around
566 SWIGRUNTIME swig_type_info *
567 SWIG_MangledTypeQueryModule(swig_module_info *start,
568 swig_module_info *end,
570 swig_module_info *iter = start;
573 register size_t l = 0;
574 register size_t r = iter->size - 1;
576 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
577 register size_t i = (l + r) >> 1;
578 const char *iname = iter->types[i]->name;
580 register int compare = strcmp(name, iname);
582 return iter->types[i];
583 } else if (compare < 0) {
589 } else if (compare > 0) {
593 break; /* should never happen */
598 } while (iter != end);
603 Search for a swig_type_info structure for either a mangled name or a human readable name.
604 It first searches the mangled names of the types, which is a O(log #types)
605 If a type is not found it then searches the human readable names, which is O(#types).
607 We start searching at module start, and finish searching when start == end.
608 Note: if start == end at the beginning of the function, we go all the way around
611 SWIGRUNTIME swig_type_info *
612 SWIG_TypeQueryModule(swig_module_info *start,
613 swig_module_info *end,
615 /* STEP 1: Search the name field using binary search */
616 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
620 /* STEP 2: If the type hasn't been found, do a complete search
621 of the str field (the human readable name) */
622 swig_module_info *iter = start;
624 register size_t i = 0;
625 for (; i < iter->size; ++i) {
626 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
627 return iter->types[i];
630 } while (iter != end);
633 /* neither found a match */
638 Pack binary data into a string
641 SWIG_PackData(char *c, void *ptr, size_t sz) {
642 static const char hex[17] = "0123456789abcdef";
643 register const unsigned char *u = (unsigned char *) ptr;
644 register const unsigned char *eu = u + sz;
645 for (; u != eu; ++u) {
646 register unsigned char uu = *u;
647 *(c++) = hex[(uu & 0xf0) >> 4];
648 *(c++) = hex[uu & 0xf];
654 Unpack binary data from a string
656 SWIGRUNTIME const char *
657 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
658 register unsigned char *u = (unsigned char *) ptr;
659 register const unsigned char *eu = u + sz;
660 for (; u != eu; ++u) {
661 register char d = *(c++);
662 register unsigned char uu;
663 if ((d >= '0') && (d <= '9'))
664 uu = ((d - '0') << 4);
665 else if ((d >= 'a') && (d <= 'f'))
666 uu = ((d - ('a'-10)) << 4);
670 if ((d >= '0') && (d <= '9'))
672 else if ((d >= 'a') && (d <= 'f'))
673 uu |= (d - ('a'-10));
682 Pack 'void *' into a string buffer.
685 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
687 if ((2*sizeof(void *) + 2) > bsz) return 0;
689 r = SWIG_PackData(r,&ptr,sizeof(void *));
690 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
695 SWIGRUNTIME const char *
696 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
698 if (strcmp(c,"NULL") == 0) {
705 return SWIG_UnpackData(++c,ptr,sizeof(void *));
709 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
711 size_t lname = (name ? strlen(name) : 0);
712 if ((2*sz + 2 + lname) > bsz) return 0;
714 r = SWIG_PackData(r,ptr,sz);
716 strncpy(r,name,lname+1);
723 SWIGRUNTIME const char *
724 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
726 if (strcmp(c,"NULL") == 0) {
733 return SWIG_UnpackData(++c,ptr,sz);
741 #define SWIG_UnknownError -1
742 #define SWIG_IOError -2
743 #define SWIG_RuntimeError -3
744 #define SWIG_IndexError -4
745 #define SWIG_TypeError -5
746 #define SWIG_DivisionByZero -6
747 #define SWIG_OverflowError -7
748 #define SWIG_SyntaxError -8
749 #define SWIG_ValueError -9
750 #define SWIG_SystemError -10
751 #define SWIG_AttributeError -11
752 #define SWIG_MemoryError -12
753 #define SWIG_NullReferenceError -13
758 #if OCTAVE_API_VERSION_OPTION>0
759 #define USE_OCTAVE_API_VERSION OCTAVE_API_VERSION_OPTION
762 #include <octave/version.h>
763 #ifdef OCTAVE_API_VERSION_N
764 #define USE_OCTAVE_API_VERSION OCTAVE_API_VERSION_N
766 #else // Interim hack to distinguish between Octave 3.2 and earlier versions.
768 #define ComplexLU __ignore
769 #include <octave/CmplxLU.h>
771 #ifdef octave_Complex_LU_h
772 #define USE_OCTAVE_API_VERSION 36
774 #define USE_OCTAVE_API_VERSION 37
781 SWIGRUNTIME bool SWIG_check_num_args(const char *func_name, int num_args, int max_args, int min_args, int varargs) {
782 if (num_args > max_args && !varargs)
783 error("function %s takes at most %i arguments", func_name, max_args);
784 else if (num_args < min_args)
785 error("function %s requires at least %i arguments", func_name, min_args);
791 SWIGRUNTIME octave_value_list *SWIG_Octave_AppendOutput(octave_value_list *ovl, const octave_value &ov) {
796 SWIGRUNTIME octave_value SWIG_ErrorType(int code) {
798 case SWIG_MemoryError:
799 return "SWIG_MemoryError";
801 return "SWIG_IOError";
802 case SWIG_RuntimeError:
803 return "SWIG_RuntimeError";
804 case SWIG_IndexError:
805 return "SWIG_IndexError";
807 return "SWIG_TypeError";
808 case SWIG_DivisionByZero:
809 return "SWIG_DivisionByZero";
810 case SWIG_OverflowError:
811 return "SWIG_OverflowError";
812 case SWIG_SyntaxError:
813 return "SWIG_SyntaxError";
814 case SWIG_ValueError:
815 return "SWIG_ValueError";
816 case SWIG_SystemError:
817 return "SWIG_SystemError";
818 case SWIG_AttributeError:
819 return "SWIG_AttributeError";
821 return "SWIG unknown error";
824 SWIGRUNTIME octave_value SWIG_Error(int code, const char *msg) {
825 octave_value type(SWIG_ErrorType(code));
827 r += " (" + type.string_value() + ")";
829 return octave_value(r);
832 #define SWIG_fail goto fail
834 #define SWIG_Octave_ConvertPtr(obj, pptr, type, flags) SWIG_Octave_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
835 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Octave_ConvertPtr(obj, pptr, type, flags)
836 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Octave_ConvertPtrAndOwn(obj, pptr, type, flags, own)
837 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Octave_ConvertPtr(obj, pptr, type, flags)
838 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Octave_NewPointerObj(ptr, type, flags)
839 #define swig_owntype int
841 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Octave_ConvertPacked(obj, ptr, sz, ty)
842 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Octave_NewPackedObj(ptr, sz, type)
844 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_ConvertPtr(obj, pptr, type, 0)
845 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_NewPointerObj(ptr, type, 0)
847 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Octave_ConvertPacked(obj, ptr, sz, ty)
848 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Octave_NewPackedObj(ptr, sz, type)
850 #define SWIG_GetModule(clientdata) SWIG_Octave_GetModule(clientdata)
851 #define SWIG_SetModule(clientdata, pointer) SWIG_Octave_SetModule(clientdata,pointer);
852 #define SWIG_MODULE_CLIENTDATA_TYPE void*
854 #define Octave_Error_Occurred() 0
855 #define SWIG_Octave_AddErrorMsg(msg) {;}
857 SWIGRUNTIME swig_module_info *SWIG_Octave_GetModule(void *clientdata);
858 SWIGRUNTIME void SWIG_Octave_SetModule(void *clientdata, swig_module_info *pointer);
860 // For backward compatibility only
861 #define SWIG_POINTER_EXCEPTION 0
862 #define SWIG_arg_fail(arg) 0
864 // Runtime API implementation
870 typedef octave_value_list(*octave_func) (const octave_value_list &, int);
871 class octave_swig_type;
876 SWIGRUNTIME void swig_register_director(octave_swig_type *self, void *ptr, Director *d);
877 SWIGRUNTIME void swig_director_destroyed(octave_swig_type *self, Director *d);
878 SWIGRUNTIME void swig_director_set_self(Director *d, octave_swig_type *self);
880 SWIGRUNTIME octave_base_value *swig_value_ref(octave_swig_type *ost);
881 SWIGRUNTIME octave_swig_type *swig_value_deref(octave_value ov);
882 SWIGRUNTIME octave_swig_type *swig_value_deref(const octave_base_value &ov);
884 typedef std::map < void *, Director * > rtdir_map;
886 SWIGINTERN rtdir_map* get_rtdir_map() {
887 static swig_module_info *module = 0;
889 module = SWIG_GetModule(0);
892 if (!module->clientdata)
893 module->clientdata = new rtdir_map;
894 return (rtdir_map *) module->clientdata;
897 SWIGINTERNINLINE void set_rtdir(void *vptr, Director *d) {
898 rtdir_map* rm = get_rtdir_map();
903 SWIGINTERNINLINE void erase_rtdir(void *vptr) {
904 rtdir_map* rm = get_rtdir_map();
909 SWIGINTERNINLINE Director *get_rtdir(void *vptr) {
910 rtdir_map* rm = get_rtdir_map();
913 rtdir_map::const_iterator pos = rm->find(vptr);
914 Director *rtdir = (pos != rm->end())? pos->second : 0;
919 struct swig_octave_member {
922 octave_func get_method;
923 octave_func set_method;
924 int flags; // 1 static, 2 global
926 bool is_static() const {
928 } bool is_global() const {
933 struct swig_octave_class {
935 swig_type_info **type;
937 octave_func constructor;
938 const char *constructor_doc;
939 octave_func destructor;
940 const swig_octave_member *members;
941 const char **base_names;
942 const swig_type_info **base;
945 // octave_swig_type plays the role of both the shadow class and the class
946 // representation within Octave, since there is no support for classes.
948 // These should really be decoupled, with the class support added to Octave
949 // and the shadow class given by an m-file script. That would dramatically
950 // reduce the runtime complexity, and be more in line w/ other modules.
952 class octave_swig_type:public octave_base_value {
956 cpp_ptr(void *_ptr):ptr(_ptr), destroyed(false) {
958 typedef std::pair < const swig_type_info *, cpp_ptr > type_ptr_pair;
960 mutable swig_module_info *module;
962 const swig_type_info *construct_type; // type of special type object
963 std::vector < type_ptr_pair > types; // our c++ base classes
964 int own; // whether we call c++ destructors when we die
966 typedef std::pair < const swig_octave_member *, octave_value > member_value_pair;
967 typedef std::map < std::string, member_value_pair > member_map;
971 const swig_octave_member *find_member(const swig_type_info *type, const std::string &name) {
972 if (!type->clientdata)
974 swig_octave_class *c = (swig_octave_class *) type->clientdata;
975 const swig_octave_member *m;
976 for (m = c->members; m->name; ++m)
979 for (int j = 0; c->base_names[j]; ++j) {
982 module = SWIG_GetModule(0);
984 c->base[j] = SWIG_MangledTypeQueryModule(module, module, c->base_names[j]);
988 if ((m = find_member(c->base[j], name)))
994 member_value_pair *find_member(const std::string &name, bool insert_if_not_found) {
995 member_map::iterator it = members.find(name);
996 if (it != members.end())
998 const swig_octave_member *m;
999 for (unsigned int j = 0; j < types.size(); ++j)
1000 if ((m = find_member(types[j].first, name)))
1001 return &members.insert(std::make_pair(name, std::make_pair(m, octave_value()))).first->second;
1002 if (!insert_if_not_found)
1004 return &members[name];
1007 const swig_type_info *find_base(const std::string &name, const swig_type_info *base) {
1009 for (unsigned int j = 0; j < types.size(); ++j) {
1010 assert(types[j].first->clientdata);
1011 swig_octave_class *cj = (swig_octave_class *) types[j].first->clientdata;
1012 if (cj->name == name)
1013 return types[j].first;
1017 assert(base->clientdata);
1018 swig_octave_class *c = (swig_octave_class *) base->clientdata;
1019 for (int j = 0; c->base_names[j]; ++j) {
1022 module = SWIG_GetModule(0);
1024 c->base[j] = SWIG_MangledTypeQueryModule(module, module, c->base_names[j]);
1028 assert(c->base[j]->clientdata);
1029 swig_octave_class *cj = (swig_octave_class *) c->base[j]->clientdata;
1030 if (cj->name == name)
1036 void load_members(const swig_octave_class* c,member_map& out) const {
1037 for (const swig_octave_member *m = c->members; m->name; ++m) {
1038 if (out.find(m->name) == out.end())
1039 out.insert(std::make_pair(m->name, std::make_pair(m, octave_value())));
1041 for (int j = 0; c->base_names[j]; ++j) {
1044 module = SWIG_GetModule(0);
1046 c->base[j] = SWIG_MangledTypeQueryModule(module, module, c->base_names[j]);
1050 assert(c->base[j]->clientdata);
1051 const swig_octave_class *cj =
1052 (const swig_octave_class *) c->base[j]->clientdata;
1053 load_members(cj,out);
1057 void load_members(member_map& out) const {
1059 for (unsigned int j = 0; j < types.size(); ++j)
1060 if (types[j].first->clientdata)
1061 load_members((const swig_octave_class *) types[j].first->clientdata, out);
1064 octave_value_list member_invoke(member_value_pair *m, const octave_value_list &args, int nargout) {
1065 if (m->second.is_defined())
1066 return m->second.subsref("(", std::list < octave_value_list > (1, args), nargout);
1067 else if (m->first && m->first->method)
1068 return m->first->method(args, nargout);
1069 error("member not defined or not invocable");
1070 return octave_value_list();
1073 bool dispatch_unary_op(const std::string &symbol, octave_value &ret) {
1074 member_value_pair *m = find_member(symbol, false);
1075 if (!m || m->first->is_static() || m->first->is_global())
1077 octave_value_list args;
1078 args.append(as_value());
1079 octave_value_list argout(member_invoke(m, args, 1));
1080 if (argout.length() < 1)
1086 bool dispatch_binary_op(const std::string &symbol, const octave_base_value &rhs, octave_value &ret) {
1087 member_value_pair *m = find_member(symbol, false);
1088 if (!m || m->first->is_static() || m->first->is_global())
1090 octave_value_list args;
1091 args.append(as_value());
1092 args.append(make_value_hack(rhs));
1093 octave_value_list argout(member_invoke(m, args, 1));
1094 if (argout.length() < 1)
1100 bool dispatch_index_op(const std::string &symbol, const octave_value_list &rhs, octave_value_list &ret) {
1101 member_value_pair *m = find_member(symbol, false);
1102 if (!m || m->first->is_static() || m->first->is_global())
1104 octave_value_list args;
1105 args.append(as_value());
1107 octave_value_list argout(member_invoke(m, args, 1));
1108 if (argout.length() >= 1)
1113 octave_value_list member_deref(member_value_pair *m, const octave_value_list &args) {
1114 if (m->second.is_defined())
1116 else if (m->first) {
1117 if (m->first->get_method)
1118 return m->first->get_method(args, 1);
1119 else if (m->first->method)
1120 return octave_value(new octave_builtin(m->first->method));
1122 error("undefined member");
1123 return octave_value_list();
1126 static octave_value make_value_hack(const octave_base_value &x) {
1127 ((octave_swig_type &) x).count++;
1128 return octave_value((octave_base_value *) &x);
1131 octave_swig_type(const octave_swig_type &x);
1132 octave_swig_type &operator=(const octave_swig_type &rhs);
1135 octave_swig_type(void *_ptr = 0, const swig_type_info *_type = 0, int _own = 0,
1136 bool _always_static = false)
1137 : module(0), construct_type(_ptr ? 0 : _type), own(_own),
1138 always_static(_always_static) {
1140 types.push_back(std::make_pair(_type, _ptr));
1142 Swig::Director *d = Swig::get_rtdir(_ptr);
1144 Swig::swig_director_set_self(d, this);
1148 ~octave_swig_type() {
1151 for (unsigned int j = 0; j < types.size(); ++j) {
1152 if (!types[j].first || !types[j].first->clientdata)
1154 swig_octave_class *c = (swig_octave_class *) types[j].first->clientdata;
1155 if (c->destructor && !types[j].second.destroyed && types[j].second.ptr) {
1156 c->destructor(as_value(), 0);
1160 for (unsigned int j = 0; j < types.size(); ++j)
1161 Swig::erase_rtdir(types[j].second.ptr);
1164 octave_value as_value() {
1166 return Swig::swig_value_ref(this);
1178 long swig_this() const {
1181 return (long) types[0].second.ptr;
1183 const char* help_text() const {
1186 if (!types[0].first->clientdata)
1188 swig_octave_class *c = (swig_octave_class *) types[0].first->clientdata;
1189 return c->constructor_doc;
1192 std::string swig_type_name() const {
1193 // * need some way to manually name subclasses.
1194 // * eg optional first arg to subclass(), or named_subclass()
1196 for (unsigned int j = 0; j < types.size(); ++j) {
1199 if (types[j].first->clientdata) {
1200 swig_octave_class *c = (swig_octave_class *) types[j].first->clientdata;
1203 ret += types[j].first->name;
1208 void merge(octave_swig_type &rhs) {
1210 for (unsigned int j = 0; j < rhs.types.size(); ++j) {
1211 assert(!rhs.types[j].second.destroyed);
1212 Swig::Director *d = Swig::get_rtdir(rhs.types[j].second.ptr);
1214 Swig::swig_director_set_self(d, this);
1216 types.insert(types.end(), rhs.types.begin(), rhs.types.end());
1217 members.insert(rhs.members.begin(), rhs.members.end());
1219 rhs.members.clear();
1222 void install_global() {
1223 for (member_map::const_iterator it = members.begin(); it != members.end(); ++it) {
1224 if (it->second.first && it->second.first->method)
1225 install_builtin_function(it->second.first->method, it->first,
1226 it->second.first->doc?it->second.first->doc:std::string());
1227 else if (it->second.second.is_defined()) {
1228 #if USE_OCTAVE_API_VERSION<37
1229 link_to_global_variable(curr_sym_tab->lookup(it->first, true));
1231 symbol_table::varref(it->first);
1232 symbol_table::mark_global(it->first);
1234 set_global_value(it->first, it->second.second);
1236 #if USE_OCTAVE_API_VERSION<37
1237 octave_swig_type *ost = Swig::swig_value_deref(it->second.second);
1239 const char* h = ost->help_text();
1241 symbol_record *sr = global_sym_tab->lookup (it->first, true);
1250 void *cast(swig_type_info *type, int *_own, int flags) {
1253 if (flags &SWIG_POINTER_DISOWN)
1255 if (!type && types.size())
1256 return types[0].second.ptr;
1257 for (unsigned int j = 0; j < types.size(); ++j)
1258 if (type == types[j].first)
1259 return types[j].second.ptr;
1260 for (unsigned int j = 0; j < types.size(); ++j) {
1261 swig_cast_info *tc = SWIG_TypeCheck(types[j].first->name, type);
1265 void *vptr = SWIG_TypeCast(tc, types[j].second.ptr, &newmemory);
1266 assert(!newmemory); // newmemory handling not yet implemented
1272 bool is_owned() const {
1276 void director_destroyed(Swig::Director *d) {
1278 for (unsigned int j = 0; j < types.size(); ++j) {
1279 Swig::Director *dj = Swig::get_rtdir(types[j].second.ptr);
1281 types[j].second.destroyed = true;
1288 void assign(const std::string &name, const octave_value &ov) {
1289 members[name] = std::make_pair((const swig_octave_member *) 0, ov);
1292 void assign(const std::string &name, const swig_octave_member *m) {
1293 members[name] = std::make_pair(m, octave_value());
1296 octave_base_value *clone() const {
1297 // pass-by-value is probably not desired, and is harder;
1298 // requires calling copy constructors of contained types etc.
1304 octave_base_value *empty_clone() const {
1305 return new octave_swig_type();
1308 bool is_defined() const {
1312 virtual bool is_map() const {
1316 virtual octave_value subsref(const std::string &ops, const std::list < octave_value_list > &idx) {
1317 octave_value_list ovl = subsref(ops, idx, 1);
1318 return ovl.length()? ovl(0) : octave_value();
1321 virtual octave_value_list subsref(const std::string &ops, const std::list < octave_value_list > &idx, int nargout) {
1322 assert(ops.size() > 0);
1323 assert(ops.size() == idx.size());
1325 std::list < octave_value_list >::const_iterator idx_it = idx.begin();
1327 octave_value_list sub_ovl;
1329 // constructor invocation
1330 if (ops[skip] == '(' && construct_type) {
1331 assert(construct_type->clientdata);
1332 swig_octave_class *c = (swig_octave_class *) construct_type->clientdata;
1333 if (!c->constructor) {
1334 error("cannot create instance");
1335 return octave_value_list();
1337 octave_value_list args;
1339 args.append(Swig::swig_value_ref(new octave_swig_type(this, 0, 0)));
1340 args.append(*idx_it++);
1342 sub_ovl = c->constructor(args, nargout);
1344 // member dereference or invocation
1345 else if (ops[skip] == '.') {
1346 std::string subname;
1347 const swig_type_info *base = 0; // eg, a.base.base_cpp_mem
1349 octave_value_list subname_ovl(*idx_it++);
1351 assert(subname_ovl.length() == 1 && subname_ovl(0).is_string());
1352 subname = subname_ovl(0).string_value();
1354 const swig_type_info *next_base = find_base(subname, base);
1355 if (!next_base || skip >= (int) ops.size() || ops[skip] != '.')
1360 member_value_pair tmp, *m = &tmp;
1361 if (!base || !(m->first = find_member(base, subname)))
1362 m = find_member(subname, false);
1364 error("member not found");
1365 return octave_value_list();
1368 octave_value_list args;
1369 if (!always_static &&
1370 (!m->first || (!m->first->is_static() && !m->first->is_global())))
1371 args.append(as_value());
1372 if (skip < (int) ops.size() && ops[skip] == '(' &&
1373 ((m->first && m->first->method) || m->second.is_function() ||
1374 m->second.is_function_handle())) {
1375 args.append(*idx_it++);
1377 sub_ovl = member_invoke(m, args, nargout);
1379 sub_ovl = member_deref(m, args);
1384 if (ops[skip] == '(' || ops[skip] == '{') {
1385 const char *op_name = ops[skip] == '(' ? "__paren__" : "__brace__";
1386 octave_value_list args;
1387 args.append(*idx_it++);
1389 if (!dispatch_index_op(op_name, args, sub_ovl)) {
1390 error("error evaluating index operator");
1391 return octave_value_list();
1394 error("unsupported subsref");
1395 return octave_value_list();
1399 if (skip >= (int) ops.size())
1401 if (sub_ovl.length() < 1) {
1402 error("bad subs ref");
1403 return octave_value_list();
1405 return sub_ovl(0).next_subsref(nargout, ops, idx, skip);
1408 octave_value subsasgn(const std::string &ops, const std::list < octave_value_list > &idx, const octave_value &rhs) {
1409 assert(ops.size() > 0);
1410 assert(ops.size() == idx.size());
1412 std::list < octave_value_list >::const_iterator idx_it = idx.begin();
1415 if (ops.size() > 1) {
1416 std::list < octave_value_list >::const_iterator last = idx.end();
1418 std::list < octave_value_list > next_idx(idx.begin(), last);
1419 octave_value next_ov = subsref(ops.substr(0, ops.size() - 1), next_idx);
1420 next_ov.subsasgn(ops.substr(ops.size() - 1), std::list < octave_value_list > (1, *last), rhs);
1423 else if (ops[skip] == '(' || ops[skip] == '{') {
1424 const char *op_name = ops[skip] == '(' ? "__paren_asgn__" : "__brace_asgn__";
1425 member_value_pair *m = find_member(op_name, false);
1427 octave_value_list args;
1428 args.append(as_value());
1429 args.append(*idx_it);
1431 member_invoke(m, args, 1);
1433 error("%s member not found", op_name);
1436 else if (ops[skip] == '.') {
1437 octave_value_list subname_ovl(*idx_it++);
1439 assert(subname_ovl.length() == 1 &&subname_ovl(0).is_string());
1440 std::string subname = subname_ovl(0).string_value();
1442 member_value_pair *m = find_member(subname, true);
1443 if (!m->first || !m->first->set_method) {
1446 } else if (m->first->set_method) {
1447 octave_value_list args;
1448 if (!m->first->is_static() && !m->first->is_global())
1449 args.append(as_value());
1451 m->first->set_method(args, 1);
1453 error("member not assignable");
1455 error("unsupported subsasgn");
1460 virtual bool is_string() const {
1461 octave_swig_type *nc_this = const_cast < octave_swig_type *>(this);
1462 return !!nc_this->find_member("__str__", false);
1465 virtual std::string string_value(bool force = false) const {
1466 octave_swig_type *nc_this = const_cast < octave_swig_type *>(this);
1467 member_value_pair *m = nc_this->find_member("__str__", false);
1469 error("__str__ method not defined");
1470 return std::string();
1472 octave_value_list outarg = nc_this->member_invoke(m, octave_value_list(nc_this->as_value()), 1);
1473 if (outarg.length() < 1 || !outarg(0).is_string()) {
1474 error("__str__ method did not return a string");
1475 return std::string();
1477 return outarg(0).string_value();
1480 virtual Octave_map map_value() const {
1481 return Octave_map();
1484 virtual string_vector map_keys() const {
1488 string_vector keys(tmp.size());
1490 for (member_map::iterator it = tmp.begin(); it != tmp.end(); ++it)
1491 keys(k++) = it->first;
1496 virtual bool save_ascii (std::ostream& os) {
1500 virtual bool load_ascii (std::istream& is) {
1504 virtual bool save_binary (std::ostream& os, bool& save_as_floats) {
1508 virtual bool load_binary (std::istream& is, bool swap,
1509 oct_mach_info::float_format fmt) {
1513 #if defined (HAVE_HDF5)
1515 save_hdf5 (hid_t loc_id, const char *name, bool save_as_floats) {
1520 load_hdf5 (hid_t loc_id, const char *name, bool have_h5giterate_bug) {
1525 virtual octave_value convert_to_str(bool pad = false, bool force = false, char type = '"') const {
1526 return string_value();
1529 virtual octave_value convert_to_str_internal(bool pad, bool force, char type) const {
1530 return string_value();
1533 static bool dispatch_global_op(const std::string &symbol, const octave_value_list &args, octave_value &ret) {
1534 // we assume that "op_"-prefixed functions are installed in global namespace
1535 // (rather than any module namespace).
1537 octave_value fcn = get_global_value(symbol, true);
1538 if (!fcn.is_function() && !fcn.is_function_handle())
1540 ret = fcn.subsref("(", std::list < octave_value_list > (1, args));
1544 static octave_value dispatch_unary_op(const octave_base_value &x, const char *op_name) {
1545 octave_swig_type *ost = Swig::swig_value_deref(x);
1549 if (ost->dispatch_unary_op(std::string("__") + op_name + std::string("__"), ret))
1551 std::string symbol = "op_" + ost->swig_type_name() + "_" + op_name;
1552 octave_value_list args;
1553 args.append(make_value_hack(x));
1554 if (dispatch_global_op(symbol, args, ret))
1557 error("could not dispatch unary operator");
1558 return octave_value();
1561 static octave_value dispatch_binary_op(const octave_base_value &lhs, const octave_base_value &rhs, const char *op_name) {
1562 octave_swig_type *lhs_ost = Swig::swig_value_deref(lhs);
1563 octave_swig_type *rhs_ost = Swig::swig_value_deref(rhs);
1566 if (lhs_ost && lhs_ost->dispatch_binary_op(std::string("__") + op_name + std::string("__"), rhs, ret))
1570 octave_value_list args;
1571 args.append(make_value_hack(lhs));
1572 args.append(make_value_hack(rhs));
1575 symbol += lhs_ost ? lhs_ost->swig_type_name() : lhs.type_name();
1579 symbol += rhs_ost ? rhs_ost->swig_type_name() : rhs.type_name();
1580 if (dispatch_global_op(symbol, args, ret))
1584 symbol += lhs_ost ? lhs_ost->swig_type_name() : lhs.type_name();
1589 if (dispatch_global_op(symbol, args, ret))
1597 symbol += rhs_ost ? rhs_ost->swig_type_name() : rhs.type_name();
1598 if (dispatch_global_op(symbol, args, ret))
1601 error("could not dispatch binary operator");
1602 return octave_value();
1605 void print(std::ostream &os, bool pr_as_read_syntax = false) const {
1607 os << string_value();
1614 os << "{" << std::endl;
1615 for (unsigned int j = 0; j < types.size(); ++j) {
1616 if (types[j].first->clientdata) {
1617 const swig_octave_class *c = (const swig_octave_class *) types[j].first->clientdata;
1618 os << " " << c->name << ", ptr = " << types[j].second.ptr << std::endl;
1620 os << " " << types[j].first->name << ", ptr = " << types[j].second.ptr << std::endl;
1623 for (member_map::const_iterator it = tmp.begin(); it != tmp.end(); ++it) {
1624 if (it->second.first) {
1625 const char *objtype = it->second.first->method ? "method" : "variable";
1626 const char *modifier = (it->second.first->flags &1) ? "static " : (it->second.first->flags &2) ? "global " : "";
1627 os << " " << it->second.first->name << " (" << modifier << objtype << ")" << std::endl;
1628 assert(it->second.first->name == it->first);
1630 os << " " << it->first << std::endl;
1633 os << "}" << std::endl;
1637 // Octave tries hard to preserve pass-by-value semantics. Eg, assignments
1638 // will call clone() via make_unique() if there is more than one outstanding
1639 // reference to the lhs, and forces the clone's reference count to 1
1640 // (so you can't just increment your own count and return this).
1642 // One way to fix this (without modifying Octave) is to add a level of
1643 // indirection such that clone copies ref-counted pointer and we keep
1644 // pass-by-ref semantics (which are more natural/expected for C++ bindings).
1646 // Supporting both pass-by-{ref,value} and toggling via %feature/option
1649 class octave_swig_ref:public octave_base_value {
1650 octave_swig_type *ptr;
1652 octave_swig_ref(octave_swig_type *_ptr = 0)
1656 { if (ptr) ptr->decref(); }
1658 octave_swig_type *get_ptr() const
1661 octave_base_value *clone() const
1662 { if (ptr) ptr->incref(); return new octave_swig_ref(ptr); }
1664 octave_base_value *empty_clone() const
1665 { return new octave_swig_ref(0); }
1667 bool is_defined() const
1668 { return ptr->is_defined(); }
1670 virtual bool is_map() const
1671 { return ptr->is_map(); }
1673 virtual octave_value subsref(const std::string &ops, const std::list < octave_value_list > &idx)
1674 { return ptr->subsref(ops, idx); }
1676 virtual octave_value_list subsref(const std::string &ops, const std::list < octave_value_list > &idx, int nargout)
1677 { return ptr->subsref(ops, idx, nargout); }
1679 octave_value subsasgn(const std::string &ops, const std::list < octave_value_list > &idx, const octave_value &rhs)
1680 { return ptr->subsasgn(ops, idx, rhs); }
1682 virtual bool is_string() const
1683 { return ptr->is_string(); }
1685 virtual std::string string_value(bool force = false) const
1686 { return ptr->string_value(force); }
1688 virtual Octave_map map_value() const
1689 { return ptr->map_value(); }
1691 virtual string_vector map_keys() const
1692 { return ptr->map_keys(); }
1694 virtual bool save_ascii (std::ostream& os)
1695 { return ptr->save_ascii(os); }
1697 virtual bool load_ascii (std::istream& is)
1698 { return ptr->load_ascii(is); }
1700 virtual bool save_binary (std::ostream& os, bool& save_as_floats)
1701 { return ptr->save_binary(os, save_as_floats); }
1703 virtual bool load_binary (std::istream& is, bool swap,
1704 oct_mach_info::float_format fmt)
1705 { return ptr->load_binary(is, swap, fmt); }
1707 #if defined (HAVE_HDF5)
1709 save_hdf5 (hid_t loc_id, const char *name, bool save_as_floats)
1710 { return ptr->save_hdf5(loc_id, name, save_as_floats); }
1713 load_hdf5 (hid_t loc_id, const char *name, bool have_h5giterate_bug)
1714 { return ptr->load_hdf5(loc_id, name, have_h5giterate_bug); }
1717 virtual octave_value convert_to_str(bool pad = false, bool force = false, char type = '"') const
1718 { return ptr->convert_to_str(pad, force, type); }
1720 virtual octave_value convert_to_str_internal(bool pad, bool force, char type) const
1721 { return ptr->convert_to_str_internal(pad, force, type); }
1723 void print(std::ostream &os, bool pr_as_read_syntax = false) const
1724 { return ptr->print(os, pr_as_read_syntax); }
1727 DECLARE_OCTAVE_ALLOCATOR;
1728 DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA;
1730 DEFINE_OCTAVE_ALLOCATOR(octave_swig_ref);
1731 DEFINE_OV_TYPEID_FUNCTIONS_AND_DATA(octave_swig_ref, "swig_ref", "swig_ref");
1733 class octave_swig_packed:public octave_base_value {
1734 swig_type_info *type;
1735 std::vector < char > buf;
1738 octave_swig_packed(swig_type_info *_type = 0, const void *_buf = 0, size_t _buf_len = 0)
1739 : type(_type), buf((const char*)_buf, (const char*)_buf + _buf_len) {
1742 bool copy(swig_type_info *outtype, void *ptr, size_t sz) const {
1743 if (outtype && outtype != type)
1745 assert(sz <= buf.size());
1746 std::copy(buf.begin(), buf.begin()+sz, (char*)ptr);
1750 octave_base_value *clone() const {
1751 return new octave_swig_packed(*this);
1754 octave_base_value *empty_clone() const {
1755 return new octave_swig_packed();
1758 bool is_defined() const {
1762 void print(std::ostream &os, bool pr_as_read_syntax = false) const {
1763 os << "swig packed type: name = " << (type ? type->name : std::string()) << ", len = " << buf.size() << std::endl;
1767 virtual bool save_ascii (std::ostream& os) {
1771 virtual bool load_ascii (std::istream& is) {
1775 virtual bool save_binary (std::ostream& os, bool& save_as_floats) {
1779 virtual bool load_binary (std::istream& is, bool swap,
1780 oct_mach_info::float_format fmt) {
1784 #if defined (HAVE_HDF5)
1786 save_hdf5 (hid_t loc_id, const char *name, bool save_as_floats) {
1791 load_hdf5 (hid_t loc_id, const char *name, bool have_h5giterate_bug) {
1797 DECLARE_OCTAVE_ALLOCATOR;
1798 DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA;
1800 DEFINE_OCTAVE_ALLOCATOR(octave_swig_packed);
1801 DEFINE_OV_TYPEID_FUNCTIONS_AND_DATA(octave_swig_packed, "swig_packed", "swig_packed");
1803 static octave_value_list octave_set_immutable(const octave_value_list &args, int nargout) {
1804 error("attempt to set immutable member variable");
1805 return octave_value_list();
1808 struct octave_value_ref {
1809 const octave_value_list &ovl;
1812 octave_value_ref(const octave_value_list &_ovl, int _j)
1813 :ovl(_ovl), j(_j) { }
1815 operator octave_value() const {
1819 octave_value operator*() const {
1824 octave_value_list swig_subclass(const octave_value_list &args, int nargout) {
1825 octave_swig_type *top = new octave_swig_type;
1826 for (int j = 0; j < args.length(); ++j) {
1827 if (args(j).type_id() == octave_swig_ref::static_type_id()) {
1828 octave_swig_ref *osr = static_cast < octave_swig_ref *>(args(j).internal_rep());
1829 octave_swig_type *ost = osr->get_ptr();
1830 if (!ost->is_owned()) {
1831 error("cannot subclass object not constructed on octave side");
1832 return octave_value_list();
1835 } else if (args(j).is_function_handle()) {
1836 top->assign(args(j).fcn_handle_value()->fcn_name(), args(j));
1837 } else if (args(j).is_string()) {
1838 if (j + 1 >= args.length()) {
1839 error("member assignments must be of string,value form");
1840 return octave_value_list();
1842 top->assign(args(j).string_value(), args(j + 1));
1845 error("invalid arguments to subclass");
1846 return octave_value_list();
1849 return octave_value(Swig::swig_value_ref(top));
1852 octave_value_list swig_type(const octave_value_list &args, int nargout) {
1853 if (args.length() != 1) {
1854 error("swig_typeinfo must be called with only a single object");
1855 return octave_value_list();
1857 octave_swig_type *ost = Swig::swig_value_deref(args(0));
1859 error("object is not a swig_ref");
1860 return octave_value_list();
1862 return octave_value(ost->swig_type_name());
1865 octave_value_list swig_typequery(const octave_value_list &args, int nargout) {
1866 if (args.length() != 1 || !args(0).is_string()) {
1867 error("swig_typeinfo must be called with single string argument");
1868 return octave_value_list();
1870 swig_module_info *module = SWIG_GetModule(0);
1871 swig_type_info *type = SWIG_TypeQueryModule(module, module, args(0).string_value().c_str());
1873 return octave_value("<unknown>");
1874 return octave_value(type->name);
1877 octave_value_list swig_this(const octave_value_list &args, int nargout) {
1878 if (args.length() != 1) {
1879 error("swig_typeinfo must be called with only a single object");
1880 return octave_value_list();
1882 if (args(0).is_matrix_type() && args(0).rows() == 0 && args(0).columns() == 0)
1883 return octave_value(octave_uint64(0));
1884 octave_swig_type *ost = Swig::swig_value_deref(args(0));
1886 error("object is not a swig_ref");
1887 return octave_value_list();
1889 return octave_value(octave_uint64((unsigned long long) ost->swig_this()));
1892 #define SWIG_DIRECTORS
1896 octave_swig_type *self;
1899 Director(const Director &x);
1900 Director &operator=(const Director &rhs);
1903 Director(void *vptr):self(0), disowned(false) {
1904 set_rtdir(vptr, this);
1908 swig_director_destroyed(self, this);
1913 void swig_set_self(octave_swig_type *new_self) {
1918 octave_swig_type *swig_get_self() const {
1922 void swig_disown() {
1930 struct DirectorTypeMismatchException {
1931 static void raise(const char *msg) {
1933 throw(DirectorTypeMismatchException());
1936 static void raise(const octave_value &ov, const char *msg) {
1941 struct DirectorPureVirtualException {
1942 static void raise(const char *msg) {
1944 throw(DirectorPureVirtualException());
1947 static void raise(const octave_value &ov, const char *msg) {
1955 SWIGRUNTIME void swig_acquire_ownership(void *vptr) {
1960 SWIGRUNTIME void swig_acquire_ownership_array(void *vptr) {
1965 SWIGRUNTIME void swig_acquire_ownership_obj(void *vptr, int own) {
1971 SWIGRUNTIME void swig_director_destroyed(octave_swig_type *self, Director *d) {
1972 self->director_destroyed(d);
1975 SWIGRUNTIME void swig_director_set_self(Director *d, octave_swig_type *self) {
1976 d->swig_set_self(self);
1979 SWIGRUNTIME octave_base_value *swig_value_ref(octave_swig_type *ost) {
1980 return new octave_swig_ref(ost);
1983 SWIGRUNTIME octave_swig_type *swig_value_deref(octave_value ov) {
1984 if (ov.is_cell() && ov.rows() == 1 && ov.columns() == 1)
1985 ov = ov.cell_value()(0);
1986 return swig_value_deref(*ov.internal_rep());
1989 SWIGRUNTIME octave_swig_type *swig_value_deref(const octave_base_value &ov) {
1990 if (ov.type_id() != octave_swig_ref::static_type_id())
1992 const octave_swig_ref *osr = static_cast < const octave_swig_ref *>(&ov);
1993 return osr->get_ptr();
1998 #define swig_unary_op(name) \
1999 SWIGRUNTIME octave_value swig_unary_op_##name(const octave_base_value &x) { \
2000 return octave_swig_type::dispatch_unary_op(x,#name); \
2002 #define swig_binary_op(name) \
2003 SWIGRUNTIME octave_value swig_binary_op_##name(const octave_base_value&lhs,const octave_base_value &rhs) { \
2004 return octave_swig_type::dispatch_binary_op(lhs,rhs,#name); \
2006 #define swigreg_unary_op(name) \
2007 if (!octave_value_typeinfo::lookup_unary_op(octave_value::op_##name,tid)) \
2008 octave_value_typeinfo::register_unary_op(octave_value::op_##name,tid,swig_unary_op_##name);
2009 #define swigreg_binary_op(name) \
2010 if (!octave_value_typeinfo::lookup_binary_op(octave_value::op_##name,tid1,tid2)) \
2011 octave_value_typeinfo::register_binary_op(octave_value::op_##name,tid1,tid2,swig_binary_op_##name);
2014 swig_unary_op(uplus);
2015 swig_unary_op(uminus);
2016 swig_unary_op(transpose);
2017 swig_unary_op(hermitian);
2018 swig_unary_op(incr);
2019 swig_unary_op(decr);
2021 swig_binary_op(add);
2022 swig_binary_op(sub);
2023 swig_binary_op(mul);
2024 swig_binary_op(div);
2025 swig_binary_op(pow);
2026 swig_binary_op(ldiv);
2027 swig_binary_op(lshift);
2028 swig_binary_op(rshift);
2035 swig_binary_op(el_mul);
2036 swig_binary_op(el_div);
2037 swig_binary_op(el_pow);
2038 swig_binary_op(el_ldiv);
2039 swig_binary_op(el_and);
2040 swig_binary_op(el_or);
2042 SWIGRUNTIME void SWIG_InstallUnaryOps(int tid) {
2043 swigreg_unary_op(not);
2044 swigreg_unary_op(uplus);
2045 swigreg_unary_op(uminus);
2046 swigreg_unary_op(transpose);
2047 swigreg_unary_op(hermitian);
2048 swigreg_unary_op(incr);
2049 swigreg_unary_op(decr);
2051 SWIGRUNTIME void SWIG_InstallBinaryOps(int tid1, int tid2) {
2052 swigreg_binary_op(add);
2053 swigreg_binary_op(sub);
2054 swigreg_binary_op(mul);
2055 swigreg_binary_op(div);
2056 swigreg_binary_op(pow);
2057 swigreg_binary_op(ldiv);
2058 swigreg_binary_op(lshift);
2059 swigreg_binary_op(rshift);
2060 swigreg_binary_op(lt);
2061 swigreg_binary_op(le);
2062 swigreg_binary_op(eq);
2063 swigreg_binary_op(ge);
2064 swigreg_binary_op(gt);
2065 swigreg_binary_op(ne);
2066 swigreg_binary_op(el_mul);
2067 swigreg_binary_op(el_div);
2068 swigreg_binary_op(el_pow);
2069 swigreg_binary_op(el_ldiv);
2070 swigreg_binary_op(el_and);
2071 swigreg_binary_op(el_or);
2073 SWIGRUNTIME void SWIG_InstallOps(int tid) {
2074 // here we assume that tid are conseq integers increasing from zero, and
2075 // that our tid is the last one. might be better to have explicit string
2076 // list of types we should bind to, and use lookup_type to resolve their tid.
2078 SWIG_InstallUnaryOps(tid);
2079 SWIG_InstallBinaryOps(tid, tid);
2080 for (int j = 0; j < tid; ++j) {
2081 SWIG_InstallBinaryOps(j, tid);
2082 SWIG_InstallBinaryOps(tid, j);
2086 SWIGRUNTIME octave_value SWIG_Octave_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
2087 int own = (flags &SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2089 Swig::Director *d = Swig::get_rtdir(ptr);
2090 if (d && d->swig_get_self())
2091 return d->swig_get_self()->as_value();
2092 return Swig::swig_value_ref(new octave_swig_type(ptr, type, own));
2095 SWIGRUNTIME int SWIG_Octave_ConvertPtrAndOwn(octave_value ov, void **ptr, swig_type_info *type, int flags, int *own) {
2096 if (ov.is_cell() && ov.rows() == 1 && ov.columns() == 1)
2097 ov = ov.cell_value()(0);
2098 if (!ov.is_defined() ||
2099 (ov.is_matrix_type() && ov.rows() == 0 && ov.columns() == 0) ) {
2104 if (ov.type_id() != octave_swig_ref::static_type_id())
2106 octave_swig_ref *osr = static_cast < octave_swig_ref *>(ov.internal_rep());
2107 octave_swig_type *ost = osr->get_ptr();
2108 void *vptr = ost->cast(type, own, flags);
2116 SWIGRUNTIME octave_value SWIG_Octave_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
2117 return new octave_swig_packed(type, (char *) ptr, sz);
2120 SWIGRUNTIME int SWIG_Octave_ConvertPacked(const octave_value &ov, void *ptr, size_t sz, swig_type_info *type) {
2121 if (!ov.is_defined())
2123 if (ov.type_id() != octave_swig_packed::static_type_id())
2125 octave_swig_packed *ost = static_cast < octave_swig_packed *>(ov.internal_rep());
2126 return ost->copy(type, (char *) ptr, sz) ? SWIG_OK : SWIG_ERROR;
2129 void SWIG_Octave_SetConstant(octave_swig_type *module_ns, const std::string &name, const octave_value &ov) {
2130 module_ns->assign(name, ov);
2133 SWIGRUNTIME swig_module_info *SWIG_Octave_GetModule(void *clientdata) {
2134 octave_value ov = get_global_value("__SWIG_MODULE__" SWIG_TYPE_TABLE_NAME SWIG_RUNTIME_VERSION, true);
2135 if (!ov.is_defined() ||
2136 ov.type_id() != octave_swig_packed::static_type_id())
2138 const octave_swig_packed* osp =
2139 static_cast < const octave_swig_packed *> (ov.internal_rep());
2140 swig_module_info *pointer = 0;
2141 osp->copy(0, &pointer, sizeof(swig_module_info *));
2145 SWIGRUNTIME void SWIG_Octave_SetModule(void *clientdata, swig_module_info *pointer) {
2146 octave_value ov = new octave_swig_packed(0, &pointer, sizeof(swig_module_info *));
2147 const char *module_var = "__SWIG_MODULE__" SWIG_TYPE_TABLE_NAME SWIG_RUNTIME_VERSION;
2148 #if USE_OCTAVE_API_VERSION<37
2149 link_to_global_variable(curr_sym_tab->lookup(module_var, true));
2151 symbol_table::varref(module_var);
2152 symbol_table::mark_global(module_var);
2154 set_global_value(module_var, ov);
2159 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2161 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2165 #define SWIG_exception(code, msg) do { SWIG_Error(code, msg); SWIG_fail;; } while(0)
2168 /* -------- TYPES TABLE (BEGIN) -------- */
2170 #define SWIGTYPE_m_CvSVMKernel__f_int_int_p_p_q_const__float_p_q_const__float_p_float__void swig_types[0]
2171 #define SWIGTYPE_m_CvSVMSolver__f_int_p_float_p_float_bool__p_float swig_types[1]
2172 #define SWIGTYPE_m_CvSVMSolver__f_r_double_r_double__void swig_types[2]
2173 #define SWIGTYPE_m_CvSVMSolver__f_r_int_r_int__bool swig_types[3]
2174 #define SWIGTYPE_p_Calc swig_types[4]
2175 #define SWIGTYPE_p_CalcRho swig_types[5]
2176 #define SWIGTYPE_p_Cv32suf swig_types[6]
2177 #define SWIGTYPE_p_Cv64suf swig_types[7]
2178 #define SWIGTYPE_p_CvANN_MLP swig_types[8]
2179 #define SWIGTYPE_p_CvANN_MLP_TrainParams swig_types[9]
2180 #define SWIGTYPE_p_CvAttrList swig_types[10]
2181 #define SWIGTYPE_p_CvAvgComp swig_types[11]
2182 #define SWIGTYPE_p_CvBoost swig_types[12]
2183 #define SWIGTYPE_p_CvBoostParams swig_types[13]
2184 #define SWIGTYPE_p_CvBoostTree swig_types[14]
2185 #define SWIGTYPE_p_CvBox2D swig_types[15]
2186 #define SWIGTYPE_p_CvChain swig_types[16]
2187 #define SWIGTYPE_p_CvChainPtReader swig_types[17]
2188 #define SWIGTYPE_p_CvConDensation swig_types[18]
2189 #define SWIGTYPE_p_CvConnectedComp swig_types[19]
2190 #define SWIGTYPE_p_CvContour swig_types[20]
2191 #define SWIGTYPE_p_CvContourTree swig_types[21]
2192 #define SWIGTYPE_p_CvConvexityDefect swig_types[22]
2193 #define SWIGTYPE_p_CvDTree swig_types[23]
2194 #define SWIGTYPE_p_CvDTreeNode swig_types[24]
2195 #define SWIGTYPE_p_CvDTreeParams swig_types[25]
2196 #define SWIGTYPE_p_CvDTreeSplit swig_types[26]
2197 #define SWIGTYPE_p_CvDTreeTrainData swig_types[27]
2198 #define SWIGTYPE_p_CvEM swig_types[28]
2199 #define SWIGTYPE_p_CvEMParams swig_types[29]
2200 #define SWIGTYPE_p_CvERTreeTrainData swig_types[30]
2201 #define SWIGTYPE_p_CvERTrees swig_types[31]
2202 #define SWIGTYPE_p_CvFileNode swig_types[32]
2203 #define SWIGTYPE_p_CvFileStorage swig_types[33]
2204 #define SWIGTYPE_p_CvFilter swig_types[34]
2205 #define SWIGTYPE_p_CvFont swig_types[35]
2206 #define SWIGTYPE_p_CvForestERTree swig_types[36]
2207 #define SWIGTYPE_p_CvForestTree swig_types[37]
2208 #define SWIGTYPE_p_CvGenericHash swig_types[38]
2209 #define SWIGTYPE_p_CvGraph swig_types[39]
2210 #define SWIGTYPE_p_CvGraphEdge swig_types[40]
2211 #define SWIGTYPE_p_CvGraphScanner swig_types[41]
2212 #define SWIGTYPE_p_CvGraphVtx swig_types[42]
2213 #define SWIGTYPE_p_CvGraphVtx2D swig_types[43]
2214 #define SWIGTYPE_p_CvHaarClassifier swig_types[44]
2215 #define SWIGTYPE_p_CvHaarClassifierCascade swig_types[45]
2216 #define SWIGTYPE_p_CvHaarFeature swig_types[46]
2217 #define SWIGTYPE_p_CvHaarStageClassifier swig_types[47]
2218 #define SWIGTYPE_p_CvHidHaarClassifierCascade swig_types[48]
2219 #define SWIGTYPE_p_CvHistogram swig_types[49]
2220 #define SWIGTYPE_p_CvHuMoments swig_types[50]
2221 #define SWIGTYPE_p_CvKNearest swig_types[51]
2222 #define SWIGTYPE_p_CvKalman swig_types[52]
2223 #define SWIGTYPE_p_CvLineIterator swig_types[53]
2224 #define SWIGTYPE_p_CvMLData swig_types[54]
2225 #define SWIGTYPE_p_CvMSERParams swig_types[55]
2226 #define SWIGTYPE_p_CvMat swig_types[56]
2227 #define SWIGTYPE_p_CvMatND swig_types[57]
2228 #define SWIGTYPE_p_CvMatrix3 swig_types[58]
2229 #define SWIGTYPE_p_CvMemBlock swig_types[59]
2230 #define SWIGTYPE_p_CvMemStorage swig_types[60]
2231 #define SWIGTYPE_p_CvMemStoragePos swig_types[61]
2232 #define SWIGTYPE_p_CvModuleInfo swig_types[62]
2233 #define SWIGTYPE_p_CvMoments swig_types[63]
2234 #define SWIGTYPE_p_CvNArrayIterator swig_types[64]
2235 #define SWIGTYPE_p_CvNextEdgeType swig_types[65]
2236 #define SWIGTYPE_p_CvNormalBayesClassifier swig_types[66]
2237 #define SWIGTYPE_p_CvPOSITObject swig_types[67]
2238 #define SWIGTYPE_p_CvPair16u32s swig_types[68]
2239 #define SWIGTYPE_p_CvParamGrid swig_types[69]
2240 #define SWIGTYPE_p_CvPluginFuncInfo swig_types[70]
2241 #define SWIGTYPE_p_CvPoint swig_types[71]
2242 #define SWIGTYPE_p_CvPoint2D32f swig_types[72]
2243 #define SWIGTYPE_p_CvPoint2D64f swig_types[73]
2244 #define SWIGTYPE_p_CvPoint3D32f swig_types[74]
2245 #define SWIGTYPE_p_CvPoint3D64f swig_types[75]
2246 #define SWIGTYPE_p_CvQuadEdge2D swig_types[76]
2247 #define SWIGTYPE_p_CvRNG_Wrapper swig_types[77]
2248 #define SWIGTYPE_p_CvRTParams swig_types[78]
2249 #define SWIGTYPE_p_CvRTrees swig_types[79]
2250 #define SWIGTYPE_p_CvRect swig_types[80]
2251 #define SWIGTYPE_p_CvSURFParams swig_types[81]
2252 #define SWIGTYPE_p_CvSURFPoint swig_types[82]
2253 #define SWIGTYPE_p_CvSVM swig_types[83]
2254 #define SWIGTYPE_p_CvSVMDecisionFunc swig_types[84]
2255 #define SWIGTYPE_p_CvSVMKernel swig_types[85]
2256 #define SWIGTYPE_p_CvSVMKernelRow swig_types[86]
2257 #define SWIGTYPE_p_CvSVMParams swig_types[87]
2258 #define SWIGTYPE_p_CvSVMSolutionInfo swig_types[88]
2259 #define SWIGTYPE_p_CvSVMSolver swig_types[89]
2260 #define SWIGTYPE_p_CvScalar swig_types[90]
2261 #define SWIGTYPE_p_CvSeq swig_types[91]
2262 #define SWIGTYPE_p_CvSeqBlock swig_types[92]
2263 #define SWIGTYPE_p_CvSeqReader swig_types[93]
2264 #define SWIGTYPE_p_CvSeqWriter swig_types[94]
2265 #define SWIGTYPE_p_CvSet swig_types[95]
2266 #define SWIGTYPE_p_CvSetElem swig_types[96]
2267 #define SWIGTYPE_p_CvSize swig_types[97]
2268 #define SWIGTYPE_p_CvSize2D32f swig_types[98]
2269 #define SWIGTYPE_p_CvSlice swig_types[99]
2270 #define SWIGTYPE_p_CvSparseMat swig_types[100]
2271 #define SWIGTYPE_p_CvSparseMatIterator swig_types[101]
2272 #define SWIGTYPE_p_CvSparseNode swig_types[102]
2273 #define SWIGTYPE_p_CvStarDetectorParams swig_types[103]
2274 #define SWIGTYPE_p_CvStarKeypoint swig_types[104]
2275 #define SWIGTYPE_p_CvStatModel swig_types[105]
2276 #define SWIGTYPE_p_CvStereoBMState swig_types[106]
2277 #define SWIGTYPE_p_CvStereoGCState swig_types[107]
2278 #define SWIGTYPE_p_CvString swig_types[108]
2279 #define SWIGTYPE_p_CvStringHashNode swig_types[109]
2280 #define SWIGTYPE_p_CvSubdiv2D swig_types[110]
2281 #define SWIGTYPE_p_CvSubdiv2DEdge_Wrapper swig_types[111]
2282 #define SWIGTYPE_p_CvSubdiv2DPoint swig_types[112]
2283 #define SWIGTYPE_p_CvSubdiv2DPointLocation swig_types[113]
2284 #define SWIGTYPE_p_CvTermCriteria swig_types[114]
2285 #define SWIGTYPE_p_CvTrainTestSplit swig_types[115]
2286 #define SWIGTYPE_p_CvTrainTestSplit_class_part swig_types[116]
2287 #define SWIGTYPE_p_CvTrainTestSplit_train_sample_part swig_types[117]
2288 #define SWIGTYPE_p_CvTreeNodeIterator swig_types[118]
2289 #define SWIGTYPE_p_CvTypeInfo swig_types[119]
2290 #define SWIGTYPE_p_CvVectors swig_types[120]
2291 #define SWIGTYPE_p_CvVectors_data swig_types[121]
2292 #define SWIGTYPE_p_GetRow swig_types[122]
2293 #define SWIGTYPE_p_SelectWorkingSet swig_types[123]
2294 #define SWIGTYPE_p__IplConvKernel swig_types[124]
2295 #define SWIGTYPE_p__IplConvKernelFP swig_types[125]
2296 #define SWIGTYPE_p__IplImage swig_types[126]
2297 #define SWIGTYPE_p__IplROI swig_types[127]
2298 #define SWIGTYPE_p__IplTileInfo swig_types[128]
2299 #define SWIGTYPE_p_bool swig_types[129]
2300 #define SWIGTYPE_p_char swig_types[130]
2301 #define SWIGTYPE_p_double swig_types[131]
2302 #define SWIGTYPE_p_float swig_types[132]
2303 #define SWIGTYPE_p_int swig_types[133]
2304 #define SWIGTYPE_p_int64_t swig_types[134]
2305 #define SWIGTYPE_p_p_CvMat swig_types[135]
2306 #define SWIGTYPE_p_p_double swig_types[136]
2307 #define SWIGTYPE_p_p_float swig_types[137]
2308 #define SWIGTYPE_p_p_int swig_types[138]
2309 #define SWIGTYPE_p_p_unsigned_char swig_types[139]
2310 #define SWIGTYPE_p_signed_char swig_types[140]
2311 #define SWIGTYPE_p_size_t swig_types[141]
2312 #define SWIGTYPE_p_uint64_t swig_types[142]
2313 #define SWIGTYPE_p_unsigned_char swig_types[143]
2314 #define SWIGTYPE_p_unsigned_short swig_types[144]
2315 #define SWIGTYPE_p_vectorT_float_t swig_types[145]
2316 #define SWIGTYPE_p_vectorT_vectorT_float_t_t swig_types[146]
2317 #define SWIGTYPE_p_vectorT_vectorT_int_t_t swig_types[147]
2318 #define SWIGTYPE_p_void swig_types[148]
2319 static swig_type_info *swig_types[150];
2320 static swig_module_info swig_module = {swig_types, 149, 0, 0, 0, 0};
2321 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2322 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2324 /* -------- TYPES TABLE (END) -------- */
2327 #define SWIGVERSION 0x010340
2328 #define SWIG_VERSION SWIGVERSION
2331 #define SWIG_as_voidptr(a) (void *)((const void *)(a))
2332 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),(void**)(a))
2335 #include <stdexcept>
2339 #include <cxtypes.h>
2341 #include <highgui.h>
2342 #include "octhelpers.h"
2343 #include "octcvseq.hpp"
2348 static inline bool OctSwigObject_Check(const octave_value& ov) {
2349 return ov.type_id()==octave_swig_ref::static_type_id();
2352 static CvArr * OctObject_to_CvArr(octave_value obj, bool * freearg);
2353 static CvArr * OctSequence_to_CvArr( octave_value obj );
2355 // convert a octave sequence/array/list object into a c-array
2356 #define OctObject_AsArrayImpl(func, ctype, ptype) \
2357 int func(octave_value obj, ctype * array, int len){ \
2358 void * mat_vptr=NULL; \
2359 void * im_vptr=NULL; \
2360 if(OctNumber_Check(obj)){ \
2361 memset( array, 0, sizeof(ctype)*len ); \
2362 array[0] = OctObject_As##ptype( obj ); \
2364 else if(OctList_Check(obj) || OctTuple_Check(obj)){ \
2365 int seqsize = OctSequence_Size(obj); \
2366 for(int i=0; i<len && i<seqsize; i++){ \
2368 array[i] = OctObject_As##ptype( OctSequence_GetItem(obj, i) ); \
2375 else if( SWIG_ConvertPtr(obj, &mat_vptr, SWIGTYPE_p_CvMat, 0)!=-1 || \
2376 SWIG_ConvertPtr(obj, &im_vptr, SWIGTYPE_p__IplImage, 0)!=-1) \
2378 CvMat * mat = (CvMat *) mat_vptr; \
2380 if(im_vptr) mat = cvGetMat(im_vptr, &stub); \
2381 if( mat->rows!=1 && mat->cols!=1 ){ \
2382 error("OctObject_As*Array: CvArr must be row or column vector" ); \
2385 if( mat->rows==1 && mat->cols==1 ){ \
2387 if( len!=CV_MAT_CN(mat->type) ){ \
2388 error("OctObject_As*Array: CvArr channels != length" ); \
2391 val = cvGet1D(mat, 0); \
2392 for(int i=0; i<len; i++){ \
2393 array[i] = (ctype) val.val[i]; \
2397 mat = cvReshape(mat, &stub, -1, mat->rows*mat->cols); \
2398 if( mat->rows != len ){ \
2399 error("OctObject_As*Array: CvArr rows or cols must equal length" ); \
2402 for(int i=0; i<len; i++){ \
2403 CvScalar val = cvGet1D(mat, i); \
2404 array[i] = (ctype) val.val[0]; \
2409 error("OctObject_As*Array: Expected a number, sequence or CvArr" ); \
2415 OctObject_AsArrayImpl( OctObject_AsFloatArray, float, Double );
2416 OctObject_AsArrayImpl( OctObject_AsDoubleArray, double, Double );
2417 OctObject_AsArrayImpl( OctObject_AsLongArray, int, Long );
2419 static CvPoint OctObject_to_CvPoint(octave_value obj){
2422 CvPoint2D32f * ptr2D32f;
2425 if( SWIG_ConvertPtr(obj, (void**)&ptr, SWIGTYPE_p_CvPoint, 0) != -1) {
2428 if( SWIG_ConvertPtr(obj, (void**)&ptr2D32f, SWIGTYPE_p_CvPoint2D32f, 0) != -1) {
2429 return cvPointFrom32f( *ptr2D32f );
2431 if( SWIG_ConvertPtr(obj, (void**)&scalar, SWIGTYPE_p_CvScalar, 0) != -1) {
2432 return cvPointFrom32f(cvPoint2D32f( scalar->val[0], scalar->val[1] ));
2434 if(OctObject_AsLongArray(obj, (int *) &val, 2) != -1){
2438 error("could not convert to CvPoint");
2439 return cvPoint(0,0);
2442 static CvPoint2D32f OctObject_to_CvPoint2D32f(octave_value obj){
2444 CvPoint2D32f *ptr2D32f;
2447 if( SWIG_ConvertPtr(obj, (void**)&ptr2D32f, SWIGTYPE_p_CvPoint2D32f, 0) != -1) {
2450 if( SWIG_ConvertPtr(obj, (void**)&ptr, SWIGTYPE_p_CvPoint, 0) != -1) {
2451 return cvPointTo32f(*ptr);
2453 if( SWIG_ConvertPtr(obj, (void**)&scalar, SWIGTYPE_p_CvScalar, 0) != -1) {
2454 return cvPoint2D32f( scalar->val[0], scalar->val[1] );
2456 if(OctObject_AsFloatArray(obj, (float *) &val, 2) != -1){
2459 error("could not convert to CvPoint2D32f");
2460 return cvPoint2D32f(0,0);
2463 static CvScalar OctObject_to_CvScalar(octave_value obj){
2466 CvPoint2D32f *ptr2D32f;
2469 if( SWIG_ConvertPtr(obj, &vptr, SWIGTYPE_p_CvScalar, 0 ) != -1)
2471 ptr = (CvScalar *) vptr;
2474 if( SWIG_ConvertPtr(obj, (void**)&ptr2D32f, SWIGTYPE_p_CvPoint2D32f, 0) != -1) {
2475 return cvScalar(ptr2D32f->x, ptr2D32f->y);
2477 if( SWIG_ConvertPtr(obj, (void**)&pt_ptr, SWIGTYPE_p_CvPoint, 0) != -1) {
2478 return cvScalar(pt_ptr->x, pt_ptr->y);
2480 if(OctObject_AsDoubleArray(obj, val.val, 4)!=-1){
2483 return cvScalar(-1,-1,-1,-1);
2486 // if octave sequence type, convert to CvMat or CvMatND
2487 static CvArr * OctObject_to_CvArr(octave_value obj, bool * freearg){
2491 // check if OpenCV type
2492 if ( OctSwigObject_Check(obj) ){
2493 SWIG_ConvertPtr(obj, &cvarr, 0, SWIG_POINTER_EXCEPTION);
2495 else if (OctList_Check(obj) || OctTuple_Check(obj)){
2496 cvarr = OctSequence_to_CvArr( obj );
2497 *freearg = (cvarr != NULL);
2499 else if (OctLong_Check(obj) && OctLong_AsLong(obj)==0){
2503 SWIG_ConvertPtr(obj, (void**)&cvarr, 0, SWIG_POINTER_EXCEPTION);
2508 static int OctObject_GetElemType(octave_value obj){
2510 if(SWIG_ConvertPtr(obj, &vptr, SWIGTYPE_p_CvPoint, 0) != -1) return CV_32SC2;
2511 if(SWIG_ConvertPtr(obj, &vptr, SWIGTYPE_p_CvSize, 0) != -1) return CV_32SC2;
2512 if(SWIG_ConvertPtr(obj, &vptr, SWIGTYPE_p_CvRect, 0) != -1) return CV_32SC4;
2513 if(SWIG_ConvertPtr(obj, &vptr, SWIGTYPE_p_CvSize2D32f, 0) != -1) return CV_32FC2;
2514 if(SWIG_ConvertPtr(obj, &vptr, SWIGTYPE_p_CvPoint2D32f, 0) != -1) return CV_32FC2;
2515 if(SWIG_ConvertPtr(obj, &vptr, SWIGTYPE_p_CvPoint3D32f, 0) != -1) return CV_32FC3;
2516 if(SWIG_ConvertPtr(obj, &vptr, SWIGTYPE_p_CvPoint2D64f, 0) != -1) return CV_64FC2;
2517 if(SWIG_ConvertPtr(obj, &vptr, SWIGTYPE_p_CvPoint3D64f, 0) != -1) return CV_64FC3;
2518 if(SWIG_ConvertPtr(obj, &vptr, SWIGTYPE_p_CvScalar, 0) != -1) return CV_64FC4;
2519 if(OctTuple_Check(obj) || OctList_Check(obj)) return CV_MAKE_TYPE(CV_32F, OctSequence_Size( obj ));
2520 if(OctLong_Check(obj)) return CV_32S;
2524 // Would like this to convert Octave lists to CvMat
2525 // Also lists of CvPoints, CvScalars, CvMats? etc
2526 static CvArr * OctSequence_to_CvArr( octave_value obj ){
2527 int dims[CV_MAX_DIM] = {1,1,1};
2532 // figure out dimensions
2534 (OctTuple_Check(item) || OctList_Check(item));
2535 item = OctSequence_GetItem(item, 0))
2537 dims[ndim] = OctSequence_Size( item );
2542 error("Cannot convert an empty octave object to a CvArr");
2546 cvtype = OctObject_GetElemType(item);
2547 // collapse last dim into NCH if we found a single channel, but the last dim is <=3
2548 if(CV_MAT_CN(cvtype)==1 && dims[ndim-1]>1 && dims[ndim-1]<4){
2549 cvtype=CV_MAKE_TYPE(cvtype, dims[ndim-1]);
2555 error("Could not determine OpenCV element type of Octave sequence");
2561 CvMat *m = cvCreateMat(dims[0], dims[1], cvtype);
2562 for(int i=0; i<dims[0]; i++){
2563 octave_value rowobj = OctSequence_GetItem(obj, i);
2565 // double check size
2566 assert((OctTuple_Check(rowobj) || OctList_Check(rowobj)) &&
2567 OctSequence_Size(rowobj) == dims[1]);
2569 for(int j=0; j<dims[1]; j++){
2570 octave_value colobj = OctSequence_GetItem(rowobj, j);
2571 cvSet2D( m, i, j, OctObject_to_CvScalar( colobj ) );
2575 cvSet1D(m, i, OctObject_to_CvScalar( rowobj ) );
2582 error("Cannot convert Octave Object to CvArr -- ndim > 3");
2588 class CvRNG_Wrapper {
2592 CvRNG_Wrapper( const CvRNG & val ) :
2596 CvRNG * ptr() { return &m_val; }
2597 CvRNG & ref() { return m_val; }
2598 bool operator==(const CvRNG_Wrapper & x){
2599 return m_val==x.m_val;
2601 bool operator!=(const CvRNG_Wrapper & x){
2602 return m_val!=x.m_val;
2607 SWIGINTERNINLINE octave_value
2608 SWIG_From_bool (bool value)
2610 return octave_value(value);
2615 class CvSubdiv2DEdge_Wrapper {
2617 CvSubdiv2DEdge m_val;
2619 CvSubdiv2DEdge_Wrapper( const CvSubdiv2DEdge & val ) :
2623 CvSubdiv2DEdge * ptr() { return &m_val; }
2624 CvSubdiv2DEdge & ref() { return m_val; }
2625 bool operator==(const CvSubdiv2DEdge_Wrapper & x){
2626 return m_val==x.m_val;
2628 bool operator!=(const CvSubdiv2DEdge_Wrapper & x){
2629 return m_val!=x.m_val;
2634 SWIGINTERN int SWIG_AsVal_unsigned_SS_long (const octave_value& ov, unsigned long* val)
2636 if (!ov.is_scalar_type())
2637 return SWIG_TypeError;
2638 if (ov.is_complex_scalar())
2639 return SWIG_TypeError;
2640 if (ov.is_double_type()||ov.is_single_type()) {
2641 double v=ov.double_value();
2643 return SWIG_OverflowError;
2645 return SWIG_TypeError;
2647 if (ov.is_int8_type()||ov.is_int16_type()||
2648 ov.is_int32_type()) {
2649 long v=ov.long_value();
2651 return SWIG_OverflowError;
2653 if (ov.is_int64_type()) {
2654 long long v=ov.int64_scalar_value().value();
2656 return SWIG_OverflowError;
2659 *val = ov.ulong_value();
2664 SWIGINTERNINLINE int
2665 SWIG_AsVal_size_t (octave_value obj, size_t *val)
2668 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2669 if (SWIG_IsOK(res) && val) *val = (size_t)(v);
2674 SWIGINTERNINLINE octave_value SWIG_From_long (long value)
2676 return octave_value(value);
2680 SWIGINTERNINLINE octave_value
2681 SWIG_From_int (int value)
2683 return SWIG_From_long (value);
2688 #if !defined(SWIG_NO_LLONG_MAX)
2689 # if !defined(LLONG_MAX) && defined(__GNUC__) && defined (__LONG_LONG_MAX__)
2690 # define LLONG_MAX __LONG_LONG_MAX__
2691 # define LLONG_MIN (-LLONG_MAX - 1LL)
2692 # define ULLONG_MAX (LLONG_MAX * 2ULL + 1ULL)
2697 SWIGINTERN int SWIG_AsVal_long (const octave_value& ov, long* val)
2699 if (!ov.is_scalar_type())
2700 return SWIG_TypeError;
2701 if (ov.is_complex_scalar())
2702 return SWIG_TypeError;
2703 if (ov.is_double_type()||ov.is_single_type()) {
2704 double v=ov.double_value();
2706 return SWIG_TypeError;
2709 *val = ov.long_value();
2715 SWIG_AsVal_int (octave_value obj, int *val)
2718 int res = SWIG_AsVal_long (obj, &v);
2719 if (SWIG_IsOK(res)) {
2720 if ((v < INT_MIN || v > INT_MAX)) {
2721 return SWIG_OverflowError;
2723 if (val) *val = (int)(v);
2738 SWIGINTERN swig_type_info*
2739 SWIG_pchar_descriptor(void)
2741 static int init = 0;
2742 static swig_type_info* info = 0;
2744 info = SWIG_TypeQuery("_p_char");
2751 SWIGINTERNINLINE octave_value
2752 SWIG_FromCharPtrAndSize(const char* carray, size_t size)
2754 return std::string(carray,carray+size);
2758 SWIGINTERNINLINE octave_value
2759 SWIG_FromCharPtr(const char *cptr)
2761 return SWIG_FromCharPtrAndSize(cptr, (cptr ? strlen(cptr) : 0));
2766 SWIG_AsCharPtrAndSize(octave_value ov, char** cptr, size_t* psize, int *alloc)
2768 if (ov.is_cell() && ov.rows() == 1 && ov.columns() == 1)
2769 ov = ov.cell_value()(0);
2770 if (!ov.is_string())
2771 return SWIG_TypeError;
2773 std::string str=ov.string_value();
2774 size_t len=str.size();
2775 char* cstr=(char*)str.c_str();
2777 *cptr = (char*)(memcpy((new char[len + 1]), cstr, sizeof(char)*(len + 1)));
2778 *alloc = SWIG_NEWOBJ;
2790 SWIGINTERN int SWIG_AsVal_double (const octave_value& ov, double* val)
2792 if (!ov.is_scalar_type())
2793 return SWIG_TypeError;
2794 if (ov.is_complex_scalar())
2795 return SWIG_TypeError;
2797 *val = ov.double_value();
2802 SWIGINTERNINLINE octave_value SWIG_From_double (double value)
2804 return octave_value(value);
2809 SWIG_AsVal_bool (const octave_value& ov, bool *val)
2811 if (!ov.is_bool_type())
2814 *val = ov.bool_value();
2819 SWIGINTERNINLINE octave_value
2820 SWIG_From_float (float value)
2822 return SWIG_From_double (value);
2825 SWIGINTERN octave_value CvEM_get_covs(CvEM *self){
2826 CvMat ** pointers = const_cast<CvMat **> (self->get_covs());
2827 int n = self->get_nclusters();
2829 octave_value result = OctTuple_New(n);
2830 for (int i=0; i<n; ++i)
2832 octave_value obj = SWIG_NewPointerObj(pointers[i], SWIGTYPE_p_CvMat, 0);
2833 OctTuple_SetItem(result, i, obj);
2843 SWIG_AsVal_float (octave_value obj, float *val)
2846 int res = SWIG_AsVal_double (obj, &v);
2847 if (SWIG_IsOK(res)) {
2848 if ((v < -FLT_MAX || v > FLT_MAX)) {
2849 return SWIG_OverflowError;
2851 if (val) *val = (float)(v);
2861 } CvTrainTestSplit_class_part;
2868 } CvTrainTestSplit_train_sample_part;
2873 SWIG_AsCharArray(octave_value obj, char *val, size_t size)
2875 char* cptr = 0; size_t csize = 0; int alloc = SWIG_OLDOBJ;
2876 int res = SWIG_AsCharPtrAndSize(obj, &cptr, &csize, &alloc);
2877 if (SWIG_IsOK(res)) {
2878 if ((csize == size + 1) && cptr && !(cptr[csize-1])) --csize;
2879 if (csize <= size) {
2881 if (csize) memcpy(val, cptr, csize*sizeof(char));
2882 if (csize < size) memset(val + csize, 0, (size - csize)*sizeof(char));
2884 if (alloc == SWIG_NEWOBJ) {
2886 res = SWIG_DelNewMask(res);
2890 if (alloc == SWIG_NEWOBJ) delete[] cptr;
2892 return SWIG_TypeError;
2897 SWIG_AsVal_char (octave_value obj, char *val)
2899 int res = SWIG_AsCharArray(obj, val, 1);
2900 if (!SWIG_IsOK(res)) {
2902 res = SWIG_AddCast(SWIG_AsVal_long (obj, &v));
2903 if (SWIG_IsOK(res)) {
2904 if ((CHAR_MIN <= v) && (v <= CHAR_MAX)) {
2905 if (val) *val = (char)(v);
2907 res = SWIG_OverflowError;
2915 SWIGINTERNINLINE octave_value
2916 SWIG_From_char (char c)
2918 return SWIG_FromCharPtrAndSize(&c,1);
2922 static octave_value_list _wrap_new_CvRNG_Wrapper (const octave_value_list& args, int nargout) {
2926 octave_value_list _out;
2927 octave_value_list *_outp=&_out;
2929 CvRNG_Wrapper *result = 0 ;
2931 if (!SWIG_check_num_args("new_CvRNG_Wrapper",args.length(),1,1,0)) {
2934 res1 = SWIG_ConvertPtr(args(0), &argp1, SWIGTYPE_p_uint64_t, 0 );
2935 if (!SWIG_IsOK(res1)) {
2936 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CvRNG_Wrapper" "', argument " "1"" of type '" "CvRNG const &""'");
2939 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_CvRNG_Wrapper" "', argument " "1"" of type '" "CvRNG const &""'");
2941 arg1 = (CvRNG *)(argp1);
2942 result = (CvRNG_Wrapper *)new CvRNG_Wrapper((CvRNG const &)*arg1);
2943 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvRNG_Wrapper, 1 | 0 );
2944 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
2950 static octave_value_list _wrap_CvRNG_Wrapper_ptr (const octave_value_list& args, int nargout) {
2951 CvRNG_Wrapper *arg1 = (CvRNG_Wrapper *) 0 ;
2954 octave_value_list _out;
2955 octave_value_list *_outp=&_out;
2959 if (!SWIG_check_num_args("CvRNG_Wrapper_ptr",args.length(),1,1,0)) {
2962 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvRNG_Wrapper, 0 | 0 );
2963 if (!SWIG_IsOK(res1)) {
2964 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvRNG_Wrapper_ptr" "', argument " "1"" of type '" "CvRNG_Wrapper *""'");
2966 arg1 = (CvRNG_Wrapper *)(argp1);
2967 result = (CvRNG *)(arg1)->ptr();
2968 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_uint64_t, 0 | 0 );
2969 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
2975 static octave_value_list _wrap_CvRNG_Wrapper_ref (const octave_value_list& args, int nargout) {
2976 CvRNG_Wrapper *arg1 = (CvRNG_Wrapper *) 0 ;
2979 octave_value_list _out;
2980 octave_value_list *_outp=&_out;
2984 if (!SWIG_check_num_args("CvRNG_Wrapper_ref",args.length(),1,1,0)) {
2987 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvRNG_Wrapper, 0 | 0 );
2988 if (!SWIG_IsOK(res1)) {
2989 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvRNG_Wrapper_ref" "', argument " "1"" of type '" "CvRNG_Wrapper *""'");
2991 arg1 = (CvRNG_Wrapper *)(argp1);
2992 result = (CvRNG *) &(arg1)->ref();
2993 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_uint64_t, 0 | 0 );
2994 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
3000 static octave_value_list _wrap_CvRNG_Wrapper___eq__ (const octave_value_list& args, int nargout) {
3001 CvRNG_Wrapper *arg1 = (CvRNG_Wrapper *) 0 ;
3002 CvRNG_Wrapper *arg2 = 0 ;
3007 octave_value_list _out;
3008 octave_value_list *_outp=&_out;
3012 if (!SWIG_check_num_args("CvRNG_Wrapper___eq__",args.length(),2,2,0)) {
3015 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvRNG_Wrapper, 0 | 0 );
3016 if (!SWIG_IsOK(res1)) {
3017 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvRNG_Wrapper___eq__" "', argument " "1"" of type '" "CvRNG_Wrapper *""'");
3019 arg1 = (CvRNG_Wrapper *)(argp1);
3020 res2 = SWIG_ConvertPtr(args(1), &argp2, SWIGTYPE_p_CvRNG_Wrapper, 0 );
3021 if (!SWIG_IsOK(res2)) {
3022 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvRNG_Wrapper___eq__" "', argument " "2"" of type '" "CvRNG_Wrapper const &""'");
3025 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvRNG_Wrapper___eq__" "', argument " "2"" of type '" "CvRNG_Wrapper const &""'");
3027 arg2 = (CvRNG_Wrapper *)(argp2);
3028 result = (bool)(arg1)->operator ==((CvRNG_Wrapper const &)*arg2);
3029 _outv = SWIG_From_bool((bool)(result));
3030 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
3036 static octave_value_list _wrap_CvRNG_Wrapper___ne__ (const octave_value_list& args, int nargout) {
3037 CvRNG_Wrapper *arg1 = (CvRNG_Wrapper *) 0 ;
3038 CvRNG_Wrapper *arg2 = 0 ;
3043 octave_value_list _out;
3044 octave_value_list *_outp=&_out;
3048 if (!SWIG_check_num_args("CvRNG_Wrapper___ne__",args.length(),2,2,0)) {
3051 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvRNG_Wrapper, 0 | 0 );
3052 if (!SWIG_IsOK(res1)) {
3053 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvRNG_Wrapper___ne__" "', argument " "1"" of type '" "CvRNG_Wrapper *""'");
3055 arg1 = (CvRNG_Wrapper *)(argp1);
3056 res2 = SWIG_ConvertPtr(args(1), &argp2, SWIGTYPE_p_CvRNG_Wrapper, 0 );
3057 if (!SWIG_IsOK(res2)) {
3058 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvRNG_Wrapper___ne__" "', argument " "2"" of type '" "CvRNG_Wrapper const &""'");
3061 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvRNG_Wrapper___ne__" "', argument " "2"" of type '" "CvRNG_Wrapper const &""'");
3063 arg2 = (CvRNG_Wrapper *)(argp2);
3064 result = (bool)(arg1)->operator !=((CvRNG_Wrapper const &)*arg2);
3065 _outv = SWIG_From_bool((bool)(result));
3066 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
3072 static octave_value_list _wrap_delete_CvRNG_Wrapper (const octave_value_list& args, int nargout) {
3073 CvRNG_Wrapper *arg1 = (CvRNG_Wrapper *) 0 ;
3076 octave_value_list _out;
3077 octave_value_list *_outp=&_out;
3080 if (!SWIG_check_num_args("delete_CvRNG_Wrapper",args.length(),1,1,0)) {
3083 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvRNG_Wrapper, SWIG_POINTER_DISOWN | 0 );
3084 if (!SWIG_IsOK(res1)) {
3085 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CvRNG_Wrapper" "', argument " "1"" of type '" "CvRNG_Wrapper *""'");
3087 arg1 = (CvRNG_Wrapper *)(argp1);
3097 _outv = octave_value();
3098 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
3104 static swig_octave_member swig_CvRNG_Wrapper_members[] = {
3105 {"ptr",_wrap_CvRNG_Wrapper_ptr,0,0,0,0},
3106 {"ref",_wrap_CvRNG_Wrapper_ref,0,0,0,0},
3107 {"__eq__",_wrap_CvRNG_Wrapper___eq__,0,0,0,0},
3108 {"__ne__",_wrap_CvRNG_Wrapper___ne__,0,0,0,0},
3111 static const char *swig_CvRNG_Wrapper_base_names[] = {0};
3112 static const swig_type_info *swig_CvRNG_Wrapper_base[] = {0};
3113 static swig_octave_class _wrap_class_CvRNG_Wrapper = {"CvRNG_Wrapper", &SWIGTYPE_p_CvRNG_Wrapper,0,_wrap_new_CvRNG_Wrapper,0,_wrap_delete_CvRNG_Wrapper,swig_CvRNG_Wrapper_members,swig_CvRNG_Wrapper_base_names,swig_CvRNG_Wrapper_base };
3115 static octave_value_list _wrap_new_CvSubdiv2DEdge_Wrapper (const octave_value_list& args, int nargout) {
3116 CvSubdiv2DEdge *arg1 = 0 ;
3117 CvSubdiv2DEdge temp1 ;
3120 octave_value_list _out;
3121 octave_value_list *_outp=&_out;
3123 CvSubdiv2DEdge_Wrapper *result = 0 ;
3125 if (!SWIG_check_num_args("new_CvSubdiv2DEdge_Wrapper",args.length(),1,1,0)) {
3128 ecode1 = SWIG_AsVal_size_t(args(0), &val1);
3129 if (!SWIG_IsOK(ecode1)) {
3130 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CvSubdiv2DEdge_Wrapper" "', argument " "1"" of type '" "CvSubdiv2DEdge""'");
3132 temp1 = (CvSubdiv2DEdge)(val1);
3134 result = (CvSubdiv2DEdge_Wrapper *)new CvSubdiv2DEdge_Wrapper((CvSubdiv2DEdge const &)*arg1);
3135 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvSubdiv2DEdge_Wrapper, 1 | 0 );
3136 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
3142 static octave_value_list _wrap_CvSubdiv2DEdge_Wrapper_ptr (const octave_value_list& args, int nargout) {
3143 CvSubdiv2DEdge_Wrapper *arg1 = (CvSubdiv2DEdge_Wrapper *) 0 ;
3146 octave_value_list _out;
3147 octave_value_list *_outp=&_out;
3149 CvSubdiv2DEdge *result = 0 ;
3151 if (!SWIG_check_num_args("CvSubdiv2DEdge_Wrapper_ptr",args.length(),1,1,0)) {
3154 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSubdiv2DEdge_Wrapper, 0 | 0 );
3155 if (!SWIG_IsOK(res1)) {
3156 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSubdiv2DEdge_Wrapper_ptr" "', argument " "1"" of type '" "CvSubdiv2DEdge_Wrapper *""'");
3158 arg1 = (CvSubdiv2DEdge_Wrapper *)(argp1);
3159 result = (CvSubdiv2DEdge *)(arg1)->ptr();
3160 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_size_t, 0 | 0 );
3161 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
3167 static octave_value_list _wrap_CvSubdiv2DEdge_Wrapper_ref (const octave_value_list& args, int nargout) {
3168 CvSubdiv2DEdge_Wrapper *arg1 = (CvSubdiv2DEdge_Wrapper *) 0 ;
3171 octave_value_list _out;
3172 octave_value_list *_outp=&_out;
3174 CvSubdiv2DEdge *result = 0 ;
3176 if (!SWIG_check_num_args("CvSubdiv2DEdge_Wrapper_ref",args.length(),1,1,0)) {
3179 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSubdiv2DEdge_Wrapper, 0 | 0 );
3180 if (!SWIG_IsOK(res1)) {
3181 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSubdiv2DEdge_Wrapper_ref" "', argument " "1"" of type '" "CvSubdiv2DEdge_Wrapper *""'");
3183 arg1 = (CvSubdiv2DEdge_Wrapper *)(argp1);
3184 result = (CvSubdiv2DEdge *) &(arg1)->ref();
3185 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_size_t, 0 | 0 );
3186 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
3192 static octave_value_list _wrap_CvSubdiv2DEdge_Wrapper___eq__ (const octave_value_list& args, int nargout) {
3193 CvSubdiv2DEdge_Wrapper *arg1 = (CvSubdiv2DEdge_Wrapper *) 0 ;
3194 CvSubdiv2DEdge_Wrapper *arg2 = 0 ;
3199 octave_value_list _out;
3200 octave_value_list *_outp=&_out;
3204 if (!SWIG_check_num_args("CvSubdiv2DEdge_Wrapper___eq__",args.length(),2,2,0)) {
3207 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSubdiv2DEdge_Wrapper, 0 | 0 );
3208 if (!SWIG_IsOK(res1)) {
3209 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSubdiv2DEdge_Wrapper___eq__" "', argument " "1"" of type '" "CvSubdiv2DEdge_Wrapper *""'");
3211 arg1 = (CvSubdiv2DEdge_Wrapper *)(argp1);
3212 res2 = SWIG_ConvertPtr(args(1), &argp2, SWIGTYPE_p_CvSubdiv2DEdge_Wrapper, 0 );
3213 if (!SWIG_IsOK(res2)) {
3214 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvSubdiv2DEdge_Wrapper___eq__" "', argument " "2"" of type '" "CvSubdiv2DEdge_Wrapper const &""'");
3217 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvSubdiv2DEdge_Wrapper___eq__" "', argument " "2"" of type '" "CvSubdiv2DEdge_Wrapper const &""'");
3219 arg2 = (CvSubdiv2DEdge_Wrapper *)(argp2);
3220 result = (bool)(arg1)->operator ==((CvSubdiv2DEdge_Wrapper const &)*arg2);
3221 _outv = SWIG_From_bool((bool)(result));
3222 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
3228 static octave_value_list _wrap_CvSubdiv2DEdge_Wrapper___ne__ (const octave_value_list& args, int nargout) {
3229 CvSubdiv2DEdge_Wrapper *arg1 = (CvSubdiv2DEdge_Wrapper *) 0 ;
3230 CvSubdiv2DEdge_Wrapper *arg2 = 0 ;
3235 octave_value_list _out;
3236 octave_value_list *_outp=&_out;
3240 if (!SWIG_check_num_args("CvSubdiv2DEdge_Wrapper___ne__",args.length(),2,2,0)) {
3243 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSubdiv2DEdge_Wrapper, 0 | 0 );
3244 if (!SWIG_IsOK(res1)) {
3245 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSubdiv2DEdge_Wrapper___ne__" "', argument " "1"" of type '" "CvSubdiv2DEdge_Wrapper *""'");
3247 arg1 = (CvSubdiv2DEdge_Wrapper *)(argp1);
3248 res2 = SWIG_ConvertPtr(args(1), &argp2, SWIGTYPE_p_CvSubdiv2DEdge_Wrapper, 0 );
3249 if (!SWIG_IsOK(res2)) {
3250 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvSubdiv2DEdge_Wrapper___ne__" "', argument " "2"" of type '" "CvSubdiv2DEdge_Wrapper const &""'");
3253 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvSubdiv2DEdge_Wrapper___ne__" "', argument " "2"" of type '" "CvSubdiv2DEdge_Wrapper const &""'");
3255 arg2 = (CvSubdiv2DEdge_Wrapper *)(argp2);
3256 result = (bool)(arg1)->operator !=((CvSubdiv2DEdge_Wrapper const &)*arg2);
3257 _outv = SWIG_From_bool((bool)(result));
3258 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
3264 static octave_value_list _wrap_delete_CvSubdiv2DEdge_Wrapper (const octave_value_list& args, int nargout) {
3265 CvSubdiv2DEdge_Wrapper *arg1 = (CvSubdiv2DEdge_Wrapper *) 0 ;
3268 octave_value_list _out;
3269 octave_value_list *_outp=&_out;
3272 if (!SWIG_check_num_args("delete_CvSubdiv2DEdge_Wrapper",args.length(),1,1,0)) {
3275 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSubdiv2DEdge_Wrapper, SWIG_POINTER_DISOWN | 0 );
3276 if (!SWIG_IsOK(res1)) {
3277 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CvSubdiv2DEdge_Wrapper" "', argument " "1"" of type '" "CvSubdiv2DEdge_Wrapper *""'");
3279 arg1 = (CvSubdiv2DEdge_Wrapper *)(argp1);
3289 _outv = octave_value();
3290 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
3296 static swig_octave_member swig_CvSubdiv2DEdge_Wrapper_members[] = {
3297 {"ptr",_wrap_CvSubdiv2DEdge_Wrapper_ptr,0,0,0,0},
3298 {"ref",_wrap_CvSubdiv2DEdge_Wrapper_ref,0,0,0,0},
3299 {"__eq__",_wrap_CvSubdiv2DEdge_Wrapper___eq__,0,0,0,0},
3300 {"__ne__",_wrap_CvSubdiv2DEdge_Wrapper___ne__,0,0,0,0},
3303 static const char *swig_CvSubdiv2DEdge_Wrapper_base_names[] = {0};
3304 static const swig_type_info *swig_CvSubdiv2DEdge_Wrapper_base[] = {0};
3305 static swig_octave_class _wrap_class_CvSubdiv2DEdge_Wrapper = {"CvSubdiv2DEdge_Wrapper", &SWIGTYPE_p_CvSubdiv2DEdge_Wrapper,0,_wrap_new_CvSubdiv2DEdge_Wrapper,0,_wrap_delete_CvSubdiv2DEdge_Wrapper,swig_CvSubdiv2DEdge_Wrapper_members,swig_CvSubdiv2DEdge_Wrapper_base_names,swig_CvSubdiv2DEdge_Wrapper_base };
3307 static octave_value_list _wrap_CvVectors_type_set (const octave_value_list& args, int nargout) {
3308 CvVectors *arg1 = (CvVectors *) 0 ;
3314 octave_value_list _out;
3315 octave_value_list *_outp=&_out;
3318 if (!SWIG_check_num_args("CvVectors_type_set",args.length(),2,2,0)) {
3321 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvVectors, 0 | 0 );
3322 if (!SWIG_IsOK(res1)) {
3323 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvVectors_type_set" "', argument " "1"" of type '" "CvVectors *""'");
3325 arg1 = (CvVectors *)(argp1);
3326 ecode2 = SWIG_AsVal_int(args(1), &val2);
3327 if (!SWIG_IsOK(ecode2)) {
3328 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvVectors_type_set" "', argument " "2"" of type '" "int""'");
3331 if (arg1) (arg1)->type = arg2;
3332 _outv = octave_value();
3333 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
3339 static octave_value_list _wrap_CvVectors_type_get (const octave_value_list& args, int nargout) {
3340 CvVectors *arg1 = (CvVectors *) 0 ;
3343 octave_value_list _out;
3344 octave_value_list *_outp=&_out;
3348 if (!SWIG_check_num_args("CvVectors_type_get",args.length(),1,1,0)) {
3351 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvVectors, 0 | 0 );
3352 if (!SWIG_IsOK(res1)) {
3353 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvVectors_type_get" "', argument " "1"" of type '" "CvVectors *""'");
3355 arg1 = (CvVectors *)(argp1);
3356 result = (int) ((arg1)->type);
3357 _outv = SWIG_From_int((int)(result));
3358 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
3364 static octave_value_list _wrap_CvVectors_dims_set (const octave_value_list& args, int nargout) {
3365 CvVectors *arg1 = (CvVectors *) 0 ;
3371 octave_value_list _out;
3372 octave_value_list *_outp=&_out;
3375 if (!SWIG_check_num_args("CvVectors_dims_set",args.length(),2,2,0)) {
3378 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvVectors, 0 | 0 );
3379 if (!SWIG_IsOK(res1)) {
3380 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvVectors_dims_set" "', argument " "1"" of type '" "CvVectors *""'");
3382 arg1 = (CvVectors *)(argp1);
3383 ecode2 = SWIG_AsVal_int(args(1), &val2);
3384 if (!SWIG_IsOK(ecode2)) {
3385 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvVectors_dims_set" "', argument " "2"" of type '" "int""'");
3388 if (arg1) (arg1)->dims = arg2;
3389 _outv = octave_value();
3390 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
3396 static octave_value_list _wrap_CvVectors_dims_get (const octave_value_list& args, int nargout) {
3397 CvVectors *arg1 = (CvVectors *) 0 ;
3400 octave_value_list _out;
3401 octave_value_list *_outp=&_out;
3405 if (!SWIG_check_num_args("CvVectors_dims_get",args.length(),1,1,0)) {
3408 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvVectors, 0 | 0 );
3409 if (!SWIG_IsOK(res1)) {
3410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvVectors_dims_get" "', argument " "1"" of type '" "CvVectors *""'");
3412 arg1 = (CvVectors *)(argp1);
3413 result = (int) ((arg1)->dims);
3414 _outv = SWIG_From_int((int)(result));
3415 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
3421 static octave_value_list _wrap_CvVectors_count_set (const octave_value_list& args, int nargout) {
3422 CvVectors *arg1 = (CvVectors *) 0 ;
3428 octave_value_list _out;
3429 octave_value_list *_outp=&_out;
3432 if (!SWIG_check_num_args("CvVectors_count_set",args.length(),2,2,0)) {
3435 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvVectors, 0 | 0 );
3436 if (!SWIG_IsOK(res1)) {
3437 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvVectors_count_set" "', argument " "1"" of type '" "CvVectors *""'");
3439 arg1 = (CvVectors *)(argp1);
3440 ecode2 = SWIG_AsVal_int(args(1), &val2);
3441 if (!SWIG_IsOK(ecode2)) {
3442 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvVectors_count_set" "', argument " "2"" of type '" "int""'");
3445 if (arg1) (arg1)->count = arg2;
3446 _outv = octave_value();
3447 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
3453 static octave_value_list _wrap_CvVectors_count_get (const octave_value_list& args, int nargout) {
3454 CvVectors *arg1 = (CvVectors *) 0 ;
3457 octave_value_list _out;
3458 octave_value_list *_outp=&_out;
3462 if (!SWIG_check_num_args("CvVectors_count_get",args.length(),1,1,0)) {
3465 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvVectors, 0 | 0 );
3466 if (!SWIG_IsOK(res1)) {
3467 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvVectors_count_get" "', argument " "1"" of type '" "CvVectors *""'");
3469 arg1 = (CvVectors *)(argp1);
3470 result = (int) ((arg1)->count);
3471 _outv = SWIG_From_int((int)(result));
3472 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
3478 static octave_value_list _wrap_CvVectors_next_set (const octave_value_list& args, int nargout) {
3479 CvVectors *arg1 = (CvVectors *) 0 ;
3480 CvVectors *arg2 = (CvVectors *) 0 ;
3485 octave_value_list _out;
3486 octave_value_list *_outp=&_out;
3489 if (!SWIG_check_num_args("CvVectors_next_set",args.length(),2,2,0)) {
3492 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvVectors, 0 | 0 );
3493 if (!SWIG_IsOK(res1)) {
3494 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvVectors_next_set" "', argument " "1"" of type '" "CvVectors *""'");
3496 arg1 = (CvVectors *)(argp1);
3497 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvVectors, SWIG_POINTER_DISOWN | 0 );
3498 if (!SWIG_IsOK(res2)) {
3499 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvVectors_next_set" "', argument " "2"" of type '" "CvVectors *""'");
3501 arg2 = (CvVectors *)(argp2);
3502 if (arg1) (arg1)->next = arg2;
3503 _outv = octave_value();
3504 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
3510 static octave_value_list _wrap_CvVectors_next_get (const octave_value_list& args, int nargout) {
3511 CvVectors *arg1 = (CvVectors *) 0 ;
3514 octave_value_list _out;
3515 octave_value_list *_outp=&_out;
3517 CvVectors *result = 0 ;
3519 if (!SWIG_check_num_args("CvVectors_next_get",args.length(),1,1,0)) {
3522 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvVectors, 0 | 0 );
3523 if (!SWIG_IsOK(res1)) {
3524 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvVectors_next_get" "', argument " "1"" of type '" "CvVectors *""'");
3526 arg1 = (CvVectors *)(argp1);
3527 result = (CvVectors *) ((arg1)->next);
3528 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvVectors, 0 | 0 );
3529 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
3535 static octave_value_list _wrap_CvVectors_data_get (const octave_value_list& args, int nargout) {
3536 CvVectors *arg1 = (CvVectors *) 0 ;
3539 octave_value_list _out;
3540 octave_value_list *_outp=&_out;
3542 CvVectors_data *result = 0 ;
3544 if (!SWIG_check_num_args("CvVectors_data_get",args.length(),1,1,0)) {
3547 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvVectors, 0 | 0 );
3548 if (!SWIG_IsOK(res1)) {
3549 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvVectors_data_get" "', argument " "1"" of type '" "CvVectors *""'");
3551 arg1 = (CvVectors *)(argp1);
3552 result = (CvVectors_data *)& ((arg1)->data);
3553 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvVectors_data, 0 | 0 );
3554 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
3560 static octave_value_list _wrap_new_CvVectors (const octave_value_list& args, int nargout) {
3561 octave_value_list _out;
3562 octave_value_list *_outp=&_out;
3564 CvVectors *result = 0 ;
3566 if (!SWIG_check_num_args("new_CvVectors",args.length(),0,0,0)) {
3571 result = (CvVectors *)new CvVectors();
3578 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvVectors, 1 | 0 );
3579 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
3585 static octave_value_list _wrap_delete_CvVectors (const octave_value_list& args, int nargout) {
3586 CvVectors *arg1 = (CvVectors *) 0 ;
3589 octave_value_list _out;
3590 octave_value_list *_outp=&_out;
3593 if (!SWIG_check_num_args("delete_CvVectors",args.length(),1,1,0)) {
3596 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvVectors, SWIG_POINTER_DISOWN | 0 );
3597 if (!SWIG_IsOK(res1)) {
3598 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CvVectors" "', argument " "1"" of type '" "CvVectors *""'");
3600 arg1 = (CvVectors *)(argp1);
3610 _outv = octave_value();
3611 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
3617 static swig_octave_member swig_CvVectors_members[] = {
3618 {"type",0,_wrap_CvVectors_type_get,_wrap_CvVectors_type_set,0,0},
3619 {"dims",0,_wrap_CvVectors_dims_get,_wrap_CvVectors_dims_set,0,0},
3620 {"count",0,_wrap_CvVectors_count_get,_wrap_CvVectors_count_set,0,0},
3621 {"next",0,_wrap_CvVectors_next_get,_wrap_CvVectors_next_set,0,0},
3622 {"data",0,_wrap_CvVectors_data_get,octave_set_immutable,0,0},
3625 static const char *swig_CvVectors_base_names[] = {0};
3626 static const swig_type_info *swig_CvVectors_base[] = {0};
3627 static swig_octave_class _wrap_class_CvVectors = {"CvVectors", &SWIGTYPE_p_CvVectors,0,_wrap_new_CvVectors,0,_wrap_delete_CvVectors,swig_CvVectors_members,swig_CvVectors_base_names,swig_CvVectors_base };
3629 static octave_value_list _wrap_CvVectors_data_ptr_set (const octave_value_list& args, int nargout) {
3630 CvVectors_data *arg1 = (CvVectors_data *) 0 ;
3631 uchar **arg2 = (uchar **) 0 ;
3636 octave_value_list _out;
3637 octave_value_list *_outp=&_out;
3640 if (!SWIG_check_num_args("CvVectors_data_ptr_set",args.length(),2,2,0)) {
3643 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvVectors_data, 0 | 0 );
3644 if (!SWIG_IsOK(res1)) {
3645 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvVectors_data_ptr_set" "', argument " "1"" of type '" "CvVectors_data *""'");
3647 arg1 = (CvVectors_data *)(argp1);
3648 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_p_unsigned_char, 0 | 0 );
3649 if (!SWIG_IsOK(res2)) {
3650 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvVectors_data_ptr_set" "', argument " "2"" of type '" "uchar **""'");
3652 arg2 = (uchar **)(argp2);
3653 if (arg1) (arg1)->ptr = arg2;
3654 _outv = octave_value();
3655 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
3661 static octave_value_list _wrap_CvVectors_data_ptr_get (const octave_value_list& args, int nargout) {
3662 CvVectors_data *arg1 = (CvVectors_data *) 0 ;
3665 octave_value_list _out;
3666 octave_value_list *_outp=&_out;
3668 uchar **result = 0 ;
3670 if (!SWIG_check_num_args("CvVectors_data_ptr_get",args.length(),1,1,0)) {
3673 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvVectors_data, 0 | 0 );
3674 if (!SWIG_IsOK(res1)) {
3675 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvVectors_data_ptr_get" "', argument " "1"" of type '" "CvVectors_data *""'");
3677 arg1 = (CvVectors_data *)(argp1);
3678 result = (uchar **) ((arg1)->ptr);
3679 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_unsigned_char, 0 | 0 );
3680 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
3686 static octave_value_list _wrap_CvVectors_data_fl_set (const octave_value_list& args, int nargout) {
3687 CvVectors_data *arg1 = (CvVectors_data *) 0 ;
3688 float **arg2 = (float **) 0 ;
3693 octave_value_list _out;
3694 octave_value_list *_outp=&_out;
3697 if (!SWIG_check_num_args("CvVectors_data_fl_set",args.length(),2,2,0)) {
3700 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvVectors_data, 0 | 0 );
3701 if (!SWIG_IsOK(res1)) {
3702 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvVectors_data_fl_set" "', argument " "1"" of type '" "CvVectors_data *""'");
3704 arg1 = (CvVectors_data *)(argp1);
3706 if ((SWIG_ConvertPtr(args(1), &vptr2, SWIGTYPE_p_float, 1)) == -1){
3709 buffer2 = (float *) vptr2;
3712 if (arg1) (arg1)->fl = arg2;
3713 _outv = octave_value();
3714 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
3720 static octave_value_list _wrap_CvVectors_data_fl_get (const octave_value_list& args, int nargout) {
3721 CvVectors_data *arg1 = (CvVectors_data *) 0 ;
3724 octave_value_list _out;
3725 octave_value_list *_outp=&_out;
3727 float **result = 0 ;
3729 if (!SWIG_check_num_args("CvVectors_data_fl_get",args.length(),1,1,0)) {
3732 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvVectors_data, 0 | 0 );
3733 if (!SWIG_IsOK(res1)) {
3734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvVectors_data_fl_get" "', argument " "1"" of type '" "CvVectors_data *""'");
3736 arg1 = (CvVectors_data *)(argp1);
3737 result = (float **) ((arg1)->fl);
3738 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_float, 0 | 0 );
3739 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
3745 static octave_value_list _wrap_CvVectors_data_db_set (const octave_value_list& args, int nargout) {
3746 CvVectors_data *arg1 = (CvVectors_data *) 0 ;
3747 double **arg2 = (double **) 0 ;
3752 octave_value_list _out;
3753 octave_value_list *_outp=&_out;
3756 if (!SWIG_check_num_args("CvVectors_data_db_set",args.length(),2,2,0)) {
3759 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvVectors_data, 0 | 0 );
3760 if (!SWIG_IsOK(res1)) {
3761 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvVectors_data_db_set" "', argument " "1"" of type '" "CvVectors_data *""'");
3763 arg1 = (CvVectors_data *)(argp1);
3764 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_p_double, 0 | 0 );
3765 if (!SWIG_IsOK(res2)) {
3766 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvVectors_data_db_set" "', argument " "2"" of type '" "double **""'");
3768 arg2 = (double **)(argp2);
3769 if (arg1) (arg1)->db = arg2;
3770 _outv = octave_value();
3771 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
3777 static octave_value_list _wrap_CvVectors_data_db_get (const octave_value_list& args, int nargout) {
3778 CvVectors_data *arg1 = (CvVectors_data *) 0 ;
3781 octave_value_list _out;
3782 octave_value_list *_outp=&_out;
3784 double **result = 0 ;
3786 if (!SWIG_check_num_args("CvVectors_data_db_get",args.length(),1,1,0)) {
3789 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvVectors_data, 0 | 0 );
3790 if (!SWIG_IsOK(res1)) {
3791 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvVectors_data_db_get" "', argument " "1"" of type '" "CvVectors_data *""'");
3793 arg1 = (CvVectors_data *)(argp1);
3794 result = (double **) ((arg1)->db);
3795 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_double, 0 | 0 );
3796 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
3802 static octave_value_list _wrap_new_CvVectors_data (const octave_value_list& args, int nargout) {
3803 octave_value_list _out;
3804 octave_value_list *_outp=&_out;
3806 CvVectors_data *result = 0 ;
3808 if (!SWIG_check_num_args("new_CvVectors_data",args.length(),0,0,0)) {
3813 result = (CvVectors_data *)new CvVectors_data();
3820 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvVectors_data, 1 | 0 );
3821 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
3827 static octave_value_list _wrap_delete_CvVectors_data (const octave_value_list& args, int nargout) {
3828 CvVectors_data *arg1 = (CvVectors_data *) 0 ;
3831 octave_value_list _out;
3832 octave_value_list *_outp=&_out;
3835 if (!SWIG_check_num_args("delete_CvVectors_data",args.length(),1,1,0)) {
3838 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvVectors_data, SWIG_POINTER_DISOWN | 0 );
3839 if (!SWIG_IsOK(res1)) {
3840 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CvVectors_data" "', argument " "1"" of type '" "CvVectors_data *""'");
3842 arg1 = (CvVectors_data *)(argp1);
3852 _outv = octave_value();
3853 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
3859 static swig_octave_member swig_CvVectors_data_members[] = {
3860 {"ptr",0,_wrap_CvVectors_data_ptr_get,_wrap_CvVectors_data_ptr_set,0,0},
3861 {"fl",0,_wrap_CvVectors_data_fl_get,_wrap_CvVectors_data_fl_set,0,0},
3862 {"db",0,_wrap_CvVectors_data_db_get,_wrap_CvVectors_data_db_set,0,0},
3865 static const char *swig_CvVectors_data_base_names[] = {0};
3866 static const swig_type_info *swig_CvVectors_data_base[] = {0};
3867 static swig_octave_class _wrap_class_CvVectors_data = {"CvVectors_data", &SWIGTYPE_p_CvVectors_data,0,_wrap_new_CvVectors_data,0,_wrap_delete_CvVectors_data,swig_CvVectors_data_members,swig_CvVectors_data_base_names,swig_CvVectors_data_base };
3869 static octave_value_list _wrap_new_CvStatModel (const octave_value_list& args, int nargout) {
3870 octave_value_list _out;
3871 octave_value_list *_outp=&_out;
3873 CvStatModel *result = 0 ;
3875 if (!SWIG_check_num_args("new_CvStatModel",args.length(),0,0,0)) {
3880 result = (CvStatModel *)new CvStatModel();
3887 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvStatModel, 1 | 0 );
3888 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
3894 static octave_value_list _wrap_delete_CvStatModel (const octave_value_list& args, int nargout) {
3895 CvStatModel *arg1 = (CvStatModel *) 0 ;
3898 octave_value_list _out;
3899 octave_value_list *_outp=&_out;
3902 if (!SWIG_check_num_args("delete_CvStatModel",args.length(),1,1,0)) {
3905 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvStatModel, SWIG_POINTER_DISOWN | 0 );
3906 if (!SWIG_IsOK(res1)) {
3907 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CvStatModel" "', argument " "1"" of type '" "CvStatModel *""'");
3909 arg1 = (CvStatModel *)(argp1);
3919 _outv = octave_value();
3920 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
3926 static octave_value_list _wrap_CvStatModel_clear (const octave_value_list& args, int nargout) {
3927 CvStatModel *arg1 = (CvStatModel *) 0 ;
3930 octave_value_list _out;
3931 octave_value_list *_outp=&_out;
3934 if (!SWIG_check_num_args("CvStatModel_clear",args.length(),1,1,0)) {
3937 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvStatModel, 0 | 0 );
3938 if (!SWIG_IsOK(res1)) {
3939 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvStatModel_clear" "', argument " "1"" of type '" "CvStatModel *""'");
3941 arg1 = (CvStatModel *)(argp1);
3951 _outv = octave_value();
3952 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
3958 static octave_value_list _wrap_CvStatModel_save__SWIG_0 (const octave_value_list& args, int nargout) {
3959 CvStatModel *arg1 = (CvStatModel *) 0 ;
3960 char *arg2 = (char *) 0 ;
3961 char *arg3 = (char *) 0 ;
3970 octave_value_list _out;
3971 octave_value_list *_outp=&_out;
3974 if (!SWIG_check_num_args("CvStatModel_save",args.length(),3,3,0)) {
3977 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvStatModel, 0 | 0 );
3978 if (!SWIG_IsOK(res1)) {
3979 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvStatModel_save" "', argument " "1"" of type '" "CvStatModel const *""'");
3981 arg1 = (CvStatModel *)(argp1);
3982 res2 = SWIG_AsCharPtrAndSize(args(1), &buf2, NULL, &alloc2);
3983 if (!SWIG_IsOK(res2)) {
3984 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvStatModel_save" "', argument " "2"" of type '" "char const *""'");
3986 arg2 = (char *)(buf2);
3987 res3 = SWIG_AsCharPtrAndSize(args(2), &buf3, NULL, &alloc3);
3988 if (!SWIG_IsOK(res3)) {
3989 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvStatModel_save" "', argument " "3"" of type '" "char const *""'");
3991 arg3 = (char *)(buf3);
3994 ((CvStatModel const *)arg1)->save((char const *)arg2,(char const *)arg3);
4001 _outv = octave_value();
4002 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
4003 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
4004 if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
4010 static octave_value_list _wrap_CvStatModel_save__SWIG_1 (const octave_value_list& args, int nargout) {
4011 CvStatModel *arg1 = (CvStatModel *) 0 ;
4012 char *arg2 = (char *) 0 ;
4018 octave_value_list _out;
4019 octave_value_list *_outp=&_out;
4022 if (!SWIG_check_num_args("CvStatModel_save",args.length(),2,2,0)) {
4025 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvStatModel, 0 | 0 );
4026 if (!SWIG_IsOK(res1)) {
4027 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvStatModel_save" "', argument " "1"" of type '" "CvStatModel const *""'");
4029 arg1 = (CvStatModel *)(argp1);
4030 res2 = SWIG_AsCharPtrAndSize(args(1), &buf2, NULL, &alloc2);
4031 if (!SWIG_IsOK(res2)) {
4032 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvStatModel_save" "', argument " "2"" of type '" "char const *""'");
4034 arg2 = (char *)(buf2);
4037 ((CvStatModel const *)arg1)->save((char const *)arg2);
4044 _outv = octave_value();
4045 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
4046 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
4052 static octave_value_list _wrap_CvStatModel_save (const octave_value_list& args, int nargout) {
4053 int argc = args.length();
4054 octave_value_ref argv[3]={
4055 octave_value_ref(args,0),octave_value_ref(args,1),octave_value_ref(args,2)
4061 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvStatModel, 0);
4062 _v = SWIG_CheckState(res);
4064 int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
4065 _v = SWIG_CheckState(res);
4067 return _wrap_CvStatModel_save__SWIG_1(args, nargout);
4074 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvStatModel, 0);
4075 _v = SWIG_CheckState(res);
4077 int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
4078 _v = SWIG_CheckState(res);
4080 int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
4081 _v = SWIG_CheckState(res);
4083 return _wrap_CvStatModel_save__SWIG_0(args, nargout);
4089 error("No matching function for overload");
4090 return octave_value_list();
4094 static octave_value_list _wrap_CvStatModel_load__SWIG_0 (const octave_value_list& args, int nargout) {
4095 CvStatModel *arg1 = (CvStatModel *) 0 ;
4096 char *arg2 = (char *) 0 ;
4097 char *arg3 = (char *) 0 ;
4106 octave_value_list _out;
4107 octave_value_list *_outp=&_out;
4110 if (!SWIG_check_num_args("CvStatModel_load",args.length(),3,3,0)) {
4113 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvStatModel, 0 | 0 );
4114 if (!SWIG_IsOK(res1)) {
4115 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvStatModel_load" "', argument " "1"" of type '" "CvStatModel *""'");
4117 arg1 = (CvStatModel *)(argp1);
4118 res2 = SWIG_AsCharPtrAndSize(args(1), &buf2, NULL, &alloc2);
4119 if (!SWIG_IsOK(res2)) {
4120 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvStatModel_load" "', argument " "2"" of type '" "char const *""'");
4122 arg2 = (char *)(buf2);
4123 res3 = SWIG_AsCharPtrAndSize(args(2), &buf3, NULL, &alloc3);
4124 if (!SWIG_IsOK(res3)) {
4125 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvStatModel_load" "', argument " "3"" of type '" "char const *""'");
4127 arg3 = (char *)(buf3);
4130 (arg1)->load((char const *)arg2,(char const *)arg3);
4137 _outv = octave_value();
4138 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
4139 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
4140 if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
4146 static octave_value_list _wrap_CvStatModel_load__SWIG_1 (const octave_value_list& args, int nargout) {
4147 CvStatModel *arg1 = (CvStatModel *) 0 ;
4148 char *arg2 = (char *) 0 ;
4154 octave_value_list _out;
4155 octave_value_list *_outp=&_out;
4158 if (!SWIG_check_num_args("CvStatModel_load",args.length(),2,2,0)) {
4161 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvStatModel, 0 | 0 );
4162 if (!SWIG_IsOK(res1)) {
4163 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvStatModel_load" "', argument " "1"" of type '" "CvStatModel *""'");
4165 arg1 = (CvStatModel *)(argp1);
4166 res2 = SWIG_AsCharPtrAndSize(args(1), &buf2, NULL, &alloc2);
4167 if (!SWIG_IsOK(res2)) {
4168 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvStatModel_load" "', argument " "2"" of type '" "char const *""'");
4170 arg2 = (char *)(buf2);
4173 (arg1)->load((char const *)arg2);
4180 _outv = octave_value();
4181 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
4182 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
4188 static octave_value_list _wrap_CvStatModel_load (const octave_value_list& args, int nargout) {
4189 int argc = args.length();
4190 octave_value_ref argv[3]={
4191 octave_value_ref(args,0),octave_value_ref(args,1),octave_value_ref(args,2)
4197 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvStatModel, 0);
4198 _v = SWIG_CheckState(res);
4200 int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
4201 _v = SWIG_CheckState(res);
4203 return _wrap_CvStatModel_load__SWIG_1(args, nargout);
4210 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvStatModel, 0);
4211 _v = SWIG_CheckState(res);
4213 int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
4214 _v = SWIG_CheckState(res);
4216 int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
4217 _v = SWIG_CheckState(res);
4219 return _wrap_CvStatModel_load__SWIG_0(args, nargout);
4225 error("No matching function for overload");
4226 return octave_value_list();
4230 static octave_value_list _wrap_CvStatModel_write (const octave_value_list& args, int nargout) {
4231 CvStatModel *arg1 = (CvStatModel *) 0 ;
4232 CvFileStorage *arg2 = (CvFileStorage *) 0 ;
4233 char *arg3 = (char *) 0 ;
4241 octave_value_list _out;
4242 octave_value_list *_outp=&_out;
4245 if (!SWIG_check_num_args("CvStatModel_write",args.length(),3,3,0)) {
4248 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvStatModel, 0 | 0 );
4249 if (!SWIG_IsOK(res1)) {
4250 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvStatModel_write" "', argument " "1"" of type '" "CvStatModel const *""'");
4252 arg1 = (CvStatModel *)(argp1);
4253 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvFileStorage, 0 | 0 );
4254 if (!SWIG_IsOK(res2)) {
4255 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvStatModel_write" "', argument " "2"" of type '" "CvFileStorage *""'");
4257 arg2 = (CvFileStorage *)(argp2);
4258 res3 = SWIG_AsCharPtrAndSize(args(2), &buf3, NULL, &alloc3);
4259 if (!SWIG_IsOK(res3)) {
4260 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvStatModel_write" "', argument " "3"" of type '" "char const *""'");
4262 arg3 = (char *)(buf3);
4265 ((CvStatModel const *)arg1)->write(arg2,(char const *)arg3);
4272 _outv = octave_value();
4273 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
4274 if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
4280 static octave_value_list _wrap_CvStatModel_read (const octave_value_list& args, int nargout) {
4281 CvStatModel *arg1 = (CvStatModel *) 0 ;
4282 CvFileStorage *arg2 = (CvFileStorage *) 0 ;
4283 CvFileNode *arg3 = (CvFileNode *) 0 ;
4290 octave_value_list _out;
4291 octave_value_list *_outp=&_out;
4294 if (!SWIG_check_num_args("CvStatModel_read",args.length(),3,3,0)) {
4297 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvStatModel, 0 | 0 );
4298 if (!SWIG_IsOK(res1)) {
4299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvStatModel_read" "', argument " "1"" of type '" "CvStatModel *""'");
4301 arg1 = (CvStatModel *)(argp1);
4302 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvFileStorage, 0 | 0 );
4303 if (!SWIG_IsOK(res2)) {
4304 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvStatModel_read" "', argument " "2"" of type '" "CvFileStorage *""'");
4306 arg2 = (CvFileStorage *)(argp2);
4307 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvFileNode, 0 | 0 );
4308 if (!SWIG_IsOK(res3)) {
4309 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvStatModel_read" "', argument " "3"" of type '" "CvFileNode *""'");
4311 arg3 = (CvFileNode *)(argp3);
4314 (arg1)->read(arg2,arg3);
4321 _outv = octave_value();
4322 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
4328 static swig_octave_member swig_CvStatModel_members[] = {
4329 {"clear",_wrap_CvStatModel_clear,0,0,0,0},
4330 {"save",_wrap_CvStatModel_save,0,0,0,0},
4331 {"load",_wrap_CvStatModel_load,0,0,0,0},
4332 {"write",_wrap_CvStatModel_write,0,0,0,0},
4333 {"read",_wrap_CvStatModel_read,0,0,0,0},
4336 static const char *swig_CvStatModel_base_names[] = {0};
4337 static const swig_type_info *swig_CvStatModel_base[] = {0};
4338 static swig_octave_class _wrap_class_CvStatModel = {"CvStatModel", &SWIGTYPE_p_CvStatModel,0,_wrap_new_CvStatModel,0,_wrap_delete_CvStatModel,swig_CvStatModel_members,swig_CvStatModel_base_names,swig_CvStatModel_base };
4340 static octave_value_list _wrap_new_CvParamGrid__SWIG_0 (const octave_value_list& args, int nargout) {
4341 octave_value_list _out;
4342 octave_value_list *_outp=&_out;
4344 CvParamGrid *result = 0 ;
4346 if (!SWIG_check_num_args("new_CvParamGrid",args.length(),0,0,0)) {
4351 result = (CvParamGrid *)new CvParamGrid();
4358 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvParamGrid, 1 | 0 );
4359 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
4365 static octave_value_list _wrap_new_CvParamGrid__SWIG_1 (const octave_value_list& args, int nargout) {
4375 octave_value_list _out;
4376 octave_value_list *_outp=&_out;
4378 CvParamGrid *result = 0 ;
4380 if (!SWIG_check_num_args("new_CvParamGrid",args.length(),3,3,0)) {
4383 ecode1 = SWIG_AsVal_double(args(0), &val1);
4384 if (!SWIG_IsOK(ecode1)) {
4385 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CvParamGrid" "', argument " "1"" of type '" "double""'");
4387 arg1 = (double)(val1);
4388 ecode2 = SWIG_AsVal_double(args(1), &val2);
4389 if (!SWIG_IsOK(ecode2)) {
4390 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CvParamGrid" "', argument " "2"" of type '" "double""'");
4392 arg2 = (double)(val2);
4393 ecode3 = SWIG_AsVal_double(args(2), &val3);
4394 if (!SWIG_IsOK(ecode3)) {
4395 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_CvParamGrid" "', argument " "3"" of type '" "double""'");
4397 arg3 = (double)(val3);
4400 result = (CvParamGrid *)new CvParamGrid(arg1,arg2,arg3);
4407 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvParamGrid, 1 | 0 );
4408 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
4414 static octave_value_list _wrap_new_CvParamGrid (const octave_value_list& args, int nargout) {
4415 int argc = args.length();
4416 octave_value_ref argv[3]={
4417 octave_value_ref(args,0),octave_value_ref(args,1),octave_value_ref(args,2)
4421 return _wrap_new_CvParamGrid__SWIG_0(args, nargout);
4426 int res = SWIG_AsVal_double(argv[0], NULL);
4427 _v = SWIG_CheckState(res);
4431 int res = SWIG_AsVal_double(argv[1], NULL);
4432 _v = SWIG_CheckState(res);
4436 int res = SWIG_AsVal_double(argv[2], NULL);
4437 _v = SWIG_CheckState(res);
4440 return _wrap_new_CvParamGrid__SWIG_1(args, nargout);
4446 error("No matching function for overload");
4447 return octave_value_list();
4451 static octave_value_list _wrap_CvParamGrid_check (const octave_value_list& args, int nargout) {
4452 CvParamGrid *arg1 = (CvParamGrid *) 0 ;
4455 octave_value_list _out;
4456 octave_value_list *_outp=&_out;
4460 if (!SWIG_check_num_args("CvParamGrid_check",args.length(),1,1,0)) {
4463 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvParamGrid, 0 | 0 );
4464 if (!SWIG_IsOK(res1)) {
4465 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvParamGrid_check" "', argument " "1"" of type '" "CvParamGrid const *""'");
4467 arg1 = (CvParamGrid *)(argp1);
4470 result = (bool)((CvParamGrid const *)arg1)->check();
4477 _outv = SWIG_From_bool((bool)(result));
4478 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
4484 static octave_value_list _wrap_CvParamGrid_min_val_set (const octave_value_list& args, int nargout) {
4485 CvParamGrid *arg1 = (CvParamGrid *) 0 ;
4491 octave_value_list _out;
4492 octave_value_list *_outp=&_out;
4495 if (!SWIG_check_num_args("CvParamGrid_min_val_set",args.length(),2,2,0)) {
4498 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvParamGrid, 0 | 0 );
4499 if (!SWIG_IsOK(res1)) {
4500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvParamGrid_min_val_set" "', argument " "1"" of type '" "CvParamGrid *""'");
4502 arg1 = (CvParamGrid *)(argp1);
4503 ecode2 = SWIG_AsVal_double(args(1), &val2);
4504 if (!SWIG_IsOK(ecode2)) {
4505 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvParamGrid_min_val_set" "', argument " "2"" of type '" "double""'");
4507 arg2 = (double)(val2);
4508 if (arg1) (arg1)->min_val = arg2;
4509 _outv = octave_value();
4510 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
4516 static octave_value_list _wrap_CvParamGrid_min_val_get (const octave_value_list& args, int nargout) {
4517 CvParamGrid *arg1 = (CvParamGrid *) 0 ;
4520 octave_value_list _out;
4521 octave_value_list *_outp=&_out;
4525 if (!SWIG_check_num_args("CvParamGrid_min_val_get",args.length(),1,1,0)) {
4528 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvParamGrid, 0 | 0 );
4529 if (!SWIG_IsOK(res1)) {
4530 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvParamGrid_min_val_get" "', argument " "1"" of type '" "CvParamGrid *""'");
4532 arg1 = (CvParamGrid *)(argp1);
4533 result = (double) ((arg1)->min_val);
4534 _outv = SWIG_From_double((double)(result));
4535 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
4541 static octave_value_list _wrap_CvParamGrid_max_val_set (const octave_value_list& args, int nargout) {
4542 CvParamGrid *arg1 = (CvParamGrid *) 0 ;
4548 octave_value_list _out;
4549 octave_value_list *_outp=&_out;
4552 if (!SWIG_check_num_args("CvParamGrid_max_val_set",args.length(),2,2,0)) {
4555 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvParamGrid, 0 | 0 );
4556 if (!SWIG_IsOK(res1)) {
4557 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvParamGrid_max_val_set" "', argument " "1"" of type '" "CvParamGrid *""'");
4559 arg1 = (CvParamGrid *)(argp1);
4560 ecode2 = SWIG_AsVal_double(args(1), &val2);
4561 if (!SWIG_IsOK(ecode2)) {
4562 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvParamGrid_max_val_set" "', argument " "2"" of type '" "double""'");
4564 arg2 = (double)(val2);
4565 if (arg1) (arg1)->max_val = arg2;
4566 _outv = octave_value();
4567 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
4573 static octave_value_list _wrap_CvParamGrid_max_val_get (const octave_value_list& args, int nargout) {
4574 CvParamGrid *arg1 = (CvParamGrid *) 0 ;
4577 octave_value_list _out;
4578 octave_value_list *_outp=&_out;
4582 if (!SWIG_check_num_args("CvParamGrid_max_val_get",args.length(),1,1,0)) {
4585 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvParamGrid, 0 | 0 );
4586 if (!SWIG_IsOK(res1)) {
4587 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvParamGrid_max_val_get" "', argument " "1"" of type '" "CvParamGrid *""'");
4589 arg1 = (CvParamGrid *)(argp1);
4590 result = (double) ((arg1)->max_val);
4591 _outv = SWIG_From_double((double)(result));
4592 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
4598 static octave_value_list _wrap_CvParamGrid_step_set (const octave_value_list& args, int nargout) {
4599 CvParamGrid *arg1 = (CvParamGrid *) 0 ;
4605 octave_value_list _out;
4606 octave_value_list *_outp=&_out;
4609 if (!SWIG_check_num_args("CvParamGrid_step_set",args.length(),2,2,0)) {
4612 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvParamGrid, 0 | 0 );
4613 if (!SWIG_IsOK(res1)) {
4614 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvParamGrid_step_set" "', argument " "1"" of type '" "CvParamGrid *""'");
4616 arg1 = (CvParamGrid *)(argp1);
4617 ecode2 = SWIG_AsVal_double(args(1), &val2);
4618 if (!SWIG_IsOK(ecode2)) {
4619 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvParamGrid_step_set" "', argument " "2"" of type '" "double""'");
4621 arg2 = (double)(val2);
4622 if (arg1) (arg1)->step = arg2;
4623 _outv = octave_value();
4624 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
4630 static octave_value_list _wrap_CvParamGrid_step_get (const octave_value_list& args, int nargout) {
4631 CvParamGrid *arg1 = (CvParamGrid *) 0 ;
4634 octave_value_list _out;
4635 octave_value_list *_outp=&_out;
4639 if (!SWIG_check_num_args("CvParamGrid_step_get",args.length(),1,1,0)) {
4642 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvParamGrid, 0 | 0 );
4643 if (!SWIG_IsOK(res1)) {
4644 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvParamGrid_step_get" "', argument " "1"" of type '" "CvParamGrid *""'");
4646 arg1 = (CvParamGrid *)(argp1);
4647 result = (double) ((arg1)->step);
4648 _outv = SWIG_From_double((double)(result));
4649 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
4655 static octave_value_list _wrap_delete_CvParamGrid (const octave_value_list& args, int nargout) {
4656 CvParamGrid *arg1 = (CvParamGrid *) 0 ;
4659 octave_value_list _out;
4660 octave_value_list *_outp=&_out;
4663 if (!SWIG_check_num_args("delete_CvParamGrid",args.length(),1,1,0)) {
4666 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvParamGrid, SWIG_POINTER_DISOWN | 0 );
4667 if (!SWIG_IsOK(res1)) {
4668 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CvParamGrid" "', argument " "1"" of type '" "CvParamGrid *""'");
4670 arg1 = (CvParamGrid *)(argp1);
4680 _outv = octave_value();
4681 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
4687 static swig_octave_member swig_CvParamGrid_members[] = {
4688 {"check",_wrap_CvParamGrid_check,0,0,0,0},
4689 {"min_val",0,_wrap_CvParamGrid_min_val_get,_wrap_CvParamGrid_min_val_set,0,0},
4690 {"max_val",0,_wrap_CvParamGrid_max_val_get,_wrap_CvParamGrid_max_val_set,0,0},
4691 {"step",0,_wrap_CvParamGrid_step_get,_wrap_CvParamGrid_step_set,0,0},
4694 static const char *swig_CvParamGrid_base_names[] = {0};
4695 static const swig_type_info *swig_CvParamGrid_base[] = {0};
4696 static swig_octave_class _wrap_class_CvParamGrid = {"CvParamGrid", &SWIGTYPE_p_CvParamGrid,0,_wrap_new_CvParamGrid,0,_wrap_delete_CvParamGrid,swig_CvParamGrid_members,swig_CvParamGrid_base_names,swig_CvParamGrid_base };
4698 static octave_value_list _wrap_new_CvNormalBayesClassifier__SWIG_0 (const octave_value_list& args, int nargout) {
4699 octave_value_list _out;
4700 octave_value_list *_outp=&_out;
4702 CvNormalBayesClassifier *result = 0 ;
4704 if (!SWIG_check_num_args("new_CvNormalBayesClassifier",args.length(),0,0,0)) {
4709 result = (CvNormalBayesClassifier *)new CvNormalBayesClassifier();
4716 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvNormalBayesClassifier, 1 | 0 );
4717 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
4723 static octave_value_list _wrap_delete_CvNormalBayesClassifier (const octave_value_list& args, int nargout) {
4724 CvNormalBayesClassifier *arg1 = (CvNormalBayesClassifier *) 0 ;
4727 octave_value_list _out;
4728 octave_value_list *_outp=&_out;
4731 if (!SWIG_check_num_args("delete_CvNormalBayesClassifier",args.length(),1,1,0)) {
4734 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvNormalBayesClassifier, SWIG_POINTER_DISOWN | 0 );
4735 if (!SWIG_IsOK(res1)) {
4736 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CvNormalBayesClassifier" "', argument " "1"" of type '" "CvNormalBayesClassifier *""'");
4738 arg1 = (CvNormalBayesClassifier *)(argp1);
4748 _outv = octave_value();
4749 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
4755 static octave_value_list _wrap_new_CvNormalBayesClassifier__SWIG_1 (const octave_value_list& args, int nargout) {
4756 CvMat *arg1 = (CvMat *) 0 ;
4757 CvMat *arg2 = (CvMat *) 0 ;
4758 CvMat *arg3 = (CvMat *) 0 ;
4759 CvMat *arg4 = (CvMat *) 0 ;
4768 octave_value_list _out;
4769 octave_value_list *_outp=&_out;
4771 CvNormalBayesClassifier *result = 0 ;
4773 if (!SWIG_check_num_args("new_CvNormalBayesClassifier",args.length(),4,4,0)) {
4776 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvMat, 0 | 0 );
4777 if (!SWIG_IsOK(res1)) {
4778 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CvNormalBayesClassifier" "', argument " "1"" of type '" "CvMat const *""'");
4780 arg1 = (CvMat *)(argp1);
4781 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
4782 if (!SWIG_IsOK(res2)) {
4783 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_CvNormalBayesClassifier" "', argument " "2"" of type '" "CvMat const *""'");
4785 arg2 = (CvMat *)(argp2);
4786 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvMat, 0 | 0 );
4787 if (!SWIG_IsOK(res3)) {
4788 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_CvNormalBayesClassifier" "', argument " "3"" of type '" "CvMat const *""'");
4790 arg3 = (CvMat *)(argp3);
4791 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
4792 if (!SWIG_IsOK(res4)) {
4793 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_CvNormalBayesClassifier" "', argument " "4"" of type '" "CvMat const *""'");
4795 arg4 = (CvMat *)(argp4);
4798 result = (CvNormalBayesClassifier *)new CvNormalBayesClassifier((CvMat const *)arg1,(CvMat const *)arg2,(CvMat const *)arg3,(CvMat const *)arg4);
4805 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvNormalBayesClassifier, 1 | 0 );
4806 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
4812 static octave_value_list _wrap_new_CvNormalBayesClassifier__SWIG_2 (const octave_value_list& args, int nargout) {
4813 CvMat *arg1 = (CvMat *) 0 ;
4814 CvMat *arg2 = (CvMat *) 0 ;
4815 CvMat *arg3 = (CvMat *) 0 ;
4822 octave_value_list _out;
4823 octave_value_list *_outp=&_out;
4825 CvNormalBayesClassifier *result = 0 ;
4827 if (!SWIG_check_num_args("new_CvNormalBayesClassifier",args.length(),3,3,0)) {
4830 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvMat, 0 | 0 );
4831 if (!SWIG_IsOK(res1)) {
4832 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CvNormalBayesClassifier" "', argument " "1"" of type '" "CvMat const *""'");
4834 arg1 = (CvMat *)(argp1);
4835 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
4836 if (!SWIG_IsOK(res2)) {
4837 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_CvNormalBayesClassifier" "', argument " "2"" of type '" "CvMat const *""'");
4839 arg2 = (CvMat *)(argp2);
4840 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvMat, 0 | 0 );
4841 if (!SWIG_IsOK(res3)) {
4842 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_CvNormalBayesClassifier" "', argument " "3"" of type '" "CvMat const *""'");
4844 arg3 = (CvMat *)(argp3);
4847 result = (CvNormalBayesClassifier *)new CvNormalBayesClassifier((CvMat const *)arg1,(CvMat const *)arg2,(CvMat const *)arg3);
4854 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvNormalBayesClassifier, 1 | 0 );
4855 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
4861 static octave_value_list _wrap_new_CvNormalBayesClassifier__SWIG_3 (const octave_value_list& args, int nargout) {
4862 CvMat *arg1 = (CvMat *) 0 ;
4863 CvMat *arg2 = (CvMat *) 0 ;
4868 octave_value_list _out;
4869 octave_value_list *_outp=&_out;
4871 CvNormalBayesClassifier *result = 0 ;
4873 if (!SWIG_check_num_args("new_CvNormalBayesClassifier",args.length(),2,2,0)) {
4876 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvMat, 0 | 0 );
4877 if (!SWIG_IsOK(res1)) {
4878 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CvNormalBayesClassifier" "', argument " "1"" of type '" "CvMat const *""'");
4880 arg1 = (CvMat *)(argp1);
4881 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
4882 if (!SWIG_IsOK(res2)) {
4883 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_CvNormalBayesClassifier" "', argument " "2"" of type '" "CvMat const *""'");
4885 arg2 = (CvMat *)(argp2);
4888 result = (CvNormalBayesClassifier *)new CvNormalBayesClassifier((CvMat const *)arg1,(CvMat const *)arg2);
4895 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvNormalBayesClassifier, 1 | 0 );
4896 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
4902 static octave_value_list _wrap_new_CvNormalBayesClassifier (const octave_value_list& args, int nargout) {
4903 int argc = args.length();
4904 octave_value_ref argv[4]={
4905 octave_value_ref(args,0),octave_value_ref(args,1),octave_value_ref(args,2),octave_value_ref(args,3)
4909 return _wrap_new_CvNormalBayesClassifier__SWIG_0(args, nargout);
4914 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvMat, 0);
4915 _v = SWIG_CheckState(res);
4918 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
4919 _v = SWIG_CheckState(res);
4921 return _wrap_new_CvNormalBayesClassifier__SWIG_3(args, nargout);
4928 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvMat, 0);
4929 _v = SWIG_CheckState(res);
4932 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
4933 _v = SWIG_CheckState(res);
4936 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvMat, 0);
4937 _v = SWIG_CheckState(res);
4939 return _wrap_new_CvNormalBayesClassifier__SWIG_2(args, nargout);
4947 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvMat, 0);
4948 _v = SWIG_CheckState(res);
4951 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
4952 _v = SWIG_CheckState(res);
4955 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvMat, 0);
4956 _v = SWIG_CheckState(res);
4959 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
4960 _v = SWIG_CheckState(res);
4962 return _wrap_new_CvNormalBayesClassifier__SWIG_1(args, nargout);
4969 error("No matching function for overload");
4970 return octave_value_list();
4974 static octave_value_list _wrap_CvNormalBayesClassifier_train__SWIG_0 (const octave_value_list& args, int nargout) {
4975 CvNormalBayesClassifier *arg1 = (CvNormalBayesClassifier *) 0 ;
4976 CvMat *arg2 = (CvMat *) 0 ;
4977 CvMat *arg3 = (CvMat *) 0 ;
4978 CvMat *arg4 = (CvMat *) 0 ;
4979 CvMat *arg5 = (CvMat *) 0 ;
4993 octave_value_list _out;
4994 octave_value_list *_outp=&_out;
4998 if (!SWIG_check_num_args("CvNormalBayesClassifier_train",args.length(),6,6,0)) {
5001 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvNormalBayesClassifier, 0 | 0 );
5002 if (!SWIG_IsOK(res1)) {
5003 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvNormalBayesClassifier_train" "', argument " "1"" of type '" "CvNormalBayesClassifier *""'");
5005 arg1 = (CvNormalBayesClassifier *)(argp1);
5006 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
5007 if (!SWIG_IsOK(res2)) {
5008 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvNormalBayesClassifier_train" "', argument " "2"" of type '" "CvMat const *""'");
5010 arg2 = (CvMat *)(argp2);
5011 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvMat, 0 | 0 );
5012 if (!SWIG_IsOK(res3)) {
5013 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvNormalBayesClassifier_train" "', argument " "3"" of type '" "CvMat const *""'");
5015 arg3 = (CvMat *)(argp3);
5016 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
5017 if (!SWIG_IsOK(res4)) {
5018 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvNormalBayesClassifier_train" "', argument " "4"" of type '" "CvMat const *""'");
5020 arg4 = (CvMat *)(argp4);
5021 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
5022 if (!SWIG_IsOK(res5)) {
5023 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvNormalBayesClassifier_train" "', argument " "5"" of type '" "CvMat const *""'");
5025 arg5 = (CvMat *)(argp5);
5026 ecode6 = SWIG_AsVal_bool(args(5), &val6);
5027 if (!SWIG_IsOK(ecode6)) {
5028 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "CvNormalBayesClassifier_train" "', argument " "6"" of type '" "bool""'");
5030 arg6 = (bool)(val6);
5033 result = (bool)(arg1)->train((CvMat const *)arg2,(CvMat const *)arg3,(CvMat const *)arg4,(CvMat const *)arg5,arg6);
5040 _outv = SWIG_From_bool((bool)(result));
5041 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
5047 static octave_value_list _wrap_CvNormalBayesClassifier_train__SWIG_1 (const octave_value_list& args, int nargout) {
5048 CvNormalBayesClassifier *arg1 = (CvNormalBayesClassifier *) 0 ;
5049 CvMat *arg2 = (CvMat *) 0 ;
5050 CvMat *arg3 = (CvMat *) 0 ;
5051 CvMat *arg4 = (CvMat *) 0 ;
5052 CvMat *arg5 = (CvMat *) 0 ;
5063 octave_value_list _out;
5064 octave_value_list *_outp=&_out;
5068 if (!SWIG_check_num_args("CvNormalBayesClassifier_train",args.length(),5,5,0)) {
5071 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvNormalBayesClassifier, 0 | 0 );
5072 if (!SWIG_IsOK(res1)) {
5073 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvNormalBayesClassifier_train" "', argument " "1"" of type '" "CvNormalBayesClassifier *""'");
5075 arg1 = (CvNormalBayesClassifier *)(argp1);
5076 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
5077 if (!SWIG_IsOK(res2)) {
5078 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvNormalBayesClassifier_train" "', argument " "2"" of type '" "CvMat const *""'");
5080 arg2 = (CvMat *)(argp2);
5081 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvMat, 0 | 0 );
5082 if (!SWIG_IsOK(res3)) {
5083 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvNormalBayesClassifier_train" "', argument " "3"" of type '" "CvMat const *""'");
5085 arg3 = (CvMat *)(argp3);
5086 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
5087 if (!SWIG_IsOK(res4)) {
5088 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvNormalBayesClassifier_train" "', argument " "4"" of type '" "CvMat const *""'");
5090 arg4 = (CvMat *)(argp4);
5091 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
5092 if (!SWIG_IsOK(res5)) {
5093 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvNormalBayesClassifier_train" "', argument " "5"" of type '" "CvMat const *""'");
5095 arg5 = (CvMat *)(argp5);
5098 result = (bool)(arg1)->train((CvMat const *)arg2,(CvMat const *)arg3,(CvMat const *)arg4,(CvMat const *)arg5);
5105 _outv = SWIG_From_bool((bool)(result));
5106 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
5112 static octave_value_list _wrap_CvNormalBayesClassifier_train__SWIG_2 (const octave_value_list& args, int nargout) {
5113 CvNormalBayesClassifier *arg1 = (CvNormalBayesClassifier *) 0 ;
5114 CvMat *arg2 = (CvMat *) 0 ;
5115 CvMat *arg3 = (CvMat *) 0 ;
5116 CvMat *arg4 = (CvMat *) 0 ;
5125 octave_value_list _out;
5126 octave_value_list *_outp=&_out;
5130 if (!SWIG_check_num_args("CvNormalBayesClassifier_train",args.length(),4,4,0)) {
5133 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvNormalBayesClassifier, 0 | 0 );
5134 if (!SWIG_IsOK(res1)) {
5135 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvNormalBayesClassifier_train" "', argument " "1"" of type '" "CvNormalBayesClassifier *""'");
5137 arg1 = (CvNormalBayesClassifier *)(argp1);
5138 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
5139 if (!SWIG_IsOK(res2)) {
5140 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvNormalBayesClassifier_train" "', argument " "2"" of type '" "CvMat const *""'");
5142 arg2 = (CvMat *)(argp2);
5143 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvMat, 0 | 0 );
5144 if (!SWIG_IsOK(res3)) {
5145 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvNormalBayesClassifier_train" "', argument " "3"" of type '" "CvMat const *""'");
5147 arg3 = (CvMat *)(argp3);
5148 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
5149 if (!SWIG_IsOK(res4)) {
5150 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvNormalBayesClassifier_train" "', argument " "4"" of type '" "CvMat const *""'");
5152 arg4 = (CvMat *)(argp4);
5155 result = (bool)(arg1)->train((CvMat const *)arg2,(CvMat const *)arg3,(CvMat const *)arg4);
5162 _outv = SWIG_From_bool((bool)(result));
5163 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
5169 static octave_value_list _wrap_CvNormalBayesClassifier_train__SWIG_3 (const octave_value_list& args, int nargout) {
5170 CvNormalBayesClassifier *arg1 = (CvNormalBayesClassifier *) 0 ;
5171 CvMat *arg2 = (CvMat *) 0 ;
5172 CvMat *arg3 = (CvMat *) 0 ;
5179 octave_value_list _out;
5180 octave_value_list *_outp=&_out;
5184 if (!SWIG_check_num_args("CvNormalBayesClassifier_train",args.length(),3,3,0)) {
5187 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvNormalBayesClassifier, 0 | 0 );
5188 if (!SWIG_IsOK(res1)) {
5189 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvNormalBayesClassifier_train" "', argument " "1"" of type '" "CvNormalBayesClassifier *""'");
5191 arg1 = (CvNormalBayesClassifier *)(argp1);
5192 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
5193 if (!SWIG_IsOK(res2)) {
5194 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvNormalBayesClassifier_train" "', argument " "2"" of type '" "CvMat const *""'");
5196 arg2 = (CvMat *)(argp2);
5197 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvMat, 0 | 0 );
5198 if (!SWIG_IsOK(res3)) {
5199 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvNormalBayesClassifier_train" "', argument " "3"" of type '" "CvMat const *""'");
5201 arg3 = (CvMat *)(argp3);
5204 result = (bool)(arg1)->train((CvMat const *)arg2,(CvMat const *)arg3);
5211 _outv = SWIG_From_bool((bool)(result));
5212 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
5218 static octave_value_list _wrap_CvNormalBayesClassifier_train (const octave_value_list& args, int nargout) {
5219 int argc = args.length();
5220 octave_value_ref argv[6]={
5221 octave_value_ref(args,0),octave_value_ref(args,1),octave_value_ref(args,2),octave_value_ref(args,3),octave_value_ref(args,4),octave_value_ref(args,5)
5227 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvNormalBayesClassifier, 0);
5228 _v = SWIG_CheckState(res);
5231 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
5232 _v = SWIG_CheckState(res);
5235 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvMat, 0);
5236 _v = SWIG_CheckState(res);
5238 return _wrap_CvNormalBayesClassifier_train__SWIG_3(args, nargout);
5246 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvNormalBayesClassifier, 0);
5247 _v = SWIG_CheckState(res);
5250 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
5251 _v = SWIG_CheckState(res);
5254 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvMat, 0);
5255 _v = SWIG_CheckState(res);
5258 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
5259 _v = SWIG_CheckState(res);
5261 return _wrap_CvNormalBayesClassifier_train__SWIG_2(args, nargout);
5270 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvNormalBayesClassifier, 0);
5271 _v = SWIG_CheckState(res);
5274 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
5275 _v = SWIG_CheckState(res);
5278 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvMat, 0);
5279 _v = SWIG_CheckState(res);
5282 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
5283 _v = SWIG_CheckState(res);
5286 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvMat, 0);
5287 _v = SWIG_CheckState(res);
5289 return _wrap_CvNormalBayesClassifier_train__SWIG_1(args, nargout);
5299 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvNormalBayesClassifier, 0);
5300 _v = SWIG_CheckState(res);
5303 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
5304 _v = SWIG_CheckState(res);
5307 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvMat, 0);
5308 _v = SWIG_CheckState(res);
5311 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
5312 _v = SWIG_CheckState(res);
5315 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvMat, 0);
5316 _v = SWIG_CheckState(res);
5319 int res = SWIG_AsVal_bool(argv[5], NULL);
5320 _v = SWIG_CheckState(res);
5323 return _wrap_CvNormalBayesClassifier_train__SWIG_0(args, nargout);
5332 error("No matching function for overload");
5333 return octave_value_list();
5337 static octave_value_list _wrap_CvNormalBayesClassifier_predict__SWIG_0 (const octave_value_list& args, int nargout) {
5338 CvNormalBayesClassifier *arg1 = (CvNormalBayesClassifier *) 0 ;
5339 CvMat *arg2 = (CvMat *) 0 ;
5340 CvMat *arg3 = (CvMat *) 0 ;
5347 octave_value_list _out;
5348 octave_value_list *_outp=&_out;
5352 if (!SWIG_check_num_args("CvNormalBayesClassifier_predict",args.length(),3,3,0)) {
5355 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvNormalBayesClassifier, 0 | 0 );
5356 if (!SWIG_IsOK(res1)) {
5357 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvNormalBayesClassifier_predict" "', argument " "1"" of type '" "CvNormalBayesClassifier const *""'");
5359 arg1 = (CvNormalBayesClassifier *)(argp1);
5360 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
5361 if (!SWIG_IsOK(res2)) {
5362 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvNormalBayesClassifier_predict" "', argument " "2"" of type '" "CvMat const *""'");
5364 arg2 = (CvMat *)(argp2);
5365 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvMat, 0 | 0 );
5366 if (!SWIG_IsOK(res3)) {
5367 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvNormalBayesClassifier_predict" "', argument " "3"" of type '" "CvMat *""'");
5369 arg3 = (CvMat *)(argp3);
5372 result = (float)((CvNormalBayesClassifier const *)arg1)->predict((CvMat const *)arg2,arg3);
5379 _outv = SWIG_From_float((float)(result));
5380 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
5386 static octave_value_list _wrap_CvNormalBayesClassifier_predict__SWIG_1 (const octave_value_list& args, int nargout) {
5387 CvNormalBayesClassifier *arg1 = (CvNormalBayesClassifier *) 0 ;
5388 CvMat *arg2 = (CvMat *) 0 ;
5393 octave_value_list _out;
5394 octave_value_list *_outp=&_out;
5398 if (!SWIG_check_num_args("CvNormalBayesClassifier_predict",args.length(),2,2,0)) {
5401 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvNormalBayesClassifier, 0 | 0 );
5402 if (!SWIG_IsOK(res1)) {
5403 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvNormalBayesClassifier_predict" "', argument " "1"" of type '" "CvNormalBayesClassifier const *""'");
5405 arg1 = (CvNormalBayesClassifier *)(argp1);
5406 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
5407 if (!SWIG_IsOK(res2)) {
5408 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvNormalBayesClassifier_predict" "', argument " "2"" of type '" "CvMat const *""'");
5410 arg2 = (CvMat *)(argp2);
5413 result = (float)((CvNormalBayesClassifier const *)arg1)->predict((CvMat const *)arg2);
5420 _outv = SWIG_From_float((float)(result));
5421 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
5427 static octave_value_list _wrap_CvNormalBayesClassifier_predict (const octave_value_list& args, int nargout) {
5428 int argc = args.length();
5429 octave_value_ref argv[3]={
5430 octave_value_ref(args,0),octave_value_ref(args,1),octave_value_ref(args,2)
5436 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvNormalBayesClassifier, 0);
5437 _v = SWIG_CheckState(res);
5440 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
5441 _v = SWIG_CheckState(res);
5443 return _wrap_CvNormalBayesClassifier_predict__SWIG_1(args, nargout);
5450 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvNormalBayesClassifier, 0);
5451 _v = SWIG_CheckState(res);
5454 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
5455 _v = SWIG_CheckState(res);
5458 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvMat, 0);
5459 _v = SWIG_CheckState(res);
5461 return _wrap_CvNormalBayesClassifier_predict__SWIG_0(args, nargout);
5467 error("No matching function for overload");
5468 return octave_value_list();
5472 static octave_value_list _wrap_CvNormalBayesClassifier_clear (const octave_value_list& args, int nargout) {
5473 CvNormalBayesClassifier *arg1 = (CvNormalBayesClassifier *) 0 ;
5476 octave_value_list _out;
5477 octave_value_list *_outp=&_out;
5480 if (!SWIG_check_num_args("CvNormalBayesClassifier_clear",args.length(),1,1,0)) {
5483 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvNormalBayesClassifier, 0 | 0 );
5484 if (!SWIG_IsOK(res1)) {
5485 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvNormalBayesClassifier_clear" "', argument " "1"" of type '" "CvNormalBayesClassifier *""'");
5487 arg1 = (CvNormalBayesClassifier *)(argp1);
5497 _outv = octave_value();
5498 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
5504 static octave_value_list _wrap_CvNormalBayesClassifier_write (const octave_value_list& args, int nargout) {
5505 CvNormalBayesClassifier *arg1 = (CvNormalBayesClassifier *) 0 ;
5506 CvFileStorage *arg2 = (CvFileStorage *) 0 ;
5507 char *arg3 = (char *) 0 ;
5515 octave_value_list _out;
5516 octave_value_list *_outp=&_out;
5519 if (!SWIG_check_num_args("CvNormalBayesClassifier_write",args.length(),3,3,0)) {
5522 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvNormalBayesClassifier, 0 | 0 );
5523 if (!SWIG_IsOK(res1)) {
5524 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvNormalBayesClassifier_write" "', argument " "1"" of type '" "CvNormalBayesClassifier const *""'");
5526 arg1 = (CvNormalBayesClassifier *)(argp1);
5527 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvFileStorage, 0 | 0 );
5528 if (!SWIG_IsOK(res2)) {
5529 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvNormalBayesClassifier_write" "', argument " "2"" of type '" "CvFileStorage *""'");
5531 arg2 = (CvFileStorage *)(argp2);
5532 res3 = SWIG_AsCharPtrAndSize(args(2), &buf3, NULL, &alloc3);
5533 if (!SWIG_IsOK(res3)) {
5534 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvNormalBayesClassifier_write" "', argument " "3"" of type '" "char const *""'");
5536 arg3 = (char *)(buf3);
5539 ((CvNormalBayesClassifier const *)arg1)->write(arg2,(char const *)arg3);
5546 _outv = octave_value();
5547 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
5548 if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
5554 static octave_value_list _wrap_CvNormalBayesClassifier_read (const octave_value_list& args, int nargout) {
5555 CvNormalBayesClassifier *arg1 = (CvNormalBayesClassifier *) 0 ;
5556 CvFileStorage *arg2 = (CvFileStorage *) 0 ;
5557 CvFileNode *arg3 = (CvFileNode *) 0 ;
5564 octave_value_list _out;
5565 octave_value_list *_outp=&_out;
5568 if (!SWIG_check_num_args("CvNormalBayesClassifier_read",args.length(),3,3,0)) {
5571 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvNormalBayesClassifier, 0 | 0 );
5572 if (!SWIG_IsOK(res1)) {
5573 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvNormalBayesClassifier_read" "', argument " "1"" of type '" "CvNormalBayesClassifier *""'");
5575 arg1 = (CvNormalBayesClassifier *)(argp1);
5576 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvFileStorage, 0 | 0 );
5577 if (!SWIG_IsOK(res2)) {
5578 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvNormalBayesClassifier_read" "', argument " "2"" of type '" "CvFileStorage *""'");
5580 arg2 = (CvFileStorage *)(argp2);
5581 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvFileNode, 0 | 0 );
5582 if (!SWIG_IsOK(res3)) {
5583 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvNormalBayesClassifier_read" "', argument " "3"" of type '" "CvFileNode *""'");
5585 arg3 = (CvFileNode *)(argp3);
5588 (arg1)->read(arg2,arg3);
5595 _outv = octave_value();
5596 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
5602 static swig_octave_member swig_CvNormalBayesClassifier_members[] = {
5603 {"train",_wrap_CvNormalBayesClassifier_train,0,0,0,0},
5604 {"predict",_wrap_CvNormalBayesClassifier_predict,0,0,0,0},
5605 {"clear",_wrap_CvNormalBayesClassifier_clear,0,0,0,0},
5606 {"write",_wrap_CvNormalBayesClassifier_write,0,0,0,0},
5607 {"read",_wrap_CvNormalBayesClassifier_read,0,0,0,0},
5610 static const char *swig_CvNormalBayesClassifier_base_names[] = {"_p_CvStatModel",0};
5611 static const swig_type_info *swig_CvNormalBayesClassifier_base[] = {0,0};
5612 static swig_octave_class _wrap_class_CvNormalBayesClassifier = {"CvNormalBayesClassifier", &SWIGTYPE_p_CvNormalBayesClassifier,0,_wrap_new_CvNormalBayesClassifier,0,_wrap_delete_CvNormalBayesClassifier,swig_CvNormalBayesClassifier_members,swig_CvNormalBayesClassifier_base_names,swig_CvNormalBayesClassifier_base };
5614 static octave_value_list _wrap_new_CvKNearest__SWIG_0 (const octave_value_list& args, int nargout) {
5615 octave_value_list _out;
5616 octave_value_list *_outp=&_out;
5618 CvKNearest *result = 0 ;
5620 if (!SWIG_check_num_args("new_CvKNearest",args.length(),0,0,0)) {
5625 result = (CvKNearest *)new CvKNearest();
5632 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvKNearest, 1 | 0 );
5633 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
5639 static octave_value_list _wrap_delete_CvKNearest (const octave_value_list& args, int nargout) {
5640 CvKNearest *arg1 = (CvKNearest *) 0 ;
5643 octave_value_list _out;
5644 octave_value_list *_outp=&_out;
5647 if (!SWIG_check_num_args("delete_CvKNearest",args.length(),1,1,0)) {
5650 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvKNearest, SWIG_POINTER_DISOWN | 0 );
5651 if (!SWIG_IsOK(res1)) {
5652 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CvKNearest" "', argument " "1"" of type '" "CvKNearest *""'");
5654 arg1 = (CvKNearest *)(argp1);
5664 _outv = octave_value();
5665 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
5671 static octave_value_list _wrap_new_CvKNearest__SWIG_1 (const octave_value_list& args, int nargout) {
5672 CvMat *arg1 = (CvMat *) 0 ;
5673 CvMat *arg2 = (CvMat *) 0 ;
5674 CvMat *arg3 = (CvMat *) 0 ;
5687 octave_value_list _out;
5688 octave_value_list *_outp=&_out;
5690 CvKNearest *result = 0 ;
5692 if (!SWIG_check_num_args("new_CvKNearest",args.length(),5,5,0)) {
5695 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvMat, 0 | 0 );
5696 if (!SWIG_IsOK(res1)) {
5697 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CvKNearest" "', argument " "1"" of type '" "CvMat const *""'");
5699 arg1 = (CvMat *)(argp1);
5700 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
5701 if (!SWIG_IsOK(res2)) {
5702 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_CvKNearest" "', argument " "2"" of type '" "CvMat const *""'");
5704 arg2 = (CvMat *)(argp2);
5705 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvMat, 0 | 0 );
5706 if (!SWIG_IsOK(res3)) {
5707 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_CvKNearest" "', argument " "3"" of type '" "CvMat const *""'");
5709 arg3 = (CvMat *)(argp3);
5710 ecode4 = SWIG_AsVal_bool(args(3), &val4);
5711 if (!SWIG_IsOK(ecode4)) {
5712 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_CvKNearest" "', argument " "4"" of type '" "bool""'");
5714 arg4 = (bool)(val4);
5715 ecode5 = SWIG_AsVal_int(args(4), &val5);
5716 if (!SWIG_IsOK(ecode5)) {
5717 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_CvKNearest" "', argument " "5"" of type '" "int""'");
5722 result = (CvKNearest *)new CvKNearest((CvMat const *)arg1,(CvMat const *)arg2,(CvMat const *)arg3,arg4,arg5);
5729 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvKNearest, 1 | 0 );
5730 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
5736 static octave_value_list _wrap_new_CvKNearest__SWIG_2 (const octave_value_list& args, int nargout) {
5737 CvMat *arg1 = (CvMat *) 0 ;
5738 CvMat *arg2 = (CvMat *) 0 ;
5739 CvMat *arg3 = (CvMat *) 0 ;
5749 octave_value_list _out;
5750 octave_value_list *_outp=&_out;
5752 CvKNearest *result = 0 ;
5754 if (!SWIG_check_num_args("new_CvKNearest",args.length(),4,4,0)) {
5757 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvMat, 0 | 0 );
5758 if (!SWIG_IsOK(res1)) {
5759 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CvKNearest" "', argument " "1"" of type '" "CvMat const *""'");
5761 arg1 = (CvMat *)(argp1);
5762 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
5763 if (!SWIG_IsOK(res2)) {
5764 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_CvKNearest" "', argument " "2"" of type '" "CvMat const *""'");
5766 arg2 = (CvMat *)(argp2);
5767 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvMat, 0 | 0 );
5768 if (!SWIG_IsOK(res3)) {
5769 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_CvKNearest" "', argument " "3"" of type '" "CvMat const *""'");
5771 arg3 = (CvMat *)(argp3);
5772 ecode4 = SWIG_AsVal_bool(args(3), &val4);
5773 if (!SWIG_IsOK(ecode4)) {
5774 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_CvKNearest" "', argument " "4"" of type '" "bool""'");
5776 arg4 = (bool)(val4);
5779 result = (CvKNearest *)new CvKNearest((CvMat const *)arg1,(CvMat const *)arg2,(CvMat const *)arg3,arg4);
5786 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvKNearest, 1 | 0 );
5787 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
5793 static octave_value_list _wrap_new_CvKNearest__SWIG_3 (const octave_value_list& args, int nargout) {
5794 CvMat *arg1 = (CvMat *) 0 ;
5795 CvMat *arg2 = (CvMat *) 0 ;
5796 CvMat *arg3 = (CvMat *) 0 ;
5803 octave_value_list _out;
5804 octave_value_list *_outp=&_out;
5806 CvKNearest *result = 0 ;
5808 if (!SWIG_check_num_args("new_CvKNearest",args.length(),3,3,0)) {
5811 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvMat, 0 | 0 );
5812 if (!SWIG_IsOK(res1)) {
5813 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CvKNearest" "', argument " "1"" of type '" "CvMat const *""'");
5815 arg1 = (CvMat *)(argp1);
5816 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
5817 if (!SWIG_IsOK(res2)) {
5818 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_CvKNearest" "', argument " "2"" of type '" "CvMat const *""'");
5820 arg2 = (CvMat *)(argp2);
5821 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvMat, 0 | 0 );
5822 if (!SWIG_IsOK(res3)) {
5823 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_CvKNearest" "', argument " "3"" of type '" "CvMat const *""'");
5825 arg3 = (CvMat *)(argp3);
5828 result = (CvKNearest *)new CvKNearest((CvMat const *)arg1,(CvMat const *)arg2,(CvMat const *)arg3);
5835 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvKNearest, 1 | 0 );
5836 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
5842 static octave_value_list _wrap_new_CvKNearest__SWIG_4 (const octave_value_list& args, int nargout) {
5843 CvMat *arg1 = (CvMat *) 0 ;
5844 CvMat *arg2 = (CvMat *) 0 ;
5849 octave_value_list _out;
5850 octave_value_list *_outp=&_out;
5852 CvKNearest *result = 0 ;
5854 if (!SWIG_check_num_args("new_CvKNearest",args.length(),2,2,0)) {
5857 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvMat, 0 | 0 );
5858 if (!SWIG_IsOK(res1)) {
5859 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CvKNearest" "', argument " "1"" of type '" "CvMat const *""'");
5861 arg1 = (CvMat *)(argp1);
5862 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
5863 if (!SWIG_IsOK(res2)) {
5864 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_CvKNearest" "', argument " "2"" of type '" "CvMat const *""'");
5866 arg2 = (CvMat *)(argp2);
5869 result = (CvKNearest *)new CvKNearest((CvMat const *)arg1,(CvMat const *)arg2);
5876 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvKNearest, 1 | 0 );
5877 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
5883 static octave_value_list _wrap_new_CvKNearest (const octave_value_list& args, int nargout) {
5884 int argc = args.length();
5885 octave_value_ref argv[5]={
5886 octave_value_ref(args,0),octave_value_ref(args,1),octave_value_ref(args,2),octave_value_ref(args,3),octave_value_ref(args,4)
5890 return _wrap_new_CvKNearest__SWIG_0(args, nargout);
5895 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvMat, 0);
5896 _v = SWIG_CheckState(res);
5899 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
5900 _v = SWIG_CheckState(res);
5902 return _wrap_new_CvKNearest__SWIG_4(args, nargout);
5909 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvMat, 0);
5910 _v = SWIG_CheckState(res);
5913 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
5914 _v = SWIG_CheckState(res);
5917 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvMat, 0);
5918 _v = SWIG_CheckState(res);
5920 return _wrap_new_CvKNearest__SWIG_3(args, nargout);
5928 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvMat, 0);
5929 _v = SWIG_CheckState(res);
5932 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
5933 _v = SWIG_CheckState(res);
5936 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvMat, 0);
5937 _v = SWIG_CheckState(res);
5940 int res = SWIG_AsVal_bool(argv[3], NULL);
5941 _v = SWIG_CheckState(res);
5944 return _wrap_new_CvKNearest__SWIG_2(args, nargout);
5953 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvMat, 0);
5954 _v = SWIG_CheckState(res);
5957 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
5958 _v = SWIG_CheckState(res);
5961 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvMat, 0);
5962 _v = SWIG_CheckState(res);
5965 int res = SWIG_AsVal_bool(argv[3], NULL);
5966 _v = SWIG_CheckState(res);
5970 int res = SWIG_AsVal_int(argv[4], NULL);
5971 _v = SWIG_CheckState(res);
5974 return _wrap_new_CvKNearest__SWIG_1(args, nargout);
5982 error("No matching function for overload");
5983 return octave_value_list();
5987 static octave_value_list _wrap_CvKNearest_train__SWIG_0 (const octave_value_list& args, int nargout) {
5988 CvKNearest *arg1 = (CvKNearest *) 0 ;
5989 CvMat *arg2 = (CvMat *) 0 ;
5990 CvMat *arg3 = (CvMat *) 0 ;
5991 CvMat *arg4 = (CvMat *) 0 ;
6009 octave_value_list _out;
6010 octave_value_list *_outp=&_out;
6014 if (!SWIG_check_num_args("CvKNearest_train",args.length(),7,7,0)) {
6017 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvKNearest, 0 | 0 );
6018 if (!SWIG_IsOK(res1)) {
6019 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvKNearest_train" "', argument " "1"" of type '" "CvKNearest *""'");
6021 arg1 = (CvKNearest *)(argp1);
6022 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
6023 if (!SWIG_IsOK(res2)) {
6024 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvKNearest_train" "', argument " "2"" of type '" "CvMat const *""'");
6026 arg2 = (CvMat *)(argp2);
6027 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvMat, 0 | 0 );
6028 if (!SWIG_IsOK(res3)) {
6029 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvKNearest_train" "', argument " "3"" of type '" "CvMat const *""'");
6031 arg3 = (CvMat *)(argp3);
6032 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
6033 if (!SWIG_IsOK(res4)) {
6034 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvKNearest_train" "', argument " "4"" of type '" "CvMat const *""'");
6036 arg4 = (CvMat *)(argp4);
6037 ecode5 = SWIG_AsVal_bool(args(4), &val5);
6038 if (!SWIG_IsOK(ecode5)) {
6039 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "CvKNearest_train" "', argument " "5"" of type '" "bool""'");
6041 arg5 = (bool)(val5);
6042 ecode6 = SWIG_AsVal_int(args(5), &val6);
6043 if (!SWIG_IsOK(ecode6)) {
6044 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "CvKNearest_train" "', argument " "6"" of type '" "int""'");
6047 ecode7 = SWIG_AsVal_bool(args(6), &val7);
6048 if (!SWIG_IsOK(ecode7)) {
6049 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "CvKNearest_train" "', argument " "7"" of type '" "bool""'");
6051 arg7 = (bool)(val7);
6054 result = (bool)(arg1)->train((CvMat const *)arg2,(CvMat const *)arg3,(CvMat const *)arg4,arg5,arg6,arg7);
6061 _outv = SWIG_From_bool((bool)(result));
6062 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
6068 static octave_value_list _wrap_CvKNearest_train__SWIG_1 (const octave_value_list& args, int nargout) {
6069 CvKNearest *arg1 = (CvKNearest *) 0 ;
6070 CvMat *arg2 = (CvMat *) 0 ;
6071 CvMat *arg3 = (CvMat *) 0 ;
6072 CvMat *arg4 = (CvMat *) 0 ;
6087 octave_value_list _out;
6088 octave_value_list *_outp=&_out;
6092 if (!SWIG_check_num_args("CvKNearest_train",args.length(),6,6,0)) {
6095 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvKNearest, 0 | 0 );
6096 if (!SWIG_IsOK(res1)) {
6097 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvKNearest_train" "', argument " "1"" of type '" "CvKNearest *""'");
6099 arg1 = (CvKNearest *)(argp1);
6100 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
6101 if (!SWIG_IsOK(res2)) {
6102 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvKNearest_train" "', argument " "2"" of type '" "CvMat const *""'");
6104 arg2 = (CvMat *)(argp2);
6105 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvMat, 0 | 0 );
6106 if (!SWIG_IsOK(res3)) {
6107 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvKNearest_train" "', argument " "3"" of type '" "CvMat const *""'");
6109 arg3 = (CvMat *)(argp3);
6110 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
6111 if (!SWIG_IsOK(res4)) {
6112 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvKNearest_train" "', argument " "4"" of type '" "CvMat const *""'");
6114 arg4 = (CvMat *)(argp4);
6115 ecode5 = SWIG_AsVal_bool(args(4), &val5);
6116 if (!SWIG_IsOK(ecode5)) {
6117 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "CvKNearest_train" "', argument " "5"" of type '" "bool""'");
6119 arg5 = (bool)(val5);
6120 ecode6 = SWIG_AsVal_int(args(5), &val6);
6121 if (!SWIG_IsOK(ecode6)) {
6122 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "CvKNearest_train" "', argument " "6"" of type '" "int""'");
6127 result = (bool)(arg1)->train((CvMat const *)arg2,(CvMat const *)arg3,(CvMat const *)arg4,arg5,arg6);
6134 _outv = SWIG_From_bool((bool)(result));
6135 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
6141 static octave_value_list _wrap_CvKNearest_train__SWIG_2 (const octave_value_list& args, int nargout) {
6142 CvKNearest *arg1 = (CvKNearest *) 0 ;
6143 CvMat *arg2 = (CvMat *) 0 ;
6144 CvMat *arg3 = (CvMat *) 0 ;
6145 CvMat *arg4 = (CvMat *) 0 ;
6157 octave_value_list _out;
6158 octave_value_list *_outp=&_out;
6162 if (!SWIG_check_num_args("CvKNearest_train",args.length(),5,5,0)) {
6165 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvKNearest, 0 | 0 );
6166 if (!SWIG_IsOK(res1)) {
6167 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvKNearest_train" "', argument " "1"" of type '" "CvKNearest *""'");
6169 arg1 = (CvKNearest *)(argp1);
6170 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
6171 if (!SWIG_IsOK(res2)) {
6172 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvKNearest_train" "', argument " "2"" of type '" "CvMat const *""'");
6174 arg2 = (CvMat *)(argp2);
6175 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvMat, 0 | 0 );
6176 if (!SWIG_IsOK(res3)) {
6177 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvKNearest_train" "', argument " "3"" of type '" "CvMat const *""'");
6179 arg3 = (CvMat *)(argp3);
6180 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
6181 if (!SWIG_IsOK(res4)) {
6182 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvKNearest_train" "', argument " "4"" of type '" "CvMat const *""'");
6184 arg4 = (CvMat *)(argp4);
6185 ecode5 = SWIG_AsVal_bool(args(4), &val5);
6186 if (!SWIG_IsOK(ecode5)) {
6187 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "CvKNearest_train" "', argument " "5"" of type '" "bool""'");
6189 arg5 = (bool)(val5);
6192 result = (bool)(arg1)->train((CvMat const *)arg2,(CvMat const *)arg3,(CvMat const *)arg4,arg5);
6199 _outv = SWIG_From_bool((bool)(result));
6200 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
6206 static octave_value_list _wrap_CvKNearest_train__SWIG_3 (const octave_value_list& args, int nargout) {
6207 CvKNearest *arg1 = (CvKNearest *) 0 ;
6208 CvMat *arg2 = (CvMat *) 0 ;
6209 CvMat *arg3 = (CvMat *) 0 ;
6210 CvMat *arg4 = (CvMat *) 0 ;
6219 octave_value_list _out;
6220 octave_value_list *_outp=&_out;
6224 if (!SWIG_check_num_args("CvKNearest_train",args.length(),4,4,0)) {
6227 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvKNearest, 0 | 0 );
6228 if (!SWIG_IsOK(res1)) {
6229 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvKNearest_train" "', argument " "1"" of type '" "CvKNearest *""'");
6231 arg1 = (CvKNearest *)(argp1);
6232 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
6233 if (!SWIG_IsOK(res2)) {
6234 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvKNearest_train" "', argument " "2"" of type '" "CvMat const *""'");
6236 arg2 = (CvMat *)(argp2);
6237 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvMat, 0 | 0 );
6238 if (!SWIG_IsOK(res3)) {
6239 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvKNearest_train" "', argument " "3"" of type '" "CvMat const *""'");
6241 arg3 = (CvMat *)(argp3);
6242 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
6243 if (!SWIG_IsOK(res4)) {
6244 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvKNearest_train" "', argument " "4"" of type '" "CvMat const *""'");
6246 arg4 = (CvMat *)(argp4);
6249 result = (bool)(arg1)->train((CvMat const *)arg2,(CvMat const *)arg3,(CvMat const *)arg4);
6256 _outv = SWIG_From_bool((bool)(result));
6257 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
6263 static octave_value_list _wrap_CvKNearest_train__SWIG_4 (const octave_value_list& args, int nargout) {
6264 CvKNearest *arg1 = (CvKNearest *) 0 ;
6265 CvMat *arg2 = (CvMat *) 0 ;
6266 CvMat *arg3 = (CvMat *) 0 ;
6273 octave_value_list _out;
6274 octave_value_list *_outp=&_out;
6278 if (!SWIG_check_num_args("CvKNearest_train",args.length(),3,3,0)) {
6281 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvKNearest, 0 | 0 );
6282 if (!SWIG_IsOK(res1)) {
6283 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvKNearest_train" "', argument " "1"" of type '" "CvKNearest *""'");
6285 arg1 = (CvKNearest *)(argp1);
6286 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
6287 if (!SWIG_IsOK(res2)) {
6288 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvKNearest_train" "', argument " "2"" of type '" "CvMat const *""'");
6290 arg2 = (CvMat *)(argp2);
6291 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvMat, 0 | 0 );
6292 if (!SWIG_IsOK(res3)) {
6293 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvKNearest_train" "', argument " "3"" of type '" "CvMat const *""'");
6295 arg3 = (CvMat *)(argp3);
6298 result = (bool)(arg1)->train((CvMat const *)arg2,(CvMat const *)arg3);
6305 _outv = SWIG_From_bool((bool)(result));
6306 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
6312 static octave_value_list _wrap_CvKNearest_train (const octave_value_list& args, int nargout) {
6313 int argc = args.length();
6314 octave_value_ref argv[7]={
6315 octave_value_ref(args,0),octave_value_ref(args,1),octave_value_ref(args,2),octave_value_ref(args,3),octave_value_ref(args,4),octave_value_ref(args,5),octave_value_ref(args,6)
6321 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvKNearest, 0);
6322 _v = SWIG_CheckState(res);
6325 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
6326 _v = SWIG_CheckState(res);
6329 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvMat, 0);
6330 _v = SWIG_CheckState(res);
6332 return _wrap_CvKNearest_train__SWIG_4(args, nargout);
6340 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvKNearest, 0);
6341 _v = SWIG_CheckState(res);
6344 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
6345 _v = SWIG_CheckState(res);
6348 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvMat, 0);
6349 _v = SWIG_CheckState(res);
6352 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
6353 _v = SWIG_CheckState(res);
6355 return _wrap_CvKNearest_train__SWIG_3(args, nargout);
6364 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvKNearest, 0);
6365 _v = SWIG_CheckState(res);
6368 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
6369 _v = SWIG_CheckState(res);
6372 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvMat, 0);
6373 _v = SWIG_CheckState(res);
6376 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
6377 _v = SWIG_CheckState(res);
6380 int res = SWIG_AsVal_bool(argv[4], NULL);
6381 _v = SWIG_CheckState(res);
6384 return _wrap_CvKNearest_train__SWIG_2(args, nargout);
6394 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvKNearest, 0);
6395 _v = SWIG_CheckState(res);
6398 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
6399 _v = SWIG_CheckState(res);
6402 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvMat, 0);
6403 _v = SWIG_CheckState(res);
6406 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
6407 _v = SWIG_CheckState(res);
6410 int res = SWIG_AsVal_bool(argv[4], NULL);
6411 _v = SWIG_CheckState(res);
6415 int res = SWIG_AsVal_int(argv[5], NULL);
6416 _v = SWIG_CheckState(res);
6419 return _wrap_CvKNearest_train__SWIG_1(args, nargout);
6430 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvKNearest, 0);
6431 _v = SWIG_CheckState(res);
6434 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
6435 _v = SWIG_CheckState(res);
6438 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvMat, 0);
6439 _v = SWIG_CheckState(res);
6442 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
6443 _v = SWIG_CheckState(res);
6446 int res = SWIG_AsVal_bool(argv[4], NULL);
6447 _v = SWIG_CheckState(res);
6451 int res = SWIG_AsVal_int(argv[5], NULL);
6452 _v = SWIG_CheckState(res);
6456 int res = SWIG_AsVal_bool(argv[6], NULL);
6457 _v = SWIG_CheckState(res);
6460 return _wrap_CvKNearest_train__SWIG_0(args, nargout);
6470 error("No matching function for overload");
6471 return octave_value_list();
6475 static octave_value_list _wrap_CvKNearest_find_nearest__SWIG_0 (const octave_value_list& args, int nargout) {
6476 CvKNearest *arg1 = (CvKNearest *) 0 ;
6477 CvMat *arg2 = (CvMat *) 0 ;
6479 CvMat *arg4 = (CvMat *) 0 ;
6480 float **arg5 = (float **) 0 ;
6481 CvMat *arg6 = (CvMat *) 0 ;
6482 CvMat *arg7 = (CvMat *) 0 ;
6497 octave_value_list _out;
6498 octave_value_list *_outp=&_out;
6502 if (!SWIG_check_num_args("CvKNearest_find_nearest",args.length(),7,7,0)) {
6505 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvKNearest, 0 | 0 );
6506 if (!SWIG_IsOK(res1)) {
6507 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvKNearest_find_nearest" "', argument " "1"" of type '" "CvKNearest const *""'");
6509 arg1 = (CvKNearest *)(argp1);
6510 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
6511 if (!SWIG_IsOK(res2)) {
6512 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvKNearest_find_nearest" "', argument " "2"" of type '" "CvMat const *""'");
6514 arg2 = (CvMat *)(argp2);
6515 ecode3 = SWIG_AsVal_int(args(2), &val3);
6516 if (!SWIG_IsOK(ecode3)) {
6517 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvKNearest_find_nearest" "', argument " "3"" of type '" "int""'");
6520 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
6521 if (!SWIG_IsOK(res4)) {
6522 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvKNearest_find_nearest" "', argument " "4"" of type '" "CvMat *""'");
6524 arg4 = (CvMat *)(argp4);
6526 if ((SWIG_ConvertPtr(args(4), &vptr5, SWIGTYPE_p_float, 1)) == -1){
6529 buffer5 = (float *) vptr5;
6532 res6 = SWIG_ConvertPtr(args(5), &argp6,SWIGTYPE_p_CvMat, 0 | 0 );
6533 if (!SWIG_IsOK(res6)) {
6534 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "CvKNearest_find_nearest" "', argument " "6"" of type '" "CvMat *""'");
6536 arg6 = (CvMat *)(argp6);
6537 res7 = SWIG_ConvertPtr(args(6), &argp7,SWIGTYPE_p_CvMat, 0 | 0 );
6538 if (!SWIG_IsOK(res7)) {
6539 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "CvKNearest_find_nearest" "', argument " "7"" of type '" "CvMat *""'");
6541 arg7 = (CvMat *)(argp7);
6544 result = (float)((CvKNearest const *)arg1)->find_nearest((CvMat const *)arg2,arg3,arg4,(float const **)arg5,arg6,arg7);
6551 _outv = SWIG_From_float((float)(result));
6552 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
6558 static octave_value_list _wrap_CvKNearest_find_nearest__SWIG_1 (const octave_value_list& args, int nargout) {
6559 CvKNearest *arg1 = (CvKNearest *) 0 ;
6560 CvMat *arg2 = (CvMat *) 0 ;
6562 CvMat *arg4 = (CvMat *) 0 ;
6563 float **arg5 = (float **) 0 ;
6564 CvMat *arg6 = (CvMat *) 0 ;
6577 octave_value_list _out;
6578 octave_value_list *_outp=&_out;
6582 if (!SWIG_check_num_args("CvKNearest_find_nearest",args.length(),6,6,0)) {
6585 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvKNearest, 0 | 0 );
6586 if (!SWIG_IsOK(res1)) {
6587 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvKNearest_find_nearest" "', argument " "1"" of type '" "CvKNearest const *""'");
6589 arg1 = (CvKNearest *)(argp1);
6590 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
6591 if (!SWIG_IsOK(res2)) {
6592 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvKNearest_find_nearest" "', argument " "2"" of type '" "CvMat const *""'");
6594 arg2 = (CvMat *)(argp2);
6595 ecode3 = SWIG_AsVal_int(args(2), &val3);
6596 if (!SWIG_IsOK(ecode3)) {
6597 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvKNearest_find_nearest" "', argument " "3"" of type '" "int""'");
6600 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
6601 if (!SWIG_IsOK(res4)) {
6602 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvKNearest_find_nearest" "', argument " "4"" of type '" "CvMat *""'");
6604 arg4 = (CvMat *)(argp4);
6606 if ((SWIG_ConvertPtr(args(4), &vptr5, SWIGTYPE_p_float, 1)) == -1){
6609 buffer5 = (float *) vptr5;
6612 res6 = SWIG_ConvertPtr(args(5), &argp6,SWIGTYPE_p_CvMat, 0 | 0 );
6613 if (!SWIG_IsOK(res6)) {
6614 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "CvKNearest_find_nearest" "', argument " "6"" of type '" "CvMat *""'");
6616 arg6 = (CvMat *)(argp6);
6619 result = (float)((CvKNearest const *)arg1)->find_nearest((CvMat const *)arg2,arg3,arg4,(float const **)arg5,arg6);
6626 _outv = SWIG_From_float((float)(result));
6627 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
6633 static octave_value_list _wrap_CvKNearest_find_nearest__SWIG_2 (const octave_value_list& args, int nargout) {
6634 CvKNearest *arg1 = (CvKNearest *) 0 ;
6635 CvMat *arg2 = (CvMat *) 0 ;
6637 CvMat *arg4 = (CvMat *) 0 ;
6638 float **arg5 = (float **) 0 ;
6649 octave_value_list _out;
6650 octave_value_list *_outp=&_out;
6654 if (!SWIG_check_num_args("CvKNearest_find_nearest",args.length(),5,5,0)) {
6657 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvKNearest, 0 | 0 );
6658 if (!SWIG_IsOK(res1)) {
6659 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvKNearest_find_nearest" "', argument " "1"" of type '" "CvKNearest const *""'");
6661 arg1 = (CvKNearest *)(argp1);
6662 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
6663 if (!SWIG_IsOK(res2)) {
6664 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvKNearest_find_nearest" "', argument " "2"" of type '" "CvMat const *""'");
6666 arg2 = (CvMat *)(argp2);
6667 ecode3 = SWIG_AsVal_int(args(2), &val3);
6668 if (!SWIG_IsOK(ecode3)) {
6669 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvKNearest_find_nearest" "', argument " "3"" of type '" "int""'");
6672 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
6673 if (!SWIG_IsOK(res4)) {
6674 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvKNearest_find_nearest" "', argument " "4"" of type '" "CvMat *""'");
6676 arg4 = (CvMat *)(argp4);
6678 if ((SWIG_ConvertPtr(args(4), &vptr5, SWIGTYPE_p_float, 1)) == -1){
6681 buffer5 = (float *) vptr5;
6686 result = (float)((CvKNearest const *)arg1)->find_nearest((CvMat const *)arg2,arg3,arg4,(float const **)arg5);
6693 _outv = SWIG_From_float((float)(result));
6694 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
6700 static octave_value_list _wrap_CvKNearest_find_nearest__SWIG_3 (const octave_value_list& args, int nargout) {
6701 CvKNearest *arg1 = (CvKNearest *) 0 ;
6702 CvMat *arg2 = (CvMat *) 0 ;
6704 CvMat *arg4 = (CvMat *) 0 ;
6713 octave_value_list _out;
6714 octave_value_list *_outp=&_out;
6718 if (!SWIG_check_num_args("CvKNearest_find_nearest",args.length(),4,4,0)) {
6721 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvKNearest, 0 | 0 );
6722 if (!SWIG_IsOK(res1)) {
6723 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvKNearest_find_nearest" "', argument " "1"" of type '" "CvKNearest const *""'");
6725 arg1 = (CvKNearest *)(argp1);
6726 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
6727 if (!SWIG_IsOK(res2)) {
6728 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvKNearest_find_nearest" "', argument " "2"" of type '" "CvMat const *""'");
6730 arg2 = (CvMat *)(argp2);
6731 ecode3 = SWIG_AsVal_int(args(2), &val3);
6732 if (!SWIG_IsOK(ecode3)) {
6733 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvKNearest_find_nearest" "', argument " "3"" of type '" "int""'");
6736 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
6737 if (!SWIG_IsOK(res4)) {
6738 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvKNearest_find_nearest" "', argument " "4"" of type '" "CvMat *""'");
6740 arg4 = (CvMat *)(argp4);
6743 result = (float)((CvKNearest const *)arg1)->find_nearest((CvMat const *)arg2,arg3,arg4);
6750 _outv = SWIG_From_float((float)(result));
6751 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
6757 static octave_value_list _wrap_CvKNearest_find_nearest__SWIG_4 (const octave_value_list& args, int nargout) {
6758 CvKNearest *arg1 = (CvKNearest *) 0 ;
6759 CvMat *arg2 = (CvMat *) 0 ;
6767 octave_value_list _out;
6768 octave_value_list *_outp=&_out;
6772 if (!SWIG_check_num_args("CvKNearest_find_nearest",args.length(),3,3,0)) {
6775 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvKNearest, 0 | 0 );
6776 if (!SWIG_IsOK(res1)) {
6777 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvKNearest_find_nearest" "', argument " "1"" of type '" "CvKNearest const *""'");
6779 arg1 = (CvKNearest *)(argp1);
6780 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
6781 if (!SWIG_IsOK(res2)) {
6782 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvKNearest_find_nearest" "', argument " "2"" of type '" "CvMat const *""'");
6784 arg2 = (CvMat *)(argp2);
6785 ecode3 = SWIG_AsVal_int(args(2), &val3);
6786 if (!SWIG_IsOK(ecode3)) {
6787 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvKNearest_find_nearest" "', argument " "3"" of type '" "int""'");
6792 result = (float)((CvKNearest const *)arg1)->find_nearest((CvMat const *)arg2,arg3);
6799 _outv = SWIG_From_float((float)(result));
6800 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
6806 static octave_value_list _wrap_CvKNearest_find_nearest (const octave_value_list& args, int nargout) {
6807 int argc = args.length();
6808 octave_value_ref argv[7]={
6809 octave_value_ref(args,0),octave_value_ref(args,1),octave_value_ref(args,2),octave_value_ref(args,3),octave_value_ref(args,4),octave_value_ref(args,5),octave_value_ref(args,6)
6815 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvKNearest, 0);
6816 _v = SWIG_CheckState(res);
6819 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
6820 _v = SWIG_CheckState(res);
6823 int res = SWIG_AsVal_int(argv[2], NULL);
6824 _v = SWIG_CheckState(res);
6827 return _wrap_CvKNearest_find_nearest__SWIG_4(args, nargout);
6835 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvKNearest, 0);
6836 _v = SWIG_CheckState(res);
6839 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
6840 _v = SWIG_CheckState(res);
6843 int res = SWIG_AsVal_int(argv[2], NULL);
6844 _v = SWIG_CheckState(res);
6848 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
6849 _v = SWIG_CheckState(res);
6851 return _wrap_CvKNearest_find_nearest__SWIG_3(args, nargout);
6860 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvKNearest, 0);
6861 _v = SWIG_CheckState(res);
6864 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
6865 _v = SWIG_CheckState(res);
6868 int res = SWIG_AsVal_int(argv[2], NULL);
6869 _v = SWIG_CheckState(res);
6873 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
6874 _v = SWIG_CheckState(res);
6877 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_p_float, 0);
6878 _v = SWIG_CheckState(res);
6880 return _wrap_CvKNearest_find_nearest__SWIG_2(args, nargout);
6890 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvKNearest, 0);
6891 _v = SWIG_CheckState(res);
6894 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
6895 _v = SWIG_CheckState(res);
6898 int res = SWIG_AsVal_int(argv[2], NULL);
6899 _v = SWIG_CheckState(res);
6903 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
6904 _v = SWIG_CheckState(res);
6907 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_p_float, 0);
6908 _v = SWIG_CheckState(res);
6911 int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_CvMat, 0);
6912 _v = SWIG_CheckState(res);
6914 return _wrap_CvKNearest_find_nearest__SWIG_1(args, nargout);
6925 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvKNearest, 0);
6926 _v = SWIG_CheckState(res);
6929 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
6930 _v = SWIG_CheckState(res);
6933 int res = SWIG_AsVal_int(argv[2], NULL);
6934 _v = SWIG_CheckState(res);
6938 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
6939 _v = SWIG_CheckState(res);
6942 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_p_float, 0);
6943 _v = SWIG_CheckState(res);
6946 int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_CvMat, 0);
6947 _v = SWIG_CheckState(res);
6950 int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_CvMat, 0);
6951 _v = SWIG_CheckState(res);
6953 return _wrap_CvKNearest_find_nearest__SWIG_0(args, nargout);
6963 error("No matching function for overload");
6964 return octave_value_list();
6968 static octave_value_list _wrap_CvKNearest_clear (const octave_value_list& args, int nargout) {
6969 CvKNearest *arg1 = (CvKNearest *) 0 ;
6972 octave_value_list _out;
6973 octave_value_list *_outp=&_out;
6976 if (!SWIG_check_num_args("CvKNearest_clear",args.length(),1,1,0)) {
6979 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvKNearest, 0 | 0 );
6980 if (!SWIG_IsOK(res1)) {
6981 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvKNearest_clear" "', argument " "1"" of type '" "CvKNearest *""'");
6983 arg1 = (CvKNearest *)(argp1);
6993 _outv = octave_value();
6994 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
7000 static octave_value_list _wrap_CvKNearest_get_max_k (const octave_value_list& args, int nargout) {
7001 CvKNearest *arg1 = (CvKNearest *) 0 ;
7004 octave_value_list _out;
7005 octave_value_list *_outp=&_out;
7009 if (!SWIG_check_num_args("CvKNearest_get_max_k",args.length(),1,1,0)) {
7012 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvKNearest, 0 | 0 );
7013 if (!SWIG_IsOK(res1)) {
7014 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvKNearest_get_max_k" "', argument " "1"" of type '" "CvKNearest const *""'");
7016 arg1 = (CvKNearest *)(argp1);
7019 result = (int)((CvKNearest const *)arg1)->get_max_k();
7026 _outv = SWIG_From_int((int)(result));
7027 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
7033 static octave_value_list _wrap_CvKNearest_get_var_count (const octave_value_list& args, int nargout) {
7034 CvKNearest *arg1 = (CvKNearest *) 0 ;
7037 octave_value_list _out;
7038 octave_value_list *_outp=&_out;
7042 if (!SWIG_check_num_args("CvKNearest_get_var_count",args.length(),1,1,0)) {
7045 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvKNearest, 0 | 0 );
7046 if (!SWIG_IsOK(res1)) {
7047 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvKNearest_get_var_count" "', argument " "1"" of type '" "CvKNearest const *""'");
7049 arg1 = (CvKNearest *)(argp1);
7052 result = (int)((CvKNearest const *)arg1)->get_var_count();
7059 _outv = SWIG_From_int((int)(result));
7060 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
7066 static octave_value_list _wrap_CvKNearest_get_sample_count (const octave_value_list& args, int nargout) {
7067 CvKNearest *arg1 = (CvKNearest *) 0 ;
7070 octave_value_list _out;
7071 octave_value_list *_outp=&_out;
7075 if (!SWIG_check_num_args("CvKNearest_get_sample_count",args.length(),1,1,0)) {
7078 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvKNearest, 0 | 0 );
7079 if (!SWIG_IsOK(res1)) {
7080 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvKNearest_get_sample_count" "', argument " "1"" of type '" "CvKNearest const *""'");
7082 arg1 = (CvKNearest *)(argp1);
7085 result = (int)((CvKNearest const *)arg1)->get_sample_count();
7092 _outv = SWIG_From_int((int)(result));
7093 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
7099 static octave_value_list _wrap_CvKNearest_is_regression (const octave_value_list& args, int nargout) {
7100 CvKNearest *arg1 = (CvKNearest *) 0 ;
7103 octave_value_list _out;
7104 octave_value_list *_outp=&_out;
7108 if (!SWIG_check_num_args("CvKNearest_is_regression",args.length(),1,1,0)) {
7111 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvKNearest, 0 | 0 );
7112 if (!SWIG_IsOK(res1)) {
7113 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvKNearest_is_regression" "', argument " "1"" of type '" "CvKNearest const *""'");
7115 arg1 = (CvKNearest *)(argp1);
7118 result = (bool)((CvKNearest const *)arg1)->is_regression();
7125 _outv = SWIG_From_bool((bool)(result));
7126 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
7132 static swig_octave_member swig_CvKNearest_members[] = {
7133 {"train",_wrap_CvKNearest_train,0,0,0,0},
7134 {"find_nearest",_wrap_CvKNearest_find_nearest,0,0,0,0},
7135 {"clear",_wrap_CvKNearest_clear,0,0,0,0},
7136 {"get_max_k",_wrap_CvKNearest_get_max_k,0,0,0,0},
7137 {"get_var_count",_wrap_CvKNearest_get_var_count,0,0,0,0},
7138 {"get_sample_count",_wrap_CvKNearest_get_sample_count,0,0,0,0},
7139 {"is_regression",_wrap_CvKNearest_is_regression,0,0,0,0},
7142 static const char *swig_CvKNearest_base_names[] = {"_p_CvStatModel",0};
7143 static const swig_type_info *swig_CvKNearest_base[] = {0,0};
7144 static swig_octave_class _wrap_class_CvKNearest = {"CvKNearest", &SWIGTYPE_p_CvKNearest,0,_wrap_new_CvKNearest,0,_wrap_delete_CvKNearest,swig_CvKNearest_members,swig_CvKNearest_base_names,swig_CvKNearest_base };
7146 static octave_value_list _wrap_new_CvSVMParams__SWIG_0 (const octave_value_list& args, int nargout) {
7147 octave_value_list _out;
7148 octave_value_list *_outp=&_out;
7150 CvSVMParams *result = 0 ;
7152 if (!SWIG_check_num_args("new_CvSVMParams",args.length(),0,0,0)) {
7157 result = (CvSVMParams *)new CvSVMParams();
7164 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvSVMParams, 1 | 0 );
7165 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
7171 static octave_value_list _wrap_new_CvSVMParams__SWIG_1 (const octave_value_list& args, int nargout) {
7180 CvMat *arg9 = (CvMat *) 0 ;
7181 CvTermCriteria arg10 ;
7202 octave_value_list _out;
7203 octave_value_list *_outp=&_out;
7205 CvSVMParams *result = 0 ;
7207 if (!SWIG_check_num_args("new_CvSVMParams",args.length(),10,10,0)) {
7210 ecode1 = SWIG_AsVal_int(args(0), &val1);
7211 if (!SWIG_IsOK(ecode1)) {
7212 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CvSVMParams" "', argument " "1"" of type '" "int""'");
7215 ecode2 = SWIG_AsVal_int(args(1), &val2);
7216 if (!SWIG_IsOK(ecode2)) {
7217 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CvSVMParams" "', argument " "2"" of type '" "int""'");
7220 ecode3 = SWIG_AsVal_double(args(2), &val3);
7221 if (!SWIG_IsOK(ecode3)) {
7222 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_CvSVMParams" "', argument " "3"" of type '" "double""'");
7224 arg3 = (double)(val3);
7225 ecode4 = SWIG_AsVal_double(args(3), &val4);
7226 if (!SWIG_IsOK(ecode4)) {
7227 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_CvSVMParams" "', argument " "4"" of type '" "double""'");
7229 arg4 = (double)(val4);
7230 ecode5 = SWIG_AsVal_double(args(4), &val5);
7231 if (!SWIG_IsOK(ecode5)) {
7232 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_CvSVMParams" "', argument " "5"" of type '" "double""'");
7234 arg5 = (double)(val5);
7235 ecode6 = SWIG_AsVal_double(args(5), &val6);
7236 if (!SWIG_IsOK(ecode6)) {
7237 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_CvSVMParams" "', argument " "6"" of type '" "double""'");
7239 arg6 = (double)(val6);
7240 ecode7 = SWIG_AsVal_double(args(6), &val7);
7241 if (!SWIG_IsOK(ecode7)) {
7242 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_CvSVMParams" "', argument " "7"" of type '" "double""'");
7244 arg7 = (double)(val7);
7245 ecode8 = SWIG_AsVal_double(args(7), &val8);
7246 if (!SWIG_IsOK(ecode8)) {
7247 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_CvSVMParams" "', argument " "8"" of type '" "double""'");
7249 arg8 = (double)(val8);
7250 res9 = SWIG_ConvertPtr(args(8), &argp9,SWIGTYPE_p_CvMat, 0 | 0 );
7251 if (!SWIG_IsOK(res9)) {
7252 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "new_CvSVMParams" "', argument " "9"" of type '" "CvMat *""'");
7254 arg9 = (CvMat *)(argp9);
7256 res10 = SWIG_ConvertPtr(args(9), &argp10, SWIGTYPE_p_CvTermCriteria, 0 );
7257 if (!SWIG_IsOK(res10)) {
7258 SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "new_CvSVMParams" "', argument " "10"" of type '" "CvTermCriteria""'");
7261 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_CvSVMParams" "', argument " "10"" of type '" "CvTermCriteria""'");
7263 arg10 = *((CvTermCriteria *)(argp10));
7268 result = (CvSVMParams *)new CvSVMParams(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
7275 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvSVMParams, 1 | 0 );
7276 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
7282 static octave_value_list _wrap_new_CvSVMParams (const octave_value_list& args, int nargout) {
7283 int argc = args.length();
7284 octave_value_ref argv[10]={
7285 octave_value_ref(args,0),octave_value_ref(args,1),octave_value_ref(args,2),octave_value_ref(args,3),octave_value_ref(args,4),octave_value_ref(args,5),octave_value_ref(args,6),octave_value_ref(args,7),octave_value_ref(args,8),octave_value_ref(args,9)
7289 return _wrap_new_CvSVMParams__SWIG_0(args, nargout);
7294 int res = SWIG_AsVal_int(argv[0], NULL);
7295 _v = SWIG_CheckState(res);
7299 int res = SWIG_AsVal_int(argv[1], NULL);
7300 _v = SWIG_CheckState(res);
7304 int res = SWIG_AsVal_double(argv[2], NULL);
7305 _v = SWIG_CheckState(res);
7309 int res = SWIG_AsVal_double(argv[3], NULL);
7310 _v = SWIG_CheckState(res);
7314 int res = SWIG_AsVal_double(argv[4], NULL);
7315 _v = SWIG_CheckState(res);
7319 int res = SWIG_AsVal_double(argv[5], NULL);
7320 _v = SWIG_CheckState(res);
7324 int res = SWIG_AsVal_double(argv[6], NULL);
7325 _v = SWIG_CheckState(res);
7329 int res = SWIG_AsVal_double(argv[7], NULL);
7330 _v = SWIG_CheckState(res);
7334 int res = SWIG_ConvertPtr(argv[8], &vptr, SWIGTYPE_p_CvMat, 0);
7335 _v = SWIG_CheckState(res);
7338 int res = SWIG_ConvertPtr(argv[9], &vptr, SWIGTYPE_p_CvTermCriteria, 0);
7339 _v = SWIG_CheckState(res);
7341 return _wrap_new_CvSVMParams__SWIG_1(args, nargout);
7354 error("No matching function for overload");
7355 return octave_value_list();
7359 static octave_value_list _wrap_CvSVMParams_svm_type_set (const octave_value_list& args, int nargout) {
7360 CvSVMParams *arg1 = (CvSVMParams *) 0 ;
7366 octave_value_list _out;
7367 octave_value_list *_outp=&_out;
7370 if (!SWIG_check_num_args("CvSVMParams_svm_type_set",args.length(),2,2,0)) {
7373 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMParams, 0 | 0 );
7374 if (!SWIG_IsOK(res1)) {
7375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMParams_svm_type_set" "', argument " "1"" of type '" "CvSVMParams *""'");
7377 arg1 = (CvSVMParams *)(argp1);
7378 ecode2 = SWIG_AsVal_int(args(1), &val2);
7379 if (!SWIG_IsOK(ecode2)) {
7380 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvSVMParams_svm_type_set" "', argument " "2"" of type '" "int""'");
7383 if (arg1) (arg1)->svm_type = arg2;
7384 _outv = octave_value();
7385 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
7391 static octave_value_list _wrap_CvSVMParams_svm_type_get (const octave_value_list& args, int nargout) {
7392 CvSVMParams *arg1 = (CvSVMParams *) 0 ;
7395 octave_value_list _out;
7396 octave_value_list *_outp=&_out;
7400 if (!SWIG_check_num_args("CvSVMParams_svm_type_get",args.length(),1,1,0)) {
7403 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMParams, 0 | 0 );
7404 if (!SWIG_IsOK(res1)) {
7405 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMParams_svm_type_get" "', argument " "1"" of type '" "CvSVMParams *""'");
7407 arg1 = (CvSVMParams *)(argp1);
7408 result = (int) ((arg1)->svm_type);
7409 _outv = SWIG_From_int((int)(result));
7410 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
7416 static octave_value_list _wrap_CvSVMParams_kernel_type_set (const octave_value_list& args, int nargout) {
7417 CvSVMParams *arg1 = (CvSVMParams *) 0 ;
7423 octave_value_list _out;
7424 octave_value_list *_outp=&_out;
7427 if (!SWIG_check_num_args("CvSVMParams_kernel_type_set",args.length(),2,2,0)) {
7430 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMParams, 0 | 0 );
7431 if (!SWIG_IsOK(res1)) {
7432 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMParams_kernel_type_set" "', argument " "1"" of type '" "CvSVMParams *""'");
7434 arg1 = (CvSVMParams *)(argp1);
7435 ecode2 = SWIG_AsVal_int(args(1), &val2);
7436 if (!SWIG_IsOK(ecode2)) {
7437 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvSVMParams_kernel_type_set" "', argument " "2"" of type '" "int""'");
7440 if (arg1) (arg1)->kernel_type = arg2;
7441 _outv = octave_value();
7442 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
7448 static octave_value_list _wrap_CvSVMParams_kernel_type_get (const octave_value_list& args, int nargout) {
7449 CvSVMParams *arg1 = (CvSVMParams *) 0 ;
7452 octave_value_list _out;
7453 octave_value_list *_outp=&_out;
7457 if (!SWIG_check_num_args("CvSVMParams_kernel_type_get",args.length(),1,1,0)) {
7460 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMParams, 0 | 0 );
7461 if (!SWIG_IsOK(res1)) {
7462 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMParams_kernel_type_get" "', argument " "1"" of type '" "CvSVMParams *""'");
7464 arg1 = (CvSVMParams *)(argp1);
7465 result = (int) ((arg1)->kernel_type);
7466 _outv = SWIG_From_int((int)(result));
7467 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
7473 static octave_value_list _wrap_CvSVMParams_degree_set (const octave_value_list& args, int nargout) {
7474 CvSVMParams *arg1 = (CvSVMParams *) 0 ;
7480 octave_value_list _out;
7481 octave_value_list *_outp=&_out;
7484 if (!SWIG_check_num_args("CvSVMParams_degree_set",args.length(),2,2,0)) {
7487 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMParams, 0 | 0 );
7488 if (!SWIG_IsOK(res1)) {
7489 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMParams_degree_set" "', argument " "1"" of type '" "CvSVMParams *""'");
7491 arg1 = (CvSVMParams *)(argp1);
7492 ecode2 = SWIG_AsVal_double(args(1), &val2);
7493 if (!SWIG_IsOK(ecode2)) {
7494 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvSVMParams_degree_set" "', argument " "2"" of type '" "double""'");
7496 arg2 = (double)(val2);
7497 if (arg1) (arg1)->degree = arg2;
7498 _outv = octave_value();
7499 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
7505 static octave_value_list _wrap_CvSVMParams_degree_get (const octave_value_list& args, int nargout) {
7506 CvSVMParams *arg1 = (CvSVMParams *) 0 ;
7509 octave_value_list _out;
7510 octave_value_list *_outp=&_out;
7514 if (!SWIG_check_num_args("CvSVMParams_degree_get",args.length(),1,1,0)) {
7517 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMParams, 0 | 0 );
7518 if (!SWIG_IsOK(res1)) {
7519 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMParams_degree_get" "', argument " "1"" of type '" "CvSVMParams *""'");
7521 arg1 = (CvSVMParams *)(argp1);
7522 result = (double) ((arg1)->degree);
7523 _outv = SWIG_From_double((double)(result));
7524 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
7530 static octave_value_list _wrap_CvSVMParams_gamma_set (const octave_value_list& args, int nargout) {
7531 CvSVMParams *arg1 = (CvSVMParams *) 0 ;
7537 octave_value_list _out;
7538 octave_value_list *_outp=&_out;
7541 if (!SWIG_check_num_args("CvSVMParams_gamma_set",args.length(),2,2,0)) {
7544 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMParams, 0 | 0 );
7545 if (!SWIG_IsOK(res1)) {
7546 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMParams_gamma_set" "', argument " "1"" of type '" "CvSVMParams *""'");
7548 arg1 = (CvSVMParams *)(argp1);
7549 ecode2 = SWIG_AsVal_double(args(1), &val2);
7550 if (!SWIG_IsOK(ecode2)) {
7551 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvSVMParams_gamma_set" "', argument " "2"" of type '" "double""'");
7553 arg2 = (double)(val2);
7554 if (arg1) (arg1)->gamma = arg2;
7555 _outv = octave_value();
7556 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
7562 static octave_value_list _wrap_CvSVMParams_gamma_get (const octave_value_list& args, int nargout) {
7563 CvSVMParams *arg1 = (CvSVMParams *) 0 ;
7566 octave_value_list _out;
7567 octave_value_list *_outp=&_out;
7571 if (!SWIG_check_num_args("CvSVMParams_gamma_get",args.length(),1,1,0)) {
7574 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMParams, 0 | 0 );
7575 if (!SWIG_IsOK(res1)) {
7576 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMParams_gamma_get" "', argument " "1"" of type '" "CvSVMParams *""'");
7578 arg1 = (CvSVMParams *)(argp1);
7579 result = (double) ((arg1)->gamma);
7580 _outv = SWIG_From_double((double)(result));
7581 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
7587 static octave_value_list _wrap_CvSVMParams_coef0_set (const octave_value_list& args, int nargout) {
7588 CvSVMParams *arg1 = (CvSVMParams *) 0 ;
7594 octave_value_list _out;
7595 octave_value_list *_outp=&_out;
7598 if (!SWIG_check_num_args("CvSVMParams_coef0_set",args.length(),2,2,0)) {
7601 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMParams, 0 | 0 );
7602 if (!SWIG_IsOK(res1)) {
7603 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMParams_coef0_set" "', argument " "1"" of type '" "CvSVMParams *""'");
7605 arg1 = (CvSVMParams *)(argp1);
7606 ecode2 = SWIG_AsVal_double(args(1), &val2);
7607 if (!SWIG_IsOK(ecode2)) {
7608 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvSVMParams_coef0_set" "', argument " "2"" of type '" "double""'");
7610 arg2 = (double)(val2);
7611 if (arg1) (arg1)->coef0 = arg2;
7612 _outv = octave_value();
7613 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
7619 static octave_value_list _wrap_CvSVMParams_coef0_get (const octave_value_list& args, int nargout) {
7620 CvSVMParams *arg1 = (CvSVMParams *) 0 ;
7623 octave_value_list _out;
7624 octave_value_list *_outp=&_out;
7628 if (!SWIG_check_num_args("CvSVMParams_coef0_get",args.length(),1,1,0)) {
7631 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMParams, 0 | 0 );
7632 if (!SWIG_IsOK(res1)) {
7633 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMParams_coef0_get" "', argument " "1"" of type '" "CvSVMParams *""'");
7635 arg1 = (CvSVMParams *)(argp1);
7636 result = (double) ((arg1)->coef0);
7637 _outv = SWIG_From_double((double)(result));
7638 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
7644 static octave_value_list _wrap_CvSVMParams_C_set (const octave_value_list& args, int nargout) {
7645 CvSVMParams *arg1 = (CvSVMParams *) 0 ;
7651 octave_value_list _out;
7652 octave_value_list *_outp=&_out;
7655 if (!SWIG_check_num_args("CvSVMParams_C_set",args.length(),2,2,0)) {
7658 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMParams, 0 | 0 );
7659 if (!SWIG_IsOK(res1)) {
7660 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMParams_C_set" "', argument " "1"" of type '" "CvSVMParams *""'");
7662 arg1 = (CvSVMParams *)(argp1);
7663 ecode2 = SWIG_AsVal_double(args(1), &val2);
7664 if (!SWIG_IsOK(ecode2)) {
7665 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvSVMParams_C_set" "', argument " "2"" of type '" "double""'");
7667 arg2 = (double)(val2);
7668 if (arg1) (arg1)->C = arg2;
7669 _outv = octave_value();
7670 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
7676 static octave_value_list _wrap_CvSVMParams_C_get (const octave_value_list& args, int nargout) {
7677 CvSVMParams *arg1 = (CvSVMParams *) 0 ;
7680 octave_value_list _out;
7681 octave_value_list *_outp=&_out;
7685 if (!SWIG_check_num_args("CvSVMParams_C_get",args.length(),1,1,0)) {
7688 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMParams, 0 | 0 );
7689 if (!SWIG_IsOK(res1)) {
7690 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMParams_C_get" "', argument " "1"" of type '" "CvSVMParams *""'");
7692 arg1 = (CvSVMParams *)(argp1);
7693 result = (double) ((arg1)->C);
7694 _outv = SWIG_From_double((double)(result));
7695 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
7701 static octave_value_list _wrap_CvSVMParams_nu_set (const octave_value_list& args, int nargout) {
7702 CvSVMParams *arg1 = (CvSVMParams *) 0 ;
7708 octave_value_list _out;
7709 octave_value_list *_outp=&_out;
7712 if (!SWIG_check_num_args("CvSVMParams_nu_set",args.length(),2,2,0)) {
7715 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMParams, 0 | 0 );
7716 if (!SWIG_IsOK(res1)) {
7717 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMParams_nu_set" "', argument " "1"" of type '" "CvSVMParams *""'");
7719 arg1 = (CvSVMParams *)(argp1);
7720 ecode2 = SWIG_AsVal_double(args(1), &val2);
7721 if (!SWIG_IsOK(ecode2)) {
7722 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvSVMParams_nu_set" "', argument " "2"" of type '" "double""'");
7724 arg2 = (double)(val2);
7725 if (arg1) (arg1)->nu = arg2;
7726 _outv = octave_value();
7727 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
7733 static octave_value_list _wrap_CvSVMParams_nu_get (const octave_value_list& args, int nargout) {
7734 CvSVMParams *arg1 = (CvSVMParams *) 0 ;
7737 octave_value_list _out;
7738 octave_value_list *_outp=&_out;
7742 if (!SWIG_check_num_args("CvSVMParams_nu_get",args.length(),1,1,0)) {
7745 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMParams, 0 | 0 );
7746 if (!SWIG_IsOK(res1)) {
7747 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMParams_nu_get" "', argument " "1"" of type '" "CvSVMParams *""'");
7749 arg1 = (CvSVMParams *)(argp1);
7750 result = (double) ((arg1)->nu);
7751 _outv = SWIG_From_double((double)(result));
7752 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
7758 static octave_value_list _wrap_CvSVMParams_p_set (const octave_value_list& args, int nargout) {
7759 CvSVMParams *arg1 = (CvSVMParams *) 0 ;
7765 octave_value_list _out;
7766 octave_value_list *_outp=&_out;
7769 if (!SWIG_check_num_args("CvSVMParams_p_set",args.length(),2,2,0)) {
7772 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMParams, 0 | 0 );
7773 if (!SWIG_IsOK(res1)) {
7774 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMParams_p_set" "', argument " "1"" of type '" "CvSVMParams *""'");
7776 arg1 = (CvSVMParams *)(argp1);
7777 ecode2 = SWIG_AsVal_double(args(1), &val2);
7778 if (!SWIG_IsOK(ecode2)) {
7779 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvSVMParams_p_set" "', argument " "2"" of type '" "double""'");
7781 arg2 = (double)(val2);
7782 if (arg1) (arg1)->p = arg2;
7783 _outv = octave_value();
7784 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
7790 static octave_value_list _wrap_CvSVMParams_p_get (const octave_value_list& args, int nargout) {
7791 CvSVMParams *arg1 = (CvSVMParams *) 0 ;
7794 octave_value_list _out;
7795 octave_value_list *_outp=&_out;
7799 if (!SWIG_check_num_args("CvSVMParams_p_get",args.length(),1,1,0)) {
7802 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMParams, 0 | 0 );
7803 if (!SWIG_IsOK(res1)) {
7804 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMParams_p_get" "', argument " "1"" of type '" "CvSVMParams *""'");
7806 arg1 = (CvSVMParams *)(argp1);
7807 result = (double) ((arg1)->p);
7808 _outv = SWIG_From_double((double)(result));
7809 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
7815 static octave_value_list _wrap_CvSVMParams_class_weights_set (const octave_value_list& args, int nargout) {
7816 CvSVMParams *arg1 = (CvSVMParams *) 0 ;
7817 CvMat *arg2 = (CvMat *) 0 ;
7822 octave_value_list _out;
7823 octave_value_list *_outp=&_out;
7826 if (!SWIG_check_num_args("CvSVMParams_class_weights_set",args.length(),2,2,0)) {
7829 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMParams, 0 | 0 );
7830 if (!SWIG_IsOK(res1)) {
7831 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMParams_class_weights_set" "', argument " "1"" of type '" "CvSVMParams *""'");
7833 arg1 = (CvSVMParams *)(argp1);
7834 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, SWIG_POINTER_DISOWN | 0 );
7835 if (!SWIG_IsOK(res2)) {
7836 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvSVMParams_class_weights_set" "', argument " "2"" of type '" "CvMat *""'");
7838 arg2 = (CvMat *)(argp2);
7839 if (arg1) (arg1)->class_weights = arg2;
7840 _outv = octave_value();
7841 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
7847 static octave_value_list _wrap_CvSVMParams_class_weights_get (const octave_value_list& args, int nargout) {
7848 CvSVMParams *arg1 = (CvSVMParams *) 0 ;
7851 octave_value_list _out;
7852 octave_value_list *_outp=&_out;
7856 if (!SWIG_check_num_args("CvSVMParams_class_weights_get",args.length(),1,1,0)) {
7859 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMParams, 0 | 0 );
7860 if (!SWIG_IsOK(res1)) {
7861 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMParams_class_weights_get" "', argument " "1"" of type '" "CvSVMParams *""'");
7863 arg1 = (CvSVMParams *)(argp1);
7864 result = (CvMat *) ((arg1)->class_weights);
7865 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvMat, 0 | 0 );
7866 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
7872 static octave_value_list _wrap_CvSVMParams_term_crit_set (const octave_value_list& args, int nargout) {
7873 CvSVMParams *arg1 = (CvSVMParams *) 0 ;
7874 CvTermCriteria *arg2 = (CvTermCriteria *) 0 ;
7879 octave_value_list _out;
7880 octave_value_list *_outp=&_out;
7883 if (!SWIG_check_num_args("CvSVMParams_term_crit_set",args.length(),2,2,0)) {
7886 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMParams, 0 | 0 );
7887 if (!SWIG_IsOK(res1)) {
7888 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMParams_term_crit_set" "', argument " "1"" of type '" "CvSVMParams *""'");
7890 arg1 = (CvSVMParams *)(argp1);
7891 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvTermCriteria, 0 | 0 );
7892 if (!SWIG_IsOK(res2)) {
7893 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvSVMParams_term_crit_set" "', argument " "2"" of type '" "CvTermCriteria *""'");
7895 arg2 = (CvTermCriteria *)(argp2);
7896 if (arg1) (arg1)->term_crit = *arg2;
7897 _outv = octave_value();
7898 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
7904 static octave_value_list _wrap_CvSVMParams_term_crit_get (const octave_value_list& args, int nargout) {
7905 CvSVMParams *arg1 = (CvSVMParams *) 0 ;
7908 octave_value_list _out;
7909 octave_value_list *_outp=&_out;
7911 CvTermCriteria *result = 0 ;
7913 if (!SWIG_check_num_args("CvSVMParams_term_crit_get",args.length(),1,1,0)) {
7916 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMParams, 0 | 0 );
7917 if (!SWIG_IsOK(res1)) {
7918 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMParams_term_crit_get" "', argument " "1"" of type '" "CvSVMParams *""'");
7920 arg1 = (CvSVMParams *)(argp1);
7921 result = (CvTermCriteria *)& ((arg1)->term_crit);
7922 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvTermCriteria, 0 | 0 );
7923 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
7929 static octave_value_list _wrap_delete_CvSVMParams (const octave_value_list& args, int nargout) {
7930 CvSVMParams *arg1 = (CvSVMParams *) 0 ;
7933 octave_value_list _out;
7934 octave_value_list *_outp=&_out;
7937 if (!SWIG_check_num_args("delete_CvSVMParams",args.length(),1,1,0)) {
7940 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMParams, SWIG_POINTER_DISOWN | 0 );
7941 if (!SWIG_IsOK(res1)) {
7942 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CvSVMParams" "', argument " "1"" of type '" "CvSVMParams *""'");
7944 arg1 = (CvSVMParams *)(argp1);
7954 _outv = octave_value();
7955 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
7961 static swig_octave_member swig_CvSVMParams_members[] = {
7962 {"svm_type",0,_wrap_CvSVMParams_svm_type_get,_wrap_CvSVMParams_svm_type_set,0,0},
7963 {"kernel_type",0,_wrap_CvSVMParams_kernel_type_get,_wrap_CvSVMParams_kernel_type_set,0,0},
7964 {"degree",0,_wrap_CvSVMParams_degree_get,_wrap_CvSVMParams_degree_set,0,0},
7965 {"gamma",0,_wrap_CvSVMParams_gamma_get,_wrap_CvSVMParams_gamma_set,0,0},
7966 {"coef0",0,_wrap_CvSVMParams_coef0_get,_wrap_CvSVMParams_coef0_set,0,0},
7967 {"C",0,_wrap_CvSVMParams_C_get,_wrap_CvSVMParams_C_set,0,0},
7968 {"nu",0,_wrap_CvSVMParams_nu_get,_wrap_CvSVMParams_nu_set,0,0},
7969 {"p",0,_wrap_CvSVMParams_p_get,_wrap_CvSVMParams_p_set,0,0},
7970 {"class_weights",0,_wrap_CvSVMParams_class_weights_get,_wrap_CvSVMParams_class_weights_set,0,0},
7971 {"term_crit",0,_wrap_CvSVMParams_term_crit_get,_wrap_CvSVMParams_term_crit_set,0,0},
7974 static const char *swig_CvSVMParams_base_names[] = {0};
7975 static const swig_type_info *swig_CvSVMParams_base[] = {0};
7976 static swig_octave_class _wrap_class_CvSVMParams = {"CvSVMParams", &SWIGTYPE_p_CvSVMParams,0,_wrap_new_CvSVMParams,0,_wrap_delete_CvSVMParams,swig_CvSVMParams_members,swig_CvSVMParams_base_names,swig_CvSVMParams_base };
7978 static octave_value_list _wrap_new_CvSVMKernel__SWIG_0 (const octave_value_list& args, int nargout) {
7979 octave_value_list _out;
7980 octave_value_list *_outp=&_out;
7982 CvSVMKernel *result = 0 ;
7984 if (!SWIG_check_num_args("new_CvSVMKernel",args.length(),0,0,0)) {
7989 result = (CvSVMKernel *)new CvSVMKernel();
7996 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvSVMKernel, 1 | 0 );
7997 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
8003 static octave_value_list _wrap_new_CvSVMKernel__SWIG_1 (const octave_value_list& args, int nargout) {
8004 CvSVMParams *arg1 = (CvSVMParams *) 0 ;
8005 CvSVMKernel::Calc arg2 ;
8008 octave_value_list _out;
8009 octave_value_list *_outp=&_out;
8011 CvSVMKernel *result = 0 ;
8013 if (!SWIG_check_num_args("new_CvSVMKernel",args.length(),2,2,0)) {
8016 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMParams, 0 | 0 );
8017 if (!SWIG_IsOK(res1)) {
8018 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CvSVMKernel" "', argument " "1"" of type '" "CvSVMParams const *""'");
8020 arg1 = (CvSVMParams *)(argp1);
8022 int res = SWIG_ConvertMember(args(1), SWIG_as_voidptr(&arg2), sizeof(CvSVMKernel::Calc),SWIGTYPE_m_CvSVMKernel__f_int_int_p_p_q_const__float_p_q_const__float_p_float__void);
8023 if (!SWIG_IsOK(res)) {
8024 SWIG_exception_fail(SWIG_ArgError(res), "in method '" "new_CvSVMKernel" "', argument " "2"" of type '" "CvSVMKernel::Calc""'");
8029 result = (CvSVMKernel *)new CvSVMKernel((CvSVMParams const *)arg1,arg2);
8036 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvSVMKernel, 1 | 0 );
8037 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
8043 static octave_value_list _wrap_new_CvSVMKernel (const octave_value_list& args, int nargout) {
8044 int argc = args.length();
8045 octave_value_ref argv[2]={
8046 octave_value_ref(args,0),octave_value_ref(args,1)
8050 return _wrap_new_CvSVMKernel__SWIG_0(args, nargout);
8055 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvSVMParams, 0);
8056 _v = SWIG_CheckState(res);
8059 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_m_CvSVMKernel__f_int_int_p_p_q_const__float_p_q_const__float_p_float__void, 0);
8060 _v = SWIG_CheckState(res);
8062 return _wrap_new_CvSVMKernel__SWIG_1(args, nargout);
8067 error("No matching function for overload");
8068 return octave_value_list();
8072 static octave_value_list _wrap_CvSVMKernel_create (const octave_value_list& args, int nargout) {
8073 CvSVMKernel *arg1 = (CvSVMKernel *) 0 ;
8074 CvSVMParams *arg2 = (CvSVMParams *) 0 ;
8075 CvSVMKernel::Calc arg3 ;
8080 octave_value_list _out;
8081 octave_value_list *_outp=&_out;
8085 if (!SWIG_check_num_args("CvSVMKernel_create",args.length(),3,3,0)) {
8088 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMKernel, 0 | 0 );
8089 if (!SWIG_IsOK(res1)) {
8090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMKernel_create" "', argument " "1"" of type '" "CvSVMKernel *""'");
8092 arg1 = (CvSVMKernel *)(argp1);
8093 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvSVMParams, 0 | 0 );
8094 if (!SWIG_IsOK(res2)) {
8095 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvSVMKernel_create" "', argument " "2"" of type '" "CvSVMParams const *""'");
8097 arg2 = (CvSVMParams *)(argp2);
8099 int res = SWIG_ConvertMember(args(2), SWIG_as_voidptr(&arg3), sizeof(CvSVMKernel::Calc),SWIGTYPE_m_CvSVMKernel__f_int_int_p_p_q_const__float_p_q_const__float_p_float__void);
8100 if (!SWIG_IsOK(res)) {
8101 SWIG_exception_fail(SWIG_ArgError(res), "in method '" "CvSVMKernel_create" "', argument " "3"" of type '" "CvSVMKernel::Calc""'");
8106 result = (bool)(arg1)->create((CvSVMParams const *)arg2,arg3);
8113 _outv = SWIG_From_bool((bool)(result));
8114 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
8120 static octave_value_list _wrap_delete_CvSVMKernel (const octave_value_list& args, int nargout) {
8121 CvSVMKernel *arg1 = (CvSVMKernel *) 0 ;
8124 octave_value_list _out;
8125 octave_value_list *_outp=&_out;
8128 if (!SWIG_check_num_args("delete_CvSVMKernel",args.length(),1,1,0)) {
8131 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMKernel, SWIG_POINTER_DISOWN | 0 );
8132 if (!SWIG_IsOK(res1)) {
8133 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CvSVMKernel" "', argument " "1"" of type '" "CvSVMKernel *""'");
8135 arg1 = (CvSVMKernel *)(argp1);
8145 _outv = octave_value();
8146 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
8152 static octave_value_list _wrap_CvSVMKernel_clear (const octave_value_list& args, int nargout) {
8153 CvSVMKernel *arg1 = (CvSVMKernel *) 0 ;
8156 octave_value_list _out;
8157 octave_value_list *_outp=&_out;
8160 if (!SWIG_check_num_args("CvSVMKernel_clear",args.length(),1,1,0)) {
8163 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMKernel, 0 | 0 );
8164 if (!SWIG_IsOK(res1)) {
8165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMKernel_clear" "', argument " "1"" of type '" "CvSVMKernel *""'");
8167 arg1 = (CvSVMKernel *)(argp1);
8177 _outv = octave_value();
8178 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
8184 static octave_value_list _wrap_CvSVMKernel_calc (const octave_value_list& args, int nargout) {
8185 CvSVMKernel *arg1 = (CvSVMKernel *) 0 ;
8188 float **arg4 = (float **) 0 ;
8189 float *arg5 = (float *) 0 ;
8190 float *arg6 = (float *) 0 ;
8203 octave_value_list _out;
8204 octave_value_list *_outp=&_out;
8207 if (!SWIG_check_num_args("CvSVMKernel_calc",args.length(),6,6,0)) {
8210 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMKernel, 0 | 0 );
8211 if (!SWIG_IsOK(res1)) {
8212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMKernel_calc" "', argument " "1"" of type '" "CvSVMKernel *""'");
8214 arg1 = (CvSVMKernel *)(argp1);
8215 ecode2 = SWIG_AsVal_int(args(1), &val2);
8216 if (!SWIG_IsOK(ecode2)) {
8217 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvSVMKernel_calc" "', argument " "2"" of type '" "int""'");
8220 ecode3 = SWIG_AsVal_int(args(2), &val3);
8221 if (!SWIG_IsOK(ecode3)) {
8222 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvSVMKernel_calc" "', argument " "3"" of type '" "int""'");
8226 if ((SWIG_ConvertPtr(args(3), &vptr4, SWIGTYPE_p_float, 1)) == -1){
8229 buffer4 = (float *) vptr4;
8232 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_float, 0 | 0 );
8233 if (!SWIG_IsOK(res5)) {
8234 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvSVMKernel_calc" "', argument " "5"" of type '" "float const *""'");
8236 arg5 = (float *)(argp5);
8237 res6 = SWIG_ConvertPtr(args(5), &argp6,SWIGTYPE_p_float, 0 | 0 );
8238 if (!SWIG_IsOK(res6)) {
8239 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "CvSVMKernel_calc" "', argument " "6"" of type '" "float *""'");
8241 arg6 = (float *)(argp6);
8244 (arg1)->calc(arg2,arg3,(float const **)arg4,(float const *)arg5,arg6);
8251 _outv = octave_value();
8252 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
8258 static octave_value_list _wrap_CvSVMKernel_params_set (const octave_value_list& args, int nargout) {
8259 CvSVMKernel *arg1 = (CvSVMKernel *) 0 ;
8260 CvSVMParams *arg2 = (CvSVMParams *) 0 ;
8265 octave_value_list _out;
8266 octave_value_list *_outp=&_out;
8269 if (!SWIG_check_num_args("CvSVMKernel_params_set",args.length(),2,2,0)) {
8272 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMKernel, 0 | 0 );
8273 if (!SWIG_IsOK(res1)) {
8274 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMKernel_params_set" "', argument " "1"" of type '" "CvSVMKernel *""'");
8276 arg1 = (CvSVMKernel *)(argp1);
8277 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvSVMParams, SWIG_POINTER_DISOWN | 0 );
8278 if (!SWIG_IsOK(res2)) {
8279 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvSVMKernel_params_set" "', argument " "2"" of type '" "CvSVMParams const *""'");
8281 arg2 = (CvSVMParams *)(argp2);
8282 if (arg1) (arg1)->params = (CvSVMParams const *)arg2;
8283 _outv = octave_value();
8284 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
8290 static octave_value_list _wrap_CvSVMKernel_params_get (const octave_value_list& args, int nargout) {
8291 CvSVMKernel *arg1 = (CvSVMKernel *) 0 ;
8294 octave_value_list _out;
8295 octave_value_list *_outp=&_out;
8297 CvSVMParams *result = 0 ;
8299 if (!SWIG_check_num_args("CvSVMKernel_params_get",args.length(),1,1,0)) {
8302 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMKernel, 0 | 0 );
8303 if (!SWIG_IsOK(res1)) {
8304 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMKernel_params_get" "', argument " "1"" of type '" "CvSVMKernel *""'");
8306 arg1 = (CvSVMKernel *)(argp1);
8307 result = (CvSVMParams *) ((arg1)->params);
8308 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvSVMParams, 0 | 0 );
8309 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
8315 static octave_value_list _wrap_CvSVMKernel_calc_func_set (const octave_value_list& args, int nargout) {
8316 CvSVMKernel *arg1 = (CvSVMKernel *) 0 ;
8317 CvSVMKernel::Calc arg2 ;
8320 octave_value_list _out;
8321 octave_value_list *_outp=&_out;
8324 if (!SWIG_check_num_args("CvSVMKernel_calc_func_set",args.length(),2,2,0)) {
8327 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMKernel, 0 | 0 );
8328 if (!SWIG_IsOK(res1)) {
8329 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMKernel_calc_func_set" "', argument " "1"" of type '" "CvSVMKernel *""'");
8331 arg1 = (CvSVMKernel *)(argp1);
8333 int res = SWIG_ConvertMember(args(1), SWIG_as_voidptr(&arg2), sizeof(CvSVMKernel::Calc),SWIGTYPE_m_CvSVMKernel__f_int_int_p_p_q_const__float_p_q_const__float_p_float__void);
8334 if (!SWIG_IsOK(res)) {
8335 SWIG_exception_fail(SWIG_ArgError(res), "in method '" "CvSVMKernel_calc_func_set" "', argument " "2"" of type '" "CvSVMKernel::Calc""'");
8338 if (arg1) (arg1)->calc_func = arg2;
8339 _outv = octave_value();
8340 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
8346 static octave_value_list _wrap_CvSVMKernel_calc_func_get (const octave_value_list& args, int nargout) {
8347 CvSVMKernel *arg1 = (CvSVMKernel *) 0 ;
8350 octave_value_list _out;
8351 octave_value_list *_outp=&_out;
8353 CvSVMKernel::Calc result;
8355 if (!SWIG_check_num_args("CvSVMKernel_calc_func_get",args.length(),1,1,0)) {
8358 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMKernel, 0 | 0 );
8359 if (!SWIG_IsOK(res1)) {
8360 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMKernel_calc_func_get" "', argument " "1"" of type '" "CvSVMKernel *""'");
8362 arg1 = (CvSVMKernel *)(argp1);
8363 result = (CvSVMKernel::Calc) ((arg1)->calc_func);
8364 _outv = SWIG_NewMemberObj(SWIG_as_voidptr(&result), sizeof(CvSVMKernel::Calc), SWIGTYPE_m_CvSVMKernel__f_int_int_p_p_q_const__float_p_q_const__float_p_float__void);
8365 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
8371 static octave_value_list _wrap_CvSVMKernel_calc_non_rbf_base (const octave_value_list& args, int nargout) {
8372 CvSVMKernel *arg1 = (CvSVMKernel *) 0 ;
8375 float **arg4 = (float **) 0 ;
8376 float *arg5 = (float *) 0 ;
8377 float *arg6 = (float *) 0 ;
8396 octave_value_list _out;
8397 octave_value_list *_outp=&_out;
8400 if (!SWIG_check_num_args("CvSVMKernel_calc_non_rbf_base",args.length(),8,8,0)) {
8403 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMKernel, 0 | 0 );
8404 if (!SWIG_IsOK(res1)) {
8405 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMKernel_calc_non_rbf_base" "', argument " "1"" of type '" "CvSVMKernel *""'");
8407 arg1 = (CvSVMKernel *)(argp1);
8408 ecode2 = SWIG_AsVal_int(args(1), &val2);
8409 if (!SWIG_IsOK(ecode2)) {
8410 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvSVMKernel_calc_non_rbf_base" "', argument " "2"" of type '" "int""'");
8413 ecode3 = SWIG_AsVal_int(args(2), &val3);
8414 if (!SWIG_IsOK(ecode3)) {
8415 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvSVMKernel_calc_non_rbf_base" "', argument " "3"" of type '" "int""'");
8419 if ((SWIG_ConvertPtr(args(3), &vptr4, SWIGTYPE_p_float, 1)) == -1){
8422 buffer4 = (float *) vptr4;
8425 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_float, 0 | 0 );
8426 if (!SWIG_IsOK(res5)) {
8427 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvSVMKernel_calc_non_rbf_base" "', argument " "5"" of type '" "float const *""'");
8429 arg5 = (float *)(argp5);
8430 res6 = SWIG_ConvertPtr(args(5), &argp6,SWIGTYPE_p_float, 0 | 0 );
8431 if (!SWIG_IsOK(res6)) {
8432 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "CvSVMKernel_calc_non_rbf_base" "', argument " "6"" of type '" "float *""'");
8434 arg6 = (float *)(argp6);
8435 ecode7 = SWIG_AsVal_double(args(6), &val7);
8436 if (!SWIG_IsOK(ecode7)) {
8437 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "CvSVMKernel_calc_non_rbf_base" "', argument " "7"" of type '" "double""'");
8439 arg7 = (double)(val7);
8440 ecode8 = SWIG_AsVal_double(args(7), &val8);
8441 if (!SWIG_IsOK(ecode8)) {
8442 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "CvSVMKernel_calc_non_rbf_base" "', argument " "8"" of type '" "double""'");
8444 arg8 = (double)(val8);
8447 (arg1)->calc_non_rbf_base(arg2,arg3,(float const **)arg4,(float const *)arg5,arg6,arg7,arg8);
8454 _outv = octave_value();
8455 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
8461 static octave_value_list _wrap_CvSVMKernel_calc_linear (const octave_value_list& args, int nargout) {
8462 CvSVMKernel *arg1 = (CvSVMKernel *) 0 ;
8465 float **arg4 = (float **) 0 ;
8466 float *arg5 = (float *) 0 ;
8467 float *arg6 = (float *) 0 ;
8480 octave_value_list _out;
8481 octave_value_list *_outp=&_out;
8484 if (!SWIG_check_num_args("CvSVMKernel_calc_linear",args.length(),6,6,0)) {
8487 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMKernel, 0 | 0 );
8488 if (!SWIG_IsOK(res1)) {
8489 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMKernel_calc_linear" "', argument " "1"" of type '" "CvSVMKernel *""'");
8491 arg1 = (CvSVMKernel *)(argp1);
8492 ecode2 = SWIG_AsVal_int(args(1), &val2);
8493 if (!SWIG_IsOK(ecode2)) {
8494 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvSVMKernel_calc_linear" "', argument " "2"" of type '" "int""'");
8497 ecode3 = SWIG_AsVal_int(args(2), &val3);
8498 if (!SWIG_IsOK(ecode3)) {
8499 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvSVMKernel_calc_linear" "', argument " "3"" of type '" "int""'");
8503 if ((SWIG_ConvertPtr(args(3), &vptr4, SWIGTYPE_p_float, 1)) == -1){
8506 buffer4 = (float *) vptr4;
8509 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_float, 0 | 0 );
8510 if (!SWIG_IsOK(res5)) {
8511 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvSVMKernel_calc_linear" "', argument " "5"" of type '" "float const *""'");
8513 arg5 = (float *)(argp5);
8514 res6 = SWIG_ConvertPtr(args(5), &argp6,SWIGTYPE_p_float, 0 | 0 );
8515 if (!SWIG_IsOK(res6)) {
8516 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "CvSVMKernel_calc_linear" "', argument " "6"" of type '" "float *""'");
8518 arg6 = (float *)(argp6);
8521 (arg1)->calc_linear(arg2,arg3,(float const **)arg4,(float const *)arg5,arg6);
8528 _outv = octave_value();
8529 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
8535 static octave_value_list _wrap_CvSVMKernel_calc_rbf (const octave_value_list& args, int nargout) {
8536 CvSVMKernel *arg1 = (CvSVMKernel *) 0 ;
8539 float **arg4 = (float **) 0 ;
8540 float *arg5 = (float *) 0 ;
8541 float *arg6 = (float *) 0 ;
8554 octave_value_list _out;
8555 octave_value_list *_outp=&_out;
8558 if (!SWIG_check_num_args("CvSVMKernel_calc_rbf",args.length(),6,6,0)) {
8561 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMKernel, 0 | 0 );
8562 if (!SWIG_IsOK(res1)) {
8563 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMKernel_calc_rbf" "', argument " "1"" of type '" "CvSVMKernel *""'");
8565 arg1 = (CvSVMKernel *)(argp1);
8566 ecode2 = SWIG_AsVal_int(args(1), &val2);
8567 if (!SWIG_IsOK(ecode2)) {
8568 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvSVMKernel_calc_rbf" "', argument " "2"" of type '" "int""'");
8571 ecode3 = SWIG_AsVal_int(args(2), &val3);
8572 if (!SWIG_IsOK(ecode3)) {
8573 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvSVMKernel_calc_rbf" "', argument " "3"" of type '" "int""'");
8577 if ((SWIG_ConvertPtr(args(3), &vptr4, SWIGTYPE_p_float, 1)) == -1){
8580 buffer4 = (float *) vptr4;
8583 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_float, 0 | 0 );
8584 if (!SWIG_IsOK(res5)) {
8585 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvSVMKernel_calc_rbf" "', argument " "5"" of type '" "float const *""'");
8587 arg5 = (float *)(argp5);
8588 res6 = SWIG_ConvertPtr(args(5), &argp6,SWIGTYPE_p_float, 0 | 0 );
8589 if (!SWIG_IsOK(res6)) {
8590 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "CvSVMKernel_calc_rbf" "', argument " "6"" of type '" "float *""'");
8592 arg6 = (float *)(argp6);
8595 (arg1)->calc_rbf(arg2,arg3,(float const **)arg4,(float const *)arg5,arg6);
8602 _outv = octave_value();
8603 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
8609 static octave_value_list _wrap_CvSVMKernel_calc_poly (const octave_value_list& args, int nargout) {
8610 CvSVMKernel *arg1 = (CvSVMKernel *) 0 ;
8613 float **arg4 = (float **) 0 ;
8614 float *arg5 = (float *) 0 ;
8615 float *arg6 = (float *) 0 ;
8628 octave_value_list _out;
8629 octave_value_list *_outp=&_out;
8632 if (!SWIG_check_num_args("CvSVMKernel_calc_poly",args.length(),6,6,0)) {
8635 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMKernel, 0 | 0 );
8636 if (!SWIG_IsOK(res1)) {
8637 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMKernel_calc_poly" "', argument " "1"" of type '" "CvSVMKernel *""'");
8639 arg1 = (CvSVMKernel *)(argp1);
8640 ecode2 = SWIG_AsVal_int(args(1), &val2);
8641 if (!SWIG_IsOK(ecode2)) {
8642 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvSVMKernel_calc_poly" "', argument " "2"" of type '" "int""'");
8645 ecode3 = SWIG_AsVal_int(args(2), &val3);
8646 if (!SWIG_IsOK(ecode3)) {
8647 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvSVMKernel_calc_poly" "', argument " "3"" of type '" "int""'");
8651 if ((SWIG_ConvertPtr(args(3), &vptr4, SWIGTYPE_p_float, 1)) == -1){
8654 buffer4 = (float *) vptr4;
8657 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_float, 0 | 0 );
8658 if (!SWIG_IsOK(res5)) {
8659 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvSVMKernel_calc_poly" "', argument " "5"" of type '" "float const *""'");
8661 arg5 = (float *)(argp5);
8662 res6 = SWIG_ConvertPtr(args(5), &argp6,SWIGTYPE_p_float, 0 | 0 );
8663 if (!SWIG_IsOK(res6)) {
8664 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "CvSVMKernel_calc_poly" "', argument " "6"" of type '" "float *""'");
8666 arg6 = (float *)(argp6);
8669 (arg1)->calc_poly(arg2,arg3,(float const **)arg4,(float const *)arg5,arg6);
8676 _outv = octave_value();
8677 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
8683 static octave_value_list _wrap_CvSVMKernel_calc_sigmoid (const octave_value_list& args, int nargout) {
8684 CvSVMKernel *arg1 = (CvSVMKernel *) 0 ;
8687 float **arg4 = (float **) 0 ;
8688 float *arg5 = (float *) 0 ;
8689 float *arg6 = (float *) 0 ;
8702 octave_value_list _out;
8703 octave_value_list *_outp=&_out;
8706 if (!SWIG_check_num_args("CvSVMKernel_calc_sigmoid",args.length(),6,6,0)) {
8709 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMKernel, 0 | 0 );
8710 if (!SWIG_IsOK(res1)) {
8711 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMKernel_calc_sigmoid" "', argument " "1"" of type '" "CvSVMKernel *""'");
8713 arg1 = (CvSVMKernel *)(argp1);
8714 ecode2 = SWIG_AsVal_int(args(1), &val2);
8715 if (!SWIG_IsOK(ecode2)) {
8716 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvSVMKernel_calc_sigmoid" "', argument " "2"" of type '" "int""'");
8719 ecode3 = SWIG_AsVal_int(args(2), &val3);
8720 if (!SWIG_IsOK(ecode3)) {
8721 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvSVMKernel_calc_sigmoid" "', argument " "3"" of type '" "int""'");
8725 if ((SWIG_ConvertPtr(args(3), &vptr4, SWIGTYPE_p_float, 1)) == -1){
8728 buffer4 = (float *) vptr4;
8731 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_float, 0 | 0 );
8732 if (!SWIG_IsOK(res5)) {
8733 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvSVMKernel_calc_sigmoid" "', argument " "5"" of type '" "float const *""'");
8735 arg5 = (float *)(argp5);
8736 res6 = SWIG_ConvertPtr(args(5), &argp6,SWIGTYPE_p_float, 0 | 0 );
8737 if (!SWIG_IsOK(res6)) {
8738 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "CvSVMKernel_calc_sigmoid" "', argument " "6"" of type '" "float *""'");
8740 arg6 = (float *)(argp6);
8743 (arg1)->calc_sigmoid(arg2,arg3,(float const **)arg4,(float const *)arg5,arg6);
8750 _outv = octave_value();
8751 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
8757 static swig_octave_member swig_CvSVMKernel_members[] = {
8758 {"create",_wrap_CvSVMKernel_create,0,0,0,0},
8759 {"clear",_wrap_CvSVMKernel_clear,0,0,0,0},
8760 {"calc",_wrap_CvSVMKernel_calc,0,0,0,0},
8761 {"params",0,_wrap_CvSVMKernel_params_get,_wrap_CvSVMKernel_params_set,0,0},
8762 {"calc_func",0,_wrap_CvSVMKernel_calc_func_get,_wrap_CvSVMKernel_calc_func_set,0,0},
8763 {"calc_non_rbf_base",_wrap_CvSVMKernel_calc_non_rbf_base,0,0,0,0},
8764 {"calc_linear",_wrap_CvSVMKernel_calc_linear,0,0,0,0},
8765 {"calc_rbf",_wrap_CvSVMKernel_calc_rbf,0,0,0,0},
8766 {"calc_poly",_wrap_CvSVMKernel_calc_poly,0,0,0,0},
8767 {"calc_sigmoid",_wrap_CvSVMKernel_calc_sigmoid,0,0,0,0},
8770 static const char *swig_CvSVMKernel_base_names[] = {0};
8771 static const swig_type_info *swig_CvSVMKernel_base[] = {0};
8772 static swig_octave_class _wrap_class_CvSVMKernel = {"CvSVMKernel", &SWIGTYPE_p_CvSVMKernel,0,_wrap_new_CvSVMKernel,0,_wrap_delete_CvSVMKernel,swig_CvSVMKernel_members,swig_CvSVMKernel_base_names,swig_CvSVMKernel_base };
8774 static octave_value_list _wrap_CvSVMKernelRow_prev_set (const octave_value_list& args, int nargout) {
8775 CvSVMKernelRow *arg1 = (CvSVMKernelRow *) 0 ;
8776 CvSVMKernelRow *arg2 = (CvSVMKernelRow *) 0 ;
8781 octave_value_list _out;
8782 octave_value_list *_outp=&_out;
8785 if (!SWIG_check_num_args("CvSVMKernelRow_prev_set",args.length(),2,2,0)) {
8788 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMKernelRow, 0 | 0 );
8789 if (!SWIG_IsOK(res1)) {
8790 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMKernelRow_prev_set" "', argument " "1"" of type '" "CvSVMKernelRow *""'");
8792 arg1 = (CvSVMKernelRow *)(argp1);
8793 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvSVMKernelRow, SWIG_POINTER_DISOWN | 0 );
8794 if (!SWIG_IsOK(res2)) {
8795 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvSVMKernelRow_prev_set" "', argument " "2"" of type '" "CvSVMKernelRow *""'");
8797 arg2 = (CvSVMKernelRow *)(argp2);
8798 if (arg1) (arg1)->prev = arg2;
8799 _outv = octave_value();
8800 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
8806 static octave_value_list _wrap_CvSVMKernelRow_prev_get (const octave_value_list& args, int nargout) {
8807 CvSVMKernelRow *arg1 = (CvSVMKernelRow *) 0 ;
8810 octave_value_list _out;
8811 octave_value_list *_outp=&_out;
8813 CvSVMKernelRow *result = 0 ;
8815 if (!SWIG_check_num_args("CvSVMKernelRow_prev_get",args.length(),1,1,0)) {
8818 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMKernelRow, 0 | 0 );
8819 if (!SWIG_IsOK(res1)) {
8820 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMKernelRow_prev_get" "', argument " "1"" of type '" "CvSVMKernelRow *""'");
8822 arg1 = (CvSVMKernelRow *)(argp1);
8823 result = (CvSVMKernelRow *) ((arg1)->prev);
8824 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvSVMKernelRow, 0 | 0 );
8825 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
8831 static octave_value_list _wrap_CvSVMKernelRow_next_set (const octave_value_list& args, int nargout) {
8832 CvSVMKernelRow *arg1 = (CvSVMKernelRow *) 0 ;
8833 CvSVMKernelRow *arg2 = (CvSVMKernelRow *) 0 ;
8838 octave_value_list _out;
8839 octave_value_list *_outp=&_out;
8842 if (!SWIG_check_num_args("CvSVMKernelRow_next_set",args.length(),2,2,0)) {
8845 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMKernelRow, 0 | 0 );
8846 if (!SWIG_IsOK(res1)) {
8847 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMKernelRow_next_set" "', argument " "1"" of type '" "CvSVMKernelRow *""'");
8849 arg1 = (CvSVMKernelRow *)(argp1);
8850 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvSVMKernelRow, SWIG_POINTER_DISOWN | 0 );
8851 if (!SWIG_IsOK(res2)) {
8852 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvSVMKernelRow_next_set" "', argument " "2"" of type '" "CvSVMKernelRow *""'");
8854 arg2 = (CvSVMKernelRow *)(argp2);
8855 if (arg1) (arg1)->next = arg2;
8856 _outv = octave_value();
8857 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
8863 static octave_value_list _wrap_CvSVMKernelRow_next_get (const octave_value_list& args, int nargout) {
8864 CvSVMKernelRow *arg1 = (CvSVMKernelRow *) 0 ;
8867 octave_value_list _out;
8868 octave_value_list *_outp=&_out;
8870 CvSVMKernelRow *result = 0 ;
8872 if (!SWIG_check_num_args("CvSVMKernelRow_next_get",args.length(),1,1,0)) {
8875 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMKernelRow, 0 | 0 );
8876 if (!SWIG_IsOK(res1)) {
8877 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMKernelRow_next_get" "', argument " "1"" of type '" "CvSVMKernelRow *""'");
8879 arg1 = (CvSVMKernelRow *)(argp1);
8880 result = (CvSVMKernelRow *) ((arg1)->next);
8881 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvSVMKernelRow, 0 | 0 );
8882 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
8888 static octave_value_list _wrap_CvSVMKernelRow_data_set (const octave_value_list& args, int nargout) {
8889 CvSVMKernelRow *arg1 = (CvSVMKernelRow *) 0 ;
8890 float *arg2 = (float *) 0 ;
8895 octave_value_list _out;
8896 octave_value_list *_outp=&_out;
8899 if (!SWIG_check_num_args("CvSVMKernelRow_data_set",args.length(),2,2,0)) {
8902 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMKernelRow, 0 | 0 );
8903 if (!SWIG_IsOK(res1)) {
8904 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMKernelRow_data_set" "', argument " "1"" of type '" "CvSVMKernelRow *""'");
8906 arg1 = (CvSVMKernelRow *)(argp1);
8907 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_float, SWIG_POINTER_DISOWN | 0 );
8908 if (!SWIG_IsOK(res2)) {
8909 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvSVMKernelRow_data_set" "', argument " "2"" of type '" "float *""'");
8911 arg2 = (float *)(argp2);
8912 if (arg1) (arg1)->data = arg2;
8913 _outv = octave_value();
8914 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
8920 static octave_value_list _wrap_CvSVMKernelRow_data_get (const octave_value_list& args, int nargout) {
8921 CvSVMKernelRow *arg1 = (CvSVMKernelRow *) 0 ;
8924 octave_value_list _out;
8925 octave_value_list *_outp=&_out;
8929 if (!SWIG_check_num_args("CvSVMKernelRow_data_get",args.length(),1,1,0)) {
8932 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMKernelRow, 0 | 0 );
8933 if (!SWIG_IsOK(res1)) {
8934 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMKernelRow_data_get" "', argument " "1"" of type '" "CvSVMKernelRow *""'");
8936 arg1 = (CvSVMKernelRow *)(argp1);
8937 result = (float *) ((arg1)->data);
8938 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 );
8939 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
8945 static octave_value_list _wrap_new_CvSVMKernelRow (const octave_value_list& args, int nargout) {
8946 octave_value_list _out;
8947 octave_value_list *_outp=&_out;
8949 CvSVMKernelRow *result = 0 ;
8951 if (!SWIG_check_num_args("new_CvSVMKernelRow",args.length(),0,0,0)) {
8956 result = (CvSVMKernelRow *)new CvSVMKernelRow();
8963 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvSVMKernelRow, 1 | 0 );
8964 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
8970 static octave_value_list _wrap_delete_CvSVMKernelRow (const octave_value_list& args, int nargout) {
8971 CvSVMKernelRow *arg1 = (CvSVMKernelRow *) 0 ;
8974 octave_value_list _out;
8975 octave_value_list *_outp=&_out;
8978 if (!SWIG_check_num_args("delete_CvSVMKernelRow",args.length(),1,1,0)) {
8981 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMKernelRow, SWIG_POINTER_DISOWN | 0 );
8982 if (!SWIG_IsOK(res1)) {
8983 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CvSVMKernelRow" "', argument " "1"" of type '" "CvSVMKernelRow *""'");
8985 arg1 = (CvSVMKernelRow *)(argp1);
8995 _outv = octave_value();
8996 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
9002 static swig_octave_member swig_CvSVMKernelRow_members[] = {
9003 {"prev",0,_wrap_CvSVMKernelRow_prev_get,_wrap_CvSVMKernelRow_prev_set,0,0},
9004 {"next",0,_wrap_CvSVMKernelRow_next_get,_wrap_CvSVMKernelRow_next_set,0,0},
9005 {"data",0,_wrap_CvSVMKernelRow_data_get,_wrap_CvSVMKernelRow_data_set,0,0},
9008 static const char *swig_CvSVMKernelRow_base_names[] = {0};
9009 static const swig_type_info *swig_CvSVMKernelRow_base[] = {0};
9010 static swig_octave_class _wrap_class_CvSVMKernelRow = {"CvSVMKernelRow", &SWIGTYPE_p_CvSVMKernelRow,0,_wrap_new_CvSVMKernelRow,0,_wrap_delete_CvSVMKernelRow,swig_CvSVMKernelRow_members,swig_CvSVMKernelRow_base_names,swig_CvSVMKernelRow_base };
9012 static octave_value_list _wrap_CvSVMSolutionInfo_obj_set (const octave_value_list& args, int nargout) {
9013 CvSVMSolutionInfo *arg1 = (CvSVMSolutionInfo *) 0 ;
9019 octave_value_list _out;
9020 octave_value_list *_outp=&_out;
9023 if (!SWIG_check_num_args("CvSVMSolutionInfo_obj_set",args.length(),2,2,0)) {
9026 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMSolutionInfo, 0 | 0 );
9027 if (!SWIG_IsOK(res1)) {
9028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMSolutionInfo_obj_set" "', argument " "1"" of type '" "CvSVMSolutionInfo *""'");
9030 arg1 = (CvSVMSolutionInfo *)(argp1);
9031 ecode2 = SWIG_AsVal_double(args(1), &val2);
9032 if (!SWIG_IsOK(ecode2)) {
9033 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvSVMSolutionInfo_obj_set" "', argument " "2"" of type '" "double""'");
9035 arg2 = (double)(val2);
9036 if (arg1) (arg1)->obj = arg2;
9037 _outv = octave_value();
9038 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
9044 static octave_value_list _wrap_CvSVMSolutionInfo_obj_get (const octave_value_list& args, int nargout) {
9045 CvSVMSolutionInfo *arg1 = (CvSVMSolutionInfo *) 0 ;
9048 octave_value_list _out;
9049 octave_value_list *_outp=&_out;
9053 if (!SWIG_check_num_args("CvSVMSolutionInfo_obj_get",args.length(),1,1,0)) {
9056 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMSolutionInfo, 0 | 0 );
9057 if (!SWIG_IsOK(res1)) {
9058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMSolutionInfo_obj_get" "', argument " "1"" of type '" "CvSVMSolutionInfo *""'");
9060 arg1 = (CvSVMSolutionInfo *)(argp1);
9061 result = (double) ((arg1)->obj);
9062 _outv = SWIG_From_double((double)(result));
9063 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
9069 static octave_value_list _wrap_CvSVMSolutionInfo_rho_set (const octave_value_list& args, int nargout) {
9070 CvSVMSolutionInfo *arg1 = (CvSVMSolutionInfo *) 0 ;
9076 octave_value_list _out;
9077 octave_value_list *_outp=&_out;
9080 if (!SWIG_check_num_args("CvSVMSolutionInfo_rho_set",args.length(),2,2,0)) {
9083 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMSolutionInfo, 0 | 0 );
9084 if (!SWIG_IsOK(res1)) {
9085 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMSolutionInfo_rho_set" "', argument " "1"" of type '" "CvSVMSolutionInfo *""'");
9087 arg1 = (CvSVMSolutionInfo *)(argp1);
9088 ecode2 = SWIG_AsVal_double(args(1), &val2);
9089 if (!SWIG_IsOK(ecode2)) {
9090 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvSVMSolutionInfo_rho_set" "', argument " "2"" of type '" "double""'");
9092 arg2 = (double)(val2);
9093 if (arg1) (arg1)->rho = arg2;
9094 _outv = octave_value();
9095 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
9101 static octave_value_list _wrap_CvSVMSolutionInfo_rho_get (const octave_value_list& args, int nargout) {
9102 CvSVMSolutionInfo *arg1 = (CvSVMSolutionInfo *) 0 ;
9105 octave_value_list _out;
9106 octave_value_list *_outp=&_out;
9110 if (!SWIG_check_num_args("CvSVMSolutionInfo_rho_get",args.length(),1,1,0)) {
9113 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMSolutionInfo, 0 | 0 );
9114 if (!SWIG_IsOK(res1)) {
9115 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMSolutionInfo_rho_get" "', argument " "1"" of type '" "CvSVMSolutionInfo *""'");
9117 arg1 = (CvSVMSolutionInfo *)(argp1);
9118 result = (double) ((arg1)->rho);
9119 _outv = SWIG_From_double((double)(result));
9120 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
9126 static octave_value_list _wrap_CvSVMSolutionInfo_upper_bound_p_set (const octave_value_list& args, int nargout) {
9127 CvSVMSolutionInfo *arg1 = (CvSVMSolutionInfo *) 0 ;
9133 octave_value_list _out;
9134 octave_value_list *_outp=&_out;
9137 if (!SWIG_check_num_args("CvSVMSolutionInfo_upper_bound_p_set",args.length(),2,2,0)) {
9140 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMSolutionInfo, 0 | 0 );
9141 if (!SWIG_IsOK(res1)) {
9142 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMSolutionInfo_upper_bound_p_set" "', argument " "1"" of type '" "CvSVMSolutionInfo *""'");
9144 arg1 = (CvSVMSolutionInfo *)(argp1);
9145 ecode2 = SWIG_AsVal_double(args(1), &val2);
9146 if (!SWIG_IsOK(ecode2)) {
9147 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvSVMSolutionInfo_upper_bound_p_set" "', argument " "2"" of type '" "double""'");
9149 arg2 = (double)(val2);
9150 if (arg1) (arg1)->upper_bound_p = arg2;
9151 _outv = octave_value();
9152 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
9158 static octave_value_list _wrap_CvSVMSolutionInfo_upper_bound_p_get (const octave_value_list& args, int nargout) {
9159 CvSVMSolutionInfo *arg1 = (CvSVMSolutionInfo *) 0 ;
9162 octave_value_list _out;
9163 octave_value_list *_outp=&_out;
9167 if (!SWIG_check_num_args("CvSVMSolutionInfo_upper_bound_p_get",args.length(),1,1,0)) {
9170 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMSolutionInfo, 0 | 0 );
9171 if (!SWIG_IsOK(res1)) {
9172 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMSolutionInfo_upper_bound_p_get" "', argument " "1"" of type '" "CvSVMSolutionInfo *""'");
9174 arg1 = (CvSVMSolutionInfo *)(argp1);
9175 result = (double) ((arg1)->upper_bound_p);
9176 _outv = SWIG_From_double((double)(result));
9177 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
9183 static octave_value_list _wrap_CvSVMSolutionInfo_upper_bound_n_set (const octave_value_list& args, int nargout) {
9184 CvSVMSolutionInfo *arg1 = (CvSVMSolutionInfo *) 0 ;
9190 octave_value_list _out;
9191 octave_value_list *_outp=&_out;
9194 if (!SWIG_check_num_args("CvSVMSolutionInfo_upper_bound_n_set",args.length(),2,2,0)) {
9197 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMSolutionInfo, 0 | 0 );
9198 if (!SWIG_IsOK(res1)) {
9199 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMSolutionInfo_upper_bound_n_set" "', argument " "1"" of type '" "CvSVMSolutionInfo *""'");
9201 arg1 = (CvSVMSolutionInfo *)(argp1);
9202 ecode2 = SWIG_AsVal_double(args(1), &val2);
9203 if (!SWIG_IsOK(ecode2)) {
9204 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvSVMSolutionInfo_upper_bound_n_set" "', argument " "2"" of type '" "double""'");
9206 arg2 = (double)(val2);
9207 if (arg1) (arg1)->upper_bound_n = arg2;
9208 _outv = octave_value();
9209 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
9215 static octave_value_list _wrap_CvSVMSolutionInfo_upper_bound_n_get (const octave_value_list& args, int nargout) {
9216 CvSVMSolutionInfo *arg1 = (CvSVMSolutionInfo *) 0 ;
9219 octave_value_list _out;
9220 octave_value_list *_outp=&_out;
9224 if (!SWIG_check_num_args("CvSVMSolutionInfo_upper_bound_n_get",args.length(),1,1,0)) {
9227 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMSolutionInfo, 0 | 0 );
9228 if (!SWIG_IsOK(res1)) {
9229 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMSolutionInfo_upper_bound_n_get" "', argument " "1"" of type '" "CvSVMSolutionInfo *""'");
9231 arg1 = (CvSVMSolutionInfo *)(argp1);
9232 result = (double) ((arg1)->upper_bound_n);
9233 _outv = SWIG_From_double((double)(result));
9234 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
9240 static octave_value_list _wrap_CvSVMSolutionInfo_r_set (const octave_value_list& args, int nargout) {
9241 CvSVMSolutionInfo *arg1 = (CvSVMSolutionInfo *) 0 ;
9247 octave_value_list _out;
9248 octave_value_list *_outp=&_out;
9251 if (!SWIG_check_num_args("CvSVMSolutionInfo_r_set",args.length(),2,2,0)) {
9254 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMSolutionInfo, 0 | 0 );
9255 if (!SWIG_IsOK(res1)) {
9256 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMSolutionInfo_r_set" "', argument " "1"" of type '" "CvSVMSolutionInfo *""'");
9258 arg1 = (CvSVMSolutionInfo *)(argp1);
9259 ecode2 = SWIG_AsVal_double(args(1), &val2);
9260 if (!SWIG_IsOK(ecode2)) {
9261 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvSVMSolutionInfo_r_set" "', argument " "2"" of type '" "double""'");
9263 arg2 = (double)(val2);
9264 if (arg1) (arg1)->r = arg2;
9265 _outv = octave_value();
9266 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
9272 static octave_value_list _wrap_CvSVMSolutionInfo_r_get (const octave_value_list& args, int nargout) {
9273 CvSVMSolutionInfo *arg1 = (CvSVMSolutionInfo *) 0 ;
9276 octave_value_list _out;
9277 octave_value_list *_outp=&_out;
9281 if (!SWIG_check_num_args("CvSVMSolutionInfo_r_get",args.length(),1,1,0)) {
9284 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMSolutionInfo, 0 | 0 );
9285 if (!SWIG_IsOK(res1)) {
9286 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMSolutionInfo_r_get" "', argument " "1"" of type '" "CvSVMSolutionInfo *""'");
9288 arg1 = (CvSVMSolutionInfo *)(argp1);
9289 result = (double) ((arg1)->r);
9290 _outv = SWIG_From_double((double)(result));
9291 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
9297 static octave_value_list _wrap_new_CvSVMSolutionInfo (const octave_value_list& args, int nargout) {
9298 octave_value_list _out;
9299 octave_value_list *_outp=&_out;
9301 CvSVMSolutionInfo *result = 0 ;
9303 if (!SWIG_check_num_args("new_CvSVMSolutionInfo",args.length(),0,0,0)) {
9308 result = (CvSVMSolutionInfo *)new CvSVMSolutionInfo();
9315 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvSVMSolutionInfo, 1 | 0 );
9316 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
9322 static octave_value_list _wrap_delete_CvSVMSolutionInfo (const octave_value_list& args, int nargout) {
9323 CvSVMSolutionInfo *arg1 = (CvSVMSolutionInfo *) 0 ;
9326 octave_value_list _out;
9327 octave_value_list *_outp=&_out;
9330 if (!SWIG_check_num_args("delete_CvSVMSolutionInfo",args.length(),1,1,0)) {
9333 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMSolutionInfo, SWIG_POINTER_DISOWN | 0 );
9334 if (!SWIG_IsOK(res1)) {
9335 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CvSVMSolutionInfo" "', argument " "1"" of type '" "CvSVMSolutionInfo *""'");
9337 arg1 = (CvSVMSolutionInfo *)(argp1);
9347 _outv = octave_value();
9348 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
9354 static swig_octave_member swig_CvSVMSolutionInfo_members[] = {
9355 {"obj",0,_wrap_CvSVMSolutionInfo_obj_get,_wrap_CvSVMSolutionInfo_obj_set,0,0},
9356 {"rho",0,_wrap_CvSVMSolutionInfo_rho_get,_wrap_CvSVMSolutionInfo_rho_set,0,0},
9357 {"upper_bound_p",0,_wrap_CvSVMSolutionInfo_upper_bound_p_get,_wrap_CvSVMSolutionInfo_upper_bound_p_set,0,0},
9358 {"upper_bound_n",0,_wrap_CvSVMSolutionInfo_upper_bound_n_get,_wrap_CvSVMSolutionInfo_upper_bound_n_set,0,0},
9359 {"r",0,_wrap_CvSVMSolutionInfo_r_get,_wrap_CvSVMSolutionInfo_r_set,0,0},
9362 static const char *swig_CvSVMSolutionInfo_base_names[] = {0};
9363 static const swig_type_info *swig_CvSVMSolutionInfo_base[] = {0};
9364 static swig_octave_class _wrap_class_CvSVMSolutionInfo = {"CvSVMSolutionInfo", &SWIGTYPE_p_CvSVMSolutionInfo,0,_wrap_new_CvSVMSolutionInfo,0,_wrap_delete_CvSVMSolutionInfo,swig_CvSVMSolutionInfo_members,swig_CvSVMSolutionInfo_base_names,swig_CvSVMSolutionInfo_base };
9366 static octave_value_list _wrap_new_CvSVMSolver__SWIG_0 (const octave_value_list& args, int nargout) {
9367 octave_value_list _out;
9368 octave_value_list *_outp=&_out;
9370 CvSVMSolver *result = 0 ;
9372 if (!SWIG_check_num_args("new_CvSVMSolver",args.length(),0,0,0)) {
9377 result = (CvSVMSolver *)new CvSVMSolver();
9384 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvSVMSolver, 1 | 0 );
9385 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
9391 static octave_value_list _wrap_new_CvSVMSolver__SWIG_1 (const octave_value_list& args, int nargout) {
9394 float **arg3 = (float **) 0 ;
9395 schar *arg4 = (schar *) 0 ;
9397 double *arg6 = (double *) 0 ;
9400 CvMemStorage *arg9 = (CvMemStorage *) 0 ;
9401 CvSVMKernel *arg10 = (CvSVMKernel *) 0 ;
9402 CvSVMSolver::GetRow arg11 ;
9403 CvSVMSolver::SelectWorkingSet arg12 ;
9404 CvSVMSolver::CalcRho arg13 ;
9425 octave_value_list _out;
9426 octave_value_list *_outp=&_out;
9428 CvSVMSolver *result = 0 ;
9430 if (!SWIG_check_num_args("new_CvSVMSolver",args.length(),13,13,0)) {
9433 ecode1 = SWIG_AsVal_int(args(0), &val1);
9434 if (!SWIG_IsOK(ecode1)) {
9435 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CvSVMSolver" "', argument " "1"" of type '" "int""'");
9438 ecode2 = SWIG_AsVal_int(args(1), &val2);
9439 if (!SWIG_IsOK(ecode2)) {
9440 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CvSVMSolver" "', argument " "2"" of type '" "int""'");
9444 if ((SWIG_ConvertPtr(args(2), &vptr3, SWIGTYPE_p_float, 1)) == -1){
9447 buffer3 = (float *) vptr3;
9450 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_signed_char, 0 | 0 );
9451 if (!SWIG_IsOK(res4)) {
9452 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_CvSVMSolver" "', argument " "4"" of type '" "schar *""'");
9454 arg4 = (schar *)(argp4);
9455 ecode5 = SWIG_AsVal_int(args(4), &val5);
9456 if (!SWIG_IsOK(ecode5)) {
9457 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_CvSVMSolver" "', argument " "5"" of type '" "int""'");
9460 res6 = SWIG_ConvertPtr(args(5), &argp6,SWIGTYPE_p_double, 0 | 0 );
9461 if (!SWIG_IsOK(res6)) {
9462 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_CvSVMSolver" "', argument " "6"" of type '" "double *""'");
9464 arg6 = (double *)(argp6);
9465 ecode7 = SWIG_AsVal_double(args(6), &val7);
9466 if (!SWIG_IsOK(ecode7)) {
9467 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_CvSVMSolver" "', argument " "7"" of type '" "double""'");
9469 arg7 = (double)(val7);
9470 ecode8 = SWIG_AsVal_double(args(7), &val8);
9471 if (!SWIG_IsOK(ecode8)) {
9472 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_CvSVMSolver" "', argument " "8"" of type '" "double""'");
9474 arg8 = (double)(val8);
9475 res9 = SWIG_ConvertPtr(args(8), &argp9,SWIGTYPE_p_CvMemStorage, 0 | 0 );
9476 if (!SWIG_IsOK(res9)) {
9477 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "new_CvSVMSolver" "', argument " "9"" of type '" "CvMemStorage *""'");
9479 arg9 = (CvMemStorage *)(argp9);
9480 res10 = SWIG_ConvertPtr(args(9), &argp10,SWIGTYPE_p_CvSVMKernel, 0 | 0 );
9481 if (!SWIG_IsOK(res10)) {
9482 SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "new_CvSVMSolver" "', argument " "10"" of type '" "CvSVMKernel *""'");
9484 arg10 = (CvSVMKernel *)(argp10);
9486 int res = SWIG_ConvertMember(args(10), SWIG_as_voidptr(&arg11), sizeof(CvSVMSolver::GetRow),SWIGTYPE_m_CvSVMSolver__f_int_p_float_p_float_bool__p_float);
9487 if (!SWIG_IsOK(res)) {
9488 SWIG_exception_fail(SWIG_ArgError(res), "in method '" "new_CvSVMSolver" "', argument " "11"" of type '" "CvSVMSolver::GetRow""'");
9492 int res = SWIG_ConvertMember(args(11), SWIG_as_voidptr(&arg12), sizeof(CvSVMSolver::SelectWorkingSet),SWIGTYPE_m_CvSVMSolver__f_r_int_r_int__bool);
9493 if (!SWIG_IsOK(res)) {
9494 SWIG_exception_fail(SWIG_ArgError(res), "in method '" "new_CvSVMSolver" "', argument " "12"" of type '" "CvSVMSolver::SelectWorkingSet""'");
9498 int res = SWIG_ConvertMember(args(12), SWIG_as_voidptr(&arg13), sizeof(CvSVMSolver::CalcRho),SWIGTYPE_m_CvSVMSolver__f_r_double_r_double__void);
9499 if (!SWIG_IsOK(res)) {
9500 SWIG_exception_fail(SWIG_ArgError(res), "in method '" "new_CvSVMSolver" "', argument " "13"" of type '" "CvSVMSolver::CalcRho""'");
9505 result = (CvSVMSolver *)new CvSVMSolver(arg1,arg2,(float const **)arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13);
9512 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvSVMSolver, 1 | 0 );
9513 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
9519 static octave_value_list _wrap_new_CvSVMSolver (const octave_value_list& args, int nargout) {
9520 int argc = args.length();
9521 octave_value_ref argv[13]={
9522 octave_value_ref(args,0),octave_value_ref(args,1),octave_value_ref(args,2),octave_value_ref(args,3),octave_value_ref(args,4),octave_value_ref(args,5),octave_value_ref(args,6),octave_value_ref(args,7),octave_value_ref(args,8),octave_value_ref(args,9),octave_value_ref(args,10),octave_value_ref(args,11),octave_value_ref(args,12)
9526 return _wrap_new_CvSVMSolver__SWIG_0(args, nargout);
9531 int res = SWIG_AsVal_int(argv[0], NULL);
9532 _v = SWIG_CheckState(res);
9536 int res = SWIG_AsVal_int(argv[1], NULL);
9537 _v = SWIG_CheckState(res);
9541 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_p_float, 0);
9542 _v = SWIG_CheckState(res);
9545 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_signed_char, 0);
9546 _v = SWIG_CheckState(res);
9549 int res = SWIG_AsVal_int(argv[4], NULL);
9550 _v = SWIG_CheckState(res);
9554 int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_double, 0);
9555 _v = SWIG_CheckState(res);
9558 int res = SWIG_AsVal_double(argv[6], NULL);
9559 _v = SWIG_CheckState(res);
9563 int res = SWIG_AsVal_double(argv[7], NULL);
9564 _v = SWIG_CheckState(res);
9568 int res = SWIG_ConvertPtr(argv[8], &vptr, SWIGTYPE_p_CvMemStorage, 0);
9569 _v = SWIG_CheckState(res);
9572 int res = SWIG_ConvertPtr(argv[9], &vptr, SWIGTYPE_p_CvSVMKernel, 0);
9573 _v = SWIG_CheckState(res);
9576 int res = SWIG_ConvertPtr(argv[10], &vptr, SWIGTYPE_m_CvSVMSolver__f_int_p_float_p_float_bool__p_float, 0);
9577 _v = SWIG_CheckState(res);
9580 int res = SWIG_ConvertPtr(argv[11], &vptr, SWIGTYPE_m_CvSVMSolver__f_r_int_r_int__bool, 0);
9581 _v = SWIG_CheckState(res);
9584 int res = SWIG_ConvertPtr(argv[12], &vptr, SWIGTYPE_m_CvSVMSolver__f_r_double_r_double__void, 0);
9585 _v = SWIG_CheckState(res);
9587 return _wrap_new_CvSVMSolver__SWIG_1(args, nargout);
9603 error("No matching function for overload");
9604 return octave_value_list();
9608 static octave_value_list _wrap_CvSVMSolver_create (const octave_value_list& args, int nargout) {
9609 CvSVMSolver *arg1 = (CvSVMSolver *) 0 ;
9612 float **arg4 = (float **) 0 ;
9613 schar *arg5 = (schar *) 0 ;
9615 double *arg7 = (double *) 0 ;
9618 CvMemStorage *arg10 = (CvMemStorage *) 0 ;
9619 CvSVMKernel *arg11 = (CvSVMKernel *) 0 ;
9620 CvSVMSolver::GetRow arg12 ;
9621 CvSVMSolver::SelectWorkingSet arg13 ;
9622 CvSVMSolver::CalcRho arg14 ;
9645 octave_value_list _out;
9646 octave_value_list *_outp=&_out;
9650 if (!SWIG_check_num_args("CvSVMSolver_create",args.length(),14,14,0)) {
9653 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMSolver, 0 | 0 );
9654 if (!SWIG_IsOK(res1)) {
9655 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMSolver_create" "', argument " "1"" of type '" "CvSVMSolver *""'");
9657 arg1 = (CvSVMSolver *)(argp1);
9658 ecode2 = SWIG_AsVal_int(args(1), &val2);
9659 if (!SWIG_IsOK(ecode2)) {
9660 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvSVMSolver_create" "', argument " "2"" of type '" "int""'");
9663 ecode3 = SWIG_AsVal_int(args(2), &val3);
9664 if (!SWIG_IsOK(ecode3)) {
9665 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvSVMSolver_create" "', argument " "3"" of type '" "int""'");
9669 if ((SWIG_ConvertPtr(args(3), &vptr4, SWIGTYPE_p_float, 1)) == -1){
9672 buffer4 = (float *) vptr4;
9675 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_signed_char, 0 | 0 );
9676 if (!SWIG_IsOK(res5)) {
9677 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvSVMSolver_create" "', argument " "5"" of type '" "schar *""'");
9679 arg5 = (schar *)(argp5);
9680 ecode6 = SWIG_AsVal_int(args(5), &val6);
9681 if (!SWIG_IsOK(ecode6)) {
9682 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "CvSVMSolver_create" "', argument " "6"" of type '" "int""'");
9685 res7 = SWIG_ConvertPtr(args(6), &argp7,SWIGTYPE_p_double, 0 | 0 );
9686 if (!SWIG_IsOK(res7)) {
9687 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "CvSVMSolver_create" "', argument " "7"" of type '" "double *""'");
9689 arg7 = (double *)(argp7);
9690 ecode8 = SWIG_AsVal_double(args(7), &val8);
9691 if (!SWIG_IsOK(ecode8)) {
9692 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "CvSVMSolver_create" "', argument " "8"" of type '" "double""'");
9694 arg8 = (double)(val8);
9695 ecode9 = SWIG_AsVal_double(args(8), &val9);
9696 if (!SWIG_IsOK(ecode9)) {
9697 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "CvSVMSolver_create" "', argument " "9"" of type '" "double""'");
9699 arg9 = (double)(val9);
9700 res10 = SWIG_ConvertPtr(args(9), &argp10,SWIGTYPE_p_CvMemStorage, 0 | 0 );
9701 if (!SWIG_IsOK(res10)) {
9702 SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "CvSVMSolver_create" "', argument " "10"" of type '" "CvMemStorage *""'");
9704 arg10 = (CvMemStorage *)(argp10);
9705 res11 = SWIG_ConvertPtr(args(10), &argp11,SWIGTYPE_p_CvSVMKernel, 0 | 0 );
9706 if (!SWIG_IsOK(res11)) {
9707 SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "CvSVMSolver_create" "', argument " "11"" of type '" "CvSVMKernel *""'");
9709 arg11 = (CvSVMKernel *)(argp11);
9711 int res = SWIG_ConvertMember(args(11), SWIG_as_voidptr(&arg12), sizeof(CvSVMSolver::GetRow),SWIGTYPE_m_CvSVMSolver__f_int_p_float_p_float_bool__p_float);
9712 if (!SWIG_IsOK(res)) {
9713 SWIG_exception_fail(SWIG_ArgError(res), "in method '" "CvSVMSolver_create" "', argument " "12"" of type '" "CvSVMSolver::GetRow""'");
9717 int res = SWIG_ConvertMember(args(12), SWIG_as_voidptr(&arg13), sizeof(CvSVMSolver::SelectWorkingSet),SWIGTYPE_m_CvSVMSolver__f_r_int_r_int__bool);
9718 if (!SWIG_IsOK(res)) {
9719 SWIG_exception_fail(SWIG_ArgError(res), "in method '" "CvSVMSolver_create" "', argument " "13"" of type '" "CvSVMSolver::SelectWorkingSet""'");
9723 int res = SWIG_ConvertMember(args(13), SWIG_as_voidptr(&arg14), sizeof(CvSVMSolver::CalcRho),SWIGTYPE_m_CvSVMSolver__f_r_double_r_double__void);
9724 if (!SWIG_IsOK(res)) {
9725 SWIG_exception_fail(SWIG_ArgError(res), "in method '" "CvSVMSolver_create" "', argument " "14"" of type '" "CvSVMSolver::CalcRho""'");
9730 result = (bool)(arg1)->create(arg2,arg3,(float const **)arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13,arg14);
9737 _outv = SWIG_From_bool((bool)(result));
9738 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
9744 static octave_value_list _wrap_delete_CvSVMSolver (const octave_value_list& args, int nargout) {
9745 CvSVMSolver *arg1 = (CvSVMSolver *) 0 ;
9748 octave_value_list _out;
9749 octave_value_list *_outp=&_out;
9752 if (!SWIG_check_num_args("delete_CvSVMSolver",args.length(),1,1,0)) {
9755 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMSolver, SWIG_POINTER_DISOWN | 0 );
9756 if (!SWIG_IsOK(res1)) {
9757 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CvSVMSolver" "', argument " "1"" of type '" "CvSVMSolver *""'");
9759 arg1 = (CvSVMSolver *)(argp1);
9769 _outv = octave_value();
9770 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
9776 static octave_value_list _wrap_CvSVMSolver_clear (const octave_value_list& args, int nargout) {
9777 CvSVMSolver *arg1 = (CvSVMSolver *) 0 ;
9780 octave_value_list _out;
9781 octave_value_list *_outp=&_out;
9784 if (!SWIG_check_num_args("CvSVMSolver_clear",args.length(),1,1,0)) {
9787 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMSolver, 0 | 0 );
9788 if (!SWIG_IsOK(res1)) {
9789 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMSolver_clear" "', argument " "1"" of type '" "CvSVMSolver *""'");
9791 arg1 = (CvSVMSolver *)(argp1);
9801 _outv = octave_value();
9802 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
9808 static octave_value_list _wrap_CvSVMSolver_solve_generic (const octave_value_list& args, int nargout) {
9809 CvSVMSolver *arg1 = (CvSVMSolver *) 0 ;
9810 CvSVMSolutionInfo *arg2 = 0 ;
9815 octave_value_list _out;
9816 octave_value_list *_outp=&_out;
9820 if (!SWIG_check_num_args("CvSVMSolver_solve_generic",args.length(),2,2,0)) {
9823 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMSolver, 0 | 0 );
9824 if (!SWIG_IsOK(res1)) {
9825 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMSolver_solve_generic" "', argument " "1"" of type '" "CvSVMSolver *""'");
9827 arg1 = (CvSVMSolver *)(argp1);
9828 res2 = SWIG_ConvertPtr(args(1), &argp2, SWIGTYPE_p_CvSVMSolutionInfo, 0 );
9829 if (!SWIG_IsOK(res2)) {
9830 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvSVMSolver_solve_generic" "', argument " "2"" of type '" "CvSVMSolutionInfo &""'");
9833 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvSVMSolver_solve_generic" "', argument " "2"" of type '" "CvSVMSolutionInfo &""'");
9835 arg2 = (CvSVMSolutionInfo *)(argp2);
9838 result = (bool)(arg1)->solve_generic(*arg2);
9845 _outv = SWIG_From_bool((bool)(result));
9846 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
9852 static octave_value_list _wrap_CvSVMSolver_solve_c_svc (const octave_value_list& args, int nargout) {
9853 CvSVMSolver *arg1 = (CvSVMSolver *) 0 ;
9856 float **arg4 = (float **) 0 ;
9857 schar *arg5 = (schar *) 0 ;
9860 CvMemStorage *arg8 = (CvMemStorage *) 0 ;
9861 CvSVMKernel *arg9 = (CvSVMKernel *) 0 ;
9862 double *arg10 = (double *) 0 ;
9863 CvSVMSolutionInfo *arg11 = 0 ;
9886 octave_value_list _out;
9887 octave_value_list *_outp=&_out;
9891 if (!SWIG_check_num_args("CvSVMSolver_solve_c_svc",args.length(),11,11,0)) {
9894 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMSolver, 0 | 0 );
9895 if (!SWIG_IsOK(res1)) {
9896 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMSolver_solve_c_svc" "', argument " "1"" of type '" "CvSVMSolver *""'");
9898 arg1 = (CvSVMSolver *)(argp1);
9899 ecode2 = SWIG_AsVal_int(args(1), &val2);
9900 if (!SWIG_IsOK(ecode2)) {
9901 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvSVMSolver_solve_c_svc" "', argument " "2"" of type '" "int""'");
9904 ecode3 = SWIG_AsVal_int(args(2), &val3);
9905 if (!SWIG_IsOK(ecode3)) {
9906 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvSVMSolver_solve_c_svc" "', argument " "3"" of type '" "int""'");
9910 if ((SWIG_ConvertPtr(args(3), &vptr4, SWIGTYPE_p_float, 1)) == -1){
9913 buffer4 = (float *) vptr4;
9916 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_signed_char, 0 | 0 );
9917 if (!SWIG_IsOK(res5)) {
9918 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvSVMSolver_solve_c_svc" "', argument " "5"" of type '" "schar *""'");
9920 arg5 = (schar *)(argp5);
9921 ecode6 = SWIG_AsVal_double(args(5), &val6);
9922 if (!SWIG_IsOK(ecode6)) {
9923 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "CvSVMSolver_solve_c_svc" "', argument " "6"" of type '" "double""'");
9925 arg6 = (double)(val6);
9926 ecode7 = SWIG_AsVal_double(args(6), &val7);
9927 if (!SWIG_IsOK(ecode7)) {
9928 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "CvSVMSolver_solve_c_svc" "', argument " "7"" of type '" "double""'");
9930 arg7 = (double)(val7);
9931 res8 = SWIG_ConvertPtr(args(7), &argp8,SWIGTYPE_p_CvMemStorage, 0 | 0 );
9932 if (!SWIG_IsOK(res8)) {
9933 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CvSVMSolver_solve_c_svc" "', argument " "8"" of type '" "CvMemStorage *""'");
9935 arg8 = (CvMemStorage *)(argp8);
9936 res9 = SWIG_ConvertPtr(args(8), &argp9,SWIGTYPE_p_CvSVMKernel, 0 | 0 );
9937 if (!SWIG_IsOK(res9)) {
9938 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "CvSVMSolver_solve_c_svc" "', argument " "9"" of type '" "CvSVMKernel *""'");
9940 arg9 = (CvSVMKernel *)(argp9);
9941 res10 = SWIG_ConvertPtr(args(9), &argp10,SWIGTYPE_p_double, 0 | 0 );
9942 if (!SWIG_IsOK(res10)) {
9943 SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "CvSVMSolver_solve_c_svc" "', argument " "10"" of type '" "double *""'");
9945 arg10 = (double *)(argp10);
9946 res11 = SWIG_ConvertPtr(args(10), &argp11, SWIGTYPE_p_CvSVMSolutionInfo, 0 );
9947 if (!SWIG_IsOK(res11)) {
9948 SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "CvSVMSolver_solve_c_svc" "', argument " "11"" of type '" "CvSVMSolutionInfo &""'");
9951 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvSVMSolver_solve_c_svc" "', argument " "11"" of type '" "CvSVMSolutionInfo &""'");
9953 arg11 = (CvSVMSolutionInfo *)(argp11);
9956 result = (bool)(arg1)->solve_c_svc(arg2,arg3,(float const **)arg4,arg5,arg6,arg7,arg8,arg9,arg10,*arg11);
9963 _outv = SWIG_From_bool((bool)(result));
9964 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
9970 static octave_value_list _wrap_CvSVMSolver_solve_nu_svc (const octave_value_list& args, int nargout) {
9971 CvSVMSolver *arg1 = (CvSVMSolver *) 0 ;
9974 float **arg4 = (float **) 0 ;
9975 schar *arg5 = (schar *) 0 ;
9976 CvMemStorage *arg6 = (CvMemStorage *) 0 ;
9977 CvSVMKernel *arg7 = (CvSVMKernel *) 0 ;
9978 double *arg8 = (double *) 0 ;
9979 CvSVMSolutionInfo *arg9 = 0 ;
9998 octave_value_list _out;
9999 octave_value_list *_outp=&_out;
10000 octave_value _outv;
10003 if (!SWIG_check_num_args("CvSVMSolver_solve_nu_svc",args.length(),9,9,0)) {
10006 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMSolver, 0 | 0 );
10007 if (!SWIG_IsOK(res1)) {
10008 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMSolver_solve_nu_svc" "', argument " "1"" of type '" "CvSVMSolver *""'");
10010 arg1 = (CvSVMSolver *)(argp1);
10011 ecode2 = SWIG_AsVal_int(args(1), &val2);
10012 if (!SWIG_IsOK(ecode2)) {
10013 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvSVMSolver_solve_nu_svc" "', argument " "2"" of type '" "int""'");
10015 arg2 = (int)(val2);
10016 ecode3 = SWIG_AsVal_int(args(2), &val3);
10017 if (!SWIG_IsOK(ecode3)) {
10018 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvSVMSolver_solve_nu_svc" "', argument " "3"" of type '" "int""'");
10020 arg3 = (int)(val3);
10022 if ((SWIG_ConvertPtr(args(3), &vptr4, SWIGTYPE_p_float, 1)) == -1){
10025 buffer4 = (float *) vptr4;
10028 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_signed_char, 0 | 0 );
10029 if (!SWIG_IsOK(res5)) {
10030 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvSVMSolver_solve_nu_svc" "', argument " "5"" of type '" "schar *""'");
10032 arg5 = (schar *)(argp5);
10033 res6 = SWIG_ConvertPtr(args(5), &argp6,SWIGTYPE_p_CvMemStorage, 0 | 0 );
10034 if (!SWIG_IsOK(res6)) {
10035 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "CvSVMSolver_solve_nu_svc" "', argument " "6"" of type '" "CvMemStorage *""'");
10037 arg6 = (CvMemStorage *)(argp6);
10038 res7 = SWIG_ConvertPtr(args(6), &argp7,SWIGTYPE_p_CvSVMKernel, 0 | 0 );
10039 if (!SWIG_IsOK(res7)) {
10040 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "CvSVMSolver_solve_nu_svc" "', argument " "7"" of type '" "CvSVMKernel *""'");
10042 arg7 = (CvSVMKernel *)(argp7);
10043 res8 = SWIG_ConvertPtr(args(7), &argp8,SWIGTYPE_p_double, 0 | 0 );
10044 if (!SWIG_IsOK(res8)) {
10045 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CvSVMSolver_solve_nu_svc" "', argument " "8"" of type '" "double *""'");
10047 arg8 = (double *)(argp8);
10048 res9 = SWIG_ConvertPtr(args(8), &argp9, SWIGTYPE_p_CvSVMSolutionInfo, 0 );
10049 if (!SWIG_IsOK(res9)) {
10050 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "CvSVMSolver_solve_nu_svc" "', argument " "9"" of type '" "CvSVMSolutionInfo &""'");
10053 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvSVMSolver_solve_nu_svc" "', argument " "9"" of type '" "CvSVMSolutionInfo &""'");
10055 arg9 = (CvSVMSolutionInfo *)(argp9);
10058 result = (bool)(arg1)->solve_nu_svc(arg2,arg3,(float const **)arg4,arg5,arg6,arg7,arg8,*arg9);
10065 _outv = SWIG_From_bool((bool)(result));
10066 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
10072 static octave_value_list _wrap_CvSVMSolver_solve_one_class (const octave_value_list& args, int nargout) {
10073 CvSVMSolver *arg1 = (CvSVMSolver *) 0 ;
10076 float **arg4 = (float **) 0 ;
10077 CvMemStorage *arg5 = (CvMemStorage *) 0 ;
10078 CvSVMKernel *arg6 = (CvSVMKernel *) 0 ;
10079 double *arg7 = (double *) 0 ;
10080 CvSVMSolutionInfo *arg8 = 0 ;
10097 octave_value_list _out;
10098 octave_value_list *_outp=&_out;
10099 octave_value _outv;
10102 if (!SWIG_check_num_args("CvSVMSolver_solve_one_class",args.length(),8,8,0)) {
10105 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMSolver, 0 | 0 );
10106 if (!SWIG_IsOK(res1)) {
10107 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMSolver_solve_one_class" "', argument " "1"" of type '" "CvSVMSolver *""'");
10109 arg1 = (CvSVMSolver *)(argp1);
10110 ecode2 = SWIG_AsVal_int(args(1), &val2);
10111 if (!SWIG_IsOK(ecode2)) {
10112 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvSVMSolver_solve_one_class" "', argument " "2"" of type '" "int""'");
10114 arg2 = (int)(val2);
10115 ecode3 = SWIG_AsVal_int(args(2), &val3);
10116 if (!SWIG_IsOK(ecode3)) {
10117 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvSVMSolver_solve_one_class" "', argument " "3"" of type '" "int""'");
10119 arg3 = (int)(val3);
10121 if ((SWIG_ConvertPtr(args(3), &vptr4, SWIGTYPE_p_float, 1)) == -1){
10124 buffer4 = (float *) vptr4;
10127 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMemStorage, 0 | 0 );
10128 if (!SWIG_IsOK(res5)) {
10129 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvSVMSolver_solve_one_class" "', argument " "5"" of type '" "CvMemStorage *""'");
10131 arg5 = (CvMemStorage *)(argp5);
10132 res6 = SWIG_ConvertPtr(args(5), &argp6,SWIGTYPE_p_CvSVMKernel, 0 | 0 );
10133 if (!SWIG_IsOK(res6)) {
10134 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "CvSVMSolver_solve_one_class" "', argument " "6"" of type '" "CvSVMKernel *""'");
10136 arg6 = (CvSVMKernel *)(argp6);
10137 res7 = SWIG_ConvertPtr(args(6), &argp7,SWIGTYPE_p_double, 0 | 0 );
10138 if (!SWIG_IsOK(res7)) {
10139 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "CvSVMSolver_solve_one_class" "', argument " "7"" of type '" "double *""'");
10141 arg7 = (double *)(argp7);
10142 res8 = SWIG_ConvertPtr(args(7), &argp8, SWIGTYPE_p_CvSVMSolutionInfo, 0 );
10143 if (!SWIG_IsOK(res8)) {
10144 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CvSVMSolver_solve_one_class" "', argument " "8"" of type '" "CvSVMSolutionInfo &""'");
10147 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvSVMSolver_solve_one_class" "', argument " "8"" of type '" "CvSVMSolutionInfo &""'");
10149 arg8 = (CvSVMSolutionInfo *)(argp8);
10152 result = (bool)(arg1)->solve_one_class(arg2,arg3,(float const **)arg4,arg5,arg6,arg7,*arg8);
10159 _outv = SWIG_From_bool((bool)(result));
10160 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
10166 static octave_value_list _wrap_CvSVMSolver_solve_eps_svr (const octave_value_list& args, int nargout) {
10167 CvSVMSolver *arg1 = (CvSVMSolver *) 0 ;
10170 float **arg4 = (float **) 0 ;
10171 float *arg5 = (float *) 0 ;
10172 CvMemStorage *arg6 = (CvMemStorage *) 0 ;
10173 CvSVMKernel *arg7 = (CvSVMKernel *) 0 ;
10174 double *arg8 = (double *) 0 ;
10175 CvSVMSolutionInfo *arg9 = 0 ;
10194 octave_value_list _out;
10195 octave_value_list *_outp=&_out;
10196 octave_value _outv;
10199 if (!SWIG_check_num_args("CvSVMSolver_solve_eps_svr",args.length(),9,9,0)) {
10202 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMSolver, 0 | 0 );
10203 if (!SWIG_IsOK(res1)) {
10204 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMSolver_solve_eps_svr" "', argument " "1"" of type '" "CvSVMSolver *""'");
10206 arg1 = (CvSVMSolver *)(argp1);
10207 ecode2 = SWIG_AsVal_int(args(1), &val2);
10208 if (!SWIG_IsOK(ecode2)) {
10209 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvSVMSolver_solve_eps_svr" "', argument " "2"" of type '" "int""'");
10211 arg2 = (int)(val2);
10212 ecode3 = SWIG_AsVal_int(args(2), &val3);
10213 if (!SWIG_IsOK(ecode3)) {
10214 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvSVMSolver_solve_eps_svr" "', argument " "3"" of type '" "int""'");
10216 arg3 = (int)(val3);
10218 if ((SWIG_ConvertPtr(args(3), &vptr4, SWIGTYPE_p_float, 1)) == -1){
10221 buffer4 = (float *) vptr4;
10224 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_float, 0 | 0 );
10225 if (!SWIG_IsOK(res5)) {
10226 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvSVMSolver_solve_eps_svr" "', argument " "5"" of type '" "float const *""'");
10228 arg5 = (float *)(argp5);
10229 res6 = SWIG_ConvertPtr(args(5), &argp6,SWIGTYPE_p_CvMemStorage, 0 | 0 );
10230 if (!SWIG_IsOK(res6)) {
10231 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "CvSVMSolver_solve_eps_svr" "', argument " "6"" of type '" "CvMemStorage *""'");
10233 arg6 = (CvMemStorage *)(argp6);
10234 res7 = SWIG_ConvertPtr(args(6), &argp7,SWIGTYPE_p_CvSVMKernel, 0 | 0 );
10235 if (!SWIG_IsOK(res7)) {
10236 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "CvSVMSolver_solve_eps_svr" "', argument " "7"" of type '" "CvSVMKernel *""'");
10238 arg7 = (CvSVMKernel *)(argp7);
10239 res8 = SWIG_ConvertPtr(args(7), &argp8,SWIGTYPE_p_double, 0 | 0 );
10240 if (!SWIG_IsOK(res8)) {
10241 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CvSVMSolver_solve_eps_svr" "', argument " "8"" of type '" "double *""'");
10243 arg8 = (double *)(argp8);
10244 res9 = SWIG_ConvertPtr(args(8), &argp9, SWIGTYPE_p_CvSVMSolutionInfo, 0 );
10245 if (!SWIG_IsOK(res9)) {
10246 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "CvSVMSolver_solve_eps_svr" "', argument " "9"" of type '" "CvSVMSolutionInfo &""'");
10249 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvSVMSolver_solve_eps_svr" "', argument " "9"" of type '" "CvSVMSolutionInfo &""'");
10251 arg9 = (CvSVMSolutionInfo *)(argp9);
10254 result = (bool)(arg1)->solve_eps_svr(arg2,arg3,(float const **)arg4,(float const *)arg5,arg6,arg7,arg8,*arg9);
10261 _outv = SWIG_From_bool((bool)(result));
10262 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
10268 static octave_value_list _wrap_CvSVMSolver_solve_nu_svr (const octave_value_list& args, int nargout) {
10269 CvSVMSolver *arg1 = (CvSVMSolver *) 0 ;
10272 float **arg4 = (float **) 0 ;
10273 float *arg5 = (float *) 0 ;
10274 CvMemStorage *arg6 = (CvMemStorage *) 0 ;
10275 CvSVMKernel *arg7 = (CvSVMKernel *) 0 ;
10276 double *arg8 = (double *) 0 ;
10277 CvSVMSolutionInfo *arg9 = 0 ;
10296 octave_value_list _out;
10297 octave_value_list *_outp=&_out;
10298 octave_value _outv;
10301 if (!SWIG_check_num_args("CvSVMSolver_solve_nu_svr",args.length(),9,9,0)) {
10304 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMSolver, 0 | 0 );
10305 if (!SWIG_IsOK(res1)) {
10306 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMSolver_solve_nu_svr" "', argument " "1"" of type '" "CvSVMSolver *""'");
10308 arg1 = (CvSVMSolver *)(argp1);
10309 ecode2 = SWIG_AsVal_int(args(1), &val2);
10310 if (!SWIG_IsOK(ecode2)) {
10311 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvSVMSolver_solve_nu_svr" "', argument " "2"" of type '" "int""'");
10313 arg2 = (int)(val2);
10314 ecode3 = SWIG_AsVal_int(args(2), &val3);
10315 if (!SWIG_IsOK(ecode3)) {
10316 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvSVMSolver_solve_nu_svr" "', argument " "3"" of type '" "int""'");
10318 arg3 = (int)(val3);
10320 if ((SWIG_ConvertPtr(args(3), &vptr4, SWIGTYPE_p_float, 1)) == -1){
10323 buffer4 = (float *) vptr4;
10326 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_float, 0 | 0 );
10327 if (!SWIG_IsOK(res5)) {
10328 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvSVMSolver_solve_nu_svr" "', argument " "5"" of type '" "float const *""'");
10330 arg5 = (float *)(argp5);
10331 res6 = SWIG_ConvertPtr(args(5), &argp6,SWIGTYPE_p_CvMemStorage, 0 | 0 );
10332 if (!SWIG_IsOK(res6)) {
10333 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "CvSVMSolver_solve_nu_svr" "', argument " "6"" of type '" "CvMemStorage *""'");
10335 arg6 = (CvMemStorage *)(argp6);
10336 res7 = SWIG_ConvertPtr(args(6), &argp7,SWIGTYPE_p_CvSVMKernel, 0 | 0 );
10337 if (!SWIG_IsOK(res7)) {
10338 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "CvSVMSolver_solve_nu_svr" "', argument " "7"" of type '" "CvSVMKernel *""'");
10340 arg7 = (CvSVMKernel *)(argp7);
10341 res8 = SWIG_ConvertPtr(args(7), &argp8,SWIGTYPE_p_double, 0 | 0 );
10342 if (!SWIG_IsOK(res8)) {
10343 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CvSVMSolver_solve_nu_svr" "', argument " "8"" of type '" "double *""'");
10345 arg8 = (double *)(argp8);
10346 res9 = SWIG_ConvertPtr(args(8), &argp9, SWIGTYPE_p_CvSVMSolutionInfo, 0 );
10347 if (!SWIG_IsOK(res9)) {
10348 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "CvSVMSolver_solve_nu_svr" "', argument " "9"" of type '" "CvSVMSolutionInfo &""'");
10351 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvSVMSolver_solve_nu_svr" "', argument " "9"" of type '" "CvSVMSolutionInfo &""'");
10353 arg9 = (CvSVMSolutionInfo *)(argp9);
10356 result = (bool)(arg1)->solve_nu_svr(arg2,arg3,(float const **)arg4,(float const *)arg5,arg6,arg7,arg8,*arg9);
10363 _outv = SWIG_From_bool((bool)(result));
10364 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
10370 static octave_value_list _wrap_CvSVMSolver_get_row_base (const octave_value_list& args, int nargout) {
10371 CvSVMSolver *arg1 = (CvSVMSolver *) 0 ;
10373 bool *arg3 = (bool *) 0 ;
10380 octave_value_list _out;
10381 octave_value_list *_outp=&_out;
10382 octave_value _outv;
10383 float *result = 0 ;
10385 if (!SWIG_check_num_args("CvSVMSolver_get_row_base",args.length(),3,3,0)) {
10388 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMSolver, 0 | 0 );
10389 if (!SWIG_IsOK(res1)) {
10390 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMSolver_get_row_base" "', argument " "1"" of type '" "CvSVMSolver *""'");
10392 arg1 = (CvSVMSolver *)(argp1);
10393 ecode2 = SWIG_AsVal_int(args(1), &val2);
10394 if (!SWIG_IsOK(ecode2)) {
10395 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvSVMSolver_get_row_base" "', argument " "2"" of type '" "int""'");
10397 arg2 = (int)(val2);
10398 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_bool, 0 | 0 );
10399 if (!SWIG_IsOK(res3)) {
10400 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvSVMSolver_get_row_base" "', argument " "3"" of type '" "bool *""'");
10402 arg3 = (bool *)(argp3);
10405 result = (float *)(arg1)->get_row_base(arg2,arg3);
10412 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 );
10413 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
10419 static octave_value_list _wrap_CvSVMSolver_get_row (const octave_value_list& args, int nargout) {
10420 CvSVMSolver *arg1 = (CvSVMSolver *) 0 ;
10422 float *arg3 = (float *) 0 ;
10429 octave_value_list _out;
10430 octave_value_list *_outp=&_out;
10431 octave_value _outv;
10432 float *result = 0 ;
10434 if (!SWIG_check_num_args("CvSVMSolver_get_row",args.length(),3,3,0)) {
10437 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMSolver, 0 | 0 );
10438 if (!SWIG_IsOK(res1)) {
10439 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMSolver_get_row" "', argument " "1"" of type '" "CvSVMSolver *""'");
10441 arg1 = (CvSVMSolver *)(argp1);
10442 ecode2 = SWIG_AsVal_int(args(1), &val2);
10443 if (!SWIG_IsOK(ecode2)) {
10444 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvSVMSolver_get_row" "', argument " "2"" of type '" "int""'");
10446 arg2 = (int)(val2);
10447 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_float, 0 | 0 );
10448 if (!SWIG_IsOK(res3)) {
10449 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvSVMSolver_get_row" "', argument " "3"" of type '" "float *""'");
10451 arg3 = (float *)(argp3);
10454 result = (float *)(arg1)->get_row(arg2,arg3);
10461 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 );
10462 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
10468 static octave_value_list _wrap_CvSVMSolver_sample_count_set (const octave_value_list& args, int nargout) {
10469 CvSVMSolver *arg1 = (CvSVMSolver *) 0 ;
10475 octave_value_list _out;
10476 octave_value_list *_outp=&_out;
10477 octave_value _outv;
10479 if (!SWIG_check_num_args("CvSVMSolver_sample_count_set",args.length(),2,2,0)) {
10482 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMSolver, 0 | 0 );
10483 if (!SWIG_IsOK(res1)) {
10484 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMSolver_sample_count_set" "', argument " "1"" of type '" "CvSVMSolver *""'");
10486 arg1 = (CvSVMSolver *)(argp1);
10487 ecode2 = SWIG_AsVal_int(args(1), &val2);
10488 if (!SWIG_IsOK(ecode2)) {
10489 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvSVMSolver_sample_count_set" "', argument " "2"" of type '" "int""'");
10491 arg2 = (int)(val2);
10492 if (arg1) (arg1)->sample_count = arg2;
10493 _outv = octave_value();
10494 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
10500 static octave_value_list _wrap_CvSVMSolver_sample_count_get (const octave_value_list& args, int nargout) {
10501 CvSVMSolver *arg1 = (CvSVMSolver *) 0 ;
10504 octave_value_list _out;
10505 octave_value_list *_outp=&_out;
10506 octave_value _outv;
10509 if (!SWIG_check_num_args("CvSVMSolver_sample_count_get",args.length(),1,1,0)) {
10512 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMSolver, 0 | 0 );
10513 if (!SWIG_IsOK(res1)) {
10514 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMSolver_sample_count_get" "', argument " "1"" of type '" "CvSVMSolver *""'");
10516 arg1 = (CvSVMSolver *)(argp1);
10517 result = (int) ((arg1)->sample_count);
10518 _outv = SWIG_From_int((int)(result));
10519 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
10525 static octave_value_list _wrap_CvSVMSolver_var_count_set (const octave_value_list& args, int nargout) {
10526 CvSVMSolver *arg1 = (CvSVMSolver *) 0 ;
10532 octave_value_list _out;
10533 octave_value_list *_outp=&_out;
10534 octave_value _outv;
10536 if (!SWIG_check_num_args("CvSVMSolver_var_count_set",args.length(),2,2,0)) {
10539 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMSolver, 0 | 0 );
10540 if (!SWIG_IsOK(res1)) {
10541 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMSolver_var_count_set" "', argument " "1"" of type '" "CvSVMSolver *""'");
10543 arg1 = (CvSVMSolver *)(argp1);
10544 ecode2 = SWIG_AsVal_int(args(1), &val2);
10545 if (!SWIG_IsOK(ecode2)) {
10546 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvSVMSolver_var_count_set" "', argument " "2"" of type '" "int""'");
10548 arg2 = (int)(val2);
10549 if (arg1) (arg1)->var_count = arg2;
10550 _outv = octave_value();
10551 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
10557 static octave_value_list _wrap_CvSVMSolver_var_count_get (const octave_value_list& args, int nargout) {
10558 CvSVMSolver *arg1 = (CvSVMSolver *) 0 ;
10561 octave_value_list _out;
10562 octave_value_list *_outp=&_out;
10563 octave_value _outv;
10566 if (!SWIG_check_num_args("CvSVMSolver_var_count_get",args.length(),1,1,0)) {
10569 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMSolver, 0 | 0 );
10570 if (!SWIG_IsOK(res1)) {
10571 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMSolver_var_count_get" "', argument " "1"" of type '" "CvSVMSolver *""'");
10573 arg1 = (CvSVMSolver *)(argp1);
10574 result = (int) ((arg1)->var_count);
10575 _outv = SWIG_From_int((int)(result));
10576 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
10582 static octave_value_list _wrap_CvSVMSolver_cache_size_set (const octave_value_list& args, int nargout) {
10583 CvSVMSolver *arg1 = (CvSVMSolver *) 0 ;
10589 octave_value_list _out;
10590 octave_value_list *_outp=&_out;
10591 octave_value _outv;
10593 if (!SWIG_check_num_args("CvSVMSolver_cache_size_set",args.length(),2,2,0)) {
10596 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMSolver, 0 | 0 );
10597 if (!SWIG_IsOK(res1)) {
10598 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMSolver_cache_size_set" "', argument " "1"" of type '" "CvSVMSolver *""'");
10600 arg1 = (CvSVMSolver *)(argp1);
10601 ecode2 = SWIG_AsVal_int(args(1), &val2);
10602 if (!SWIG_IsOK(ecode2)) {
10603 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvSVMSolver_cache_size_set" "', argument " "2"" of type '" "int""'");
10605 arg2 = (int)(val2);
10606 if (arg1) (arg1)->cache_size = arg2;
10607 _outv = octave_value();
10608 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
10614 static octave_value_list _wrap_CvSVMSolver_cache_size_get (const octave_value_list& args, int nargout) {
10615 CvSVMSolver *arg1 = (CvSVMSolver *) 0 ;
10618 octave_value_list _out;
10619 octave_value_list *_outp=&_out;
10620 octave_value _outv;
10623 if (!SWIG_check_num_args("CvSVMSolver_cache_size_get",args.length(),1,1,0)) {
10626 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMSolver, 0 | 0 );
10627 if (!SWIG_IsOK(res1)) {
10628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMSolver_cache_size_get" "', argument " "1"" of type '" "CvSVMSolver *""'");
10630 arg1 = (CvSVMSolver *)(argp1);
10631 result = (int) ((arg1)->cache_size);
10632 _outv = SWIG_From_int((int)(result));
10633 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
10639 static octave_value_list _wrap_CvSVMSolver_cache_line_size_set (const octave_value_list& args, int nargout) {
10640 CvSVMSolver *arg1 = (CvSVMSolver *) 0 ;
10646 octave_value_list _out;
10647 octave_value_list *_outp=&_out;
10648 octave_value _outv;
10650 if (!SWIG_check_num_args("CvSVMSolver_cache_line_size_set",args.length(),2,2,0)) {
10653 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMSolver, 0 | 0 );
10654 if (!SWIG_IsOK(res1)) {
10655 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMSolver_cache_line_size_set" "', argument " "1"" of type '" "CvSVMSolver *""'");
10657 arg1 = (CvSVMSolver *)(argp1);
10658 ecode2 = SWIG_AsVal_int(args(1), &val2);
10659 if (!SWIG_IsOK(ecode2)) {
10660 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvSVMSolver_cache_line_size_set" "', argument " "2"" of type '" "int""'");
10662 arg2 = (int)(val2);
10663 if (arg1) (arg1)->cache_line_size = arg2;
10664 _outv = octave_value();
10665 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
10671 static octave_value_list _wrap_CvSVMSolver_cache_line_size_get (const octave_value_list& args, int nargout) {
10672 CvSVMSolver *arg1 = (CvSVMSolver *) 0 ;
10675 octave_value_list _out;
10676 octave_value_list *_outp=&_out;
10677 octave_value _outv;
10680 if (!SWIG_check_num_args("CvSVMSolver_cache_line_size_get",args.length(),1,1,0)) {
10683 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMSolver, 0 | 0 );
10684 if (!SWIG_IsOK(res1)) {
10685 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMSolver_cache_line_size_get" "', argument " "1"" of type '" "CvSVMSolver *""'");
10687 arg1 = (CvSVMSolver *)(argp1);
10688 result = (int) ((arg1)->cache_line_size);
10689 _outv = SWIG_From_int((int)(result));
10690 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
10696 static octave_value_list _wrap_CvSVMSolver_samples_set (const octave_value_list& args, int nargout) {
10697 CvSVMSolver *arg1 = (CvSVMSolver *) 0 ;
10698 float **arg2 = (float **) 0 ;
10703 octave_value_list _out;
10704 octave_value_list *_outp=&_out;
10705 octave_value _outv;
10707 if (!SWIG_check_num_args("CvSVMSolver_samples_set",args.length(),2,2,0)) {
10710 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMSolver, 0 | 0 );
10711 if (!SWIG_IsOK(res1)) {
10712 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMSolver_samples_set" "', argument " "1"" of type '" "CvSVMSolver *""'");
10714 arg1 = (CvSVMSolver *)(argp1);
10716 if ((SWIG_ConvertPtr(args(1), &vptr2, SWIGTYPE_p_float, 1)) == -1){
10719 buffer2 = (float *) vptr2;
10722 if (arg1) (arg1)->samples = (float const **)arg2;
10723 _outv = octave_value();
10724 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
10730 static octave_value_list _wrap_CvSVMSolver_samples_get (const octave_value_list& args, int nargout) {
10731 CvSVMSolver *arg1 = (CvSVMSolver *) 0 ;
10734 octave_value_list _out;
10735 octave_value_list *_outp=&_out;
10736 octave_value _outv;
10737 float **result = 0 ;
10739 if (!SWIG_check_num_args("CvSVMSolver_samples_get",args.length(),1,1,0)) {
10742 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMSolver, 0 | 0 );
10743 if (!SWIG_IsOK(res1)) {
10744 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMSolver_samples_get" "', argument " "1"" of type '" "CvSVMSolver *""'");
10746 arg1 = (CvSVMSolver *)(argp1);
10747 result = (float **) ((arg1)->samples);
10748 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_float, 0 | 0 );
10749 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
10755 static octave_value_list _wrap_CvSVMSolver_params_set (const octave_value_list& args, int nargout) {
10756 CvSVMSolver *arg1 = (CvSVMSolver *) 0 ;
10757 CvSVMParams *arg2 = (CvSVMParams *) 0 ;
10762 octave_value_list _out;
10763 octave_value_list *_outp=&_out;
10764 octave_value _outv;
10766 if (!SWIG_check_num_args("CvSVMSolver_params_set",args.length(),2,2,0)) {
10769 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMSolver, 0 | 0 );
10770 if (!SWIG_IsOK(res1)) {
10771 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMSolver_params_set" "', argument " "1"" of type '" "CvSVMSolver *""'");
10773 arg1 = (CvSVMSolver *)(argp1);
10774 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvSVMParams, SWIG_POINTER_DISOWN | 0 );
10775 if (!SWIG_IsOK(res2)) {
10776 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvSVMSolver_params_set" "', argument " "2"" of type '" "CvSVMParams const *""'");
10778 arg2 = (CvSVMParams *)(argp2);
10779 if (arg1) (arg1)->params = (CvSVMParams const *)arg2;
10780 _outv = octave_value();
10781 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
10787 static octave_value_list _wrap_CvSVMSolver_params_get (const octave_value_list& args, int nargout) {
10788 CvSVMSolver *arg1 = (CvSVMSolver *) 0 ;
10791 octave_value_list _out;
10792 octave_value_list *_outp=&_out;
10793 octave_value _outv;
10794 CvSVMParams *result = 0 ;
10796 if (!SWIG_check_num_args("CvSVMSolver_params_get",args.length(),1,1,0)) {
10799 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMSolver, 0 | 0 );
10800 if (!SWIG_IsOK(res1)) {
10801 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMSolver_params_get" "', argument " "1"" of type '" "CvSVMSolver *""'");
10803 arg1 = (CvSVMSolver *)(argp1);
10804 result = (CvSVMParams *) ((arg1)->params);
10805 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvSVMParams, 0 | 0 );
10806 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
10812 static octave_value_list _wrap_CvSVMSolver_storage_set (const octave_value_list& args, int nargout) {
10813 CvSVMSolver *arg1 = (CvSVMSolver *) 0 ;
10814 CvMemStorage *arg2 = (CvMemStorage *) 0 ;
10819 octave_value_list _out;
10820 octave_value_list *_outp=&_out;
10821 octave_value _outv;
10823 if (!SWIG_check_num_args("CvSVMSolver_storage_set",args.length(),2,2,0)) {
10826 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMSolver, 0 | 0 );
10827 if (!SWIG_IsOK(res1)) {
10828 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMSolver_storage_set" "', argument " "1"" of type '" "CvSVMSolver *""'");
10830 arg1 = (CvSVMSolver *)(argp1);
10831 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMemStorage, SWIG_POINTER_DISOWN | 0 );
10832 if (!SWIG_IsOK(res2)) {
10833 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvSVMSolver_storage_set" "', argument " "2"" of type '" "CvMemStorage *""'");
10835 arg2 = (CvMemStorage *)(argp2);
10836 if (arg1) (arg1)->storage = arg2;
10837 _outv = octave_value();
10838 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
10844 static octave_value_list _wrap_CvSVMSolver_storage_get (const octave_value_list& args, int nargout) {
10845 CvSVMSolver *arg1 = (CvSVMSolver *) 0 ;
10848 octave_value_list _out;
10849 octave_value_list *_outp=&_out;
10850 octave_value _outv;
10851 CvMemStorage *result = 0 ;
10853 if (!SWIG_check_num_args("CvSVMSolver_storage_get",args.length(),1,1,0)) {
10856 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMSolver, 0 | 0 );
10857 if (!SWIG_IsOK(res1)) {
10858 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMSolver_storage_get" "', argument " "1"" of type '" "CvSVMSolver *""'");
10860 arg1 = (CvSVMSolver *)(argp1);
10861 result = (CvMemStorage *) ((arg1)->storage);
10862 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvMemStorage, 0 | 0 );
10863 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
10869 static octave_value_list _wrap_CvSVMSolver_lru_list_set (const octave_value_list& args, int nargout) {
10870 CvSVMSolver *arg1 = (CvSVMSolver *) 0 ;
10871 CvSVMKernelRow *arg2 = (CvSVMKernelRow *) 0 ;
10876 octave_value_list _out;
10877 octave_value_list *_outp=&_out;
10878 octave_value _outv;
10880 if (!SWIG_check_num_args("CvSVMSolver_lru_list_set",args.length(),2,2,0)) {
10883 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMSolver, 0 | 0 );
10884 if (!SWIG_IsOK(res1)) {
10885 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMSolver_lru_list_set" "', argument " "1"" of type '" "CvSVMSolver *""'");
10887 arg1 = (CvSVMSolver *)(argp1);
10888 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvSVMKernelRow, 0 | 0 );
10889 if (!SWIG_IsOK(res2)) {
10890 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvSVMSolver_lru_list_set" "', argument " "2"" of type '" "CvSVMKernelRow *""'");
10892 arg2 = (CvSVMKernelRow *)(argp2);
10893 if (arg1) (arg1)->lru_list = *arg2;
10894 _outv = octave_value();
10895 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
10901 static octave_value_list _wrap_CvSVMSolver_lru_list_get (const octave_value_list& args, int nargout) {
10902 CvSVMSolver *arg1 = (CvSVMSolver *) 0 ;
10905 octave_value_list _out;
10906 octave_value_list *_outp=&_out;
10907 octave_value _outv;
10908 CvSVMKernelRow *result = 0 ;
10910 if (!SWIG_check_num_args("CvSVMSolver_lru_list_get",args.length(),1,1,0)) {
10913 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMSolver, 0 | 0 );
10914 if (!SWIG_IsOK(res1)) {
10915 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMSolver_lru_list_get" "', argument " "1"" of type '" "CvSVMSolver *""'");
10917 arg1 = (CvSVMSolver *)(argp1);
10918 result = (CvSVMKernelRow *)& ((arg1)->lru_list);
10919 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvSVMKernelRow, 0 | 0 );
10920 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
10926 static octave_value_list _wrap_CvSVMSolver_rows_set (const octave_value_list& args, int nargout) {
10927 CvSVMSolver *arg1 = (CvSVMSolver *) 0 ;
10928 CvSVMKernelRow *arg2 = (CvSVMKernelRow *) 0 ;
10933 octave_value_list _out;
10934 octave_value_list *_outp=&_out;
10935 octave_value _outv;
10937 if (!SWIG_check_num_args("CvSVMSolver_rows_set",args.length(),2,2,0)) {
10940 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMSolver, 0 | 0 );
10941 if (!SWIG_IsOK(res1)) {
10942 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMSolver_rows_set" "', argument " "1"" of type '" "CvSVMSolver *""'");
10944 arg1 = (CvSVMSolver *)(argp1);
10945 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvSVMKernelRow, SWIG_POINTER_DISOWN | 0 );
10946 if (!SWIG_IsOK(res2)) {
10947 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvSVMSolver_rows_set" "', argument " "2"" of type '" "CvSVMKernelRow *""'");
10949 arg2 = (CvSVMKernelRow *)(argp2);
10950 if (arg1) (arg1)->rows = arg2;
10951 _outv = octave_value();
10952 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
10958 static octave_value_list _wrap_CvSVMSolver_rows_get (const octave_value_list& args, int nargout) {
10959 CvSVMSolver *arg1 = (CvSVMSolver *) 0 ;
10962 octave_value_list _out;
10963 octave_value_list *_outp=&_out;
10964 octave_value _outv;
10965 CvSVMKernelRow *result = 0 ;
10967 if (!SWIG_check_num_args("CvSVMSolver_rows_get",args.length(),1,1,0)) {
10970 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMSolver, 0 | 0 );
10971 if (!SWIG_IsOK(res1)) {
10972 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMSolver_rows_get" "', argument " "1"" of type '" "CvSVMSolver *""'");
10974 arg1 = (CvSVMSolver *)(argp1);
10975 result = (CvSVMKernelRow *) ((arg1)->rows);
10976 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvSVMKernelRow, 0 | 0 );
10977 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
10983 static octave_value_list _wrap_CvSVMSolver_alpha_count_set (const octave_value_list& args, int nargout) {
10984 CvSVMSolver *arg1 = (CvSVMSolver *) 0 ;
10990 octave_value_list _out;
10991 octave_value_list *_outp=&_out;
10992 octave_value _outv;
10994 if (!SWIG_check_num_args("CvSVMSolver_alpha_count_set",args.length(),2,2,0)) {
10997 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMSolver, 0 | 0 );
10998 if (!SWIG_IsOK(res1)) {
10999 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMSolver_alpha_count_set" "', argument " "1"" of type '" "CvSVMSolver *""'");
11001 arg1 = (CvSVMSolver *)(argp1);
11002 ecode2 = SWIG_AsVal_int(args(1), &val2);
11003 if (!SWIG_IsOK(ecode2)) {
11004 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvSVMSolver_alpha_count_set" "', argument " "2"" of type '" "int""'");
11006 arg2 = (int)(val2);
11007 if (arg1) (arg1)->alpha_count = arg2;
11008 _outv = octave_value();
11009 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
11015 static octave_value_list _wrap_CvSVMSolver_alpha_count_get (const octave_value_list& args, int nargout) {
11016 CvSVMSolver *arg1 = (CvSVMSolver *) 0 ;
11019 octave_value_list _out;
11020 octave_value_list *_outp=&_out;
11021 octave_value _outv;
11024 if (!SWIG_check_num_args("CvSVMSolver_alpha_count_get",args.length(),1,1,0)) {
11027 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMSolver, 0 | 0 );
11028 if (!SWIG_IsOK(res1)) {
11029 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMSolver_alpha_count_get" "', argument " "1"" of type '" "CvSVMSolver *""'");
11031 arg1 = (CvSVMSolver *)(argp1);
11032 result = (int) ((arg1)->alpha_count);
11033 _outv = SWIG_From_int((int)(result));
11034 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
11040 static octave_value_list _wrap_CvSVMSolver_G_set (const octave_value_list& args, int nargout) {
11041 CvSVMSolver *arg1 = (CvSVMSolver *) 0 ;
11042 double *arg2 = (double *) 0 ;
11047 octave_value_list _out;
11048 octave_value_list *_outp=&_out;
11049 octave_value _outv;
11051 if (!SWIG_check_num_args("CvSVMSolver_G_set",args.length(),2,2,0)) {
11054 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMSolver, 0 | 0 );
11055 if (!SWIG_IsOK(res1)) {
11056 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMSolver_G_set" "', argument " "1"" of type '" "CvSVMSolver *""'");
11058 arg1 = (CvSVMSolver *)(argp1);
11059 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_double, SWIG_POINTER_DISOWN | 0 );
11060 if (!SWIG_IsOK(res2)) {
11061 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvSVMSolver_G_set" "', argument " "2"" of type '" "double *""'");
11063 arg2 = (double *)(argp2);
11064 if (arg1) (arg1)->G = arg2;
11065 _outv = octave_value();
11066 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
11072 static octave_value_list _wrap_CvSVMSolver_G_get (const octave_value_list& args, int nargout) {
11073 CvSVMSolver *arg1 = (CvSVMSolver *) 0 ;
11076 octave_value_list _out;
11077 octave_value_list *_outp=&_out;
11078 octave_value _outv;
11079 double *result = 0 ;
11081 if (!SWIG_check_num_args("CvSVMSolver_G_get",args.length(),1,1,0)) {
11084 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMSolver, 0 | 0 );
11085 if (!SWIG_IsOK(res1)) {
11086 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMSolver_G_get" "', argument " "1"" of type '" "CvSVMSolver *""'");
11088 arg1 = (CvSVMSolver *)(argp1);
11089 result = (double *) ((arg1)->G);
11090 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0 );
11091 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
11097 static octave_value_list _wrap_CvSVMSolver_alpha_set (const octave_value_list& args, int nargout) {
11098 CvSVMSolver *arg1 = (CvSVMSolver *) 0 ;
11099 double *arg2 = (double *) 0 ;
11104 octave_value_list _out;
11105 octave_value_list *_outp=&_out;
11106 octave_value _outv;
11108 if (!SWIG_check_num_args("CvSVMSolver_alpha_set",args.length(),2,2,0)) {
11111 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMSolver, 0 | 0 );
11112 if (!SWIG_IsOK(res1)) {
11113 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMSolver_alpha_set" "', argument " "1"" of type '" "CvSVMSolver *""'");
11115 arg1 = (CvSVMSolver *)(argp1);
11116 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_double, SWIG_POINTER_DISOWN | 0 );
11117 if (!SWIG_IsOK(res2)) {
11118 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvSVMSolver_alpha_set" "', argument " "2"" of type '" "double *""'");
11120 arg2 = (double *)(argp2);
11121 if (arg1) (arg1)->alpha = arg2;
11122 _outv = octave_value();
11123 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
11129 static octave_value_list _wrap_CvSVMSolver_alpha_get (const octave_value_list& args, int nargout) {
11130 CvSVMSolver *arg1 = (CvSVMSolver *) 0 ;
11133 octave_value_list _out;
11134 octave_value_list *_outp=&_out;
11135 octave_value _outv;
11136 double *result = 0 ;
11138 if (!SWIG_check_num_args("CvSVMSolver_alpha_get",args.length(),1,1,0)) {
11141 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMSolver, 0 | 0 );
11142 if (!SWIG_IsOK(res1)) {
11143 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMSolver_alpha_get" "', argument " "1"" of type '" "CvSVMSolver *""'");
11145 arg1 = (CvSVMSolver *)(argp1);
11146 result = (double *) ((arg1)->alpha);
11147 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0 );
11148 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
11154 static octave_value_list _wrap_CvSVMSolver_alpha_status_set (const octave_value_list& args, int nargout) {
11155 CvSVMSolver *arg1 = (CvSVMSolver *) 0 ;
11156 schar *arg2 = (schar *) 0 ;
11161 octave_value_list _out;
11162 octave_value_list *_outp=&_out;
11163 octave_value _outv;
11165 if (!SWIG_check_num_args("CvSVMSolver_alpha_status_set",args.length(),2,2,0)) {
11168 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMSolver, 0 | 0 );
11169 if (!SWIG_IsOK(res1)) {
11170 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMSolver_alpha_status_set" "', argument " "1"" of type '" "CvSVMSolver *""'");
11172 arg1 = (CvSVMSolver *)(argp1);
11173 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_signed_char, SWIG_POINTER_DISOWN | 0 );
11174 if (!SWIG_IsOK(res2)) {
11175 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvSVMSolver_alpha_status_set" "', argument " "2"" of type '" "schar *""'");
11177 arg2 = (schar *)(argp2);
11178 if (arg1) (arg1)->alpha_status = arg2;
11179 _outv = octave_value();
11180 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
11186 static octave_value_list _wrap_CvSVMSolver_alpha_status_get (const octave_value_list& args, int nargout) {
11187 CvSVMSolver *arg1 = (CvSVMSolver *) 0 ;
11190 octave_value_list _out;
11191 octave_value_list *_outp=&_out;
11192 octave_value _outv;
11193 schar *result = 0 ;
11195 if (!SWIG_check_num_args("CvSVMSolver_alpha_status_get",args.length(),1,1,0)) {
11198 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMSolver, 0 | 0 );
11199 if (!SWIG_IsOK(res1)) {
11200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMSolver_alpha_status_get" "', argument " "1"" of type '" "CvSVMSolver *""'");
11202 arg1 = (CvSVMSolver *)(argp1);
11203 result = (schar *) ((arg1)->alpha_status);
11204 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_signed_char, 0 | 0 );
11205 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
11211 static octave_value_list _wrap_CvSVMSolver_y_set (const octave_value_list& args, int nargout) {
11212 CvSVMSolver *arg1 = (CvSVMSolver *) 0 ;
11213 schar *arg2 = (schar *) 0 ;
11218 octave_value_list _out;
11219 octave_value_list *_outp=&_out;
11220 octave_value _outv;
11222 if (!SWIG_check_num_args("CvSVMSolver_y_set",args.length(),2,2,0)) {
11225 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMSolver, 0 | 0 );
11226 if (!SWIG_IsOK(res1)) {
11227 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMSolver_y_set" "', argument " "1"" of type '" "CvSVMSolver *""'");
11229 arg1 = (CvSVMSolver *)(argp1);
11230 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_signed_char, SWIG_POINTER_DISOWN | 0 );
11231 if (!SWIG_IsOK(res2)) {
11232 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvSVMSolver_y_set" "', argument " "2"" of type '" "schar *""'");
11234 arg2 = (schar *)(argp2);
11235 if (arg1) (arg1)->y = arg2;
11236 _outv = octave_value();
11237 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
11243 static octave_value_list _wrap_CvSVMSolver_y_get (const octave_value_list& args, int nargout) {
11244 CvSVMSolver *arg1 = (CvSVMSolver *) 0 ;
11247 octave_value_list _out;
11248 octave_value_list *_outp=&_out;
11249 octave_value _outv;
11250 schar *result = 0 ;
11252 if (!SWIG_check_num_args("CvSVMSolver_y_get",args.length(),1,1,0)) {
11255 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMSolver, 0 | 0 );
11256 if (!SWIG_IsOK(res1)) {
11257 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMSolver_y_get" "', argument " "1"" of type '" "CvSVMSolver *""'");
11259 arg1 = (CvSVMSolver *)(argp1);
11260 result = (schar *) ((arg1)->y);
11261 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_signed_char, 0 | 0 );
11262 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
11268 static octave_value_list _wrap_CvSVMSolver_b_set (const octave_value_list& args, int nargout) {
11269 CvSVMSolver *arg1 = (CvSVMSolver *) 0 ;
11270 double *arg2 = (double *) 0 ;
11275 octave_value_list _out;
11276 octave_value_list *_outp=&_out;
11277 octave_value _outv;
11279 if (!SWIG_check_num_args("CvSVMSolver_b_set",args.length(),2,2,0)) {
11282 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMSolver, 0 | 0 );
11283 if (!SWIG_IsOK(res1)) {
11284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMSolver_b_set" "', argument " "1"" of type '" "CvSVMSolver *""'");
11286 arg1 = (CvSVMSolver *)(argp1);
11287 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_double, SWIG_POINTER_DISOWN | 0 );
11288 if (!SWIG_IsOK(res2)) {
11289 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvSVMSolver_b_set" "', argument " "2"" of type '" "double *""'");
11291 arg2 = (double *)(argp2);
11292 if (arg1) (arg1)->b = arg2;
11293 _outv = octave_value();
11294 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
11300 static octave_value_list _wrap_CvSVMSolver_b_get (const octave_value_list& args, int nargout) {
11301 CvSVMSolver *arg1 = (CvSVMSolver *) 0 ;
11304 octave_value_list _out;
11305 octave_value_list *_outp=&_out;
11306 octave_value _outv;
11307 double *result = 0 ;
11309 if (!SWIG_check_num_args("CvSVMSolver_b_get",args.length(),1,1,0)) {
11312 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMSolver, 0 | 0 );
11313 if (!SWIG_IsOK(res1)) {
11314 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMSolver_b_get" "', argument " "1"" of type '" "CvSVMSolver *""'");
11316 arg1 = (CvSVMSolver *)(argp1);
11317 result = (double *) ((arg1)->b);
11318 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0 );
11319 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
11325 static octave_value_list _wrap_CvSVMSolver_buf_set (const octave_value_list& args, int nargout) {
11326 CvSVMSolver *arg1 = (CvSVMSolver *) 0 ;
11332 octave_value_list _out;
11333 octave_value_list *_outp=&_out;
11334 octave_value _outv;
11336 if (!SWIG_check_num_args("CvSVMSolver_buf_set",args.length(),2,2,0)) {
11339 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMSolver, 0 | 0 );
11340 if (!SWIG_IsOK(res1)) {
11341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMSolver_buf_set" "', argument " "1"" of type '" "CvSVMSolver *""'");
11343 arg1 = (CvSVMSolver *)(argp1);
11344 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_p_float, 0 | 0 );
11345 if (!SWIG_IsOK(res2)) {
11346 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvSVMSolver_buf_set" "', argument " "2"" of type '" "float *[2]""'");
11348 arg2 = (float **)(argp2);
11352 for (; ii < (size_t)2; ++ii) arg1->buf[ii] = arg2[ii];
11354 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""buf""' of type '""float *[2]""'");
11357 _outv = octave_value();
11358 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
11364 static octave_value_list _wrap_CvSVMSolver_buf_get (const octave_value_list& args, int nargout) {
11365 CvSVMSolver *arg1 = (CvSVMSolver *) 0 ;
11368 octave_value_list _out;
11369 octave_value_list *_outp=&_out;
11370 octave_value _outv;
11371 float **result = 0 ;
11373 if (!SWIG_check_num_args("CvSVMSolver_buf_get",args.length(),1,1,0)) {
11376 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMSolver, 0 | 0 );
11377 if (!SWIG_IsOK(res1)) {
11378 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMSolver_buf_get" "', argument " "1"" of type '" "CvSVMSolver *""'");
11380 arg1 = (CvSVMSolver *)(argp1);
11381 result = (float **)(float **) ((arg1)->buf);
11382 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_float, 0 | 0 );
11383 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
11389 static octave_value_list _wrap_CvSVMSolver_eps_set (const octave_value_list& args, int nargout) {
11390 CvSVMSolver *arg1 = (CvSVMSolver *) 0 ;
11396 octave_value_list _out;
11397 octave_value_list *_outp=&_out;
11398 octave_value _outv;
11400 if (!SWIG_check_num_args("CvSVMSolver_eps_set",args.length(),2,2,0)) {
11403 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMSolver, 0 | 0 );
11404 if (!SWIG_IsOK(res1)) {
11405 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMSolver_eps_set" "', argument " "1"" of type '" "CvSVMSolver *""'");
11407 arg1 = (CvSVMSolver *)(argp1);
11408 ecode2 = SWIG_AsVal_double(args(1), &val2);
11409 if (!SWIG_IsOK(ecode2)) {
11410 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvSVMSolver_eps_set" "', argument " "2"" of type '" "double""'");
11412 arg2 = (double)(val2);
11413 if (arg1) (arg1)->eps = arg2;
11414 _outv = octave_value();
11415 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
11421 static octave_value_list _wrap_CvSVMSolver_eps_get (const octave_value_list& args, int nargout) {
11422 CvSVMSolver *arg1 = (CvSVMSolver *) 0 ;
11425 octave_value_list _out;
11426 octave_value_list *_outp=&_out;
11427 octave_value _outv;
11430 if (!SWIG_check_num_args("CvSVMSolver_eps_get",args.length(),1,1,0)) {
11433 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMSolver, 0 | 0 );
11434 if (!SWIG_IsOK(res1)) {
11435 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMSolver_eps_get" "', argument " "1"" of type '" "CvSVMSolver *""'");
11437 arg1 = (CvSVMSolver *)(argp1);
11438 result = (double) ((arg1)->eps);
11439 _outv = SWIG_From_double((double)(result));
11440 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
11446 static octave_value_list _wrap_CvSVMSolver_max_iter_set (const octave_value_list& args, int nargout) {
11447 CvSVMSolver *arg1 = (CvSVMSolver *) 0 ;
11453 octave_value_list _out;
11454 octave_value_list *_outp=&_out;
11455 octave_value _outv;
11457 if (!SWIG_check_num_args("CvSVMSolver_max_iter_set",args.length(),2,2,0)) {
11460 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMSolver, 0 | 0 );
11461 if (!SWIG_IsOK(res1)) {
11462 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMSolver_max_iter_set" "', argument " "1"" of type '" "CvSVMSolver *""'");
11464 arg1 = (CvSVMSolver *)(argp1);
11465 ecode2 = SWIG_AsVal_int(args(1), &val2);
11466 if (!SWIG_IsOK(ecode2)) {
11467 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvSVMSolver_max_iter_set" "', argument " "2"" of type '" "int""'");
11469 arg2 = (int)(val2);
11470 if (arg1) (arg1)->max_iter = arg2;
11471 _outv = octave_value();
11472 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
11478 static octave_value_list _wrap_CvSVMSolver_max_iter_get (const octave_value_list& args, int nargout) {
11479 CvSVMSolver *arg1 = (CvSVMSolver *) 0 ;
11482 octave_value_list _out;
11483 octave_value_list *_outp=&_out;
11484 octave_value _outv;
11487 if (!SWIG_check_num_args("CvSVMSolver_max_iter_get",args.length(),1,1,0)) {
11490 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMSolver, 0 | 0 );
11491 if (!SWIG_IsOK(res1)) {
11492 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMSolver_max_iter_get" "', argument " "1"" of type '" "CvSVMSolver *""'");
11494 arg1 = (CvSVMSolver *)(argp1);
11495 result = (int) ((arg1)->max_iter);
11496 _outv = SWIG_From_int((int)(result));
11497 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
11503 static octave_value_list _wrap_CvSVMSolver_C_set (const octave_value_list& args, int nargout) {
11504 CvSVMSolver *arg1 = (CvSVMSolver *) 0 ;
11510 octave_value_list _out;
11511 octave_value_list *_outp=&_out;
11512 octave_value _outv;
11514 if (!SWIG_check_num_args("CvSVMSolver_C_set",args.length(),2,2,0)) {
11517 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMSolver, 0 | 0 );
11518 if (!SWIG_IsOK(res1)) {
11519 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMSolver_C_set" "', argument " "1"" of type '" "CvSVMSolver *""'");
11521 arg1 = (CvSVMSolver *)(argp1);
11522 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_double, 0 | 0 );
11523 if (!SWIG_IsOK(res2)) {
11524 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvSVMSolver_C_set" "', argument " "2"" of type '" "double [2]""'");
11526 arg2 = (double *)(argp2);
11530 for (; ii < (size_t)2; ++ii) arg1->C[ii] = arg2[ii];
11532 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""C""' of type '""double [2]""'");
11535 _outv = octave_value();
11536 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
11542 static octave_value_list _wrap_CvSVMSolver_C_get (const octave_value_list& args, int nargout) {
11543 CvSVMSolver *arg1 = (CvSVMSolver *) 0 ;
11546 octave_value_list _out;
11547 octave_value_list *_outp=&_out;
11548 octave_value _outv;
11549 double *result = 0 ;
11551 if (!SWIG_check_num_args("CvSVMSolver_C_get",args.length(),1,1,0)) {
11554 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMSolver, 0 | 0 );
11555 if (!SWIG_IsOK(res1)) {
11556 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMSolver_C_get" "', argument " "1"" of type '" "CvSVMSolver *""'");
11558 arg1 = (CvSVMSolver *)(argp1);
11559 result = (double *)(double *) ((arg1)->C);
11560 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0 );
11561 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
11567 static octave_value_list _wrap_CvSVMSolver_kernel_set (const octave_value_list& args, int nargout) {
11568 CvSVMSolver *arg1 = (CvSVMSolver *) 0 ;
11569 CvSVMKernel *arg2 = (CvSVMKernel *) 0 ;
11574 octave_value_list _out;
11575 octave_value_list *_outp=&_out;
11576 octave_value _outv;
11578 if (!SWIG_check_num_args("CvSVMSolver_kernel_set",args.length(),2,2,0)) {
11581 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMSolver, 0 | 0 );
11582 if (!SWIG_IsOK(res1)) {
11583 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMSolver_kernel_set" "', argument " "1"" of type '" "CvSVMSolver *""'");
11585 arg1 = (CvSVMSolver *)(argp1);
11586 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvSVMKernel, SWIG_POINTER_DISOWN | 0 );
11587 if (!SWIG_IsOK(res2)) {
11588 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvSVMSolver_kernel_set" "', argument " "2"" of type '" "CvSVMKernel *""'");
11590 arg2 = (CvSVMKernel *)(argp2);
11591 if (arg1) (arg1)->kernel = arg2;
11592 _outv = octave_value();
11593 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
11599 static octave_value_list _wrap_CvSVMSolver_kernel_get (const octave_value_list& args, int nargout) {
11600 CvSVMSolver *arg1 = (CvSVMSolver *) 0 ;
11603 octave_value_list _out;
11604 octave_value_list *_outp=&_out;
11605 octave_value _outv;
11606 CvSVMKernel *result = 0 ;
11608 if (!SWIG_check_num_args("CvSVMSolver_kernel_get",args.length(),1,1,0)) {
11611 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMSolver, 0 | 0 );
11612 if (!SWIG_IsOK(res1)) {
11613 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMSolver_kernel_get" "', argument " "1"" of type '" "CvSVMSolver *""'");
11615 arg1 = (CvSVMSolver *)(argp1);
11616 result = (CvSVMKernel *) ((arg1)->kernel);
11617 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvSVMKernel, 0 | 0 );
11618 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
11624 static octave_value_list _wrap_CvSVMSolver_select_working_set_func_set (const octave_value_list& args, int nargout) {
11625 CvSVMSolver *arg1 = (CvSVMSolver *) 0 ;
11626 CvSVMSolver::SelectWorkingSet arg2 ;
11629 octave_value_list _out;
11630 octave_value_list *_outp=&_out;
11631 octave_value _outv;
11633 if (!SWIG_check_num_args("CvSVMSolver_select_working_set_func_set",args.length(),2,2,0)) {
11636 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMSolver, 0 | 0 );
11637 if (!SWIG_IsOK(res1)) {
11638 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMSolver_select_working_set_func_set" "', argument " "1"" of type '" "CvSVMSolver *""'");
11640 arg1 = (CvSVMSolver *)(argp1);
11642 int res = SWIG_ConvertMember(args(1), SWIG_as_voidptr(&arg2), sizeof(CvSVMSolver::SelectWorkingSet),SWIGTYPE_m_CvSVMSolver__f_r_int_r_int__bool);
11643 if (!SWIG_IsOK(res)) {
11644 SWIG_exception_fail(SWIG_ArgError(res), "in method '" "CvSVMSolver_select_working_set_func_set" "', argument " "2"" of type '" "CvSVMSolver::SelectWorkingSet""'");
11647 if (arg1) (arg1)->select_working_set_func = arg2;
11648 _outv = octave_value();
11649 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
11655 static octave_value_list _wrap_CvSVMSolver_select_working_set_func_get (const octave_value_list& args, int nargout) {
11656 CvSVMSolver *arg1 = (CvSVMSolver *) 0 ;
11659 octave_value_list _out;
11660 octave_value_list *_outp=&_out;
11661 octave_value _outv;
11662 CvSVMSolver::SelectWorkingSet result;
11664 if (!SWIG_check_num_args("CvSVMSolver_select_working_set_func_get",args.length(),1,1,0)) {
11667 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMSolver, 0 | 0 );
11668 if (!SWIG_IsOK(res1)) {
11669 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMSolver_select_working_set_func_get" "', argument " "1"" of type '" "CvSVMSolver *""'");
11671 arg1 = (CvSVMSolver *)(argp1);
11672 result = (CvSVMSolver::SelectWorkingSet) ((arg1)->select_working_set_func);
11673 _outv = SWIG_NewMemberObj(SWIG_as_voidptr(&result), sizeof(CvSVMSolver::SelectWorkingSet), SWIGTYPE_m_CvSVMSolver__f_r_int_r_int__bool);
11674 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
11680 static octave_value_list _wrap_CvSVMSolver_calc_rho_func_set (const octave_value_list& args, int nargout) {
11681 CvSVMSolver *arg1 = (CvSVMSolver *) 0 ;
11682 CvSVMSolver::CalcRho arg2 ;
11685 octave_value_list _out;
11686 octave_value_list *_outp=&_out;
11687 octave_value _outv;
11689 if (!SWIG_check_num_args("CvSVMSolver_calc_rho_func_set",args.length(),2,2,0)) {
11692 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMSolver, 0 | 0 );
11693 if (!SWIG_IsOK(res1)) {
11694 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMSolver_calc_rho_func_set" "', argument " "1"" of type '" "CvSVMSolver *""'");
11696 arg1 = (CvSVMSolver *)(argp1);
11698 int res = SWIG_ConvertMember(args(1), SWIG_as_voidptr(&arg2), sizeof(CvSVMSolver::CalcRho),SWIGTYPE_m_CvSVMSolver__f_r_double_r_double__void);
11699 if (!SWIG_IsOK(res)) {
11700 SWIG_exception_fail(SWIG_ArgError(res), "in method '" "CvSVMSolver_calc_rho_func_set" "', argument " "2"" of type '" "CvSVMSolver::CalcRho""'");
11703 if (arg1) (arg1)->calc_rho_func = arg2;
11704 _outv = octave_value();
11705 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
11711 static octave_value_list _wrap_CvSVMSolver_calc_rho_func_get (const octave_value_list& args, int nargout) {
11712 CvSVMSolver *arg1 = (CvSVMSolver *) 0 ;
11715 octave_value_list _out;
11716 octave_value_list *_outp=&_out;
11717 octave_value _outv;
11718 CvSVMSolver::CalcRho result;
11720 if (!SWIG_check_num_args("CvSVMSolver_calc_rho_func_get",args.length(),1,1,0)) {
11723 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMSolver, 0 | 0 );
11724 if (!SWIG_IsOK(res1)) {
11725 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMSolver_calc_rho_func_get" "', argument " "1"" of type '" "CvSVMSolver *""'");
11727 arg1 = (CvSVMSolver *)(argp1);
11728 result = (CvSVMSolver::CalcRho) ((arg1)->calc_rho_func);
11729 _outv = SWIG_NewMemberObj(SWIG_as_voidptr(&result), sizeof(CvSVMSolver::CalcRho), SWIGTYPE_m_CvSVMSolver__f_r_double_r_double__void);
11730 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
11736 static octave_value_list _wrap_CvSVMSolver_get_row_func_set (const octave_value_list& args, int nargout) {
11737 CvSVMSolver *arg1 = (CvSVMSolver *) 0 ;
11738 CvSVMSolver::GetRow arg2 ;
11741 octave_value_list _out;
11742 octave_value_list *_outp=&_out;
11743 octave_value _outv;
11745 if (!SWIG_check_num_args("CvSVMSolver_get_row_func_set",args.length(),2,2,0)) {
11748 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMSolver, 0 | 0 );
11749 if (!SWIG_IsOK(res1)) {
11750 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMSolver_get_row_func_set" "', argument " "1"" of type '" "CvSVMSolver *""'");
11752 arg1 = (CvSVMSolver *)(argp1);
11754 int res = SWIG_ConvertMember(args(1), SWIG_as_voidptr(&arg2), sizeof(CvSVMSolver::GetRow),SWIGTYPE_m_CvSVMSolver__f_int_p_float_p_float_bool__p_float);
11755 if (!SWIG_IsOK(res)) {
11756 SWIG_exception_fail(SWIG_ArgError(res), "in method '" "CvSVMSolver_get_row_func_set" "', argument " "2"" of type '" "CvSVMSolver::GetRow""'");
11759 if (arg1) (arg1)->get_row_func = arg2;
11760 _outv = octave_value();
11761 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
11767 static octave_value_list _wrap_CvSVMSolver_get_row_func_get (const octave_value_list& args, int nargout) {
11768 CvSVMSolver *arg1 = (CvSVMSolver *) 0 ;
11771 octave_value_list _out;
11772 octave_value_list *_outp=&_out;
11773 octave_value _outv;
11774 CvSVMSolver::GetRow result;
11776 if (!SWIG_check_num_args("CvSVMSolver_get_row_func_get",args.length(),1,1,0)) {
11779 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMSolver, 0 | 0 );
11780 if (!SWIG_IsOK(res1)) {
11781 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMSolver_get_row_func_get" "', argument " "1"" of type '" "CvSVMSolver *""'");
11783 arg1 = (CvSVMSolver *)(argp1);
11784 result = (CvSVMSolver::GetRow) ((arg1)->get_row_func);
11785 _outv = SWIG_NewMemberObj(SWIG_as_voidptr(&result), sizeof(CvSVMSolver::GetRow), SWIGTYPE_m_CvSVMSolver__f_int_p_float_p_float_bool__p_float);
11786 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
11792 static octave_value_list _wrap_CvSVMSolver_select_working_set (const octave_value_list& args, int nargout) {
11793 CvSVMSolver *arg1 = (CvSVMSolver *) 0 ;
11802 octave_value_list _out;
11803 octave_value_list *_outp=&_out;
11804 octave_value _outv;
11807 if (!SWIG_check_num_args("CvSVMSolver_select_working_set",args.length(),3,3,0)) {
11810 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMSolver, 0 | 0 );
11811 if (!SWIG_IsOK(res1)) {
11812 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMSolver_select_working_set" "', argument " "1"" of type '" "CvSVMSolver *""'");
11814 arg1 = (CvSVMSolver *)(argp1);
11815 res2 = SWIG_ConvertPtr(args(1), &argp2, SWIGTYPE_p_int, 0 );
11816 if (!SWIG_IsOK(res2)) {
11817 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvSVMSolver_select_working_set" "', argument " "2"" of type '" "int &""'");
11820 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvSVMSolver_select_working_set" "', argument " "2"" of type '" "int &""'");
11822 arg2 = (int *)(argp2);
11823 res3 = SWIG_ConvertPtr(args(2), &argp3, SWIGTYPE_p_int, 0 );
11824 if (!SWIG_IsOK(res3)) {
11825 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvSVMSolver_select_working_set" "', argument " "3"" of type '" "int &""'");
11828 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvSVMSolver_select_working_set" "', argument " "3"" of type '" "int &""'");
11830 arg3 = (int *)(argp3);
11833 result = (bool)(arg1)->select_working_set(*arg2,*arg3);
11840 _outv = SWIG_From_bool((bool)(result));
11841 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
11847 static octave_value_list _wrap_CvSVMSolver_select_working_set_nu_svm (const octave_value_list& args, int nargout) {
11848 CvSVMSolver *arg1 = (CvSVMSolver *) 0 ;
11857 octave_value_list _out;
11858 octave_value_list *_outp=&_out;
11859 octave_value _outv;
11862 if (!SWIG_check_num_args("CvSVMSolver_select_working_set_nu_svm",args.length(),3,3,0)) {
11865 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMSolver, 0 | 0 );
11866 if (!SWIG_IsOK(res1)) {
11867 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMSolver_select_working_set_nu_svm" "', argument " "1"" of type '" "CvSVMSolver *""'");
11869 arg1 = (CvSVMSolver *)(argp1);
11870 res2 = SWIG_ConvertPtr(args(1), &argp2, SWIGTYPE_p_int, 0 );
11871 if (!SWIG_IsOK(res2)) {
11872 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvSVMSolver_select_working_set_nu_svm" "', argument " "2"" of type '" "int &""'");
11875 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvSVMSolver_select_working_set_nu_svm" "', argument " "2"" of type '" "int &""'");
11877 arg2 = (int *)(argp2);
11878 res3 = SWIG_ConvertPtr(args(2), &argp3, SWIGTYPE_p_int, 0 );
11879 if (!SWIG_IsOK(res3)) {
11880 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvSVMSolver_select_working_set_nu_svm" "', argument " "3"" of type '" "int &""'");
11883 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvSVMSolver_select_working_set_nu_svm" "', argument " "3"" of type '" "int &""'");
11885 arg3 = (int *)(argp3);
11888 result = (bool)(arg1)->select_working_set_nu_svm(*arg2,*arg3);
11895 _outv = SWIG_From_bool((bool)(result));
11896 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
11902 static octave_value_list _wrap_CvSVMSolver_calc_rho (const octave_value_list& args, int nargout) {
11903 CvSVMSolver *arg1 = (CvSVMSolver *) 0 ;
11912 octave_value_list _out;
11913 octave_value_list *_outp=&_out;
11914 octave_value _outv;
11916 if (!SWIG_check_num_args("CvSVMSolver_calc_rho",args.length(),3,3,0)) {
11919 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMSolver, 0 | 0 );
11920 if (!SWIG_IsOK(res1)) {
11921 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMSolver_calc_rho" "', argument " "1"" of type '" "CvSVMSolver *""'");
11923 arg1 = (CvSVMSolver *)(argp1);
11924 res2 = SWIG_ConvertPtr(args(1), &argp2, SWIGTYPE_p_double, 0 );
11925 if (!SWIG_IsOK(res2)) {
11926 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvSVMSolver_calc_rho" "', argument " "2"" of type '" "double &""'");
11929 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvSVMSolver_calc_rho" "', argument " "2"" of type '" "double &""'");
11931 arg2 = (double *)(argp2);
11932 res3 = SWIG_ConvertPtr(args(2), &argp3, SWIGTYPE_p_double, 0 );
11933 if (!SWIG_IsOK(res3)) {
11934 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvSVMSolver_calc_rho" "', argument " "3"" of type '" "double &""'");
11937 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvSVMSolver_calc_rho" "', argument " "3"" of type '" "double &""'");
11939 arg3 = (double *)(argp3);
11942 (arg1)->calc_rho(*arg2,*arg3);
11949 _outv = octave_value();
11950 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
11956 static octave_value_list _wrap_CvSVMSolver_calc_rho_nu_svm (const octave_value_list& args, int nargout) {
11957 CvSVMSolver *arg1 = (CvSVMSolver *) 0 ;
11966 octave_value_list _out;
11967 octave_value_list *_outp=&_out;
11968 octave_value _outv;
11970 if (!SWIG_check_num_args("CvSVMSolver_calc_rho_nu_svm",args.length(),3,3,0)) {
11973 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMSolver, 0 | 0 );
11974 if (!SWIG_IsOK(res1)) {
11975 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMSolver_calc_rho_nu_svm" "', argument " "1"" of type '" "CvSVMSolver *""'");
11977 arg1 = (CvSVMSolver *)(argp1);
11978 res2 = SWIG_ConvertPtr(args(1), &argp2, SWIGTYPE_p_double, 0 );
11979 if (!SWIG_IsOK(res2)) {
11980 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvSVMSolver_calc_rho_nu_svm" "', argument " "2"" of type '" "double &""'");
11983 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvSVMSolver_calc_rho_nu_svm" "', argument " "2"" of type '" "double &""'");
11985 arg2 = (double *)(argp2);
11986 res3 = SWIG_ConvertPtr(args(2), &argp3, SWIGTYPE_p_double, 0 );
11987 if (!SWIG_IsOK(res3)) {
11988 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvSVMSolver_calc_rho_nu_svm" "', argument " "3"" of type '" "double &""'");
11991 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvSVMSolver_calc_rho_nu_svm" "', argument " "3"" of type '" "double &""'");
11993 arg3 = (double *)(argp3);
11996 (arg1)->calc_rho_nu_svm(*arg2,*arg3);
12003 _outv = octave_value();
12004 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
12010 static octave_value_list _wrap_CvSVMSolver_get_row_svc (const octave_value_list& args, int nargout) {
12011 CvSVMSolver *arg1 = (CvSVMSolver *) 0 ;
12013 float *arg3 = (float *) 0 ;
12014 float *arg4 = (float *) 0 ;
12026 octave_value_list _out;
12027 octave_value_list *_outp=&_out;
12028 octave_value _outv;
12029 float *result = 0 ;
12031 if (!SWIG_check_num_args("CvSVMSolver_get_row_svc",args.length(),5,5,0)) {
12034 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMSolver, 0 | 0 );
12035 if (!SWIG_IsOK(res1)) {
12036 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMSolver_get_row_svc" "', argument " "1"" of type '" "CvSVMSolver *""'");
12038 arg1 = (CvSVMSolver *)(argp1);
12039 ecode2 = SWIG_AsVal_int(args(1), &val2);
12040 if (!SWIG_IsOK(ecode2)) {
12041 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvSVMSolver_get_row_svc" "', argument " "2"" of type '" "int""'");
12043 arg2 = (int)(val2);
12044 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_float, 0 | 0 );
12045 if (!SWIG_IsOK(res3)) {
12046 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvSVMSolver_get_row_svc" "', argument " "3"" of type '" "float *""'");
12048 arg3 = (float *)(argp3);
12049 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_float, 0 | 0 );
12050 if (!SWIG_IsOK(res4)) {
12051 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvSVMSolver_get_row_svc" "', argument " "4"" of type '" "float *""'");
12053 arg4 = (float *)(argp4);
12054 ecode5 = SWIG_AsVal_bool(args(4), &val5);
12055 if (!SWIG_IsOK(ecode5)) {
12056 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "CvSVMSolver_get_row_svc" "', argument " "5"" of type '" "bool""'");
12058 arg5 = (bool)(val5);
12061 result = (float *)(arg1)->get_row_svc(arg2,arg3,arg4,arg5);
12068 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 );
12069 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
12075 static octave_value_list _wrap_CvSVMSolver_get_row_one_class (const octave_value_list& args, int nargout) {
12076 CvSVMSolver *arg1 = (CvSVMSolver *) 0 ;
12078 float *arg3 = (float *) 0 ;
12079 float *arg4 = (float *) 0 ;
12091 octave_value_list _out;
12092 octave_value_list *_outp=&_out;
12093 octave_value _outv;
12094 float *result = 0 ;
12096 if (!SWIG_check_num_args("CvSVMSolver_get_row_one_class",args.length(),5,5,0)) {
12099 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMSolver, 0 | 0 );
12100 if (!SWIG_IsOK(res1)) {
12101 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMSolver_get_row_one_class" "', argument " "1"" of type '" "CvSVMSolver *""'");
12103 arg1 = (CvSVMSolver *)(argp1);
12104 ecode2 = SWIG_AsVal_int(args(1), &val2);
12105 if (!SWIG_IsOK(ecode2)) {
12106 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvSVMSolver_get_row_one_class" "', argument " "2"" of type '" "int""'");
12108 arg2 = (int)(val2);
12109 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_float, 0 | 0 );
12110 if (!SWIG_IsOK(res3)) {
12111 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvSVMSolver_get_row_one_class" "', argument " "3"" of type '" "float *""'");
12113 arg3 = (float *)(argp3);
12114 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_float, 0 | 0 );
12115 if (!SWIG_IsOK(res4)) {
12116 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvSVMSolver_get_row_one_class" "', argument " "4"" of type '" "float *""'");
12118 arg4 = (float *)(argp4);
12119 ecode5 = SWIG_AsVal_bool(args(4), &val5);
12120 if (!SWIG_IsOK(ecode5)) {
12121 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "CvSVMSolver_get_row_one_class" "', argument " "5"" of type '" "bool""'");
12123 arg5 = (bool)(val5);
12126 result = (float *)(arg1)->get_row_one_class(arg2,arg3,arg4,arg5);
12133 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 );
12134 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
12140 static octave_value_list _wrap_CvSVMSolver_get_row_svr (const octave_value_list& args, int nargout) {
12141 CvSVMSolver *arg1 = (CvSVMSolver *) 0 ;
12143 float *arg3 = (float *) 0 ;
12144 float *arg4 = (float *) 0 ;
12156 octave_value_list _out;
12157 octave_value_list *_outp=&_out;
12158 octave_value _outv;
12159 float *result = 0 ;
12161 if (!SWIG_check_num_args("CvSVMSolver_get_row_svr",args.length(),5,5,0)) {
12164 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMSolver, 0 | 0 );
12165 if (!SWIG_IsOK(res1)) {
12166 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMSolver_get_row_svr" "', argument " "1"" of type '" "CvSVMSolver *""'");
12168 arg1 = (CvSVMSolver *)(argp1);
12169 ecode2 = SWIG_AsVal_int(args(1), &val2);
12170 if (!SWIG_IsOK(ecode2)) {
12171 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvSVMSolver_get_row_svr" "', argument " "2"" of type '" "int""'");
12173 arg2 = (int)(val2);
12174 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_float, 0 | 0 );
12175 if (!SWIG_IsOK(res3)) {
12176 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvSVMSolver_get_row_svr" "', argument " "3"" of type '" "float *""'");
12178 arg3 = (float *)(argp3);
12179 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_float, 0 | 0 );
12180 if (!SWIG_IsOK(res4)) {
12181 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvSVMSolver_get_row_svr" "', argument " "4"" of type '" "float *""'");
12183 arg4 = (float *)(argp4);
12184 ecode5 = SWIG_AsVal_bool(args(4), &val5);
12185 if (!SWIG_IsOK(ecode5)) {
12186 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "CvSVMSolver_get_row_svr" "', argument " "5"" of type '" "bool""'");
12188 arg5 = (bool)(val5);
12191 result = (float *)(arg1)->get_row_svr(arg2,arg3,arg4,arg5);
12198 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 );
12199 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
12205 static swig_octave_member swig_CvSVMSolver_members[] = {
12206 {"create",_wrap_CvSVMSolver_create,0,0,0,0},
12207 {"clear",_wrap_CvSVMSolver_clear,0,0,0,0},
12208 {"solve_generic",_wrap_CvSVMSolver_solve_generic,0,0,0,0},
12209 {"solve_c_svc",_wrap_CvSVMSolver_solve_c_svc,0,0,0,0},
12210 {"solve_nu_svc",_wrap_CvSVMSolver_solve_nu_svc,0,0,0,0},
12211 {"solve_one_class",_wrap_CvSVMSolver_solve_one_class,0,0,0,0},
12212 {"solve_eps_svr",_wrap_CvSVMSolver_solve_eps_svr,0,0,0,0},
12213 {"solve_nu_svr",_wrap_CvSVMSolver_solve_nu_svr,0,0,0,0},
12214 {"get_row_base",_wrap_CvSVMSolver_get_row_base,0,0,0,0},
12215 {"get_row",_wrap_CvSVMSolver_get_row,0,0,0,0},
12216 {"sample_count",0,_wrap_CvSVMSolver_sample_count_get,_wrap_CvSVMSolver_sample_count_set,0,0},
12217 {"var_count",0,_wrap_CvSVMSolver_var_count_get,_wrap_CvSVMSolver_var_count_set,0,0},
12218 {"cache_size",0,_wrap_CvSVMSolver_cache_size_get,_wrap_CvSVMSolver_cache_size_set,0,0},
12219 {"cache_line_size",0,_wrap_CvSVMSolver_cache_line_size_get,_wrap_CvSVMSolver_cache_line_size_set,0,0},
12220 {"samples",0,_wrap_CvSVMSolver_samples_get,_wrap_CvSVMSolver_samples_set,0,0},
12221 {"params",0,_wrap_CvSVMSolver_params_get,_wrap_CvSVMSolver_params_set,0,0},
12222 {"storage",0,_wrap_CvSVMSolver_storage_get,_wrap_CvSVMSolver_storage_set,0,0},
12223 {"lru_list",0,_wrap_CvSVMSolver_lru_list_get,_wrap_CvSVMSolver_lru_list_set,0,0},
12224 {"rows",0,_wrap_CvSVMSolver_rows_get,_wrap_CvSVMSolver_rows_set,0,0},
12225 {"alpha_count",0,_wrap_CvSVMSolver_alpha_count_get,_wrap_CvSVMSolver_alpha_count_set,0,0},
12226 {"G",0,_wrap_CvSVMSolver_G_get,_wrap_CvSVMSolver_G_set,0,0},
12227 {"alpha",0,_wrap_CvSVMSolver_alpha_get,_wrap_CvSVMSolver_alpha_set,0,0},
12228 {"alpha_status",0,_wrap_CvSVMSolver_alpha_status_get,_wrap_CvSVMSolver_alpha_status_set,0,0},
12229 {"y",0,_wrap_CvSVMSolver_y_get,_wrap_CvSVMSolver_y_set,0,0},
12230 {"b",0,_wrap_CvSVMSolver_b_get,_wrap_CvSVMSolver_b_set,0,0},
12231 {"buf",0,_wrap_CvSVMSolver_buf_get,_wrap_CvSVMSolver_buf_set,0,0},
12232 {"eps",0,_wrap_CvSVMSolver_eps_get,_wrap_CvSVMSolver_eps_set,0,0},
12233 {"max_iter",0,_wrap_CvSVMSolver_max_iter_get,_wrap_CvSVMSolver_max_iter_set,0,0},
12234 {"C",0,_wrap_CvSVMSolver_C_get,_wrap_CvSVMSolver_C_set,0,0},
12235 {"kernel",0,_wrap_CvSVMSolver_kernel_get,_wrap_CvSVMSolver_kernel_set,0,0},
12236 {"select_working_set_func",0,_wrap_CvSVMSolver_select_working_set_func_get,_wrap_CvSVMSolver_select_working_set_func_set,0,0},
12237 {"calc_rho_func",0,_wrap_CvSVMSolver_calc_rho_func_get,_wrap_CvSVMSolver_calc_rho_func_set,0,0},
12238 {"get_row_func",0,_wrap_CvSVMSolver_get_row_func_get,_wrap_CvSVMSolver_get_row_func_set,0,0},
12239 {"select_working_set",_wrap_CvSVMSolver_select_working_set,0,0,0,0},
12240 {"select_working_set_nu_svm",_wrap_CvSVMSolver_select_working_set_nu_svm,0,0,0,0},
12241 {"calc_rho",_wrap_CvSVMSolver_calc_rho,0,0,0,0},
12242 {"calc_rho_nu_svm",_wrap_CvSVMSolver_calc_rho_nu_svm,0,0,0,0},
12243 {"get_row_svc",_wrap_CvSVMSolver_get_row_svc,0,0,0,0},
12244 {"get_row_one_class",_wrap_CvSVMSolver_get_row_one_class,0,0,0,0},
12245 {"get_row_svr",_wrap_CvSVMSolver_get_row_svr,0,0,0,0},
12248 static const char *swig_CvSVMSolver_base_names[] = {0};
12249 static const swig_type_info *swig_CvSVMSolver_base[] = {0};
12250 static swig_octave_class _wrap_class_CvSVMSolver = {"CvSVMSolver", &SWIGTYPE_p_CvSVMSolver,0,_wrap_new_CvSVMSolver,0,_wrap_delete_CvSVMSolver,swig_CvSVMSolver_members,swig_CvSVMSolver_base_names,swig_CvSVMSolver_base };
12252 static octave_value_list _wrap_CvSVMDecisionFunc_rho_set (const octave_value_list& args, int nargout) {
12253 CvSVMDecisionFunc *arg1 = (CvSVMDecisionFunc *) 0 ;
12259 octave_value_list _out;
12260 octave_value_list *_outp=&_out;
12261 octave_value _outv;
12263 if (!SWIG_check_num_args("CvSVMDecisionFunc_rho_set",args.length(),2,2,0)) {
12266 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMDecisionFunc, 0 | 0 );
12267 if (!SWIG_IsOK(res1)) {
12268 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMDecisionFunc_rho_set" "', argument " "1"" of type '" "CvSVMDecisionFunc *""'");
12270 arg1 = (CvSVMDecisionFunc *)(argp1);
12271 ecode2 = SWIG_AsVal_double(args(1), &val2);
12272 if (!SWIG_IsOK(ecode2)) {
12273 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvSVMDecisionFunc_rho_set" "', argument " "2"" of type '" "double""'");
12275 arg2 = (double)(val2);
12276 if (arg1) (arg1)->rho = arg2;
12277 _outv = octave_value();
12278 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
12284 static octave_value_list _wrap_CvSVMDecisionFunc_rho_get (const octave_value_list& args, int nargout) {
12285 CvSVMDecisionFunc *arg1 = (CvSVMDecisionFunc *) 0 ;
12288 octave_value_list _out;
12289 octave_value_list *_outp=&_out;
12290 octave_value _outv;
12293 if (!SWIG_check_num_args("CvSVMDecisionFunc_rho_get",args.length(),1,1,0)) {
12296 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMDecisionFunc, 0 | 0 );
12297 if (!SWIG_IsOK(res1)) {
12298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMDecisionFunc_rho_get" "', argument " "1"" of type '" "CvSVMDecisionFunc *""'");
12300 arg1 = (CvSVMDecisionFunc *)(argp1);
12301 result = (double) ((arg1)->rho);
12302 _outv = SWIG_From_double((double)(result));
12303 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
12309 static octave_value_list _wrap_CvSVMDecisionFunc_sv_count_set (const octave_value_list& args, int nargout) {
12310 CvSVMDecisionFunc *arg1 = (CvSVMDecisionFunc *) 0 ;
12316 octave_value_list _out;
12317 octave_value_list *_outp=&_out;
12318 octave_value _outv;
12320 if (!SWIG_check_num_args("CvSVMDecisionFunc_sv_count_set",args.length(),2,2,0)) {
12323 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMDecisionFunc, 0 | 0 );
12324 if (!SWIG_IsOK(res1)) {
12325 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMDecisionFunc_sv_count_set" "', argument " "1"" of type '" "CvSVMDecisionFunc *""'");
12327 arg1 = (CvSVMDecisionFunc *)(argp1);
12328 ecode2 = SWIG_AsVal_int(args(1), &val2);
12329 if (!SWIG_IsOK(ecode2)) {
12330 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvSVMDecisionFunc_sv_count_set" "', argument " "2"" of type '" "int""'");
12332 arg2 = (int)(val2);
12333 if (arg1) (arg1)->sv_count = arg2;
12334 _outv = octave_value();
12335 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
12341 static octave_value_list _wrap_CvSVMDecisionFunc_sv_count_get (const octave_value_list& args, int nargout) {
12342 CvSVMDecisionFunc *arg1 = (CvSVMDecisionFunc *) 0 ;
12345 octave_value_list _out;
12346 octave_value_list *_outp=&_out;
12347 octave_value _outv;
12350 if (!SWIG_check_num_args("CvSVMDecisionFunc_sv_count_get",args.length(),1,1,0)) {
12353 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMDecisionFunc, 0 | 0 );
12354 if (!SWIG_IsOK(res1)) {
12355 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMDecisionFunc_sv_count_get" "', argument " "1"" of type '" "CvSVMDecisionFunc *""'");
12357 arg1 = (CvSVMDecisionFunc *)(argp1);
12358 result = (int) ((arg1)->sv_count);
12359 _outv = SWIG_From_int((int)(result));
12360 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
12366 static octave_value_list _wrap_CvSVMDecisionFunc_alpha_set (const octave_value_list& args, int nargout) {
12367 CvSVMDecisionFunc *arg1 = (CvSVMDecisionFunc *) 0 ;
12368 double *arg2 = (double *) 0 ;
12373 octave_value_list _out;
12374 octave_value_list *_outp=&_out;
12375 octave_value _outv;
12377 if (!SWIG_check_num_args("CvSVMDecisionFunc_alpha_set",args.length(),2,2,0)) {
12380 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMDecisionFunc, 0 | 0 );
12381 if (!SWIG_IsOK(res1)) {
12382 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMDecisionFunc_alpha_set" "', argument " "1"" of type '" "CvSVMDecisionFunc *""'");
12384 arg1 = (CvSVMDecisionFunc *)(argp1);
12385 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_double, SWIG_POINTER_DISOWN | 0 );
12386 if (!SWIG_IsOK(res2)) {
12387 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvSVMDecisionFunc_alpha_set" "', argument " "2"" of type '" "double *""'");
12389 arg2 = (double *)(argp2);
12390 if (arg1) (arg1)->alpha = arg2;
12391 _outv = octave_value();
12392 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
12398 static octave_value_list _wrap_CvSVMDecisionFunc_alpha_get (const octave_value_list& args, int nargout) {
12399 CvSVMDecisionFunc *arg1 = (CvSVMDecisionFunc *) 0 ;
12402 octave_value_list _out;
12403 octave_value_list *_outp=&_out;
12404 octave_value _outv;
12405 double *result = 0 ;
12407 if (!SWIG_check_num_args("CvSVMDecisionFunc_alpha_get",args.length(),1,1,0)) {
12410 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMDecisionFunc, 0 | 0 );
12411 if (!SWIG_IsOK(res1)) {
12412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMDecisionFunc_alpha_get" "', argument " "1"" of type '" "CvSVMDecisionFunc *""'");
12414 arg1 = (CvSVMDecisionFunc *)(argp1);
12415 result = (double *) ((arg1)->alpha);
12416 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0 );
12417 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
12423 static octave_value_list _wrap_CvSVMDecisionFunc_sv_index_set (const octave_value_list& args, int nargout) {
12424 CvSVMDecisionFunc *arg1 = (CvSVMDecisionFunc *) 0 ;
12425 int *arg2 = (int *) 0 ;
12430 octave_value_list _out;
12431 octave_value_list *_outp=&_out;
12432 octave_value _outv;
12434 if (!SWIG_check_num_args("CvSVMDecisionFunc_sv_index_set",args.length(),2,2,0)) {
12437 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMDecisionFunc, 0 | 0 );
12438 if (!SWIG_IsOK(res1)) {
12439 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMDecisionFunc_sv_index_set" "', argument " "1"" of type '" "CvSVMDecisionFunc *""'");
12441 arg1 = (CvSVMDecisionFunc *)(argp1);
12442 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_int, SWIG_POINTER_DISOWN | 0 );
12443 if (!SWIG_IsOK(res2)) {
12444 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvSVMDecisionFunc_sv_index_set" "', argument " "2"" of type '" "int *""'");
12446 arg2 = (int *)(argp2);
12447 if (arg1) (arg1)->sv_index = arg2;
12448 _outv = octave_value();
12449 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
12455 static octave_value_list _wrap_CvSVMDecisionFunc_sv_index_get (const octave_value_list& args, int nargout) {
12456 CvSVMDecisionFunc *arg1 = (CvSVMDecisionFunc *) 0 ;
12459 octave_value_list _out;
12460 octave_value_list *_outp=&_out;
12461 octave_value _outv;
12464 if (!SWIG_check_num_args("CvSVMDecisionFunc_sv_index_get",args.length(),1,1,0)) {
12467 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMDecisionFunc, 0 | 0 );
12468 if (!SWIG_IsOK(res1)) {
12469 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVMDecisionFunc_sv_index_get" "', argument " "1"" of type '" "CvSVMDecisionFunc *""'");
12471 arg1 = (CvSVMDecisionFunc *)(argp1);
12472 result = (int *) ((arg1)->sv_index);
12473 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0 );
12474 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
12480 static octave_value_list _wrap_new_CvSVMDecisionFunc (const octave_value_list& args, int nargout) {
12481 octave_value_list _out;
12482 octave_value_list *_outp=&_out;
12483 octave_value _outv;
12484 CvSVMDecisionFunc *result = 0 ;
12486 if (!SWIG_check_num_args("new_CvSVMDecisionFunc",args.length(),0,0,0)) {
12491 result = (CvSVMDecisionFunc *)new CvSVMDecisionFunc();
12498 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvSVMDecisionFunc, 1 | 0 );
12499 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
12505 static octave_value_list _wrap_delete_CvSVMDecisionFunc (const octave_value_list& args, int nargout) {
12506 CvSVMDecisionFunc *arg1 = (CvSVMDecisionFunc *) 0 ;
12509 octave_value_list _out;
12510 octave_value_list *_outp=&_out;
12511 octave_value _outv;
12513 if (!SWIG_check_num_args("delete_CvSVMDecisionFunc",args.length(),1,1,0)) {
12516 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVMDecisionFunc, SWIG_POINTER_DISOWN | 0 );
12517 if (!SWIG_IsOK(res1)) {
12518 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CvSVMDecisionFunc" "', argument " "1"" of type '" "CvSVMDecisionFunc *""'");
12520 arg1 = (CvSVMDecisionFunc *)(argp1);
12530 _outv = octave_value();
12531 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
12537 static swig_octave_member swig_CvSVMDecisionFunc_members[] = {
12538 {"rho",0,_wrap_CvSVMDecisionFunc_rho_get,_wrap_CvSVMDecisionFunc_rho_set,0,0},
12539 {"sv_count",0,_wrap_CvSVMDecisionFunc_sv_count_get,_wrap_CvSVMDecisionFunc_sv_count_set,0,0},
12540 {"alpha",0,_wrap_CvSVMDecisionFunc_alpha_get,_wrap_CvSVMDecisionFunc_alpha_set,0,0},
12541 {"sv_index",0,_wrap_CvSVMDecisionFunc_sv_index_get,_wrap_CvSVMDecisionFunc_sv_index_set,0,0},
12544 static const char *swig_CvSVMDecisionFunc_base_names[] = {0};
12545 static const swig_type_info *swig_CvSVMDecisionFunc_base[] = {0};
12546 static swig_octave_class _wrap_class_CvSVMDecisionFunc = {"CvSVMDecisionFunc", &SWIGTYPE_p_CvSVMDecisionFunc,0,_wrap_new_CvSVMDecisionFunc,0,_wrap_delete_CvSVMDecisionFunc,swig_CvSVMDecisionFunc_members,swig_CvSVMDecisionFunc_base_names,swig_CvSVMDecisionFunc_base };
12548 static octave_value_list _wrap_new_CvSVM__SWIG_0 (const octave_value_list& args, int nargout) {
12549 octave_value_list _out;
12550 octave_value_list *_outp=&_out;
12551 octave_value _outv;
12552 CvSVM *result = 0 ;
12554 if (!SWIG_check_num_args("new_CvSVM",args.length(),0,0,0)) {
12559 result = (CvSVM *)new CvSVM();
12566 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvSVM, 1 | 0 );
12567 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
12573 static octave_value_list _wrap_delete_CvSVM (const octave_value_list& args, int nargout) {
12574 CvSVM *arg1 = (CvSVM *) 0 ;
12577 octave_value_list _out;
12578 octave_value_list *_outp=&_out;
12579 octave_value _outv;
12581 if (!SWIG_check_num_args("delete_CvSVM",args.length(),1,1,0)) {
12584 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVM, SWIG_POINTER_DISOWN | 0 );
12585 if (!SWIG_IsOK(res1)) {
12586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CvSVM" "', argument " "1"" of type '" "CvSVM *""'");
12588 arg1 = (CvSVM *)(argp1);
12598 _outv = octave_value();
12599 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
12605 static octave_value_list _wrap_new_CvSVM__SWIG_1 (const octave_value_list& args, int nargout) {
12606 CvMat *arg1 = (CvMat *) 0 ;
12607 CvMat *arg2 = (CvMat *) 0 ;
12608 CvMat *arg3 = (CvMat *) 0 ;
12609 CvMat *arg4 = (CvMat *) 0 ;
12621 octave_value_list _out;
12622 octave_value_list *_outp=&_out;
12623 octave_value _outv;
12624 CvSVM *result = 0 ;
12626 if (!SWIG_check_num_args("new_CvSVM",args.length(),5,5,0)) {
12629 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvMat, 0 | 0 );
12630 if (!SWIG_IsOK(res1)) {
12631 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CvSVM" "', argument " "1"" of type '" "CvMat const *""'");
12633 arg1 = (CvMat *)(argp1);
12634 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
12635 if (!SWIG_IsOK(res2)) {
12636 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_CvSVM" "', argument " "2"" of type '" "CvMat const *""'");
12638 arg2 = (CvMat *)(argp2);
12639 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvMat, 0 | 0 );
12640 if (!SWIG_IsOK(res3)) {
12641 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_CvSVM" "', argument " "3"" of type '" "CvMat const *""'");
12643 arg3 = (CvMat *)(argp3);
12644 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
12645 if (!SWIG_IsOK(res4)) {
12646 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_CvSVM" "', argument " "4"" of type '" "CvMat const *""'");
12648 arg4 = (CvMat *)(argp4);
12650 res5 = SWIG_ConvertPtr(args(4), &argp5, SWIGTYPE_p_CvSVMParams, 0 );
12651 if (!SWIG_IsOK(res5)) {
12652 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_CvSVM" "', argument " "5"" of type '" "CvSVMParams""'");
12655 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_CvSVM" "', argument " "5"" of type '" "CvSVMParams""'");
12657 arg5 = *((CvSVMParams *)(argp5));
12662 result = (CvSVM *)new CvSVM((CvMat const *)arg1,(CvMat const *)arg2,(CvMat const *)arg3,(CvMat const *)arg4,arg5);
12669 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvSVM, 1 | 0 );
12670 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
12676 static octave_value_list _wrap_new_CvSVM__SWIG_2 (const octave_value_list& args, int nargout) {
12677 CvMat *arg1 = (CvMat *) 0 ;
12678 CvMat *arg2 = (CvMat *) 0 ;
12679 CvMat *arg3 = (CvMat *) 0 ;
12680 CvMat *arg4 = (CvMat *) 0 ;
12689 octave_value_list _out;
12690 octave_value_list *_outp=&_out;
12691 octave_value _outv;
12692 CvSVM *result = 0 ;
12694 if (!SWIG_check_num_args("new_CvSVM",args.length(),4,4,0)) {
12697 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvMat, 0 | 0 );
12698 if (!SWIG_IsOK(res1)) {
12699 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CvSVM" "', argument " "1"" of type '" "CvMat const *""'");
12701 arg1 = (CvMat *)(argp1);
12702 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
12703 if (!SWIG_IsOK(res2)) {
12704 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_CvSVM" "', argument " "2"" of type '" "CvMat const *""'");
12706 arg2 = (CvMat *)(argp2);
12707 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvMat, 0 | 0 );
12708 if (!SWIG_IsOK(res3)) {
12709 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_CvSVM" "', argument " "3"" of type '" "CvMat const *""'");
12711 arg3 = (CvMat *)(argp3);
12712 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
12713 if (!SWIG_IsOK(res4)) {
12714 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_CvSVM" "', argument " "4"" of type '" "CvMat const *""'");
12716 arg4 = (CvMat *)(argp4);
12719 result = (CvSVM *)new CvSVM((CvMat const *)arg1,(CvMat const *)arg2,(CvMat const *)arg3,(CvMat const *)arg4);
12726 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvSVM, 1 | 0 );
12727 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
12733 static octave_value_list _wrap_new_CvSVM__SWIG_3 (const octave_value_list& args, int nargout) {
12734 CvMat *arg1 = (CvMat *) 0 ;
12735 CvMat *arg2 = (CvMat *) 0 ;
12736 CvMat *arg3 = (CvMat *) 0 ;
12743 octave_value_list _out;
12744 octave_value_list *_outp=&_out;
12745 octave_value _outv;
12746 CvSVM *result = 0 ;
12748 if (!SWIG_check_num_args("new_CvSVM",args.length(),3,3,0)) {
12751 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvMat, 0 | 0 );
12752 if (!SWIG_IsOK(res1)) {
12753 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CvSVM" "', argument " "1"" of type '" "CvMat const *""'");
12755 arg1 = (CvMat *)(argp1);
12756 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
12757 if (!SWIG_IsOK(res2)) {
12758 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_CvSVM" "', argument " "2"" of type '" "CvMat const *""'");
12760 arg2 = (CvMat *)(argp2);
12761 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvMat, 0 | 0 );
12762 if (!SWIG_IsOK(res3)) {
12763 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_CvSVM" "', argument " "3"" of type '" "CvMat const *""'");
12765 arg3 = (CvMat *)(argp3);
12768 result = (CvSVM *)new CvSVM((CvMat const *)arg1,(CvMat const *)arg2,(CvMat const *)arg3);
12775 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvSVM, 1 | 0 );
12776 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
12782 static octave_value_list _wrap_new_CvSVM__SWIG_4 (const octave_value_list& args, int nargout) {
12783 CvMat *arg1 = (CvMat *) 0 ;
12784 CvMat *arg2 = (CvMat *) 0 ;
12789 octave_value_list _out;
12790 octave_value_list *_outp=&_out;
12791 octave_value _outv;
12792 CvSVM *result = 0 ;
12794 if (!SWIG_check_num_args("new_CvSVM",args.length(),2,2,0)) {
12797 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvMat, 0 | 0 );
12798 if (!SWIG_IsOK(res1)) {
12799 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CvSVM" "', argument " "1"" of type '" "CvMat const *""'");
12801 arg1 = (CvMat *)(argp1);
12802 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
12803 if (!SWIG_IsOK(res2)) {
12804 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_CvSVM" "', argument " "2"" of type '" "CvMat const *""'");
12806 arg2 = (CvMat *)(argp2);
12809 result = (CvSVM *)new CvSVM((CvMat const *)arg1,(CvMat const *)arg2);
12816 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvSVM, 1 | 0 );
12817 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
12823 static octave_value_list _wrap_new_CvSVM (const octave_value_list& args, int nargout) {
12824 int argc = args.length();
12825 octave_value_ref argv[5]={
12826 octave_value_ref(args,0),octave_value_ref(args,1),octave_value_ref(args,2),octave_value_ref(args,3),octave_value_ref(args,4)
12830 return _wrap_new_CvSVM__SWIG_0(args, nargout);
12835 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvMat, 0);
12836 _v = SWIG_CheckState(res);
12839 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
12840 _v = SWIG_CheckState(res);
12842 return _wrap_new_CvSVM__SWIG_4(args, nargout);
12849 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvMat, 0);
12850 _v = SWIG_CheckState(res);
12853 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
12854 _v = SWIG_CheckState(res);
12857 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvMat, 0);
12858 _v = SWIG_CheckState(res);
12860 return _wrap_new_CvSVM__SWIG_3(args, nargout);
12868 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvMat, 0);
12869 _v = SWIG_CheckState(res);
12872 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
12873 _v = SWIG_CheckState(res);
12876 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvMat, 0);
12877 _v = SWIG_CheckState(res);
12880 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
12881 _v = SWIG_CheckState(res);
12883 return _wrap_new_CvSVM__SWIG_2(args, nargout);
12892 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvMat, 0);
12893 _v = SWIG_CheckState(res);
12896 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
12897 _v = SWIG_CheckState(res);
12900 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvMat, 0);
12901 _v = SWIG_CheckState(res);
12904 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
12905 _v = SWIG_CheckState(res);
12908 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvSVMParams, 0);
12909 _v = SWIG_CheckState(res);
12911 return _wrap_new_CvSVM__SWIG_1(args, nargout);
12919 error("No matching function for overload");
12920 return octave_value_list();
12924 static octave_value_list _wrap_CvSVM_train__SWIG_0 (const octave_value_list& args, int nargout) {
12925 CvSVM *arg1 = (CvSVM *) 0 ;
12926 CvMat *arg2 = (CvMat *) 0 ;
12927 CvMat *arg3 = (CvMat *) 0 ;
12928 CvMat *arg4 = (CvMat *) 0 ;
12929 CvMat *arg5 = (CvMat *) 0 ;
12943 octave_value_list _out;
12944 octave_value_list *_outp=&_out;
12945 octave_value _outv;
12948 if (!SWIG_check_num_args("CvSVM_train",args.length(),6,6,0)) {
12951 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVM, 0 | 0 );
12952 if (!SWIG_IsOK(res1)) {
12953 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVM_train" "', argument " "1"" of type '" "CvSVM *""'");
12955 arg1 = (CvSVM *)(argp1);
12956 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
12957 if (!SWIG_IsOK(res2)) {
12958 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvSVM_train" "', argument " "2"" of type '" "CvMat const *""'");
12960 arg2 = (CvMat *)(argp2);
12961 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvMat, 0 | 0 );
12962 if (!SWIG_IsOK(res3)) {
12963 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvSVM_train" "', argument " "3"" of type '" "CvMat const *""'");
12965 arg3 = (CvMat *)(argp3);
12966 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
12967 if (!SWIG_IsOK(res4)) {
12968 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvSVM_train" "', argument " "4"" of type '" "CvMat const *""'");
12970 arg4 = (CvMat *)(argp4);
12971 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
12972 if (!SWIG_IsOK(res5)) {
12973 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvSVM_train" "', argument " "5"" of type '" "CvMat const *""'");
12975 arg5 = (CvMat *)(argp5);
12977 res6 = SWIG_ConvertPtr(args(5), &argp6, SWIGTYPE_p_CvSVMParams, 0 );
12978 if (!SWIG_IsOK(res6)) {
12979 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "CvSVM_train" "', argument " "6"" of type '" "CvSVMParams""'");
12982 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvSVM_train" "', argument " "6"" of type '" "CvSVMParams""'");
12984 arg6 = *((CvSVMParams *)(argp6));
12989 result = (bool)(arg1)->train((CvMat const *)arg2,(CvMat const *)arg3,(CvMat const *)arg4,(CvMat const *)arg5,arg6);
12996 _outv = SWIG_From_bool((bool)(result));
12997 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
13003 static octave_value_list _wrap_CvSVM_train__SWIG_1 (const octave_value_list& args, int nargout) {
13004 CvSVM *arg1 = (CvSVM *) 0 ;
13005 CvMat *arg2 = (CvMat *) 0 ;
13006 CvMat *arg3 = (CvMat *) 0 ;
13007 CvMat *arg4 = (CvMat *) 0 ;
13008 CvMat *arg5 = (CvMat *) 0 ;
13019 octave_value_list _out;
13020 octave_value_list *_outp=&_out;
13021 octave_value _outv;
13024 if (!SWIG_check_num_args("CvSVM_train",args.length(),5,5,0)) {
13027 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVM, 0 | 0 );
13028 if (!SWIG_IsOK(res1)) {
13029 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVM_train" "', argument " "1"" of type '" "CvSVM *""'");
13031 arg1 = (CvSVM *)(argp1);
13032 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
13033 if (!SWIG_IsOK(res2)) {
13034 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvSVM_train" "', argument " "2"" of type '" "CvMat const *""'");
13036 arg2 = (CvMat *)(argp2);
13037 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvMat, 0 | 0 );
13038 if (!SWIG_IsOK(res3)) {
13039 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvSVM_train" "', argument " "3"" of type '" "CvMat const *""'");
13041 arg3 = (CvMat *)(argp3);
13042 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
13043 if (!SWIG_IsOK(res4)) {
13044 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvSVM_train" "', argument " "4"" of type '" "CvMat const *""'");
13046 arg4 = (CvMat *)(argp4);
13047 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
13048 if (!SWIG_IsOK(res5)) {
13049 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvSVM_train" "', argument " "5"" of type '" "CvMat const *""'");
13051 arg5 = (CvMat *)(argp5);
13054 result = (bool)(arg1)->train((CvMat const *)arg2,(CvMat const *)arg3,(CvMat const *)arg4,(CvMat const *)arg5);
13061 _outv = SWIG_From_bool((bool)(result));
13062 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
13068 static octave_value_list _wrap_CvSVM_train__SWIG_2 (const octave_value_list& args, int nargout) {
13069 CvSVM *arg1 = (CvSVM *) 0 ;
13070 CvMat *arg2 = (CvMat *) 0 ;
13071 CvMat *arg3 = (CvMat *) 0 ;
13072 CvMat *arg4 = (CvMat *) 0 ;
13081 octave_value_list _out;
13082 octave_value_list *_outp=&_out;
13083 octave_value _outv;
13086 if (!SWIG_check_num_args("CvSVM_train",args.length(),4,4,0)) {
13089 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVM, 0 | 0 );
13090 if (!SWIG_IsOK(res1)) {
13091 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVM_train" "', argument " "1"" of type '" "CvSVM *""'");
13093 arg1 = (CvSVM *)(argp1);
13094 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
13095 if (!SWIG_IsOK(res2)) {
13096 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvSVM_train" "', argument " "2"" of type '" "CvMat const *""'");
13098 arg2 = (CvMat *)(argp2);
13099 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvMat, 0 | 0 );
13100 if (!SWIG_IsOK(res3)) {
13101 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvSVM_train" "', argument " "3"" of type '" "CvMat const *""'");
13103 arg3 = (CvMat *)(argp3);
13104 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
13105 if (!SWIG_IsOK(res4)) {
13106 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvSVM_train" "', argument " "4"" of type '" "CvMat const *""'");
13108 arg4 = (CvMat *)(argp4);
13111 result = (bool)(arg1)->train((CvMat const *)arg2,(CvMat const *)arg3,(CvMat const *)arg4);
13118 _outv = SWIG_From_bool((bool)(result));
13119 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
13125 static octave_value_list _wrap_CvSVM_train__SWIG_3 (const octave_value_list& args, int nargout) {
13126 CvSVM *arg1 = (CvSVM *) 0 ;
13127 CvMat *arg2 = (CvMat *) 0 ;
13128 CvMat *arg3 = (CvMat *) 0 ;
13135 octave_value_list _out;
13136 octave_value_list *_outp=&_out;
13137 octave_value _outv;
13140 if (!SWIG_check_num_args("CvSVM_train",args.length(),3,3,0)) {
13143 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVM, 0 | 0 );
13144 if (!SWIG_IsOK(res1)) {
13145 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVM_train" "', argument " "1"" of type '" "CvSVM *""'");
13147 arg1 = (CvSVM *)(argp1);
13148 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
13149 if (!SWIG_IsOK(res2)) {
13150 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvSVM_train" "', argument " "2"" of type '" "CvMat const *""'");
13152 arg2 = (CvMat *)(argp2);
13153 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvMat, 0 | 0 );
13154 if (!SWIG_IsOK(res3)) {
13155 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvSVM_train" "', argument " "3"" of type '" "CvMat const *""'");
13157 arg3 = (CvMat *)(argp3);
13160 result = (bool)(arg1)->train((CvMat const *)arg2,(CvMat const *)arg3);
13167 _outv = SWIG_From_bool((bool)(result));
13168 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
13174 static octave_value_list _wrap_CvSVM_train (const octave_value_list& args, int nargout) {
13175 int argc = args.length();
13176 octave_value_ref argv[6]={
13177 octave_value_ref(args,0),octave_value_ref(args,1),octave_value_ref(args,2),octave_value_ref(args,3),octave_value_ref(args,4),octave_value_ref(args,5)
13183 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvSVM, 0);
13184 _v = SWIG_CheckState(res);
13187 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
13188 _v = SWIG_CheckState(res);
13191 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvMat, 0);
13192 _v = SWIG_CheckState(res);
13194 return _wrap_CvSVM_train__SWIG_3(args, nargout);
13202 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvSVM, 0);
13203 _v = SWIG_CheckState(res);
13206 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
13207 _v = SWIG_CheckState(res);
13210 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvMat, 0);
13211 _v = SWIG_CheckState(res);
13214 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
13215 _v = SWIG_CheckState(res);
13217 return _wrap_CvSVM_train__SWIG_2(args, nargout);
13226 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvSVM, 0);
13227 _v = SWIG_CheckState(res);
13230 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
13231 _v = SWIG_CheckState(res);
13234 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvMat, 0);
13235 _v = SWIG_CheckState(res);
13238 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
13239 _v = SWIG_CheckState(res);
13242 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvMat, 0);
13243 _v = SWIG_CheckState(res);
13245 return _wrap_CvSVM_train__SWIG_1(args, nargout);
13255 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvSVM, 0);
13256 _v = SWIG_CheckState(res);
13259 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
13260 _v = SWIG_CheckState(res);
13263 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvMat, 0);
13264 _v = SWIG_CheckState(res);
13267 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
13268 _v = SWIG_CheckState(res);
13271 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvMat, 0);
13272 _v = SWIG_CheckState(res);
13275 int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_CvSVMParams, 0);
13276 _v = SWIG_CheckState(res);
13278 return _wrap_CvSVM_train__SWIG_0(args, nargout);
13287 error("No matching function for overload");
13288 return octave_value_list();
13292 static octave_value_list _wrap_CvSVM_train_auto__SWIG_0 (const octave_value_list& args, int nargout) {
13293 CvSVM *arg1 = (CvSVM *) 0 ;
13294 CvMat *arg2 = (CvMat *) 0 ;
13295 CvMat *arg3 = (CvMat *) 0 ;
13296 CvMat *arg4 = (CvMat *) 0 ;
13297 CvMat *arg5 = (CvMat *) 0 ;
13302 CvParamGrid arg10 ;
13303 CvParamGrid arg11 ;
13304 CvParamGrid arg12 ;
13305 CvParamGrid arg13 ;
13332 octave_value_list _out;
13333 octave_value_list *_outp=&_out;
13334 octave_value _outv;
13337 if (!SWIG_check_num_args("CvSVM_train_auto",args.length(),13,13,0)) {
13340 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVM, 0 | 0 );
13341 if (!SWIG_IsOK(res1)) {
13342 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVM_train_auto" "', argument " "1"" of type '" "CvSVM *""'");
13344 arg1 = (CvSVM *)(argp1);
13345 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
13346 if (!SWIG_IsOK(res2)) {
13347 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvSVM_train_auto" "', argument " "2"" of type '" "CvMat const *""'");
13349 arg2 = (CvMat *)(argp2);
13350 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvMat, 0 | 0 );
13351 if (!SWIG_IsOK(res3)) {
13352 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvSVM_train_auto" "', argument " "3"" of type '" "CvMat const *""'");
13354 arg3 = (CvMat *)(argp3);
13355 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
13356 if (!SWIG_IsOK(res4)) {
13357 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvSVM_train_auto" "', argument " "4"" of type '" "CvMat const *""'");
13359 arg4 = (CvMat *)(argp4);
13360 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
13361 if (!SWIG_IsOK(res5)) {
13362 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvSVM_train_auto" "', argument " "5"" of type '" "CvMat const *""'");
13364 arg5 = (CvMat *)(argp5);
13366 res6 = SWIG_ConvertPtr(args(5), &argp6, SWIGTYPE_p_CvSVMParams, 0 );
13367 if (!SWIG_IsOK(res6)) {
13368 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "CvSVM_train_auto" "', argument " "6"" of type '" "CvSVMParams""'");
13371 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvSVM_train_auto" "', argument " "6"" of type '" "CvSVMParams""'");
13373 arg6 = *((CvSVMParams *)(argp6));
13376 ecode7 = SWIG_AsVal_int(args(6), &val7);
13377 if (!SWIG_IsOK(ecode7)) {
13378 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "CvSVM_train_auto" "', argument " "7"" of type '" "int""'");
13380 arg7 = (int)(val7);
13382 res8 = SWIG_ConvertPtr(args(7), &argp8, SWIGTYPE_p_CvParamGrid, 0 );
13383 if (!SWIG_IsOK(res8)) {
13384 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CvSVM_train_auto" "', argument " "8"" of type '" "CvParamGrid""'");
13387 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvSVM_train_auto" "', argument " "8"" of type '" "CvParamGrid""'");
13389 arg8 = *((CvParamGrid *)(argp8));
13393 res9 = SWIG_ConvertPtr(args(8), &argp9, SWIGTYPE_p_CvParamGrid, 0 );
13394 if (!SWIG_IsOK(res9)) {
13395 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "CvSVM_train_auto" "', argument " "9"" of type '" "CvParamGrid""'");
13398 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvSVM_train_auto" "', argument " "9"" of type '" "CvParamGrid""'");
13400 arg9 = *((CvParamGrid *)(argp9));
13404 res10 = SWIG_ConvertPtr(args(9), &argp10, SWIGTYPE_p_CvParamGrid, 0 );
13405 if (!SWIG_IsOK(res10)) {
13406 SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "CvSVM_train_auto" "', argument " "10"" of type '" "CvParamGrid""'");
13409 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvSVM_train_auto" "', argument " "10"" of type '" "CvParamGrid""'");
13411 arg10 = *((CvParamGrid *)(argp10));
13415 res11 = SWIG_ConvertPtr(args(10), &argp11, SWIGTYPE_p_CvParamGrid, 0 );
13416 if (!SWIG_IsOK(res11)) {
13417 SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "CvSVM_train_auto" "', argument " "11"" of type '" "CvParamGrid""'");
13420 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvSVM_train_auto" "', argument " "11"" of type '" "CvParamGrid""'");
13422 arg11 = *((CvParamGrid *)(argp11));
13426 res12 = SWIG_ConvertPtr(args(11), &argp12, SWIGTYPE_p_CvParamGrid, 0 );
13427 if (!SWIG_IsOK(res12)) {
13428 SWIG_exception_fail(SWIG_ArgError(res12), "in method '" "CvSVM_train_auto" "', argument " "12"" of type '" "CvParamGrid""'");
13431 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvSVM_train_auto" "', argument " "12"" of type '" "CvParamGrid""'");
13433 arg12 = *((CvParamGrid *)(argp12));
13437 res13 = SWIG_ConvertPtr(args(12), &argp13, SWIGTYPE_p_CvParamGrid, 0 );
13438 if (!SWIG_IsOK(res13)) {
13439 SWIG_exception_fail(SWIG_ArgError(res13), "in method '" "CvSVM_train_auto" "', argument " "13"" of type '" "CvParamGrid""'");
13442 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvSVM_train_auto" "', argument " "13"" of type '" "CvParamGrid""'");
13444 arg13 = *((CvParamGrid *)(argp13));
13449 result = (bool)(arg1)->train_auto((CvMat const *)arg2,(CvMat const *)arg3,(CvMat const *)arg4,(CvMat const *)arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13);
13456 _outv = SWIG_From_bool((bool)(result));
13457 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
13463 static octave_value_list _wrap_CvSVM_train_auto__SWIG_1 (const octave_value_list& args, int nargout) {
13464 CvSVM *arg1 = (CvSVM *) 0 ;
13465 CvMat *arg2 = (CvMat *) 0 ;
13466 CvMat *arg3 = (CvMat *) 0 ;
13467 CvMat *arg4 = (CvMat *) 0 ;
13468 CvMat *arg5 = (CvMat *) 0 ;
13473 CvParamGrid arg10 ;
13474 CvParamGrid arg11 ;
13475 CvParamGrid arg12 ;
13500 octave_value_list _out;
13501 octave_value_list *_outp=&_out;
13502 octave_value _outv;
13505 if (!SWIG_check_num_args("CvSVM_train_auto",args.length(),12,12,0)) {
13508 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVM, 0 | 0 );
13509 if (!SWIG_IsOK(res1)) {
13510 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVM_train_auto" "', argument " "1"" of type '" "CvSVM *""'");
13512 arg1 = (CvSVM *)(argp1);
13513 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
13514 if (!SWIG_IsOK(res2)) {
13515 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvSVM_train_auto" "', argument " "2"" of type '" "CvMat const *""'");
13517 arg2 = (CvMat *)(argp2);
13518 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvMat, 0 | 0 );
13519 if (!SWIG_IsOK(res3)) {
13520 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvSVM_train_auto" "', argument " "3"" of type '" "CvMat const *""'");
13522 arg3 = (CvMat *)(argp3);
13523 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
13524 if (!SWIG_IsOK(res4)) {
13525 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvSVM_train_auto" "', argument " "4"" of type '" "CvMat const *""'");
13527 arg4 = (CvMat *)(argp4);
13528 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
13529 if (!SWIG_IsOK(res5)) {
13530 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvSVM_train_auto" "', argument " "5"" of type '" "CvMat const *""'");
13532 arg5 = (CvMat *)(argp5);
13534 res6 = SWIG_ConvertPtr(args(5), &argp6, SWIGTYPE_p_CvSVMParams, 0 );
13535 if (!SWIG_IsOK(res6)) {
13536 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "CvSVM_train_auto" "', argument " "6"" of type '" "CvSVMParams""'");
13539 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvSVM_train_auto" "', argument " "6"" of type '" "CvSVMParams""'");
13541 arg6 = *((CvSVMParams *)(argp6));
13544 ecode7 = SWIG_AsVal_int(args(6), &val7);
13545 if (!SWIG_IsOK(ecode7)) {
13546 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "CvSVM_train_auto" "', argument " "7"" of type '" "int""'");
13548 arg7 = (int)(val7);
13550 res8 = SWIG_ConvertPtr(args(7), &argp8, SWIGTYPE_p_CvParamGrid, 0 );
13551 if (!SWIG_IsOK(res8)) {
13552 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CvSVM_train_auto" "', argument " "8"" of type '" "CvParamGrid""'");
13555 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvSVM_train_auto" "', argument " "8"" of type '" "CvParamGrid""'");
13557 arg8 = *((CvParamGrid *)(argp8));
13561 res9 = SWIG_ConvertPtr(args(8), &argp9, SWIGTYPE_p_CvParamGrid, 0 );
13562 if (!SWIG_IsOK(res9)) {
13563 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "CvSVM_train_auto" "', argument " "9"" of type '" "CvParamGrid""'");
13566 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvSVM_train_auto" "', argument " "9"" of type '" "CvParamGrid""'");
13568 arg9 = *((CvParamGrid *)(argp9));
13572 res10 = SWIG_ConvertPtr(args(9), &argp10, SWIGTYPE_p_CvParamGrid, 0 );
13573 if (!SWIG_IsOK(res10)) {
13574 SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "CvSVM_train_auto" "', argument " "10"" of type '" "CvParamGrid""'");
13577 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvSVM_train_auto" "', argument " "10"" of type '" "CvParamGrid""'");
13579 arg10 = *((CvParamGrid *)(argp10));
13583 res11 = SWIG_ConvertPtr(args(10), &argp11, SWIGTYPE_p_CvParamGrid, 0 );
13584 if (!SWIG_IsOK(res11)) {
13585 SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "CvSVM_train_auto" "', argument " "11"" of type '" "CvParamGrid""'");
13588 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvSVM_train_auto" "', argument " "11"" of type '" "CvParamGrid""'");
13590 arg11 = *((CvParamGrid *)(argp11));
13594 res12 = SWIG_ConvertPtr(args(11), &argp12, SWIGTYPE_p_CvParamGrid, 0 );
13595 if (!SWIG_IsOK(res12)) {
13596 SWIG_exception_fail(SWIG_ArgError(res12), "in method '" "CvSVM_train_auto" "', argument " "12"" of type '" "CvParamGrid""'");
13599 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvSVM_train_auto" "', argument " "12"" of type '" "CvParamGrid""'");
13601 arg12 = *((CvParamGrid *)(argp12));
13606 result = (bool)(arg1)->train_auto((CvMat const *)arg2,(CvMat const *)arg3,(CvMat const *)arg4,(CvMat const *)arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12);
13613 _outv = SWIG_From_bool((bool)(result));
13614 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
13620 static octave_value_list _wrap_CvSVM_train_auto__SWIG_2 (const octave_value_list& args, int nargout) {
13621 CvSVM *arg1 = (CvSVM *) 0 ;
13622 CvMat *arg2 = (CvMat *) 0 ;
13623 CvMat *arg3 = (CvMat *) 0 ;
13624 CvMat *arg4 = (CvMat *) 0 ;
13625 CvMat *arg5 = (CvMat *) 0 ;
13630 CvParamGrid arg10 ;
13631 CvParamGrid arg11 ;
13654 octave_value_list _out;
13655 octave_value_list *_outp=&_out;
13656 octave_value _outv;
13659 if (!SWIG_check_num_args("CvSVM_train_auto",args.length(),11,11,0)) {
13662 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVM, 0 | 0 );
13663 if (!SWIG_IsOK(res1)) {
13664 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVM_train_auto" "', argument " "1"" of type '" "CvSVM *""'");
13666 arg1 = (CvSVM *)(argp1);
13667 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
13668 if (!SWIG_IsOK(res2)) {
13669 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvSVM_train_auto" "', argument " "2"" of type '" "CvMat const *""'");
13671 arg2 = (CvMat *)(argp2);
13672 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvMat, 0 | 0 );
13673 if (!SWIG_IsOK(res3)) {
13674 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvSVM_train_auto" "', argument " "3"" of type '" "CvMat const *""'");
13676 arg3 = (CvMat *)(argp3);
13677 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
13678 if (!SWIG_IsOK(res4)) {
13679 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvSVM_train_auto" "', argument " "4"" of type '" "CvMat const *""'");
13681 arg4 = (CvMat *)(argp4);
13682 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
13683 if (!SWIG_IsOK(res5)) {
13684 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvSVM_train_auto" "', argument " "5"" of type '" "CvMat const *""'");
13686 arg5 = (CvMat *)(argp5);
13688 res6 = SWIG_ConvertPtr(args(5), &argp6, SWIGTYPE_p_CvSVMParams, 0 );
13689 if (!SWIG_IsOK(res6)) {
13690 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "CvSVM_train_auto" "', argument " "6"" of type '" "CvSVMParams""'");
13693 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvSVM_train_auto" "', argument " "6"" of type '" "CvSVMParams""'");
13695 arg6 = *((CvSVMParams *)(argp6));
13698 ecode7 = SWIG_AsVal_int(args(6), &val7);
13699 if (!SWIG_IsOK(ecode7)) {
13700 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "CvSVM_train_auto" "', argument " "7"" of type '" "int""'");
13702 arg7 = (int)(val7);
13704 res8 = SWIG_ConvertPtr(args(7), &argp8, SWIGTYPE_p_CvParamGrid, 0 );
13705 if (!SWIG_IsOK(res8)) {
13706 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CvSVM_train_auto" "', argument " "8"" of type '" "CvParamGrid""'");
13709 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvSVM_train_auto" "', argument " "8"" of type '" "CvParamGrid""'");
13711 arg8 = *((CvParamGrid *)(argp8));
13715 res9 = SWIG_ConvertPtr(args(8), &argp9, SWIGTYPE_p_CvParamGrid, 0 );
13716 if (!SWIG_IsOK(res9)) {
13717 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "CvSVM_train_auto" "', argument " "9"" of type '" "CvParamGrid""'");
13720 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvSVM_train_auto" "', argument " "9"" of type '" "CvParamGrid""'");
13722 arg9 = *((CvParamGrid *)(argp9));
13726 res10 = SWIG_ConvertPtr(args(9), &argp10, SWIGTYPE_p_CvParamGrid, 0 );
13727 if (!SWIG_IsOK(res10)) {
13728 SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "CvSVM_train_auto" "', argument " "10"" of type '" "CvParamGrid""'");
13731 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvSVM_train_auto" "', argument " "10"" of type '" "CvParamGrid""'");
13733 arg10 = *((CvParamGrid *)(argp10));
13737 res11 = SWIG_ConvertPtr(args(10), &argp11, SWIGTYPE_p_CvParamGrid, 0 );
13738 if (!SWIG_IsOK(res11)) {
13739 SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "CvSVM_train_auto" "', argument " "11"" of type '" "CvParamGrid""'");
13742 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvSVM_train_auto" "', argument " "11"" of type '" "CvParamGrid""'");
13744 arg11 = *((CvParamGrid *)(argp11));
13749 result = (bool)(arg1)->train_auto((CvMat const *)arg2,(CvMat const *)arg3,(CvMat const *)arg4,(CvMat const *)arg5,arg6,arg7,arg8,arg9,arg10,arg11);
13756 _outv = SWIG_From_bool((bool)(result));
13757 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
13763 static octave_value_list _wrap_CvSVM_train_auto__SWIG_3 (const octave_value_list& args, int nargout) {
13764 CvSVM *arg1 = (CvSVM *) 0 ;
13765 CvMat *arg2 = (CvMat *) 0 ;
13766 CvMat *arg3 = (CvMat *) 0 ;
13767 CvMat *arg4 = (CvMat *) 0 ;
13768 CvMat *arg5 = (CvMat *) 0 ;
13773 CvParamGrid arg10 ;
13794 octave_value_list _out;
13795 octave_value_list *_outp=&_out;
13796 octave_value _outv;
13799 if (!SWIG_check_num_args("CvSVM_train_auto",args.length(),10,10,0)) {
13802 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVM, 0 | 0 );
13803 if (!SWIG_IsOK(res1)) {
13804 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVM_train_auto" "', argument " "1"" of type '" "CvSVM *""'");
13806 arg1 = (CvSVM *)(argp1);
13807 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
13808 if (!SWIG_IsOK(res2)) {
13809 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvSVM_train_auto" "', argument " "2"" of type '" "CvMat const *""'");
13811 arg2 = (CvMat *)(argp2);
13812 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvMat, 0 | 0 );
13813 if (!SWIG_IsOK(res3)) {
13814 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvSVM_train_auto" "', argument " "3"" of type '" "CvMat const *""'");
13816 arg3 = (CvMat *)(argp3);
13817 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
13818 if (!SWIG_IsOK(res4)) {
13819 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvSVM_train_auto" "', argument " "4"" of type '" "CvMat const *""'");
13821 arg4 = (CvMat *)(argp4);
13822 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
13823 if (!SWIG_IsOK(res5)) {
13824 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvSVM_train_auto" "', argument " "5"" of type '" "CvMat const *""'");
13826 arg5 = (CvMat *)(argp5);
13828 res6 = SWIG_ConvertPtr(args(5), &argp6, SWIGTYPE_p_CvSVMParams, 0 );
13829 if (!SWIG_IsOK(res6)) {
13830 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "CvSVM_train_auto" "', argument " "6"" of type '" "CvSVMParams""'");
13833 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvSVM_train_auto" "', argument " "6"" of type '" "CvSVMParams""'");
13835 arg6 = *((CvSVMParams *)(argp6));
13838 ecode7 = SWIG_AsVal_int(args(6), &val7);
13839 if (!SWIG_IsOK(ecode7)) {
13840 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "CvSVM_train_auto" "', argument " "7"" of type '" "int""'");
13842 arg7 = (int)(val7);
13844 res8 = SWIG_ConvertPtr(args(7), &argp8, SWIGTYPE_p_CvParamGrid, 0 );
13845 if (!SWIG_IsOK(res8)) {
13846 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CvSVM_train_auto" "', argument " "8"" of type '" "CvParamGrid""'");
13849 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvSVM_train_auto" "', argument " "8"" of type '" "CvParamGrid""'");
13851 arg8 = *((CvParamGrid *)(argp8));
13855 res9 = SWIG_ConvertPtr(args(8), &argp9, SWIGTYPE_p_CvParamGrid, 0 );
13856 if (!SWIG_IsOK(res9)) {
13857 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "CvSVM_train_auto" "', argument " "9"" of type '" "CvParamGrid""'");
13860 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvSVM_train_auto" "', argument " "9"" of type '" "CvParamGrid""'");
13862 arg9 = *((CvParamGrid *)(argp9));
13866 res10 = SWIG_ConvertPtr(args(9), &argp10, SWIGTYPE_p_CvParamGrid, 0 );
13867 if (!SWIG_IsOK(res10)) {
13868 SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "CvSVM_train_auto" "', argument " "10"" of type '" "CvParamGrid""'");
13871 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvSVM_train_auto" "', argument " "10"" of type '" "CvParamGrid""'");
13873 arg10 = *((CvParamGrid *)(argp10));
13878 result = (bool)(arg1)->train_auto((CvMat const *)arg2,(CvMat const *)arg3,(CvMat const *)arg4,(CvMat const *)arg5,arg6,arg7,arg8,arg9,arg10);
13885 _outv = SWIG_From_bool((bool)(result));
13886 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
13892 static octave_value_list _wrap_CvSVM_train_auto__SWIG_4 (const octave_value_list& args, int nargout) {
13893 CvSVM *arg1 = (CvSVM *) 0 ;
13894 CvMat *arg2 = (CvMat *) 0 ;
13895 CvMat *arg3 = (CvMat *) 0 ;
13896 CvMat *arg4 = (CvMat *) 0 ;
13897 CvMat *arg5 = (CvMat *) 0 ;
13920 octave_value_list _out;
13921 octave_value_list *_outp=&_out;
13922 octave_value _outv;
13925 if (!SWIG_check_num_args("CvSVM_train_auto",args.length(),9,9,0)) {
13928 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVM, 0 | 0 );
13929 if (!SWIG_IsOK(res1)) {
13930 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVM_train_auto" "', argument " "1"" of type '" "CvSVM *""'");
13932 arg1 = (CvSVM *)(argp1);
13933 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
13934 if (!SWIG_IsOK(res2)) {
13935 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvSVM_train_auto" "', argument " "2"" of type '" "CvMat const *""'");
13937 arg2 = (CvMat *)(argp2);
13938 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvMat, 0 | 0 );
13939 if (!SWIG_IsOK(res3)) {
13940 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvSVM_train_auto" "', argument " "3"" of type '" "CvMat const *""'");
13942 arg3 = (CvMat *)(argp3);
13943 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
13944 if (!SWIG_IsOK(res4)) {
13945 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvSVM_train_auto" "', argument " "4"" of type '" "CvMat const *""'");
13947 arg4 = (CvMat *)(argp4);
13948 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
13949 if (!SWIG_IsOK(res5)) {
13950 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvSVM_train_auto" "', argument " "5"" of type '" "CvMat const *""'");
13952 arg5 = (CvMat *)(argp5);
13954 res6 = SWIG_ConvertPtr(args(5), &argp6, SWIGTYPE_p_CvSVMParams, 0 );
13955 if (!SWIG_IsOK(res6)) {
13956 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "CvSVM_train_auto" "', argument " "6"" of type '" "CvSVMParams""'");
13959 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvSVM_train_auto" "', argument " "6"" of type '" "CvSVMParams""'");
13961 arg6 = *((CvSVMParams *)(argp6));
13964 ecode7 = SWIG_AsVal_int(args(6), &val7);
13965 if (!SWIG_IsOK(ecode7)) {
13966 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "CvSVM_train_auto" "', argument " "7"" of type '" "int""'");
13968 arg7 = (int)(val7);
13970 res8 = SWIG_ConvertPtr(args(7), &argp8, SWIGTYPE_p_CvParamGrid, 0 );
13971 if (!SWIG_IsOK(res8)) {
13972 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CvSVM_train_auto" "', argument " "8"" of type '" "CvParamGrid""'");
13975 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvSVM_train_auto" "', argument " "8"" of type '" "CvParamGrid""'");
13977 arg8 = *((CvParamGrid *)(argp8));
13981 res9 = SWIG_ConvertPtr(args(8), &argp9, SWIGTYPE_p_CvParamGrid, 0 );
13982 if (!SWIG_IsOK(res9)) {
13983 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "CvSVM_train_auto" "', argument " "9"" of type '" "CvParamGrid""'");
13986 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvSVM_train_auto" "', argument " "9"" of type '" "CvParamGrid""'");
13988 arg9 = *((CvParamGrid *)(argp9));
13993 result = (bool)(arg1)->train_auto((CvMat const *)arg2,(CvMat const *)arg3,(CvMat const *)arg4,(CvMat const *)arg5,arg6,arg7,arg8,arg9);
14000 _outv = SWIG_From_bool((bool)(result));
14001 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
14007 static octave_value_list _wrap_CvSVM_train_auto__SWIG_5 (const octave_value_list& args, int nargout) {
14008 CvSVM *arg1 = (CvSVM *) 0 ;
14009 CvMat *arg2 = (CvMat *) 0 ;
14010 CvMat *arg3 = (CvMat *) 0 ;
14011 CvMat *arg4 = (CvMat *) 0 ;
14012 CvMat *arg5 = (CvMat *) 0 ;
14032 octave_value_list _out;
14033 octave_value_list *_outp=&_out;
14034 octave_value _outv;
14037 if (!SWIG_check_num_args("CvSVM_train_auto",args.length(),8,8,0)) {
14040 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVM, 0 | 0 );
14041 if (!SWIG_IsOK(res1)) {
14042 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVM_train_auto" "', argument " "1"" of type '" "CvSVM *""'");
14044 arg1 = (CvSVM *)(argp1);
14045 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
14046 if (!SWIG_IsOK(res2)) {
14047 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvSVM_train_auto" "', argument " "2"" of type '" "CvMat const *""'");
14049 arg2 = (CvMat *)(argp2);
14050 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvMat, 0 | 0 );
14051 if (!SWIG_IsOK(res3)) {
14052 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvSVM_train_auto" "', argument " "3"" of type '" "CvMat const *""'");
14054 arg3 = (CvMat *)(argp3);
14055 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
14056 if (!SWIG_IsOK(res4)) {
14057 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvSVM_train_auto" "', argument " "4"" of type '" "CvMat const *""'");
14059 arg4 = (CvMat *)(argp4);
14060 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
14061 if (!SWIG_IsOK(res5)) {
14062 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvSVM_train_auto" "', argument " "5"" of type '" "CvMat const *""'");
14064 arg5 = (CvMat *)(argp5);
14066 res6 = SWIG_ConvertPtr(args(5), &argp6, SWIGTYPE_p_CvSVMParams, 0 );
14067 if (!SWIG_IsOK(res6)) {
14068 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "CvSVM_train_auto" "', argument " "6"" of type '" "CvSVMParams""'");
14071 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvSVM_train_auto" "', argument " "6"" of type '" "CvSVMParams""'");
14073 arg6 = *((CvSVMParams *)(argp6));
14076 ecode7 = SWIG_AsVal_int(args(6), &val7);
14077 if (!SWIG_IsOK(ecode7)) {
14078 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "CvSVM_train_auto" "', argument " "7"" of type '" "int""'");
14080 arg7 = (int)(val7);
14082 res8 = SWIG_ConvertPtr(args(7), &argp8, SWIGTYPE_p_CvParamGrid, 0 );
14083 if (!SWIG_IsOK(res8)) {
14084 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CvSVM_train_auto" "', argument " "8"" of type '" "CvParamGrid""'");
14087 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvSVM_train_auto" "', argument " "8"" of type '" "CvParamGrid""'");
14089 arg8 = *((CvParamGrid *)(argp8));
14094 result = (bool)(arg1)->train_auto((CvMat const *)arg2,(CvMat const *)arg3,(CvMat const *)arg4,(CvMat const *)arg5,arg6,arg7,arg8);
14101 _outv = SWIG_From_bool((bool)(result));
14102 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
14108 static octave_value_list _wrap_CvSVM_train_auto__SWIG_6 (const octave_value_list& args, int nargout) {
14109 CvSVM *arg1 = (CvSVM *) 0 ;
14110 CvMat *arg2 = (CvMat *) 0 ;
14111 CvMat *arg3 = (CvMat *) 0 ;
14112 CvMat *arg4 = (CvMat *) 0 ;
14113 CvMat *arg5 = (CvMat *) 0 ;
14130 octave_value_list _out;
14131 octave_value_list *_outp=&_out;
14132 octave_value _outv;
14135 if (!SWIG_check_num_args("CvSVM_train_auto",args.length(),7,7,0)) {
14138 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVM, 0 | 0 );
14139 if (!SWIG_IsOK(res1)) {
14140 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVM_train_auto" "', argument " "1"" of type '" "CvSVM *""'");
14142 arg1 = (CvSVM *)(argp1);
14143 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
14144 if (!SWIG_IsOK(res2)) {
14145 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvSVM_train_auto" "', argument " "2"" of type '" "CvMat const *""'");
14147 arg2 = (CvMat *)(argp2);
14148 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvMat, 0 | 0 );
14149 if (!SWIG_IsOK(res3)) {
14150 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvSVM_train_auto" "', argument " "3"" of type '" "CvMat const *""'");
14152 arg3 = (CvMat *)(argp3);
14153 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
14154 if (!SWIG_IsOK(res4)) {
14155 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvSVM_train_auto" "', argument " "4"" of type '" "CvMat const *""'");
14157 arg4 = (CvMat *)(argp4);
14158 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
14159 if (!SWIG_IsOK(res5)) {
14160 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvSVM_train_auto" "', argument " "5"" of type '" "CvMat const *""'");
14162 arg5 = (CvMat *)(argp5);
14164 res6 = SWIG_ConvertPtr(args(5), &argp6, SWIGTYPE_p_CvSVMParams, 0 );
14165 if (!SWIG_IsOK(res6)) {
14166 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "CvSVM_train_auto" "', argument " "6"" of type '" "CvSVMParams""'");
14169 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvSVM_train_auto" "', argument " "6"" of type '" "CvSVMParams""'");
14171 arg6 = *((CvSVMParams *)(argp6));
14174 ecode7 = SWIG_AsVal_int(args(6), &val7);
14175 if (!SWIG_IsOK(ecode7)) {
14176 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "CvSVM_train_auto" "', argument " "7"" of type '" "int""'");
14178 arg7 = (int)(val7);
14181 result = (bool)(arg1)->train_auto((CvMat const *)arg2,(CvMat const *)arg3,(CvMat const *)arg4,(CvMat const *)arg5,arg6,arg7);
14188 _outv = SWIG_From_bool((bool)(result));
14189 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
14195 static octave_value_list _wrap_CvSVM_train_auto__SWIG_7 (const octave_value_list& args, int nargout) {
14196 CvSVM *arg1 = (CvSVM *) 0 ;
14197 CvMat *arg2 = (CvMat *) 0 ;
14198 CvMat *arg3 = (CvMat *) 0 ;
14199 CvMat *arg4 = (CvMat *) 0 ;
14200 CvMat *arg5 = (CvMat *) 0 ;
14214 octave_value_list _out;
14215 octave_value_list *_outp=&_out;
14216 octave_value _outv;
14219 if (!SWIG_check_num_args("CvSVM_train_auto",args.length(),6,6,0)) {
14222 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVM, 0 | 0 );
14223 if (!SWIG_IsOK(res1)) {
14224 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVM_train_auto" "', argument " "1"" of type '" "CvSVM *""'");
14226 arg1 = (CvSVM *)(argp1);
14227 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
14228 if (!SWIG_IsOK(res2)) {
14229 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvSVM_train_auto" "', argument " "2"" of type '" "CvMat const *""'");
14231 arg2 = (CvMat *)(argp2);
14232 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvMat, 0 | 0 );
14233 if (!SWIG_IsOK(res3)) {
14234 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvSVM_train_auto" "', argument " "3"" of type '" "CvMat const *""'");
14236 arg3 = (CvMat *)(argp3);
14237 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
14238 if (!SWIG_IsOK(res4)) {
14239 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvSVM_train_auto" "', argument " "4"" of type '" "CvMat const *""'");
14241 arg4 = (CvMat *)(argp4);
14242 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
14243 if (!SWIG_IsOK(res5)) {
14244 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvSVM_train_auto" "', argument " "5"" of type '" "CvMat const *""'");
14246 arg5 = (CvMat *)(argp5);
14248 res6 = SWIG_ConvertPtr(args(5), &argp6, SWIGTYPE_p_CvSVMParams, 0 );
14249 if (!SWIG_IsOK(res6)) {
14250 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "CvSVM_train_auto" "', argument " "6"" of type '" "CvSVMParams""'");
14253 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvSVM_train_auto" "', argument " "6"" of type '" "CvSVMParams""'");
14255 arg6 = *((CvSVMParams *)(argp6));
14260 result = (bool)(arg1)->train_auto((CvMat const *)arg2,(CvMat const *)arg3,(CvMat const *)arg4,(CvMat const *)arg5,arg6);
14267 _outv = SWIG_From_bool((bool)(result));
14268 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
14274 static octave_value_list _wrap_CvSVM_train_auto (const octave_value_list& args, int nargout) {
14275 int argc = args.length();
14276 octave_value_ref argv[13]={
14277 octave_value_ref(args,0),octave_value_ref(args,1),octave_value_ref(args,2),octave_value_ref(args,3),octave_value_ref(args,4),octave_value_ref(args,5),octave_value_ref(args,6),octave_value_ref(args,7),octave_value_ref(args,8),octave_value_ref(args,9),octave_value_ref(args,10),octave_value_ref(args,11),octave_value_ref(args,12)
14283 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvSVM, 0);
14284 _v = SWIG_CheckState(res);
14287 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
14288 _v = SWIG_CheckState(res);
14291 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvMat, 0);
14292 _v = SWIG_CheckState(res);
14295 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
14296 _v = SWIG_CheckState(res);
14299 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvMat, 0);
14300 _v = SWIG_CheckState(res);
14303 int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_CvSVMParams, 0);
14304 _v = SWIG_CheckState(res);
14306 return _wrap_CvSVM_train_auto__SWIG_7(args, nargout);
14317 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvSVM, 0);
14318 _v = SWIG_CheckState(res);
14321 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
14322 _v = SWIG_CheckState(res);
14325 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvMat, 0);
14326 _v = SWIG_CheckState(res);
14329 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
14330 _v = SWIG_CheckState(res);
14333 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvMat, 0);
14334 _v = SWIG_CheckState(res);
14337 int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_CvSVMParams, 0);
14338 _v = SWIG_CheckState(res);
14341 int res = SWIG_AsVal_int(argv[6], NULL);
14342 _v = SWIG_CheckState(res);
14345 return _wrap_CvSVM_train_auto__SWIG_6(args, nargout);
14357 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvSVM, 0);
14358 _v = SWIG_CheckState(res);
14361 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
14362 _v = SWIG_CheckState(res);
14365 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvMat, 0);
14366 _v = SWIG_CheckState(res);
14369 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
14370 _v = SWIG_CheckState(res);
14373 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvMat, 0);
14374 _v = SWIG_CheckState(res);
14377 int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_CvSVMParams, 0);
14378 _v = SWIG_CheckState(res);
14381 int res = SWIG_AsVal_int(argv[6], NULL);
14382 _v = SWIG_CheckState(res);
14386 int res = SWIG_ConvertPtr(argv[7], &vptr, SWIGTYPE_p_CvParamGrid, 0);
14387 _v = SWIG_CheckState(res);
14389 return _wrap_CvSVM_train_auto__SWIG_5(args, nargout);
14402 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvSVM, 0);
14403 _v = SWIG_CheckState(res);
14406 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
14407 _v = SWIG_CheckState(res);
14410 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvMat, 0);
14411 _v = SWIG_CheckState(res);
14414 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
14415 _v = SWIG_CheckState(res);
14418 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvMat, 0);
14419 _v = SWIG_CheckState(res);
14422 int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_CvSVMParams, 0);
14423 _v = SWIG_CheckState(res);
14426 int res = SWIG_AsVal_int(argv[6], NULL);
14427 _v = SWIG_CheckState(res);
14431 int res = SWIG_ConvertPtr(argv[7], &vptr, SWIGTYPE_p_CvParamGrid, 0);
14432 _v = SWIG_CheckState(res);
14435 int res = SWIG_ConvertPtr(argv[8], &vptr, SWIGTYPE_p_CvParamGrid, 0);
14436 _v = SWIG_CheckState(res);
14438 return _wrap_CvSVM_train_auto__SWIG_4(args, nargout);
14452 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvSVM, 0);
14453 _v = SWIG_CheckState(res);
14456 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
14457 _v = SWIG_CheckState(res);
14460 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvMat, 0);
14461 _v = SWIG_CheckState(res);
14464 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
14465 _v = SWIG_CheckState(res);
14468 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvMat, 0);
14469 _v = SWIG_CheckState(res);
14472 int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_CvSVMParams, 0);
14473 _v = SWIG_CheckState(res);
14476 int res = SWIG_AsVal_int(argv[6], NULL);
14477 _v = SWIG_CheckState(res);
14481 int res = SWIG_ConvertPtr(argv[7], &vptr, SWIGTYPE_p_CvParamGrid, 0);
14482 _v = SWIG_CheckState(res);
14485 int res = SWIG_ConvertPtr(argv[8], &vptr, SWIGTYPE_p_CvParamGrid, 0);
14486 _v = SWIG_CheckState(res);
14489 int res = SWIG_ConvertPtr(argv[9], &vptr, SWIGTYPE_p_CvParamGrid, 0);
14490 _v = SWIG_CheckState(res);
14492 return _wrap_CvSVM_train_auto__SWIG_3(args, nargout);
14507 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvSVM, 0);
14508 _v = SWIG_CheckState(res);
14511 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
14512 _v = SWIG_CheckState(res);
14515 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvMat, 0);
14516 _v = SWIG_CheckState(res);
14519 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
14520 _v = SWIG_CheckState(res);
14523 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvMat, 0);
14524 _v = SWIG_CheckState(res);
14527 int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_CvSVMParams, 0);
14528 _v = SWIG_CheckState(res);
14531 int res = SWIG_AsVal_int(argv[6], NULL);
14532 _v = SWIG_CheckState(res);
14536 int res = SWIG_ConvertPtr(argv[7], &vptr, SWIGTYPE_p_CvParamGrid, 0);
14537 _v = SWIG_CheckState(res);
14540 int res = SWIG_ConvertPtr(argv[8], &vptr, SWIGTYPE_p_CvParamGrid, 0);
14541 _v = SWIG_CheckState(res);
14544 int res = SWIG_ConvertPtr(argv[9], &vptr, SWIGTYPE_p_CvParamGrid, 0);
14545 _v = SWIG_CheckState(res);
14548 int res = SWIG_ConvertPtr(argv[10], &vptr, SWIGTYPE_p_CvParamGrid, 0);
14549 _v = SWIG_CheckState(res);
14551 return _wrap_CvSVM_train_auto__SWIG_2(args, nargout);
14567 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvSVM, 0);
14568 _v = SWIG_CheckState(res);
14571 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
14572 _v = SWIG_CheckState(res);
14575 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvMat, 0);
14576 _v = SWIG_CheckState(res);
14579 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
14580 _v = SWIG_CheckState(res);
14583 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvMat, 0);
14584 _v = SWIG_CheckState(res);
14587 int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_CvSVMParams, 0);
14588 _v = SWIG_CheckState(res);
14591 int res = SWIG_AsVal_int(argv[6], NULL);
14592 _v = SWIG_CheckState(res);
14596 int res = SWIG_ConvertPtr(argv[7], &vptr, SWIGTYPE_p_CvParamGrid, 0);
14597 _v = SWIG_CheckState(res);
14600 int res = SWIG_ConvertPtr(argv[8], &vptr, SWIGTYPE_p_CvParamGrid, 0);
14601 _v = SWIG_CheckState(res);
14604 int res = SWIG_ConvertPtr(argv[9], &vptr, SWIGTYPE_p_CvParamGrid, 0);
14605 _v = SWIG_CheckState(res);
14608 int res = SWIG_ConvertPtr(argv[10], &vptr, SWIGTYPE_p_CvParamGrid, 0);
14609 _v = SWIG_CheckState(res);
14612 int res = SWIG_ConvertPtr(argv[11], &vptr, SWIGTYPE_p_CvParamGrid, 0);
14613 _v = SWIG_CheckState(res);
14615 return _wrap_CvSVM_train_auto__SWIG_1(args, nargout);
14632 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvSVM, 0);
14633 _v = SWIG_CheckState(res);
14636 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
14637 _v = SWIG_CheckState(res);
14640 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvMat, 0);
14641 _v = SWIG_CheckState(res);
14644 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
14645 _v = SWIG_CheckState(res);
14648 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvMat, 0);
14649 _v = SWIG_CheckState(res);
14652 int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_CvSVMParams, 0);
14653 _v = SWIG_CheckState(res);
14656 int res = SWIG_AsVal_int(argv[6], NULL);
14657 _v = SWIG_CheckState(res);
14661 int res = SWIG_ConvertPtr(argv[7], &vptr, SWIGTYPE_p_CvParamGrid, 0);
14662 _v = SWIG_CheckState(res);
14665 int res = SWIG_ConvertPtr(argv[8], &vptr, SWIGTYPE_p_CvParamGrid, 0);
14666 _v = SWIG_CheckState(res);
14669 int res = SWIG_ConvertPtr(argv[9], &vptr, SWIGTYPE_p_CvParamGrid, 0);
14670 _v = SWIG_CheckState(res);
14673 int res = SWIG_ConvertPtr(argv[10], &vptr, SWIGTYPE_p_CvParamGrid, 0);
14674 _v = SWIG_CheckState(res);
14677 int res = SWIG_ConvertPtr(argv[11], &vptr, SWIGTYPE_p_CvParamGrid, 0);
14678 _v = SWIG_CheckState(res);
14681 int res = SWIG_ConvertPtr(argv[12], &vptr, SWIGTYPE_p_CvParamGrid, 0);
14682 _v = SWIG_CheckState(res);
14684 return _wrap_CvSVM_train_auto__SWIG_0(args, nargout);
14700 error("No matching function for overload");
14701 return octave_value_list();
14705 static octave_value_list _wrap_CvSVM_predict__SWIG_0 (const octave_value_list& args, int nargout) {
14706 CvSVM *arg1 = (CvSVM *) 0 ;
14707 CvMat *arg2 = (CvMat *) 0 ;
14715 octave_value_list _out;
14716 octave_value_list *_outp=&_out;
14717 octave_value _outv;
14720 if (!SWIG_check_num_args("CvSVM_predict",args.length(),3,3,0)) {
14723 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVM, 0 | 0 );
14724 if (!SWIG_IsOK(res1)) {
14725 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVM_predict" "', argument " "1"" of type '" "CvSVM const *""'");
14727 arg1 = (CvSVM *)(argp1);
14728 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
14729 if (!SWIG_IsOK(res2)) {
14730 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvSVM_predict" "', argument " "2"" of type '" "CvMat const *""'");
14732 arg2 = (CvMat *)(argp2);
14733 ecode3 = SWIG_AsVal_bool(args(2), &val3);
14734 if (!SWIG_IsOK(ecode3)) {
14735 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvSVM_predict" "', argument " "3"" of type '" "bool""'");
14737 arg3 = (bool)(val3);
14740 result = (float)((CvSVM const *)arg1)->predict((CvMat const *)arg2,arg3);
14747 _outv = SWIG_From_float((float)(result));
14748 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
14754 static octave_value_list _wrap_CvSVM_predict__SWIG_1 (const octave_value_list& args, int nargout) {
14755 CvSVM *arg1 = (CvSVM *) 0 ;
14756 CvMat *arg2 = (CvMat *) 0 ;
14761 octave_value_list _out;
14762 octave_value_list *_outp=&_out;
14763 octave_value _outv;
14766 if (!SWIG_check_num_args("CvSVM_predict",args.length(),2,2,0)) {
14769 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVM, 0 | 0 );
14770 if (!SWIG_IsOK(res1)) {
14771 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVM_predict" "', argument " "1"" of type '" "CvSVM const *""'");
14773 arg1 = (CvSVM *)(argp1);
14774 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
14775 if (!SWIG_IsOK(res2)) {
14776 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvSVM_predict" "', argument " "2"" of type '" "CvMat const *""'");
14778 arg2 = (CvMat *)(argp2);
14781 result = (float)((CvSVM const *)arg1)->predict((CvMat const *)arg2);
14788 _outv = SWIG_From_float((float)(result));
14789 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
14795 static octave_value_list _wrap_CvSVM_predict (const octave_value_list& args, int nargout) {
14796 int argc = args.length();
14797 octave_value_ref argv[3]={
14798 octave_value_ref(args,0),octave_value_ref(args,1),octave_value_ref(args,2)
14804 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvSVM, 0);
14805 _v = SWIG_CheckState(res);
14808 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
14809 _v = SWIG_CheckState(res);
14811 return _wrap_CvSVM_predict__SWIG_1(args, nargout);
14818 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvSVM, 0);
14819 _v = SWIG_CheckState(res);
14822 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
14823 _v = SWIG_CheckState(res);
14826 int res = SWIG_AsVal_bool(argv[2], NULL);
14827 _v = SWIG_CheckState(res);
14830 return _wrap_CvSVM_predict__SWIG_0(args, nargout);
14836 error("No matching function for overload");
14837 return octave_value_list();
14841 static octave_value_list _wrap_CvSVM_get_support_vector_count (const octave_value_list& args, int nargout) {
14842 CvSVM *arg1 = (CvSVM *) 0 ;
14845 octave_value_list _out;
14846 octave_value_list *_outp=&_out;
14847 octave_value _outv;
14850 if (!SWIG_check_num_args("CvSVM_get_support_vector_count",args.length(),1,1,0)) {
14853 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVM, 0 | 0 );
14854 if (!SWIG_IsOK(res1)) {
14855 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVM_get_support_vector_count" "', argument " "1"" of type '" "CvSVM const *""'");
14857 arg1 = (CvSVM *)(argp1);
14860 result = (int)((CvSVM const *)arg1)->get_support_vector_count();
14867 _outv = SWIG_From_int((int)(result));
14868 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
14874 static octave_value_list _wrap_CvSVM_get_support_vector (const octave_value_list& args, int nargout) {
14875 CvSVM *arg1 = (CvSVM *) 0 ;
14881 octave_value_list _out;
14882 octave_value_list *_outp=&_out;
14883 octave_value _outv;
14884 float *result = 0 ;
14886 if (!SWIG_check_num_args("CvSVM_get_support_vector",args.length(),2,2,0)) {
14889 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVM, 0 | 0 );
14890 if (!SWIG_IsOK(res1)) {
14891 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVM_get_support_vector" "', argument " "1"" of type '" "CvSVM const *""'");
14893 arg1 = (CvSVM *)(argp1);
14894 ecode2 = SWIG_AsVal_int(args(1), &val2);
14895 if (!SWIG_IsOK(ecode2)) {
14896 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvSVM_get_support_vector" "', argument " "2"" of type '" "int""'");
14898 arg2 = (int)(val2);
14901 result = (float *)((CvSVM const *)arg1)->get_support_vector(arg2);
14908 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 );
14909 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
14915 static octave_value_list _wrap_CvSVM_get_params (const octave_value_list& args, int nargout) {
14916 CvSVM *arg1 = (CvSVM *) 0 ;
14919 octave_value_list _out;
14920 octave_value_list *_outp=&_out;
14921 octave_value _outv;
14922 CvSVMParams result;
14924 if (!SWIG_check_num_args("CvSVM_get_params",args.length(),1,1,0)) {
14927 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVM, 0 | 0 );
14928 if (!SWIG_IsOK(res1)) {
14929 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVM_get_params" "', argument " "1"" of type '" "CvSVM const *""'");
14931 arg1 = (CvSVM *)(argp1);
14934 result = ((CvSVM const *)arg1)->get_params();
14941 _outv = SWIG_NewPointerObj((new CvSVMParams((const CvSVMParams&)(result))), SWIGTYPE_p_CvSVMParams, SWIG_POINTER_OWN | 0 );
14942 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
14948 static octave_value_list _wrap_CvSVM_clear (const octave_value_list& args, int nargout) {
14949 CvSVM *arg1 = (CvSVM *) 0 ;
14952 octave_value_list _out;
14953 octave_value_list *_outp=&_out;
14954 octave_value _outv;
14956 if (!SWIG_check_num_args("CvSVM_clear",args.length(),1,1,0)) {
14959 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVM, 0 | 0 );
14960 if (!SWIG_IsOK(res1)) {
14961 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVM_clear" "', argument " "1"" of type '" "CvSVM *""'");
14963 arg1 = (CvSVM *)(argp1);
14973 _outv = octave_value();
14974 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
14980 static octave_value_list _wrap_CvSVM_get_default_grid (const octave_value_list& args, int nargout) {
14984 octave_value_list _out;
14985 octave_value_list *_outp=&_out;
14986 octave_value _outv;
14987 CvParamGrid result;
14989 if (!SWIG_check_num_args("CvSVM_get_default_grid",args.length(),1,1,0)) {
14992 ecode1 = SWIG_AsVal_int(args(0), &val1);
14993 if (!SWIG_IsOK(ecode1)) {
14994 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "CvSVM_get_default_grid" "', argument " "1"" of type '" "int""'");
14996 arg1 = (int)(val1);
14999 result = CvSVM::get_default_grid(arg1);
15006 _outv = SWIG_NewPointerObj((new CvParamGrid((const CvParamGrid&)(result))), SWIGTYPE_p_CvParamGrid, SWIG_POINTER_OWN | 0 );
15007 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
15013 static octave_value_list _wrap_CvSVM_write (const octave_value_list& args, int nargout) {
15014 CvSVM *arg1 = (CvSVM *) 0 ;
15015 CvFileStorage *arg2 = (CvFileStorage *) 0 ;
15016 char *arg3 = (char *) 0 ;
15024 octave_value_list _out;
15025 octave_value_list *_outp=&_out;
15026 octave_value _outv;
15028 if (!SWIG_check_num_args("CvSVM_write",args.length(),3,3,0)) {
15031 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVM, 0 | 0 );
15032 if (!SWIG_IsOK(res1)) {
15033 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVM_write" "', argument " "1"" of type '" "CvSVM const *""'");
15035 arg1 = (CvSVM *)(argp1);
15036 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvFileStorage, 0 | 0 );
15037 if (!SWIG_IsOK(res2)) {
15038 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvSVM_write" "', argument " "2"" of type '" "CvFileStorage *""'");
15040 arg2 = (CvFileStorage *)(argp2);
15041 res3 = SWIG_AsCharPtrAndSize(args(2), &buf3, NULL, &alloc3);
15042 if (!SWIG_IsOK(res3)) {
15043 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvSVM_write" "', argument " "3"" of type '" "char const *""'");
15045 arg3 = (char *)(buf3);
15048 ((CvSVM const *)arg1)->write(arg2,(char const *)arg3);
15055 _outv = octave_value();
15056 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
15057 if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
15063 static octave_value_list _wrap_CvSVM_read (const octave_value_list& args, int nargout) {
15064 CvSVM *arg1 = (CvSVM *) 0 ;
15065 CvFileStorage *arg2 = (CvFileStorage *) 0 ;
15066 CvFileNode *arg3 = (CvFileNode *) 0 ;
15073 octave_value_list _out;
15074 octave_value_list *_outp=&_out;
15075 octave_value _outv;
15077 if (!SWIG_check_num_args("CvSVM_read",args.length(),3,3,0)) {
15080 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVM, 0 | 0 );
15081 if (!SWIG_IsOK(res1)) {
15082 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVM_read" "', argument " "1"" of type '" "CvSVM *""'");
15084 arg1 = (CvSVM *)(argp1);
15085 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvFileStorage, 0 | 0 );
15086 if (!SWIG_IsOK(res2)) {
15087 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvSVM_read" "', argument " "2"" of type '" "CvFileStorage *""'");
15089 arg2 = (CvFileStorage *)(argp2);
15090 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvFileNode, 0 | 0 );
15091 if (!SWIG_IsOK(res3)) {
15092 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvSVM_read" "', argument " "3"" of type '" "CvFileNode *""'");
15094 arg3 = (CvFileNode *)(argp3);
15097 (arg1)->read(arg2,arg3);
15104 _outv = octave_value();
15105 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
15111 static octave_value_list _wrap_CvSVM_get_var_count (const octave_value_list& args, int nargout) {
15112 CvSVM *arg1 = (CvSVM *) 0 ;
15115 octave_value_list _out;
15116 octave_value_list *_outp=&_out;
15117 octave_value _outv;
15120 if (!SWIG_check_num_args("CvSVM_get_var_count",args.length(),1,1,0)) {
15123 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvSVM, 0 | 0 );
15124 if (!SWIG_IsOK(res1)) {
15125 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvSVM_get_var_count" "', argument " "1"" of type '" "CvSVM const *""'");
15127 arg1 = (CvSVM *)(argp1);
15130 result = (int)((CvSVM const *)arg1)->get_var_count();
15137 _outv = SWIG_From_int((int)(result));
15138 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
15144 static swig_octave_member swig_CvSVM_members[] = {
15145 {"train",_wrap_CvSVM_train,0,0,0,0},
15146 {"train_auto",_wrap_CvSVM_train_auto,0,0,0,0},
15147 {"predict",_wrap_CvSVM_predict,0,0,0,0},
15148 {"get_support_vector_count",_wrap_CvSVM_get_support_vector_count,0,0,0,0},
15149 {"get_support_vector",_wrap_CvSVM_get_support_vector,0,0,0,0},
15150 {"get_params",_wrap_CvSVM_get_params,0,0,0,0},
15151 {"clear",_wrap_CvSVM_clear,0,0,0,0},
15152 {"get_default_grid",_wrap_CvSVM_get_default_grid,0,0,1,0},
15153 {"write",_wrap_CvSVM_write,0,0,0,0},
15154 {"read",_wrap_CvSVM_read,0,0,0,0},
15155 {"get_var_count",_wrap_CvSVM_get_var_count,0,0,0,0},
15158 static const char *swig_CvSVM_base_names[] = {"_p_CvStatModel",0};
15159 static const swig_type_info *swig_CvSVM_base[] = {0,0};
15160 static swig_octave_class _wrap_class_CvSVM = {"CvSVM", &SWIGTYPE_p_CvSVM,0,_wrap_new_CvSVM,0,_wrap_delete_CvSVM,swig_CvSVM_members,swig_CvSVM_base_names,swig_CvSVM_base };
15162 static octave_value_list _wrap_new_CvEMParams__SWIG_0 (const octave_value_list& args, int nargout) {
15163 octave_value_list _out;
15164 octave_value_list *_outp=&_out;
15165 octave_value _outv;
15166 CvEMParams *result = 0 ;
15168 if (!SWIG_check_num_args("new_CvEMParams",args.length(),0,0,0)) {
15173 result = (CvEMParams *)new CvEMParams();
15180 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvEMParams, 1 | 0 );
15181 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
15187 static octave_value_list _wrap_new_CvEMParams__SWIG_1 (const octave_value_list& args, int nargout) {
15191 CvTermCriteria arg4 ;
15192 CvMat *arg5 = (CvMat *) 0 ;
15193 CvMat *arg6 = (CvMat *) 0 ;
15194 CvMat *arg7 = (CvMat *) 0 ;
15195 CvMat **arg8 = (CvMat **) 0 ;
15212 octave_value_list _out;
15213 octave_value_list *_outp=&_out;
15214 octave_value _outv;
15215 CvEMParams *result = 0 ;
15217 if (!SWIG_check_num_args("new_CvEMParams",args.length(),8,8,0)) {
15220 ecode1 = SWIG_AsVal_int(args(0), &val1);
15221 if (!SWIG_IsOK(ecode1)) {
15222 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CvEMParams" "', argument " "1"" of type '" "int""'");
15224 arg1 = (int)(val1);
15225 ecode2 = SWIG_AsVal_int(args(1), &val2);
15226 if (!SWIG_IsOK(ecode2)) {
15227 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CvEMParams" "', argument " "2"" of type '" "int""'");
15229 arg2 = (int)(val2);
15230 ecode3 = SWIG_AsVal_int(args(2), &val3);
15231 if (!SWIG_IsOK(ecode3)) {
15232 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_CvEMParams" "', argument " "3"" of type '" "int""'");
15234 arg3 = (int)(val3);
15236 res4 = SWIG_ConvertPtr(args(3), &argp4, SWIGTYPE_p_CvTermCriteria, 0 );
15237 if (!SWIG_IsOK(res4)) {
15238 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_CvEMParams" "', argument " "4"" of type '" "CvTermCriteria""'");
15241 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_CvEMParams" "', argument " "4"" of type '" "CvTermCriteria""'");
15243 arg4 = *((CvTermCriteria *)(argp4));
15246 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
15247 if (!SWIG_IsOK(res5)) {
15248 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_CvEMParams" "', argument " "5"" of type '" "CvMat const *""'");
15250 arg5 = (CvMat *)(argp5);
15251 res6 = SWIG_ConvertPtr(args(5), &argp6,SWIGTYPE_p_CvMat, 0 | 0 );
15252 if (!SWIG_IsOK(res6)) {
15253 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_CvEMParams" "', argument " "6"" of type '" "CvMat const *""'");
15255 arg6 = (CvMat *)(argp6);
15256 res7 = SWIG_ConvertPtr(args(6), &argp7,SWIGTYPE_p_CvMat, 0 | 0 );
15257 if (!SWIG_IsOK(res7)) {
15258 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_CvEMParams" "', argument " "7"" of type '" "CvMat const *""'");
15260 arg7 = (CvMat *)(argp7);
15261 res8 = SWIG_ConvertPtr(args(7), &argp8,SWIGTYPE_p_p_CvMat, 0 | 0 );
15262 if (!SWIG_IsOK(res8)) {
15263 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "new_CvEMParams" "', argument " "8"" of type '" "CvMat const **""'");
15265 arg8 = (CvMat **)(argp8);
15268 result = (CvEMParams *)new CvEMParams(arg1,arg2,arg3,arg4,(CvMat const *)arg5,(CvMat const *)arg6,(CvMat const *)arg7,(CvMat const **)arg8);
15275 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvEMParams, 1 | 0 );
15276 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
15282 static octave_value_list _wrap_new_CvEMParams__SWIG_2 (const octave_value_list& args, int nargout) {
15286 CvTermCriteria arg4 ;
15287 CvMat *arg5 = (CvMat *) 0 ;
15288 CvMat *arg6 = (CvMat *) 0 ;
15289 CvMat *arg7 = (CvMat *) 0 ;
15304 octave_value_list _out;
15305 octave_value_list *_outp=&_out;
15306 octave_value _outv;
15307 CvEMParams *result = 0 ;
15309 if (!SWIG_check_num_args("new_CvEMParams",args.length(),7,7,0)) {
15312 ecode1 = SWIG_AsVal_int(args(0), &val1);
15313 if (!SWIG_IsOK(ecode1)) {
15314 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CvEMParams" "', argument " "1"" of type '" "int""'");
15316 arg1 = (int)(val1);
15317 ecode2 = SWIG_AsVal_int(args(1), &val2);
15318 if (!SWIG_IsOK(ecode2)) {
15319 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CvEMParams" "', argument " "2"" of type '" "int""'");
15321 arg2 = (int)(val2);
15322 ecode3 = SWIG_AsVal_int(args(2), &val3);
15323 if (!SWIG_IsOK(ecode3)) {
15324 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_CvEMParams" "', argument " "3"" of type '" "int""'");
15326 arg3 = (int)(val3);
15328 res4 = SWIG_ConvertPtr(args(3), &argp4, SWIGTYPE_p_CvTermCriteria, 0 );
15329 if (!SWIG_IsOK(res4)) {
15330 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_CvEMParams" "', argument " "4"" of type '" "CvTermCriteria""'");
15333 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_CvEMParams" "', argument " "4"" of type '" "CvTermCriteria""'");
15335 arg4 = *((CvTermCriteria *)(argp4));
15338 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
15339 if (!SWIG_IsOK(res5)) {
15340 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_CvEMParams" "', argument " "5"" of type '" "CvMat const *""'");
15342 arg5 = (CvMat *)(argp5);
15343 res6 = SWIG_ConvertPtr(args(5), &argp6,SWIGTYPE_p_CvMat, 0 | 0 );
15344 if (!SWIG_IsOK(res6)) {
15345 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_CvEMParams" "', argument " "6"" of type '" "CvMat const *""'");
15347 arg6 = (CvMat *)(argp6);
15348 res7 = SWIG_ConvertPtr(args(6), &argp7,SWIGTYPE_p_CvMat, 0 | 0 );
15349 if (!SWIG_IsOK(res7)) {
15350 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_CvEMParams" "', argument " "7"" of type '" "CvMat const *""'");
15352 arg7 = (CvMat *)(argp7);
15355 result = (CvEMParams *)new CvEMParams(arg1,arg2,arg3,arg4,(CvMat const *)arg5,(CvMat const *)arg6,(CvMat const *)arg7);
15362 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvEMParams, 1 | 0 );
15363 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
15369 static octave_value_list _wrap_new_CvEMParams__SWIG_3 (const octave_value_list& args, int nargout) {
15373 CvTermCriteria arg4 ;
15374 CvMat *arg5 = (CvMat *) 0 ;
15375 CvMat *arg6 = (CvMat *) 0 ;
15388 octave_value_list _out;
15389 octave_value_list *_outp=&_out;
15390 octave_value _outv;
15391 CvEMParams *result = 0 ;
15393 if (!SWIG_check_num_args("new_CvEMParams",args.length(),6,6,0)) {
15396 ecode1 = SWIG_AsVal_int(args(0), &val1);
15397 if (!SWIG_IsOK(ecode1)) {
15398 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CvEMParams" "', argument " "1"" of type '" "int""'");
15400 arg1 = (int)(val1);
15401 ecode2 = SWIG_AsVal_int(args(1), &val2);
15402 if (!SWIG_IsOK(ecode2)) {
15403 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CvEMParams" "', argument " "2"" of type '" "int""'");
15405 arg2 = (int)(val2);
15406 ecode3 = SWIG_AsVal_int(args(2), &val3);
15407 if (!SWIG_IsOK(ecode3)) {
15408 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_CvEMParams" "', argument " "3"" of type '" "int""'");
15410 arg3 = (int)(val3);
15412 res4 = SWIG_ConvertPtr(args(3), &argp4, SWIGTYPE_p_CvTermCriteria, 0 );
15413 if (!SWIG_IsOK(res4)) {
15414 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_CvEMParams" "', argument " "4"" of type '" "CvTermCriteria""'");
15417 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_CvEMParams" "', argument " "4"" of type '" "CvTermCriteria""'");
15419 arg4 = *((CvTermCriteria *)(argp4));
15422 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
15423 if (!SWIG_IsOK(res5)) {
15424 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_CvEMParams" "', argument " "5"" of type '" "CvMat const *""'");
15426 arg5 = (CvMat *)(argp5);
15427 res6 = SWIG_ConvertPtr(args(5), &argp6,SWIGTYPE_p_CvMat, 0 | 0 );
15428 if (!SWIG_IsOK(res6)) {
15429 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_CvEMParams" "', argument " "6"" of type '" "CvMat const *""'");
15431 arg6 = (CvMat *)(argp6);
15434 result = (CvEMParams *)new CvEMParams(arg1,arg2,arg3,arg4,(CvMat const *)arg5,(CvMat const *)arg6);
15441 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvEMParams, 1 | 0 );
15442 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
15448 static octave_value_list _wrap_new_CvEMParams__SWIG_4 (const octave_value_list& args, int nargout) {
15452 CvTermCriteria arg4 ;
15453 CvMat *arg5 = (CvMat *) 0 ;
15464 octave_value_list _out;
15465 octave_value_list *_outp=&_out;
15466 octave_value _outv;
15467 CvEMParams *result = 0 ;
15469 if (!SWIG_check_num_args("new_CvEMParams",args.length(),5,5,0)) {
15472 ecode1 = SWIG_AsVal_int(args(0), &val1);
15473 if (!SWIG_IsOK(ecode1)) {
15474 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CvEMParams" "', argument " "1"" of type '" "int""'");
15476 arg1 = (int)(val1);
15477 ecode2 = SWIG_AsVal_int(args(1), &val2);
15478 if (!SWIG_IsOK(ecode2)) {
15479 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CvEMParams" "', argument " "2"" of type '" "int""'");
15481 arg2 = (int)(val2);
15482 ecode3 = SWIG_AsVal_int(args(2), &val3);
15483 if (!SWIG_IsOK(ecode3)) {
15484 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_CvEMParams" "', argument " "3"" of type '" "int""'");
15486 arg3 = (int)(val3);
15488 res4 = SWIG_ConvertPtr(args(3), &argp4, SWIGTYPE_p_CvTermCriteria, 0 );
15489 if (!SWIG_IsOK(res4)) {
15490 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_CvEMParams" "', argument " "4"" of type '" "CvTermCriteria""'");
15493 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_CvEMParams" "', argument " "4"" of type '" "CvTermCriteria""'");
15495 arg4 = *((CvTermCriteria *)(argp4));
15498 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
15499 if (!SWIG_IsOK(res5)) {
15500 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_CvEMParams" "', argument " "5"" of type '" "CvMat const *""'");
15502 arg5 = (CvMat *)(argp5);
15505 result = (CvEMParams *)new CvEMParams(arg1,arg2,arg3,arg4,(CvMat const *)arg5);
15512 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvEMParams, 1 | 0 );
15513 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
15519 static octave_value_list _wrap_new_CvEMParams__SWIG_5 (const octave_value_list& args, int nargout) {
15523 CvTermCriteria arg4 ;
15532 octave_value_list _out;
15533 octave_value_list *_outp=&_out;
15534 octave_value _outv;
15535 CvEMParams *result = 0 ;
15537 if (!SWIG_check_num_args("new_CvEMParams",args.length(),4,4,0)) {
15540 ecode1 = SWIG_AsVal_int(args(0), &val1);
15541 if (!SWIG_IsOK(ecode1)) {
15542 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CvEMParams" "', argument " "1"" of type '" "int""'");
15544 arg1 = (int)(val1);
15545 ecode2 = SWIG_AsVal_int(args(1), &val2);
15546 if (!SWIG_IsOK(ecode2)) {
15547 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CvEMParams" "', argument " "2"" of type '" "int""'");
15549 arg2 = (int)(val2);
15550 ecode3 = SWIG_AsVal_int(args(2), &val3);
15551 if (!SWIG_IsOK(ecode3)) {
15552 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_CvEMParams" "', argument " "3"" of type '" "int""'");
15554 arg3 = (int)(val3);
15556 res4 = SWIG_ConvertPtr(args(3), &argp4, SWIGTYPE_p_CvTermCriteria, 0 );
15557 if (!SWIG_IsOK(res4)) {
15558 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_CvEMParams" "', argument " "4"" of type '" "CvTermCriteria""'");
15561 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_CvEMParams" "', argument " "4"" of type '" "CvTermCriteria""'");
15563 arg4 = *((CvTermCriteria *)(argp4));
15568 result = (CvEMParams *)new CvEMParams(arg1,arg2,arg3,arg4);
15575 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvEMParams, 1 | 0 );
15576 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
15582 static octave_value_list _wrap_new_CvEMParams__SWIG_6 (const octave_value_list& args, int nargout) {
15592 octave_value_list _out;
15593 octave_value_list *_outp=&_out;
15594 octave_value _outv;
15595 CvEMParams *result = 0 ;
15597 if (!SWIG_check_num_args("new_CvEMParams",args.length(),3,3,0)) {
15600 ecode1 = SWIG_AsVal_int(args(0), &val1);
15601 if (!SWIG_IsOK(ecode1)) {
15602 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CvEMParams" "', argument " "1"" of type '" "int""'");
15604 arg1 = (int)(val1);
15605 ecode2 = SWIG_AsVal_int(args(1), &val2);
15606 if (!SWIG_IsOK(ecode2)) {
15607 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CvEMParams" "', argument " "2"" of type '" "int""'");
15609 arg2 = (int)(val2);
15610 ecode3 = SWIG_AsVal_int(args(2), &val3);
15611 if (!SWIG_IsOK(ecode3)) {
15612 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_CvEMParams" "', argument " "3"" of type '" "int""'");
15614 arg3 = (int)(val3);
15617 result = (CvEMParams *)new CvEMParams(arg1,arg2,arg3);
15624 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvEMParams, 1 | 0 );
15625 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
15631 static octave_value_list _wrap_new_CvEMParams__SWIG_7 (const octave_value_list& args, int nargout) {
15638 octave_value_list _out;
15639 octave_value_list *_outp=&_out;
15640 octave_value _outv;
15641 CvEMParams *result = 0 ;
15643 if (!SWIG_check_num_args("new_CvEMParams",args.length(),2,2,0)) {
15646 ecode1 = SWIG_AsVal_int(args(0), &val1);
15647 if (!SWIG_IsOK(ecode1)) {
15648 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CvEMParams" "', argument " "1"" of type '" "int""'");
15650 arg1 = (int)(val1);
15651 ecode2 = SWIG_AsVal_int(args(1), &val2);
15652 if (!SWIG_IsOK(ecode2)) {
15653 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CvEMParams" "', argument " "2"" of type '" "int""'");
15655 arg2 = (int)(val2);
15658 result = (CvEMParams *)new CvEMParams(arg1,arg2);
15665 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvEMParams, 1 | 0 );
15666 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
15672 static octave_value_list _wrap_new_CvEMParams__SWIG_8 (const octave_value_list& args, int nargout) {
15676 octave_value_list _out;
15677 octave_value_list *_outp=&_out;
15678 octave_value _outv;
15679 CvEMParams *result = 0 ;
15681 if (!SWIG_check_num_args("new_CvEMParams",args.length(),1,1,0)) {
15684 ecode1 = SWIG_AsVal_int(args(0), &val1);
15685 if (!SWIG_IsOK(ecode1)) {
15686 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CvEMParams" "', argument " "1"" of type '" "int""'");
15688 arg1 = (int)(val1);
15691 result = (CvEMParams *)new CvEMParams(arg1);
15698 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvEMParams, 1 | 0 );
15699 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
15705 static octave_value_list _wrap_new_CvEMParams (const octave_value_list& args, int nargout) {
15706 int argc = args.length();
15707 octave_value_ref argv[8]={
15708 octave_value_ref(args,0),octave_value_ref(args,1),octave_value_ref(args,2),octave_value_ref(args,3),octave_value_ref(args,4),octave_value_ref(args,5),octave_value_ref(args,6),octave_value_ref(args,7)
15712 return _wrap_new_CvEMParams__SWIG_0(args, nargout);
15717 int res = SWIG_AsVal_int(argv[0], NULL);
15718 _v = SWIG_CheckState(res);
15721 return _wrap_new_CvEMParams__SWIG_8(args, nargout);
15727 int res = SWIG_AsVal_int(argv[0], NULL);
15728 _v = SWIG_CheckState(res);
15732 int res = SWIG_AsVal_int(argv[1], NULL);
15733 _v = SWIG_CheckState(res);
15736 return _wrap_new_CvEMParams__SWIG_7(args, nargout);
15743 int res = SWIG_AsVal_int(argv[0], NULL);
15744 _v = SWIG_CheckState(res);
15748 int res = SWIG_AsVal_int(argv[1], NULL);
15749 _v = SWIG_CheckState(res);
15753 int res = SWIG_AsVal_int(argv[2], NULL);
15754 _v = SWIG_CheckState(res);
15757 return _wrap_new_CvEMParams__SWIG_6(args, nargout);
15765 int res = SWIG_AsVal_int(argv[0], NULL);
15766 _v = SWIG_CheckState(res);
15770 int res = SWIG_AsVal_int(argv[1], NULL);
15771 _v = SWIG_CheckState(res);
15775 int res = SWIG_AsVal_int(argv[2], NULL);
15776 _v = SWIG_CheckState(res);
15780 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvTermCriteria, 0);
15781 _v = SWIG_CheckState(res);
15783 return _wrap_new_CvEMParams__SWIG_5(args, nargout);
15792 int res = SWIG_AsVal_int(argv[0], NULL);
15793 _v = SWIG_CheckState(res);
15797 int res = SWIG_AsVal_int(argv[1], NULL);
15798 _v = SWIG_CheckState(res);
15802 int res = SWIG_AsVal_int(argv[2], NULL);
15803 _v = SWIG_CheckState(res);
15807 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvTermCriteria, 0);
15808 _v = SWIG_CheckState(res);
15811 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvMat, 0);
15812 _v = SWIG_CheckState(res);
15814 return _wrap_new_CvEMParams__SWIG_4(args, nargout);
15824 int res = SWIG_AsVal_int(argv[0], NULL);
15825 _v = SWIG_CheckState(res);
15829 int res = SWIG_AsVal_int(argv[1], NULL);
15830 _v = SWIG_CheckState(res);
15834 int res = SWIG_AsVal_int(argv[2], NULL);
15835 _v = SWIG_CheckState(res);
15839 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvTermCriteria, 0);
15840 _v = SWIG_CheckState(res);
15843 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvMat, 0);
15844 _v = SWIG_CheckState(res);
15847 int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_CvMat, 0);
15848 _v = SWIG_CheckState(res);
15850 return _wrap_new_CvEMParams__SWIG_3(args, nargout);
15861 int res = SWIG_AsVal_int(argv[0], NULL);
15862 _v = SWIG_CheckState(res);
15866 int res = SWIG_AsVal_int(argv[1], NULL);
15867 _v = SWIG_CheckState(res);
15871 int res = SWIG_AsVal_int(argv[2], NULL);
15872 _v = SWIG_CheckState(res);
15876 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvTermCriteria, 0);
15877 _v = SWIG_CheckState(res);
15880 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvMat, 0);
15881 _v = SWIG_CheckState(res);
15884 int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_CvMat, 0);
15885 _v = SWIG_CheckState(res);
15888 int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_CvMat, 0);
15889 _v = SWIG_CheckState(res);
15891 return _wrap_new_CvEMParams__SWIG_2(args, nargout);
15903 int res = SWIG_AsVal_int(argv[0], NULL);
15904 _v = SWIG_CheckState(res);
15908 int res = SWIG_AsVal_int(argv[1], NULL);
15909 _v = SWIG_CheckState(res);
15913 int res = SWIG_AsVal_int(argv[2], NULL);
15914 _v = SWIG_CheckState(res);
15918 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvTermCriteria, 0);
15919 _v = SWIG_CheckState(res);
15922 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvMat, 0);
15923 _v = SWIG_CheckState(res);
15926 int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_CvMat, 0);
15927 _v = SWIG_CheckState(res);
15930 int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_CvMat, 0);
15931 _v = SWIG_CheckState(res);
15934 int res = SWIG_ConvertPtr(argv[7], &vptr, SWIGTYPE_p_p_CvMat, 0);
15935 _v = SWIG_CheckState(res);
15937 return _wrap_new_CvEMParams__SWIG_1(args, nargout);
15948 error("No matching function for overload");
15949 return octave_value_list();
15953 static octave_value_list _wrap_CvEMParams_nclusters_set (const octave_value_list& args, int nargout) {
15954 CvEMParams *arg1 = (CvEMParams *) 0 ;
15960 octave_value_list _out;
15961 octave_value_list *_outp=&_out;
15962 octave_value _outv;
15964 if (!SWIG_check_num_args("CvEMParams_nclusters_set",args.length(),2,2,0)) {
15967 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvEMParams, 0 | 0 );
15968 if (!SWIG_IsOK(res1)) {
15969 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvEMParams_nclusters_set" "', argument " "1"" of type '" "CvEMParams *""'");
15971 arg1 = (CvEMParams *)(argp1);
15972 ecode2 = SWIG_AsVal_int(args(1), &val2);
15973 if (!SWIG_IsOK(ecode2)) {
15974 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvEMParams_nclusters_set" "', argument " "2"" of type '" "int""'");
15976 arg2 = (int)(val2);
15977 if (arg1) (arg1)->nclusters = arg2;
15978 _outv = octave_value();
15979 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
15985 static octave_value_list _wrap_CvEMParams_nclusters_get (const octave_value_list& args, int nargout) {
15986 CvEMParams *arg1 = (CvEMParams *) 0 ;
15989 octave_value_list _out;
15990 octave_value_list *_outp=&_out;
15991 octave_value _outv;
15994 if (!SWIG_check_num_args("CvEMParams_nclusters_get",args.length(),1,1,0)) {
15997 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvEMParams, 0 | 0 );
15998 if (!SWIG_IsOK(res1)) {
15999 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvEMParams_nclusters_get" "', argument " "1"" of type '" "CvEMParams *""'");
16001 arg1 = (CvEMParams *)(argp1);
16002 result = (int) ((arg1)->nclusters);
16003 _outv = SWIG_From_int((int)(result));
16004 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
16010 static octave_value_list _wrap_CvEMParams_cov_mat_type_set (const octave_value_list& args, int nargout) {
16011 CvEMParams *arg1 = (CvEMParams *) 0 ;
16017 octave_value_list _out;
16018 octave_value_list *_outp=&_out;
16019 octave_value _outv;
16021 if (!SWIG_check_num_args("CvEMParams_cov_mat_type_set",args.length(),2,2,0)) {
16024 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvEMParams, 0 | 0 );
16025 if (!SWIG_IsOK(res1)) {
16026 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvEMParams_cov_mat_type_set" "', argument " "1"" of type '" "CvEMParams *""'");
16028 arg1 = (CvEMParams *)(argp1);
16029 ecode2 = SWIG_AsVal_int(args(1), &val2);
16030 if (!SWIG_IsOK(ecode2)) {
16031 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvEMParams_cov_mat_type_set" "', argument " "2"" of type '" "int""'");
16033 arg2 = (int)(val2);
16034 if (arg1) (arg1)->cov_mat_type = arg2;
16035 _outv = octave_value();
16036 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
16042 static octave_value_list _wrap_CvEMParams_cov_mat_type_get (const octave_value_list& args, int nargout) {
16043 CvEMParams *arg1 = (CvEMParams *) 0 ;
16046 octave_value_list _out;
16047 octave_value_list *_outp=&_out;
16048 octave_value _outv;
16051 if (!SWIG_check_num_args("CvEMParams_cov_mat_type_get",args.length(),1,1,0)) {
16054 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvEMParams, 0 | 0 );
16055 if (!SWIG_IsOK(res1)) {
16056 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvEMParams_cov_mat_type_get" "', argument " "1"" of type '" "CvEMParams *""'");
16058 arg1 = (CvEMParams *)(argp1);
16059 result = (int) ((arg1)->cov_mat_type);
16060 _outv = SWIG_From_int((int)(result));
16061 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
16067 static octave_value_list _wrap_CvEMParams_start_step_set (const octave_value_list& args, int nargout) {
16068 CvEMParams *arg1 = (CvEMParams *) 0 ;
16074 octave_value_list _out;
16075 octave_value_list *_outp=&_out;
16076 octave_value _outv;
16078 if (!SWIG_check_num_args("CvEMParams_start_step_set",args.length(),2,2,0)) {
16081 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvEMParams, 0 | 0 );
16082 if (!SWIG_IsOK(res1)) {
16083 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvEMParams_start_step_set" "', argument " "1"" of type '" "CvEMParams *""'");
16085 arg1 = (CvEMParams *)(argp1);
16086 ecode2 = SWIG_AsVal_int(args(1), &val2);
16087 if (!SWIG_IsOK(ecode2)) {
16088 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvEMParams_start_step_set" "', argument " "2"" of type '" "int""'");
16090 arg2 = (int)(val2);
16091 if (arg1) (arg1)->start_step = arg2;
16092 _outv = octave_value();
16093 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
16099 static octave_value_list _wrap_CvEMParams_start_step_get (const octave_value_list& args, int nargout) {
16100 CvEMParams *arg1 = (CvEMParams *) 0 ;
16103 octave_value_list _out;
16104 octave_value_list *_outp=&_out;
16105 octave_value _outv;
16108 if (!SWIG_check_num_args("CvEMParams_start_step_get",args.length(),1,1,0)) {
16111 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvEMParams, 0 | 0 );
16112 if (!SWIG_IsOK(res1)) {
16113 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvEMParams_start_step_get" "', argument " "1"" of type '" "CvEMParams *""'");
16115 arg1 = (CvEMParams *)(argp1);
16116 result = (int) ((arg1)->start_step);
16117 _outv = SWIG_From_int((int)(result));
16118 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
16124 static octave_value_list _wrap_CvEMParams_probs_set (const octave_value_list& args, int nargout) {
16125 CvEMParams *arg1 = (CvEMParams *) 0 ;
16126 CvMat *arg2 = (CvMat *) 0 ;
16131 octave_value_list _out;
16132 octave_value_list *_outp=&_out;
16133 octave_value _outv;
16135 if (!SWIG_check_num_args("CvEMParams_probs_set",args.length(),2,2,0)) {
16138 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvEMParams, 0 | 0 );
16139 if (!SWIG_IsOK(res1)) {
16140 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvEMParams_probs_set" "', argument " "1"" of type '" "CvEMParams *""'");
16142 arg1 = (CvEMParams *)(argp1);
16143 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, SWIG_POINTER_DISOWN | 0 );
16144 if (!SWIG_IsOK(res2)) {
16145 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvEMParams_probs_set" "', argument " "2"" of type '" "CvMat const *""'");
16147 arg2 = (CvMat *)(argp2);
16148 if (arg1) (arg1)->probs = (CvMat const *)arg2;
16149 _outv = octave_value();
16150 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
16156 static octave_value_list _wrap_CvEMParams_probs_get (const octave_value_list& args, int nargout) {
16157 CvEMParams *arg1 = (CvEMParams *) 0 ;
16160 octave_value_list _out;
16161 octave_value_list *_outp=&_out;
16162 octave_value _outv;
16163 CvMat *result = 0 ;
16165 if (!SWIG_check_num_args("CvEMParams_probs_get",args.length(),1,1,0)) {
16168 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvEMParams, 0 | 0 );
16169 if (!SWIG_IsOK(res1)) {
16170 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvEMParams_probs_get" "', argument " "1"" of type '" "CvEMParams *""'");
16172 arg1 = (CvEMParams *)(argp1);
16173 result = (CvMat *) ((arg1)->probs);
16174 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvMat, 0 | 0 );
16175 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
16181 static octave_value_list _wrap_CvEMParams_weights_set (const octave_value_list& args, int nargout) {
16182 CvEMParams *arg1 = (CvEMParams *) 0 ;
16183 CvMat *arg2 = (CvMat *) 0 ;
16188 octave_value_list _out;
16189 octave_value_list *_outp=&_out;
16190 octave_value _outv;
16192 if (!SWIG_check_num_args("CvEMParams_weights_set",args.length(),2,2,0)) {
16195 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvEMParams, 0 | 0 );
16196 if (!SWIG_IsOK(res1)) {
16197 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvEMParams_weights_set" "', argument " "1"" of type '" "CvEMParams *""'");
16199 arg1 = (CvEMParams *)(argp1);
16200 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, SWIG_POINTER_DISOWN | 0 );
16201 if (!SWIG_IsOK(res2)) {
16202 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvEMParams_weights_set" "', argument " "2"" of type '" "CvMat const *""'");
16204 arg2 = (CvMat *)(argp2);
16205 if (arg1) (arg1)->weights = (CvMat const *)arg2;
16206 _outv = octave_value();
16207 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
16213 static octave_value_list _wrap_CvEMParams_weights_get (const octave_value_list& args, int nargout) {
16214 CvEMParams *arg1 = (CvEMParams *) 0 ;
16217 octave_value_list _out;
16218 octave_value_list *_outp=&_out;
16219 octave_value _outv;
16220 CvMat *result = 0 ;
16222 if (!SWIG_check_num_args("CvEMParams_weights_get",args.length(),1,1,0)) {
16225 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvEMParams, 0 | 0 );
16226 if (!SWIG_IsOK(res1)) {
16227 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvEMParams_weights_get" "', argument " "1"" of type '" "CvEMParams *""'");
16229 arg1 = (CvEMParams *)(argp1);
16230 result = (CvMat *) ((arg1)->weights);
16231 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvMat, 0 | 0 );
16232 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
16238 static octave_value_list _wrap_CvEMParams_means_set (const octave_value_list& args, int nargout) {
16239 CvEMParams *arg1 = (CvEMParams *) 0 ;
16240 CvMat *arg2 = (CvMat *) 0 ;
16245 octave_value_list _out;
16246 octave_value_list *_outp=&_out;
16247 octave_value _outv;
16249 if (!SWIG_check_num_args("CvEMParams_means_set",args.length(),2,2,0)) {
16252 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvEMParams, 0 | 0 );
16253 if (!SWIG_IsOK(res1)) {
16254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvEMParams_means_set" "', argument " "1"" of type '" "CvEMParams *""'");
16256 arg1 = (CvEMParams *)(argp1);
16257 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, SWIG_POINTER_DISOWN | 0 );
16258 if (!SWIG_IsOK(res2)) {
16259 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvEMParams_means_set" "', argument " "2"" of type '" "CvMat const *""'");
16261 arg2 = (CvMat *)(argp2);
16262 if (arg1) (arg1)->means = (CvMat const *)arg2;
16263 _outv = octave_value();
16264 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
16270 static octave_value_list _wrap_CvEMParams_means_get (const octave_value_list& args, int nargout) {
16271 CvEMParams *arg1 = (CvEMParams *) 0 ;
16274 octave_value_list _out;
16275 octave_value_list *_outp=&_out;
16276 octave_value _outv;
16277 CvMat *result = 0 ;
16279 if (!SWIG_check_num_args("CvEMParams_means_get",args.length(),1,1,0)) {
16282 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvEMParams, 0 | 0 );
16283 if (!SWIG_IsOK(res1)) {
16284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvEMParams_means_get" "', argument " "1"" of type '" "CvEMParams *""'");
16286 arg1 = (CvEMParams *)(argp1);
16287 result = (CvMat *) ((arg1)->means);
16288 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvMat, 0 | 0 );
16289 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
16295 static octave_value_list _wrap_CvEMParams_covs_set (const octave_value_list& args, int nargout) {
16296 CvEMParams *arg1 = (CvEMParams *) 0 ;
16297 CvMat **arg2 = (CvMat **) 0 ;
16302 octave_value_list _out;
16303 octave_value_list *_outp=&_out;
16304 octave_value _outv;
16306 if (!SWIG_check_num_args("CvEMParams_covs_set",args.length(),2,2,0)) {
16309 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvEMParams, 0 | 0 );
16310 if (!SWIG_IsOK(res1)) {
16311 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvEMParams_covs_set" "', argument " "1"" of type '" "CvEMParams *""'");
16313 arg1 = (CvEMParams *)(argp1);
16314 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_p_CvMat, 0 | 0 );
16315 if (!SWIG_IsOK(res2)) {
16316 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvEMParams_covs_set" "', argument " "2"" of type '" "CvMat const **""'");
16318 arg2 = (CvMat **)(argp2);
16319 if (arg1) (arg1)->covs = (CvMat const **)arg2;
16320 _outv = octave_value();
16321 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
16327 static octave_value_list _wrap_CvEMParams_covs_get (const octave_value_list& args, int nargout) {
16328 CvEMParams *arg1 = (CvEMParams *) 0 ;
16331 octave_value_list _out;
16332 octave_value_list *_outp=&_out;
16333 octave_value _outv;
16334 CvMat **result = 0 ;
16336 if (!SWIG_check_num_args("CvEMParams_covs_get",args.length(),1,1,0)) {
16339 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvEMParams, 0 | 0 );
16340 if (!SWIG_IsOK(res1)) {
16341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvEMParams_covs_get" "', argument " "1"" of type '" "CvEMParams *""'");
16343 arg1 = (CvEMParams *)(argp1);
16344 result = (CvMat **) ((arg1)->covs);
16345 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_CvMat, 0 | 0 );
16346 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
16352 static octave_value_list _wrap_CvEMParams_term_crit_set (const octave_value_list& args, int nargout) {
16353 CvEMParams *arg1 = (CvEMParams *) 0 ;
16354 CvTermCriteria *arg2 = (CvTermCriteria *) 0 ;
16359 octave_value_list _out;
16360 octave_value_list *_outp=&_out;
16361 octave_value _outv;
16363 if (!SWIG_check_num_args("CvEMParams_term_crit_set",args.length(),2,2,0)) {
16366 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvEMParams, 0 | 0 );
16367 if (!SWIG_IsOK(res1)) {
16368 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvEMParams_term_crit_set" "', argument " "1"" of type '" "CvEMParams *""'");
16370 arg1 = (CvEMParams *)(argp1);
16371 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvTermCriteria, 0 | 0 );
16372 if (!SWIG_IsOK(res2)) {
16373 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvEMParams_term_crit_set" "', argument " "2"" of type '" "CvTermCriteria *""'");
16375 arg2 = (CvTermCriteria *)(argp2);
16376 if (arg1) (arg1)->term_crit = *arg2;
16377 _outv = octave_value();
16378 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
16384 static octave_value_list _wrap_CvEMParams_term_crit_get (const octave_value_list& args, int nargout) {
16385 CvEMParams *arg1 = (CvEMParams *) 0 ;
16388 octave_value_list _out;
16389 octave_value_list *_outp=&_out;
16390 octave_value _outv;
16391 CvTermCriteria *result = 0 ;
16393 if (!SWIG_check_num_args("CvEMParams_term_crit_get",args.length(),1,1,0)) {
16396 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvEMParams, 0 | 0 );
16397 if (!SWIG_IsOK(res1)) {
16398 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvEMParams_term_crit_get" "', argument " "1"" of type '" "CvEMParams *""'");
16400 arg1 = (CvEMParams *)(argp1);
16401 result = (CvTermCriteria *)& ((arg1)->term_crit);
16402 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvTermCriteria, 0 | 0 );
16403 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
16409 static octave_value_list _wrap_delete_CvEMParams (const octave_value_list& args, int nargout) {
16410 CvEMParams *arg1 = (CvEMParams *) 0 ;
16413 octave_value_list _out;
16414 octave_value_list *_outp=&_out;
16415 octave_value _outv;
16417 if (!SWIG_check_num_args("delete_CvEMParams",args.length(),1,1,0)) {
16420 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvEMParams, SWIG_POINTER_DISOWN | 0 );
16421 if (!SWIG_IsOK(res1)) {
16422 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CvEMParams" "', argument " "1"" of type '" "CvEMParams *""'");
16424 arg1 = (CvEMParams *)(argp1);
16434 _outv = octave_value();
16435 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
16441 static swig_octave_member swig_CvEMParams_members[] = {
16442 {"nclusters",0,_wrap_CvEMParams_nclusters_get,_wrap_CvEMParams_nclusters_set,0,0},
16443 {"cov_mat_type",0,_wrap_CvEMParams_cov_mat_type_get,_wrap_CvEMParams_cov_mat_type_set,0,0},
16444 {"start_step",0,_wrap_CvEMParams_start_step_get,_wrap_CvEMParams_start_step_set,0,0},
16445 {"probs",0,_wrap_CvEMParams_probs_get,_wrap_CvEMParams_probs_set,0,0},
16446 {"weights",0,_wrap_CvEMParams_weights_get,_wrap_CvEMParams_weights_set,0,0},
16447 {"means",0,_wrap_CvEMParams_means_get,_wrap_CvEMParams_means_set,0,0},
16448 {"covs",0,_wrap_CvEMParams_covs_get,_wrap_CvEMParams_covs_set,0,0},
16449 {"term_crit",0,_wrap_CvEMParams_term_crit_get,_wrap_CvEMParams_term_crit_set,0,0},
16452 static const char *swig_CvEMParams_base_names[] = {0};
16453 static const swig_type_info *swig_CvEMParams_base[] = {0};
16454 static swig_octave_class _wrap_class_CvEMParams = {"CvEMParams", &SWIGTYPE_p_CvEMParams,0,_wrap_new_CvEMParams,0,_wrap_delete_CvEMParams,swig_CvEMParams_members,swig_CvEMParams_base_names,swig_CvEMParams_base };
16456 static octave_value_list _wrap_new_CvEM__SWIG_0 (const octave_value_list& args, int nargout) {
16457 octave_value_list _out;
16458 octave_value_list *_outp=&_out;
16459 octave_value _outv;
16462 if (!SWIG_check_num_args("new_CvEM",args.length(),0,0,0)) {
16467 result = (CvEM *)new CvEM();
16474 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvEM, 1 | 0 );
16475 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
16481 static octave_value_list _wrap_new_CvEM__SWIG_1 (const octave_value_list& args, int nargout) {
16482 CvMat *arg1 = (CvMat *) 0 ;
16483 CvMat *arg2 = (CvMat *) 0 ;
16485 CvMat *arg4 = (CvMat *) 0 ;
16494 octave_value_list _out;
16495 octave_value_list *_outp=&_out;
16496 octave_value _outv;
16499 if (!SWIG_check_num_args("new_CvEM",args.length(),4,4,0)) {
16502 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvMat, 0 | 0 );
16503 if (!SWIG_IsOK(res1)) {
16504 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CvEM" "', argument " "1"" of type '" "CvMat const *""'");
16506 arg1 = (CvMat *)(argp1);
16507 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
16508 if (!SWIG_IsOK(res2)) {
16509 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_CvEM" "', argument " "2"" of type '" "CvMat const *""'");
16511 arg2 = (CvMat *)(argp2);
16513 res3 = SWIG_ConvertPtr(args(2), &argp3, SWIGTYPE_p_CvEMParams, 0 );
16514 if (!SWIG_IsOK(res3)) {
16515 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_CvEM" "', argument " "3"" of type '" "CvEMParams""'");
16518 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_CvEM" "', argument " "3"" of type '" "CvEMParams""'");
16520 arg3 = *((CvEMParams *)(argp3));
16523 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
16524 if (!SWIG_IsOK(res4)) {
16525 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_CvEM" "', argument " "4"" of type '" "CvMat *""'");
16527 arg4 = (CvMat *)(argp4);
16530 result = (CvEM *)new CvEM((CvMat const *)arg1,(CvMat const *)arg2,arg3,arg4);
16537 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvEM, 1 | 0 );
16538 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
16544 static octave_value_list _wrap_new_CvEM__SWIG_2 (const octave_value_list& args, int nargout) {
16545 CvMat *arg1 = (CvMat *) 0 ;
16546 CvMat *arg2 = (CvMat *) 0 ;
16554 octave_value_list _out;
16555 octave_value_list *_outp=&_out;
16556 octave_value _outv;
16559 if (!SWIG_check_num_args("new_CvEM",args.length(),3,3,0)) {
16562 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvMat, 0 | 0 );
16563 if (!SWIG_IsOK(res1)) {
16564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CvEM" "', argument " "1"" of type '" "CvMat const *""'");
16566 arg1 = (CvMat *)(argp1);
16567 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
16568 if (!SWIG_IsOK(res2)) {
16569 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_CvEM" "', argument " "2"" of type '" "CvMat const *""'");
16571 arg2 = (CvMat *)(argp2);
16573 res3 = SWIG_ConvertPtr(args(2), &argp3, SWIGTYPE_p_CvEMParams, 0 );
16574 if (!SWIG_IsOK(res3)) {
16575 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_CvEM" "', argument " "3"" of type '" "CvEMParams""'");
16578 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_CvEM" "', argument " "3"" of type '" "CvEMParams""'");
16580 arg3 = *((CvEMParams *)(argp3));
16585 result = (CvEM *)new CvEM((CvMat const *)arg1,(CvMat const *)arg2,arg3);
16592 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvEM, 1 | 0 );
16593 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
16599 static octave_value_list _wrap_new_CvEM__SWIG_3 (const octave_value_list& args, int nargout) {
16600 CvMat *arg1 = (CvMat *) 0 ;
16601 CvMat *arg2 = (CvMat *) 0 ;
16606 octave_value_list _out;
16607 octave_value_list *_outp=&_out;
16608 octave_value _outv;
16611 if (!SWIG_check_num_args("new_CvEM",args.length(),2,2,0)) {
16614 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvMat, 0 | 0 );
16615 if (!SWIG_IsOK(res1)) {
16616 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CvEM" "', argument " "1"" of type '" "CvMat const *""'");
16618 arg1 = (CvMat *)(argp1);
16619 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
16620 if (!SWIG_IsOK(res2)) {
16621 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_CvEM" "', argument " "2"" of type '" "CvMat const *""'");
16623 arg2 = (CvMat *)(argp2);
16626 result = (CvEM *)new CvEM((CvMat const *)arg1,(CvMat const *)arg2);
16633 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvEM, 1 | 0 );
16634 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
16640 static octave_value_list _wrap_new_CvEM__SWIG_4 (const octave_value_list& args, int nargout) {
16641 CvMat *arg1 = (CvMat *) 0 ;
16644 octave_value_list _out;
16645 octave_value_list *_outp=&_out;
16646 octave_value _outv;
16649 if (!SWIG_check_num_args("new_CvEM",args.length(),1,1,0)) {
16652 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvMat, 0 | 0 );
16653 if (!SWIG_IsOK(res1)) {
16654 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CvEM" "', argument " "1"" of type '" "CvMat const *""'");
16656 arg1 = (CvMat *)(argp1);
16659 result = (CvEM *)new CvEM((CvMat const *)arg1);
16666 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvEM, 1 | 0 );
16667 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
16673 static octave_value_list _wrap_new_CvEM (const octave_value_list& args, int nargout) {
16674 int argc = args.length();
16675 octave_value_ref argv[4]={
16676 octave_value_ref(args,0),octave_value_ref(args,1),octave_value_ref(args,2),octave_value_ref(args,3)
16680 return _wrap_new_CvEM__SWIG_0(args, nargout);
16685 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvMat, 0);
16686 _v = SWIG_CheckState(res);
16688 return _wrap_new_CvEM__SWIG_4(args, nargout);
16694 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvMat, 0);
16695 _v = SWIG_CheckState(res);
16698 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
16699 _v = SWIG_CheckState(res);
16701 return _wrap_new_CvEM__SWIG_3(args, nargout);
16708 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvMat, 0);
16709 _v = SWIG_CheckState(res);
16712 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
16713 _v = SWIG_CheckState(res);
16716 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvEMParams, 0);
16717 _v = SWIG_CheckState(res);
16719 return _wrap_new_CvEM__SWIG_2(args, nargout);
16727 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvMat, 0);
16728 _v = SWIG_CheckState(res);
16731 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
16732 _v = SWIG_CheckState(res);
16735 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvEMParams, 0);
16736 _v = SWIG_CheckState(res);
16739 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
16740 _v = SWIG_CheckState(res);
16742 return _wrap_new_CvEM__SWIG_1(args, nargout);
16749 error("No matching function for overload");
16750 return octave_value_list();
16754 static octave_value_list _wrap_delete_CvEM (const octave_value_list& args, int nargout) {
16755 CvEM *arg1 = (CvEM *) 0 ;
16758 octave_value_list _out;
16759 octave_value_list *_outp=&_out;
16760 octave_value _outv;
16762 if (!SWIG_check_num_args("delete_CvEM",args.length(),1,1,0)) {
16765 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvEM, SWIG_POINTER_DISOWN | 0 );
16766 if (!SWIG_IsOK(res1)) {
16767 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CvEM" "', argument " "1"" of type '" "CvEM *""'");
16769 arg1 = (CvEM *)(argp1);
16779 _outv = octave_value();
16780 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
16786 static octave_value_list _wrap_CvEM_train__SWIG_0 (const octave_value_list& args, int nargout) {
16787 CvEM *arg1 = (CvEM *) 0 ;
16788 CvMat *arg2 = (CvMat *) 0 ;
16789 CvMat *arg3 = (CvMat *) 0 ;
16791 CvMat *arg5 = (CvMat *) 0 ;
16802 octave_value_list _out;
16803 octave_value_list *_outp=&_out;
16804 octave_value _outv;
16807 if (!SWIG_check_num_args("CvEM_train",args.length(),5,5,0)) {
16810 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvEM, 0 | 0 );
16811 if (!SWIG_IsOK(res1)) {
16812 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvEM_train" "', argument " "1"" of type '" "CvEM *""'");
16814 arg1 = (CvEM *)(argp1);
16815 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
16816 if (!SWIG_IsOK(res2)) {
16817 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvEM_train" "', argument " "2"" of type '" "CvMat const *""'");
16819 arg2 = (CvMat *)(argp2);
16820 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvMat, 0 | 0 );
16821 if (!SWIG_IsOK(res3)) {
16822 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvEM_train" "', argument " "3"" of type '" "CvMat const *""'");
16824 arg3 = (CvMat *)(argp3);
16826 res4 = SWIG_ConvertPtr(args(3), &argp4, SWIGTYPE_p_CvEMParams, 0 );
16827 if (!SWIG_IsOK(res4)) {
16828 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvEM_train" "', argument " "4"" of type '" "CvEMParams""'");
16831 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvEM_train" "', argument " "4"" of type '" "CvEMParams""'");
16833 arg4 = *((CvEMParams *)(argp4));
16836 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
16837 if (!SWIG_IsOK(res5)) {
16838 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvEM_train" "', argument " "5"" of type '" "CvMat *""'");
16840 arg5 = (CvMat *)(argp5);
16843 result = (bool)(arg1)->train((CvMat const *)arg2,(CvMat const *)arg3,arg4,arg5);
16850 _outv = SWIG_From_bool((bool)(result));
16851 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
16857 static octave_value_list _wrap_CvEM_train__SWIG_1 (const octave_value_list& args, int nargout) {
16858 CvEM *arg1 = (CvEM *) 0 ;
16859 CvMat *arg2 = (CvMat *) 0 ;
16860 CvMat *arg3 = (CvMat *) 0 ;
16870 octave_value_list _out;
16871 octave_value_list *_outp=&_out;
16872 octave_value _outv;
16875 if (!SWIG_check_num_args("CvEM_train",args.length(),4,4,0)) {
16878 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvEM, 0 | 0 );
16879 if (!SWIG_IsOK(res1)) {
16880 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvEM_train" "', argument " "1"" of type '" "CvEM *""'");
16882 arg1 = (CvEM *)(argp1);
16883 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
16884 if (!SWIG_IsOK(res2)) {
16885 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvEM_train" "', argument " "2"" of type '" "CvMat const *""'");
16887 arg2 = (CvMat *)(argp2);
16888 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvMat, 0 | 0 );
16889 if (!SWIG_IsOK(res3)) {
16890 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvEM_train" "', argument " "3"" of type '" "CvMat const *""'");
16892 arg3 = (CvMat *)(argp3);
16894 res4 = SWIG_ConvertPtr(args(3), &argp4, SWIGTYPE_p_CvEMParams, 0 );
16895 if (!SWIG_IsOK(res4)) {
16896 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvEM_train" "', argument " "4"" of type '" "CvEMParams""'");
16899 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvEM_train" "', argument " "4"" of type '" "CvEMParams""'");
16901 arg4 = *((CvEMParams *)(argp4));
16906 result = (bool)(arg1)->train((CvMat const *)arg2,(CvMat const *)arg3,arg4);
16913 _outv = SWIG_From_bool((bool)(result));
16914 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
16920 static octave_value_list _wrap_CvEM_train__SWIG_2 (const octave_value_list& args, int nargout) {
16921 CvEM *arg1 = (CvEM *) 0 ;
16922 CvMat *arg2 = (CvMat *) 0 ;
16923 CvMat *arg3 = (CvMat *) 0 ;
16930 octave_value_list _out;
16931 octave_value_list *_outp=&_out;
16932 octave_value _outv;
16935 if (!SWIG_check_num_args("CvEM_train",args.length(),3,3,0)) {
16938 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvEM, 0 | 0 );
16939 if (!SWIG_IsOK(res1)) {
16940 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvEM_train" "', argument " "1"" of type '" "CvEM *""'");
16942 arg1 = (CvEM *)(argp1);
16943 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
16944 if (!SWIG_IsOK(res2)) {
16945 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvEM_train" "', argument " "2"" of type '" "CvMat const *""'");
16947 arg2 = (CvMat *)(argp2);
16948 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvMat, 0 | 0 );
16949 if (!SWIG_IsOK(res3)) {
16950 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvEM_train" "', argument " "3"" of type '" "CvMat const *""'");
16952 arg3 = (CvMat *)(argp3);
16955 result = (bool)(arg1)->train((CvMat const *)arg2,(CvMat const *)arg3);
16962 _outv = SWIG_From_bool((bool)(result));
16963 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
16969 static octave_value_list _wrap_CvEM_train__SWIG_3 (const octave_value_list& args, int nargout) {
16970 CvEM *arg1 = (CvEM *) 0 ;
16971 CvMat *arg2 = (CvMat *) 0 ;
16976 octave_value_list _out;
16977 octave_value_list *_outp=&_out;
16978 octave_value _outv;
16981 if (!SWIG_check_num_args("CvEM_train",args.length(),2,2,0)) {
16984 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvEM, 0 | 0 );
16985 if (!SWIG_IsOK(res1)) {
16986 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvEM_train" "', argument " "1"" of type '" "CvEM *""'");
16988 arg1 = (CvEM *)(argp1);
16989 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
16990 if (!SWIG_IsOK(res2)) {
16991 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvEM_train" "', argument " "2"" of type '" "CvMat const *""'");
16993 arg2 = (CvMat *)(argp2);
16996 result = (bool)(arg1)->train((CvMat const *)arg2);
17003 _outv = SWIG_From_bool((bool)(result));
17004 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
17010 static octave_value_list _wrap_CvEM_train (const octave_value_list& args, int nargout) {
17011 int argc = args.length();
17012 octave_value_ref argv[5]={
17013 octave_value_ref(args,0),octave_value_ref(args,1),octave_value_ref(args,2),octave_value_ref(args,3),octave_value_ref(args,4)
17019 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvEM, 0);
17020 _v = SWIG_CheckState(res);
17023 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
17024 _v = SWIG_CheckState(res);
17026 return _wrap_CvEM_train__SWIG_3(args, nargout);
17033 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvEM, 0);
17034 _v = SWIG_CheckState(res);
17037 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
17038 _v = SWIG_CheckState(res);
17041 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvMat, 0);
17042 _v = SWIG_CheckState(res);
17044 return _wrap_CvEM_train__SWIG_2(args, nargout);
17052 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvEM, 0);
17053 _v = SWIG_CheckState(res);
17056 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
17057 _v = SWIG_CheckState(res);
17060 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvMat, 0);
17061 _v = SWIG_CheckState(res);
17064 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvEMParams, 0);
17065 _v = SWIG_CheckState(res);
17067 return _wrap_CvEM_train__SWIG_1(args, nargout);
17076 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvEM, 0);
17077 _v = SWIG_CheckState(res);
17080 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
17081 _v = SWIG_CheckState(res);
17084 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvMat, 0);
17085 _v = SWIG_CheckState(res);
17088 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvEMParams, 0);
17089 _v = SWIG_CheckState(res);
17092 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvMat, 0);
17093 _v = SWIG_CheckState(res);
17095 return _wrap_CvEM_train__SWIG_0(args, nargout);
17103 error("No matching function for overload");
17104 return octave_value_list();
17108 static octave_value_list _wrap_CvEM_predict (const octave_value_list& args, int nargout) {
17109 CvEM *arg1 = (CvEM *) 0 ;
17110 CvMat *arg2 = (CvMat *) 0 ;
17111 CvMat *arg3 = (CvMat *) 0 ;
17118 octave_value_list _out;
17119 octave_value_list *_outp=&_out;
17120 octave_value _outv;
17123 if (!SWIG_check_num_args("CvEM_predict",args.length(),3,3,0)) {
17126 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvEM, 0 | 0 );
17127 if (!SWIG_IsOK(res1)) {
17128 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvEM_predict" "', argument " "1"" of type '" "CvEM const *""'");
17130 arg1 = (CvEM *)(argp1);
17131 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
17132 if (!SWIG_IsOK(res2)) {
17133 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvEM_predict" "', argument " "2"" of type '" "CvMat const *""'");
17135 arg2 = (CvMat *)(argp2);
17136 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvMat, 0 | 0 );
17137 if (!SWIG_IsOK(res3)) {
17138 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvEM_predict" "', argument " "3"" of type '" "CvMat *""'");
17140 arg3 = (CvMat *)(argp3);
17143 result = (float)((CvEM const *)arg1)->predict((CvMat const *)arg2,arg3);
17150 _outv = SWIG_From_float((float)(result));
17151 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
17157 static octave_value_list _wrap_CvEM_clear (const octave_value_list& args, int nargout) {
17158 CvEM *arg1 = (CvEM *) 0 ;
17161 octave_value_list _out;
17162 octave_value_list *_outp=&_out;
17163 octave_value _outv;
17165 if (!SWIG_check_num_args("CvEM_clear",args.length(),1,1,0)) {
17168 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvEM, 0 | 0 );
17169 if (!SWIG_IsOK(res1)) {
17170 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvEM_clear" "', argument " "1"" of type '" "CvEM *""'");
17172 arg1 = (CvEM *)(argp1);
17182 _outv = octave_value();
17183 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
17189 static octave_value_list _wrap_CvEM_get_nclusters (const octave_value_list& args, int nargout) {
17190 CvEM *arg1 = (CvEM *) 0 ;
17193 octave_value_list _out;
17194 octave_value_list *_outp=&_out;
17195 octave_value _outv;
17198 if (!SWIG_check_num_args("CvEM_get_nclusters",args.length(),1,1,0)) {
17201 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvEM, 0 | 0 );
17202 if (!SWIG_IsOK(res1)) {
17203 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvEM_get_nclusters" "', argument " "1"" of type '" "CvEM const *""'");
17205 arg1 = (CvEM *)(argp1);
17208 result = (int)((CvEM const *)arg1)->get_nclusters();
17215 _outv = SWIG_From_int((int)(result));
17216 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
17222 static octave_value_list _wrap_CvEM_get_means (const octave_value_list& args, int nargout) {
17223 CvEM *arg1 = (CvEM *) 0 ;
17226 octave_value_list _out;
17227 octave_value_list *_outp=&_out;
17228 octave_value _outv;
17229 CvMat *result = 0 ;
17231 if (!SWIG_check_num_args("CvEM_get_means",args.length(),1,1,0)) {
17234 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvEM, 0 | 0 );
17235 if (!SWIG_IsOK(res1)) {
17236 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvEM_get_means" "', argument " "1"" of type '" "CvEM const *""'");
17238 arg1 = (CvEM *)(argp1);
17241 result = (CvMat *)((CvEM const *)arg1)->get_means();
17248 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvMat, 0 | 0 );
17249 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
17255 static octave_value_list _wrap_CvEM_get_weights (const octave_value_list& args, int nargout) {
17256 CvEM *arg1 = (CvEM *) 0 ;
17259 octave_value_list _out;
17260 octave_value_list *_outp=&_out;
17261 octave_value _outv;
17262 CvMat *result = 0 ;
17264 if (!SWIG_check_num_args("CvEM_get_weights",args.length(),1,1,0)) {
17267 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvEM, 0 | 0 );
17268 if (!SWIG_IsOK(res1)) {
17269 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvEM_get_weights" "', argument " "1"" of type '" "CvEM const *""'");
17271 arg1 = (CvEM *)(argp1);
17274 result = (CvMat *)((CvEM const *)arg1)->get_weights();
17281 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvMat, 0 | 0 );
17282 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
17288 static octave_value_list _wrap_CvEM_get_probs (const octave_value_list& args, int nargout) {
17289 CvEM *arg1 = (CvEM *) 0 ;
17292 octave_value_list _out;
17293 octave_value_list *_outp=&_out;
17294 octave_value _outv;
17295 CvMat *result = 0 ;
17297 if (!SWIG_check_num_args("CvEM_get_probs",args.length(),1,1,0)) {
17300 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvEM, 0 | 0 );
17301 if (!SWIG_IsOK(res1)) {
17302 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvEM_get_probs" "', argument " "1"" of type '" "CvEM const *""'");
17304 arg1 = (CvEM *)(argp1);
17307 result = (CvMat *)((CvEM const *)arg1)->get_probs();
17314 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvMat, 0 | 0 );
17315 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
17321 static octave_value_list _wrap_CvEM_get_log_likelihood (const octave_value_list& args, int nargout) {
17322 CvEM *arg1 = (CvEM *) 0 ;
17325 octave_value_list _out;
17326 octave_value_list *_outp=&_out;
17327 octave_value _outv;
17330 if (!SWIG_check_num_args("CvEM_get_log_likelihood",args.length(),1,1,0)) {
17333 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvEM, 0 | 0 );
17334 if (!SWIG_IsOK(res1)) {
17335 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvEM_get_log_likelihood" "', argument " "1"" of type '" "CvEM const *""'");
17337 arg1 = (CvEM *)(argp1);
17340 result = (double)((CvEM const *)arg1)->get_log_likelihood();
17347 _outv = SWIG_From_double((double)(result));
17348 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
17354 static octave_value_list _wrap_CvEM_get_covs (const octave_value_list& args, int nargout) {
17355 CvEM *arg1 = (CvEM *) 0 ;
17358 octave_value_list _out;
17359 octave_value_list *_outp=&_out;
17360 octave_value _outv;
17361 octave_value result;
17363 if (!SWIG_check_num_args("CvEM_get_covs",args.length(),1,1,0)) {
17366 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvEM, 0 | 0 );
17367 if (!SWIG_IsOK(res1)) {
17368 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvEM_get_covs" "', argument " "1"" of type '" "CvEM *""'");
17370 arg1 = (CvEM *)(argp1);
17373 result = CvEM_get_covs(arg1);
17381 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
17387 static swig_octave_member swig_CvEM_members[] = {
17388 {"train",_wrap_CvEM_train,0,0,0,0},
17389 {"predict",_wrap_CvEM_predict,0,0,0,0},
17390 {"clear",_wrap_CvEM_clear,0,0,0,0},
17391 {"get_nclusters",_wrap_CvEM_get_nclusters,0,0,0,0},
17392 {"get_means",_wrap_CvEM_get_means,0,0,0,0},
17393 {"get_weights",_wrap_CvEM_get_weights,0,0,0,0},
17394 {"get_probs",_wrap_CvEM_get_probs,0,0,0,0},
17395 {"get_log_likelihood",_wrap_CvEM_get_log_likelihood,0,0,0,0},
17396 {"get_covs",_wrap_CvEM_get_covs,0,0,0,0},
17399 static const char *swig_CvEM_base_names[] = {"_p_CvStatModel",0};
17400 static const swig_type_info *swig_CvEM_base[] = {0,0};
17401 static swig_octave_class _wrap_class_CvEM = {"CvEM", &SWIGTYPE_p_CvEM,0,_wrap_new_CvEM,0,_wrap_delete_CvEM,swig_CvEM_members,swig_CvEM_base_names,swig_CvEM_base };
17403 static octave_value_list _wrap_CvPair16u32s_u_set (const octave_value_list& args, int nargout) {
17404 CvPair16u32s *arg1 = (CvPair16u32s *) 0 ;
17405 unsigned short *arg2 = (unsigned short *) 0 ;
17410 octave_value_list _out;
17411 octave_value_list *_outp=&_out;
17412 octave_value _outv;
17414 if (!SWIG_check_num_args("CvPair16u32s_u_set",args.length(),2,2,0)) {
17417 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvPair16u32s, 0 | 0 );
17418 if (!SWIG_IsOK(res1)) {
17419 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvPair16u32s_u_set" "', argument " "1"" of type '" "CvPair16u32s *""'");
17421 arg1 = (CvPair16u32s *)(argp1);
17422 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_unsigned_short, SWIG_POINTER_DISOWN | 0 );
17423 if (!SWIG_IsOK(res2)) {
17424 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvPair16u32s_u_set" "', argument " "2"" of type '" "unsigned short *""'");
17426 arg2 = (unsigned short *)(argp2);
17427 if (arg1) (arg1)->u = arg2;
17428 _outv = octave_value();
17429 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
17435 static octave_value_list _wrap_CvPair16u32s_u_get (const octave_value_list& args, int nargout) {
17436 CvPair16u32s *arg1 = (CvPair16u32s *) 0 ;
17439 octave_value_list _out;
17440 octave_value_list *_outp=&_out;
17441 octave_value _outv;
17442 unsigned short *result = 0 ;
17444 if (!SWIG_check_num_args("CvPair16u32s_u_get",args.length(),1,1,0)) {
17447 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvPair16u32s, 0 | 0 );
17448 if (!SWIG_IsOK(res1)) {
17449 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvPair16u32s_u_get" "', argument " "1"" of type '" "CvPair16u32s *""'");
17451 arg1 = (CvPair16u32s *)(argp1);
17452 result = (unsigned short *) ((arg1)->u);
17453 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_short, 0 | 0 );
17454 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
17460 static octave_value_list _wrap_CvPair16u32s_i_set (const octave_value_list& args, int nargout) {
17461 CvPair16u32s *arg1 = (CvPair16u32s *) 0 ;
17462 int *arg2 = (int *) 0 ;
17467 octave_value_list _out;
17468 octave_value_list *_outp=&_out;
17469 octave_value _outv;
17471 if (!SWIG_check_num_args("CvPair16u32s_i_set",args.length(),2,2,0)) {
17474 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvPair16u32s, 0 | 0 );
17475 if (!SWIG_IsOK(res1)) {
17476 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvPair16u32s_i_set" "', argument " "1"" of type '" "CvPair16u32s *""'");
17478 arg1 = (CvPair16u32s *)(argp1);
17479 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_int, SWIG_POINTER_DISOWN | 0 );
17480 if (!SWIG_IsOK(res2)) {
17481 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvPair16u32s_i_set" "', argument " "2"" of type '" "int *""'");
17483 arg2 = (int *)(argp2);
17484 if (arg1) (arg1)->i = arg2;
17485 _outv = octave_value();
17486 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
17492 static octave_value_list _wrap_CvPair16u32s_i_get (const octave_value_list& args, int nargout) {
17493 CvPair16u32s *arg1 = (CvPair16u32s *) 0 ;
17496 octave_value_list _out;
17497 octave_value_list *_outp=&_out;
17498 octave_value _outv;
17501 if (!SWIG_check_num_args("CvPair16u32s_i_get",args.length(),1,1,0)) {
17504 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvPair16u32s, 0 | 0 );
17505 if (!SWIG_IsOK(res1)) {
17506 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvPair16u32s_i_get" "', argument " "1"" of type '" "CvPair16u32s *""'");
17508 arg1 = (CvPair16u32s *)(argp1);
17509 result = (int *) ((arg1)->i);
17510 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0 );
17511 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
17517 static octave_value_list _wrap_new_CvPair16u32s (const octave_value_list& args, int nargout) {
17518 octave_value_list _out;
17519 octave_value_list *_outp=&_out;
17520 octave_value _outv;
17521 CvPair16u32s *result = 0 ;
17523 if (!SWIG_check_num_args("new_CvPair16u32s",args.length(),0,0,0)) {
17528 result = (CvPair16u32s *)new CvPair16u32s();
17535 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvPair16u32s, 1 | 0 );
17536 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
17542 static octave_value_list _wrap_delete_CvPair16u32s (const octave_value_list& args, int nargout) {
17543 CvPair16u32s *arg1 = (CvPair16u32s *) 0 ;
17546 octave_value_list _out;
17547 octave_value_list *_outp=&_out;
17548 octave_value _outv;
17550 if (!SWIG_check_num_args("delete_CvPair16u32s",args.length(),1,1,0)) {
17553 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvPair16u32s, SWIG_POINTER_DISOWN | 0 );
17554 if (!SWIG_IsOK(res1)) {
17555 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CvPair16u32s" "', argument " "1"" of type '" "CvPair16u32s *""'");
17557 arg1 = (CvPair16u32s *)(argp1);
17567 _outv = octave_value();
17568 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
17574 static swig_octave_member swig_CvPair16u32s_members[] = {
17575 {"u",0,_wrap_CvPair16u32s_u_get,_wrap_CvPair16u32s_u_set,0,0},
17576 {"i",0,_wrap_CvPair16u32s_i_get,_wrap_CvPair16u32s_i_set,0,0},
17579 static const char *swig_CvPair16u32s_base_names[] = {0};
17580 static const swig_type_info *swig_CvPair16u32s_base[] = {0};
17581 static swig_octave_class _wrap_class_CvPair16u32s = {"CvPair16u32s", &SWIGTYPE_p_CvPair16u32s,0,_wrap_new_CvPair16u32s,0,_wrap_delete_CvPair16u32s,swig_CvPair16u32s_members,swig_CvPair16u32s_base_names,swig_CvPair16u32s_base };
17583 static octave_value_list _wrap_CvDTreeSplit_var_idx_set (const octave_value_list& args, int nargout) {
17584 CvDTreeSplit *arg1 = (CvDTreeSplit *) 0 ;
17590 octave_value_list _out;
17591 octave_value_list *_outp=&_out;
17592 octave_value _outv;
17594 if (!SWIG_check_num_args("CvDTreeSplit_var_idx_set",args.length(),2,2,0)) {
17597 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeSplit, 0 | 0 );
17598 if (!SWIG_IsOK(res1)) {
17599 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeSplit_var_idx_set" "', argument " "1"" of type '" "CvDTreeSplit *""'");
17601 arg1 = (CvDTreeSplit *)(argp1);
17602 ecode2 = SWIG_AsVal_int(args(1), &val2);
17603 if (!SWIG_IsOK(ecode2)) {
17604 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvDTreeSplit_var_idx_set" "', argument " "2"" of type '" "int""'");
17606 arg2 = (int)(val2);
17607 if (arg1) (arg1)->var_idx = arg2;
17608 _outv = octave_value();
17609 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
17615 static octave_value_list _wrap_CvDTreeSplit_var_idx_get (const octave_value_list& args, int nargout) {
17616 CvDTreeSplit *arg1 = (CvDTreeSplit *) 0 ;
17619 octave_value_list _out;
17620 octave_value_list *_outp=&_out;
17621 octave_value _outv;
17624 if (!SWIG_check_num_args("CvDTreeSplit_var_idx_get",args.length(),1,1,0)) {
17627 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeSplit, 0 | 0 );
17628 if (!SWIG_IsOK(res1)) {
17629 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeSplit_var_idx_get" "', argument " "1"" of type '" "CvDTreeSplit *""'");
17631 arg1 = (CvDTreeSplit *)(argp1);
17632 result = (int) ((arg1)->var_idx);
17633 _outv = SWIG_From_int((int)(result));
17634 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
17640 static octave_value_list _wrap_CvDTreeSplit_condensed_idx_set (const octave_value_list& args, int nargout) {
17641 CvDTreeSplit *arg1 = (CvDTreeSplit *) 0 ;
17647 octave_value_list _out;
17648 octave_value_list *_outp=&_out;
17649 octave_value _outv;
17651 if (!SWIG_check_num_args("CvDTreeSplit_condensed_idx_set",args.length(),2,2,0)) {
17654 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeSplit, 0 | 0 );
17655 if (!SWIG_IsOK(res1)) {
17656 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeSplit_condensed_idx_set" "', argument " "1"" of type '" "CvDTreeSplit *""'");
17658 arg1 = (CvDTreeSplit *)(argp1);
17659 ecode2 = SWIG_AsVal_int(args(1), &val2);
17660 if (!SWIG_IsOK(ecode2)) {
17661 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvDTreeSplit_condensed_idx_set" "', argument " "2"" of type '" "int""'");
17663 arg2 = (int)(val2);
17664 if (arg1) (arg1)->condensed_idx = arg2;
17665 _outv = octave_value();
17666 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
17672 static octave_value_list _wrap_CvDTreeSplit_condensed_idx_get (const octave_value_list& args, int nargout) {
17673 CvDTreeSplit *arg1 = (CvDTreeSplit *) 0 ;
17676 octave_value_list _out;
17677 octave_value_list *_outp=&_out;
17678 octave_value _outv;
17681 if (!SWIG_check_num_args("CvDTreeSplit_condensed_idx_get",args.length(),1,1,0)) {
17684 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeSplit, 0 | 0 );
17685 if (!SWIG_IsOK(res1)) {
17686 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeSplit_condensed_idx_get" "', argument " "1"" of type '" "CvDTreeSplit *""'");
17688 arg1 = (CvDTreeSplit *)(argp1);
17689 result = (int) ((arg1)->condensed_idx);
17690 _outv = SWIG_From_int((int)(result));
17691 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
17697 static octave_value_list _wrap_CvDTreeSplit_inversed_set (const octave_value_list& args, int nargout) {
17698 CvDTreeSplit *arg1 = (CvDTreeSplit *) 0 ;
17704 octave_value_list _out;
17705 octave_value_list *_outp=&_out;
17706 octave_value _outv;
17708 if (!SWIG_check_num_args("CvDTreeSplit_inversed_set",args.length(),2,2,0)) {
17711 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeSplit, 0 | 0 );
17712 if (!SWIG_IsOK(res1)) {
17713 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeSplit_inversed_set" "', argument " "1"" of type '" "CvDTreeSplit *""'");
17715 arg1 = (CvDTreeSplit *)(argp1);
17716 ecode2 = SWIG_AsVal_int(args(1), &val2);
17717 if (!SWIG_IsOK(ecode2)) {
17718 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvDTreeSplit_inversed_set" "', argument " "2"" of type '" "int""'");
17720 arg2 = (int)(val2);
17721 if (arg1) (arg1)->inversed = arg2;
17722 _outv = octave_value();
17723 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
17729 static octave_value_list _wrap_CvDTreeSplit_inversed_get (const octave_value_list& args, int nargout) {
17730 CvDTreeSplit *arg1 = (CvDTreeSplit *) 0 ;
17733 octave_value_list _out;
17734 octave_value_list *_outp=&_out;
17735 octave_value _outv;
17738 if (!SWIG_check_num_args("CvDTreeSplit_inversed_get",args.length(),1,1,0)) {
17741 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeSplit, 0 | 0 );
17742 if (!SWIG_IsOK(res1)) {
17743 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeSplit_inversed_get" "', argument " "1"" of type '" "CvDTreeSplit *""'");
17745 arg1 = (CvDTreeSplit *)(argp1);
17746 result = (int) ((arg1)->inversed);
17747 _outv = SWIG_From_int((int)(result));
17748 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
17754 static octave_value_list _wrap_CvDTreeSplit_quality_set (const octave_value_list& args, int nargout) {
17755 CvDTreeSplit *arg1 = (CvDTreeSplit *) 0 ;
17761 octave_value_list _out;
17762 octave_value_list *_outp=&_out;
17763 octave_value _outv;
17765 if (!SWIG_check_num_args("CvDTreeSplit_quality_set",args.length(),2,2,0)) {
17768 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeSplit, 0 | 0 );
17769 if (!SWIG_IsOK(res1)) {
17770 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeSplit_quality_set" "', argument " "1"" of type '" "CvDTreeSplit *""'");
17772 arg1 = (CvDTreeSplit *)(argp1);
17773 ecode2 = SWIG_AsVal_float(args(1), &val2);
17774 if (!SWIG_IsOK(ecode2)) {
17775 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvDTreeSplit_quality_set" "', argument " "2"" of type '" "float""'");
17777 arg2 = (float)(val2);
17778 if (arg1) (arg1)->quality = arg2;
17779 _outv = octave_value();
17780 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
17786 static octave_value_list _wrap_CvDTreeSplit_quality_get (const octave_value_list& args, int nargout) {
17787 CvDTreeSplit *arg1 = (CvDTreeSplit *) 0 ;
17790 octave_value_list _out;
17791 octave_value_list *_outp=&_out;
17792 octave_value _outv;
17795 if (!SWIG_check_num_args("CvDTreeSplit_quality_get",args.length(),1,1,0)) {
17798 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeSplit, 0 | 0 );
17799 if (!SWIG_IsOK(res1)) {
17800 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeSplit_quality_get" "', argument " "1"" of type '" "CvDTreeSplit *""'");
17802 arg1 = (CvDTreeSplit *)(argp1);
17803 result = (float) ((arg1)->quality);
17804 _outv = SWIG_From_float((float)(result));
17805 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
17811 static octave_value_list _wrap_CvDTreeSplit_next_set (const octave_value_list& args, int nargout) {
17812 CvDTreeSplit *arg1 = (CvDTreeSplit *) 0 ;
17813 CvDTreeSplit *arg2 = (CvDTreeSplit *) 0 ;
17818 octave_value_list _out;
17819 octave_value_list *_outp=&_out;
17820 octave_value _outv;
17822 if (!SWIG_check_num_args("CvDTreeSplit_next_set",args.length(),2,2,0)) {
17825 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeSplit, 0 | 0 );
17826 if (!SWIG_IsOK(res1)) {
17827 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeSplit_next_set" "', argument " "1"" of type '" "CvDTreeSplit *""'");
17829 arg1 = (CvDTreeSplit *)(argp1);
17830 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvDTreeSplit, SWIG_POINTER_DISOWN | 0 );
17831 if (!SWIG_IsOK(res2)) {
17832 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvDTreeSplit_next_set" "', argument " "2"" of type '" "CvDTreeSplit *""'");
17834 arg2 = (CvDTreeSplit *)(argp2);
17835 if (arg1) (arg1)->next = arg2;
17836 _outv = octave_value();
17837 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
17843 static octave_value_list _wrap_CvDTreeSplit_next_get (const octave_value_list& args, int nargout) {
17844 CvDTreeSplit *arg1 = (CvDTreeSplit *) 0 ;
17847 octave_value_list _out;
17848 octave_value_list *_outp=&_out;
17849 octave_value _outv;
17850 CvDTreeSplit *result = 0 ;
17852 if (!SWIG_check_num_args("CvDTreeSplit_next_get",args.length(),1,1,0)) {
17855 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeSplit, 0 | 0 );
17856 if (!SWIG_IsOK(res1)) {
17857 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeSplit_next_get" "', argument " "1"" of type '" "CvDTreeSplit *""'");
17859 arg1 = (CvDTreeSplit *)(argp1);
17860 result = (CvDTreeSplit *) ((arg1)->next);
17861 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvDTreeSplit, 0 | 0 );
17862 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
17868 static octave_value_list _wrap_new_CvDTreeSplit (const octave_value_list& args, int nargout) {
17869 octave_value_list _out;
17870 octave_value_list *_outp=&_out;
17871 octave_value _outv;
17872 CvDTreeSplit *result = 0 ;
17874 if (!SWIG_check_num_args("new_CvDTreeSplit",args.length(),0,0,0)) {
17879 result = (CvDTreeSplit *)new CvDTreeSplit();
17886 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvDTreeSplit, 1 | 0 );
17887 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
17893 static octave_value_list _wrap_delete_CvDTreeSplit (const octave_value_list& args, int nargout) {
17894 CvDTreeSplit *arg1 = (CvDTreeSplit *) 0 ;
17897 octave_value_list _out;
17898 octave_value_list *_outp=&_out;
17899 octave_value _outv;
17901 if (!SWIG_check_num_args("delete_CvDTreeSplit",args.length(),1,1,0)) {
17904 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeSplit, SWIG_POINTER_DISOWN | 0 );
17905 if (!SWIG_IsOK(res1)) {
17906 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CvDTreeSplit" "', argument " "1"" of type '" "CvDTreeSplit *""'");
17908 arg1 = (CvDTreeSplit *)(argp1);
17918 _outv = octave_value();
17919 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
17925 static swig_octave_member swig_CvDTreeSplit_members[] = {
17926 {"var_idx",0,_wrap_CvDTreeSplit_var_idx_get,_wrap_CvDTreeSplit_var_idx_set,0,0},
17927 {"condensed_idx",0,_wrap_CvDTreeSplit_condensed_idx_get,_wrap_CvDTreeSplit_condensed_idx_set,0,0},
17928 {"inversed",0,_wrap_CvDTreeSplit_inversed_get,_wrap_CvDTreeSplit_inversed_set,0,0},
17929 {"quality",0,_wrap_CvDTreeSplit_quality_get,_wrap_CvDTreeSplit_quality_set,0,0},
17930 {"next",0,_wrap_CvDTreeSplit_next_get,_wrap_CvDTreeSplit_next_set,0,0},
17933 static const char *swig_CvDTreeSplit_base_names[] = {0};
17934 static const swig_type_info *swig_CvDTreeSplit_base[] = {0};
17935 static swig_octave_class _wrap_class_CvDTreeSplit = {"CvDTreeSplit", &SWIGTYPE_p_CvDTreeSplit,0,_wrap_new_CvDTreeSplit,0,_wrap_delete_CvDTreeSplit,swig_CvDTreeSplit_members,swig_CvDTreeSplit_base_names,swig_CvDTreeSplit_base };
17937 static octave_value_list _wrap_CvDTreeNode_class_idx_set (const octave_value_list& args, int nargout) {
17938 CvDTreeNode *arg1 = (CvDTreeNode *) 0 ;
17944 octave_value_list _out;
17945 octave_value_list *_outp=&_out;
17946 octave_value _outv;
17948 if (!SWIG_check_num_args("CvDTreeNode_class_idx_set",args.length(),2,2,0)) {
17951 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeNode, 0 | 0 );
17952 if (!SWIG_IsOK(res1)) {
17953 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeNode_class_idx_set" "', argument " "1"" of type '" "CvDTreeNode *""'");
17955 arg1 = (CvDTreeNode *)(argp1);
17956 ecode2 = SWIG_AsVal_int(args(1), &val2);
17957 if (!SWIG_IsOK(ecode2)) {
17958 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvDTreeNode_class_idx_set" "', argument " "2"" of type '" "int""'");
17960 arg2 = (int)(val2);
17961 if (arg1) (arg1)->class_idx = arg2;
17962 _outv = octave_value();
17963 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
17969 static octave_value_list _wrap_CvDTreeNode_class_idx_get (const octave_value_list& args, int nargout) {
17970 CvDTreeNode *arg1 = (CvDTreeNode *) 0 ;
17973 octave_value_list _out;
17974 octave_value_list *_outp=&_out;
17975 octave_value _outv;
17978 if (!SWIG_check_num_args("CvDTreeNode_class_idx_get",args.length(),1,1,0)) {
17981 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeNode, 0 | 0 );
17982 if (!SWIG_IsOK(res1)) {
17983 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeNode_class_idx_get" "', argument " "1"" of type '" "CvDTreeNode *""'");
17985 arg1 = (CvDTreeNode *)(argp1);
17986 result = (int) ((arg1)->class_idx);
17987 _outv = SWIG_From_int((int)(result));
17988 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
17994 static octave_value_list _wrap_CvDTreeNode_Tn_set (const octave_value_list& args, int nargout) {
17995 CvDTreeNode *arg1 = (CvDTreeNode *) 0 ;
18001 octave_value_list _out;
18002 octave_value_list *_outp=&_out;
18003 octave_value _outv;
18005 if (!SWIG_check_num_args("CvDTreeNode_Tn_set",args.length(),2,2,0)) {
18008 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeNode, 0 | 0 );
18009 if (!SWIG_IsOK(res1)) {
18010 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeNode_Tn_set" "', argument " "1"" of type '" "CvDTreeNode *""'");
18012 arg1 = (CvDTreeNode *)(argp1);
18013 ecode2 = SWIG_AsVal_int(args(1), &val2);
18014 if (!SWIG_IsOK(ecode2)) {
18015 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvDTreeNode_Tn_set" "', argument " "2"" of type '" "int""'");
18017 arg2 = (int)(val2);
18018 if (arg1) (arg1)->Tn = arg2;
18019 _outv = octave_value();
18020 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
18026 static octave_value_list _wrap_CvDTreeNode_Tn_get (const octave_value_list& args, int nargout) {
18027 CvDTreeNode *arg1 = (CvDTreeNode *) 0 ;
18030 octave_value_list _out;
18031 octave_value_list *_outp=&_out;
18032 octave_value _outv;
18035 if (!SWIG_check_num_args("CvDTreeNode_Tn_get",args.length(),1,1,0)) {
18038 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeNode, 0 | 0 );
18039 if (!SWIG_IsOK(res1)) {
18040 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeNode_Tn_get" "', argument " "1"" of type '" "CvDTreeNode *""'");
18042 arg1 = (CvDTreeNode *)(argp1);
18043 result = (int) ((arg1)->Tn);
18044 _outv = SWIG_From_int((int)(result));
18045 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
18051 static octave_value_list _wrap_CvDTreeNode_value_set (const octave_value_list& args, int nargout) {
18052 CvDTreeNode *arg1 = (CvDTreeNode *) 0 ;
18058 octave_value_list _out;
18059 octave_value_list *_outp=&_out;
18060 octave_value _outv;
18062 if (!SWIG_check_num_args("CvDTreeNode_value_set",args.length(),2,2,0)) {
18065 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeNode, 0 | 0 );
18066 if (!SWIG_IsOK(res1)) {
18067 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeNode_value_set" "', argument " "1"" of type '" "CvDTreeNode *""'");
18069 arg1 = (CvDTreeNode *)(argp1);
18070 ecode2 = SWIG_AsVal_double(args(1), &val2);
18071 if (!SWIG_IsOK(ecode2)) {
18072 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvDTreeNode_value_set" "', argument " "2"" of type '" "double""'");
18074 arg2 = (double)(val2);
18075 if (arg1) (arg1)->value = arg2;
18076 _outv = octave_value();
18077 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
18083 static octave_value_list _wrap_CvDTreeNode_value_get (const octave_value_list& args, int nargout) {
18084 CvDTreeNode *arg1 = (CvDTreeNode *) 0 ;
18087 octave_value_list _out;
18088 octave_value_list *_outp=&_out;
18089 octave_value _outv;
18092 if (!SWIG_check_num_args("CvDTreeNode_value_get",args.length(),1,1,0)) {
18095 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeNode, 0 | 0 );
18096 if (!SWIG_IsOK(res1)) {
18097 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeNode_value_get" "', argument " "1"" of type '" "CvDTreeNode *""'");
18099 arg1 = (CvDTreeNode *)(argp1);
18100 result = (double) ((arg1)->value);
18101 _outv = SWIG_From_double((double)(result));
18102 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
18108 static octave_value_list _wrap_CvDTreeNode_parent_set (const octave_value_list& args, int nargout) {
18109 CvDTreeNode *arg1 = (CvDTreeNode *) 0 ;
18110 CvDTreeNode *arg2 = (CvDTreeNode *) 0 ;
18115 octave_value_list _out;
18116 octave_value_list *_outp=&_out;
18117 octave_value _outv;
18119 if (!SWIG_check_num_args("CvDTreeNode_parent_set",args.length(),2,2,0)) {
18122 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeNode, 0 | 0 );
18123 if (!SWIG_IsOK(res1)) {
18124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeNode_parent_set" "', argument " "1"" of type '" "CvDTreeNode *""'");
18126 arg1 = (CvDTreeNode *)(argp1);
18127 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvDTreeNode, SWIG_POINTER_DISOWN | 0 );
18128 if (!SWIG_IsOK(res2)) {
18129 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvDTreeNode_parent_set" "', argument " "2"" of type '" "CvDTreeNode *""'");
18131 arg2 = (CvDTreeNode *)(argp2);
18132 if (arg1) (arg1)->parent = arg2;
18133 _outv = octave_value();
18134 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
18140 static octave_value_list _wrap_CvDTreeNode_parent_get (const octave_value_list& args, int nargout) {
18141 CvDTreeNode *arg1 = (CvDTreeNode *) 0 ;
18144 octave_value_list _out;
18145 octave_value_list *_outp=&_out;
18146 octave_value _outv;
18147 CvDTreeNode *result = 0 ;
18149 if (!SWIG_check_num_args("CvDTreeNode_parent_get",args.length(),1,1,0)) {
18152 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeNode, 0 | 0 );
18153 if (!SWIG_IsOK(res1)) {
18154 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeNode_parent_get" "', argument " "1"" of type '" "CvDTreeNode *""'");
18156 arg1 = (CvDTreeNode *)(argp1);
18157 result = (CvDTreeNode *) ((arg1)->parent);
18158 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvDTreeNode, 0 | 0 );
18159 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
18165 static octave_value_list _wrap_CvDTreeNode_left_set (const octave_value_list& args, int nargout) {
18166 CvDTreeNode *arg1 = (CvDTreeNode *) 0 ;
18167 CvDTreeNode *arg2 = (CvDTreeNode *) 0 ;
18172 octave_value_list _out;
18173 octave_value_list *_outp=&_out;
18174 octave_value _outv;
18176 if (!SWIG_check_num_args("CvDTreeNode_left_set",args.length(),2,2,0)) {
18179 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeNode, 0 | 0 );
18180 if (!SWIG_IsOK(res1)) {
18181 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeNode_left_set" "', argument " "1"" of type '" "CvDTreeNode *""'");
18183 arg1 = (CvDTreeNode *)(argp1);
18184 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvDTreeNode, SWIG_POINTER_DISOWN | 0 );
18185 if (!SWIG_IsOK(res2)) {
18186 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvDTreeNode_left_set" "', argument " "2"" of type '" "CvDTreeNode *""'");
18188 arg2 = (CvDTreeNode *)(argp2);
18189 if (arg1) (arg1)->left = arg2;
18190 _outv = octave_value();
18191 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
18197 static octave_value_list _wrap_CvDTreeNode_left_get (const octave_value_list& args, int nargout) {
18198 CvDTreeNode *arg1 = (CvDTreeNode *) 0 ;
18201 octave_value_list _out;
18202 octave_value_list *_outp=&_out;
18203 octave_value _outv;
18204 CvDTreeNode *result = 0 ;
18206 if (!SWIG_check_num_args("CvDTreeNode_left_get",args.length(),1,1,0)) {
18209 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeNode, 0 | 0 );
18210 if (!SWIG_IsOK(res1)) {
18211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeNode_left_get" "', argument " "1"" of type '" "CvDTreeNode *""'");
18213 arg1 = (CvDTreeNode *)(argp1);
18214 result = (CvDTreeNode *) ((arg1)->left);
18215 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvDTreeNode, 0 | 0 );
18216 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
18222 static octave_value_list _wrap_CvDTreeNode_right_set (const octave_value_list& args, int nargout) {
18223 CvDTreeNode *arg1 = (CvDTreeNode *) 0 ;
18224 CvDTreeNode *arg2 = (CvDTreeNode *) 0 ;
18229 octave_value_list _out;
18230 octave_value_list *_outp=&_out;
18231 octave_value _outv;
18233 if (!SWIG_check_num_args("CvDTreeNode_right_set",args.length(),2,2,0)) {
18236 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeNode, 0 | 0 );
18237 if (!SWIG_IsOK(res1)) {
18238 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeNode_right_set" "', argument " "1"" of type '" "CvDTreeNode *""'");
18240 arg1 = (CvDTreeNode *)(argp1);
18241 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvDTreeNode, SWIG_POINTER_DISOWN | 0 );
18242 if (!SWIG_IsOK(res2)) {
18243 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvDTreeNode_right_set" "', argument " "2"" of type '" "CvDTreeNode *""'");
18245 arg2 = (CvDTreeNode *)(argp2);
18246 if (arg1) (arg1)->right = arg2;
18247 _outv = octave_value();
18248 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
18254 static octave_value_list _wrap_CvDTreeNode_right_get (const octave_value_list& args, int nargout) {
18255 CvDTreeNode *arg1 = (CvDTreeNode *) 0 ;
18258 octave_value_list _out;
18259 octave_value_list *_outp=&_out;
18260 octave_value _outv;
18261 CvDTreeNode *result = 0 ;
18263 if (!SWIG_check_num_args("CvDTreeNode_right_get",args.length(),1,1,0)) {
18266 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeNode, 0 | 0 );
18267 if (!SWIG_IsOK(res1)) {
18268 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeNode_right_get" "', argument " "1"" of type '" "CvDTreeNode *""'");
18270 arg1 = (CvDTreeNode *)(argp1);
18271 result = (CvDTreeNode *) ((arg1)->right);
18272 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvDTreeNode, 0 | 0 );
18273 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
18279 static octave_value_list _wrap_CvDTreeNode_split_set (const octave_value_list& args, int nargout) {
18280 CvDTreeNode *arg1 = (CvDTreeNode *) 0 ;
18281 CvDTreeSplit *arg2 = (CvDTreeSplit *) 0 ;
18286 octave_value_list _out;
18287 octave_value_list *_outp=&_out;
18288 octave_value _outv;
18290 if (!SWIG_check_num_args("CvDTreeNode_split_set",args.length(),2,2,0)) {
18293 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeNode, 0 | 0 );
18294 if (!SWIG_IsOK(res1)) {
18295 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeNode_split_set" "', argument " "1"" of type '" "CvDTreeNode *""'");
18297 arg1 = (CvDTreeNode *)(argp1);
18298 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvDTreeSplit, SWIG_POINTER_DISOWN | 0 );
18299 if (!SWIG_IsOK(res2)) {
18300 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvDTreeNode_split_set" "', argument " "2"" of type '" "CvDTreeSplit *""'");
18302 arg2 = (CvDTreeSplit *)(argp2);
18303 if (arg1) (arg1)->split = arg2;
18304 _outv = octave_value();
18305 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
18311 static octave_value_list _wrap_CvDTreeNode_split_get (const octave_value_list& args, int nargout) {
18312 CvDTreeNode *arg1 = (CvDTreeNode *) 0 ;
18315 octave_value_list _out;
18316 octave_value_list *_outp=&_out;
18317 octave_value _outv;
18318 CvDTreeSplit *result = 0 ;
18320 if (!SWIG_check_num_args("CvDTreeNode_split_get",args.length(),1,1,0)) {
18323 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeNode, 0 | 0 );
18324 if (!SWIG_IsOK(res1)) {
18325 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeNode_split_get" "', argument " "1"" of type '" "CvDTreeNode *""'");
18327 arg1 = (CvDTreeNode *)(argp1);
18328 result = (CvDTreeSplit *) ((arg1)->split);
18329 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvDTreeSplit, 0 | 0 );
18330 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
18336 static octave_value_list _wrap_CvDTreeNode_sample_count_set (const octave_value_list& args, int nargout) {
18337 CvDTreeNode *arg1 = (CvDTreeNode *) 0 ;
18343 octave_value_list _out;
18344 octave_value_list *_outp=&_out;
18345 octave_value _outv;
18347 if (!SWIG_check_num_args("CvDTreeNode_sample_count_set",args.length(),2,2,0)) {
18350 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeNode, 0 | 0 );
18351 if (!SWIG_IsOK(res1)) {
18352 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeNode_sample_count_set" "', argument " "1"" of type '" "CvDTreeNode *""'");
18354 arg1 = (CvDTreeNode *)(argp1);
18355 ecode2 = SWIG_AsVal_int(args(1), &val2);
18356 if (!SWIG_IsOK(ecode2)) {
18357 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvDTreeNode_sample_count_set" "', argument " "2"" of type '" "int""'");
18359 arg2 = (int)(val2);
18360 if (arg1) (arg1)->sample_count = arg2;
18361 _outv = octave_value();
18362 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
18368 static octave_value_list _wrap_CvDTreeNode_sample_count_get (const octave_value_list& args, int nargout) {
18369 CvDTreeNode *arg1 = (CvDTreeNode *) 0 ;
18372 octave_value_list _out;
18373 octave_value_list *_outp=&_out;
18374 octave_value _outv;
18377 if (!SWIG_check_num_args("CvDTreeNode_sample_count_get",args.length(),1,1,0)) {
18380 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeNode, 0 | 0 );
18381 if (!SWIG_IsOK(res1)) {
18382 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeNode_sample_count_get" "', argument " "1"" of type '" "CvDTreeNode *""'");
18384 arg1 = (CvDTreeNode *)(argp1);
18385 result = (int) ((arg1)->sample_count);
18386 _outv = SWIG_From_int((int)(result));
18387 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
18393 static octave_value_list _wrap_CvDTreeNode_depth_set (const octave_value_list& args, int nargout) {
18394 CvDTreeNode *arg1 = (CvDTreeNode *) 0 ;
18400 octave_value_list _out;
18401 octave_value_list *_outp=&_out;
18402 octave_value _outv;
18404 if (!SWIG_check_num_args("CvDTreeNode_depth_set",args.length(),2,2,0)) {
18407 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeNode, 0 | 0 );
18408 if (!SWIG_IsOK(res1)) {
18409 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeNode_depth_set" "', argument " "1"" of type '" "CvDTreeNode *""'");
18411 arg1 = (CvDTreeNode *)(argp1);
18412 ecode2 = SWIG_AsVal_int(args(1), &val2);
18413 if (!SWIG_IsOK(ecode2)) {
18414 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvDTreeNode_depth_set" "', argument " "2"" of type '" "int""'");
18416 arg2 = (int)(val2);
18417 if (arg1) (arg1)->depth = arg2;
18418 _outv = octave_value();
18419 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
18425 static octave_value_list _wrap_CvDTreeNode_depth_get (const octave_value_list& args, int nargout) {
18426 CvDTreeNode *arg1 = (CvDTreeNode *) 0 ;
18429 octave_value_list _out;
18430 octave_value_list *_outp=&_out;
18431 octave_value _outv;
18434 if (!SWIG_check_num_args("CvDTreeNode_depth_get",args.length(),1,1,0)) {
18437 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeNode, 0 | 0 );
18438 if (!SWIG_IsOK(res1)) {
18439 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeNode_depth_get" "', argument " "1"" of type '" "CvDTreeNode *""'");
18441 arg1 = (CvDTreeNode *)(argp1);
18442 result = (int) ((arg1)->depth);
18443 _outv = SWIG_From_int((int)(result));
18444 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
18450 static octave_value_list _wrap_CvDTreeNode_num_valid_set (const octave_value_list& args, int nargout) {
18451 CvDTreeNode *arg1 = (CvDTreeNode *) 0 ;
18452 int *arg2 = (int *) 0 ;
18457 octave_value_list _out;
18458 octave_value_list *_outp=&_out;
18459 octave_value _outv;
18461 if (!SWIG_check_num_args("CvDTreeNode_num_valid_set",args.length(),2,2,0)) {
18464 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeNode, 0 | 0 );
18465 if (!SWIG_IsOK(res1)) {
18466 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeNode_num_valid_set" "', argument " "1"" of type '" "CvDTreeNode *""'");
18468 arg1 = (CvDTreeNode *)(argp1);
18469 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_int, SWIG_POINTER_DISOWN | 0 );
18470 if (!SWIG_IsOK(res2)) {
18471 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvDTreeNode_num_valid_set" "', argument " "2"" of type '" "int *""'");
18473 arg2 = (int *)(argp2);
18474 if (arg1) (arg1)->num_valid = arg2;
18475 _outv = octave_value();
18476 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
18482 static octave_value_list _wrap_CvDTreeNode_num_valid_get (const octave_value_list& args, int nargout) {
18483 CvDTreeNode *arg1 = (CvDTreeNode *) 0 ;
18486 octave_value_list _out;
18487 octave_value_list *_outp=&_out;
18488 octave_value _outv;
18491 if (!SWIG_check_num_args("CvDTreeNode_num_valid_get",args.length(),1,1,0)) {
18494 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeNode, 0 | 0 );
18495 if (!SWIG_IsOK(res1)) {
18496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeNode_num_valid_get" "', argument " "1"" of type '" "CvDTreeNode *""'");
18498 arg1 = (CvDTreeNode *)(argp1);
18499 result = (int *) ((arg1)->num_valid);
18500 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0 );
18501 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
18507 static octave_value_list _wrap_CvDTreeNode_offset_set (const octave_value_list& args, int nargout) {
18508 CvDTreeNode *arg1 = (CvDTreeNode *) 0 ;
18514 octave_value_list _out;
18515 octave_value_list *_outp=&_out;
18516 octave_value _outv;
18518 if (!SWIG_check_num_args("CvDTreeNode_offset_set",args.length(),2,2,0)) {
18521 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeNode, 0 | 0 );
18522 if (!SWIG_IsOK(res1)) {
18523 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeNode_offset_set" "', argument " "1"" of type '" "CvDTreeNode *""'");
18525 arg1 = (CvDTreeNode *)(argp1);
18526 ecode2 = SWIG_AsVal_int(args(1), &val2);
18527 if (!SWIG_IsOK(ecode2)) {
18528 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvDTreeNode_offset_set" "', argument " "2"" of type '" "int""'");
18530 arg2 = (int)(val2);
18531 if (arg1) (arg1)->offset = arg2;
18532 _outv = octave_value();
18533 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
18539 static octave_value_list _wrap_CvDTreeNode_offset_get (const octave_value_list& args, int nargout) {
18540 CvDTreeNode *arg1 = (CvDTreeNode *) 0 ;
18543 octave_value_list _out;
18544 octave_value_list *_outp=&_out;
18545 octave_value _outv;
18548 if (!SWIG_check_num_args("CvDTreeNode_offset_get",args.length(),1,1,0)) {
18551 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeNode, 0 | 0 );
18552 if (!SWIG_IsOK(res1)) {
18553 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeNode_offset_get" "', argument " "1"" of type '" "CvDTreeNode *""'");
18555 arg1 = (CvDTreeNode *)(argp1);
18556 result = (int) ((arg1)->offset);
18557 _outv = SWIG_From_int((int)(result));
18558 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
18564 static octave_value_list _wrap_CvDTreeNode_buf_idx_set (const octave_value_list& args, int nargout) {
18565 CvDTreeNode *arg1 = (CvDTreeNode *) 0 ;
18571 octave_value_list _out;
18572 octave_value_list *_outp=&_out;
18573 octave_value _outv;
18575 if (!SWIG_check_num_args("CvDTreeNode_buf_idx_set",args.length(),2,2,0)) {
18578 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeNode, 0 | 0 );
18579 if (!SWIG_IsOK(res1)) {
18580 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeNode_buf_idx_set" "', argument " "1"" of type '" "CvDTreeNode *""'");
18582 arg1 = (CvDTreeNode *)(argp1);
18583 ecode2 = SWIG_AsVal_int(args(1), &val2);
18584 if (!SWIG_IsOK(ecode2)) {
18585 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvDTreeNode_buf_idx_set" "', argument " "2"" of type '" "int""'");
18587 arg2 = (int)(val2);
18588 if (arg1) (arg1)->buf_idx = arg2;
18589 _outv = octave_value();
18590 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
18596 static octave_value_list _wrap_CvDTreeNode_buf_idx_get (const octave_value_list& args, int nargout) {
18597 CvDTreeNode *arg1 = (CvDTreeNode *) 0 ;
18600 octave_value_list _out;
18601 octave_value_list *_outp=&_out;
18602 octave_value _outv;
18605 if (!SWIG_check_num_args("CvDTreeNode_buf_idx_get",args.length(),1,1,0)) {
18608 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeNode, 0 | 0 );
18609 if (!SWIG_IsOK(res1)) {
18610 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeNode_buf_idx_get" "', argument " "1"" of type '" "CvDTreeNode *""'");
18612 arg1 = (CvDTreeNode *)(argp1);
18613 result = (int) ((arg1)->buf_idx);
18614 _outv = SWIG_From_int((int)(result));
18615 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
18621 static octave_value_list _wrap_CvDTreeNode_maxlr_set (const octave_value_list& args, int nargout) {
18622 CvDTreeNode *arg1 = (CvDTreeNode *) 0 ;
18628 octave_value_list _out;
18629 octave_value_list *_outp=&_out;
18630 octave_value _outv;
18632 if (!SWIG_check_num_args("CvDTreeNode_maxlr_set",args.length(),2,2,0)) {
18635 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeNode, 0 | 0 );
18636 if (!SWIG_IsOK(res1)) {
18637 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeNode_maxlr_set" "', argument " "1"" of type '" "CvDTreeNode *""'");
18639 arg1 = (CvDTreeNode *)(argp1);
18640 ecode2 = SWIG_AsVal_double(args(1), &val2);
18641 if (!SWIG_IsOK(ecode2)) {
18642 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvDTreeNode_maxlr_set" "', argument " "2"" of type '" "double""'");
18644 arg2 = (double)(val2);
18645 if (arg1) (arg1)->maxlr = arg2;
18646 _outv = octave_value();
18647 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
18653 static octave_value_list _wrap_CvDTreeNode_maxlr_get (const octave_value_list& args, int nargout) {
18654 CvDTreeNode *arg1 = (CvDTreeNode *) 0 ;
18657 octave_value_list _out;
18658 octave_value_list *_outp=&_out;
18659 octave_value _outv;
18662 if (!SWIG_check_num_args("CvDTreeNode_maxlr_get",args.length(),1,1,0)) {
18665 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeNode, 0 | 0 );
18666 if (!SWIG_IsOK(res1)) {
18667 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeNode_maxlr_get" "', argument " "1"" of type '" "CvDTreeNode *""'");
18669 arg1 = (CvDTreeNode *)(argp1);
18670 result = (double) ((arg1)->maxlr);
18671 _outv = SWIG_From_double((double)(result));
18672 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
18678 static octave_value_list _wrap_CvDTreeNode_complexity_set (const octave_value_list& args, int nargout) {
18679 CvDTreeNode *arg1 = (CvDTreeNode *) 0 ;
18685 octave_value_list _out;
18686 octave_value_list *_outp=&_out;
18687 octave_value _outv;
18689 if (!SWIG_check_num_args("CvDTreeNode_complexity_set",args.length(),2,2,0)) {
18692 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeNode, 0 | 0 );
18693 if (!SWIG_IsOK(res1)) {
18694 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeNode_complexity_set" "', argument " "1"" of type '" "CvDTreeNode *""'");
18696 arg1 = (CvDTreeNode *)(argp1);
18697 ecode2 = SWIG_AsVal_int(args(1), &val2);
18698 if (!SWIG_IsOK(ecode2)) {
18699 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvDTreeNode_complexity_set" "', argument " "2"" of type '" "int""'");
18701 arg2 = (int)(val2);
18702 if (arg1) (arg1)->complexity = arg2;
18703 _outv = octave_value();
18704 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
18710 static octave_value_list _wrap_CvDTreeNode_complexity_get (const octave_value_list& args, int nargout) {
18711 CvDTreeNode *arg1 = (CvDTreeNode *) 0 ;
18714 octave_value_list _out;
18715 octave_value_list *_outp=&_out;
18716 octave_value _outv;
18719 if (!SWIG_check_num_args("CvDTreeNode_complexity_get",args.length(),1,1,0)) {
18722 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeNode, 0 | 0 );
18723 if (!SWIG_IsOK(res1)) {
18724 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeNode_complexity_get" "', argument " "1"" of type '" "CvDTreeNode *""'");
18726 arg1 = (CvDTreeNode *)(argp1);
18727 result = (int) ((arg1)->complexity);
18728 _outv = SWIG_From_int((int)(result));
18729 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
18735 static octave_value_list _wrap_CvDTreeNode_alpha_set (const octave_value_list& args, int nargout) {
18736 CvDTreeNode *arg1 = (CvDTreeNode *) 0 ;
18742 octave_value_list _out;
18743 octave_value_list *_outp=&_out;
18744 octave_value _outv;
18746 if (!SWIG_check_num_args("CvDTreeNode_alpha_set",args.length(),2,2,0)) {
18749 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeNode, 0 | 0 );
18750 if (!SWIG_IsOK(res1)) {
18751 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeNode_alpha_set" "', argument " "1"" of type '" "CvDTreeNode *""'");
18753 arg1 = (CvDTreeNode *)(argp1);
18754 ecode2 = SWIG_AsVal_double(args(1), &val2);
18755 if (!SWIG_IsOK(ecode2)) {
18756 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvDTreeNode_alpha_set" "', argument " "2"" of type '" "double""'");
18758 arg2 = (double)(val2);
18759 if (arg1) (arg1)->alpha = arg2;
18760 _outv = octave_value();
18761 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
18767 static octave_value_list _wrap_CvDTreeNode_alpha_get (const octave_value_list& args, int nargout) {
18768 CvDTreeNode *arg1 = (CvDTreeNode *) 0 ;
18771 octave_value_list _out;
18772 octave_value_list *_outp=&_out;
18773 octave_value _outv;
18776 if (!SWIG_check_num_args("CvDTreeNode_alpha_get",args.length(),1,1,0)) {
18779 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeNode, 0 | 0 );
18780 if (!SWIG_IsOK(res1)) {
18781 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeNode_alpha_get" "', argument " "1"" of type '" "CvDTreeNode *""'");
18783 arg1 = (CvDTreeNode *)(argp1);
18784 result = (double) ((arg1)->alpha);
18785 _outv = SWIG_From_double((double)(result));
18786 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
18792 static octave_value_list _wrap_CvDTreeNode_node_risk_set (const octave_value_list& args, int nargout) {
18793 CvDTreeNode *arg1 = (CvDTreeNode *) 0 ;
18799 octave_value_list _out;
18800 octave_value_list *_outp=&_out;
18801 octave_value _outv;
18803 if (!SWIG_check_num_args("CvDTreeNode_node_risk_set",args.length(),2,2,0)) {
18806 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeNode, 0 | 0 );
18807 if (!SWIG_IsOK(res1)) {
18808 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeNode_node_risk_set" "', argument " "1"" of type '" "CvDTreeNode *""'");
18810 arg1 = (CvDTreeNode *)(argp1);
18811 ecode2 = SWIG_AsVal_double(args(1), &val2);
18812 if (!SWIG_IsOK(ecode2)) {
18813 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvDTreeNode_node_risk_set" "', argument " "2"" of type '" "double""'");
18815 arg2 = (double)(val2);
18816 if (arg1) (arg1)->node_risk = arg2;
18817 _outv = octave_value();
18818 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
18824 static octave_value_list _wrap_CvDTreeNode_node_risk_get (const octave_value_list& args, int nargout) {
18825 CvDTreeNode *arg1 = (CvDTreeNode *) 0 ;
18828 octave_value_list _out;
18829 octave_value_list *_outp=&_out;
18830 octave_value _outv;
18833 if (!SWIG_check_num_args("CvDTreeNode_node_risk_get",args.length(),1,1,0)) {
18836 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeNode, 0 | 0 );
18837 if (!SWIG_IsOK(res1)) {
18838 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeNode_node_risk_get" "', argument " "1"" of type '" "CvDTreeNode *""'");
18840 arg1 = (CvDTreeNode *)(argp1);
18841 result = (double) ((arg1)->node_risk);
18842 _outv = SWIG_From_double((double)(result));
18843 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
18849 static octave_value_list _wrap_CvDTreeNode_tree_risk_set (const octave_value_list& args, int nargout) {
18850 CvDTreeNode *arg1 = (CvDTreeNode *) 0 ;
18856 octave_value_list _out;
18857 octave_value_list *_outp=&_out;
18858 octave_value _outv;
18860 if (!SWIG_check_num_args("CvDTreeNode_tree_risk_set",args.length(),2,2,0)) {
18863 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeNode, 0 | 0 );
18864 if (!SWIG_IsOK(res1)) {
18865 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeNode_tree_risk_set" "', argument " "1"" of type '" "CvDTreeNode *""'");
18867 arg1 = (CvDTreeNode *)(argp1);
18868 ecode2 = SWIG_AsVal_double(args(1), &val2);
18869 if (!SWIG_IsOK(ecode2)) {
18870 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvDTreeNode_tree_risk_set" "', argument " "2"" of type '" "double""'");
18872 arg2 = (double)(val2);
18873 if (arg1) (arg1)->tree_risk = arg2;
18874 _outv = octave_value();
18875 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
18881 static octave_value_list _wrap_CvDTreeNode_tree_risk_get (const octave_value_list& args, int nargout) {
18882 CvDTreeNode *arg1 = (CvDTreeNode *) 0 ;
18885 octave_value_list _out;
18886 octave_value_list *_outp=&_out;
18887 octave_value _outv;
18890 if (!SWIG_check_num_args("CvDTreeNode_tree_risk_get",args.length(),1,1,0)) {
18893 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeNode, 0 | 0 );
18894 if (!SWIG_IsOK(res1)) {
18895 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeNode_tree_risk_get" "', argument " "1"" of type '" "CvDTreeNode *""'");
18897 arg1 = (CvDTreeNode *)(argp1);
18898 result = (double) ((arg1)->tree_risk);
18899 _outv = SWIG_From_double((double)(result));
18900 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
18906 static octave_value_list _wrap_CvDTreeNode_tree_error_set (const octave_value_list& args, int nargout) {
18907 CvDTreeNode *arg1 = (CvDTreeNode *) 0 ;
18913 octave_value_list _out;
18914 octave_value_list *_outp=&_out;
18915 octave_value _outv;
18917 if (!SWIG_check_num_args("CvDTreeNode_tree_error_set",args.length(),2,2,0)) {
18920 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeNode, 0 | 0 );
18921 if (!SWIG_IsOK(res1)) {
18922 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeNode_tree_error_set" "', argument " "1"" of type '" "CvDTreeNode *""'");
18924 arg1 = (CvDTreeNode *)(argp1);
18925 ecode2 = SWIG_AsVal_double(args(1), &val2);
18926 if (!SWIG_IsOK(ecode2)) {
18927 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvDTreeNode_tree_error_set" "', argument " "2"" of type '" "double""'");
18929 arg2 = (double)(val2);
18930 if (arg1) (arg1)->tree_error = arg2;
18931 _outv = octave_value();
18932 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
18938 static octave_value_list _wrap_CvDTreeNode_tree_error_get (const octave_value_list& args, int nargout) {
18939 CvDTreeNode *arg1 = (CvDTreeNode *) 0 ;
18942 octave_value_list _out;
18943 octave_value_list *_outp=&_out;
18944 octave_value _outv;
18947 if (!SWIG_check_num_args("CvDTreeNode_tree_error_get",args.length(),1,1,0)) {
18950 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeNode, 0 | 0 );
18951 if (!SWIG_IsOK(res1)) {
18952 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeNode_tree_error_get" "', argument " "1"" of type '" "CvDTreeNode *""'");
18954 arg1 = (CvDTreeNode *)(argp1);
18955 result = (double) ((arg1)->tree_error);
18956 _outv = SWIG_From_double((double)(result));
18957 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
18963 static octave_value_list _wrap_CvDTreeNode_cv_Tn_set (const octave_value_list& args, int nargout) {
18964 CvDTreeNode *arg1 = (CvDTreeNode *) 0 ;
18965 int *arg2 = (int *) 0 ;
18970 octave_value_list _out;
18971 octave_value_list *_outp=&_out;
18972 octave_value _outv;
18974 if (!SWIG_check_num_args("CvDTreeNode_cv_Tn_set",args.length(),2,2,0)) {
18977 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeNode, 0 | 0 );
18978 if (!SWIG_IsOK(res1)) {
18979 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeNode_cv_Tn_set" "', argument " "1"" of type '" "CvDTreeNode *""'");
18981 arg1 = (CvDTreeNode *)(argp1);
18982 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_int, SWIG_POINTER_DISOWN | 0 );
18983 if (!SWIG_IsOK(res2)) {
18984 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvDTreeNode_cv_Tn_set" "', argument " "2"" of type '" "int *""'");
18986 arg2 = (int *)(argp2);
18987 if (arg1) (arg1)->cv_Tn = arg2;
18988 _outv = octave_value();
18989 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
18995 static octave_value_list _wrap_CvDTreeNode_cv_Tn_get (const octave_value_list& args, int nargout) {
18996 CvDTreeNode *arg1 = (CvDTreeNode *) 0 ;
18999 octave_value_list _out;
19000 octave_value_list *_outp=&_out;
19001 octave_value _outv;
19004 if (!SWIG_check_num_args("CvDTreeNode_cv_Tn_get",args.length(),1,1,0)) {
19007 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeNode, 0 | 0 );
19008 if (!SWIG_IsOK(res1)) {
19009 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeNode_cv_Tn_get" "', argument " "1"" of type '" "CvDTreeNode *""'");
19011 arg1 = (CvDTreeNode *)(argp1);
19012 result = (int *) ((arg1)->cv_Tn);
19013 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0 );
19014 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
19020 static octave_value_list _wrap_CvDTreeNode_cv_node_risk_set (const octave_value_list& args, int nargout) {
19021 CvDTreeNode *arg1 = (CvDTreeNode *) 0 ;
19022 double *arg2 = (double *) 0 ;
19027 octave_value_list _out;
19028 octave_value_list *_outp=&_out;
19029 octave_value _outv;
19031 if (!SWIG_check_num_args("CvDTreeNode_cv_node_risk_set",args.length(),2,2,0)) {
19034 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeNode, 0 | 0 );
19035 if (!SWIG_IsOK(res1)) {
19036 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeNode_cv_node_risk_set" "', argument " "1"" of type '" "CvDTreeNode *""'");
19038 arg1 = (CvDTreeNode *)(argp1);
19039 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_double, SWIG_POINTER_DISOWN | 0 );
19040 if (!SWIG_IsOK(res2)) {
19041 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvDTreeNode_cv_node_risk_set" "', argument " "2"" of type '" "double *""'");
19043 arg2 = (double *)(argp2);
19044 if (arg1) (arg1)->cv_node_risk = arg2;
19045 _outv = octave_value();
19046 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
19052 static octave_value_list _wrap_CvDTreeNode_cv_node_risk_get (const octave_value_list& args, int nargout) {
19053 CvDTreeNode *arg1 = (CvDTreeNode *) 0 ;
19056 octave_value_list _out;
19057 octave_value_list *_outp=&_out;
19058 octave_value _outv;
19059 double *result = 0 ;
19061 if (!SWIG_check_num_args("CvDTreeNode_cv_node_risk_get",args.length(),1,1,0)) {
19064 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeNode, 0 | 0 );
19065 if (!SWIG_IsOK(res1)) {
19066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeNode_cv_node_risk_get" "', argument " "1"" of type '" "CvDTreeNode *""'");
19068 arg1 = (CvDTreeNode *)(argp1);
19069 result = (double *) ((arg1)->cv_node_risk);
19070 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0 );
19071 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
19077 static octave_value_list _wrap_CvDTreeNode_cv_node_error_set (const octave_value_list& args, int nargout) {
19078 CvDTreeNode *arg1 = (CvDTreeNode *) 0 ;
19079 double *arg2 = (double *) 0 ;
19084 octave_value_list _out;
19085 octave_value_list *_outp=&_out;
19086 octave_value _outv;
19088 if (!SWIG_check_num_args("CvDTreeNode_cv_node_error_set",args.length(),2,2,0)) {
19091 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeNode, 0 | 0 );
19092 if (!SWIG_IsOK(res1)) {
19093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeNode_cv_node_error_set" "', argument " "1"" of type '" "CvDTreeNode *""'");
19095 arg1 = (CvDTreeNode *)(argp1);
19096 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_double, SWIG_POINTER_DISOWN | 0 );
19097 if (!SWIG_IsOK(res2)) {
19098 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvDTreeNode_cv_node_error_set" "', argument " "2"" of type '" "double *""'");
19100 arg2 = (double *)(argp2);
19101 if (arg1) (arg1)->cv_node_error = arg2;
19102 _outv = octave_value();
19103 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
19109 static octave_value_list _wrap_CvDTreeNode_cv_node_error_get (const octave_value_list& args, int nargout) {
19110 CvDTreeNode *arg1 = (CvDTreeNode *) 0 ;
19113 octave_value_list _out;
19114 octave_value_list *_outp=&_out;
19115 octave_value _outv;
19116 double *result = 0 ;
19118 if (!SWIG_check_num_args("CvDTreeNode_cv_node_error_get",args.length(),1,1,0)) {
19121 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeNode, 0 | 0 );
19122 if (!SWIG_IsOK(res1)) {
19123 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeNode_cv_node_error_get" "', argument " "1"" of type '" "CvDTreeNode *""'");
19125 arg1 = (CvDTreeNode *)(argp1);
19126 result = (double *) ((arg1)->cv_node_error);
19127 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0 );
19128 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
19134 static octave_value_list _wrap_CvDTreeNode_get_num_valid (const octave_value_list& args, int nargout) {
19135 CvDTreeNode *arg1 = (CvDTreeNode *) 0 ;
19141 octave_value_list _out;
19142 octave_value_list *_outp=&_out;
19143 octave_value _outv;
19146 if (!SWIG_check_num_args("CvDTreeNode_get_num_valid",args.length(),2,2,0)) {
19149 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeNode, 0 | 0 );
19150 if (!SWIG_IsOK(res1)) {
19151 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeNode_get_num_valid" "', argument " "1"" of type '" "CvDTreeNode *""'");
19153 arg1 = (CvDTreeNode *)(argp1);
19154 ecode2 = SWIG_AsVal_int(args(1), &val2);
19155 if (!SWIG_IsOK(ecode2)) {
19156 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvDTreeNode_get_num_valid" "', argument " "2"" of type '" "int""'");
19158 arg2 = (int)(val2);
19161 result = (int)(arg1)->get_num_valid(arg2);
19168 _outv = SWIG_From_int((int)(result));
19169 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
19175 static octave_value_list _wrap_CvDTreeNode_set_num_valid (const octave_value_list& args, int nargout) {
19176 CvDTreeNode *arg1 = (CvDTreeNode *) 0 ;
19185 octave_value_list _out;
19186 octave_value_list *_outp=&_out;
19187 octave_value _outv;
19189 if (!SWIG_check_num_args("CvDTreeNode_set_num_valid",args.length(),3,3,0)) {
19192 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeNode, 0 | 0 );
19193 if (!SWIG_IsOK(res1)) {
19194 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeNode_set_num_valid" "', argument " "1"" of type '" "CvDTreeNode *""'");
19196 arg1 = (CvDTreeNode *)(argp1);
19197 ecode2 = SWIG_AsVal_int(args(1), &val2);
19198 if (!SWIG_IsOK(ecode2)) {
19199 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvDTreeNode_set_num_valid" "', argument " "2"" of type '" "int""'");
19201 arg2 = (int)(val2);
19202 ecode3 = SWIG_AsVal_int(args(2), &val3);
19203 if (!SWIG_IsOK(ecode3)) {
19204 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvDTreeNode_set_num_valid" "', argument " "3"" of type '" "int""'");
19206 arg3 = (int)(val3);
19209 (arg1)->set_num_valid(arg2,arg3);
19216 _outv = octave_value();
19217 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
19223 static octave_value_list _wrap_new_CvDTreeNode (const octave_value_list& args, int nargout) {
19224 octave_value_list _out;
19225 octave_value_list *_outp=&_out;
19226 octave_value _outv;
19227 CvDTreeNode *result = 0 ;
19229 if (!SWIG_check_num_args("new_CvDTreeNode",args.length(),0,0,0)) {
19234 result = (CvDTreeNode *)new CvDTreeNode();
19241 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvDTreeNode, 1 | 0 );
19242 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
19248 static octave_value_list _wrap_delete_CvDTreeNode (const octave_value_list& args, int nargout) {
19249 CvDTreeNode *arg1 = (CvDTreeNode *) 0 ;
19252 octave_value_list _out;
19253 octave_value_list *_outp=&_out;
19254 octave_value _outv;
19256 if (!SWIG_check_num_args("delete_CvDTreeNode",args.length(),1,1,0)) {
19259 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeNode, SWIG_POINTER_DISOWN | 0 );
19260 if (!SWIG_IsOK(res1)) {
19261 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CvDTreeNode" "', argument " "1"" of type '" "CvDTreeNode *""'");
19263 arg1 = (CvDTreeNode *)(argp1);
19273 _outv = octave_value();
19274 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
19280 static swig_octave_member swig_CvDTreeNode_members[] = {
19281 {"class_idx",0,_wrap_CvDTreeNode_class_idx_get,_wrap_CvDTreeNode_class_idx_set,0,0},
19282 {"Tn",0,_wrap_CvDTreeNode_Tn_get,_wrap_CvDTreeNode_Tn_set,0,0},
19283 {"value",0,_wrap_CvDTreeNode_value_get,_wrap_CvDTreeNode_value_set,0,0},
19284 {"parent",0,_wrap_CvDTreeNode_parent_get,_wrap_CvDTreeNode_parent_set,0,0},
19285 {"left",0,_wrap_CvDTreeNode_left_get,_wrap_CvDTreeNode_left_set,0,0},
19286 {"right",0,_wrap_CvDTreeNode_right_get,_wrap_CvDTreeNode_right_set,0,0},
19287 {"split",0,_wrap_CvDTreeNode_split_get,_wrap_CvDTreeNode_split_set,0,0},
19288 {"sample_count",0,_wrap_CvDTreeNode_sample_count_get,_wrap_CvDTreeNode_sample_count_set,0,0},
19289 {"depth",0,_wrap_CvDTreeNode_depth_get,_wrap_CvDTreeNode_depth_set,0,0},
19290 {"num_valid",0,_wrap_CvDTreeNode_num_valid_get,_wrap_CvDTreeNode_num_valid_set,0,0},
19291 {"offset",0,_wrap_CvDTreeNode_offset_get,_wrap_CvDTreeNode_offset_set,0,0},
19292 {"buf_idx",0,_wrap_CvDTreeNode_buf_idx_get,_wrap_CvDTreeNode_buf_idx_set,0,0},
19293 {"maxlr",0,_wrap_CvDTreeNode_maxlr_get,_wrap_CvDTreeNode_maxlr_set,0,0},
19294 {"complexity",0,_wrap_CvDTreeNode_complexity_get,_wrap_CvDTreeNode_complexity_set,0,0},
19295 {"alpha",0,_wrap_CvDTreeNode_alpha_get,_wrap_CvDTreeNode_alpha_set,0,0},
19296 {"node_risk",0,_wrap_CvDTreeNode_node_risk_get,_wrap_CvDTreeNode_node_risk_set,0,0},
19297 {"tree_risk",0,_wrap_CvDTreeNode_tree_risk_get,_wrap_CvDTreeNode_tree_risk_set,0,0},
19298 {"tree_error",0,_wrap_CvDTreeNode_tree_error_get,_wrap_CvDTreeNode_tree_error_set,0,0},
19299 {"cv_Tn",0,_wrap_CvDTreeNode_cv_Tn_get,_wrap_CvDTreeNode_cv_Tn_set,0,0},
19300 {"cv_node_risk",0,_wrap_CvDTreeNode_cv_node_risk_get,_wrap_CvDTreeNode_cv_node_risk_set,0,0},
19301 {"cv_node_error",0,_wrap_CvDTreeNode_cv_node_error_get,_wrap_CvDTreeNode_cv_node_error_set,0,0},
19302 {"get_num_valid",_wrap_CvDTreeNode_get_num_valid,0,0,0,0},
19303 {"set_num_valid",_wrap_CvDTreeNode_set_num_valid,0,0,0,0},
19306 static const char *swig_CvDTreeNode_base_names[] = {0};
19307 static const swig_type_info *swig_CvDTreeNode_base[] = {0};
19308 static swig_octave_class _wrap_class_CvDTreeNode = {"CvDTreeNode", &SWIGTYPE_p_CvDTreeNode,0,_wrap_new_CvDTreeNode,0,_wrap_delete_CvDTreeNode,swig_CvDTreeNode_members,swig_CvDTreeNode_base_names,swig_CvDTreeNode_base };
19310 static octave_value_list _wrap_CvDTreeParams_max_categories_set (const octave_value_list& args, int nargout) {
19311 CvDTreeParams *arg1 = (CvDTreeParams *) 0 ;
19317 octave_value_list _out;
19318 octave_value_list *_outp=&_out;
19319 octave_value _outv;
19321 if (!SWIG_check_num_args("CvDTreeParams_max_categories_set",args.length(),2,2,0)) {
19324 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeParams, 0 | 0 );
19325 if (!SWIG_IsOK(res1)) {
19326 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeParams_max_categories_set" "', argument " "1"" of type '" "CvDTreeParams *""'");
19328 arg1 = (CvDTreeParams *)(argp1);
19329 ecode2 = SWIG_AsVal_int(args(1), &val2);
19330 if (!SWIG_IsOK(ecode2)) {
19331 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvDTreeParams_max_categories_set" "', argument " "2"" of type '" "int""'");
19333 arg2 = (int)(val2);
19334 if (arg1) (arg1)->max_categories = arg2;
19335 _outv = octave_value();
19336 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
19342 static octave_value_list _wrap_CvDTreeParams_max_categories_get (const octave_value_list& args, int nargout) {
19343 CvDTreeParams *arg1 = (CvDTreeParams *) 0 ;
19346 octave_value_list _out;
19347 octave_value_list *_outp=&_out;
19348 octave_value _outv;
19351 if (!SWIG_check_num_args("CvDTreeParams_max_categories_get",args.length(),1,1,0)) {
19354 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeParams, 0 | 0 );
19355 if (!SWIG_IsOK(res1)) {
19356 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeParams_max_categories_get" "', argument " "1"" of type '" "CvDTreeParams *""'");
19358 arg1 = (CvDTreeParams *)(argp1);
19359 result = (int) ((arg1)->max_categories);
19360 _outv = SWIG_From_int((int)(result));
19361 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
19367 static octave_value_list _wrap_CvDTreeParams_max_depth_set (const octave_value_list& args, int nargout) {
19368 CvDTreeParams *arg1 = (CvDTreeParams *) 0 ;
19374 octave_value_list _out;
19375 octave_value_list *_outp=&_out;
19376 octave_value _outv;
19378 if (!SWIG_check_num_args("CvDTreeParams_max_depth_set",args.length(),2,2,0)) {
19381 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeParams, 0 | 0 );
19382 if (!SWIG_IsOK(res1)) {
19383 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeParams_max_depth_set" "', argument " "1"" of type '" "CvDTreeParams *""'");
19385 arg1 = (CvDTreeParams *)(argp1);
19386 ecode2 = SWIG_AsVal_int(args(1), &val2);
19387 if (!SWIG_IsOK(ecode2)) {
19388 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvDTreeParams_max_depth_set" "', argument " "2"" of type '" "int""'");
19390 arg2 = (int)(val2);
19391 if (arg1) (arg1)->max_depth = arg2;
19392 _outv = octave_value();
19393 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
19399 static octave_value_list _wrap_CvDTreeParams_max_depth_get (const octave_value_list& args, int nargout) {
19400 CvDTreeParams *arg1 = (CvDTreeParams *) 0 ;
19403 octave_value_list _out;
19404 octave_value_list *_outp=&_out;
19405 octave_value _outv;
19408 if (!SWIG_check_num_args("CvDTreeParams_max_depth_get",args.length(),1,1,0)) {
19411 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeParams, 0 | 0 );
19412 if (!SWIG_IsOK(res1)) {
19413 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeParams_max_depth_get" "', argument " "1"" of type '" "CvDTreeParams *""'");
19415 arg1 = (CvDTreeParams *)(argp1);
19416 result = (int) ((arg1)->max_depth);
19417 _outv = SWIG_From_int((int)(result));
19418 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
19424 static octave_value_list _wrap_CvDTreeParams_min_sample_count_set (const octave_value_list& args, int nargout) {
19425 CvDTreeParams *arg1 = (CvDTreeParams *) 0 ;
19431 octave_value_list _out;
19432 octave_value_list *_outp=&_out;
19433 octave_value _outv;
19435 if (!SWIG_check_num_args("CvDTreeParams_min_sample_count_set",args.length(),2,2,0)) {
19438 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeParams, 0 | 0 );
19439 if (!SWIG_IsOK(res1)) {
19440 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeParams_min_sample_count_set" "', argument " "1"" of type '" "CvDTreeParams *""'");
19442 arg1 = (CvDTreeParams *)(argp1);
19443 ecode2 = SWIG_AsVal_int(args(1), &val2);
19444 if (!SWIG_IsOK(ecode2)) {
19445 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvDTreeParams_min_sample_count_set" "', argument " "2"" of type '" "int""'");
19447 arg2 = (int)(val2);
19448 if (arg1) (arg1)->min_sample_count = arg2;
19449 _outv = octave_value();
19450 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
19456 static octave_value_list _wrap_CvDTreeParams_min_sample_count_get (const octave_value_list& args, int nargout) {
19457 CvDTreeParams *arg1 = (CvDTreeParams *) 0 ;
19460 octave_value_list _out;
19461 octave_value_list *_outp=&_out;
19462 octave_value _outv;
19465 if (!SWIG_check_num_args("CvDTreeParams_min_sample_count_get",args.length(),1,1,0)) {
19468 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeParams, 0 | 0 );
19469 if (!SWIG_IsOK(res1)) {
19470 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeParams_min_sample_count_get" "', argument " "1"" of type '" "CvDTreeParams *""'");
19472 arg1 = (CvDTreeParams *)(argp1);
19473 result = (int) ((arg1)->min_sample_count);
19474 _outv = SWIG_From_int((int)(result));
19475 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
19481 static octave_value_list _wrap_CvDTreeParams_cv_folds_set (const octave_value_list& args, int nargout) {
19482 CvDTreeParams *arg1 = (CvDTreeParams *) 0 ;
19488 octave_value_list _out;
19489 octave_value_list *_outp=&_out;
19490 octave_value _outv;
19492 if (!SWIG_check_num_args("CvDTreeParams_cv_folds_set",args.length(),2,2,0)) {
19495 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeParams, 0 | 0 );
19496 if (!SWIG_IsOK(res1)) {
19497 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeParams_cv_folds_set" "', argument " "1"" of type '" "CvDTreeParams *""'");
19499 arg1 = (CvDTreeParams *)(argp1);
19500 ecode2 = SWIG_AsVal_int(args(1), &val2);
19501 if (!SWIG_IsOK(ecode2)) {
19502 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvDTreeParams_cv_folds_set" "', argument " "2"" of type '" "int""'");
19504 arg2 = (int)(val2);
19505 if (arg1) (arg1)->cv_folds = arg2;
19506 _outv = octave_value();
19507 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
19513 static octave_value_list _wrap_CvDTreeParams_cv_folds_get (const octave_value_list& args, int nargout) {
19514 CvDTreeParams *arg1 = (CvDTreeParams *) 0 ;
19517 octave_value_list _out;
19518 octave_value_list *_outp=&_out;
19519 octave_value _outv;
19522 if (!SWIG_check_num_args("CvDTreeParams_cv_folds_get",args.length(),1,1,0)) {
19525 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeParams, 0 | 0 );
19526 if (!SWIG_IsOK(res1)) {
19527 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeParams_cv_folds_get" "', argument " "1"" of type '" "CvDTreeParams *""'");
19529 arg1 = (CvDTreeParams *)(argp1);
19530 result = (int) ((arg1)->cv_folds);
19531 _outv = SWIG_From_int((int)(result));
19532 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
19538 static octave_value_list _wrap_CvDTreeParams_use_surrogates_set (const octave_value_list& args, int nargout) {
19539 CvDTreeParams *arg1 = (CvDTreeParams *) 0 ;
19545 octave_value_list _out;
19546 octave_value_list *_outp=&_out;
19547 octave_value _outv;
19549 if (!SWIG_check_num_args("CvDTreeParams_use_surrogates_set",args.length(),2,2,0)) {
19552 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeParams, 0 | 0 );
19553 if (!SWIG_IsOK(res1)) {
19554 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeParams_use_surrogates_set" "', argument " "1"" of type '" "CvDTreeParams *""'");
19556 arg1 = (CvDTreeParams *)(argp1);
19557 ecode2 = SWIG_AsVal_bool(args(1), &val2);
19558 if (!SWIG_IsOK(ecode2)) {
19559 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvDTreeParams_use_surrogates_set" "', argument " "2"" of type '" "bool""'");
19561 arg2 = (bool)(val2);
19562 if (arg1) (arg1)->use_surrogates = arg2;
19563 _outv = octave_value();
19564 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
19570 static octave_value_list _wrap_CvDTreeParams_use_surrogates_get (const octave_value_list& args, int nargout) {
19571 CvDTreeParams *arg1 = (CvDTreeParams *) 0 ;
19574 octave_value_list _out;
19575 octave_value_list *_outp=&_out;
19576 octave_value _outv;
19579 if (!SWIG_check_num_args("CvDTreeParams_use_surrogates_get",args.length(),1,1,0)) {
19582 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeParams, 0 | 0 );
19583 if (!SWIG_IsOK(res1)) {
19584 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeParams_use_surrogates_get" "', argument " "1"" of type '" "CvDTreeParams *""'");
19586 arg1 = (CvDTreeParams *)(argp1);
19587 result = (bool) ((arg1)->use_surrogates);
19588 _outv = SWIG_From_bool((bool)(result));
19589 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
19595 static octave_value_list _wrap_CvDTreeParams_use_1se_rule_set (const octave_value_list& args, int nargout) {
19596 CvDTreeParams *arg1 = (CvDTreeParams *) 0 ;
19602 octave_value_list _out;
19603 octave_value_list *_outp=&_out;
19604 octave_value _outv;
19606 if (!SWIG_check_num_args("CvDTreeParams_use_1se_rule_set",args.length(),2,2,0)) {
19609 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeParams, 0 | 0 );
19610 if (!SWIG_IsOK(res1)) {
19611 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeParams_use_1se_rule_set" "', argument " "1"" of type '" "CvDTreeParams *""'");
19613 arg1 = (CvDTreeParams *)(argp1);
19614 ecode2 = SWIG_AsVal_bool(args(1), &val2);
19615 if (!SWIG_IsOK(ecode2)) {
19616 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvDTreeParams_use_1se_rule_set" "', argument " "2"" of type '" "bool""'");
19618 arg2 = (bool)(val2);
19619 if (arg1) (arg1)->use_1se_rule = arg2;
19620 _outv = octave_value();
19621 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
19627 static octave_value_list _wrap_CvDTreeParams_use_1se_rule_get (const octave_value_list& args, int nargout) {
19628 CvDTreeParams *arg1 = (CvDTreeParams *) 0 ;
19631 octave_value_list _out;
19632 octave_value_list *_outp=&_out;
19633 octave_value _outv;
19636 if (!SWIG_check_num_args("CvDTreeParams_use_1se_rule_get",args.length(),1,1,0)) {
19639 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeParams, 0 | 0 );
19640 if (!SWIG_IsOK(res1)) {
19641 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeParams_use_1se_rule_get" "', argument " "1"" of type '" "CvDTreeParams *""'");
19643 arg1 = (CvDTreeParams *)(argp1);
19644 result = (bool) ((arg1)->use_1se_rule);
19645 _outv = SWIG_From_bool((bool)(result));
19646 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
19652 static octave_value_list _wrap_CvDTreeParams_truncate_pruned_tree_set (const octave_value_list& args, int nargout) {
19653 CvDTreeParams *arg1 = (CvDTreeParams *) 0 ;
19659 octave_value_list _out;
19660 octave_value_list *_outp=&_out;
19661 octave_value _outv;
19663 if (!SWIG_check_num_args("CvDTreeParams_truncate_pruned_tree_set",args.length(),2,2,0)) {
19666 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeParams, 0 | 0 );
19667 if (!SWIG_IsOK(res1)) {
19668 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeParams_truncate_pruned_tree_set" "', argument " "1"" of type '" "CvDTreeParams *""'");
19670 arg1 = (CvDTreeParams *)(argp1);
19671 ecode2 = SWIG_AsVal_bool(args(1), &val2);
19672 if (!SWIG_IsOK(ecode2)) {
19673 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvDTreeParams_truncate_pruned_tree_set" "', argument " "2"" of type '" "bool""'");
19675 arg2 = (bool)(val2);
19676 if (arg1) (arg1)->truncate_pruned_tree = arg2;
19677 _outv = octave_value();
19678 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
19684 static octave_value_list _wrap_CvDTreeParams_truncate_pruned_tree_get (const octave_value_list& args, int nargout) {
19685 CvDTreeParams *arg1 = (CvDTreeParams *) 0 ;
19688 octave_value_list _out;
19689 octave_value_list *_outp=&_out;
19690 octave_value _outv;
19693 if (!SWIG_check_num_args("CvDTreeParams_truncate_pruned_tree_get",args.length(),1,1,0)) {
19696 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeParams, 0 | 0 );
19697 if (!SWIG_IsOK(res1)) {
19698 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeParams_truncate_pruned_tree_get" "', argument " "1"" of type '" "CvDTreeParams *""'");
19700 arg1 = (CvDTreeParams *)(argp1);
19701 result = (bool) ((arg1)->truncate_pruned_tree);
19702 _outv = SWIG_From_bool((bool)(result));
19703 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
19709 static octave_value_list _wrap_CvDTreeParams_regression_accuracy_set (const octave_value_list& args, int nargout) {
19710 CvDTreeParams *arg1 = (CvDTreeParams *) 0 ;
19716 octave_value_list _out;
19717 octave_value_list *_outp=&_out;
19718 octave_value _outv;
19720 if (!SWIG_check_num_args("CvDTreeParams_regression_accuracy_set",args.length(),2,2,0)) {
19723 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeParams, 0 | 0 );
19724 if (!SWIG_IsOK(res1)) {
19725 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeParams_regression_accuracy_set" "', argument " "1"" of type '" "CvDTreeParams *""'");
19727 arg1 = (CvDTreeParams *)(argp1);
19728 ecode2 = SWIG_AsVal_float(args(1), &val2);
19729 if (!SWIG_IsOK(ecode2)) {
19730 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvDTreeParams_regression_accuracy_set" "', argument " "2"" of type '" "float""'");
19732 arg2 = (float)(val2);
19733 if (arg1) (arg1)->regression_accuracy = arg2;
19734 _outv = octave_value();
19735 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
19741 static octave_value_list _wrap_CvDTreeParams_regression_accuracy_get (const octave_value_list& args, int nargout) {
19742 CvDTreeParams *arg1 = (CvDTreeParams *) 0 ;
19745 octave_value_list _out;
19746 octave_value_list *_outp=&_out;
19747 octave_value _outv;
19750 if (!SWIG_check_num_args("CvDTreeParams_regression_accuracy_get",args.length(),1,1,0)) {
19753 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeParams, 0 | 0 );
19754 if (!SWIG_IsOK(res1)) {
19755 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeParams_regression_accuracy_get" "', argument " "1"" of type '" "CvDTreeParams *""'");
19757 arg1 = (CvDTreeParams *)(argp1);
19758 result = (float) ((arg1)->regression_accuracy);
19759 _outv = SWIG_From_float((float)(result));
19760 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
19766 static octave_value_list _wrap_CvDTreeParams_priors_set (const octave_value_list& args, int nargout) {
19767 CvDTreeParams *arg1 = (CvDTreeParams *) 0 ;
19768 float *arg2 = (float *) 0 ;
19773 octave_value_list _out;
19774 octave_value_list *_outp=&_out;
19775 octave_value _outv;
19777 if (!SWIG_check_num_args("CvDTreeParams_priors_set",args.length(),2,2,0)) {
19780 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeParams, 0 | 0 );
19781 if (!SWIG_IsOK(res1)) {
19782 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeParams_priors_set" "', argument " "1"" of type '" "CvDTreeParams *""'");
19784 arg1 = (CvDTreeParams *)(argp1);
19785 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_float, SWIG_POINTER_DISOWN | 0 );
19786 if (!SWIG_IsOK(res2)) {
19787 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvDTreeParams_priors_set" "', argument " "2"" of type '" "float const *""'");
19789 arg2 = (float *)(argp2);
19790 if (arg1) (arg1)->priors = (float const *)arg2;
19791 _outv = octave_value();
19792 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
19798 static octave_value_list _wrap_CvDTreeParams_priors_get (const octave_value_list& args, int nargout) {
19799 CvDTreeParams *arg1 = (CvDTreeParams *) 0 ;
19802 octave_value_list _out;
19803 octave_value_list *_outp=&_out;
19804 octave_value _outv;
19805 float *result = 0 ;
19807 if (!SWIG_check_num_args("CvDTreeParams_priors_get",args.length(),1,1,0)) {
19810 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeParams, 0 | 0 );
19811 if (!SWIG_IsOK(res1)) {
19812 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeParams_priors_get" "', argument " "1"" of type '" "CvDTreeParams *""'");
19814 arg1 = (CvDTreeParams *)(argp1);
19815 result = (float *) ((arg1)->priors);
19816 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 );
19817 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
19823 static octave_value_list _wrap_new_CvDTreeParams__SWIG_0 (const octave_value_list& args, int nargout) {
19824 octave_value_list _out;
19825 octave_value_list *_outp=&_out;
19826 octave_value _outv;
19827 CvDTreeParams *result = 0 ;
19829 if (!SWIG_check_num_args("new_CvDTreeParams",args.length(),0,0,0)) {
19834 result = (CvDTreeParams *)new CvDTreeParams();
19841 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvDTreeParams, 1 | 0 );
19842 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
19848 static octave_value_list _wrap_new_CvDTreeParams__SWIG_1 (const octave_value_list& args, int nargout) {
19857 float *arg9 = (float *) 0 ;
19876 octave_value_list _out;
19877 octave_value_list *_outp=&_out;
19878 octave_value _outv;
19879 CvDTreeParams *result = 0 ;
19881 if (!SWIG_check_num_args("new_CvDTreeParams",args.length(),9,9,0)) {
19884 ecode1 = SWIG_AsVal_int(args(0), &val1);
19885 if (!SWIG_IsOK(ecode1)) {
19886 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CvDTreeParams" "', argument " "1"" of type '" "int""'");
19888 arg1 = (int)(val1);
19889 ecode2 = SWIG_AsVal_int(args(1), &val2);
19890 if (!SWIG_IsOK(ecode2)) {
19891 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CvDTreeParams" "', argument " "2"" of type '" "int""'");
19893 arg2 = (int)(val2);
19894 ecode3 = SWIG_AsVal_float(args(2), &val3);
19895 if (!SWIG_IsOK(ecode3)) {
19896 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_CvDTreeParams" "', argument " "3"" of type '" "float""'");
19898 arg3 = (float)(val3);
19899 ecode4 = SWIG_AsVal_bool(args(3), &val4);
19900 if (!SWIG_IsOK(ecode4)) {
19901 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_CvDTreeParams" "', argument " "4"" of type '" "bool""'");
19903 arg4 = (bool)(val4);
19904 ecode5 = SWIG_AsVal_int(args(4), &val5);
19905 if (!SWIG_IsOK(ecode5)) {
19906 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_CvDTreeParams" "', argument " "5"" of type '" "int""'");
19908 arg5 = (int)(val5);
19909 ecode6 = SWIG_AsVal_int(args(5), &val6);
19910 if (!SWIG_IsOK(ecode6)) {
19911 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_CvDTreeParams" "', argument " "6"" of type '" "int""'");
19913 arg6 = (int)(val6);
19914 ecode7 = SWIG_AsVal_bool(args(6), &val7);
19915 if (!SWIG_IsOK(ecode7)) {
19916 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_CvDTreeParams" "', argument " "7"" of type '" "bool""'");
19918 arg7 = (bool)(val7);
19919 ecode8 = SWIG_AsVal_bool(args(7), &val8);
19920 if (!SWIG_IsOK(ecode8)) {
19921 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_CvDTreeParams" "', argument " "8"" of type '" "bool""'");
19923 arg8 = (bool)(val8);
19924 res9 = SWIG_ConvertPtr(args(8), &argp9,SWIGTYPE_p_float, 0 | 0 );
19925 if (!SWIG_IsOK(res9)) {
19926 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "new_CvDTreeParams" "', argument " "9"" of type '" "float const *""'");
19928 arg9 = (float *)(argp9);
19931 result = (CvDTreeParams *)new CvDTreeParams(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,(float const *)arg9);
19938 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvDTreeParams, 1 | 0 );
19939 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
19945 static octave_value_list _wrap_new_CvDTreeParams (const octave_value_list& args, int nargout) {
19946 int argc = args.length();
19947 octave_value_ref argv[9]={
19948 octave_value_ref(args,0),octave_value_ref(args,1),octave_value_ref(args,2),octave_value_ref(args,3),octave_value_ref(args,4),octave_value_ref(args,5),octave_value_ref(args,6),octave_value_ref(args,7),octave_value_ref(args,8)
19952 return _wrap_new_CvDTreeParams__SWIG_0(args, nargout);
19957 int res = SWIG_AsVal_int(argv[0], NULL);
19958 _v = SWIG_CheckState(res);
19962 int res = SWIG_AsVal_int(argv[1], NULL);
19963 _v = SWIG_CheckState(res);
19967 int res = SWIG_AsVal_float(argv[2], NULL);
19968 _v = SWIG_CheckState(res);
19972 int res = SWIG_AsVal_bool(argv[3], NULL);
19973 _v = SWIG_CheckState(res);
19977 int res = SWIG_AsVal_int(argv[4], NULL);
19978 _v = SWIG_CheckState(res);
19982 int res = SWIG_AsVal_int(argv[5], NULL);
19983 _v = SWIG_CheckState(res);
19987 int res = SWIG_AsVal_bool(argv[6], NULL);
19988 _v = SWIG_CheckState(res);
19992 int res = SWIG_AsVal_bool(argv[7], NULL);
19993 _v = SWIG_CheckState(res);
19997 int res = SWIG_ConvertPtr(argv[8], &vptr, SWIGTYPE_p_float, 0);
19998 _v = SWIG_CheckState(res);
20000 return _wrap_new_CvDTreeParams__SWIG_1(args, nargout);
20012 error("No matching function for overload");
20013 return octave_value_list();
20017 static octave_value_list _wrap_delete_CvDTreeParams (const octave_value_list& args, int nargout) {
20018 CvDTreeParams *arg1 = (CvDTreeParams *) 0 ;
20021 octave_value_list _out;
20022 octave_value_list *_outp=&_out;
20023 octave_value _outv;
20025 if (!SWIG_check_num_args("delete_CvDTreeParams",args.length(),1,1,0)) {
20028 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeParams, SWIG_POINTER_DISOWN | 0 );
20029 if (!SWIG_IsOK(res1)) {
20030 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CvDTreeParams" "', argument " "1"" of type '" "CvDTreeParams *""'");
20032 arg1 = (CvDTreeParams *)(argp1);
20042 _outv = octave_value();
20043 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
20049 static swig_octave_member swig_CvDTreeParams_members[] = {
20050 {"max_categories",0,_wrap_CvDTreeParams_max_categories_get,_wrap_CvDTreeParams_max_categories_set,0,0},
20051 {"max_depth",0,_wrap_CvDTreeParams_max_depth_get,_wrap_CvDTreeParams_max_depth_set,0,0},
20052 {"min_sample_count",0,_wrap_CvDTreeParams_min_sample_count_get,_wrap_CvDTreeParams_min_sample_count_set,0,0},
20053 {"cv_folds",0,_wrap_CvDTreeParams_cv_folds_get,_wrap_CvDTreeParams_cv_folds_set,0,0},
20054 {"use_surrogates",0,_wrap_CvDTreeParams_use_surrogates_get,_wrap_CvDTreeParams_use_surrogates_set,0,0},
20055 {"use_1se_rule",0,_wrap_CvDTreeParams_use_1se_rule_get,_wrap_CvDTreeParams_use_1se_rule_set,0,0},
20056 {"truncate_pruned_tree",0,_wrap_CvDTreeParams_truncate_pruned_tree_get,_wrap_CvDTreeParams_truncate_pruned_tree_set,0,0},
20057 {"regression_accuracy",0,_wrap_CvDTreeParams_regression_accuracy_get,_wrap_CvDTreeParams_regression_accuracy_set,0,0},
20058 {"priors",0,_wrap_CvDTreeParams_priors_get,_wrap_CvDTreeParams_priors_set,0,0},
20061 static const char *swig_CvDTreeParams_base_names[] = {0};
20062 static const swig_type_info *swig_CvDTreeParams_base[] = {0};
20063 static swig_octave_class _wrap_class_CvDTreeParams = {"CvDTreeParams", &SWIGTYPE_p_CvDTreeParams,0,_wrap_new_CvDTreeParams,0,_wrap_delete_CvDTreeParams,swig_CvDTreeParams_members,swig_CvDTreeParams_base_names,swig_CvDTreeParams_base };
20065 static octave_value_list _wrap_new_CvDTreeTrainData__SWIG_0 (const octave_value_list& args, int nargout) {
20066 octave_value_list _out;
20067 octave_value_list *_outp=&_out;
20068 octave_value _outv;
20069 CvDTreeTrainData *result = 0 ;
20071 if (!SWIG_check_num_args("new_CvDTreeTrainData",args.length(),0,0,0)) {
20076 result = (CvDTreeTrainData *)new CvDTreeTrainData();
20083 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvDTreeTrainData, 1 | 0 );
20084 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
20090 static octave_value_list _wrap_new_CvDTreeTrainData__SWIG_1 (const octave_value_list& args, int nargout) {
20091 CvMat *arg1 = (CvMat *) 0 ;
20093 CvMat *arg3 = (CvMat *) 0 ;
20094 CvMat *arg4 = (CvMat *) 0 ;
20095 CvMat *arg5 = (CvMat *) 0 ;
20096 CvMat *arg6 = (CvMat *) 0 ;
20097 CvMat *arg7 = (CvMat *) 0 ;
20098 CvDTreeParams *arg8 = 0 ;
20121 octave_value_list _out;
20122 octave_value_list *_outp=&_out;
20123 octave_value _outv;
20124 CvDTreeTrainData *result = 0 ;
20126 if (!SWIG_check_num_args("new_CvDTreeTrainData",args.length(),10,10,0)) {
20129 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvMat, 0 | 0 );
20130 if (!SWIG_IsOK(res1)) {
20131 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CvDTreeTrainData" "', argument " "1"" of type '" "CvMat const *""'");
20133 arg1 = (CvMat *)(argp1);
20134 ecode2 = SWIG_AsVal_int(args(1), &val2);
20135 if (!SWIG_IsOK(ecode2)) {
20136 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CvDTreeTrainData" "', argument " "2"" of type '" "int""'");
20138 arg2 = (int)(val2);
20139 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvMat, 0 | 0 );
20140 if (!SWIG_IsOK(res3)) {
20141 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_CvDTreeTrainData" "', argument " "3"" of type '" "CvMat const *""'");
20143 arg3 = (CvMat *)(argp3);
20144 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
20145 if (!SWIG_IsOK(res4)) {
20146 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_CvDTreeTrainData" "', argument " "4"" of type '" "CvMat const *""'");
20148 arg4 = (CvMat *)(argp4);
20149 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
20150 if (!SWIG_IsOK(res5)) {
20151 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_CvDTreeTrainData" "', argument " "5"" of type '" "CvMat const *""'");
20153 arg5 = (CvMat *)(argp5);
20154 res6 = SWIG_ConvertPtr(args(5), &argp6,SWIGTYPE_p_CvMat, 0 | 0 );
20155 if (!SWIG_IsOK(res6)) {
20156 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_CvDTreeTrainData" "', argument " "6"" of type '" "CvMat const *""'");
20158 arg6 = (CvMat *)(argp6);
20159 res7 = SWIG_ConvertPtr(args(6), &argp7,SWIGTYPE_p_CvMat, 0 | 0 );
20160 if (!SWIG_IsOK(res7)) {
20161 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_CvDTreeTrainData" "', argument " "7"" of type '" "CvMat const *""'");
20163 arg7 = (CvMat *)(argp7);
20164 res8 = SWIG_ConvertPtr(args(7), &argp8, SWIGTYPE_p_CvDTreeParams, 0 );
20165 if (!SWIG_IsOK(res8)) {
20166 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "new_CvDTreeTrainData" "', argument " "8"" of type '" "CvDTreeParams const &""'");
20169 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_CvDTreeTrainData" "', argument " "8"" of type '" "CvDTreeParams const &""'");
20171 arg8 = (CvDTreeParams *)(argp8);
20172 ecode9 = SWIG_AsVal_bool(args(8), &val9);
20173 if (!SWIG_IsOK(ecode9)) {
20174 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_CvDTreeTrainData" "', argument " "9"" of type '" "bool""'");
20176 arg9 = (bool)(val9);
20177 ecode10 = SWIG_AsVal_bool(args(9), &val10);
20178 if (!SWIG_IsOK(ecode10)) {
20179 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "new_CvDTreeTrainData" "', argument " "10"" of type '" "bool""'");
20181 arg10 = (bool)(val10);
20184 result = (CvDTreeTrainData *)new CvDTreeTrainData((CvMat const *)arg1,arg2,(CvMat const *)arg3,(CvMat const *)arg4,(CvMat const *)arg5,(CvMat const *)arg6,(CvMat const *)arg7,(CvDTreeParams const &)*arg8,arg9,arg10);
20191 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvDTreeTrainData, 1 | 0 );
20192 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
20198 static octave_value_list _wrap_new_CvDTreeTrainData__SWIG_2 (const octave_value_list& args, int nargout) {
20199 CvMat *arg1 = (CvMat *) 0 ;
20201 CvMat *arg3 = (CvMat *) 0 ;
20202 CvMat *arg4 = (CvMat *) 0 ;
20203 CvMat *arg5 = (CvMat *) 0 ;
20204 CvMat *arg6 = (CvMat *) 0 ;
20205 CvMat *arg7 = (CvMat *) 0 ;
20206 CvDTreeParams *arg8 = 0 ;
20226 octave_value_list _out;
20227 octave_value_list *_outp=&_out;
20228 octave_value _outv;
20229 CvDTreeTrainData *result = 0 ;
20231 if (!SWIG_check_num_args("new_CvDTreeTrainData",args.length(),9,9,0)) {
20234 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvMat, 0 | 0 );
20235 if (!SWIG_IsOK(res1)) {
20236 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CvDTreeTrainData" "', argument " "1"" of type '" "CvMat const *""'");
20238 arg1 = (CvMat *)(argp1);
20239 ecode2 = SWIG_AsVal_int(args(1), &val2);
20240 if (!SWIG_IsOK(ecode2)) {
20241 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CvDTreeTrainData" "', argument " "2"" of type '" "int""'");
20243 arg2 = (int)(val2);
20244 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvMat, 0 | 0 );
20245 if (!SWIG_IsOK(res3)) {
20246 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_CvDTreeTrainData" "', argument " "3"" of type '" "CvMat const *""'");
20248 arg3 = (CvMat *)(argp3);
20249 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
20250 if (!SWIG_IsOK(res4)) {
20251 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_CvDTreeTrainData" "', argument " "4"" of type '" "CvMat const *""'");
20253 arg4 = (CvMat *)(argp4);
20254 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
20255 if (!SWIG_IsOK(res5)) {
20256 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_CvDTreeTrainData" "', argument " "5"" of type '" "CvMat const *""'");
20258 arg5 = (CvMat *)(argp5);
20259 res6 = SWIG_ConvertPtr(args(5), &argp6,SWIGTYPE_p_CvMat, 0 | 0 );
20260 if (!SWIG_IsOK(res6)) {
20261 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_CvDTreeTrainData" "', argument " "6"" of type '" "CvMat const *""'");
20263 arg6 = (CvMat *)(argp6);
20264 res7 = SWIG_ConvertPtr(args(6), &argp7,SWIGTYPE_p_CvMat, 0 | 0 );
20265 if (!SWIG_IsOK(res7)) {
20266 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_CvDTreeTrainData" "', argument " "7"" of type '" "CvMat const *""'");
20268 arg7 = (CvMat *)(argp7);
20269 res8 = SWIG_ConvertPtr(args(7), &argp8, SWIGTYPE_p_CvDTreeParams, 0 );
20270 if (!SWIG_IsOK(res8)) {
20271 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "new_CvDTreeTrainData" "', argument " "8"" of type '" "CvDTreeParams const &""'");
20274 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_CvDTreeTrainData" "', argument " "8"" of type '" "CvDTreeParams const &""'");
20276 arg8 = (CvDTreeParams *)(argp8);
20277 ecode9 = SWIG_AsVal_bool(args(8), &val9);
20278 if (!SWIG_IsOK(ecode9)) {
20279 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_CvDTreeTrainData" "', argument " "9"" of type '" "bool""'");
20281 arg9 = (bool)(val9);
20284 result = (CvDTreeTrainData *)new CvDTreeTrainData((CvMat const *)arg1,arg2,(CvMat const *)arg3,(CvMat const *)arg4,(CvMat const *)arg5,(CvMat const *)arg6,(CvMat const *)arg7,(CvDTreeParams const &)*arg8,arg9);
20291 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvDTreeTrainData, 1 | 0 );
20292 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
20298 static octave_value_list _wrap_new_CvDTreeTrainData__SWIG_3 (const octave_value_list& args, int nargout) {
20299 CvMat *arg1 = (CvMat *) 0 ;
20301 CvMat *arg3 = (CvMat *) 0 ;
20302 CvMat *arg4 = (CvMat *) 0 ;
20303 CvMat *arg5 = (CvMat *) 0 ;
20304 CvMat *arg6 = (CvMat *) 0 ;
20305 CvMat *arg7 = (CvMat *) 0 ;
20306 CvDTreeParams *arg8 = 0 ;
20323 octave_value_list _out;
20324 octave_value_list *_outp=&_out;
20325 octave_value _outv;
20326 CvDTreeTrainData *result = 0 ;
20328 if (!SWIG_check_num_args("new_CvDTreeTrainData",args.length(),8,8,0)) {
20331 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvMat, 0 | 0 );
20332 if (!SWIG_IsOK(res1)) {
20333 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CvDTreeTrainData" "', argument " "1"" of type '" "CvMat const *""'");
20335 arg1 = (CvMat *)(argp1);
20336 ecode2 = SWIG_AsVal_int(args(1), &val2);
20337 if (!SWIG_IsOK(ecode2)) {
20338 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CvDTreeTrainData" "', argument " "2"" of type '" "int""'");
20340 arg2 = (int)(val2);
20341 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvMat, 0 | 0 );
20342 if (!SWIG_IsOK(res3)) {
20343 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_CvDTreeTrainData" "', argument " "3"" of type '" "CvMat const *""'");
20345 arg3 = (CvMat *)(argp3);
20346 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
20347 if (!SWIG_IsOK(res4)) {
20348 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_CvDTreeTrainData" "', argument " "4"" of type '" "CvMat const *""'");
20350 arg4 = (CvMat *)(argp4);
20351 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
20352 if (!SWIG_IsOK(res5)) {
20353 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_CvDTreeTrainData" "', argument " "5"" of type '" "CvMat const *""'");
20355 arg5 = (CvMat *)(argp5);
20356 res6 = SWIG_ConvertPtr(args(5), &argp6,SWIGTYPE_p_CvMat, 0 | 0 );
20357 if (!SWIG_IsOK(res6)) {
20358 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_CvDTreeTrainData" "', argument " "6"" of type '" "CvMat const *""'");
20360 arg6 = (CvMat *)(argp6);
20361 res7 = SWIG_ConvertPtr(args(6), &argp7,SWIGTYPE_p_CvMat, 0 | 0 );
20362 if (!SWIG_IsOK(res7)) {
20363 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_CvDTreeTrainData" "', argument " "7"" of type '" "CvMat const *""'");
20365 arg7 = (CvMat *)(argp7);
20366 res8 = SWIG_ConvertPtr(args(7), &argp8, SWIGTYPE_p_CvDTreeParams, 0 );
20367 if (!SWIG_IsOK(res8)) {
20368 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "new_CvDTreeTrainData" "', argument " "8"" of type '" "CvDTreeParams const &""'");
20371 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_CvDTreeTrainData" "', argument " "8"" of type '" "CvDTreeParams const &""'");
20373 arg8 = (CvDTreeParams *)(argp8);
20376 result = (CvDTreeTrainData *)new CvDTreeTrainData((CvMat const *)arg1,arg2,(CvMat const *)arg3,(CvMat const *)arg4,(CvMat const *)arg5,(CvMat const *)arg6,(CvMat const *)arg7,(CvDTreeParams const &)*arg8);
20383 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvDTreeTrainData, 1 | 0 );
20384 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
20390 static octave_value_list _wrap_new_CvDTreeTrainData__SWIG_4 (const octave_value_list& args, int nargout) {
20391 CvMat *arg1 = (CvMat *) 0 ;
20393 CvMat *arg3 = (CvMat *) 0 ;
20394 CvMat *arg4 = (CvMat *) 0 ;
20395 CvMat *arg5 = (CvMat *) 0 ;
20396 CvMat *arg6 = (CvMat *) 0 ;
20397 CvMat *arg7 = (CvMat *) 0 ;
20412 octave_value_list _out;
20413 octave_value_list *_outp=&_out;
20414 octave_value _outv;
20415 CvDTreeTrainData *result = 0 ;
20417 if (!SWIG_check_num_args("new_CvDTreeTrainData",args.length(),7,7,0)) {
20420 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvMat, 0 | 0 );
20421 if (!SWIG_IsOK(res1)) {
20422 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CvDTreeTrainData" "', argument " "1"" of type '" "CvMat const *""'");
20424 arg1 = (CvMat *)(argp1);
20425 ecode2 = SWIG_AsVal_int(args(1), &val2);
20426 if (!SWIG_IsOK(ecode2)) {
20427 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CvDTreeTrainData" "', argument " "2"" of type '" "int""'");
20429 arg2 = (int)(val2);
20430 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvMat, 0 | 0 );
20431 if (!SWIG_IsOK(res3)) {
20432 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_CvDTreeTrainData" "', argument " "3"" of type '" "CvMat const *""'");
20434 arg3 = (CvMat *)(argp3);
20435 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
20436 if (!SWIG_IsOK(res4)) {
20437 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_CvDTreeTrainData" "', argument " "4"" of type '" "CvMat const *""'");
20439 arg4 = (CvMat *)(argp4);
20440 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
20441 if (!SWIG_IsOK(res5)) {
20442 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_CvDTreeTrainData" "', argument " "5"" of type '" "CvMat const *""'");
20444 arg5 = (CvMat *)(argp5);
20445 res6 = SWIG_ConvertPtr(args(5), &argp6,SWIGTYPE_p_CvMat, 0 | 0 );
20446 if (!SWIG_IsOK(res6)) {
20447 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_CvDTreeTrainData" "', argument " "6"" of type '" "CvMat const *""'");
20449 arg6 = (CvMat *)(argp6);
20450 res7 = SWIG_ConvertPtr(args(6), &argp7,SWIGTYPE_p_CvMat, 0 | 0 );
20451 if (!SWIG_IsOK(res7)) {
20452 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_CvDTreeTrainData" "', argument " "7"" of type '" "CvMat const *""'");
20454 arg7 = (CvMat *)(argp7);
20457 result = (CvDTreeTrainData *)new CvDTreeTrainData((CvMat const *)arg1,arg2,(CvMat const *)arg3,(CvMat const *)arg4,(CvMat const *)arg5,(CvMat const *)arg6,(CvMat const *)arg7);
20464 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvDTreeTrainData, 1 | 0 );
20465 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
20471 static octave_value_list _wrap_new_CvDTreeTrainData__SWIG_5 (const octave_value_list& args, int nargout) {
20472 CvMat *arg1 = (CvMat *) 0 ;
20474 CvMat *arg3 = (CvMat *) 0 ;
20475 CvMat *arg4 = (CvMat *) 0 ;
20476 CvMat *arg5 = (CvMat *) 0 ;
20477 CvMat *arg6 = (CvMat *) 0 ;
20490 octave_value_list _out;
20491 octave_value_list *_outp=&_out;
20492 octave_value _outv;
20493 CvDTreeTrainData *result = 0 ;
20495 if (!SWIG_check_num_args("new_CvDTreeTrainData",args.length(),6,6,0)) {
20498 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvMat, 0 | 0 );
20499 if (!SWIG_IsOK(res1)) {
20500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CvDTreeTrainData" "', argument " "1"" of type '" "CvMat const *""'");
20502 arg1 = (CvMat *)(argp1);
20503 ecode2 = SWIG_AsVal_int(args(1), &val2);
20504 if (!SWIG_IsOK(ecode2)) {
20505 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CvDTreeTrainData" "', argument " "2"" of type '" "int""'");
20507 arg2 = (int)(val2);
20508 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvMat, 0 | 0 );
20509 if (!SWIG_IsOK(res3)) {
20510 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_CvDTreeTrainData" "', argument " "3"" of type '" "CvMat const *""'");
20512 arg3 = (CvMat *)(argp3);
20513 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
20514 if (!SWIG_IsOK(res4)) {
20515 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_CvDTreeTrainData" "', argument " "4"" of type '" "CvMat const *""'");
20517 arg4 = (CvMat *)(argp4);
20518 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
20519 if (!SWIG_IsOK(res5)) {
20520 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_CvDTreeTrainData" "', argument " "5"" of type '" "CvMat const *""'");
20522 arg5 = (CvMat *)(argp5);
20523 res6 = SWIG_ConvertPtr(args(5), &argp6,SWIGTYPE_p_CvMat, 0 | 0 );
20524 if (!SWIG_IsOK(res6)) {
20525 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_CvDTreeTrainData" "', argument " "6"" of type '" "CvMat const *""'");
20527 arg6 = (CvMat *)(argp6);
20530 result = (CvDTreeTrainData *)new CvDTreeTrainData((CvMat const *)arg1,arg2,(CvMat const *)arg3,(CvMat const *)arg4,(CvMat const *)arg5,(CvMat const *)arg6);
20537 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvDTreeTrainData, 1 | 0 );
20538 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
20544 static octave_value_list _wrap_new_CvDTreeTrainData__SWIG_6 (const octave_value_list& args, int nargout) {
20545 CvMat *arg1 = (CvMat *) 0 ;
20547 CvMat *arg3 = (CvMat *) 0 ;
20548 CvMat *arg4 = (CvMat *) 0 ;
20549 CvMat *arg5 = (CvMat *) 0 ;
20560 octave_value_list _out;
20561 octave_value_list *_outp=&_out;
20562 octave_value _outv;
20563 CvDTreeTrainData *result = 0 ;
20565 if (!SWIG_check_num_args("new_CvDTreeTrainData",args.length(),5,5,0)) {
20568 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvMat, 0 | 0 );
20569 if (!SWIG_IsOK(res1)) {
20570 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CvDTreeTrainData" "', argument " "1"" of type '" "CvMat const *""'");
20572 arg1 = (CvMat *)(argp1);
20573 ecode2 = SWIG_AsVal_int(args(1), &val2);
20574 if (!SWIG_IsOK(ecode2)) {
20575 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CvDTreeTrainData" "', argument " "2"" of type '" "int""'");
20577 arg2 = (int)(val2);
20578 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvMat, 0 | 0 );
20579 if (!SWIG_IsOK(res3)) {
20580 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_CvDTreeTrainData" "', argument " "3"" of type '" "CvMat const *""'");
20582 arg3 = (CvMat *)(argp3);
20583 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
20584 if (!SWIG_IsOK(res4)) {
20585 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_CvDTreeTrainData" "', argument " "4"" of type '" "CvMat const *""'");
20587 arg4 = (CvMat *)(argp4);
20588 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
20589 if (!SWIG_IsOK(res5)) {
20590 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_CvDTreeTrainData" "', argument " "5"" of type '" "CvMat const *""'");
20592 arg5 = (CvMat *)(argp5);
20595 result = (CvDTreeTrainData *)new CvDTreeTrainData((CvMat const *)arg1,arg2,(CvMat const *)arg3,(CvMat const *)arg4,(CvMat const *)arg5);
20602 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvDTreeTrainData, 1 | 0 );
20603 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
20609 static octave_value_list _wrap_new_CvDTreeTrainData__SWIG_7 (const octave_value_list& args, int nargout) {
20610 CvMat *arg1 = (CvMat *) 0 ;
20612 CvMat *arg3 = (CvMat *) 0 ;
20613 CvMat *arg4 = (CvMat *) 0 ;
20622 octave_value_list _out;
20623 octave_value_list *_outp=&_out;
20624 octave_value _outv;
20625 CvDTreeTrainData *result = 0 ;
20627 if (!SWIG_check_num_args("new_CvDTreeTrainData",args.length(),4,4,0)) {
20630 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvMat, 0 | 0 );
20631 if (!SWIG_IsOK(res1)) {
20632 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CvDTreeTrainData" "', argument " "1"" of type '" "CvMat const *""'");
20634 arg1 = (CvMat *)(argp1);
20635 ecode2 = SWIG_AsVal_int(args(1), &val2);
20636 if (!SWIG_IsOK(ecode2)) {
20637 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CvDTreeTrainData" "', argument " "2"" of type '" "int""'");
20639 arg2 = (int)(val2);
20640 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvMat, 0 | 0 );
20641 if (!SWIG_IsOK(res3)) {
20642 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_CvDTreeTrainData" "', argument " "3"" of type '" "CvMat const *""'");
20644 arg3 = (CvMat *)(argp3);
20645 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
20646 if (!SWIG_IsOK(res4)) {
20647 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_CvDTreeTrainData" "', argument " "4"" of type '" "CvMat const *""'");
20649 arg4 = (CvMat *)(argp4);
20652 result = (CvDTreeTrainData *)new CvDTreeTrainData((CvMat const *)arg1,arg2,(CvMat const *)arg3,(CvMat const *)arg4);
20659 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvDTreeTrainData, 1 | 0 );
20660 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
20666 static octave_value_list _wrap_new_CvDTreeTrainData__SWIG_8 (const octave_value_list& args, int nargout) {
20667 CvMat *arg1 = (CvMat *) 0 ;
20669 CvMat *arg3 = (CvMat *) 0 ;
20676 octave_value_list _out;
20677 octave_value_list *_outp=&_out;
20678 octave_value _outv;
20679 CvDTreeTrainData *result = 0 ;
20681 if (!SWIG_check_num_args("new_CvDTreeTrainData",args.length(),3,3,0)) {
20684 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvMat, 0 | 0 );
20685 if (!SWIG_IsOK(res1)) {
20686 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CvDTreeTrainData" "', argument " "1"" of type '" "CvMat const *""'");
20688 arg1 = (CvMat *)(argp1);
20689 ecode2 = SWIG_AsVal_int(args(1), &val2);
20690 if (!SWIG_IsOK(ecode2)) {
20691 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CvDTreeTrainData" "', argument " "2"" of type '" "int""'");
20693 arg2 = (int)(val2);
20694 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvMat, 0 | 0 );
20695 if (!SWIG_IsOK(res3)) {
20696 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_CvDTreeTrainData" "', argument " "3"" of type '" "CvMat const *""'");
20698 arg3 = (CvMat *)(argp3);
20701 result = (CvDTreeTrainData *)new CvDTreeTrainData((CvMat const *)arg1,arg2,(CvMat const *)arg3);
20708 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvDTreeTrainData, 1 | 0 );
20709 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
20715 static octave_value_list _wrap_new_CvDTreeTrainData (const octave_value_list& args, int nargout) {
20716 int argc = args.length();
20717 octave_value_ref argv[10]={
20718 octave_value_ref(args,0),octave_value_ref(args,1),octave_value_ref(args,2),octave_value_ref(args,3),octave_value_ref(args,4),octave_value_ref(args,5),octave_value_ref(args,6),octave_value_ref(args,7),octave_value_ref(args,8),octave_value_ref(args,9)
20722 return _wrap_new_CvDTreeTrainData__SWIG_0(args, nargout);
20727 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvMat, 0);
20728 _v = SWIG_CheckState(res);
20731 int res = SWIG_AsVal_int(argv[1], NULL);
20732 _v = SWIG_CheckState(res);
20736 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvMat, 0);
20737 _v = SWIG_CheckState(res);
20739 return _wrap_new_CvDTreeTrainData__SWIG_8(args, nargout);
20747 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvMat, 0);
20748 _v = SWIG_CheckState(res);
20751 int res = SWIG_AsVal_int(argv[1], NULL);
20752 _v = SWIG_CheckState(res);
20756 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvMat, 0);
20757 _v = SWIG_CheckState(res);
20760 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
20761 _v = SWIG_CheckState(res);
20763 return _wrap_new_CvDTreeTrainData__SWIG_7(args, nargout);
20772 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvMat, 0);
20773 _v = SWIG_CheckState(res);
20776 int res = SWIG_AsVal_int(argv[1], NULL);
20777 _v = SWIG_CheckState(res);
20781 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvMat, 0);
20782 _v = SWIG_CheckState(res);
20785 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
20786 _v = SWIG_CheckState(res);
20789 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvMat, 0);
20790 _v = SWIG_CheckState(res);
20792 return _wrap_new_CvDTreeTrainData__SWIG_6(args, nargout);
20802 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvMat, 0);
20803 _v = SWIG_CheckState(res);
20806 int res = SWIG_AsVal_int(argv[1], NULL);
20807 _v = SWIG_CheckState(res);
20811 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvMat, 0);
20812 _v = SWIG_CheckState(res);
20815 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
20816 _v = SWIG_CheckState(res);
20819 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvMat, 0);
20820 _v = SWIG_CheckState(res);
20823 int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_CvMat, 0);
20824 _v = SWIG_CheckState(res);
20826 return _wrap_new_CvDTreeTrainData__SWIG_5(args, nargout);
20837 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvMat, 0);
20838 _v = SWIG_CheckState(res);
20841 int res = SWIG_AsVal_int(argv[1], NULL);
20842 _v = SWIG_CheckState(res);
20846 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvMat, 0);
20847 _v = SWIG_CheckState(res);
20850 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
20851 _v = SWIG_CheckState(res);
20854 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvMat, 0);
20855 _v = SWIG_CheckState(res);
20858 int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_CvMat, 0);
20859 _v = SWIG_CheckState(res);
20862 int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_CvMat, 0);
20863 _v = SWIG_CheckState(res);
20865 return _wrap_new_CvDTreeTrainData__SWIG_4(args, nargout);
20877 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvMat, 0);
20878 _v = SWIG_CheckState(res);
20881 int res = SWIG_AsVal_int(argv[1], NULL);
20882 _v = SWIG_CheckState(res);
20886 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvMat, 0);
20887 _v = SWIG_CheckState(res);
20890 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
20891 _v = SWIG_CheckState(res);
20894 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvMat, 0);
20895 _v = SWIG_CheckState(res);
20898 int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_CvMat, 0);
20899 _v = SWIG_CheckState(res);
20902 int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_CvMat, 0);
20903 _v = SWIG_CheckState(res);
20906 int res = SWIG_ConvertPtr(argv[7], &vptr, SWIGTYPE_p_CvDTreeParams, 0);
20907 _v = SWIG_CheckState(res);
20909 return _wrap_new_CvDTreeTrainData__SWIG_3(args, nargout);
20922 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvMat, 0);
20923 _v = SWIG_CheckState(res);
20926 int res = SWIG_AsVal_int(argv[1], NULL);
20927 _v = SWIG_CheckState(res);
20931 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvMat, 0);
20932 _v = SWIG_CheckState(res);
20935 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
20936 _v = SWIG_CheckState(res);
20939 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvMat, 0);
20940 _v = SWIG_CheckState(res);
20943 int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_CvMat, 0);
20944 _v = SWIG_CheckState(res);
20947 int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_CvMat, 0);
20948 _v = SWIG_CheckState(res);
20951 int res = SWIG_ConvertPtr(argv[7], &vptr, SWIGTYPE_p_CvDTreeParams, 0);
20952 _v = SWIG_CheckState(res);
20955 int res = SWIG_AsVal_bool(argv[8], NULL);
20956 _v = SWIG_CheckState(res);
20959 return _wrap_new_CvDTreeTrainData__SWIG_2(args, nargout);
20973 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvMat, 0);
20974 _v = SWIG_CheckState(res);
20977 int res = SWIG_AsVal_int(argv[1], NULL);
20978 _v = SWIG_CheckState(res);
20982 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvMat, 0);
20983 _v = SWIG_CheckState(res);
20986 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
20987 _v = SWIG_CheckState(res);
20990 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvMat, 0);
20991 _v = SWIG_CheckState(res);
20994 int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_CvMat, 0);
20995 _v = SWIG_CheckState(res);
20998 int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_CvMat, 0);
20999 _v = SWIG_CheckState(res);
21002 int res = SWIG_ConvertPtr(argv[7], &vptr, SWIGTYPE_p_CvDTreeParams, 0);
21003 _v = SWIG_CheckState(res);
21006 int res = SWIG_AsVal_bool(argv[8], NULL);
21007 _v = SWIG_CheckState(res);
21011 int res = SWIG_AsVal_bool(argv[9], NULL);
21012 _v = SWIG_CheckState(res);
21015 return _wrap_new_CvDTreeTrainData__SWIG_1(args, nargout);
21028 error("No matching function for overload");
21029 return octave_value_list();
21033 static octave_value_list _wrap_delete_CvDTreeTrainData (const octave_value_list& args, int nargout) {
21034 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
21037 octave_value_list _out;
21038 octave_value_list *_outp=&_out;
21039 octave_value _outv;
21041 if (!SWIG_check_num_args("delete_CvDTreeTrainData",args.length(),1,1,0)) {
21044 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, SWIG_POINTER_DISOWN | 0 );
21045 if (!SWIG_IsOK(res1)) {
21046 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CvDTreeTrainData" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
21048 arg1 = (CvDTreeTrainData *)(argp1);
21058 _outv = octave_value();
21059 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
21065 static octave_value_list _wrap_CvDTreeTrainData_set_data__SWIG_0 (const octave_value_list& args, int nargout) {
21066 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
21067 CvMat *arg2 = (CvMat *) 0 ;
21069 CvMat *arg4 = (CvMat *) 0 ;
21070 CvMat *arg5 = (CvMat *) 0 ;
21071 CvMat *arg6 = (CvMat *) 0 ;
21072 CvMat *arg7 = (CvMat *) 0 ;
21073 CvMat *arg8 = (CvMat *) 0 ;
21074 CvDTreeParams *arg9 = 0 ;
21102 octave_value_list _out;
21103 octave_value_list *_outp=&_out;
21104 octave_value _outv;
21106 if (!SWIG_check_num_args("CvDTreeTrainData_set_data",args.length(),12,12,0)) {
21109 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
21110 if (!SWIG_IsOK(res1)) {
21111 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_set_data" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
21113 arg1 = (CvDTreeTrainData *)(argp1);
21114 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
21115 if (!SWIG_IsOK(res2)) {
21116 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvDTreeTrainData_set_data" "', argument " "2"" of type '" "CvMat const *""'");
21118 arg2 = (CvMat *)(argp2);
21119 ecode3 = SWIG_AsVal_int(args(2), &val3);
21120 if (!SWIG_IsOK(ecode3)) {
21121 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvDTreeTrainData_set_data" "', argument " "3"" of type '" "int""'");
21123 arg3 = (int)(val3);
21124 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
21125 if (!SWIG_IsOK(res4)) {
21126 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvDTreeTrainData_set_data" "', argument " "4"" of type '" "CvMat const *""'");
21128 arg4 = (CvMat *)(argp4);
21129 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
21130 if (!SWIG_IsOK(res5)) {
21131 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvDTreeTrainData_set_data" "', argument " "5"" of type '" "CvMat const *""'");
21133 arg5 = (CvMat *)(argp5);
21134 res6 = SWIG_ConvertPtr(args(5), &argp6,SWIGTYPE_p_CvMat, 0 | 0 );
21135 if (!SWIG_IsOK(res6)) {
21136 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "CvDTreeTrainData_set_data" "', argument " "6"" of type '" "CvMat const *""'");
21138 arg6 = (CvMat *)(argp6);
21139 res7 = SWIG_ConvertPtr(args(6), &argp7,SWIGTYPE_p_CvMat, 0 | 0 );
21140 if (!SWIG_IsOK(res7)) {
21141 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "CvDTreeTrainData_set_data" "', argument " "7"" of type '" "CvMat const *""'");
21143 arg7 = (CvMat *)(argp7);
21144 res8 = SWIG_ConvertPtr(args(7), &argp8,SWIGTYPE_p_CvMat, 0 | 0 );
21145 if (!SWIG_IsOK(res8)) {
21146 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CvDTreeTrainData_set_data" "', argument " "8"" of type '" "CvMat const *""'");
21148 arg8 = (CvMat *)(argp8);
21149 res9 = SWIG_ConvertPtr(args(8), &argp9, SWIGTYPE_p_CvDTreeParams, 0 );
21150 if (!SWIG_IsOK(res9)) {
21151 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "CvDTreeTrainData_set_data" "', argument " "9"" of type '" "CvDTreeParams const &""'");
21154 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvDTreeTrainData_set_data" "', argument " "9"" of type '" "CvDTreeParams const &""'");
21156 arg9 = (CvDTreeParams *)(argp9);
21157 ecode10 = SWIG_AsVal_bool(args(9), &val10);
21158 if (!SWIG_IsOK(ecode10)) {
21159 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "CvDTreeTrainData_set_data" "', argument " "10"" of type '" "bool""'");
21161 arg10 = (bool)(val10);
21162 ecode11 = SWIG_AsVal_bool(args(10), &val11);
21163 if (!SWIG_IsOK(ecode11)) {
21164 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "CvDTreeTrainData_set_data" "', argument " "11"" of type '" "bool""'");
21166 arg11 = (bool)(val11);
21167 ecode12 = SWIG_AsVal_bool(args(11), &val12);
21168 if (!SWIG_IsOK(ecode12)) {
21169 SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "CvDTreeTrainData_set_data" "', argument " "12"" of type '" "bool""'");
21171 arg12 = (bool)(val12);
21174 (arg1)->set_data((CvMat const *)arg2,arg3,(CvMat const *)arg4,(CvMat const *)arg5,(CvMat const *)arg6,(CvMat const *)arg7,(CvMat const *)arg8,(CvDTreeParams const &)*arg9,arg10,arg11,arg12);
21181 _outv = octave_value();
21182 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
21188 static octave_value_list _wrap_CvDTreeTrainData_set_data__SWIG_1 (const octave_value_list& args, int nargout) {
21189 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
21190 CvMat *arg2 = (CvMat *) 0 ;
21192 CvMat *arg4 = (CvMat *) 0 ;
21193 CvMat *arg5 = (CvMat *) 0 ;
21194 CvMat *arg6 = (CvMat *) 0 ;
21195 CvMat *arg7 = (CvMat *) 0 ;
21196 CvMat *arg8 = (CvMat *) 0 ;
21197 CvDTreeParams *arg9 = 0 ;
21222 octave_value_list _out;
21223 octave_value_list *_outp=&_out;
21224 octave_value _outv;
21226 if (!SWIG_check_num_args("CvDTreeTrainData_set_data",args.length(),11,11,0)) {
21229 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
21230 if (!SWIG_IsOK(res1)) {
21231 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_set_data" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
21233 arg1 = (CvDTreeTrainData *)(argp1);
21234 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
21235 if (!SWIG_IsOK(res2)) {
21236 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvDTreeTrainData_set_data" "', argument " "2"" of type '" "CvMat const *""'");
21238 arg2 = (CvMat *)(argp2);
21239 ecode3 = SWIG_AsVal_int(args(2), &val3);
21240 if (!SWIG_IsOK(ecode3)) {
21241 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvDTreeTrainData_set_data" "', argument " "3"" of type '" "int""'");
21243 arg3 = (int)(val3);
21244 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
21245 if (!SWIG_IsOK(res4)) {
21246 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvDTreeTrainData_set_data" "', argument " "4"" of type '" "CvMat const *""'");
21248 arg4 = (CvMat *)(argp4);
21249 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
21250 if (!SWIG_IsOK(res5)) {
21251 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvDTreeTrainData_set_data" "', argument " "5"" of type '" "CvMat const *""'");
21253 arg5 = (CvMat *)(argp5);
21254 res6 = SWIG_ConvertPtr(args(5), &argp6,SWIGTYPE_p_CvMat, 0 | 0 );
21255 if (!SWIG_IsOK(res6)) {
21256 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "CvDTreeTrainData_set_data" "', argument " "6"" of type '" "CvMat const *""'");
21258 arg6 = (CvMat *)(argp6);
21259 res7 = SWIG_ConvertPtr(args(6), &argp7,SWIGTYPE_p_CvMat, 0 | 0 );
21260 if (!SWIG_IsOK(res7)) {
21261 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "CvDTreeTrainData_set_data" "', argument " "7"" of type '" "CvMat const *""'");
21263 arg7 = (CvMat *)(argp7);
21264 res8 = SWIG_ConvertPtr(args(7), &argp8,SWIGTYPE_p_CvMat, 0 | 0 );
21265 if (!SWIG_IsOK(res8)) {
21266 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CvDTreeTrainData_set_data" "', argument " "8"" of type '" "CvMat const *""'");
21268 arg8 = (CvMat *)(argp8);
21269 res9 = SWIG_ConvertPtr(args(8), &argp9, SWIGTYPE_p_CvDTreeParams, 0 );
21270 if (!SWIG_IsOK(res9)) {
21271 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "CvDTreeTrainData_set_data" "', argument " "9"" of type '" "CvDTreeParams const &""'");
21274 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvDTreeTrainData_set_data" "', argument " "9"" of type '" "CvDTreeParams const &""'");
21276 arg9 = (CvDTreeParams *)(argp9);
21277 ecode10 = SWIG_AsVal_bool(args(9), &val10);
21278 if (!SWIG_IsOK(ecode10)) {
21279 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "CvDTreeTrainData_set_data" "', argument " "10"" of type '" "bool""'");
21281 arg10 = (bool)(val10);
21282 ecode11 = SWIG_AsVal_bool(args(10), &val11);
21283 if (!SWIG_IsOK(ecode11)) {
21284 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "CvDTreeTrainData_set_data" "', argument " "11"" of type '" "bool""'");
21286 arg11 = (bool)(val11);
21289 (arg1)->set_data((CvMat const *)arg2,arg3,(CvMat const *)arg4,(CvMat const *)arg5,(CvMat const *)arg6,(CvMat const *)arg7,(CvMat const *)arg8,(CvDTreeParams const &)*arg9,arg10,arg11);
21296 _outv = octave_value();
21297 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
21303 static octave_value_list _wrap_CvDTreeTrainData_set_data__SWIG_2 (const octave_value_list& args, int nargout) {
21304 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
21305 CvMat *arg2 = (CvMat *) 0 ;
21307 CvMat *arg4 = (CvMat *) 0 ;
21308 CvMat *arg5 = (CvMat *) 0 ;
21309 CvMat *arg6 = (CvMat *) 0 ;
21310 CvMat *arg7 = (CvMat *) 0 ;
21311 CvMat *arg8 = (CvMat *) 0 ;
21312 CvDTreeParams *arg9 = 0 ;
21334 octave_value_list _out;
21335 octave_value_list *_outp=&_out;
21336 octave_value _outv;
21338 if (!SWIG_check_num_args("CvDTreeTrainData_set_data",args.length(),10,10,0)) {
21341 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
21342 if (!SWIG_IsOK(res1)) {
21343 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_set_data" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
21345 arg1 = (CvDTreeTrainData *)(argp1);
21346 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
21347 if (!SWIG_IsOK(res2)) {
21348 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvDTreeTrainData_set_data" "', argument " "2"" of type '" "CvMat const *""'");
21350 arg2 = (CvMat *)(argp2);
21351 ecode3 = SWIG_AsVal_int(args(2), &val3);
21352 if (!SWIG_IsOK(ecode3)) {
21353 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvDTreeTrainData_set_data" "', argument " "3"" of type '" "int""'");
21355 arg3 = (int)(val3);
21356 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
21357 if (!SWIG_IsOK(res4)) {
21358 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvDTreeTrainData_set_data" "', argument " "4"" of type '" "CvMat const *""'");
21360 arg4 = (CvMat *)(argp4);
21361 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
21362 if (!SWIG_IsOK(res5)) {
21363 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvDTreeTrainData_set_data" "', argument " "5"" of type '" "CvMat const *""'");
21365 arg5 = (CvMat *)(argp5);
21366 res6 = SWIG_ConvertPtr(args(5), &argp6,SWIGTYPE_p_CvMat, 0 | 0 );
21367 if (!SWIG_IsOK(res6)) {
21368 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "CvDTreeTrainData_set_data" "', argument " "6"" of type '" "CvMat const *""'");
21370 arg6 = (CvMat *)(argp6);
21371 res7 = SWIG_ConvertPtr(args(6), &argp7,SWIGTYPE_p_CvMat, 0 | 0 );
21372 if (!SWIG_IsOK(res7)) {
21373 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "CvDTreeTrainData_set_data" "', argument " "7"" of type '" "CvMat const *""'");
21375 arg7 = (CvMat *)(argp7);
21376 res8 = SWIG_ConvertPtr(args(7), &argp8,SWIGTYPE_p_CvMat, 0 | 0 );
21377 if (!SWIG_IsOK(res8)) {
21378 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CvDTreeTrainData_set_data" "', argument " "8"" of type '" "CvMat const *""'");
21380 arg8 = (CvMat *)(argp8);
21381 res9 = SWIG_ConvertPtr(args(8), &argp9, SWIGTYPE_p_CvDTreeParams, 0 );
21382 if (!SWIG_IsOK(res9)) {
21383 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "CvDTreeTrainData_set_data" "', argument " "9"" of type '" "CvDTreeParams const &""'");
21386 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvDTreeTrainData_set_data" "', argument " "9"" of type '" "CvDTreeParams const &""'");
21388 arg9 = (CvDTreeParams *)(argp9);
21389 ecode10 = SWIG_AsVal_bool(args(9), &val10);
21390 if (!SWIG_IsOK(ecode10)) {
21391 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "CvDTreeTrainData_set_data" "', argument " "10"" of type '" "bool""'");
21393 arg10 = (bool)(val10);
21396 (arg1)->set_data((CvMat const *)arg2,arg3,(CvMat const *)arg4,(CvMat const *)arg5,(CvMat const *)arg6,(CvMat const *)arg7,(CvMat const *)arg8,(CvDTreeParams const &)*arg9,arg10);
21403 _outv = octave_value();
21404 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
21410 static octave_value_list _wrap_CvDTreeTrainData_set_data__SWIG_3 (const octave_value_list& args, int nargout) {
21411 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
21412 CvMat *arg2 = (CvMat *) 0 ;
21414 CvMat *arg4 = (CvMat *) 0 ;
21415 CvMat *arg5 = (CvMat *) 0 ;
21416 CvMat *arg6 = (CvMat *) 0 ;
21417 CvMat *arg7 = (CvMat *) 0 ;
21418 CvMat *arg8 = (CvMat *) 0 ;
21419 CvDTreeParams *arg9 = 0 ;
21438 octave_value_list _out;
21439 octave_value_list *_outp=&_out;
21440 octave_value _outv;
21442 if (!SWIG_check_num_args("CvDTreeTrainData_set_data",args.length(),9,9,0)) {
21445 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
21446 if (!SWIG_IsOK(res1)) {
21447 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_set_data" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
21449 arg1 = (CvDTreeTrainData *)(argp1);
21450 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
21451 if (!SWIG_IsOK(res2)) {
21452 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvDTreeTrainData_set_data" "', argument " "2"" of type '" "CvMat const *""'");
21454 arg2 = (CvMat *)(argp2);
21455 ecode3 = SWIG_AsVal_int(args(2), &val3);
21456 if (!SWIG_IsOK(ecode3)) {
21457 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvDTreeTrainData_set_data" "', argument " "3"" of type '" "int""'");
21459 arg3 = (int)(val3);
21460 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
21461 if (!SWIG_IsOK(res4)) {
21462 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvDTreeTrainData_set_data" "', argument " "4"" of type '" "CvMat const *""'");
21464 arg4 = (CvMat *)(argp4);
21465 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
21466 if (!SWIG_IsOK(res5)) {
21467 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvDTreeTrainData_set_data" "', argument " "5"" of type '" "CvMat const *""'");
21469 arg5 = (CvMat *)(argp5);
21470 res6 = SWIG_ConvertPtr(args(5), &argp6,SWIGTYPE_p_CvMat, 0 | 0 );
21471 if (!SWIG_IsOK(res6)) {
21472 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "CvDTreeTrainData_set_data" "', argument " "6"" of type '" "CvMat const *""'");
21474 arg6 = (CvMat *)(argp6);
21475 res7 = SWIG_ConvertPtr(args(6), &argp7,SWIGTYPE_p_CvMat, 0 | 0 );
21476 if (!SWIG_IsOK(res7)) {
21477 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "CvDTreeTrainData_set_data" "', argument " "7"" of type '" "CvMat const *""'");
21479 arg7 = (CvMat *)(argp7);
21480 res8 = SWIG_ConvertPtr(args(7), &argp8,SWIGTYPE_p_CvMat, 0 | 0 );
21481 if (!SWIG_IsOK(res8)) {
21482 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CvDTreeTrainData_set_data" "', argument " "8"" of type '" "CvMat const *""'");
21484 arg8 = (CvMat *)(argp8);
21485 res9 = SWIG_ConvertPtr(args(8), &argp9, SWIGTYPE_p_CvDTreeParams, 0 );
21486 if (!SWIG_IsOK(res9)) {
21487 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "CvDTreeTrainData_set_data" "', argument " "9"" of type '" "CvDTreeParams const &""'");
21490 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvDTreeTrainData_set_data" "', argument " "9"" of type '" "CvDTreeParams const &""'");
21492 arg9 = (CvDTreeParams *)(argp9);
21495 (arg1)->set_data((CvMat const *)arg2,arg3,(CvMat const *)arg4,(CvMat const *)arg5,(CvMat const *)arg6,(CvMat const *)arg7,(CvMat const *)arg8,(CvDTreeParams const &)*arg9);
21502 _outv = octave_value();
21503 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
21509 static octave_value_list _wrap_CvDTreeTrainData_set_data__SWIG_4 (const octave_value_list& args, int nargout) {
21510 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
21511 CvMat *arg2 = (CvMat *) 0 ;
21513 CvMat *arg4 = (CvMat *) 0 ;
21514 CvMat *arg5 = (CvMat *) 0 ;
21515 CvMat *arg6 = (CvMat *) 0 ;
21516 CvMat *arg7 = (CvMat *) 0 ;
21517 CvMat *arg8 = (CvMat *) 0 ;
21534 octave_value_list _out;
21535 octave_value_list *_outp=&_out;
21536 octave_value _outv;
21538 if (!SWIG_check_num_args("CvDTreeTrainData_set_data",args.length(),8,8,0)) {
21541 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
21542 if (!SWIG_IsOK(res1)) {
21543 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_set_data" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
21545 arg1 = (CvDTreeTrainData *)(argp1);
21546 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
21547 if (!SWIG_IsOK(res2)) {
21548 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvDTreeTrainData_set_data" "', argument " "2"" of type '" "CvMat const *""'");
21550 arg2 = (CvMat *)(argp2);
21551 ecode3 = SWIG_AsVal_int(args(2), &val3);
21552 if (!SWIG_IsOK(ecode3)) {
21553 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvDTreeTrainData_set_data" "', argument " "3"" of type '" "int""'");
21555 arg3 = (int)(val3);
21556 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
21557 if (!SWIG_IsOK(res4)) {
21558 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvDTreeTrainData_set_data" "', argument " "4"" of type '" "CvMat const *""'");
21560 arg4 = (CvMat *)(argp4);
21561 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
21562 if (!SWIG_IsOK(res5)) {
21563 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvDTreeTrainData_set_data" "', argument " "5"" of type '" "CvMat const *""'");
21565 arg5 = (CvMat *)(argp5);
21566 res6 = SWIG_ConvertPtr(args(5), &argp6,SWIGTYPE_p_CvMat, 0 | 0 );
21567 if (!SWIG_IsOK(res6)) {
21568 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "CvDTreeTrainData_set_data" "', argument " "6"" of type '" "CvMat const *""'");
21570 arg6 = (CvMat *)(argp6);
21571 res7 = SWIG_ConvertPtr(args(6), &argp7,SWIGTYPE_p_CvMat, 0 | 0 );
21572 if (!SWIG_IsOK(res7)) {
21573 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "CvDTreeTrainData_set_data" "', argument " "7"" of type '" "CvMat const *""'");
21575 arg7 = (CvMat *)(argp7);
21576 res8 = SWIG_ConvertPtr(args(7), &argp8,SWIGTYPE_p_CvMat, 0 | 0 );
21577 if (!SWIG_IsOK(res8)) {
21578 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CvDTreeTrainData_set_data" "', argument " "8"" of type '" "CvMat const *""'");
21580 arg8 = (CvMat *)(argp8);
21583 (arg1)->set_data((CvMat const *)arg2,arg3,(CvMat const *)arg4,(CvMat const *)arg5,(CvMat const *)arg6,(CvMat const *)arg7,(CvMat const *)arg8);
21590 _outv = octave_value();
21591 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
21597 static octave_value_list _wrap_CvDTreeTrainData_set_data__SWIG_5 (const octave_value_list& args, int nargout) {
21598 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
21599 CvMat *arg2 = (CvMat *) 0 ;
21601 CvMat *arg4 = (CvMat *) 0 ;
21602 CvMat *arg5 = (CvMat *) 0 ;
21603 CvMat *arg6 = (CvMat *) 0 ;
21604 CvMat *arg7 = (CvMat *) 0 ;
21619 octave_value_list _out;
21620 octave_value_list *_outp=&_out;
21621 octave_value _outv;
21623 if (!SWIG_check_num_args("CvDTreeTrainData_set_data",args.length(),7,7,0)) {
21626 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
21627 if (!SWIG_IsOK(res1)) {
21628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_set_data" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
21630 arg1 = (CvDTreeTrainData *)(argp1);
21631 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
21632 if (!SWIG_IsOK(res2)) {
21633 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvDTreeTrainData_set_data" "', argument " "2"" of type '" "CvMat const *""'");
21635 arg2 = (CvMat *)(argp2);
21636 ecode3 = SWIG_AsVal_int(args(2), &val3);
21637 if (!SWIG_IsOK(ecode3)) {
21638 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvDTreeTrainData_set_data" "', argument " "3"" of type '" "int""'");
21640 arg3 = (int)(val3);
21641 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
21642 if (!SWIG_IsOK(res4)) {
21643 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvDTreeTrainData_set_data" "', argument " "4"" of type '" "CvMat const *""'");
21645 arg4 = (CvMat *)(argp4);
21646 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
21647 if (!SWIG_IsOK(res5)) {
21648 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvDTreeTrainData_set_data" "', argument " "5"" of type '" "CvMat const *""'");
21650 arg5 = (CvMat *)(argp5);
21651 res6 = SWIG_ConvertPtr(args(5), &argp6,SWIGTYPE_p_CvMat, 0 | 0 );
21652 if (!SWIG_IsOK(res6)) {
21653 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "CvDTreeTrainData_set_data" "', argument " "6"" of type '" "CvMat const *""'");
21655 arg6 = (CvMat *)(argp6);
21656 res7 = SWIG_ConvertPtr(args(6), &argp7,SWIGTYPE_p_CvMat, 0 | 0 );
21657 if (!SWIG_IsOK(res7)) {
21658 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "CvDTreeTrainData_set_data" "', argument " "7"" of type '" "CvMat const *""'");
21660 arg7 = (CvMat *)(argp7);
21663 (arg1)->set_data((CvMat const *)arg2,arg3,(CvMat const *)arg4,(CvMat const *)arg5,(CvMat const *)arg6,(CvMat const *)arg7);
21670 _outv = octave_value();
21671 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
21677 static octave_value_list _wrap_CvDTreeTrainData_set_data__SWIG_6 (const octave_value_list& args, int nargout) {
21678 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
21679 CvMat *arg2 = (CvMat *) 0 ;
21681 CvMat *arg4 = (CvMat *) 0 ;
21682 CvMat *arg5 = (CvMat *) 0 ;
21683 CvMat *arg6 = (CvMat *) 0 ;
21696 octave_value_list _out;
21697 octave_value_list *_outp=&_out;
21698 octave_value _outv;
21700 if (!SWIG_check_num_args("CvDTreeTrainData_set_data",args.length(),6,6,0)) {
21703 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
21704 if (!SWIG_IsOK(res1)) {
21705 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_set_data" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
21707 arg1 = (CvDTreeTrainData *)(argp1);
21708 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
21709 if (!SWIG_IsOK(res2)) {
21710 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvDTreeTrainData_set_data" "', argument " "2"" of type '" "CvMat const *""'");
21712 arg2 = (CvMat *)(argp2);
21713 ecode3 = SWIG_AsVal_int(args(2), &val3);
21714 if (!SWIG_IsOK(ecode3)) {
21715 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvDTreeTrainData_set_data" "', argument " "3"" of type '" "int""'");
21717 arg3 = (int)(val3);
21718 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
21719 if (!SWIG_IsOK(res4)) {
21720 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvDTreeTrainData_set_data" "', argument " "4"" of type '" "CvMat const *""'");
21722 arg4 = (CvMat *)(argp4);
21723 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
21724 if (!SWIG_IsOK(res5)) {
21725 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvDTreeTrainData_set_data" "', argument " "5"" of type '" "CvMat const *""'");
21727 arg5 = (CvMat *)(argp5);
21728 res6 = SWIG_ConvertPtr(args(5), &argp6,SWIGTYPE_p_CvMat, 0 | 0 );
21729 if (!SWIG_IsOK(res6)) {
21730 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "CvDTreeTrainData_set_data" "', argument " "6"" of type '" "CvMat const *""'");
21732 arg6 = (CvMat *)(argp6);
21735 (arg1)->set_data((CvMat const *)arg2,arg3,(CvMat const *)arg4,(CvMat const *)arg5,(CvMat const *)arg6);
21742 _outv = octave_value();
21743 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
21749 static octave_value_list _wrap_CvDTreeTrainData_set_data__SWIG_7 (const octave_value_list& args, int nargout) {
21750 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
21751 CvMat *arg2 = (CvMat *) 0 ;
21753 CvMat *arg4 = (CvMat *) 0 ;
21754 CvMat *arg5 = (CvMat *) 0 ;
21765 octave_value_list _out;
21766 octave_value_list *_outp=&_out;
21767 octave_value _outv;
21769 if (!SWIG_check_num_args("CvDTreeTrainData_set_data",args.length(),5,5,0)) {
21772 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
21773 if (!SWIG_IsOK(res1)) {
21774 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_set_data" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
21776 arg1 = (CvDTreeTrainData *)(argp1);
21777 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
21778 if (!SWIG_IsOK(res2)) {
21779 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvDTreeTrainData_set_data" "', argument " "2"" of type '" "CvMat const *""'");
21781 arg2 = (CvMat *)(argp2);
21782 ecode3 = SWIG_AsVal_int(args(2), &val3);
21783 if (!SWIG_IsOK(ecode3)) {
21784 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvDTreeTrainData_set_data" "', argument " "3"" of type '" "int""'");
21786 arg3 = (int)(val3);
21787 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
21788 if (!SWIG_IsOK(res4)) {
21789 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvDTreeTrainData_set_data" "', argument " "4"" of type '" "CvMat const *""'");
21791 arg4 = (CvMat *)(argp4);
21792 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
21793 if (!SWIG_IsOK(res5)) {
21794 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvDTreeTrainData_set_data" "', argument " "5"" of type '" "CvMat const *""'");
21796 arg5 = (CvMat *)(argp5);
21799 (arg1)->set_data((CvMat const *)arg2,arg3,(CvMat const *)arg4,(CvMat const *)arg5);
21806 _outv = octave_value();
21807 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
21813 static octave_value_list _wrap_CvDTreeTrainData_set_data__SWIG_8 (const octave_value_list& args, int nargout) {
21814 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
21815 CvMat *arg2 = (CvMat *) 0 ;
21817 CvMat *arg4 = (CvMat *) 0 ;
21826 octave_value_list _out;
21827 octave_value_list *_outp=&_out;
21828 octave_value _outv;
21830 if (!SWIG_check_num_args("CvDTreeTrainData_set_data",args.length(),4,4,0)) {
21833 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
21834 if (!SWIG_IsOK(res1)) {
21835 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_set_data" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
21837 arg1 = (CvDTreeTrainData *)(argp1);
21838 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
21839 if (!SWIG_IsOK(res2)) {
21840 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvDTreeTrainData_set_data" "', argument " "2"" of type '" "CvMat const *""'");
21842 arg2 = (CvMat *)(argp2);
21843 ecode3 = SWIG_AsVal_int(args(2), &val3);
21844 if (!SWIG_IsOK(ecode3)) {
21845 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvDTreeTrainData_set_data" "', argument " "3"" of type '" "int""'");
21847 arg3 = (int)(val3);
21848 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
21849 if (!SWIG_IsOK(res4)) {
21850 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvDTreeTrainData_set_data" "', argument " "4"" of type '" "CvMat const *""'");
21852 arg4 = (CvMat *)(argp4);
21855 (arg1)->set_data((CvMat const *)arg2,arg3,(CvMat const *)arg4);
21862 _outv = octave_value();
21863 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
21869 static octave_value_list _wrap_CvDTreeTrainData_set_data (const octave_value_list& args, int nargout) {
21870 int argc = args.length();
21871 octave_value_ref argv[12]={
21872 octave_value_ref(args,0),octave_value_ref(args,1),octave_value_ref(args,2),octave_value_ref(args,3),octave_value_ref(args,4),octave_value_ref(args,5),octave_value_ref(args,6),octave_value_ref(args,7),octave_value_ref(args,8),octave_value_ref(args,9),octave_value_ref(args,10),octave_value_ref(args,11)
21878 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvDTreeTrainData, 0);
21879 _v = SWIG_CheckState(res);
21882 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
21883 _v = SWIG_CheckState(res);
21886 int res = SWIG_AsVal_int(argv[2], NULL);
21887 _v = SWIG_CheckState(res);
21891 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
21892 _v = SWIG_CheckState(res);
21894 return _wrap_CvDTreeTrainData_set_data__SWIG_8(args, nargout);
21903 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvDTreeTrainData, 0);
21904 _v = SWIG_CheckState(res);
21907 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
21908 _v = SWIG_CheckState(res);
21911 int res = SWIG_AsVal_int(argv[2], NULL);
21912 _v = SWIG_CheckState(res);
21916 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
21917 _v = SWIG_CheckState(res);
21920 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvMat, 0);
21921 _v = SWIG_CheckState(res);
21923 return _wrap_CvDTreeTrainData_set_data__SWIG_7(args, nargout);
21933 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvDTreeTrainData, 0);
21934 _v = SWIG_CheckState(res);
21937 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
21938 _v = SWIG_CheckState(res);
21941 int res = SWIG_AsVal_int(argv[2], NULL);
21942 _v = SWIG_CheckState(res);
21946 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
21947 _v = SWIG_CheckState(res);
21950 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvMat, 0);
21951 _v = SWIG_CheckState(res);
21954 int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_CvMat, 0);
21955 _v = SWIG_CheckState(res);
21957 return _wrap_CvDTreeTrainData_set_data__SWIG_6(args, nargout);
21968 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvDTreeTrainData, 0);
21969 _v = SWIG_CheckState(res);
21972 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
21973 _v = SWIG_CheckState(res);
21976 int res = SWIG_AsVal_int(argv[2], NULL);
21977 _v = SWIG_CheckState(res);
21981 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
21982 _v = SWIG_CheckState(res);
21985 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvMat, 0);
21986 _v = SWIG_CheckState(res);
21989 int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_CvMat, 0);
21990 _v = SWIG_CheckState(res);
21993 int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_CvMat, 0);
21994 _v = SWIG_CheckState(res);
21996 return _wrap_CvDTreeTrainData_set_data__SWIG_5(args, nargout);
22008 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvDTreeTrainData, 0);
22009 _v = SWIG_CheckState(res);
22012 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
22013 _v = SWIG_CheckState(res);
22016 int res = SWIG_AsVal_int(argv[2], NULL);
22017 _v = SWIG_CheckState(res);
22021 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
22022 _v = SWIG_CheckState(res);
22025 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvMat, 0);
22026 _v = SWIG_CheckState(res);
22029 int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_CvMat, 0);
22030 _v = SWIG_CheckState(res);
22033 int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_CvMat, 0);
22034 _v = SWIG_CheckState(res);
22037 int res = SWIG_ConvertPtr(argv[7], &vptr, SWIGTYPE_p_CvMat, 0);
22038 _v = SWIG_CheckState(res);
22040 return _wrap_CvDTreeTrainData_set_data__SWIG_4(args, nargout);
22053 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvDTreeTrainData, 0);
22054 _v = SWIG_CheckState(res);
22057 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
22058 _v = SWIG_CheckState(res);
22061 int res = SWIG_AsVal_int(argv[2], NULL);
22062 _v = SWIG_CheckState(res);
22066 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
22067 _v = SWIG_CheckState(res);
22070 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvMat, 0);
22071 _v = SWIG_CheckState(res);
22074 int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_CvMat, 0);
22075 _v = SWIG_CheckState(res);
22078 int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_CvMat, 0);
22079 _v = SWIG_CheckState(res);
22082 int res = SWIG_ConvertPtr(argv[7], &vptr, SWIGTYPE_p_CvMat, 0);
22083 _v = SWIG_CheckState(res);
22086 int res = SWIG_ConvertPtr(argv[8], &vptr, SWIGTYPE_p_CvDTreeParams, 0);
22087 _v = SWIG_CheckState(res);
22089 return _wrap_CvDTreeTrainData_set_data__SWIG_3(args, nargout);
22103 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvDTreeTrainData, 0);
22104 _v = SWIG_CheckState(res);
22107 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
22108 _v = SWIG_CheckState(res);
22111 int res = SWIG_AsVal_int(argv[2], NULL);
22112 _v = SWIG_CheckState(res);
22116 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
22117 _v = SWIG_CheckState(res);
22120 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvMat, 0);
22121 _v = SWIG_CheckState(res);
22124 int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_CvMat, 0);
22125 _v = SWIG_CheckState(res);
22128 int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_CvMat, 0);
22129 _v = SWIG_CheckState(res);
22132 int res = SWIG_ConvertPtr(argv[7], &vptr, SWIGTYPE_p_CvMat, 0);
22133 _v = SWIG_CheckState(res);
22136 int res = SWIG_ConvertPtr(argv[8], &vptr, SWIGTYPE_p_CvDTreeParams, 0);
22137 _v = SWIG_CheckState(res);
22140 int res = SWIG_AsVal_bool(argv[9], NULL);
22141 _v = SWIG_CheckState(res);
22144 return _wrap_CvDTreeTrainData_set_data__SWIG_2(args, nargout);
22159 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvDTreeTrainData, 0);
22160 _v = SWIG_CheckState(res);
22163 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
22164 _v = SWIG_CheckState(res);
22167 int res = SWIG_AsVal_int(argv[2], NULL);
22168 _v = SWIG_CheckState(res);
22172 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
22173 _v = SWIG_CheckState(res);
22176 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvMat, 0);
22177 _v = SWIG_CheckState(res);
22180 int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_CvMat, 0);
22181 _v = SWIG_CheckState(res);
22184 int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_CvMat, 0);
22185 _v = SWIG_CheckState(res);
22188 int res = SWIG_ConvertPtr(argv[7], &vptr, SWIGTYPE_p_CvMat, 0);
22189 _v = SWIG_CheckState(res);
22192 int res = SWIG_ConvertPtr(argv[8], &vptr, SWIGTYPE_p_CvDTreeParams, 0);
22193 _v = SWIG_CheckState(res);
22196 int res = SWIG_AsVal_bool(argv[9], NULL);
22197 _v = SWIG_CheckState(res);
22201 int res = SWIG_AsVal_bool(argv[10], NULL);
22202 _v = SWIG_CheckState(res);
22205 return _wrap_CvDTreeTrainData_set_data__SWIG_1(args, nargout);
22221 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvDTreeTrainData, 0);
22222 _v = SWIG_CheckState(res);
22225 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
22226 _v = SWIG_CheckState(res);
22229 int res = SWIG_AsVal_int(argv[2], NULL);
22230 _v = SWIG_CheckState(res);
22234 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
22235 _v = SWIG_CheckState(res);
22238 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvMat, 0);
22239 _v = SWIG_CheckState(res);
22242 int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_CvMat, 0);
22243 _v = SWIG_CheckState(res);
22246 int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_CvMat, 0);
22247 _v = SWIG_CheckState(res);
22250 int res = SWIG_ConvertPtr(argv[7], &vptr, SWIGTYPE_p_CvMat, 0);
22251 _v = SWIG_CheckState(res);
22254 int res = SWIG_ConvertPtr(argv[8], &vptr, SWIGTYPE_p_CvDTreeParams, 0);
22255 _v = SWIG_CheckState(res);
22258 int res = SWIG_AsVal_bool(argv[9], NULL);
22259 _v = SWIG_CheckState(res);
22263 int res = SWIG_AsVal_bool(argv[10], NULL);
22264 _v = SWIG_CheckState(res);
22268 int res = SWIG_AsVal_bool(argv[11], NULL);
22269 _v = SWIG_CheckState(res);
22272 return _wrap_CvDTreeTrainData_set_data__SWIG_0(args, nargout);
22287 error("No matching function for overload");
22288 return octave_value_list();
22292 static octave_value_list _wrap_CvDTreeTrainData_do_responses_copy (const octave_value_list& args, int nargout) {
22293 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
22296 octave_value_list _out;
22297 octave_value_list *_outp=&_out;
22298 octave_value _outv;
22300 if (!SWIG_check_num_args("CvDTreeTrainData_do_responses_copy",args.length(),1,1,0)) {
22303 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
22304 if (!SWIG_IsOK(res1)) {
22305 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_do_responses_copy" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
22307 arg1 = (CvDTreeTrainData *)(argp1);
22310 (arg1)->do_responses_copy();
22317 _outv = octave_value();
22318 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
22324 static octave_value_list _wrap_CvDTreeTrainData_get_vectors__SWIG_0 (const octave_value_list& args, int nargout) {
22325 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
22326 CvMat *arg2 = (CvMat *) 0 ;
22327 float *arg3 = (float *) 0 ;
22328 uchar *arg4 = (uchar *) 0 ;
22329 float *arg5 = (float *) 0 ;
22343 octave_value_list _out;
22344 octave_value_list *_outp=&_out;
22345 octave_value _outv;
22347 if (!SWIG_check_num_args("CvDTreeTrainData_get_vectors",args.length(),6,6,0)) {
22350 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
22351 if (!SWIG_IsOK(res1)) {
22352 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_get_vectors" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
22354 arg1 = (CvDTreeTrainData *)(argp1);
22355 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
22356 if (!SWIG_IsOK(res2)) {
22357 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvDTreeTrainData_get_vectors" "', argument " "2"" of type '" "CvMat const *""'");
22359 arg2 = (CvMat *)(argp2);
22360 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_float, 0 | 0 );
22361 if (!SWIG_IsOK(res3)) {
22362 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvDTreeTrainData_get_vectors" "', argument " "3"" of type '" "float *""'");
22364 arg3 = (float *)(argp3);
22365 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_unsigned_char, 0 | 0 );
22366 if (!SWIG_IsOK(res4)) {
22367 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvDTreeTrainData_get_vectors" "', argument " "4"" of type '" "uchar *""'");
22369 arg4 = (uchar *)(argp4);
22370 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_float, 0 | 0 );
22371 if (!SWIG_IsOK(res5)) {
22372 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvDTreeTrainData_get_vectors" "', argument " "5"" of type '" "float *""'");
22374 arg5 = (float *)(argp5);
22375 ecode6 = SWIG_AsVal_bool(args(5), &val6);
22376 if (!SWIG_IsOK(ecode6)) {
22377 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "CvDTreeTrainData_get_vectors" "', argument " "6"" of type '" "bool""'");
22379 arg6 = (bool)(val6);
22382 (arg1)->get_vectors((CvMat const *)arg2,arg3,arg4,arg5,arg6);
22389 _outv = octave_value();
22390 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
22396 static octave_value_list _wrap_CvDTreeTrainData_get_vectors__SWIG_1 (const octave_value_list& args, int nargout) {
22397 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
22398 CvMat *arg2 = (CvMat *) 0 ;
22399 float *arg3 = (float *) 0 ;
22400 uchar *arg4 = (uchar *) 0 ;
22401 float *arg5 = (float *) 0 ;
22412 octave_value_list _out;
22413 octave_value_list *_outp=&_out;
22414 octave_value _outv;
22416 if (!SWIG_check_num_args("CvDTreeTrainData_get_vectors",args.length(),5,5,0)) {
22419 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
22420 if (!SWIG_IsOK(res1)) {
22421 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_get_vectors" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
22423 arg1 = (CvDTreeTrainData *)(argp1);
22424 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
22425 if (!SWIG_IsOK(res2)) {
22426 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvDTreeTrainData_get_vectors" "', argument " "2"" of type '" "CvMat const *""'");
22428 arg2 = (CvMat *)(argp2);
22429 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_float, 0 | 0 );
22430 if (!SWIG_IsOK(res3)) {
22431 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvDTreeTrainData_get_vectors" "', argument " "3"" of type '" "float *""'");
22433 arg3 = (float *)(argp3);
22434 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_unsigned_char, 0 | 0 );
22435 if (!SWIG_IsOK(res4)) {
22436 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvDTreeTrainData_get_vectors" "', argument " "4"" of type '" "uchar *""'");
22438 arg4 = (uchar *)(argp4);
22439 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_float, 0 | 0 );
22440 if (!SWIG_IsOK(res5)) {
22441 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvDTreeTrainData_get_vectors" "', argument " "5"" of type '" "float *""'");
22443 arg5 = (float *)(argp5);
22446 (arg1)->get_vectors((CvMat const *)arg2,arg3,arg4,arg5);
22453 _outv = octave_value();
22454 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
22460 static octave_value_list _wrap_CvDTreeTrainData_get_vectors (const octave_value_list& args, int nargout) {
22461 int argc = args.length();
22462 octave_value_ref argv[6]={
22463 octave_value_ref(args,0),octave_value_ref(args,1),octave_value_ref(args,2),octave_value_ref(args,3),octave_value_ref(args,4),octave_value_ref(args,5)
22469 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvDTreeTrainData, 0);
22470 _v = SWIG_CheckState(res);
22473 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
22474 _v = SWIG_CheckState(res);
22477 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_float, 0);
22478 _v = SWIG_CheckState(res);
22481 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_unsigned_char, 0);
22482 _v = SWIG_CheckState(res);
22485 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_float, 0);
22486 _v = SWIG_CheckState(res);
22488 return _wrap_CvDTreeTrainData_get_vectors__SWIG_1(args, nargout);
22498 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvDTreeTrainData, 0);
22499 _v = SWIG_CheckState(res);
22502 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
22503 _v = SWIG_CheckState(res);
22506 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_float, 0);
22507 _v = SWIG_CheckState(res);
22510 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_unsigned_char, 0);
22511 _v = SWIG_CheckState(res);
22514 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_float, 0);
22515 _v = SWIG_CheckState(res);
22518 int res = SWIG_AsVal_bool(argv[5], NULL);
22519 _v = SWIG_CheckState(res);
22522 return _wrap_CvDTreeTrainData_get_vectors__SWIG_0(args, nargout);
22531 error("No matching function for overload");
22532 return octave_value_list();
22536 static octave_value_list _wrap_CvDTreeTrainData_subsample_data (const octave_value_list& args, int nargout) {
22537 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
22538 CvMat *arg2 = (CvMat *) 0 ;
22543 octave_value_list _out;
22544 octave_value_list *_outp=&_out;
22545 octave_value _outv;
22546 CvDTreeNode *result = 0 ;
22548 if (!SWIG_check_num_args("CvDTreeTrainData_subsample_data",args.length(),2,2,0)) {
22551 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
22552 if (!SWIG_IsOK(res1)) {
22553 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_subsample_data" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
22555 arg1 = (CvDTreeTrainData *)(argp1);
22556 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
22557 if (!SWIG_IsOK(res2)) {
22558 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvDTreeTrainData_subsample_data" "', argument " "2"" of type '" "CvMat const *""'");
22560 arg2 = (CvMat *)(argp2);
22563 result = (CvDTreeNode *)(arg1)->subsample_data((CvMat const *)arg2);
22570 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvDTreeNode, 0 | 0 );
22571 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
22577 static octave_value_list _wrap_CvDTreeTrainData_write_params (const octave_value_list& args, int nargout) {
22578 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
22579 CvFileStorage *arg2 = (CvFileStorage *) 0 ;
22584 octave_value_list _out;
22585 octave_value_list *_outp=&_out;
22586 octave_value _outv;
22588 if (!SWIG_check_num_args("CvDTreeTrainData_write_params",args.length(),2,2,0)) {
22591 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
22592 if (!SWIG_IsOK(res1)) {
22593 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_write_params" "', argument " "1"" of type '" "CvDTreeTrainData const *""'");
22595 arg1 = (CvDTreeTrainData *)(argp1);
22596 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvFileStorage, 0 | 0 );
22597 if (!SWIG_IsOK(res2)) {
22598 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvDTreeTrainData_write_params" "', argument " "2"" of type '" "CvFileStorage *""'");
22600 arg2 = (CvFileStorage *)(argp2);
22603 ((CvDTreeTrainData const *)arg1)->write_params(arg2);
22610 _outv = octave_value();
22611 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
22617 static octave_value_list _wrap_CvDTreeTrainData_read_params (const octave_value_list& args, int nargout) {
22618 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
22619 CvFileStorage *arg2 = (CvFileStorage *) 0 ;
22620 CvFileNode *arg3 = (CvFileNode *) 0 ;
22627 octave_value_list _out;
22628 octave_value_list *_outp=&_out;
22629 octave_value _outv;
22631 if (!SWIG_check_num_args("CvDTreeTrainData_read_params",args.length(),3,3,0)) {
22634 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
22635 if (!SWIG_IsOK(res1)) {
22636 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_read_params" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
22638 arg1 = (CvDTreeTrainData *)(argp1);
22639 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvFileStorage, 0 | 0 );
22640 if (!SWIG_IsOK(res2)) {
22641 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvDTreeTrainData_read_params" "', argument " "2"" of type '" "CvFileStorage *""'");
22643 arg2 = (CvFileStorage *)(argp2);
22644 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvFileNode, 0 | 0 );
22645 if (!SWIG_IsOK(res3)) {
22646 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvDTreeTrainData_read_params" "', argument " "3"" of type '" "CvFileNode *""'");
22648 arg3 = (CvFileNode *)(argp3);
22651 (arg1)->read_params(arg2,arg3);
22658 _outv = octave_value();
22659 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
22665 static octave_value_list _wrap_CvDTreeTrainData_clear (const octave_value_list& args, int nargout) {
22666 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
22669 octave_value_list _out;
22670 octave_value_list *_outp=&_out;
22671 octave_value _outv;
22673 if (!SWIG_check_num_args("CvDTreeTrainData_clear",args.length(),1,1,0)) {
22676 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
22677 if (!SWIG_IsOK(res1)) {
22678 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_clear" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
22680 arg1 = (CvDTreeTrainData *)(argp1);
22690 _outv = octave_value();
22691 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
22697 static octave_value_list _wrap_CvDTreeTrainData_get_num_classes (const octave_value_list& args, int nargout) {
22698 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
22701 octave_value_list _out;
22702 octave_value_list *_outp=&_out;
22703 octave_value _outv;
22706 if (!SWIG_check_num_args("CvDTreeTrainData_get_num_classes",args.length(),1,1,0)) {
22709 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
22710 if (!SWIG_IsOK(res1)) {
22711 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_get_num_classes" "', argument " "1"" of type '" "CvDTreeTrainData const *""'");
22713 arg1 = (CvDTreeTrainData *)(argp1);
22716 result = (int)((CvDTreeTrainData const *)arg1)->get_num_classes();
22723 _outv = SWIG_From_int((int)(result));
22724 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
22730 static octave_value_list _wrap_CvDTreeTrainData_get_var_type (const octave_value_list& args, int nargout) {
22731 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
22737 octave_value_list _out;
22738 octave_value_list *_outp=&_out;
22739 octave_value _outv;
22742 if (!SWIG_check_num_args("CvDTreeTrainData_get_var_type",args.length(),2,2,0)) {
22745 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
22746 if (!SWIG_IsOK(res1)) {
22747 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_get_var_type" "', argument " "1"" of type '" "CvDTreeTrainData const *""'");
22749 arg1 = (CvDTreeTrainData *)(argp1);
22750 ecode2 = SWIG_AsVal_int(args(1), &val2);
22751 if (!SWIG_IsOK(ecode2)) {
22752 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvDTreeTrainData_get_var_type" "', argument " "2"" of type '" "int""'");
22754 arg2 = (int)(val2);
22757 result = (int)((CvDTreeTrainData const *)arg1)->get_var_type(arg2);
22764 _outv = SWIG_From_int((int)(result));
22765 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
22771 static octave_value_list _wrap_CvDTreeTrainData_get_work_var_count (const octave_value_list& args, int nargout) {
22772 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
22775 octave_value_list _out;
22776 octave_value_list *_outp=&_out;
22777 octave_value _outv;
22780 if (!SWIG_check_num_args("CvDTreeTrainData_get_work_var_count",args.length(),1,1,0)) {
22783 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
22784 if (!SWIG_IsOK(res1)) {
22785 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_get_work_var_count" "', argument " "1"" of type '" "CvDTreeTrainData const *""'");
22787 arg1 = (CvDTreeTrainData *)(argp1);
22790 result = (int)((CvDTreeTrainData const *)arg1)->get_work_var_count();
22797 _outv = SWIG_From_int((int)(result));
22798 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
22804 static octave_value_list _wrap_CvDTreeTrainData_get_ord_responses (const octave_value_list& args, int nargout) {
22805 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
22806 CvDTreeNode *arg2 = (CvDTreeNode *) 0 ;
22807 float *arg3 = (float *) 0 ;
22808 float **arg4 = (float **) 0 ;
22817 octave_value_list _out;
22818 octave_value_list *_outp=&_out;
22819 octave_value _outv;
22821 if (!SWIG_check_num_args("CvDTreeTrainData_get_ord_responses",args.length(),4,4,0)) {
22824 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
22825 if (!SWIG_IsOK(res1)) {
22826 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_get_ord_responses" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
22828 arg1 = (CvDTreeTrainData *)(argp1);
22829 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvDTreeNode, 0 | 0 );
22830 if (!SWIG_IsOK(res2)) {
22831 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvDTreeTrainData_get_ord_responses" "', argument " "2"" of type '" "CvDTreeNode *""'");
22833 arg2 = (CvDTreeNode *)(argp2);
22834 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_float, 0 | 0 );
22835 if (!SWIG_IsOK(res3)) {
22836 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvDTreeTrainData_get_ord_responses" "', argument " "3"" of type '" "float *""'");
22838 arg3 = (float *)(argp3);
22840 if ((SWIG_ConvertPtr(args(3), &vptr4, SWIGTYPE_p_float, 1)) == -1){
22843 buffer4 = (float *) vptr4;
22848 (arg1)->get_ord_responses(arg2,arg3,(float const **)arg4);
22855 _outv = octave_value();
22856 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
22862 static octave_value_list _wrap_CvDTreeTrainData_get_class_labels (const octave_value_list& args, int nargout) {
22863 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
22864 CvDTreeNode *arg2 = (CvDTreeNode *) 0 ;
22865 int *arg3 = (int *) 0 ;
22866 int **arg4 = (int **) 0 ;
22875 octave_value_list _out;
22876 octave_value_list *_outp=&_out;
22877 octave_value _outv;
22879 if (!SWIG_check_num_args("CvDTreeTrainData_get_class_labels",args.length(),4,4,0)) {
22882 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
22883 if (!SWIG_IsOK(res1)) {
22884 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_get_class_labels" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
22886 arg1 = (CvDTreeTrainData *)(argp1);
22887 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvDTreeNode, 0 | 0 );
22888 if (!SWIG_IsOK(res2)) {
22889 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvDTreeTrainData_get_class_labels" "', argument " "2"" of type '" "CvDTreeNode *""'");
22891 arg2 = (CvDTreeNode *)(argp2);
22892 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_int, 0 | 0 );
22893 if (!SWIG_IsOK(res3)) {
22894 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvDTreeTrainData_get_class_labels" "', argument " "3"" of type '" "int *""'");
22896 arg3 = (int *)(argp3);
22897 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_p_int, 0 | 0 );
22898 if (!SWIG_IsOK(res4)) {
22899 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvDTreeTrainData_get_class_labels" "', argument " "4"" of type '" "int const **""'");
22901 arg4 = (int **)(argp4);
22904 (arg1)->get_class_labels(arg2,arg3,(int const **)arg4);
22911 _outv = octave_value();
22912 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
22918 static octave_value_list _wrap_CvDTreeTrainData_get_cv_labels (const octave_value_list& args, int nargout) {
22919 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
22920 CvDTreeNode *arg2 = (CvDTreeNode *) 0 ;
22921 int *arg3 = (int *) 0 ;
22922 int **arg4 = (int **) 0 ;
22931 octave_value_list _out;
22932 octave_value_list *_outp=&_out;
22933 octave_value _outv;
22935 if (!SWIG_check_num_args("CvDTreeTrainData_get_cv_labels",args.length(),4,4,0)) {
22938 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
22939 if (!SWIG_IsOK(res1)) {
22940 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_get_cv_labels" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
22942 arg1 = (CvDTreeTrainData *)(argp1);
22943 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvDTreeNode, 0 | 0 );
22944 if (!SWIG_IsOK(res2)) {
22945 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvDTreeTrainData_get_cv_labels" "', argument " "2"" of type '" "CvDTreeNode *""'");
22947 arg2 = (CvDTreeNode *)(argp2);
22948 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_int, 0 | 0 );
22949 if (!SWIG_IsOK(res3)) {
22950 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvDTreeTrainData_get_cv_labels" "', argument " "3"" of type '" "int *""'");
22952 arg3 = (int *)(argp3);
22953 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_p_int, 0 | 0 );
22954 if (!SWIG_IsOK(res4)) {
22955 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvDTreeTrainData_get_cv_labels" "', argument " "4"" of type '" "int const **""'");
22957 arg4 = (int **)(argp4);
22960 (arg1)->get_cv_labels(arg2,arg3,(int const **)arg4);
22967 _outv = octave_value();
22968 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
22974 static octave_value_list _wrap_CvDTreeTrainData_get_sample_indices (const octave_value_list& args, int nargout) {
22975 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
22976 CvDTreeNode *arg2 = (CvDTreeNode *) 0 ;
22977 int *arg3 = (int *) 0 ;
22978 int **arg4 = (int **) 0 ;
22987 octave_value_list _out;
22988 octave_value_list *_outp=&_out;
22989 octave_value _outv;
22991 if (!SWIG_check_num_args("CvDTreeTrainData_get_sample_indices",args.length(),4,4,0)) {
22994 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
22995 if (!SWIG_IsOK(res1)) {
22996 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_get_sample_indices" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
22998 arg1 = (CvDTreeTrainData *)(argp1);
22999 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvDTreeNode, 0 | 0 );
23000 if (!SWIG_IsOK(res2)) {
23001 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvDTreeTrainData_get_sample_indices" "', argument " "2"" of type '" "CvDTreeNode *""'");
23003 arg2 = (CvDTreeNode *)(argp2);
23004 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_int, 0 | 0 );
23005 if (!SWIG_IsOK(res3)) {
23006 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvDTreeTrainData_get_sample_indices" "', argument " "3"" of type '" "int *""'");
23008 arg3 = (int *)(argp3);
23009 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_p_int, 0 | 0 );
23010 if (!SWIG_IsOK(res4)) {
23011 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvDTreeTrainData_get_sample_indices" "', argument " "4"" of type '" "int const **""'");
23013 arg4 = (int **)(argp4);
23016 (arg1)->get_sample_indices(arg2,arg3,(int const **)arg4);
23023 _outv = octave_value();
23024 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
23030 static octave_value_list _wrap_CvDTreeTrainData_get_cat_var_data (const octave_value_list& args, int nargout) {
23031 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
23032 CvDTreeNode *arg2 = (CvDTreeNode *) 0 ;
23034 int *arg4 = (int *) 0 ;
23035 int **arg5 = (int **) 0 ;
23046 octave_value_list _out;
23047 octave_value_list *_outp=&_out;
23048 octave_value _outv;
23051 if (!SWIG_check_num_args("CvDTreeTrainData_get_cat_var_data",args.length(),5,5,0)) {
23054 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
23055 if (!SWIG_IsOK(res1)) {
23056 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_get_cat_var_data" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
23058 arg1 = (CvDTreeTrainData *)(argp1);
23059 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvDTreeNode, 0 | 0 );
23060 if (!SWIG_IsOK(res2)) {
23061 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvDTreeTrainData_get_cat_var_data" "', argument " "2"" of type '" "CvDTreeNode *""'");
23063 arg2 = (CvDTreeNode *)(argp2);
23064 ecode3 = SWIG_AsVal_int(args(2), &val3);
23065 if (!SWIG_IsOK(ecode3)) {
23066 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvDTreeTrainData_get_cat_var_data" "', argument " "3"" of type '" "int""'");
23068 arg3 = (int)(val3);
23069 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_int, 0 | 0 );
23070 if (!SWIG_IsOK(res4)) {
23071 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvDTreeTrainData_get_cat_var_data" "', argument " "4"" of type '" "int *""'");
23073 arg4 = (int *)(argp4);
23074 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_p_int, 0 | 0 );
23075 if (!SWIG_IsOK(res5)) {
23076 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvDTreeTrainData_get_cat_var_data" "', argument " "5"" of type '" "int const **""'");
23078 arg5 = (int **)(argp5);
23081 result = (int)(arg1)->get_cat_var_data(arg2,arg3,arg4,(int const **)arg5);
23088 _outv = SWIG_From_int((int)(result));
23089 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
23095 static octave_value_list _wrap_CvDTreeTrainData_get_ord_var_data (const octave_value_list& args, int nargout) {
23096 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
23097 CvDTreeNode *arg2 = (CvDTreeNode *) 0 ;
23099 float *arg4 = (float *) 0 ;
23100 int *arg5 = (int *) 0 ;
23101 float **arg6 = (float **) 0 ;
23102 int **arg7 = (int **) 0 ;
23117 octave_value_list _out;
23118 octave_value_list *_outp=&_out;
23119 octave_value _outv;
23122 if (!SWIG_check_num_args("CvDTreeTrainData_get_ord_var_data",args.length(),7,7,0)) {
23125 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
23126 if (!SWIG_IsOK(res1)) {
23127 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_get_ord_var_data" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
23129 arg1 = (CvDTreeTrainData *)(argp1);
23130 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvDTreeNode, 0 | 0 );
23131 if (!SWIG_IsOK(res2)) {
23132 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvDTreeTrainData_get_ord_var_data" "', argument " "2"" of type '" "CvDTreeNode *""'");
23134 arg2 = (CvDTreeNode *)(argp2);
23135 ecode3 = SWIG_AsVal_int(args(2), &val3);
23136 if (!SWIG_IsOK(ecode3)) {
23137 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvDTreeTrainData_get_ord_var_data" "', argument " "3"" of type '" "int""'");
23139 arg3 = (int)(val3);
23140 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_float, 0 | 0 );
23141 if (!SWIG_IsOK(res4)) {
23142 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvDTreeTrainData_get_ord_var_data" "', argument " "4"" of type '" "float *""'");
23144 arg4 = (float *)(argp4);
23145 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_int, 0 | 0 );
23146 if (!SWIG_IsOK(res5)) {
23147 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvDTreeTrainData_get_ord_var_data" "', argument " "5"" of type '" "int *""'");
23149 arg5 = (int *)(argp5);
23151 if ((SWIG_ConvertPtr(args(5), &vptr6, SWIGTYPE_p_float, 1)) == -1){
23154 buffer6 = (float *) vptr6;
23157 res7 = SWIG_ConvertPtr(args(6), &argp7,SWIGTYPE_p_p_int, 0 | 0 );
23158 if (!SWIG_IsOK(res7)) {
23159 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "CvDTreeTrainData_get_ord_var_data" "', argument " "7"" of type '" "int const **""'");
23161 arg7 = (int **)(argp7);
23164 result = (int)(arg1)->get_ord_var_data(arg2,arg3,arg4,arg5,(float const **)arg6,(int const **)arg7);
23171 _outv = SWIG_From_int((int)(result));
23172 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
23178 static octave_value_list _wrap_CvDTreeTrainData_get_child_buf_idx (const octave_value_list& args, int nargout) {
23179 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
23180 CvDTreeNode *arg2 = (CvDTreeNode *) 0 ;
23185 octave_value_list _out;
23186 octave_value_list *_outp=&_out;
23187 octave_value _outv;
23190 if (!SWIG_check_num_args("CvDTreeTrainData_get_child_buf_idx",args.length(),2,2,0)) {
23193 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
23194 if (!SWIG_IsOK(res1)) {
23195 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_get_child_buf_idx" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
23197 arg1 = (CvDTreeTrainData *)(argp1);
23198 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvDTreeNode, 0 | 0 );
23199 if (!SWIG_IsOK(res2)) {
23200 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvDTreeTrainData_get_child_buf_idx" "', argument " "2"" of type '" "CvDTreeNode *""'");
23202 arg2 = (CvDTreeNode *)(argp2);
23205 result = (int)(arg1)->get_child_buf_idx(arg2);
23212 _outv = SWIG_From_int((int)(result));
23213 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
23219 static octave_value_list _wrap_CvDTreeTrainData_set_params (const octave_value_list& args, int nargout) {
23220 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
23221 CvDTreeParams *arg2 = 0 ;
23226 octave_value_list _out;
23227 octave_value_list *_outp=&_out;
23228 octave_value _outv;
23231 if (!SWIG_check_num_args("CvDTreeTrainData_set_params",args.length(),2,2,0)) {
23234 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
23235 if (!SWIG_IsOK(res1)) {
23236 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_set_params" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
23238 arg1 = (CvDTreeTrainData *)(argp1);
23239 res2 = SWIG_ConvertPtr(args(1), &argp2, SWIGTYPE_p_CvDTreeParams, 0 );
23240 if (!SWIG_IsOK(res2)) {
23241 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvDTreeTrainData_set_params" "', argument " "2"" of type '" "CvDTreeParams const &""'");
23244 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvDTreeTrainData_set_params" "', argument " "2"" of type '" "CvDTreeParams const &""'");
23246 arg2 = (CvDTreeParams *)(argp2);
23249 result = (bool)(arg1)->set_params((CvDTreeParams const &)*arg2);
23256 _outv = SWIG_From_bool((bool)(result));
23257 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
23263 static octave_value_list _wrap_CvDTreeTrainData_new_node (const octave_value_list& args, int nargout) {
23264 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
23265 CvDTreeNode *arg2 = (CvDTreeNode *) 0 ;
23279 octave_value_list _out;
23280 octave_value_list *_outp=&_out;
23281 octave_value _outv;
23282 CvDTreeNode *result = 0 ;
23284 if (!SWIG_check_num_args("CvDTreeTrainData_new_node",args.length(),5,5,0)) {
23287 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
23288 if (!SWIG_IsOK(res1)) {
23289 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_new_node" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
23291 arg1 = (CvDTreeTrainData *)(argp1);
23292 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvDTreeNode, 0 | 0 );
23293 if (!SWIG_IsOK(res2)) {
23294 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvDTreeTrainData_new_node" "', argument " "2"" of type '" "CvDTreeNode *""'");
23296 arg2 = (CvDTreeNode *)(argp2);
23297 ecode3 = SWIG_AsVal_int(args(2), &val3);
23298 if (!SWIG_IsOK(ecode3)) {
23299 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvDTreeTrainData_new_node" "', argument " "3"" of type '" "int""'");
23301 arg3 = (int)(val3);
23302 ecode4 = SWIG_AsVal_int(args(3), &val4);
23303 if (!SWIG_IsOK(ecode4)) {
23304 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "CvDTreeTrainData_new_node" "', argument " "4"" of type '" "int""'");
23306 arg4 = (int)(val4);
23307 ecode5 = SWIG_AsVal_int(args(4), &val5);
23308 if (!SWIG_IsOK(ecode5)) {
23309 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "CvDTreeTrainData_new_node" "', argument " "5"" of type '" "int""'");
23311 arg5 = (int)(val5);
23314 result = (CvDTreeNode *)(arg1)->new_node(arg2,arg3,arg4,arg5);
23321 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvDTreeNode, 0 | 0 );
23322 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
23328 static octave_value_list _wrap_CvDTreeTrainData_new_split_ord (const octave_value_list& args, int nargout) {
23329 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
23347 octave_value_list _out;
23348 octave_value_list *_outp=&_out;
23349 octave_value _outv;
23350 CvDTreeSplit *result = 0 ;
23352 if (!SWIG_check_num_args("CvDTreeTrainData_new_split_ord",args.length(),6,6,0)) {
23355 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
23356 if (!SWIG_IsOK(res1)) {
23357 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_new_split_ord" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
23359 arg1 = (CvDTreeTrainData *)(argp1);
23360 ecode2 = SWIG_AsVal_int(args(1), &val2);
23361 if (!SWIG_IsOK(ecode2)) {
23362 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvDTreeTrainData_new_split_ord" "', argument " "2"" of type '" "int""'");
23364 arg2 = (int)(val2);
23365 ecode3 = SWIG_AsVal_float(args(2), &val3);
23366 if (!SWIG_IsOK(ecode3)) {
23367 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvDTreeTrainData_new_split_ord" "', argument " "3"" of type '" "float""'");
23369 arg3 = (float)(val3);
23370 ecode4 = SWIG_AsVal_int(args(3), &val4);
23371 if (!SWIG_IsOK(ecode4)) {
23372 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "CvDTreeTrainData_new_split_ord" "', argument " "4"" of type '" "int""'");
23374 arg4 = (int)(val4);
23375 ecode5 = SWIG_AsVal_int(args(4), &val5);
23376 if (!SWIG_IsOK(ecode5)) {
23377 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "CvDTreeTrainData_new_split_ord" "', argument " "5"" of type '" "int""'");
23379 arg5 = (int)(val5);
23380 ecode6 = SWIG_AsVal_float(args(5), &val6);
23381 if (!SWIG_IsOK(ecode6)) {
23382 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "CvDTreeTrainData_new_split_ord" "', argument " "6"" of type '" "float""'");
23384 arg6 = (float)(val6);
23387 result = (CvDTreeSplit *)(arg1)->new_split_ord(arg2,arg3,arg4,arg5,arg6);
23394 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvDTreeSplit, 0 | 0 );
23395 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
23401 static octave_value_list _wrap_CvDTreeTrainData_new_split_cat (const octave_value_list& args, int nargout) {
23402 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
23411 octave_value_list _out;
23412 octave_value_list *_outp=&_out;
23413 octave_value _outv;
23414 CvDTreeSplit *result = 0 ;
23416 if (!SWIG_check_num_args("CvDTreeTrainData_new_split_cat",args.length(),3,3,0)) {
23419 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
23420 if (!SWIG_IsOK(res1)) {
23421 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_new_split_cat" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
23423 arg1 = (CvDTreeTrainData *)(argp1);
23424 ecode2 = SWIG_AsVal_int(args(1), &val2);
23425 if (!SWIG_IsOK(ecode2)) {
23426 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvDTreeTrainData_new_split_cat" "', argument " "2"" of type '" "int""'");
23428 arg2 = (int)(val2);
23429 ecode3 = SWIG_AsVal_float(args(2), &val3);
23430 if (!SWIG_IsOK(ecode3)) {
23431 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvDTreeTrainData_new_split_cat" "', argument " "3"" of type '" "float""'");
23433 arg3 = (float)(val3);
23436 result = (CvDTreeSplit *)(arg1)->new_split_cat(arg2,arg3);
23443 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvDTreeSplit, 0 | 0 );
23444 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
23450 static octave_value_list _wrap_CvDTreeTrainData_free_node_data (const octave_value_list& args, int nargout) {
23451 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
23452 CvDTreeNode *arg2 = (CvDTreeNode *) 0 ;
23457 octave_value_list _out;
23458 octave_value_list *_outp=&_out;
23459 octave_value _outv;
23461 if (!SWIG_check_num_args("CvDTreeTrainData_free_node_data",args.length(),2,2,0)) {
23464 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
23465 if (!SWIG_IsOK(res1)) {
23466 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_free_node_data" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
23468 arg1 = (CvDTreeTrainData *)(argp1);
23469 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvDTreeNode, 0 | 0 );
23470 if (!SWIG_IsOK(res2)) {
23471 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvDTreeTrainData_free_node_data" "', argument " "2"" of type '" "CvDTreeNode *""'");
23473 arg2 = (CvDTreeNode *)(argp2);
23476 (arg1)->free_node_data(arg2);
23483 _outv = octave_value();
23484 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
23490 static octave_value_list _wrap_CvDTreeTrainData_free_train_data (const octave_value_list& args, int nargout) {
23491 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
23494 octave_value_list _out;
23495 octave_value_list *_outp=&_out;
23496 octave_value _outv;
23498 if (!SWIG_check_num_args("CvDTreeTrainData_free_train_data",args.length(),1,1,0)) {
23501 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
23502 if (!SWIG_IsOK(res1)) {
23503 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_free_train_data" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
23505 arg1 = (CvDTreeTrainData *)(argp1);
23508 (arg1)->free_train_data();
23515 _outv = octave_value();
23516 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
23522 static octave_value_list _wrap_CvDTreeTrainData_free_node (const octave_value_list& args, int nargout) {
23523 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
23524 CvDTreeNode *arg2 = (CvDTreeNode *) 0 ;
23529 octave_value_list _out;
23530 octave_value_list *_outp=&_out;
23531 octave_value _outv;
23533 if (!SWIG_check_num_args("CvDTreeTrainData_free_node",args.length(),2,2,0)) {
23536 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
23537 if (!SWIG_IsOK(res1)) {
23538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_free_node" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
23540 arg1 = (CvDTreeTrainData *)(argp1);
23541 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvDTreeNode, 0 | 0 );
23542 if (!SWIG_IsOK(res2)) {
23543 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvDTreeTrainData_free_node" "', argument " "2"" of type '" "CvDTreeNode *""'");
23545 arg2 = (CvDTreeNode *)(argp2);
23548 (arg1)->free_node(arg2);
23555 _outv = octave_value();
23556 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
23562 static octave_value_list _wrap_CvDTreeTrainData_get_pred_float_buf (const octave_value_list& args, int nargout) {
23563 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
23566 octave_value_list _out;
23567 octave_value_list *_outp=&_out;
23568 octave_value _outv;
23569 float *result = 0 ;
23571 if (!SWIG_check_num_args("CvDTreeTrainData_get_pred_float_buf",args.length(),1,1,0)) {
23574 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
23575 if (!SWIG_IsOK(res1)) {
23576 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_get_pred_float_buf" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
23578 arg1 = (CvDTreeTrainData *)(argp1);
23581 result = (float *)(arg1)->get_pred_float_buf();
23588 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 );
23589 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
23595 static octave_value_list _wrap_CvDTreeTrainData_get_pred_int_buf (const octave_value_list& args, int nargout) {
23596 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
23599 octave_value_list _out;
23600 octave_value_list *_outp=&_out;
23601 octave_value _outv;
23604 if (!SWIG_check_num_args("CvDTreeTrainData_get_pred_int_buf",args.length(),1,1,0)) {
23607 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
23608 if (!SWIG_IsOK(res1)) {
23609 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_get_pred_int_buf" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
23611 arg1 = (CvDTreeTrainData *)(argp1);
23614 result = (int *)(arg1)->get_pred_int_buf();
23621 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0 );
23622 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
23628 static octave_value_list _wrap_CvDTreeTrainData_get_resp_float_buf (const octave_value_list& args, int nargout) {
23629 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
23632 octave_value_list _out;
23633 octave_value_list *_outp=&_out;
23634 octave_value _outv;
23635 float *result = 0 ;
23637 if (!SWIG_check_num_args("CvDTreeTrainData_get_resp_float_buf",args.length(),1,1,0)) {
23640 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
23641 if (!SWIG_IsOK(res1)) {
23642 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_get_resp_float_buf" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
23644 arg1 = (CvDTreeTrainData *)(argp1);
23647 result = (float *)(arg1)->get_resp_float_buf();
23654 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 );
23655 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
23661 static octave_value_list _wrap_CvDTreeTrainData_get_resp_int_buf (const octave_value_list& args, int nargout) {
23662 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
23665 octave_value_list _out;
23666 octave_value_list *_outp=&_out;
23667 octave_value _outv;
23670 if (!SWIG_check_num_args("CvDTreeTrainData_get_resp_int_buf",args.length(),1,1,0)) {
23673 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
23674 if (!SWIG_IsOK(res1)) {
23675 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_get_resp_int_buf" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
23677 arg1 = (CvDTreeTrainData *)(argp1);
23680 result = (int *)(arg1)->get_resp_int_buf();
23687 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0 );
23688 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
23694 static octave_value_list _wrap_CvDTreeTrainData_get_cv_lables_buf (const octave_value_list& args, int nargout) {
23695 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
23698 octave_value_list _out;
23699 octave_value_list *_outp=&_out;
23700 octave_value _outv;
23703 if (!SWIG_check_num_args("CvDTreeTrainData_get_cv_lables_buf",args.length(),1,1,0)) {
23706 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
23707 if (!SWIG_IsOK(res1)) {
23708 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_get_cv_lables_buf" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
23710 arg1 = (CvDTreeTrainData *)(argp1);
23713 result = (int *)(arg1)->get_cv_lables_buf();
23720 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0 );
23721 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
23727 static octave_value_list _wrap_CvDTreeTrainData_get_sample_idx_buf (const octave_value_list& args, int nargout) {
23728 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
23731 octave_value_list _out;
23732 octave_value_list *_outp=&_out;
23733 octave_value _outv;
23736 if (!SWIG_check_num_args("CvDTreeTrainData_get_sample_idx_buf",args.length(),1,1,0)) {
23739 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
23740 if (!SWIG_IsOK(res1)) {
23741 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_get_sample_idx_buf" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
23743 arg1 = (CvDTreeTrainData *)(argp1);
23746 result = (int *)(arg1)->get_sample_idx_buf();
23753 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0 );
23754 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
23760 static octave_value_list _wrap_CvDTreeTrainData_pred_float_buf_set (const octave_value_list& args, int nargout) {
23761 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
23762 vector< vector< float > > arg2 ;
23767 octave_value_list _out;
23768 octave_value_list *_outp=&_out;
23769 octave_value _outv;
23771 if (!SWIG_check_num_args("CvDTreeTrainData_pred_float_buf_set",args.length(),2,2,0)) {
23774 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
23775 if (!SWIG_IsOK(res1)) {
23776 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_pred_float_buf_set" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
23778 arg1 = (CvDTreeTrainData *)(argp1);
23780 res2 = SWIG_ConvertPtr(args(1), &argp2, SWIGTYPE_p_vectorT_vectorT_float_t_t, 0 );
23781 if (!SWIG_IsOK(res2)) {
23782 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvDTreeTrainData_pred_float_buf_set" "', argument " "2"" of type '" "vector< vector< float > >""'");
23785 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvDTreeTrainData_pred_float_buf_set" "', argument " "2"" of type '" "vector< vector< float > >""'");
23787 arg2 = *((vector< vector< float > > *)(argp2));
23790 if (arg1) (arg1)->pred_float_buf = arg2;
23791 _outv = octave_value();
23792 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
23798 static octave_value_list _wrap_CvDTreeTrainData_pred_float_buf_get (const octave_value_list& args, int nargout) {
23799 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
23802 octave_value_list _out;
23803 octave_value_list *_outp=&_out;
23804 octave_value _outv;
23805 vector< vector< float > > result;
23807 if (!SWIG_check_num_args("CvDTreeTrainData_pred_float_buf_get",args.length(),1,1,0)) {
23810 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
23811 if (!SWIG_IsOK(res1)) {
23812 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_pred_float_buf_get" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
23814 arg1 = (CvDTreeTrainData *)(argp1);
23815 result = ((arg1)->pred_float_buf);
23816 _outv = SWIG_NewPointerObj((new vector< vector< float > >((const vector< vector< float > >&)(result))), SWIGTYPE_p_vectorT_vectorT_float_t_t, SWIG_POINTER_OWN | 0 );
23817 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
23823 static octave_value_list _wrap_CvDTreeTrainData_pred_int_buf_set (const octave_value_list& args, int nargout) {
23824 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
23825 vector< vector< int > > arg2 ;
23830 octave_value_list _out;
23831 octave_value_list *_outp=&_out;
23832 octave_value _outv;
23834 if (!SWIG_check_num_args("CvDTreeTrainData_pred_int_buf_set",args.length(),2,2,0)) {
23837 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
23838 if (!SWIG_IsOK(res1)) {
23839 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_pred_int_buf_set" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
23841 arg1 = (CvDTreeTrainData *)(argp1);
23843 res2 = SWIG_ConvertPtr(args(1), &argp2, SWIGTYPE_p_vectorT_vectorT_int_t_t, 0 );
23844 if (!SWIG_IsOK(res2)) {
23845 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvDTreeTrainData_pred_int_buf_set" "', argument " "2"" of type '" "vector< vector< int > >""'");
23848 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvDTreeTrainData_pred_int_buf_set" "', argument " "2"" of type '" "vector< vector< int > >""'");
23850 arg2 = *((vector< vector< int > > *)(argp2));
23853 if (arg1) (arg1)->pred_int_buf = arg2;
23854 _outv = octave_value();
23855 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
23861 static octave_value_list _wrap_CvDTreeTrainData_pred_int_buf_get (const octave_value_list& args, int nargout) {
23862 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
23865 octave_value_list _out;
23866 octave_value_list *_outp=&_out;
23867 octave_value _outv;
23868 vector< vector< int > > result;
23870 if (!SWIG_check_num_args("CvDTreeTrainData_pred_int_buf_get",args.length(),1,1,0)) {
23873 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
23874 if (!SWIG_IsOK(res1)) {
23875 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_pred_int_buf_get" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
23877 arg1 = (CvDTreeTrainData *)(argp1);
23878 result = ((arg1)->pred_int_buf);
23879 _outv = SWIG_NewPointerObj((new vector< vector< int > >((const vector< vector< int > >&)(result))), SWIGTYPE_p_vectorT_vectorT_int_t_t, SWIG_POINTER_OWN | 0 );
23880 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
23886 static octave_value_list _wrap_CvDTreeTrainData_resp_float_buf_set (const octave_value_list& args, int nargout) {
23887 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
23888 vector< vector< float > > arg2 ;
23893 octave_value_list _out;
23894 octave_value_list *_outp=&_out;
23895 octave_value _outv;
23897 if (!SWIG_check_num_args("CvDTreeTrainData_resp_float_buf_set",args.length(),2,2,0)) {
23900 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
23901 if (!SWIG_IsOK(res1)) {
23902 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_resp_float_buf_set" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
23904 arg1 = (CvDTreeTrainData *)(argp1);
23906 res2 = SWIG_ConvertPtr(args(1), &argp2, SWIGTYPE_p_vectorT_vectorT_float_t_t, 0 );
23907 if (!SWIG_IsOK(res2)) {
23908 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvDTreeTrainData_resp_float_buf_set" "', argument " "2"" of type '" "vector< vector< float > >""'");
23911 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvDTreeTrainData_resp_float_buf_set" "', argument " "2"" of type '" "vector< vector< float > >""'");
23913 arg2 = *((vector< vector< float > > *)(argp2));
23916 if (arg1) (arg1)->resp_float_buf = arg2;
23917 _outv = octave_value();
23918 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
23924 static octave_value_list _wrap_CvDTreeTrainData_resp_float_buf_get (const octave_value_list& args, int nargout) {
23925 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
23928 octave_value_list _out;
23929 octave_value_list *_outp=&_out;
23930 octave_value _outv;
23931 vector< vector< float > > result;
23933 if (!SWIG_check_num_args("CvDTreeTrainData_resp_float_buf_get",args.length(),1,1,0)) {
23936 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
23937 if (!SWIG_IsOK(res1)) {
23938 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_resp_float_buf_get" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
23940 arg1 = (CvDTreeTrainData *)(argp1);
23941 result = ((arg1)->resp_float_buf);
23942 _outv = SWIG_NewPointerObj((new vector< vector< float > >((const vector< vector< float > >&)(result))), SWIGTYPE_p_vectorT_vectorT_float_t_t, SWIG_POINTER_OWN | 0 );
23943 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
23949 static octave_value_list _wrap_CvDTreeTrainData_resp_int_buf_set (const octave_value_list& args, int nargout) {
23950 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
23951 vector< vector< int > > arg2 ;
23956 octave_value_list _out;
23957 octave_value_list *_outp=&_out;
23958 octave_value _outv;
23960 if (!SWIG_check_num_args("CvDTreeTrainData_resp_int_buf_set",args.length(),2,2,0)) {
23963 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
23964 if (!SWIG_IsOK(res1)) {
23965 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_resp_int_buf_set" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
23967 arg1 = (CvDTreeTrainData *)(argp1);
23969 res2 = SWIG_ConvertPtr(args(1), &argp2, SWIGTYPE_p_vectorT_vectorT_int_t_t, 0 );
23970 if (!SWIG_IsOK(res2)) {
23971 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvDTreeTrainData_resp_int_buf_set" "', argument " "2"" of type '" "vector< vector< int > >""'");
23974 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvDTreeTrainData_resp_int_buf_set" "', argument " "2"" of type '" "vector< vector< int > >""'");
23976 arg2 = *((vector< vector< int > > *)(argp2));
23979 if (arg1) (arg1)->resp_int_buf = arg2;
23980 _outv = octave_value();
23981 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
23987 static octave_value_list _wrap_CvDTreeTrainData_resp_int_buf_get (const octave_value_list& args, int nargout) {
23988 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
23991 octave_value_list _out;
23992 octave_value_list *_outp=&_out;
23993 octave_value _outv;
23994 vector< vector< int > > result;
23996 if (!SWIG_check_num_args("CvDTreeTrainData_resp_int_buf_get",args.length(),1,1,0)) {
23999 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
24000 if (!SWIG_IsOK(res1)) {
24001 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_resp_int_buf_get" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
24003 arg1 = (CvDTreeTrainData *)(argp1);
24004 result = ((arg1)->resp_int_buf);
24005 _outv = SWIG_NewPointerObj((new vector< vector< int > >((const vector< vector< int > >&)(result))), SWIGTYPE_p_vectorT_vectorT_int_t_t, SWIG_POINTER_OWN | 0 );
24006 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24012 static octave_value_list _wrap_CvDTreeTrainData_cv_lables_buf_set (const octave_value_list& args, int nargout) {
24013 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
24014 vector< vector< int > > arg2 ;
24019 octave_value_list _out;
24020 octave_value_list *_outp=&_out;
24021 octave_value _outv;
24023 if (!SWIG_check_num_args("CvDTreeTrainData_cv_lables_buf_set",args.length(),2,2,0)) {
24026 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
24027 if (!SWIG_IsOK(res1)) {
24028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_cv_lables_buf_set" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
24030 arg1 = (CvDTreeTrainData *)(argp1);
24032 res2 = SWIG_ConvertPtr(args(1), &argp2, SWIGTYPE_p_vectorT_vectorT_int_t_t, 0 );
24033 if (!SWIG_IsOK(res2)) {
24034 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvDTreeTrainData_cv_lables_buf_set" "', argument " "2"" of type '" "vector< vector< int > >""'");
24037 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvDTreeTrainData_cv_lables_buf_set" "', argument " "2"" of type '" "vector< vector< int > >""'");
24039 arg2 = *((vector< vector< int > > *)(argp2));
24042 if (arg1) (arg1)->cv_lables_buf = arg2;
24043 _outv = octave_value();
24044 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24050 static octave_value_list _wrap_CvDTreeTrainData_cv_lables_buf_get (const octave_value_list& args, int nargout) {
24051 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
24054 octave_value_list _out;
24055 octave_value_list *_outp=&_out;
24056 octave_value _outv;
24057 vector< vector< int > > result;
24059 if (!SWIG_check_num_args("CvDTreeTrainData_cv_lables_buf_get",args.length(),1,1,0)) {
24062 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
24063 if (!SWIG_IsOK(res1)) {
24064 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_cv_lables_buf_get" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
24066 arg1 = (CvDTreeTrainData *)(argp1);
24067 result = ((arg1)->cv_lables_buf);
24068 _outv = SWIG_NewPointerObj((new vector< vector< int > >((const vector< vector< int > >&)(result))), SWIGTYPE_p_vectorT_vectorT_int_t_t, SWIG_POINTER_OWN | 0 );
24069 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24075 static octave_value_list _wrap_CvDTreeTrainData_sample_idx_buf_set (const octave_value_list& args, int nargout) {
24076 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
24077 vector< vector< int > > arg2 ;
24082 octave_value_list _out;
24083 octave_value_list *_outp=&_out;
24084 octave_value _outv;
24086 if (!SWIG_check_num_args("CvDTreeTrainData_sample_idx_buf_set",args.length(),2,2,0)) {
24089 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
24090 if (!SWIG_IsOK(res1)) {
24091 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_sample_idx_buf_set" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
24093 arg1 = (CvDTreeTrainData *)(argp1);
24095 res2 = SWIG_ConvertPtr(args(1), &argp2, SWIGTYPE_p_vectorT_vectorT_int_t_t, 0 );
24096 if (!SWIG_IsOK(res2)) {
24097 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvDTreeTrainData_sample_idx_buf_set" "', argument " "2"" of type '" "vector< vector< int > >""'");
24100 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvDTreeTrainData_sample_idx_buf_set" "', argument " "2"" of type '" "vector< vector< int > >""'");
24102 arg2 = *((vector< vector< int > > *)(argp2));
24105 if (arg1) (arg1)->sample_idx_buf = arg2;
24106 _outv = octave_value();
24107 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24113 static octave_value_list _wrap_CvDTreeTrainData_sample_idx_buf_get (const octave_value_list& args, int nargout) {
24114 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
24117 octave_value_list _out;
24118 octave_value_list *_outp=&_out;
24119 octave_value _outv;
24120 vector< vector< int > > result;
24122 if (!SWIG_check_num_args("CvDTreeTrainData_sample_idx_buf_get",args.length(),1,1,0)) {
24125 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
24126 if (!SWIG_IsOK(res1)) {
24127 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_sample_idx_buf_get" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
24129 arg1 = (CvDTreeTrainData *)(argp1);
24130 result = ((arg1)->sample_idx_buf);
24131 _outv = SWIG_NewPointerObj((new vector< vector< int > >((const vector< vector< int > >&)(result))), SWIGTYPE_p_vectorT_vectorT_int_t_t, SWIG_POINTER_OWN | 0 );
24132 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24138 static octave_value_list _wrap_CvDTreeTrainData_sample_count_set (const octave_value_list& args, int nargout) {
24139 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
24145 octave_value_list _out;
24146 octave_value_list *_outp=&_out;
24147 octave_value _outv;
24149 if (!SWIG_check_num_args("CvDTreeTrainData_sample_count_set",args.length(),2,2,0)) {
24152 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
24153 if (!SWIG_IsOK(res1)) {
24154 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_sample_count_set" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
24156 arg1 = (CvDTreeTrainData *)(argp1);
24157 ecode2 = SWIG_AsVal_int(args(1), &val2);
24158 if (!SWIG_IsOK(ecode2)) {
24159 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvDTreeTrainData_sample_count_set" "', argument " "2"" of type '" "int""'");
24161 arg2 = (int)(val2);
24162 if (arg1) (arg1)->sample_count = arg2;
24163 _outv = octave_value();
24164 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24170 static octave_value_list _wrap_CvDTreeTrainData_sample_count_get (const octave_value_list& args, int nargout) {
24171 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
24174 octave_value_list _out;
24175 octave_value_list *_outp=&_out;
24176 octave_value _outv;
24179 if (!SWIG_check_num_args("CvDTreeTrainData_sample_count_get",args.length(),1,1,0)) {
24182 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
24183 if (!SWIG_IsOK(res1)) {
24184 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_sample_count_get" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
24186 arg1 = (CvDTreeTrainData *)(argp1);
24187 result = (int) ((arg1)->sample_count);
24188 _outv = SWIG_From_int((int)(result));
24189 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24195 static octave_value_list _wrap_CvDTreeTrainData_var_all_set (const octave_value_list& args, int nargout) {
24196 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
24202 octave_value_list _out;
24203 octave_value_list *_outp=&_out;
24204 octave_value _outv;
24206 if (!SWIG_check_num_args("CvDTreeTrainData_var_all_set",args.length(),2,2,0)) {
24209 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
24210 if (!SWIG_IsOK(res1)) {
24211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_var_all_set" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
24213 arg1 = (CvDTreeTrainData *)(argp1);
24214 ecode2 = SWIG_AsVal_int(args(1), &val2);
24215 if (!SWIG_IsOK(ecode2)) {
24216 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvDTreeTrainData_var_all_set" "', argument " "2"" of type '" "int""'");
24218 arg2 = (int)(val2);
24219 if (arg1) (arg1)->var_all = arg2;
24220 _outv = octave_value();
24221 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24227 static octave_value_list _wrap_CvDTreeTrainData_var_all_get (const octave_value_list& args, int nargout) {
24228 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
24231 octave_value_list _out;
24232 octave_value_list *_outp=&_out;
24233 octave_value _outv;
24236 if (!SWIG_check_num_args("CvDTreeTrainData_var_all_get",args.length(),1,1,0)) {
24239 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
24240 if (!SWIG_IsOK(res1)) {
24241 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_var_all_get" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
24243 arg1 = (CvDTreeTrainData *)(argp1);
24244 result = (int) ((arg1)->var_all);
24245 _outv = SWIG_From_int((int)(result));
24246 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24252 static octave_value_list _wrap_CvDTreeTrainData_var_count_set (const octave_value_list& args, int nargout) {
24253 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
24259 octave_value_list _out;
24260 octave_value_list *_outp=&_out;
24261 octave_value _outv;
24263 if (!SWIG_check_num_args("CvDTreeTrainData_var_count_set",args.length(),2,2,0)) {
24266 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
24267 if (!SWIG_IsOK(res1)) {
24268 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_var_count_set" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
24270 arg1 = (CvDTreeTrainData *)(argp1);
24271 ecode2 = SWIG_AsVal_int(args(1), &val2);
24272 if (!SWIG_IsOK(ecode2)) {
24273 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvDTreeTrainData_var_count_set" "', argument " "2"" of type '" "int""'");
24275 arg2 = (int)(val2);
24276 if (arg1) (arg1)->var_count = arg2;
24277 _outv = octave_value();
24278 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24284 static octave_value_list _wrap_CvDTreeTrainData_var_count_get (const octave_value_list& args, int nargout) {
24285 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
24288 octave_value_list _out;
24289 octave_value_list *_outp=&_out;
24290 octave_value _outv;
24293 if (!SWIG_check_num_args("CvDTreeTrainData_var_count_get",args.length(),1,1,0)) {
24296 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
24297 if (!SWIG_IsOK(res1)) {
24298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_var_count_get" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
24300 arg1 = (CvDTreeTrainData *)(argp1);
24301 result = (int) ((arg1)->var_count);
24302 _outv = SWIG_From_int((int)(result));
24303 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24309 static octave_value_list _wrap_CvDTreeTrainData_max_c_count_set (const octave_value_list& args, int nargout) {
24310 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
24316 octave_value_list _out;
24317 octave_value_list *_outp=&_out;
24318 octave_value _outv;
24320 if (!SWIG_check_num_args("CvDTreeTrainData_max_c_count_set",args.length(),2,2,0)) {
24323 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
24324 if (!SWIG_IsOK(res1)) {
24325 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_max_c_count_set" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
24327 arg1 = (CvDTreeTrainData *)(argp1);
24328 ecode2 = SWIG_AsVal_int(args(1), &val2);
24329 if (!SWIG_IsOK(ecode2)) {
24330 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvDTreeTrainData_max_c_count_set" "', argument " "2"" of type '" "int""'");
24332 arg2 = (int)(val2);
24333 if (arg1) (arg1)->max_c_count = arg2;
24334 _outv = octave_value();
24335 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24341 static octave_value_list _wrap_CvDTreeTrainData_max_c_count_get (const octave_value_list& args, int nargout) {
24342 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
24345 octave_value_list _out;
24346 octave_value_list *_outp=&_out;
24347 octave_value _outv;
24350 if (!SWIG_check_num_args("CvDTreeTrainData_max_c_count_get",args.length(),1,1,0)) {
24353 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
24354 if (!SWIG_IsOK(res1)) {
24355 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_max_c_count_get" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
24357 arg1 = (CvDTreeTrainData *)(argp1);
24358 result = (int) ((arg1)->max_c_count);
24359 _outv = SWIG_From_int((int)(result));
24360 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24366 static octave_value_list _wrap_CvDTreeTrainData_ord_var_count_set (const octave_value_list& args, int nargout) {
24367 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
24373 octave_value_list _out;
24374 octave_value_list *_outp=&_out;
24375 octave_value _outv;
24377 if (!SWIG_check_num_args("CvDTreeTrainData_ord_var_count_set",args.length(),2,2,0)) {
24380 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
24381 if (!SWIG_IsOK(res1)) {
24382 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_ord_var_count_set" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
24384 arg1 = (CvDTreeTrainData *)(argp1);
24385 ecode2 = SWIG_AsVal_int(args(1), &val2);
24386 if (!SWIG_IsOK(ecode2)) {
24387 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvDTreeTrainData_ord_var_count_set" "', argument " "2"" of type '" "int""'");
24389 arg2 = (int)(val2);
24390 if (arg1) (arg1)->ord_var_count = arg2;
24391 _outv = octave_value();
24392 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24398 static octave_value_list _wrap_CvDTreeTrainData_ord_var_count_get (const octave_value_list& args, int nargout) {
24399 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
24402 octave_value_list _out;
24403 octave_value_list *_outp=&_out;
24404 octave_value _outv;
24407 if (!SWIG_check_num_args("CvDTreeTrainData_ord_var_count_get",args.length(),1,1,0)) {
24410 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
24411 if (!SWIG_IsOK(res1)) {
24412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_ord_var_count_get" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
24414 arg1 = (CvDTreeTrainData *)(argp1);
24415 result = (int) ((arg1)->ord_var_count);
24416 _outv = SWIG_From_int((int)(result));
24417 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24423 static octave_value_list _wrap_CvDTreeTrainData_cat_var_count_set (const octave_value_list& args, int nargout) {
24424 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
24430 octave_value_list _out;
24431 octave_value_list *_outp=&_out;
24432 octave_value _outv;
24434 if (!SWIG_check_num_args("CvDTreeTrainData_cat_var_count_set",args.length(),2,2,0)) {
24437 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
24438 if (!SWIG_IsOK(res1)) {
24439 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_cat_var_count_set" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
24441 arg1 = (CvDTreeTrainData *)(argp1);
24442 ecode2 = SWIG_AsVal_int(args(1), &val2);
24443 if (!SWIG_IsOK(ecode2)) {
24444 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvDTreeTrainData_cat_var_count_set" "', argument " "2"" of type '" "int""'");
24446 arg2 = (int)(val2);
24447 if (arg1) (arg1)->cat_var_count = arg2;
24448 _outv = octave_value();
24449 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24455 static octave_value_list _wrap_CvDTreeTrainData_cat_var_count_get (const octave_value_list& args, int nargout) {
24456 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
24459 octave_value_list _out;
24460 octave_value_list *_outp=&_out;
24461 octave_value _outv;
24464 if (!SWIG_check_num_args("CvDTreeTrainData_cat_var_count_get",args.length(),1,1,0)) {
24467 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
24468 if (!SWIG_IsOK(res1)) {
24469 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_cat_var_count_get" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
24471 arg1 = (CvDTreeTrainData *)(argp1);
24472 result = (int) ((arg1)->cat_var_count);
24473 _outv = SWIG_From_int((int)(result));
24474 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24480 static octave_value_list _wrap_CvDTreeTrainData_work_var_count_set (const octave_value_list& args, int nargout) {
24481 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
24487 octave_value_list _out;
24488 octave_value_list *_outp=&_out;
24489 octave_value _outv;
24491 if (!SWIG_check_num_args("CvDTreeTrainData_work_var_count_set",args.length(),2,2,0)) {
24494 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
24495 if (!SWIG_IsOK(res1)) {
24496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_work_var_count_set" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
24498 arg1 = (CvDTreeTrainData *)(argp1);
24499 ecode2 = SWIG_AsVal_int(args(1), &val2);
24500 if (!SWIG_IsOK(ecode2)) {
24501 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvDTreeTrainData_work_var_count_set" "', argument " "2"" of type '" "int""'");
24503 arg2 = (int)(val2);
24504 if (arg1) (arg1)->work_var_count = arg2;
24505 _outv = octave_value();
24506 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24512 static octave_value_list _wrap_CvDTreeTrainData_work_var_count_get (const octave_value_list& args, int nargout) {
24513 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
24516 octave_value_list _out;
24517 octave_value_list *_outp=&_out;
24518 octave_value _outv;
24521 if (!SWIG_check_num_args("CvDTreeTrainData_work_var_count_get",args.length(),1,1,0)) {
24524 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
24525 if (!SWIG_IsOK(res1)) {
24526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_work_var_count_get" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
24528 arg1 = (CvDTreeTrainData *)(argp1);
24529 result = (int) ((arg1)->work_var_count);
24530 _outv = SWIG_From_int((int)(result));
24531 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24537 static octave_value_list _wrap_CvDTreeTrainData_have_labels_set (const octave_value_list& args, int nargout) {
24538 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
24544 octave_value_list _out;
24545 octave_value_list *_outp=&_out;
24546 octave_value _outv;
24548 if (!SWIG_check_num_args("CvDTreeTrainData_have_labels_set",args.length(),2,2,0)) {
24551 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
24552 if (!SWIG_IsOK(res1)) {
24553 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_have_labels_set" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
24555 arg1 = (CvDTreeTrainData *)(argp1);
24556 ecode2 = SWIG_AsVal_bool(args(1), &val2);
24557 if (!SWIG_IsOK(ecode2)) {
24558 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvDTreeTrainData_have_labels_set" "', argument " "2"" of type '" "bool""'");
24560 arg2 = (bool)(val2);
24561 if (arg1) (arg1)->have_labels = arg2;
24562 _outv = octave_value();
24563 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24569 static octave_value_list _wrap_CvDTreeTrainData_have_labels_get (const octave_value_list& args, int nargout) {
24570 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
24573 octave_value_list _out;
24574 octave_value_list *_outp=&_out;
24575 octave_value _outv;
24578 if (!SWIG_check_num_args("CvDTreeTrainData_have_labels_get",args.length(),1,1,0)) {
24581 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
24582 if (!SWIG_IsOK(res1)) {
24583 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_have_labels_get" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
24585 arg1 = (CvDTreeTrainData *)(argp1);
24586 result = (bool) ((arg1)->have_labels);
24587 _outv = SWIG_From_bool((bool)(result));
24588 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24594 static octave_value_list _wrap_CvDTreeTrainData_have_priors_set (const octave_value_list& args, int nargout) {
24595 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
24601 octave_value_list _out;
24602 octave_value_list *_outp=&_out;
24603 octave_value _outv;
24605 if (!SWIG_check_num_args("CvDTreeTrainData_have_priors_set",args.length(),2,2,0)) {
24608 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
24609 if (!SWIG_IsOK(res1)) {
24610 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_have_priors_set" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
24612 arg1 = (CvDTreeTrainData *)(argp1);
24613 ecode2 = SWIG_AsVal_bool(args(1), &val2);
24614 if (!SWIG_IsOK(ecode2)) {
24615 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvDTreeTrainData_have_priors_set" "', argument " "2"" of type '" "bool""'");
24617 arg2 = (bool)(val2);
24618 if (arg1) (arg1)->have_priors = arg2;
24619 _outv = octave_value();
24620 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24626 static octave_value_list _wrap_CvDTreeTrainData_have_priors_get (const octave_value_list& args, int nargout) {
24627 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
24630 octave_value_list _out;
24631 octave_value_list *_outp=&_out;
24632 octave_value _outv;
24635 if (!SWIG_check_num_args("CvDTreeTrainData_have_priors_get",args.length(),1,1,0)) {
24638 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
24639 if (!SWIG_IsOK(res1)) {
24640 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_have_priors_get" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
24642 arg1 = (CvDTreeTrainData *)(argp1);
24643 result = (bool) ((arg1)->have_priors);
24644 _outv = SWIG_From_bool((bool)(result));
24645 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24651 static octave_value_list _wrap_CvDTreeTrainData_is_classifier_set (const octave_value_list& args, int nargout) {
24652 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
24658 octave_value_list _out;
24659 octave_value_list *_outp=&_out;
24660 octave_value _outv;
24662 if (!SWIG_check_num_args("CvDTreeTrainData_is_classifier_set",args.length(),2,2,0)) {
24665 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
24666 if (!SWIG_IsOK(res1)) {
24667 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_is_classifier_set" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
24669 arg1 = (CvDTreeTrainData *)(argp1);
24670 ecode2 = SWIG_AsVal_bool(args(1), &val2);
24671 if (!SWIG_IsOK(ecode2)) {
24672 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvDTreeTrainData_is_classifier_set" "', argument " "2"" of type '" "bool""'");
24674 arg2 = (bool)(val2);
24675 if (arg1) (arg1)->is_classifier = arg2;
24676 _outv = octave_value();
24677 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24683 static octave_value_list _wrap_CvDTreeTrainData_is_classifier_get (const octave_value_list& args, int nargout) {
24684 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
24687 octave_value_list _out;
24688 octave_value_list *_outp=&_out;
24689 octave_value _outv;
24692 if (!SWIG_check_num_args("CvDTreeTrainData_is_classifier_get",args.length(),1,1,0)) {
24695 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
24696 if (!SWIG_IsOK(res1)) {
24697 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_is_classifier_get" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
24699 arg1 = (CvDTreeTrainData *)(argp1);
24700 result = (bool) ((arg1)->is_classifier);
24701 _outv = SWIG_From_bool((bool)(result));
24702 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24708 static octave_value_list _wrap_CvDTreeTrainData_tflag_set (const octave_value_list& args, int nargout) {
24709 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
24715 octave_value_list _out;
24716 octave_value_list *_outp=&_out;
24717 octave_value _outv;
24719 if (!SWIG_check_num_args("CvDTreeTrainData_tflag_set",args.length(),2,2,0)) {
24722 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
24723 if (!SWIG_IsOK(res1)) {
24724 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_tflag_set" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
24726 arg1 = (CvDTreeTrainData *)(argp1);
24727 ecode2 = SWIG_AsVal_int(args(1), &val2);
24728 if (!SWIG_IsOK(ecode2)) {
24729 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvDTreeTrainData_tflag_set" "', argument " "2"" of type '" "int""'");
24731 arg2 = (int)(val2);
24732 if (arg1) (arg1)->tflag = arg2;
24733 _outv = octave_value();
24734 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24740 static octave_value_list _wrap_CvDTreeTrainData_tflag_get (const octave_value_list& args, int nargout) {
24741 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
24744 octave_value_list _out;
24745 octave_value_list *_outp=&_out;
24746 octave_value _outv;
24749 if (!SWIG_check_num_args("CvDTreeTrainData_tflag_get",args.length(),1,1,0)) {
24752 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
24753 if (!SWIG_IsOK(res1)) {
24754 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_tflag_get" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
24756 arg1 = (CvDTreeTrainData *)(argp1);
24757 result = (int) ((arg1)->tflag);
24758 _outv = SWIG_From_int((int)(result));
24759 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24765 static octave_value_list _wrap_CvDTreeTrainData_train_data_set (const octave_value_list& args, int nargout) {
24766 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
24767 CvMat *arg2 = (CvMat *) 0 ;
24772 octave_value_list _out;
24773 octave_value_list *_outp=&_out;
24774 octave_value _outv;
24776 if (!SWIG_check_num_args("CvDTreeTrainData_train_data_set",args.length(),2,2,0)) {
24779 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
24780 if (!SWIG_IsOK(res1)) {
24781 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_train_data_set" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
24783 arg1 = (CvDTreeTrainData *)(argp1);
24784 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, SWIG_POINTER_DISOWN | 0 );
24785 if (!SWIG_IsOK(res2)) {
24786 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvDTreeTrainData_train_data_set" "', argument " "2"" of type '" "CvMat const *""'");
24788 arg2 = (CvMat *)(argp2);
24789 if (arg1) (arg1)->train_data = (CvMat const *)arg2;
24790 _outv = octave_value();
24791 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24797 static octave_value_list _wrap_CvDTreeTrainData_train_data_get (const octave_value_list& args, int nargout) {
24798 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
24801 octave_value_list _out;
24802 octave_value_list *_outp=&_out;
24803 octave_value _outv;
24804 CvMat *result = 0 ;
24806 if (!SWIG_check_num_args("CvDTreeTrainData_train_data_get",args.length(),1,1,0)) {
24809 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
24810 if (!SWIG_IsOK(res1)) {
24811 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_train_data_get" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
24813 arg1 = (CvDTreeTrainData *)(argp1);
24814 result = (CvMat *) ((arg1)->train_data);
24815 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvMat, 0 | 0 );
24816 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24822 static octave_value_list _wrap_CvDTreeTrainData_responses_set (const octave_value_list& args, int nargout) {
24823 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
24824 CvMat *arg2 = (CvMat *) 0 ;
24829 octave_value_list _out;
24830 octave_value_list *_outp=&_out;
24831 octave_value _outv;
24833 if (!SWIG_check_num_args("CvDTreeTrainData_responses_set",args.length(),2,2,0)) {
24836 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
24837 if (!SWIG_IsOK(res1)) {
24838 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_responses_set" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
24840 arg1 = (CvDTreeTrainData *)(argp1);
24841 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, SWIG_POINTER_DISOWN | 0 );
24842 if (!SWIG_IsOK(res2)) {
24843 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvDTreeTrainData_responses_set" "', argument " "2"" of type '" "CvMat const *""'");
24845 arg2 = (CvMat *)(argp2);
24846 if (arg1) (arg1)->responses = (CvMat const *)arg2;
24847 _outv = octave_value();
24848 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24854 static octave_value_list _wrap_CvDTreeTrainData_responses_get (const octave_value_list& args, int nargout) {
24855 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
24858 octave_value_list _out;
24859 octave_value_list *_outp=&_out;
24860 octave_value _outv;
24861 CvMat *result = 0 ;
24863 if (!SWIG_check_num_args("CvDTreeTrainData_responses_get",args.length(),1,1,0)) {
24866 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
24867 if (!SWIG_IsOK(res1)) {
24868 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_responses_get" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
24870 arg1 = (CvDTreeTrainData *)(argp1);
24871 result = (CvMat *) ((arg1)->responses);
24872 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvMat, 0 | 0 );
24873 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24879 static octave_value_list _wrap_CvDTreeTrainData_responses_copy_set (const octave_value_list& args, int nargout) {
24880 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
24881 CvMat *arg2 = (CvMat *) 0 ;
24886 octave_value_list _out;
24887 octave_value_list *_outp=&_out;
24888 octave_value _outv;
24890 if (!SWIG_check_num_args("CvDTreeTrainData_responses_copy_set",args.length(),2,2,0)) {
24893 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
24894 if (!SWIG_IsOK(res1)) {
24895 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_responses_copy_set" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
24897 arg1 = (CvDTreeTrainData *)(argp1);
24898 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, SWIG_POINTER_DISOWN | 0 );
24899 if (!SWIG_IsOK(res2)) {
24900 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvDTreeTrainData_responses_copy_set" "', argument " "2"" of type '" "CvMat *""'");
24902 arg2 = (CvMat *)(argp2);
24903 if (arg1) (arg1)->responses_copy = arg2;
24904 _outv = octave_value();
24905 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24911 static octave_value_list _wrap_CvDTreeTrainData_responses_copy_get (const octave_value_list& args, int nargout) {
24912 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
24915 octave_value_list _out;
24916 octave_value_list *_outp=&_out;
24917 octave_value _outv;
24918 CvMat *result = 0 ;
24920 if (!SWIG_check_num_args("CvDTreeTrainData_responses_copy_get",args.length(),1,1,0)) {
24923 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
24924 if (!SWIG_IsOK(res1)) {
24925 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_responses_copy_get" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
24927 arg1 = (CvDTreeTrainData *)(argp1);
24928 result = (CvMat *) ((arg1)->responses_copy);
24929 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvMat, 0 | 0 );
24930 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24936 static octave_value_list _wrap_CvDTreeTrainData_buf_count_set (const octave_value_list& args, int nargout) {
24937 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
24943 octave_value_list _out;
24944 octave_value_list *_outp=&_out;
24945 octave_value _outv;
24947 if (!SWIG_check_num_args("CvDTreeTrainData_buf_count_set",args.length(),2,2,0)) {
24950 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
24951 if (!SWIG_IsOK(res1)) {
24952 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_buf_count_set" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
24954 arg1 = (CvDTreeTrainData *)(argp1);
24955 ecode2 = SWIG_AsVal_int(args(1), &val2);
24956 if (!SWIG_IsOK(ecode2)) {
24957 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvDTreeTrainData_buf_count_set" "', argument " "2"" of type '" "int""'");
24959 arg2 = (int)(val2);
24960 if (arg1) (arg1)->buf_count = arg2;
24961 _outv = octave_value();
24962 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24968 static octave_value_list _wrap_CvDTreeTrainData_buf_count_get (const octave_value_list& args, int nargout) {
24969 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
24972 octave_value_list _out;
24973 octave_value_list *_outp=&_out;
24974 octave_value _outv;
24977 if (!SWIG_check_num_args("CvDTreeTrainData_buf_count_get",args.length(),1,1,0)) {
24980 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
24981 if (!SWIG_IsOK(res1)) {
24982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_buf_count_get" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
24984 arg1 = (CvDTreeTrainData *)(argp1);
24985 result = (int) ((arg1)->buf_count);
24986 _outv = SWIG_From_int((int)(result));
24987 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24993 static octave_value_list _wrap_CvDTreeTrainData_buf_size_set (const octave_value_list& args, int nargout) {
24994 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
25000 octave_value_list _out;
25001 octave_value_list *_outp=&_out;
25002 octave_value _outv;
25004 if (!SWIG_check_num_args("CvDTreeTrainData_buf_size_set",args.length(),2,2,0)) {
25007 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
25008 if (!SWIG_IsOK(res1)) {
25009 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_buf_size_set" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
25011 arg1 = (CvDTreeTrainData *)(argp1);
25012 ecode2 = SWIG_AsVal_int(args(1), &val2);
25013 if (!SWIG_IsOK(ecode2)) {
25014 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvDTreeTrainData_buf_size_set" "', argument " "2"" of type '" "int""'");
25016 arg2 = (int)(val2);
25017 if (arg1) (arg1)->buf_size = arg2;
25018 _outv = octave_value();
25019 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
25025 static octave_value_list _wrap_CvDTreeTrainData_buf_size_get (const octave_value_list& args, int nargout) {
25026 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
25029 octave_value_list _out;
25030 octave_value_list *_outp=&_out;
25031 octave_value _outv;
25034 if (!SWIG_check_num_args("CvDTreeTrainData_buf_size_get",args.length(),1,1,0)) {
25037 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
25038 if (!SWIG_IsOK(res1)) {
25039 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_buf_size_get" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
25041 arg1 = (CvDTreeTrainData *)(argp1);
25042 result = (int) ((arg1)->buf_size);
25043 _outv = SWIG_From_int((int)(result));
25044 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
25050 static octave_value_list _wrap_CvDTreeTrainData_shared_set (const octave_value_list& args, int nargout) {
25051 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
25057 octave_value_list _out;
25058 octave_value_list *_outp=&_out;
25059 octave_value _outv;
25061 if (!SWIG_check_num_args("CvDTreeTrainData_shared_set",args.length(),2,2,0)) {
25064 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
25065 if (!SWIG_IsOK(res1)) {
25066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_shared_set" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
25068 arg1 = (CvDTreeTrainData *)(argp1);
25069 ecode2 = SWIG_AsVal_bool(args(1), &val2);
25070 if (!SWIG_IsOK(ecode2)) {
25071 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvDTreeTrainData_shared_set" "', argument " "2"" of type '" "bool""'");
25073 arg2 = (bool)(val2);
25074 if (arg1) (arg1)->shared = arg2;
25075 _outv = octave_value();
25076 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
25082 static octave_value_list _wrap_CvDTreeTrainData_shared_get (const octave_value_list& args, int nargout) {
25083 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
25086 octave_value_list _out;
25087 octave_value_list *_outp=&_out;
25088 octave_value _outv;
25091 if (!SWIG_check_num_args("CvDTreeTrainData_shared_get",args.length(),1,1,0)) {
25094 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
25095 if (!SWIG_IsOK(res1)) {
25096 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_shared_get" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
25098 arg1 = (CvDTreeTrainData *)(argp1);
25099 result = (bool) ((arg1)->shared);
25100 _outv = SWIG_From_bool((bool)(result));
25101 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
25107 static octave_value_list _wrap_CvDTreeTrainData_is_buf_16u_set (const octave_value_list& args, int nargout) {
25108 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
25114 octave_value_list _out;
25115 octave_value_list *_outp=&_out;
25116 octave_value _outv;
25118 if (!SWIG_check_num_args("CvDTreeTrainData_is_buf_16u_set",args.length(),2,2,0)) {
25121 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
25122 if (!SWIG_IsOK(res1)) {
25123 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_is_buf_16u_set" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
25125 arg1 = (CvDTreeTrainData *)(argp1);
25126 ecode2 = SWIG_AsVal_int(args(1), &val2);
25127 if (!SWIG_IsOK(ecode2)) {
25128 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvDTreeTrainData_is_buf_16u_set" "', argument " "2"" of type '" "int""'");
25130 arg2 = (int)(val2);
25131 if (arg1) (arg1)->is_buf_16u = arg2;
25132 _outv = octave_value();
25133 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
25139 static octave_value_list _wrap_CvDTreeTrainData_is_buf_16u_get (const octave_value_list& args, int nargout) {
25140 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
25143 octave_value_list _out;
25144 octave_value_list *_outp=&_out;
25145 octave_value _outv;
25148 if (!SWIG_check_num_args("CvDTreeTrainData_is_buf_16u_get",args.length(),1,1,0)) {
25151 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
25152 if (!SWIG_IsOK(res1)) {
25153 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_is_buf_16u_get" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
25155 arg1 = (CvDTreeTrainData *)(argp1);
25156 result = (int) ((arg1)->is_buf_16u);
25157 _outv = SWIG_From_int((int)(result));
25158 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
25164 static octave_value_list _wrap_CvDTreeTrainData_cat_count_set (const octave_value_list& args, int nargout) {
25165 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
25166 CvMat *arg2 = (CvMat *) 0 ;
25171 octave_value_list _out;
25172 octave_value_list *_outp=&_out;
25173 octave_value _outv;
25175 if (!SWIG_check_num_args("CvDTreeTrainData_cat_count_set",args.length(),2,2,0)) {
25178 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
25179 if (!SWIG_IsOK(res1)) {
25180 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_cat_count_set" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
25182 arg1 = (CvDTreeTrainData *)(argp1);
25183 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, SWIG_POINTER_DISOWN | 0 );
25184 if (!SWIG_IsOK(res2)) {
25185 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvDTreeTrainData_cat_count_set" "', argument " "2"" of type '" "CvMat *""'");
25187 arg2 = (CvMat *)(argp2);
25188 if (arg1) (arg1)->cat_count = arg2;
25189 _outv = octave_value();
25190 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
25196 static octave_value_list _wrap_CvDTreeTrainData_cat_count_get (const octave_value_list& args, int nargout) {
25197 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
25200 octave_value_list _out;
25201 octave_value_list *_outp=&_out;
25202 octave_value _outv;
25203 CvMat *result = 0 ;
25205 if (!SWIG_check_num_args("CvDTreeTrainData_cat_count_get",args.length(),1,1,0)) {
25208 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
25209 if (!SWIG_IsOK(res1)) {
25210 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_cat_count_get" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
25212 arg1 = (CvDTreeTrainData *)(argp1);
25213 result = (CvMat *) ((arg1)->cat_count);
25214 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvMat, 0 | 0 );
25215 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
25221 static octave_value_list _wrap_CvDTreeTrainData_cat_ofs_set (const octave_value_list& args, int nargout) {
25222 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
25223 CvMat *arg2 = (CvMat *) 0 ;
25228 octave_value_list _out;
25229 octave_value_list *_outp=&_out;
25230 octave_value _outv;
25232 if (!SWIG_check_num_args("CvDTreeTrainData_cat_ofs_set",args.length(),2,2,0)) {
25235 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
25236 if (!SWIG_IsOK(res1)) {
25237 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_cat_ofs_set" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
25239 arg1 = (CvDTreeTrainData *)(argp1);
25240 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, SWIG_POINTER_DISOWN | 0 );
25241 if (!SWIG_IsOK(res2)) {
25242 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvDTreeTrainData_cat_ofs_set" "', argument " "2"" of type '" "CvMat *""'");
25244 arg2 = (CvMat *)(argp2);
25245 if (arg1) (arg1)->cat_ofs = arg2;
25246 _outv = octave_value();
25247 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
25253 static octave_value_list _wrap_CvDTreeTrainData_cat_ofs_get (const octave_value_list& args, int nargout) {
25254 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
25257 octave_value_list _out;
25258 octave_value_list *_outp=&_out;
25259 octave_value _outv;
25260 CvMat *result = 0 ;
25262 if (!SWIG_check_num_args("CvDTreeTrainData_cat_ofs_get",args.length(),1,1,0)) {
25265 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
25266 if (!SWIG_IsOK(res1)) {
25267 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_cat_ofs_get" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
25269 arg1 = (CvDTreeTrainData *)(argp1);
25270 result = (CvMat *) ((arg1)->cat_ofs);
25271 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvMat, 0 | 0 );
25272 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
25278 static octave_value_list _wrap_CvDTreeTrainData_cat_map_set (const octave_value_list& args, int nargout) {
25279 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
25280 CvMat *arg2 = (CvMat *) 0 ;
25285 octave_value_list _out;
25286 octave_value_list *_outp=&_out;
25287 octave_value _outv;
25289 if (!SWIG_check_num_args("CvDTreeTrainData_cat_map_set",args.length(),2,2,0)) {
25292 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
25293 if (!SWIG_IsOK(res1)) {
25294 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_cat_map_set" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
25296 arg1 = (CvDTreeTrainData *)(argp1);
25297 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, SWIG_POINTER_DISOWN | 0 );
25298 if (!SWIG_IsOK(res2)) {
25299 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvDTreeTrainData_cat_map_set" "', argument " "2"" of type '" "CvMat *""'");
25301 arg2 = (CvMat *)(argp2);
25302 if (arg1) (arg1)->cat_map = arg2;
25303 _outv = octave_value();
25304 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
25310 static octave_value_list _wrap_CvDTreeTrainData_cat_map_get (const octave_value_list& args, int nargout) {
25311 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
25314 octave_value_list _out;
25315 octave_value_list *_outp=&_out;
25316 octave_value _outv;
25317 CvMat *result = 0 ;
25319 if (!SWIG_check_num_args("CvDTreeTrainData_cat_map_get",args.length(),1,1,0)) {
25322 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
25323 if (!SWIG_IsOK(res1)) {
25324 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_cat_map_get" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
25326 arg1 = (CvDTreeTrainData *)(argp1);
25327 result = (CvMat *) ((arg1)->cat_map);
25328 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvMat, 0 | 0 );
25329 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
25335 static octave_value_list _wrap_CvDTreeTrainData_counts_set (const octave_value_list& args, int nargout) {
25336 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
25337 CvMat *arg2 = (CvMat *) 0 ;
25342 octave_value_list _out;
25343 octave_value_list *_outp=&_out;
25344 octave_value _outv;
25346 if (!SWIG_check_num_args("CvDTreeTrainData_counts_set",args.length(),2,2,0)) {
25349 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
25350 if (!SWIG_IsOK(res1)) {
25351 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_counts_set" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
25353 arg1 = (CvDTreeTrainData *)(argp1);
25354 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, SWIG_POINTER_DISOWN | 0 );
25355 if (!SWIG_IsOK(res2)) {
25356 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvDTreeTrainData_counts_set" "', argument " "2"" of type '" "CvMat *""'");
25358 arg2 = (CvMat *)(argp2);
25359 if (arg1) (arg1)->counts = arg2;
25360 _outv = octave_value();
25361 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
25367 static octave_value_list _wrap_CvDTreeTrainData_counts_get (const octave_value_list& args, int nargout) {
25368 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
25371 octave_value_list _out;
25372 octave_value_list *_outp=&_out;
25373 octave_value _outv;
25374 CvMat *result = 0 ;
25376 if (!SWIG_check_num_args("CvDTreeTrainData_counts_get",args.length(),1,1,0)) {
25379 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
25380 if (!SWIG_IsOK(res1)) {
25381 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_counts_get" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
25383 arg1 = (CvDTreeTrainData *)(argp1);
25384 result = (CvMat *) ((arg1)->counts);
25385 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvMat, 0 | 0 );
25386 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
25392 static octave_value_list _wrap_CvDTreeTrainData_buf_set (const octave_value_list& args, int nargout) {
25393 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
25394 CvMat *arg2 = (CvMat *) 0 ;
25399 octave_value_list _out;
25400 octave_value_list *_outp=&_out;
25401 octave_value _outv;
25403 if (!SWIG_check_num_args("CvDTreeTrainData_buf_set",args.length(),2,2,0)) {
25406 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
25407 if (!SWIG_IsOK(res1)) {
25408 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_buf_set" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
25410 arg1 = (CvDTreeTrainData *)(argp1);
25411 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, SWIG_POINTER_DISOWN | 0 );
25412 if (!SWIG_IsOK(res2)) {
25413 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvDTreeTrainData_buf_set" "', argument " "2"" of type '" "CvMat *""'");
25415 arg2 = (CvMat *)(argp2);
25416 if (arg1) (arg1)->buf = arg2;
25417 _outv = octave_value();
25418 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
25424 static octave_value_list _wrap_CvDTreeTrainData_buf_get (const octave_value_list& args, int nargout) {
25425 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
25428 octave_value_list _out;
25429 octave_value_list *_outp=&_out;
25430 octave_value _outv;
25431 CvMat *result = 0 ;
25433 if (!SWIG_check_num_args("CvDTreeTrainData_buf_get",args.length(),1,1,0)) {
25436 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
25437 if (!SWIG_IsOK(res1)) {
25438 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_buf_get" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
25440 arg1 = (CvDTreeTrainData *)(argp1);
25441 result = (CvMat *) ((arg1)->buf);
25442 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvMat, 0 | 0 );
25443 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
25449 static octave_value_list _wrap_CvDTreeTrainData_direction_set (const octave_value_list& args, int nargout) {
25450 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
25451 CvMat *arg2 = (CvMat *) 0 ;
25456 octave_value_list _out;
25457 octave_value_list *_outp=&_out;
25458 octave_value _outv;
25460 if (!SWIG_check_num_args("CvDTreeTrainData_direction_set",args.length(),2,2,0)) {
25463 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
25464 if (!SWIG_IsOK(res1)) {
25465 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_direction_set" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
25467 arg1 = (CvDTreeTrainData *)(argp1);
25468 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, SWIG_POINTER_DISOWN | 0 );
25469 if (!SWIG_IsOK(res2)) {
25470 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvDTreeTrainData_direction_set" "', argument " "2"" of type '" "CvMat *""'");
25472 arg2 = (CvMat *)(argp2);
25473 if (arg1) (arg1)->direction = arg2;
25474 _outv = octave_value();
25475 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
25481 static octave_value_list _wrap_CvDTreeTrainData_direction_get (const octave_value_list& args, int nargout) {
25482 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
25485 octave_value_list _out;
25486 octave_value_list *_outp=&_out;
25487 octave_value _outv;
25488 CvMat *result = 0 ;
25490 if (!SWIG_check_num_args("CvDTreeTrainData_direction_get",args.length(),1,1,0)) {
25493 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
25494 if (!SWIG_IsOK(res1)) {
25495 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_direction_get" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
25497 arg1 = (CvDTreeTrainData *)(argp1);
25498 result = (CvMat *) ((arg1)->direction);
25499 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvMat, 0 | 0 );
25500 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
25506 static octave_value_list _wrap_CvDTreeTrainData_split_buf_set (const octave_value_list& args, int nargout) {
25507 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
25508 CvMat *arg2 = (CvMat *) 0 ;
25513 octave_value_list _out;
25514 octave_value_list *_outp=&_out;
25515 octave_value _outv;
25517 if (!SWIG_check_num_args("CvDTreeTrainData_split_buf_set",args.length(),2,2,0)) {
25520 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
25521 if (!SWIG_IsOK(res1)) {
25522 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_split_buf_set" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
25524 arg1 = (CvDTreeTrainData *)(argp1);
25525 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, SWIG_POINTER_DISOWN | 0 );
25526 if (!SWIG_IsOK(res2)) {
25527 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvDTreeTrainData_split_buf_set" "', argument " "2"" of type '" "CvMat *""'");
25529 arg2 = (CvMat *)(argp2);
25530 if (arg1) (arg1)->split_buf = arg2;
25531 _outv = octave_value();
25532 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
25538 static octave_value_list _wrap_CvDTreeTrainData_split_buf_get (const octave_value_list& args, int nargout) {
25539 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
25542 octave_value_list _out;
25543 octave_value_list *_outp=&_out;
25544 octave_value _outv;
25545 CvMat *result = 0 ;
25547 if (!SWIG_check_num_args("CvDTreeTrainData_split_buf_get",args.length(),1,1,0)) {
25550 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
25551 if (!SWIG_IsOK(res1)) {
25552 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_split_buf_get" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
25554 arg1 = (CvDTreeTrainData *)(argp1);
25555 result = (CvMat *) ((arg1)->split_buf);
25556 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvMat, 0 | 0 );
25557 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
25563 static octave_value_list _wrap_CvDTreeTrainData_var_idx_set (const octave_value_list& args, int nargout) {
25564 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
25565 CvMat *arg2 = (CvMat *) 0 ;
25570 octave_value_list _out;
25571 octave_value_list *_outp=&_out;
25572 octave_value _outv;
25574 if (!SWIG_check_num_args("CvDTreeTrainData_var_idx_set",args.length(),2,2,0)) {
25577 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
25578 if (!SWIG_IsOK(res1)) {
25579 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_var_idx_set" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
25581 arg1 = (CvDTreeTrainData *)(argp1);
25582 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, SWIG_POINTER_DISOWN | 0 );
25583 if (!SWIG_IsOK(res2)) {
25584 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvDTreeTrainData_var_idx_set" "', argument " "2"" of type '" "CvMat *""'");
25586 arg2 = (CvMat *)(argp2);
25587 if (arg1) (arg1)->var_idx = arg2;
25588 _outv = octave_value();
25589 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
25595 static octave_value_list _wrap_CvDTreeTrainData_var_idx_get (const octave_value_list& args, int nargout) {
25596 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
25599 octave_value_list _out;
25600 octave_value_list *_outp=&_out;
25601 octave_value _outv;
25602 CvMat *result = 0 ;
25604 if (!SWIG_check_num_args("CvDTreeTrainData_var_idx_get",args.length(),1,1,0)) {
25607 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
25608 if (!SWIG_IsOK(res1)) {
25609 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_var_idx_get" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
25611 arg1 = (CvDTreeTrainData *)(argp1);
25612 result = (CvMat *) ((arg1)->var_idx);
25613 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvMat, 0 | 0 );
25614 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
25620 static octave_value_list _wrap_CvDTreeTrainData_var_type_set (const octave_value_list& args, int nargout) {
25621 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
25622 CvMat *arg2 = (CvMat *) 0 ;
25627 octave_value_list _out;
25628 octave_value_list *_outp=&_out;
25629 octave_value _outv;
25631 if (!SWIG_check_num_args("CvDTreeTrainData_var_type_set",args.length(),2,2,0)) {
25634 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
25635 if (!SWIG_IsOK(res1)) {
25636 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_var_type_set" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
25638 arg1 = (CvDTreeTrainData *)(argp1);
25639 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, SWIG_POINTER_DISOWN | 0 );
25640 if (!SWIG_IsOK(res2)) {
25641 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvDTreeTrainData_var_type_set" "', argument " "2"" of type '" "CvMat *""'");
25643 arg2 = (CvMat *)(argp2);
25644 if (arg1) (arg1)->var_type = arg2;
25645 _outv = octave_value();
25646 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
25652 static octave_value_list _wrap_CvDTreeTrainData_var_type_get (const octave_value_list& args, int nargout) {
25653 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
25656 octave_value_list _out;
25657 octave_value_list *_outp=&_out;
25658 octave_value _outv;
25659 CvMat *result = 0 ;
25661 if (!SWIG_check_num_args("CvDTreeTrainData_var_type_get",args.length(),1,1,0)) {
25664 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
25665 if (!SWIG_IsOK(res1)) {
25666 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_var_type_get" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
25668 arg1 = (CvDTreeTrainData *)(argp1);
25669 result = (CvMat *) ((arg1)->var_type);
25670 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvMat, 0 | 0 );
25671 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
25677 static octave_value_list _wrap_CvDTreeTrainData_priors_set (const octave_value_list& args, int nargout) {
25678 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
25679 CvMat *arg2 = (CvMat *) 0 ;
25684 octave_value_list _out;
25685 octave_value_list *_outp=&_out;
25686 octave_value _outv;
25688 if (!SWIG_check_num_args("CvDTreeTrainData_priors_set",args.length(),2,2,0)) {
25691 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
25692 if (!SWIG_IsOK(res1)) {
25693 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_priors_set" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
25695 arg1 = (CvDTreeTrainData *)(argp1);
25696 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, SWIG_POINTER_DISOWN | 0 );
25697 if (!SWIG_IsOK(res2)) {
25698 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvDTreeTrainData_priors_set" "', argument " "2"" of type '" "CvMat *""'");
25700 arg2 = (CvMat *)(argp2);
25701 if (arg1) (arg1)->priors = arg2;
25702 _outv = octave_value();
25703 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
25709 static octave_value_list _wrap_CvDTreeTrainData_priors_get (const octave_value_list& args, int nargout) {
25710 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
25713 octave_value_list _out;
25714 octave_value_list *_outp=&_out;
25715 octave_value _outv;
25716 CvMat *result = 0 ;
25718 if (!SWIG_check_num_args("CvDTreeTrainData_priors_get",args.length(),1,1,0)) {
25721 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
25722 if (!SWIG_IsOK(res1)) {
25723 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_priors_get" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
25725 arg1 = (CvDTreeTrainData *)(argp1);
25726 result = (CvMat *) ((arg1)->priors);
25727 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvMat, 0 | 0 );
25728 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
25734 static octave_value_list _wrap_CvDTreeTrainData_priors_mult_set (const octave_value_list& args, int nargout) {
25735 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
25736 CvMat *arg2 = (CvMat *) 0 ;
25741 octave_value_list _out;
25742 octave_value_list *_outp=&_out;
25743 octave_value _outv;
25745 if (!SWIG_check_num_args("CvDTreeTrainData_priors_mult_set",args.length(),2,2,0)) {
25748 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
25749 if (!SWIG_IsOK(res1)) {
25750 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_priors_mult_set" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
25752 arg1 = (CvDTreeTrainData *)(argp1);
25753 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, SWIG_POINTER_DISOWN | 0 );
25754 if (!SWIG_IsOK(res2)) {
25755 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvDTreeTrainData_priors_mult_set" "', argument " "2"" of type '" "CvMat *""'");
25757 arg2 = (CvMat *)(argp2);
25758 if (arg1) (arg1)->priors_mult = arg2;
25759 _outv = octave_value();
25760 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
25766 static octave_value_list _wrap_CvDTreeTrainData_priors_mult_get (const octave_value_list& args, int nargout) {
25767 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
25770 octave_value_list _out;
25771 octave_value_list *_outp=&_out;
25772 octave_value _outv;
25773 CvMat *result = 0 ;
25775 if (!SWIG_check_num_args("CvDTreeTrainData_priors_mult_get",args.length(),1,1,0)) {
25778 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
25779 if (!SWIG_IsOK(res1)) {
25780 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_priors_mult_get" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
25782 arg1 = (CvDTreeTrainData *)(argp1);
25783 result = (CvMat *) ((arg1)->priors_mult);
25784 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvMat, 0 | 0 );
25785 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
25791 static octave_value_list _wrap_CvDTreeTrainData_params_set (const octave_value_list& args, int nargout) {
25792 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
25793 CvDTreeParams *arg2 = (CvDTreeParams *) 0 ;
25798 octave_value_list _out;
25799 octave_value_list *_outp=&_out;
25800 octave_value _outv;
25802 if (!SWIG_check_num_args("CvDTreeTrainData_params_set",args.length(),2,2,0)) {
25805 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
25806 if (!SWIG_IsOK(res1)) {
25807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_params_set" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
25809 arg1 = (CvDTreeTrainData *)(argp1);
25810 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvDTreeParams, 0 | 0 );
25811 if (!SWIG_IsOK(res2)) {
25812 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvDTreeTrainData_params_set" "', argument " "2"" of type '" "CvDTreeParams *""'");
25814 arg2 = (CvDTreeParams *)(argp2);
25815 if (arg1) (arg1)->params = *arg2;
25816 _outv = octave_value();
25817 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
25823 static octave_value_list _wrap_CvDTreeTrainData_params_get (const octave_value_list& args, int nargout) {
25824 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
25827 octave_value_list _out;
25828 octave_value_list *_outp=&_out;
25829 octave_value _outv;
25830 CvDTreeParams *result = 0 ;
25832 if (!SWIG_check_num_args("CvDTreeTrainData_params_get",args.length(),1,1,0)) {
25835 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
25836 if (!SWIG_IsOK(res1)) {
25837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_params_get" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
25839 arg1 = (CvDTreeTrainData *)(argp1);
25840 result = (CvDTreeParams *)& ((arg1)->params);
25841 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvDTreeParams, 0 | 0 );
25842 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
25848 static octave_value_list _wrap_CvDTreeTrainData_tree_storage_set (const octave_value_list& args, int nargout) {
25849 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
25850 CvMemStorage *arg2 = (CvMemStorage *) 0 ;
25855 octave_value_list _out;
25856 octave_value_list *_outp=&_out;
25857 octave_value _outv;
25859 if (!SWIG_check_num_args("CvDTreeTrainData_tree_storage_set",args.length(),2,2,0)) {
25862 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
25863 if (!SWIG_IsOK(res1)) {
25864 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_tree_storage_set" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
25866 arg1 = (CvDTreeTrainData *)(argp1);
25867 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMemStorage, SWIG_POINTER_DISOWN | 0 );
25868 if (!SWIG_IsOK(res2)) {
25869 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvDTreeTrainData_tree_storage_set" "', argument " "2"" of type '" "CvMemStorage *""'");
25871 arg2 = (CvMemStorage *)(argp2);
25872 if (arg1) (arg1)->tree_storage = arg2;
25873 _outv = octave_value();
25874 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
25880 static octave_value_list _wrap_CvDTreeTrainData_tree_storage_get (const octave_value_list& args, int nargout) {
25881 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
25884 octave_value_list _out;
25885 octave_value_list *_outp=&_out;
25886 octave_value _outv;
25887 CvMemStorage *result = 0 ;
25889 if (!SWIG_check_num_args("CvDTreeTrainData_tree_storage_get",args.length(),1,1,0)) {
25892 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
25893 if (!SWIG_IsOK(res1)) {
25894 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_tree_storage_get" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
25896 arg1 = (CvDTreeTrainData *)(argp1);
25897 result = (CvMemStorage *) ((arg1)->tree_storage);
25898 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvMemStorage, 0 | 0 );
25899 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
25905 static octave_value_list _wrap_CvDTreeTrainData_temp_storage_set (const octave_value_list& args, int nargout) {
25906 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
25907 CvMemStorage *arg2 = (CvMemStorage *) 0 ;
25912 octave_value_list _out;
25913 octave_value_list *_outp=&_out;
25914 octave_value _outv;
25916 if (!SWIG_check_num_args("CvDTreeTrainData_temp_storage_set",args.length(),2,2,0)) {
25919 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
25920 if (!SWIG_IsOK(res1)) {
25921 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_temp_storage_set" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
25923 arg1 = (CvDTreeTrainData *)(argp1);
25924 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMemStorage, SWIG_POINTER_DISOWN | 0 );
25925 if (!SWIG_IsOK(res2)) {
25926 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvDTreeTrainData_temp_storage_set" "', argument " "2"" of type '" "CvMemStorage *""'");
25928 arg2 = (CvMemStorage *)(argp2);
25929 if (arg1) (arg1)->temp_storage = arg2;
25930 _outv = octave_value();
25931 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
25937 static octave_value_list _wrap_CvDTreeTrainData_temp_storage_get (const octave_value_list& args, int nargout) {
25938 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
25941 octave_value_list _out;
25942 octave_value_list *_outp=&_out;
25943 octave_value _outv;
25944 CvMemStorage *result = 0 ;
25946 if (!SWIG_check_num_args("CvDTreeTrainData_temp_storage_get",args.length(),1,1,0)) {
25949 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
25950 if (!SWIG_IsOK(res1)) {
25951 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_temp_storage_get" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
25953 arg1 = (CvDTreeTrainData *)(argp1);
25954 result = (CvMemStorage *) ((arg1)->temp_storage);
25955 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvMemStorage, 0 | 0 );
25956 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
25962 static octave_value_list _wrap_CvDTreeTrainData_data_root_set (const octave_value_list& args, int nargout) {
25963 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
25964 CvDTreeNode *arg2 = (CvDTreeNode *) 0 ;
25969 octave_value_list _out;
25970 octave_value_list *_outp=&_out;
25971 octave_value _outv;
25973 if (!SWIG_check_num_args("CvDTreeTrainData_data_root_set",args.length(),2,2,0)) {
25976 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
25977 if (!SWIG_IsOK(res1)) {
25978 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_data_root_set" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
25980 arg1 = (CvDTreeTrainData *)(argp1);
25981 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvDTreeNode, SWIG_POINTER_DISOWN | 0 );
25982 if (!SWIG_IsOK(res2)) {
25983 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvDTreeTrainData_data_root_set" "', argument " "2"" of type '" "CvDTreeNode *""'");
25985 arg2 = (CvDTreeNode *)(argp2);
25986 if (arg1) (arg1)->data_root = arg2;
25987 _outv = octave_value();
25988 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
25994 static octave_value_list _wrap_CvDTreeTrainData_data_root_get (const octave_value_list& args, int nargout) {
25995 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
25998 octave_value_list _out;
25999 octave_value_list *_outp=&_out;
26000 octave_value _outv;
26001 CvDTreeNode *result = 0 ;
26003 if (!SWIG_check_num_args("CvDTreeTrainData_data_root_get",args.length(),1,1,0)) {
26006 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
26007 if (!SWIG_IsOK(res1)) {
26008 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_data_root_get" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
26010 arg1 = (CvDTreeTrainData *)(argp1);
26011 result = (CvDTreeNode *) ((arg1)->data_root);
26012 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvDTreeNode, 0 | 0 );
26013 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
26019 static octave_value_list _wrap_CvDTreeTrainData_node_heap_set (const octave_value_list& args, int nargout) {
26020 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
26021 CvSet *arg2 = (CvSet *) 0 ;
26025 octave_value_list _out;
26026 octave_value_list *_outp=&_out;
26027 octave_value _outv;
26029 if (!SWIG_check_num_args("CvDTreeTrainData_node_heap_set",args.length(),2,2,0)) {
26032 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
26033 if (!SWIG_IsOK(res1)) {
26034 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_node_heap_set" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
26036 arg1 = (CvDTreeTrainData *)(argp1);
26038 if( SWIG_ConvertPtr(args(1), &ptr2, SWIGTYPE_p_CvSet, 0) == -1 &&
26039 SWIG_ConvertPtr(args(1), &ptr2, SWIGTYPE_p_CvGraph, 0) == -1 &&
26040 SWIG_ConvertPtr(args(1), &ptr2, SWIGTYPE_p_CvSubdiv2D, 0) == -1)
26042 SWIG_exception (SWIG_TypeError, "could not convert to CvSet");
26045 arg2 = (CvSet *)ptr2;
26047 if (arg1) (arg1)->node_heap = arg2;
26048 _outv = octave_value();
26049 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
26055 static octave_value_list _wrap_CvDTreeTrainData_node_heap_get (const octave_value_list& args, int nargout) {
26056 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
26059 octave_value_list _out;
26060 octave_value_list *_outp=&_out;
26061 octave_value _outv;
26062 CvSet *result = 0 ;
26064 if (!SWIG_check_num_args("CvDTreeTrainData_node_heap_get",args.length(),1,1,0)) {
26067 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
26068 if (!SWIG_IsOK(res1)) {
26069 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_node_heap_get" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
26071 arg1 = (CvDTreeTrainData *)(argp1);
26072 result = (CvSet *) ((arg1)->node_heap);
26073 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvSet, 0 | 0 );
26074 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
26080 static octave_value_list _wrap_CvDTreeTrainData_split_heap_set (const octave_value_list& args, int nargout) {
26081 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
26082 CvSet *arg2 = (CvSet *) 0 ;
26086 octave_value_list _out;
26087 octave_value_list *_outp=&_out;
26088 octave_value _outv;
26090 if (!SWIG_check_num_args("CvDTreeTrainData_split_heap_set",args.length(),2,2,0)) {
26093 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
26094 if (!SWIG_IsOK(res1)) {
26095 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_split_heap_set" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
26097 arg1 = (CvDTreeTrainData *)(argp1);
26099 if( SWIG_ConvertPtr(args(1), &ptr2, SWIGTYPE_p_CvSet, 0) == -1 &&
26100 SWIG_ConvertPtr(args(1), &ptr2, SWIGTYPE_p_CvGraph, 0) == -1 &&
26101 SWIG_ConvertPtr(args(1), &ptr2, SWIGTYPE_p_CvSubdiv2D, 0) == -1)
26103 SWIG_exception (SWIG_TypeError, "could not convert to CvSet");
26106 arg2 = (CvSet *)ptr2;
26108 if (arg1) (arg1)->split_heap = arg2;
26109 _outv = octave_value();
26110 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
26116 static octave_value_list _wrap_CvDTreeTrainData_split_heap_get (const octave_value_list& args, int nargout) {
26117 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
26120 octave_value_list _out;
26121 octave_value_list *_outp=&_out;
26122 octave_value _outv;
26123 CvSet *result = 0 ;
26125 if (!SWIG_check_num_args("CvDTreeTrainData_split_heap_get",args.length(),1,1,0)) {
26128 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
26129 if (!SWIG_IsOK(res1)) {
26130 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_split_heap_get" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
26132 arg1 = (CvDTreeTrainData *)(argp1);
26133 result = (CvSet *) ((arg1)->split_heap);
26134 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvSet, 0 | 0 );
26135 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
26141 static octave_value_list _wrap_CvDTreeTrainData_cv_heap_set (const octave_value_list& args, int nargout) {
26142 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
26143 CvSet *arg2 = (CvSet *) 0 ;
26147 octave_value_list _out;
26148 octave_value_list *_outp=&_out;
26149 octave_value _outv;
26151 if (!SWIG_check_num_args("CvDTreeTrainData_cv_heap_set",args.length(),2,2,0)) {
26154 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
26155 if (!SWIG_IsOK(res1)) {
26156 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_cv_heap_set" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
26158 arg1 = (CvDTreeTrainData *)(argp1);
26160 if( SWIG_ConvertPtr(args(1), &ptr2, SWIGTYPE_p_CvSet, 0) == -1 &&
26161 SWIG_ConvertPtr(args(1), &ptr2, SWIGTYPE_p_CvGraph, 0) == -1 &&
26162 SWIG_ConvertPtr(args(1), &ptr2, SWIGTYPE_p_CvSubdiv2D, 0) == -1)
26164 SWIG_exception (SWIG_TypeError, "could not convert to CvSet");
26167 arg2 = (CvSet *)ptr2;
26169 if (arg1) (arg1)->cv_heap = arg2;
26170 _outv = octave_value();
26171 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
26177 static octave_value_list _wrap_CvDTreeTrainData_cv_heap_get (const octave_value_list& args, int nargout) {
26178 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
26181 octave_value_list _out;
26182 octave_value_list *_outp=&_out;
26183 octave_value _outv;
26184 CvSet *result = 0 ;
26186 if (!SWIG_check_num_args("CvDTreeTrainData_cv_heap_get",args.length(),1,1,0)) {
26189 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
26190 if (!SWIG_IsOK(res1)) {
26191 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_cv_heap_get" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
26193 arg1 = (CvDTreeTrainData *)(argp1);
26194 result = (CvSet *) ((arg1)->cv_heap);
26195 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvSet, 0 | 0 );
26196 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
26202 static octave_value_list _wrap_CvDTreeTrainData_nv_heap_set (const octave_value_list& args, int nargout) {
26203 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
26204 CvSet *arg2 = (CvSet *) 0 ;
26208 octave_value_list _out;
26209 octave_value_list *_outp=&_out;
26210 octave_value _outv;
26212 if (!SWIG_check_num_args("CvDTreeTrainData_nv_heap_set",args.length(),2,2,0)) {
26215 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
26216 if (!SWIG_IsOK(res1)) {
26217 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_nv_heap_set" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
26219 arg1 = (CvDTreeTrainData *)(argp1);
26221 if( SWIG_ConvertPtr(args(1), &ptr2, SWIGTYPE_p_CvSet, 0) == -1 &&
26222 SWIG_ConvertPtr(args(1), &ptr2, SWIGTYPE_p_CvGraph, 0) == -1 &&
26223 SWIG_ConvertPtr(args(1), &ptr2, SWIGTYPE_p_CvSubdiv2D, 0) == -1)
26225 SWIG_exception (SWIG_TypeError, "could not convert to CvSet");
26228 arg2 = (CvSet *)ptr2;
26230 if (arg1) (arg1)->nv_heap = arg2;
26231 _outv = octave_value();
26232 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
26238 static octave_value_list _wrap_CvDTreeTrainData_nv_heap_get (const octave_value_list& args, int nargout) {
26239 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
26242 octave_value_list _out;
26243 octave_value_list *_outp=&_out;
26244 octave_value _outv;
26245 CvSet *result = 0 ;
26247 if (!SWIG_check_num_args("CvDTreeTrainData_nv_heap_get",args.length(),1,1,0)) {
26250 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
26251 if (!SWIG_IsOK(res1)) {
26252 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_nv_heap_get" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
26254 arg1 = (CvDTreeTrainData *)(argp1);
26255 result = (CvSet *) ((arg1)->nv_heap);
26256 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvSet, 0 | 0 );
26257 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
26263 static octave_value_list _wrap_CvDTreeTrainData_rng_set (const octave_value_list& args, int nargout) {
26264 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
26269 CvRNG_Wrapper *wrapper2 ;
26270 octave_value_list _out;
26271 octave_value_list *_outp=&_out;
26272 octave_value _outv;
26274 if (!SWIG_check_num_args("CvDTreeTrainData_rng_set",args.length(),2,2,0)) {
26277 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
26278 if (!SWIG_IsOK(res1)) {
26279 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_rng_set" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
26281 arg1 = (CvDTreeTrainData *)(argp1);
26283 if(SWIG_ConvertPtr(args(1), &vptr2, SWIGTYPE_p_CvRNG_Wrapper, 0)==-1){
26284 SWIG_exception( SWIG_TypeError, "could not convert Octave object to C value");
26287 wrapper2 = (CvRNG_Wrapper *) vptr2;
26288 arg2 = wrapper2->ref();
26290 if (arg1) (arg1)->rng = arg2;
26291 _outv = octave_value();
26292 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
26298 static octave_value_list _wrap_CvDTreeTrainData_rng_get (const octave_value_list& args, int nargout) {
26299 CvDTreeTrainData *arg1 = (CvDTreeTrainData *) 0 ;
26302 octave_value_list _out;
26303 octave_value_list *_outp=&_out;
26304 octave_value _outv;
26307 if (!SWIG_check_num_args("CvDTreeTrainData_rng_get",args.length(),1,1,0)) {
26310 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
26311 if (!SWIG_IsOK(res1)) {
26312 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTreeTrainData_rng_get" "', argument " "1"" of type '" "CvDTreeTrainData *""'");
26314 arg1 = (CvDTreeTrainData *)(argp1);
26315 result = ((arg1)->rng);
26317 CvRNG_Wrapper * wrapper = new CvRNG_Wrapper( result );
26318 _outv = SWIG_NewPointerObj( wrapper, SWIGTYPE_p_CvRNG_Wrapper, 1 );
26320 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
26326 static swig_octave_member swig_CvDTreeTrainData_members[] = {
26327 {"set_data",_wrap_CvDTreeTrainData_set_data,0,0,0,0},
26328 {"do_responses_copy",_wrap_CvDTreeTrainData_do_responses_copy,0,0,0,0},
26329 {"get_vectors",_wrap_CvDTreeTrainData_get_vectors,0,0,0,0},
26330 {"subsample_data",_wrap_CvDTreeTrainData_subsample_data,0,0,0,0},
26331 {"write_params",_wrap_CvDTreeTrainData_write_params,0,0,0,0},
26332 {"read_params",_wrap_CvDTreeTrainData_read_params,0,0,0,0},
26333 {"clear",_wrap_CvDTreeTrainData_clear,0,0,0,0},
26334 {"get_num_classes",_wrap_CvDTreeTrainData_get_num_classes,0,0,0,0},
26335 {"get_var_type",_wrap_CvDTreeTrainData_get_var_type,0,0,0,0},
26336 {"get_work_var_count",_wrap_CvDTreeTrainData_get_work_var_count,0,0,0,0},
26337 {"get_ord_responses",_wrap_CvDTreeTrainData_get_ord_responses,0,0,0,0},
26338 {"get_class_labels",_wrap_CvDTreeTrainData_get_class_labels,0,0,0,0},
26339 {"get_cv_labels",_wrap_CvDTreeTrainData_get_cv_labels,0,0,0,0},
26340 {"get_sample_indices",_wrap_CvDTreeTrainData_get_sample_indices,0,0,0,0},
26341 {"get_cat_var_data",_wrap_CvDTreeTrainData_get_cat_var_data,0,0,0,0},
26342 {"get_ord_var_data",_wrap_CvDTreeTrainData_get_ord_var_data,0,0,0,0},
26343 {"get_child_buf_idx",_wrap_CvDTreeTrainData_get_child_buf_idx,0,0,0,0},
26344 {"set_params",_wrap_CvDTreeTrainData_set_params,0,0,0,0},
26345 {"new_node",_wrap_CvDTreeTrainData_new_node,0,0,0,0},
26346 {"new_split_ord",_wrap_CvDTreeTrainData_new_split_ord,0,0,0,0},
26347 {"new_split_cat",_wrap_CvDTreeTrainData_new_split_cat,0,0,0,0},
26348 {"free_node_data",_wrap_CvDTreeTrainData_free_node_data,0,0,0,0},
26349 {"free_train_data",_wrap_CvDTreeTrainData_free_train_data,0,0,0,0},
26350 {"free_node",_wrap_CvDTreeTrainData_free_node,0,0,0,0},
26351 {"get_pred_float_buf",_wrap_CvDTreeTrainData_get_pred_float_buf,0,0,0,0},
26352 {"get_pred_int_buf",_wrap_CvDTreeTrainData_get_pred_int_buf,0,0,0,0},
26353 {"get_resp_float_buf",_wrap_CvDTreeTrainData_get_resp_float_buf,0,0,0,0},
26354 {"get_resp_int_buf",_wrap_CvDTreeTrainData_get_resp_int_buf,0,0,0,0},
26355 {"get_cv_lables_buf",_wrap_CvDTreeTrainData_get_cv_lables_buf,0,0,0,0},
26356 {"get_sample_idx_buf",_wrap_CvDTreeTrainData_get_sample_idx_buf,0,0,0,0},
26357 {"pred_float_buf",0,_wrap_CvDTreeTrainData_pred_float_buf_get,_wrap_CvDTreeTrainData_pred_float_buf_set,0,0},
26358 {"pred_int_buf",0,_wrap_CvDTreeTrainData_pred_int_buf_get,_wrap_CvDTreeTrainData_pred_int_buf_set,0,0},
26359 {"resp_float_buf",0,_wrap_CvDTreeTrainData_resp_float_buf_get,_wrap_CvDTreeTrainData_resp_float_buf_set,0,0},
26360 {"resp_int_buf",0,_wrap_CvDTreeTrainData_resp_int_buf_get,_wrap_CvDTreeTrainData_resp_int_buf_set,0,0},
26361 {"cv_lables_buf",0,_wrap_CvDTreeTrainData_cv_lables_buf_get,_wrap_CvDTreeTrainData_cv_lables_buf_set,0,0},
26362 {"sample_idx_buf",0,_wrap_CvDTreeTrainData_sample_idx_buf_get,_wrap_CvDTreeTrainData_sample_idx_buf_set,0,0},
26363 {"sample_count",0,_wrap_CvDTreeTrainData_sample_count_get,_wrap_CvDTreeTrainData_sample_count_set,0,0},
26364 {"var_all",0,_wrap_CvDTreeTrainData_var_all_get,_wrap_CvDTreeTrainData_var_all_set,0,0},
26365 {"var_count",0,_wrap_CvDTreeTrainData_var_count_get,_wrap_CvDTreeTrainData_var_count_set,0,0},
26366 {"max_c_count",0,_wrap_CvDTreeTrainData_max_c_count_get,_wrap_CvDTreeTrainData_max_c_count_set,0,0},
26367 {"ord_var_count",0,_wrap_CvDTreeTrainData_ord_var_count_get,_wrap_CvDTreeTrainData_ord_var_count_set,0,0},
26368 {"cat_var_count",0,_wrap_CvDTreeTrainData_cat_var_count_get,_wrap_CvDTreeTrainData_cat_var_count_set,0,0},
26369 {"work_var_count",0,_wrap_CvDTreeTrainData_work_var_count_get,_wrap_CvDTreeTrainData_work_var_count_set,0,0},
26370 {"have_labels",0,_wrap_CvDTreeTrainData_have_labels_get,_wrap_CvDTreeTrainData_have_labels_set,0,0},
26371 {"have_priors",0,_wrap_CvDTreeTrainData_have_priors_get,_wrap_CvDTreeTrainData_have_priors_set,0,0},
26372 {"is_classifier",0,_wrap_CvDTreeTrainData_is_classifier_get,_wrap_CvDTreeTrainData_is_classifier_set,0,0},
26373 {"tflag",0,_wrap_CvDTreeTrainData_tflag_get,_wrap_CvDTreeTrainData_tflag_set,0,0},
26374 {"train_data",0,_wrap_CvDTreeTrainData_train_data_get,_wrap_CvDTreeTrainData_train_data_set,0,0},
26375 {"responses",0,_wrap_CvDTreeTrainData_responses_get,_wrap_CvDTreeTrainData_responses_set,0,0},
26376 {"responses_copy",0,_wrap_CvDTreeTrainData_responses_copy_get,_wrap_CvDTreeTrainData_responses_copy_set,0,0},
26377 {"buf_count",0,_wrap_CvDTreeTrainData_buf_count_get,_wrap_CvDTreeTrainData_buf_count_set,0,0},
26378 {"buf_size",0,_wrap_CvDTreeTrainData_buf_size_get,_wrap_CvDTreeTrainData_buf_size_set,0,0},
26379 {"shared",0,_wrap_CvDTreeTrainData_shared_get,_wrap_CvDTreeTrainData_shared_set,0,0},
26380 {"is_buf_16u",0,_wrap_CvDTreeTrainData_is_buf_16u_get,_wrap_CvDTreeTrainData_is_buf_16u_set,0,0},
26381 {"cat_count",0,_wrap_CvDTreeTrainData_cat_count_get,_wrap_CvDTreeTrainData_cat_count_set,0,0},
26382 {"cat_ofs",0,_wrap_CvDTreeTrainData_cat_ofs_get,_wrap_CvDTreeTrainData_cat_ofs_set,0,0},
26383 {"cat_map",0,_wrap_CvDTreeTrainData_cat_map_get,_wrap_CvDTreeTrainData_cat_map_set,0,0},
26384 {"counts",0,_wrap_CvDTreeTrainData_counts_get,_wrap_CvDTreeTrainData_counts_set,0,0},
26385 {"buf",0,_wrap_CvDTreeTrainData_buf_get,_wrap_CvDTreeTrainData_buf_set,0,0},
26386 {"direction",0,_wrap_CvDTreeTrainData_direction_get,_wrap_CvDTreeTrainData_direction_set,0,0},
26387 {"split_buf",0,_wrap_CvDTreeTrainData_split_buf_get,_wrap_CvDTreeTrainData_split_buf_set,0,0},
26388 {"var_idx",0,_wrap_CvDTreeTrainData_var_idx_get,_wrap_CvDTreeTrainData_var_idx_set,0,0},
26389 {"var_type",0,_wrap_CvDTreeTrainData_var_type_get,_wrap_CvDTreeTrainData_var_type_set,0,0},
26390 {"priors",0,_wrap_CvDTreeTrainData_priors_get,_wrap_CvDTreeTrainData_priors_set,0,0},
26391 {"priors_mult",0,_wrap_CvDTreeTrainData_priors_mult_get,_wrap_CvDTreeTrainData_priors_mult_set,0,0},
26392 {"params",0,_wrap_CvDTreeTrainData_params_get,_wrap_CvDTreeTrainData_params_set,0,0},
26393 {"tree_storage",0,_wrap_CvDTreeTrainData_tree_storage_get,_wrap_CvDTreeTrainData_tree_storage_set,0,0},
26394 {"temp_storage",0,_wrap_CvDTreeTrainData_temp_storage_get,_wrap_CvDTreeTrainData_temp_storage_set,0,0},
26395 {"data_root",0,_wrap_CvDTreeTrainData_data_root_get,_wrap_CvDTreeTrainData_data_root_set,0,0},
26396 {"node_heap",0,_wrap_CvDTreeTrainData_node_heap_get,_wrap_CvDTreeTrainData_node_heap_set,0,0},
26397 {"split_heap",0,_wrap_CvDTreeTrainData_split_heap_get,_wrap_CvDTreeTrainData_split_heap_set,0,0},
26398 {"cv_heap",0,_wrap_CvDTreeTrainData_cv_heap_get,_wrap_CvDTreeTrainData_cv_heap_set,0,0},
26399 {"nv_heap",0,_wrap_CvDTreeTrainData_nv_heap_get,_wrap_CvDTreeTrainData_nv_heap_set,0,0},
26400 {"rng",0,_wrap_CvDTreeTrainData_rng_get,_wrap_CvDTreeTrainData_rng_set,0,0},
26403 static const char *swig_CvDTreeTrainData_base_names[] = {0};
26404 static const swig_type_info *swig_CvDTreeTrainData_base[] = {0};
26405 static swig_octave_class _wrap_class_CvDTreeTrainData = {"CvDTreeTrainData", &SWIGTYPE_p_CvDTreeTrainData,0,_wrap_new_CvDTreeTrainData,0,_wrap_delete_CvDTreeTrainData,swig_CvDTreeTrainData_members,swig_CvDTreeTrainData_base_names,swig_CvDTreeTrainData_base };
26407 static octave_value_list _wrap_new_CvDTree (const octave_value_list& args, int nargout) {
26408 octave_value_list _out;
26409 octave_value_list *_outp=&_out;
26410 octave_value _outv;
26411 CvDTree *result = 0 ;
26413 if (!SWIG_check_num_args("new_CvDTree",args.length(),0,0,0)) {
26418 result = (CvDTree *)new CvDTree();
26425 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvDTree, 1 | 0 );
26426 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
26432 static octave_value_list _wrap_delete_CvDTree (const octave_value_list& args, int nargout) {
26433 CvDTree *arg1 = (CvDTree *) 0 ;
26436 octave_value_list _out;
26437 octave_value_list *_outp=&_out;
26438 octave_value _outv;
26440 if (!SWIG_check_num_args("delete_CvDTree",args.length(),1,1,0)) {
26443 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTree, SWIG_POINTER_DISOWN | 0 );
26444 if (!SWIG_IsOK(res1)) {
26445 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CvDTree" "', argument " "1"" of type '" "CvDTree *""'");
26447 arg1 = (CvDTree *)(argp1);
26457 _outv = octave_value();
26458 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
26464 static octave_value_list _wrap_CvDTree_train__SWIG_0 (const octave_value_list& args, int nargout) {
26465 CvDTree *arg1 = (CvDTree *) 0 ;
26466 CvMat *arg2 = (CvMat *) 0 ;
26468 CvMat *arg4 = (CvMat *) 0 ;
26469 CvMat *arg5 = (CvMat *) 0 ;
26470 CvMat *arg6 = (CvMat *) 0 ;
26471 CvMat *arg7 = (CvMat *) 0 ;
26472 CvMat *arg8 = (CvMat *) 0 ;
26473 CvDTreeParams arg9 ;
26492 octave_value_list _out;
26493 octave_value_list *_outp=&_out;
26494 octave_value _outv;
26497 if (!SWIG_check_num_args("CvDTree_train",args.length(),9,9,0)) {
26500 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTree, 0 | 0 );
26501 if (!SWIG_IsOK(res1)) {
26502 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTree_train" "', argument " "1"" of type '" "CvDTree *""'");
26504 arg1 = (CvDTree *)(argp1);
26505 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
26506 if (!SWIG_IsOK(res2)) {
26507 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvDTree_train" "', argument " "2"" of type '" "CvMat const *""'");
26509 arg2 = (CvMat *)(argp2);
26510 ecode3 = SWIG_AsVal_int(args(2), &val3);
26511 if (!SWIG_IsOK(ecode3)) {
26512 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvDTree_train" "', argument " "3"" of type '" "int""'");
26514 arg3 = (int)(val3);
26515 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
26516 if (!SWIG_IsOK(res4)) {
26517 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvDTree_train" "', argument " "4"" of type '" "CvMat const *""'");
26519 arg4 = (CvMat *)(argp4);
26520 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
26521 if (!SWIG_IsOK(res5)) {
26522 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvDTree_train" "', argument " "5"" of type '" "CvMat const *""'");
26524 arg5 = (CvMat *)(argp5);
26525 res6 = SWIG_ConvertPtr(args(5), &argp6,SWIGTYPE_p_CvMat, 0 | 0 );
26526 if (!SWIG_IsOK(res6)) {
26527 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "CvDTree_train" "', argument " "6"" of type '" "CvMat const *""'");
26529 arg6 = (CvMat *)(argp6);
26530 res7 = SWIG_ConvertPtr(args(6), &argp7,SWIGTYPE_p_CvMat, 0 | 0 );
26531 if (!SWIG_IsOK(res7)) {
26532 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "CvDTree_train" "', argument " "7"" of type '" "CvMat const *""'");
26534 arg7 = (CvMat *)(argp7);
26535 res8 = SWIG_ConvertPtr(args(7), &argp8,SWIGTYPE_p_CvMat, 0 | 0 );
26536 if (!SWIG_IsOK(res8)) {
26537 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CvDTree_train" "', argument " "8"" of type '" "CvMat const *""'");
26539 arg8 = (CvMat *)(argp8);
26541 res9 = SWIG_ConvertPtr(args(8), &argp9, SWIGTYPE_p_CvDTreeParams, 0 );
26542 if (!SWIG_IsOK(res9)) {
26543 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "CvDTree_train" "', argument " "9"" of type '" "CvDTreeParams""'");
26546 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvDTree_train" "', argument " "9"" of type '" "CvDTreeParams""'");
26548 arg9 = *((CvDTreeParams *)(argp9));
26553 result = (bool)(arg1)->train((CvMat const *)arg2,arg3,(CvMat const *)arg4,(CvMat const *)arg5,(CvMat const *)arg6,(CvMat const *)arg7,(CvMat const *)arg8,arg9);
26560 _outv = SWIG_From_bool((bool)(result));
26561 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
26567 static octave_value_list _wrap_CvDTree_train__SWIG_1 (const octave_value_list& args, int nargout) {
26568 CvDTree *arg1 = (CvDTree *) 0 ;
26569 CvMat *arg2 = (CvMat *) 0 ;
26571 CvMat *arg4 = (CvMat *) 0 ;
26572 CvMat *arg5 = (CvMat *) 0 ;
26573 CvMat *arg6 = (CvMat *) 0 ;
26574 CvMat *arg7 = (CvMat *) 0 ;
26575 CvMat *arg8 = (CvMat *) 0 ;
26592 octave_value_list _out;
26593 octave_value_list *_outp=&_out;
26594 octave_value _outv;
26597 if (!SWIG_check_num_args("CvDTree_train",args.length(),8,8,0)) {
26600 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTree, 0 | 0 );
26601 if (!SWIG_IsOK(res1)) {
26602 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTree_train" "', argument " "1"" of type '" "CvDTree *""'");
26604 arg1 = (CvDTree *)(argp1);
26605 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
26606 if (!SWIG_IsOK(res2)) {
26607 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvDTree_train" "', argument " "2"" of type '" "CvMat const *""'");
26609 arg2 = (CvMat *)(argp2);
26610 ecode3 = SWIG_AsVal_int(args(2), &val3);
26611 if (!SWIG_IsOK(ecode3)) {
26612 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvDTree_train" "', argument " "3"" of type '" "int""'");
26614 arg3 = (int)(val3);
26615 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
26616 if (!SWIG_IsOK(res4)) {
26617 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvDTree_train" "', argument " "4"" of type '" "CvMat const *""'");
26619 arg4 = (CvMat *)(argp4);
26620 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
26621 if (!SWIG_IsOK(res5)) {
26622 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvDTree_train" "', argument " "5"" of type '" "CvMat const *""'");
26624 arg5 = (CvMat *)(argp5);
26625 res6 = SWIG_ConvertPtr(args(5), &argp6,SWIGTYPE_p_CvMat, 0 | 0 );
26626 if (!SWIG_IsOK(res6)) {
26627 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "CvDTree_train" "', argument " "6"" of type '" "CvMat const *""'");
26629 arg6 = (CvMat *)(argp6);
26630 res7 = SWIG_ConvertPtr(args(6), &argp7,SWIGTYPE_p_CvMat, 0 | 0 );
26631 if (!SWIG_IsOK(res7)) {
26632 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "CvDTree_train" "', argument " "7"" of type '" "CvMat const *""'");
26634 arg7 = (CvMat *)(argp7);
26635 res8 = SWIG_ConvertPtr(args(7), &argp8,SWIGTYPE_p_CvMat, 0 | 0 );
26636 if (!SWIG_IsOK(res8)) {
26637 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CvDTree_train" "', argument " "8"" of type '" "CvMat const *""'");
26639 arg8 = (CvMat *)(argp8);
26642 result = (bool)(arg1)->train((CvMat const *)arg2,arg3,(CvMat const *)arg4,(CvMat const *)arg5,(CvMat const *)arg6,(CvMat const *)arg7,(CvMat const *)arg8);
26649 _outv = SWIG_From_bool((bool)(result));
26650 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
26656 static octave_value_list _wrap_CvDTree_train__SWIG_2 (const octave_value_list& args, int nargout) {
26657 CvDTree *arg1 = (CvDTree *) 0 ;
26658 CvMat *arg2 = (CvMat *) 0 ;
26660 CvMat *arg4 = (CvMat *) 0 ;
26661 CvMat *arg5 = (CvMat *) 0 ;
26662 CvMat *arg6 = (CvMat *) 0 ;
26663 CvMat *arg7 = (CvMat *) 0 ;
26678 octave_value_list _out;
26679 octave_value_list *_outp=&_out;
26680 octave_value _outv;
26683 if (!SWIG_check_num_args("CvDTree_train",args.length(),7,7,0)) {
26686 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTree, 0 | 0 );
26687 if (!SWIG_IsOK(res1)) {
26688 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTree_train" "', argument " "1"" of type '" "CvDTree *""'");
26690 arg1 = (CvDTree *)(argp1);
26691 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
26692 if (!SWIG_IsOK(res2)) {
26693 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvDTree_train" "', argument " "2"" of type '" "CvMat const *""'");
26695 arg2 = (CvMat *)(argp2);
26696 ecode3 = SWIG_AsVal_int(args(2), &val3);
26697 if (!SWIG_IsOK(ecode3)) {
26698 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvDTree_train" "', argument " "3"" of type '" "int""'");
26700 arg3 = (int)(val3);
26701 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
26702 if (!SWIG_IsOK(res4)) {
26703 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvDTree_train" "', argument " "4"" of type '" "CvMat const *""'");
26705 arg4 = (CvMat *)(argp4);
26706 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
26707 if (!SWIG_IsOK(res5)) {
26708 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvDTree_train" "', argument " "5"" of type '" "CvMat const *""'");
26710 arg5 = (CvMat *)(argp5);
26711 res6 = SWIG_ConvertPtr(args(5), &argp6,SWIGTYPE_p_CvMat, 0 | 0 );
26712 if (!SWIG_IsOK(res6)) {
26713 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "CvDTree_train" "', argument " "6"" of type '" "CvMat const *""'");
26715 arg6 = (CvMat *)(argp6);
26716 res7 = SWIG_ConvertPtr(args(6), &argp7,SWIGTYPE_p_CvMat, 0 | 0 );
26717 if (!SWIG_IsOK(res7)) {
26718 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "CvDTree_train" "', argument " "7"" of type '" "CvMat const *""'");
26720 arg7 = (CvMat *)(argp7);
26723 result = (bool)(arg1)->train((CvMat const *)arg2,arg3,(CvMat const *)arg4,(CvMat const *)arg5,(CvMat const *)arg6,(CvMat const *)arg7);
26730 _outv = SWIG_From_bool((bool)(result));
26731 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
26737 static octave_value_list _wrap_CvDTree_train__SWIG_3 (const octave_value_list& args, int nargout) {
26738 CvDTree *arg1 = (CvDTree *) 0 ;
26739 CvMat *arg2 = (CvMat *) 0 ;
26741 CvMat *arg4 = (CvMat *) 0 ;
26742 CvMat *arg5 = (CvMat *) 0 ;
26743 CvMat *arg6 = (CvMat *) 0 ;
26756 octave_value_list _out;
26757 octave_value_list *_outp=&_out;
26758 octave_value _outv;
26761 if (!SWIG_check_num_args("CvDTree_train",args.length(),6,6,0)) {
26764 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTree, 0 | 0 );
26765 if (!SWIG_IsOK(res1)) {
26766 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTree_train" "', argument " "1"" of type '" "CvDTree *""'");
26768 arg1 = (CvDTree *)(argp1);
26769 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
26770 if (!SWIG_IsOK(res2)) {
26771 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvDTree_train" "', argument " "2"" of type '" "CvMat const *""'");
26773 arg2 = (CvMat *)(argp2);
26774 ecode3 = SWIG_AsVal_int(args(2), &val3);
26775 if (!SWIG_IsOK(ecode3)) {
26776 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvDTree_train" "', argument " "3"" of type '" "int""'");
26778 arg3 = (int)(val3);
26779 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
26780 if (!SWIG_IsOK(res4)) {
26781 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvDTree_train" "', argument " "4"" of type '" "CvMat const *""'");
26783 arg4 = (CvMat *)(argp4);
26784 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
26785 if (!SWIG_IsOK(res5)) {
26786 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvDTree_train" "', argument " "5"" of type '" "CvMat const *""'");
26788 arg5 = (CvMat *)(argp5);
26789 res6 = SWIG_ConvertPtr(args(5), &argp6,SWIGTYPE_p_CvMat, 0 | 0 );
26790 if (!SWIG_IsOK(res6)) {
26791 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "CvDTree_train" "', argument " "6"" of type '" "CvMat const *""'");
26793 arg6 = (CvMat *)(argp6);
26796 result = (bool)(arg1)->train((CvMat const *)arg2,arg3,(CvMat const *)arg4,(CvMat const *)arg5,(CvMat const *)arg6);
26803 _outv = SWIG_From_bool((bool)(result));
26804 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
26810 static octave_value_list _wrap_CvDTree_train__SWIG_4 (const octave_value_list& args, int nargout) {
26811 CvDTree *arg1 = (CvDTree *) 0 ;
26812 CvMat *arg2 = (CvMat *) 0 ;
26814 CvMat *arg4 = (CvMat *) 0 ;
26815 CvMat *arg5 = (CvMat *) 0 ;
26826 octave_value_list _out;
26827 octave_value_list *_outp=&_out;
26828 octave_value _outv;
26831 if (!SWIG_check_num_args("CvDTree_train",args.length(),5,5,0)) {
26834 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTree, 0 | 0 );
26835 if (!SWIG_IsOK(res1)) {
26836 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTree_train" "', argument " "1"" of type '" "CvDTree *""'");
26838 arg1 = (CvDTree *)(argp1);
26839 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
26840 if (!SWIG_IsOK(res2)) {
26841 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvDTree_train" "', argument " "2"" of type '" "CvMat const *""'");
26843 arg2 = (CvMat *)(argp2);
26844 ecode3 = SWIG_AsVal_int(args(2), &val3);
26845 if (!SWIG_IsOK(ecode3)) {
26846 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvDTree_train" "', argument " "3"" of type '" "int""'");
26848 arg3 = (int)(val3);
26849 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
26850 if (!SWIG_IsOK(res4)) {
26851 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvDTree_train" "', argument " "4"" of type '" "CvMat const *""'");
26853 arg4 = (CvMat *)(argp4);
26854 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
26855 if (!SWIG_IsOK(res5)) {
26856 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvDTree_train" "', argument " "5"" of type '" "CvMat const *""'");
26858 arg5 = (CvMat *)(argp5);
26861 result = (bool)(arg1)->train((CvMat const *)arg2,arg3,(CvMat const *)arg4,(CvMat const *)arg5);
26868 _outv = SWIG_From_bool((bool)(result));
26869 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
26875 static octave_value_list _wrap_CvDTree_train__SWIG_5 (const octave_value_list& args, int nargout) {
26876 CvDTree *arg1 = (CvDTree *) 0 ;
26877 CvMat *arg2 = (CvMat *) 0 ;
26879 CvMat *arg4 = (CvMat *) 0 ;
26888 octave_value_list _out;
26889 octave_value_list *_outp=&_out;
26890 octave_value _outv;
26893 if (!SWIG_check_num_args("CvDTree_train",args.length(),4,4,0)) {
26896 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTree, 0 | 0 );
26897 if (!SWIG_IsOK(res1)) {
26898 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTree_train" "', argument " "1"" of type '" "CvDTree *""'");
26900 arg1 = (CvDTree *)(argp1);
26901 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
26902 if (!SWIG_IsOK(res2)) {
26903 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvDTree_train" "', argument " "2"" of type '" "CvMat const *""'");
26905 arg2 = (CvMat *)(argp2);
26906 ecode3 = SWIG_AsVal_int(args(2), &val3);
26907 if (!SWIG_IsOK(ecode3)) {
26908 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvDTree_train" "', argument " "3"" of type '" "int""'");
26910 arg3 = (int)(val3);
26911 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
26912 if (!SWIG_IsOK(res4)) {
26913 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvDTree_train" "', argument " "4"" of type '" "CvMat const *""'");
26915 arg4 = (CvMat *)(argp4);
26918 result = (bool)(arg1)->train((CvMat const *)arg2,arg3,(CvMat const *)arg4);
26925 _outv = SWIG_From_bool((bool)(result));
26926 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
26932 static octave_value_list _wrap_CvDTree_train__SWIG_6 (const octave_value_list& args, int nargout) {
26933 CvDTree *arg1 = (CvDTree *) 0 ;
26934 CvMLData *arg2 = (CvMLData *) 0 ;
26935 CvDTreeParams arg3 ;
26942 octave_value_list _out;
26943 octave_value_list *_outp=&_out;
26944 octave_value _outv;
26947 if (!SWIG_check_num_args("CvDTree_train",args.length(),3,3,0)) {
26950 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTree, 0 | 0 );
26951 if (!SWIG_IsOK(res1)) {
26952 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTree_train" "', argument " "1"" of type '" "CvDTree *""'");
26954 arg1 = (CvDTree *)(argp1);
26955 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMLData, 0 | 0 );
26956 if (!SWIG_IsOK(res2)) {
26957 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvDTree_train" "', argument " "2"" of type '" "CvMLData *""'");
26959 arg2 = (CvMLData *)(argp2);
26961 res3 = SWIG_ConvertPtr(args(2), &argp3, SWIGTYPE_p_CvDTreeParams, 0 );
26962 if (!SWIG_IsOK(res3)) {
26963 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvDTree_train" "', argument " "3"" of type '" "CvDTreeParams""'");
26966 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvDTree_train" "', argument " "3"" of type '" "CvDTreeParams""'");
26968 arg3 = *((CvDTreeParams *)(argp3));
26973 result = (bool)(arg1)->train(arg2,arg3);
26980 _outv = SWIG_From_bool((bool)(result));
26981 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
26987 static octave_value_list _wrap_CvDTree_train__SWIG_7 (const octave_value_list& args, int nargout) {
26988 CvDTree *arg1 = (CvDTree *) 0 ;
26989 CvMLData *arg2 = (CvMLData *) 0 ;
26994 octave_value_list _out;
26995 octave_value_list *_outp=&_out;
26996 octave_value _outv;
26999 if (!SWIG_check_num_args("CvDTree_train",args.length(),2,2,0)) {
27002 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTree, 0 | 0 );
27003 if (!SWIG_IsOK(res1)) {
27004 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTree_train" "', argument " "1"" of type '" "CvDTree *""'");
27006 arg1 = (CvDTree *)(argp1);
27007 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMLData, 0 | 0 );
27008 if (!SWIG_IsOK(res2)) {
27009 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvDTree_train" "', argument " "2"" of type '" "CvMLData *""'");
27011 arg2 = (CvMLData *)(argp2);
27014 result = (bool)(arg1)->train(arg2);
27021 _outv = SWIG_From_bool((bool)(result));
27022 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
27028 static octave_value_list _wrap_CvDTree_calc_error__SWIG_0 (const octave_value_list& args, int nargout) {
27029 CvDTree *arg1 = (CvDTree *) 0 ;
27030 CvMLData *arg2 = (CvMLData *) 0 ;
27032 vector< float > *arg4 = (vector< float > *) 0 ;
27041 octave_value_list _out;
27042 octave_value_list *_outp=&_out;
27043 octave_value _outv;
27046 if (!SWIG_check_num_args("CvDTree_calc_error",args.length(),4,4,0)) {
27049 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTree, 0 | 0 );
27050 if (!SWIG_IsOK(res1)) {
27051 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTree_calc_error" "', argument " "1"" of type '" "CvDTree *""'");
27053 arg1 = (CvDTree *)(argp1);
27054 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMLData, 0 | 0 );
27055 if (!SWIG_IsOK(res2)) {
27056 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvDTree_calc_error" "', argument " "2"" of type '" "CvMLData *""'");
27058 arg2 = (CvMLData *)(argp2);
27059 ecode3 = SWIG_AsVal_int(args(2), &val3);
27060 if (!SWIG_IsOK(ecode3)) {
27061 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvDTree_calc_error" "', argument " "3"" of type '" "int""'");
27063 arg3 = (int)(val3);
27064 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_vectorT_float_t, 0 | 0 );
27065 if (!SWIG_IsOK(res4)) {
27066 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvDTree_calc_error" "', argument " "4"" of type '" "vector< float > *""'");
27068 arg4 = (vector< float > *)(argp4);
27071 result = (float)(arg1)->calc_error(arg2,arg3,arg4);
27078 _outv = SWIG_From_float((float)(result));
27079 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
27085 static octave_value_list _wrap_CvDTree_calc_error__SWIG_1 (const octave_value_list& args, int nargout) {
27086 CvDTree *arg1 = (CvDTree *) 0 ;
27087 CvMLData *arg2 = (CvMLData *) 0 ;
27095 octave_value_list _out;
27096 octave_value_list *_outp=&_out;
27097 octave_value _outv;
27100 if (!SWIG_check_num_args("CvDTree_calc_error",args.length(),3,3,0)) {
27103 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTree, 0 | 0 );
27104 if (!SWIG_IsOK(res1)) {
27105 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTree_calc_error" "', argument " "1"" of type '" "CvDTree *""'");
27107 arg1 = (CvDTree *)(argp1);
27108 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMLData, 0 | 0 );
27109 if (!SWIG_IsOK(res2)) {
27110 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvDTree_calc_error" "', argument " "2"" of type '" "CvMLData *""'");
27112 arg2 = (CvMLData *)(argp2);
27113 ecode3 = SWIG_AsVal_int(args(2), &val3);
27114 if (!SWIG_IsOK(ecode3)) {
27115 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvDTree_calc_error" "', argument " "3"" of type '" "int""'");
27117 arg3 = (int)(val3);
27120 result = (float)(arg1)->calc_error(arg2,arg3);
27127 _outv = SWIG_From_float((float)(result));
27128 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
27134 static octave_value_list _wrap_CvDTree_calc_error (const octave_value_list& args, int nargout) {
27135 int argc = args.length();
27136 octave_value_ref argv[4]={
27137 octave_value_ref(args,0),octave_value_ref(args,1),octave_value_ref(args,2),octave_value_ref(args,3)
27143 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvDTree, 0);
27144 _v = SWIG_CheckState(res);
27147 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMLData, 0);
27148 _v = SWIG_CheckState(res);
27151 int res = SWIG_AsVal_int(argv[2], NULL);
27152 _v = SWIG_CheckState(res);
27155 return _wrap_CvDTree_calc_error__SWIG_1(args, nargout);
27163 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvDTree, 0);
27164 _v = SWIG_CheckState(res);
27167 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMLData, 0);
27168 _v = SWIG_CheckState(res);
27171 int res = SWIG_AsVal_int(argv[2], NULL);
27172 _v = SWIG_CheckState(res);
27176 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_vectorT_float_t, 0);
27177 _v = SWIG_CheckState(res);
27179 return _wrap_CvDTree_calc_error__SWIG_0(args, nargout);
27186 error("No matching function for overload");
27187 return octave_value_list();
27191 static octave_value_list _wrap_CvDTree_train__SWIG_8 (const octave_value_list& args, int nargout) {
27192 CvDTree *arg1 = (CvDTree *) 0 ;
27193 CvDTreeTrainData *arg2 = (CvDTreeTrainData *) 0 ;
27194 CvMat *arg3 = (CvMat *) 0 ;
27201 octave_value_list _out;
27202 octave_value_list *_outp=&_out;
27203 octave_value _outv;
27206 if (!SWIG_check_num_args("CvDTree_train",args.length(),3,3,0)) {
27209 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTree, 0 | 0 );
27210 if (!SWIG_IsOK(res1)) {
27211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTree_train" "', argument " "1"" of type '" "CvDTree *""'");
27213 arg1 = (CvDTree *)(argp1);
27214 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
27215 if (!SWIG_IsOK(res2)) {
27216 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvDTree_train" "', argument " "2"" of type '" "CvDTreeTrainData *""'");
27218 arg2 = (CvDTreeTrainData *)(argp2);
27219 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvMat, 0 | 0 );
27220 if (!SWIG_IsOK(res3)) {
27221 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvDTree_train" "', argument " "3"" of type '" "CvMat const *""'");
27223 arg3 = (CvMat *)(argp3);
27226 result = (bool)(arg1)->train(arg2,(CvMat const *)arg3);
27233 _outv = SWIG_From_bool((bool)(result));
27234 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
27240 static octave_value_list _wrap_CvDTree_train (const octave_value_list& args, int nargout) {
27241 int argc = args.length();
27242 octave_value_ref argv[9]={
27243 octave_value_ref(args,0),octave_value_ref(args,1),octave_value_ref(args,2),octave_value_ref(args,3),octave_value_ref(args,4),octave_value_ref(args,5),octave_value_ref(args,6),octave_value_ref(args,7),octave_value_ref(args,8)
27249 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvDTree, 0);
27250 _v = SWIG_CheckState(res);
27253 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMLData, 0);
27254 _v = SWIG_CheckState(res);
27256 return _wrap_CvDTree_train__SWIG_7(args, nargout);
27263 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvDTree, 0);
27264 _v = SWIG_CheckState(res);
27267 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMLData, 0);
27268 _v = SWIG_CheckState(res);
27271 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvDTreeParams, 0);
27272 _v = SWIG_CheckState(res);
27274 return _wrap_CvDTree_train__SWIG_6(args, nargout);
27282 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvDTree, 0);
27283 _v = SWIG_CheckState(res);
27286 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvDTreeTrainData, 0);
27287 _v = SWIG_CheckState(res);
27290 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvMat, 0);
27291 _v = SWIG_CheckState(res);
27293 return _wrap_CvDTree_train__SWIG_8(args, nargout);
27301 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvDTree, 0);
27302 _v = SWIG_CheckState(res);
27305 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
27306 _v = SWIG_CheckState(res);
27309 int res = SWIG_AsVal_int(argv[2], NULL);
27310 _v = SWIG_CheckState(res);
27314 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
27315 _v = SWIG_CheckState(res);
27317 return _wrap_CvDTree_train__SWIG_5(args, nargout);
27326 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvDTree, 0);
27327 _v = SWIG_CheckState(res);
27330 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
27331 _v = SWIG_CheckState(res);
27334 int res = SWIG_AsVal_int(argv[2], NULL);
27335 _v = SWIG_CheckState(res);
27339 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
27340 _v = SWIG_CheckState(res);
27343 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvMat, 0);
27344 _v = SWIG_CheckState(res);
27346 return _wrap_CvDTree_train__SWIG_4(args, nargout);
27356 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvDTree, 0);
27357 _v = SWIG_CheckState(res);
27360 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
27361 _v = SWIG_CheckState(res);
27364 int res = SWIG_AsVal_int(argv[2], NULL);
27365 _v = SWIG_CheckState(res);
27369 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
27370 _v = SWIG_CheckState(res);
27373 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvMat, 0);
27374 _v = SWIG_CheckState(res);
27377 int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_CvMat, 0);
27378 _v = SWIG_CheckState(res);
27380 return _wrap_CvDTree_train__SWIG_3(args, nargout);
27391 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvDTree, 0);
27392 _v = SWIG_CheckState(res);
27395 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
27396 _v = SWIG_CheckState(res);
27399 int res = SWIG_AsVal_int(argv[2], NULL);
27400 _v = SWIG_CheckState(res);
27404 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
27405 _v = SWIG_CheckState(res);
27408 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvMat, 0);
27409 _v = SWIG_CheckState(res);
27412 int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_CvMat, 0);
27413 _v = SWIG_CheckState(res);
27416 int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_CvMat, 0);
27417 _v = SWIG_CheckState(res);
27419 return _wrap_CvDTree_train__SWIG_2(args, nargout);
27431 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvDTree, 0);
27432 _v = SWIG_CheckState(res);
27435 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
27436 _v = SWIG_CheckState(res);
27439 int res = SWIG_AsVal_int(argv[2], NULL);
27440 _v = SWIG_CheckState(res);
27444 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
27445 _v = SWIG_CheckState(res);
27448 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvMat, 0);
27449 _v = SWIG_CheckState(res);
27452 int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_CvMat, 0);
27453 _v = SWIG_CheckState(res);
27456 int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_CvMat, 0);
27457 _v = SWIG_CheckState(res);
27460 int res = SWIG_ConvertPtr(argv[7], &vptr, SWIGTYPE_p_CvMat, 0);
27461 _v = SWIG_CheckState(res);
27463 return _wrap_CvDTree_train__SWIG_1(args, nargout);
27476 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvDTree, 0);
27477 _v = SWIG_CheckState(res);
27480 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
27481 _v = SWIG_CheckState(res);
27484 int res = SWIG_AsVal_int(argv[2], NULL);
27485 _v = SWIG_CheckState(res);
27489 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
27490 _v = SWIG_CheckState(res);
27493 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvMat, 0);
27494 _v = SWIG_CheckState(res);
27497 int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_CvMat, 0);
27498 _v = SWIG_CheckState(res);
27501 int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_CvMat, 0);
27502 _v = SWIG_CheckState(res);
27505 int res = SWIG_ConvertPtr(argv[7], &vptr, SWIGTYPE_p_CvMat, 0);
27506 _v = SWIG_CheckState(res);
27509 int res = SWIG_ConvertPtr(argv[8], &vptr, SWIGTYPE_p_CvDTreeParams, 0);
27510 _v = SWIG_CheckState(res);
27512 return _wrap_CvDTree_train__SWIG_0(args, nargout);
27524 error("No matching function for overload");
27525 return octave_value_list();
27529 static octave_value_list _wrap_CvDTree_predict__SWIG_0 (const octave_value_list& args, int nargout) {
27530 CvDTree *arg1 = (CvDTree *) 0 ;
27531 CvMat *arg2 = (CvMat *) 0 ;
27532 CvMat *arg3 = (CvMat *) 0 ;
27542 octave_value_list _out;
27543 octave_value_list *_outp=&_out;
27544 octave_value _outv;
27545 CvDTreeNode *result = 0 ;
27547 if (!SWIG_check_num_args("CvDTree_predict",args.length(),4,4,0)) {
27550 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTree, 0 | 0 );
27551 if (!SWIG_IsOK(res1)) {
27552 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTree_predict" "', argument " "1"" of type '" "CvDTree const *""'");
27554 arg1 = (CvDTree *)(argp1);
27555 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
27556 if (!SWIG_IsOK(res2)) {
27557 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvDTree_predict" "', argument " "2"" of type '" "CvMat const *""'");
27559 arg2 = (CvMat *)(argp2);
27560 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvMat, 0 | 0 );
27561 if (!SWIG_IsOK(res3)) {
27562 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvDTree_predict" "', argument " "3"" of type '" "CvMat const *""'");
27564 arg3 = (CvMat *)(argp3);
27565 ecode4 = SWIG_AsVal_bool(args(3), &val4);
27566 if (!SWIG_IsOK(ecode4)) {
27567 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "CvDTree_predict" "', argument " "4"" of type '" "bool""'");
27569 arg4 = (bool)(val4);
27572 result = (CvDTreeNode *)((CvDTree const *)arg1)->predict((CvMat const *)arg2,(CvMat const *)arg3,arg4);
27579 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvDTreeNode, 0 | 0 );
27580 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
27586 static octave_value_list _wrap_CvDTree_predict__SWIG_1 (const octave_value_list& args, int nargout) {
27587 CvDTree *arg1 = (CvDTree *) 0 ;
27588 CvMat *arg2 = (CvMat *) 0 ;
27589 CvMat *arg3 = (CvMat *) 0 ;
27596 octave_value_list _out;
27597 octave_value_list *_outp=&_out;
27598 octave_value _outv;
27599 CvDTreeNode *result = 0 ;
27601 if (!SWIG_check_num_args("CvDTree_predict",args.length(),3,3,0)) {
27604 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTree, 0 | 0 );
27605 if (!SWIG_IsOK(res1)) {
27606 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTree_predict" "', argument " "1"" of type '" "CvDTree const *""'");
27608 arg1 = (CvDTree *)(argp1);
27609 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
27610 if (!SWIG_IsOK(res2)) {
27611 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvDTree_predict" "', argument " "2"" of type '" "CvMat const *""'");
27613 arg2 = (CvMat *)(argp2);
27614 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvMat, 0 | 0 );
27615 if (!SWIG_IsOK(res3)) {
27616 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvDTree_predict" "', argument " "3"" of type '" "CvMat const *""'");
27618 arg3 = (CvMat *)(argp3);
27621 result = (CvDTreeNode *)((CvDTree const *)arg1)->predict((CvMat const *)arg2,(CvMat const *)arg3);
27628 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvDTreeNode, 0 | 0 );
27629 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
27635 static octave_value_list _wrap_CvDTree_predict__SWIG_2 (const octave_value_list& args, int nargout) {
27636 CvDTree *arg1 = (CvDTree *) 0 ;
27637 CvMat *arg2 = (CvMat *) 0 ;
27642 octave_value_list _out;
27643 octave_value_list *_outp=&_out;
27644 octave_value _outv;
27645 CvDTreeNode *result = 0 ;
27647 if (!SWIG_check_num_args("CvDTree_predict",args.length(),2,2,0)) {
27650 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTree, 0 | 0 );
27651 if (!SWIG_IsOK(res1)) {
27652 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTree_predict" "', argument " "1"" of type '" "CvDTree const *""'");
27654 arg1 = (CvDTree *)(argp1);
27655 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
27656 if (!SWIG_IsOK(res2)) {
27657 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvDTree_predict" "', argument " "2"" of type '" "CvMat const *""'");
27659 arg2 = (CvMat *)(argp2);
27662 result = (CvDTreeNode *)((CvDTree const *)arg1)->predict((CvMat const *)arg2);
27669 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvDTreeNode, 0 | 0 );
27670 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
27676 static octave_value_list _wrap_CvDTree_predict (const octave_value_list& args, int nargout) {
27677 int argc = args.length();
27678 octave_value_ref argv[4]={
27679 octave_value_ref(args,0),octave_value_ref(args,1),octave_value_ref(args,2),octave_value_ref(args,3)
27685 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvDTree, 0);
27686 _v = SWIG_CheckState(res);
27689 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
27690 _v = SWIG_CheckState(res);
27692 return _wrap_CvDTree_predict__SWIG_2(args, nargout);
27699 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvDTree, 0);
27700 _v = SWIG_CheckState(res);
27703 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
27704 _v = SWIG_CheckState(res);
27707 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvMat, 0);
27708 _v = SWIG_CheckState(res);
27710 return _wrap_CvDTree_predict__SWIG_1(args, nargout);
27718 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvDTree, 0);
27719 _v = SWIG_CheckState(res);
27722 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
27723 _v = SWIG_CheckState(res);
27726 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvMat, 0);
27727 _v = SWIG_CheckState(res);
27730 int res = SWIG_AsVal_bool(argv[3], NULL);
27731 _v = SWIG_CheckState(res);
27734 return _wrap_CvDTree_predict__SWIG_0(args, nargout);
27741 error("No matching function for overload");
27742 return octave_value_list();
27746 static octave_value_list _wrap_CvDTree_get_var_importance (const octave_value_list& args, int nargout) {
27747 CvDTree *arg1 = (CvDTree *) 0 ;
27750 octave_value_list _out;
27751 octave_value_list *_outp=&_out;
27752 octave_value _outv;
27753 CvMat *result = 0 ;
27755 if (!SWIG_check_num_args("CvDTree_get_var_importance",args.length(),1,1,0)) {
27758 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTree, 0 | 0 );
27759 if (!SWIG_IsOK(res1)) {
27760 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTree_get_var_importance" "', argument " "1"" of type '" "CvDTree *""'");
27762 arg1 = (CvDTree *)(argp1);
27765 result = (CvMat *)(arg1)->get_var_importance();
27772 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvMat, 0 | 0 );
27773 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
27779 static octave_value_list _wrap_CvDTree_clear (const octave_value_list& args, int nargout) {
27780 CvDTree *arg1 = (CvDTree *) 0 ;
27783 octave_value_list _out;
27784 octave_value_list *_outp=&_out;
27785 octave_value _outv;
27787 if (!SWIG_check_num_args("CvDTree_clear",args.length(),1,1,0)) {
27790 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTree, 0 | 0 );
27791 if (!SWIG_IsOK(res1)) {
27792 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTree_clear" "', argument " "1"" of type '" "CvDTree *""'");
27794 arg1 = (CvDTree *)(argp1);
27804 _outv = octave_value();
27805 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
27811 static octave_value_list _wrap_CvDTree_read__SWIG_0 (const octave_value_list& args, int nargout) {
27812 CvDTree *arg1 = (CvDTree *) 0 ;
27813 CvFileStorage *arg2 = (CvFileStorage *) 0 ;
27814 CvFileNode *arg3 = (CvFileNode *) 0 ;
27821 octave_value_list _out;
27822 octave_value_list *_outp=&_out;
27823 octave_value _outv;
27825 if (!SWIG_check_num_args("CvDTree_read",args.length(),3,3,0)) {
27828 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTree, 0 | 0 );
27829 if (!SWIG_IsOK(res1)) {
27830 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTree_read" "', argument " "1"" of type '" "CvDTree *""'");
27832 arg1 = (CvDTree *)(argp1);
27833 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvFileStorage, 0 | 0 );
27834 if (!SWIG_IsOK(res2)) {
27835 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvDTree_read" "', argument " "2"" of type '" "CvFileStorage *""'");
27837 arg2 = (CvFileStorage *)(argp2);
27838 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvFileNode, 0 | 0 );
27839 if (!SWIG_IsOK(res3)) {
27840 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvDTree_read" "', argument " "3"" of type '" "CvFileNode *""'");
27842 arg3 = (CvFileNode *)(argp3);
27845 (arg1)->read(arg2,arg3);
27852 _outv = octave_value();
27853 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
27859 static octave_value_list _wrap_CvDTree_write__SWIG_0 (const octave_value_list& args, int nargout) {
27860 CvDTree *arg1 = (CvDTree *) 0 ;
27861 CvFileStorage *arg2 = (CvFileStorage *) 0 ;
27862 char *arg3 = (char *) 0 ;
27870 octave_value_list _out;
27871 octave_value_list *_outp=&_out;
27872 octave_value _outv;
27874 if (!SWIG_check_num_args("CvDTree_write",args.length(),3,3,0)) {
27877 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTree, 0 | 0 );
27878 if (!SWIG_IsOK(res1)) {
27879 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTree_write" "', argument " "1"" of type '" "CvDTree const *""'");
27881 arg1 = (CvDTree *)(argp1);
27882 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvFileStorage, 0 | 0 );
27883 if (!SWIG_IsOK(res2)) {
27884 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvDTree_write" "', argument " "2"" of type '" "CvFileStorage *""'");
27886 arg2 = (CvFileStorage *)(argp2);
27887 res3 = SWIG_AsCharPtrAndSize(args(2), &buf3, NULL, &alloc3);
27888 if (!SWIG_IsOK(res3)) {
27889 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvDTree_write" "', argument " "3"" of type '" "char const *""'");
27891 arg3 = (char *)(buf3);
27894 ((CvDTree const *)arg1)->write(arg2,(char const *)arg3);
27901 _outv = octave_value();
27902 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
27903 if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
27909 static octave_value_list _wrap_CvDTree_read__SWIG_1 (const octave_value_list& args, int nargout) {
27910 CvDTree *arg1 = (CvDTree *) 0 ;
27911 CvFileStorage *arg2 = (CvFileStorage *) 0 ;
27912 CvFileNode *arg3 = (CvFileNode *) 0 ;
27913 CvDTreeTrainData *arg4 = (CvDTreeTrainData *) 0 ;
27922 octave_value_list _out;
27923 octave_value_list *_outp=&_out;
27924 octave_value _outv;
27926 if (!SWIG_check_num_args("CvDTree_read",args.length(),4,4,0)) {
27929 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTree, 0 | 0 );
27930 if (!SWIG_IsOK(res1)) {
27931 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTree_read" "', argument " "1"" of type '" "CvDTree *""'");
27933 arg1 = (CvDTree *)(argp1);
27934 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvFileStorage, 0 | 0 );
27935 if (!SWIG_IsOK(res2)) {
27936 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvDTree_read" "', argument " "2"" of type '" "CvFileStorage *""'");
27938 arg2 = (CvFileStorage *)(argp2);
27939 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvFileNode, 0 | 0 );
27940 if (!SWIG_IsOK(res3)) {
27941 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvDTree_read" "', argument " "3"" of type '" "CvFileNode *""'");
27943 arg3 = (CvFileNode *)(argp3);
27944 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
27945 if (!SWIG_IsOK(res4)) {
27946 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvDTree_read" "', argument " "4"" of type '" "CvDTreeTrainData *""'");
27948 arg4 = (CvDTreeTrainData *)(argp4);
27951 (arg1)->read(arg2,arg3,arg4);
27958 _outv = octave_value();
27959 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
27965 static octave_value_list _wrap_CvDTree_read (const octave_value_list& args, int nargout) {
27966 int argc = args.length();
27967 octave_value_ref argv[4]={
27968 octave_value_ref(args,0),octave_value_ref(args,1),octave_value_ref(args,2),octave_value_ref(args,3)
27974 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvDTree, 0);
27975 _v = SWIG_CheckState(res);
27978 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvFileStorage, 0);
27979 _v = SWIG_CheckState(res);
27982 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvFileNode, 0);
27983 _v = SWIG_CheckState(res);
27985 return _wrap_CvDTree_read__SWIG_0(args, nargout);
27993 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvDTree, 0);
27994 _v = SWIG_CheckState(res);
27997 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvFileStorage, 0);
27998 _v = SWIG_CheckState(res);
28001 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvFileNode, 0);
28002 _v = SWIG_CheckState(res);
28005 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvDTreeTrainData, 0);
28006 _v = SWIG_CheckState(res);
28008 return _wrap_CvDTree_read__SWIG_1(args, nargout);
28015 error("No matching function for overload");
28016 return octave_value_list();
28020 static octave_value_list _wrap_CvDTree_write__SWIG_1 (const octave_value_list& args, int nargout) {
28021 CvDTree *arg1 = (CvDTree *) 0 ;
28022 CvFileStorage *arg2 = (CvFileStorage *) 0 ;
28027 octave_value_list _out;
28028 octave_value_list *_outp=&_out;
28029 octave_value _outv;
28031 if (!SWIG_check_num_args("CvDTree_write",args.length(),2,2,0)) {
28034 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTree, 0 | 0 );
28035 if (!SWIG_IsOK(res1)) {
28036 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTree_write" "', argument " "1"" of type '" "CvDTree const *""'");
28038 arg1 = (CvDTree *)(argp1);
28039 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvFileStorage, 0 | 0 );
28040 if (!SWIG_IsOK(res2)) {
28041 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvDTree_write" "', argument " "2"" of type '" "CvFileStorage *""'");
28043 arg2 = (CvFileStorage *)(argp2);
28046 ((CvDTree const *)arg1)->write(arg2);
28053 _outv = octave_value();
28054 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
28060 static octave_value_list _wrap_CvDTree_write (const octave_value_list& args, int nargout) {
28061 int argc = args.length();
28062 octave_value_ref argv[3]={
28063 octave_value_ref(args,0),octave_value_ref(args,1),octave_value_ref(args,2)
28069 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvDTree, 0);
28070 _v = SWIG_CheckState(res);
28073 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvFileStorage, 0);
28074 _v = SWIG_CheckState(res);
28076 return _wrap_CvDTree_write__SWIG_1(args, nargout);
28083 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvDTree, 0);
28084 _v = SWIG_CheckState(res);
28087 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvFileStorage, 0);
28088 _v = SWIG_CheckState(res);
28090 int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
28091 _v = SWIG_CheckState(res);
28093 return _wrap_CvDTree_write__SWIG_0(args, nargout);
28099 error("No matching function for overload");
28100 return octave_value_list();
28104 static octave_value_list _wrap_CvDTree_get_root (const octave_value_list& args, int nargout) {
28105 CvDTree *arg1 = (CvDTree *) 0 ;
28108 octave_value_list _out;
28109 octave_value_list *_outp=&_out;
28110 octave_value _outv;
28111 CvDTreeNode *result = 0 ;
28113 if (!SWIG_check_num_args("CvDTree_get_root",args.length(),1,1,0)) {
28116 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTree, 0 | 0 );
28117 if (!SWIG_IsOK(res1)) {
28118 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTree_get_root" "', argument " "1"" of type '" "CvDTree const *""'");
28120 arg1 = (CvDTree *)(argp1);
28123 result = (CvDTreeNode *)((CvDTree const *)arg1)->get_root();
28130 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvDTreeNode, 0 | 0 );
28131 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
28137 static octave_value_list _wrap_CvDTree_get_pruned_tree_idx (const octave_value_list& args, int nargout) {
28138 CvDTree *arg1 = (CvDTree *) 0 ;
28141 octave_value_list _out;
28142 octave_value_list *_outp=&_out;
28143 octave_value _outv;
28146 if (!SWIG_check_num_args("CvDTree_get_pruned_tree_idx",args.length(),1,1,0)) {
28149 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTree, 0 | 0 );
28150 if (!SWIG_IsOK(res1)) {
28151 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTree_get_pruned_tree_idx" "', argument " "1"" of type '" "CvDTree const *""'");
28153 arg1 = (CvDTree *)(argp1);
28156 result = (int)((CvDTree const *)arg1)->get_pruned_tree_idx();
28163 _outv = SWIG_From_int((int)(result));
28164 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
28170 static octave_value_list _wrap_CvDTree_get_data (const octave_value_list& args, int nargout) {
28171 CvDTree *arg1 = (CvDTree *) 0 ;
28174 octave_value_list _out;
28175 octave_value_list *_outp=&_out;
28176 octave_value _outv;
28177 CvDTreeTrainData *result = 0 ;
28179 if (!SWIG_check_num_args("CvDTree_get_data",args.length(),1,1,0)) {
28182 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTree, 0 | 0 );
28183 if (!SWIG_IsOK(res1)) {
28184 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTree_get_data" "', argument " "1"" of type '" "CvDTree *""'");
28186 arg1 = (CvDTree *)(argp1);
28189 result = (CvDTreeTrainData *)(arg1)->get_data();
28196 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
28197 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
28203 static octave_value_list _wrap_CvDTree_pruned_tree_idx_set (const octave_value_list& args, int nargout) {
28204 CvDTree *arg1 = (CvDTree *) 0 ;
28210 octave_value_list _out;
28211 octave_value_list *_outp=&_out;
28212 octave_value _outv;
28214 if (!SWIG_check_num_args("CvDTree_pruned_tree_idx_set",args.length(),2,2,0)) {
28217 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTree, 0 | 0 );
28218 if (!SWIG_IsOK(res1)) {
28219 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTree_pruned_tree_idx_set" "', argument " "1"" of type '" "CvDTree *""'");
28221 arg1 = (CvDTree *)(argp1);
28222 ecode2 = SWIG_AsVal_int(args(1), &val2);
28223 if (!SWIG_IsOK(ecode2)) {
28224 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvDTree_pruned_tree_idx_set" "', argument " "2"" of type '" "int""'");
28226 arg2 = (int)(val2);
28227 if (arg1) (arg1)->pruned_tree_idx = arg2;
28228 _outv = octave_value();
28229 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
28235 static octave_value_list _wrap_CvDTree_pruned_tree_idx_get (const octave_value_list& args, int nargout) {
28236 CvDTree *arg1 = (CvDTree *) 0 ;
28239 octave_value_list _out;
28240 octave_value_list *_outp=&_out;
28241 octave_value _outv;
28244 if (!SWIG_check_num_args("CvDTree_pruned_tree_idx_get",args.length(),1,1,0)) {
28247 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvDTree, 0 | 0 );
28248 if (!SWIG_IsOK(res1)) {
28249 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvDTree_pruned_tree_idx_get" "', argument " "1"" of type '" "CvDTree *""'");
28251 arg1 = (CvDTree *)(argp1);
28252 result = (int) ((arg1)->pruned_tree_idx);
28253 _outv = SWIG_From_int((int)(result));
28254 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
28260 static swig_octave_member swig_CvDTree_members[] = {
28261 {"calc_error",_wrap_CvDTree_calc_error,0,0,0,0},
28262 {"train",_wrap_CvDTree_train,0,0,0,0},
28263 {"predict",_wrap_CvDTree_predict,0,0,0,0},
28264 {"get_var_importance",_wrap_CvDTree_get_var_importance,0,0,0,0},
28265 {"clear",_wrap_CvDTree_clear,0,0,0,0},
28266 {"read",_wrap_CvDTree_read,0,0,0,0},
28267 {"write",_wrap_CvDTree_write,0,0,0,0},
28268 {"get_root",_wrap_CvDTree_get_root,0,0,0,0},
28269 {"get_pruned_tree_idx",_wrap_CvDTree_get_pruned_tree_idx,0,0,0,0},
28270 {"get_data",_wrap_CvDTree_get_data,0,0,0,0},
28271 {"pruned_tree_idx",0,_wrap_CvDTree_pruned_tree_idx_get,_wrap_CvDTree_pruned_tree_idx_set,0,0},
28274 static const char *swig_CvDTree_base_names[] = {"_p_CvStatModel",0};
28275 static const swig_type_info *swig_CvDTree_base[] = {0,0};
28276 static swig_octave_class _wrap_class_CvDTree = {"CvDTree", &SWIGTYPE_p_CvDTree,0,_wrap_new_CvDTree,0,_wrap_delete_CvDTree,swig_CvDTree_members,swig_CvDTree_base_names,swig_CvDTree_base };
28278 static octave_value_list _wrap_new_CvForestTree (const octave_value_list& args, int nargout) {
28279 octave_value_list _out;
28280 octave_value_list *_outp=&_out;
28281 octave_value _outv;
28282 CvForestTree *result = 0 ;
28284 if (!SWIG_check_num_args("new_CvForestTree",args.length(),0,0,0)) {
28289 result = (CvForestTree *)new CvForestTree();
28296 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvForestTree, 1 | 0 );
28297 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
28303 static octave_value_list _wrap_delete_CvForestTree (const octave_value_list& args, int nargout) {
28304 CvForestTree *arg1 = (CvForestTree *) 0 ;
28307 octave_value_list _out;
28308 octave_value_list *_outp=&_out;
28309 octave_value _outv;
28311 if (!SWIG_check_num_args("delete_CvForestTree",args.length(),1,1,0)) {
28314 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvForestTree, SWIG_POINTER_DISOWN | 0 );
28315 if (!SWIG_IsOK(res1)) {
28316 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CvForestTree" "', argument " "1"" of type '" "CvForestTree *""'");
28318 arg1 = (CvForestTree *)(argp1);
28328 _outv = octave_value();
28329 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
28335 static octave_value_list _wrap_CvForestTree_train__SWIG_0 (const octave_value_list& args, int nargout) {
28336 CvForestTree *arg1 = (CvForestTree *) 0 ;
28337 CvDTreeTrainData *arg2 = (CvDTreeTrainData *) 0 ;
28338 CvMat *arg3 = (CvMat *) 0 ;
28339 CvRTrees *arg4 = (CvRTrees *) 0 ;
28348 octave_value_list _out;
28349 octave_value_list *_outp=&_out;
28350 octave_value _outv;
28353 if (!SWIG_check_num_args("CvForestTree_train",args.length(),4,4,0)) {
28356 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvForestTree, 0 | 0 );
28357 if (!SWIG_IsOK(res1)) {
28358 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvForestTree_train" "', argument " "1"" of type '" "CvForestTree *""'");
28360 arg1 = (CvForestTree *)(argp1);
28361 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
28362 if (!SWIG_IsOK(res2)) {
28363 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvForestTree_train" "', argument " "2"" of type '" "CvDTreeTrainData *""'");
28365 arg2 = (CvDTreeTrainData *)(argp2);
28366 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvMat, 0 | 0 );
28367 if (!SWIG_IsOK(res3)) {
28368 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvForestTree_train" "', argument " "3"" of type '" "CvMat const *""'");
28370 arg3 = (CvMat *)(argp3);
28371 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvRTrees, 0 | 0 );
28372 if (!SWIG_IsOK(res4)) {
28373 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvForestTree_train" "', argument " "4"" of type '" "CvRTrees *""'");
28375 arg4 = (CvRTrees *)(argp4);
28378 result = (bool)(arg1)->train(arg2,(CvMat const *)arg3,arg4);
28385 _outv = SWIG_From_bool((bool)(result));
28386 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
28392 static octave_value_list _wrap_CvForestTree_get_var_count (const octave_value_list& args, int nargout) {
28393 CvForestTree *arg1 = (CvForestTree *) 0 ;
28396 octave_value_list _out;
28397 octave_value_list *_outp=&_out;
28398 octave_value _outv;
28401 if (!SWIG_check_num_args("CvForestTree_get_var_count",args.length(),1,1,0)) {
28404 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvForestTree, 0 | 0 );
28405 if (!SWIG_IsOK(res1)) {
28406 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvForestTree_get_var_count" "', argument " "1"" of type '" "CvForestTree const *""'");
28408 arg1 = (CvForestTree *)(argp1);
28411 result = (int)((CvForestTree const *)arg1)->get_var_count();
28418 _outv = SWIG_From_int((int)(result));
28419 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
28425 static octave_value_list _wrap_CvForestTree_read__SWIG_0 (const octave_value_list& args, int nargout) {
28426 CvForestTree *arg1 = (CvForestTree *) 0 ;
28427 CvFileStorage *arg2 = (CvFileStorage *) 0 ;
28428 CvFileNode *arg3 = (CvFileNode *) 0 ;
28429 CvRTrees *arg4 = (CvRTrees *) 0 ;
28430 CvDTreeTrainData *arg5 = (CvDTreeTrainData *) 0 ;
28441 octave_value_list _out;
28442 octave_value_list *_outp=&_out;
28443 octave_value _outv;
28445 if (!SWIG_check_num_args("CvForestTree_read",args.length(),5,5,0)) {
28448 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvForestTree, 0 | 0 );
28449 if (!SWIG_IsOK(res1)) {
28450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvForestTree_read" "', argument " "1"" of type '" "CvForestTree *""'");
28452 arg1 = (CvForestTree *)(argp1);
28453 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvFileStorage, 0 | 0 );
28454 if (!SWIG_IsOK(res2)) {
28455 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvForestTree_read" "', argument " "2"" of type '" "CvFileStorage *""'");
28457 arg2 = (CvFileStorage *)(argp2);
28458 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvFileNode, 0 | 0 );
28459 if (!SWIG_IsOK(res3)) {
28460 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvForestTree_read" "', argument " "3"" of type '" "CvFileNode *""'");
28462 arg3 = (CvFileNode *)(argp3);
28463 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvRTrees, 0 | 0 );
28464 if (!SWIG_IsOK(res4)) {
28465 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvForestTree_read" "', argument " "4"" of type '" "CvRTrees *""'");
28467 arg4 = (CvRTrees *)(argp4);
28468 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
28469 if (!SWIG_IsOK(res5)) {
28470 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvForestTree_read" "', argument " "5"" of type '" "CvDTreeTrainData *""'");
28472 arg5 = (CvDTreeTrainData *)(argp5);
28475 (arg1)->read(arg2,arg3,arg4,arg5);
28482 _outv = octave_value();
28483 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
28489 static octave_value_list _wrap_CvForestTree_train__SWIG_1 (const octave_value_list& args, int nargout) {
28490 CvForestTree *arg1 = (CvForestTree *) 0 ;
28491 CvMat *arg2 = (CvMat *) 0 ;
28493 CvMat *arg4 = (CvMat *) 0 ;
28494 CvMat *arg5 = (CvMat *) 0 ;
28495 CvMat *arg6 = (CvMat *) 0 ;
28496 CvMat *arg7 = (CvMat *) 0 ;
28497 CvMat *arg8 = (CvMat *) 0 ;
28498 CvDTreeParams arg9 ;
28517 octave_value_list _out;
28518 octave_value_list *_outp=&_out;
28519 octave_value _outv;
28522 if (!SWIG_check_num_args("CvForestTree_train",args.length(),9,9,0)) {
28525 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvForestTree, 0 | 0 );
28526 if (!SWIG_IsOK(res1)) {
28527 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvForestTree_train" "', argument " "1"" of type '" "CvForestTree *""'");
28529 arg1 = (CvForestTree *)(argp1);
28530 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
28531 if (!SWIG_IsOK(res2)) {
28532 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvForestTree_train" "', argument " "2"" of type '" "CvMat const *""'");
28534 arg2 = (CvMat *)(argp2);
28535 ecode3 = SWIG_AsVal_int(args(2), &val3);
28536 if (!SWIG_IsOK(ecode3)) {
28537 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvForestTree_train" "', argument " "3"" of type '" "int""'");
28539 arg3 = (int)(val3);
28540 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
28541 if (!SWIG_IsOK(res4)) {
28542 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvForestTree_train" "', argument " "4"" of type '" "CvMat const *""'");
28544 arg4 = (CvMat *)(argp4);
28545 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
28546 if (!SWIG_IsOK(res5)) {
28547 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvForestTree_train" "', argument " "5"" of type '" "CvMat const *""'");
28549 arg5 = (CvMat *)(argp5);
28550 res6 = SWIG_ConvertPtr(args(5), &argp6,SWIGTYPE_p_CvMat, 0 | 0 );
28551 if (!SWIG_IsOK(res6)) {
28552 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "CvForestTree_train" "', argument " "6"" of type '" "CvMat const *""'");
28554 arg6 = (CvMat *)(argp6);
28555 res7 = SWIG_ConvertPtr(args(6), &argp7,SWIGTYPE_p_CvMat, 0 | 0 );
28556 if (!SWIG_IsOK(res7)) {
28557 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "CvForestTree_train" "', argument " "7"" of type '" "CvMat const *""'");
28559 arg7 = (CvMat *)(argp7);
28560 res8 = SWIG_ConvertPtr(args(7), &argp8,SWIGTYPE_p_CvMat, 0 | 0 );
28561 if (!SWIG_IsOK(res8)) {
28562 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CvForestTree_train" "', argument " "8"" of type '" "CvMat const *""'");
28564 arg8 = (CvMat *)(argp8);
28566 res9 = SWIG_ConvertPtr(args(8), &argp9, SWIGTYPE_p_CvDTreeParams, 0 );
28567 if (!SWIG_IsOK(res9)) {
28568 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "CvForestTree_train" "', argument " "9"" of type '" "CvDTreeParams""'");
28571 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvForestTree_train" "', argument " "9"" of type '" "CvDTreeParams""'");
28573 arg9 = *((CvDTreeParams *)(argp9));
28578 result = (bool)(arg1)->train((CvMat const *)arg2,arg3,(CvMat const *)arg4,(CvMat const *)arg5,(CvMat const *)arg6,(CvMat const *)arg7,(CvMat const *)arg8,arg9);
28585 _outv = SWIG_From_bool((bool)(result));
28586 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
28592 static octave_value_list _wrap_CvForestTree_train__SWIG_2 (const octave_value_list& args, int nargout) {
28593 CvForestTree *arg1 = (CvForestTree *) 0 ;
28594 CvMat *arg2 = (CvMat *) 0 ;
28596 CvMat *arg4 = (CvMat *) 0 ;
28597 CvMat *arg5 = (CvMat *) 0 ;
28598 CvMat *arg6 = (CvMat *) 0 ;
28599 CvMat *arg7 = (CvMat *) 0 ;
28600 CvMat *arg8 = (CvMat *) 0 ;
28617 octave_value_list _out;
28618 octave_value_list *_outp=&_out;
28619 octave_value _outv;
28622 if (!SWIG_check_num_args("CvForestTree_train",args.length(),8,8,0)) {
28625 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvForestTree, 0 | 0 );
28626 if (!SWIG_IsOK(res1)) {
28627 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvForestTree_train" "', argument " "1"" of type '" "CvForestTree *""'");
28629 arg1 = (CvForestTree *)(argp1);
28630 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
28631 if (!SWIG_IsOK(res2)) {
28632 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvForestTree_train" "', argument " "2"" of type '" "CvMat const *""'");
28634 arg2 = (CvMat *)(argp2);
28635 ecode3 = SWIG_AsVal_int(args(2), &val3);
28636 if (!SWIG_IsOK(ecode3)) {
28637 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvForestTree_train" "', argument " "3"" of type '" "int""'");
28639 arg3 = (int)(val3);
28640 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
28641 if (!SWIG_IsOK(res4)) {
28642 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvForestTree_train" "', argument " "4"" of type '" "CvMat const *""'");
28644 arg4 = (CvMat *)(argp4);
28645 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
28646 if (!SWIG_IsOK(res5)) {
28647 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvForestTree_train" "', argument " "5"" of type '" "CvMat const *""'");
28649 arg5 = (CvMat *)(argp5);
28650 res6 = SWIG_ConvertPtr(args(5), &argp6,SWIGTYPE_p_CvMat, 0 | 0 );
28651 if (!SWIG_IsOK(res6)) {
28652 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "CvForestTree_train" "', argument " "6"" of type '" "CvMat const *""'");
28654 arg6 = (CvMat *)(argp6);
28655 res7 = SWIG_ConvertPtr(args(6), &argp7,SWIGTYPE_p_CvMat, 0 | 0 );
28656 if (!SWIG_IsOK(res7)) {
28657 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "CvForestTree_train" "', argument " "7"" of type '" "CvMat const *""'");
28659 arg7 = (CvMat *)(argp7);
28660 res8 = SWIG_ConvertPtr(args(7), &argp8,SWIGTYPE_p_CvMat, 0 | 0 );
28661 if (!SWIG_IsOK(res8)) {
28662 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CvForestTree_train" "', argument " "8"" of type '" "CvMat const *""'");
28664 arg8 = (CvMat *)(argp8);
28667 result = (bool)(arg1)->train((CvMat const *)arg2,arg3,(CvMat const *)arg4,(CvMat const *)arg5,(CvMat const *)arg6,(CvMat const *)arg7,(CvMat const *)arg8);
28674 _outv = SWIG_From_bool((bool)(result));
28675 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
28681 static octave_value_list _wrap_CvForestTree_train__SWIG_3 (const octave_value_list& args, int nargout) {
28682 CvForestTree *arg1 = (CvForestTree *) 0 ;
28683 CvMat *arg2 = (CvMat *) 0 ;
28685 CvMat *arg4 = (CvMat *) 0 ;
28686 CvMat *arg5 = (CvMat *) 0 ;
28687 CvMat *arg6 = (CvMat *) 0 ;
28688 CvMat *arg7 = (CvMat *) 0 ;
28703 octave_value_list _out;
28704 octave_value_list *_outp=&_out;
28705 octave_value _outv;
28708 if (!SWIG_check_num_args("CvForestTree_train",args.length(),7,7,0)) {
28711 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvForestTree, 0 | 0 );
28712 if (!SWIG_IsOK(res1)) {
28713 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvForestTree_train" "', argument " "1"" of type '" "CvForestTree *""'");
28715 arg1 = (CvForestTree *)(argp1);
28716 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
28717 if (!SWIG_IsOK(res2)) {
28718 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvForestTree_train" "', argument " "2"" of type '" "CvMat const *""'");
28720 arg2 = (CvMat *)(argp2);
28721 ecode3 = SWIG_AsVal_int(args(2), &val3);
28722 if (!SWIG_IsOK(ecode3)) {
28723 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvForestTree_train" "', argument " "3"" of type '" "int""'");
28725 arg3 = (int)(val3);
28726 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
28727 if (!SWIG_IsOK(res4)) {
28728 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvForestTree_train" "', argument " "4"" of type '" "CvMat const *""'");
28730 arg4 = (CvMat *)(argp4);
28731 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
28732 if (!SWIG_IsOK(res5)) {
28733 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvForestTree_train" "', argument " "5"" of type '" "CvMat const *""'");
28735 arg5 = (CvMat *)(argp5);
28736 res6 = SWIG_ConvertPtr(args(5), &argp6,SWIGTYPE_p_CvMat, 0 | 0 );
28737 if (!SWIG_IsOK(res6)) {
28738 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "CvForestTree_train" "', argument " "6"" of type '" "CvMat const *""'");
28740 arg6 = (CvMat *)(argp6);
28741 res7 = SWIG_ConvertPtr(args(6), &argp7,SWIGTYPE_p_CvMat, 0 | 0 );
28742 if (!SWIG_IsOK(res7)) {
28743 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "CvForestTree_train" "', argument " "7"" of type '" "CvMat const *""'");
28745 arg7 = (CvMat *)(argp7);
28748 result = (bool)(arg1)->train((CvMat const *)arg2,arg3,(CvMat const *)arg4,(CvMat const *)arg5,(CvMat const *)arg6,(CvMat const *)arg7);
28755 _outv = SWIG_From_bool((bool)(result));
28756 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
28762 static octave_value_list _wrap_CvForestTree_train__SWIG_4 (const octave_value_list& args, int nargout) {
28763 CvForestTree *arg1 = (CvForestTree *) 0 ;
28764 CvMat *arg2 = (CvMat *) 0 ;
28766 CvMat *arg4 = (CvMat *) 0 ;
28767 CvMat *arg5 = (CvMat *) 0 ;
28768 CvMat *arg6 = (CvMat *) 0 ;
28781 octave_value_list _out;
28782 octave_value_list *_outp=&_out;
28783 octave_value _outv;
28786 if (!SWIG_check_num_args("CvForestTree_train",args.length(),6,6,0)) {
28789 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvForestTree, 0 | 0 );
28790 if (!SWIG_IsOK(res1)) {
28791 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvForestTree_train" "', argument " "1"" of type '" "CvForestTree *""'");
28793 arg1 = (CvForestTree *)(argp1);
28794 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
28795 if (!SWIG_IsOK(res2)) {
28796 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvForestTree_train" "', argument " "2"" of type '" "CvMat const *""'");
28798 arg2 = (CvMat *)(argp2);
28799 ecode3 = SWIG_AsVal_int(args(2), &val3);
28800 if (!SWIG_IsOK(ecode3)) {
28801 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvForestTree_train" "', argument " "3"" of type '" "int""'");
28803 arg3 = (int)(val3);
28804 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
28805 if (!SWIG_IsOK(res4)) {
28806 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvForestTree_train" "', argument " "4"" of type '" "CvMat const *""'");
28808 arg4 = (CvMat *)(argp4);
28809 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
28810 if (!SWIG_IsOK(res5)) {
28811 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvForestTree_train" "', argument " "5"" of type '" "CvMat const *""'");
28813 arg5 = (CvMat *)(argp5);
28814 res6 = SWIG_ConvertPtr(args(5), &argp6,SWIGTYPE_p_CvMat, 0 | 0 );
28815 if (!SWIG_IsOK(res6)) {
28816 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "CvForestTree_train" "', argument " "6"" of type '" "CvMat const *""'");
28818 arg6 = (CvMat *)(argp6);
28821 result = (bool)(arg1)->train((CvMat const *)arg2,arg3,(CvMat const *)arg4,(CvMat const *)arg5,(CvMat const *)arg6);
28828 _outv = SWIG_From_bool((bool)(result));
28829 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
28835 static octave_value_list _wrap_CvForestTree_train__SWIG_5 (const octave_value_list& args, int nargout) {
28836 CvForestTree *arg1 = (CvForestTree *) 0 ;
28837 CvMat *arg2 = (CvMat *) 0 ;
28839 CvMat *arg4 = (CvMat *) 0 ;
28840 CvMat *arg5 = (CvMat *) 0 ;
28851 octave_value_list _out;
28852 octave_value_list *_outp=&_out;
28853 octave_value _outv;
28856 if (!SWIG_check_num_args("CvForestTree_train",args.length(),5,5,0)) {
28859 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvForestTree, 0 | 0 );
28860 if (!SWIG_IsOK(res1)) {
28861 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvForestTree_train" "', argument " "1"" of type '" "CvForestTree *""'");
28863 arg1 = (CvForestTree *)(argp1);
28864 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
28865 if (!SWIG_IsOK(res2)) {
28866 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvForestTree_train" "', argument " "2"" of type '" "CvMat const *""'");
28868 arg2 = (CvMat *)(argp2);
28869 ecode3 = SWIG_AsVal_int(args(2), &val3);
28870 if (!SWIG_IsOK(ecode3)) {
28871 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvForestTree_train" "', argument " "3"" of type '" "int""'");
28873 arg3 = (int)(val3);
28874 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
28875 if (!SWIG_IsOK(res4)) {
28876 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvForestTree_train" "', argument " "4"" of type '" "CvMat const *""'");
28878 arg4 = (CvMat *)(argp4);
28879 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
28880 if (!SWIG_IsOK(res5)) {
28881 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvForestTree_train" "', argument " "5"" of type '" "CvMat const *""'");
28883 arg5 = (CvMat *)(argp5);
28886 result = (bool)(arg1)->train((CvMat const *)arg2,arg3,(CvMat const *)arg4,(CvMat const *)arg5);
28893 _outv = SWIG_From_bool((bool)(result));
28894 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
28900 static octave_value_list _wrap_CvForestTree_train__SWIG_6 (const octave_value_list& args, int nargout) {
28901 CvForestTree *arg1 = (CvForestTree *) 0 ;
28902 CvMat *arg2 = (CvMat *) 0 ;
28904 CvMat *arg4 = (CvMat *) 0 ;
28913 octave_value_list _out;
28914 octave_value_list *_outp=&_out;
28915 octave_value _outv;
28918 if (!SWIG_check_num_args("CvForestTree_train",args.length(),4,4,0)) {
28921 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvForestTree, 0 | 0 );
28922 if (!SWIG_IsOK(res1)) {
28923 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvForestTree_train" "', argument " "1"" of type '" "CvForestTree *""'");
28925 arg1 = (CvForestTree *)(argp1);
28926 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
28927 if (!SWIG_IsOK(res2)) {
28928 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvForestTree_train" "', argument " "2"" of type '" "CvMat const *""'");
28930 arg2 = (CvMat *)(argp2);
28931 ecode3 = SWIG_AsVal_int(args(2), &val3);
28932 if (!SWIG_IsOK(ecode3)) {
28933 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvForestTree_train" "', argument " "3"" of type '" "int""'");
28935 arg3 = (int)(val3);
28936 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
28937 if (!SWIG_IsOK(res4)) {
28938 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvForestTree_train" "', argument " "4"" of type '" "CvMat const *""'");
28940 arg4 = (CvMat *)(argp4);
28943 result = (bool)(arg1)->train((CvMat const *)arg2,arg3,(CvMat const *)arg4);
28950 _outv = SWIG_From_bool((bool)(result));
28951 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
28957 static octave_value_list _wrap_CvForestTree_train__SWIG_7 (const octave_value_list& args, int nargout) {
28958 CvForestTree *arg1 = (CvForestTree *) 0 ;
28959 CvDTreeTrainData *arg2 = (CvDTreeTrainData *) 0 ;
28960 CvMat *arg3 = (CvMat *) 0 ;
28967 octave_value_list _out;
28968 octave_value_list *_outp=&_out;
28969 octave_value _outv;
28972 if (!SWIG_check_num_args("CvForestTree_train",args.length(),3,3,0)) {
28975 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvForestTree, 0 | 0 );
28976 if (!SWIG_IsOK(res1)) {
28977 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvForestTree_train" "', argument " "1"" of type '" "CvForestTree *""'");
28979 arg1 = (CvForestTree *)(argp1);
28980 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
28981 if (!SWIG_IsOK(res2)) {
28982 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvForestTree_train" "', argument " "2"" of type '" "CvDTreeTrainData *""'");
28984 arg2 = (CvDTreeTrainData *)(argp2);
28985 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvMat, 0 | 0 );
28986 if (!SWIG_IsOK(res3)) {
28987 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvForestTree_train" "', argument " "3"" of type '" "CvMat const *""'");
28989 arg3 = (CvMat *)(argp3);
28992 result = (bool)(arg1)->train(arg2,(CvMat const *)arg3);
28999 _outv = SWIG_From_bool((bool)(result));
29000 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
29006 static octave_value_list _wrap_CvForestTree_train (const octave_value_list& args, int nargout) {
29007 int argc = args.length();
29008 octave_value_ref argv[9]={
29009 octave_value_ref(args,0),octave_value_ref(args,1),octave_value_ref(args,2),octave_value_ref(args,3),octave_value_ref(args,4),octave_value_ref(args,5),octave_value_ref(args,6),octave_value_ref(args,7),octave_value_ref(args,8)
29015 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvForestTree, 0);
29016 _v = SWIG_CheckState(res);
29019 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvDTreeTrainData, 0);
29020 _v = SWIG_CheckState(res);
29023 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvMat, 0);
29024 _v = SWIG_CheckState(res);
29026 return _wrap_CvForestTree_train__SWIG_7(args, nargout);
29034 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvForestTree, 0);
29035 _v = SWIG_CheckState(res);
29038 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
29039 _v = SWIG_CheckState(res);
29042 int res = SWIG_AsVal_int(argv[2], NULL);
29043 _v = SWIG_CheckState(res);
29047 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
29048 _v = SWIG_CheckState(res);
29050 return _wrap_CvForestTree_train__SWIG_6(args, nargout);
29059 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvForestTree, 0);
29060 _v = SWIG_CheckState(res);
29063 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvDTreeTrainData, 0);
29064 _v = SWIG_CheckState(res);
29067 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvMat, 0);
29068 _v = SWIG_CheckState(res);
29071 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvRTrees, 0);
29072 _v = SWIG_CheckState(res);
29074 return _wrap_CvForestTree_train__SWIG_0(args, nargout);
29083 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvForestTree, 0);
29084 _v = SWIG_CheckState(res);
29087 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
29088 _v = SWIG_CheckState(res);
29091 int res = SWIG_AsVal_int(argv[2], NULL);
29092 _v = SWIG_CheckState(res);
29096 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
29097 _v = SWIG_CheckState(res);
29100 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvMat, 0);
29101 _v = SWIG_CheckState(res);
29103 return _wrap_CvForestTree_train__SWIG_5(args, nargout);
29113 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvForestTree, 0);
29114 _v = SWIG_CheckState(res);
29117 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
29118 _v = SWIG_CheckState(res);
29121 int res = SWIG_AsVal_int(argv[2], NULL);
29122 _v = SWIG_CheckState(res);
29126 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
29127 _v = SWIG_CheckState(res);
29130 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvMat, 0);
29131 _v = SWIG_CheckState(res);
29134 int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_CvMat, 0);
29135 _v = SWIG_CheckState(res);
29137 return _wrap_CvForestTree_train__SWIG_4(args, nargout);
29148 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvForestTree, 0);
29149 _v = SWIG_CheckState(res);
29152 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
29153 _v = SWIG_CheckState(res);
29156 int res = SWIG_AsVal_int(argv[2], NULL);
29157 _v = SWIG_CheckState(res);
29161 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
29162 _v = SWIG_CheckState(res);
29165 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvMat, 0);
29166 _v = SWIG_CheckState(res);
29169 int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_CvMat, 0);
29170 _v = SWIG_CheckState(res);
29173 int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_CvMat, 0);
29174 _v = SWIG_CheckState(res);
29176 return _wrap_CvForestTree_train__SWIG_3(args, nargout);
29188 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvForestTree, 0);
29189 _v = SWIG_CheckState(res);
29192 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
29193 _v = SWIG_CheckState(res);
29196 int res = SWIG_AsVal_int(argv[2], NULL);
29197 _v = SWIG_CheckState(res);
29201 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
29202 _v = SWIG_CheckState(res);
29205 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvMat, 0);
29206 _v = SWIG_CheckState(res);
29209 int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_CvMat, 0);
29210 _v = SWIG_CheckState(res);
29213 int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_CvMat, 0);
29214 _v = SWIG_CheckState(res);
29217 int res = SWIG_ConvertPtr(argv[7], &vptr, SWIGTYPE_p_CvMat, 0);
29218 _v = SWIG_CheckState(res);
29220 return _wrap_CvForestTree_train__SWIG_2(args, nargout);
29233 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvForestTree, 0);
29234 _v = SWIG_CheckState(res);
29237 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
29238 _v = SWIG_CheckState(res);
29241 int res = SWIG_AsVal_int(argv[2], NULL);
29242 _v = SWIG_CheckState(res);
29246 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
29247 _v = SWIG_CheckState(res);
29250 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvMat, 0);
29251 _v = SWIG_CheckState(res);
29254 int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_CvMat, 0);
29255 _v = SWIG_CheckState(res);
29258 int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_CvMat, 0);
29259 _v = SWIG_CheckState(res);
29262 int res = SWIG_ConvertPtr(argv[7], &vptr, SWIGTYPE_p_CvMat, 0);
29263 _v = SWIG_CheckState(res);
29266 int res = SWIG_ConvertPtr(argv[8], &vptr, SWIGTYPE_p_CvDTreeParams, 0);
29267 _v = SWIG_CheckState(res);
29269 return _wrap_CvForestTree_train__SWIG_1(args, nargout);
29281 error("No matching function for overload");
29282 return octave_value_list();
29286 static octave_value_list _wrap_CvForestTree_read__SWIG_1 (const octave_value_list& args, int nargout) {
29287 CvForestTree *arg1 = (CvForestTree *) 0 ;
29288 CvFileStorage *arg2 = (CvFileStorage *) 0 ;
29289 CvFileNode *arg3 = (CvFileNode *) 0 ;
29296 octave_value_list _out;
29297 octave_value_list *_outp=&_out;
29298 octave_value _outv;
29300 if (!SWIG_check_num_args("CvForestTree_read",args.length(),3,3,0)) {
29303 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvForestTree, 0 | 0 );
29304 if (!SWIG_IsOK(res1)) {
29305 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvForestTree_read" "', argument " "1"" of type '" "CvForestTree *""'");
29307 arg1 = (CvForestTree *)(argp1);
29308 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvFileStorage, 0 | 0 );
29309 if (!SWIG_IsOK(res2)) {
29310 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvForestTree_read" "', argument " "2"" of type '" "CvFileStorage *""'");
29312 arg2 = (CvFileStorage *)(argp2);
29313 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvFileNode, 0 | 0 );
29314 if (!SWIG_IsOK(res3)) {
29315 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvForestTree_read" "', argument " "3"" of type '" "CvFileNode *""'");
29317 arg3 = (CvFileNode *)(argp3);
29320 (arg1)->read(arg2,arg3);
29327 _outv = octave_value();
29328 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
29334 static octave_value_list _wrap_CvForestTree_read__SWIG_2 (const octave_value_list& args, int nargout) {
29335 CvForestTree *arg1 = (CvForestTree *) 0 ;
29336 CvFileStorage *arg2 = (CvFileStorage *) 0 ;
29337 CvFileNode *arg3 = (CvFileNode *) 0 ;
29338 CvDTreeTrainData *arg4 = (CvDTreeTrainData *) 0 ;
29347 octave_value_list _out;
29348 octave_value_list *_outp=&_out;
29349 octave_value _outv;
29351 if (!SWIG_check_num_args("CvForestTree_read",args.length(),4,4,0)) {
29354 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvForestTree, 0 | 0 );
29355 if (!SWIG_IsOK(res1)) {
29356 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvForestTree_read" "', argument " "1"" of type '" "CvForestTree *""'");
29358 arg1 = (CvForestTree *)(argp1);
29359 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvFileStorage, 0 | 0 );
29360 if (!SWIG_IsOK(res2)) {
29361 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvForestTree_read" "', argument " "2"" of type '" "CvFileStorage *""'");
29363 arg2 = (CvFileStorage *)(argp2);
29364 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvFileNode, 0 | 0 );
29365 if (!SWIG_IsOK(res3)) {
29366 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvForestTree_read" "', argument " "3"" of type '" "CvFileNode *""'");
29368 arg3 = (CvFileNode *)(argp3);
29369 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
29370 if (!SWIG_IsOK(res4)) {
29371 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvForestTree_read" "', argument " "4"" of type '" "CvDTreeTrainData *""'");
29373 arg4 = (CvDTreeTrainData *)(argp4);
29376 (arg1)->read(arg2,arg3,arg4);
29383 _outv = octave_value();
29384 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
29390 static octave_value_list _wrap_CvForestTree_read (const octave_value_list& args, int nargout) {
29391 int argc = args.length();
29392 octave_value_ref argv[5]={
29393 octave_value_ref(args,0),octave_value_ref(args,1),octave_value_ref(args,2),octave_value_ref(args,3),octave_value_ref(args,4)
29399 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvForestTree, 0);
29400 _v = SWIG_CheckState(res);
29403 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvFileStorage, 0);
29404 _v = SWIG_CheckState(res);
29407 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvFileNode, 0);
29408 _v = SWIG_CheckState(res);
29410 return _wrap_CvForestTree_read__SWIG_1(args, nargout);
29418 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvForestTree, 0);
29419 _v = SWIG_CheckState(res);
29422 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvFileStorage, 0);
29423 _v = SWIG_CheckState(res);
29426 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvFileNode, 0);
29427 _v = SWIG_CheckState(res);
29430 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvDTreeTrainData, 0);
29431 _v = SWIG_CheckState(res);
29433 return _wrap_CvForestTree_read__SWIG_2(args, nargout);
29442 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvForestTree, 0);
29443 _v = SWIG_CheckState(res);
29446 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvFileStorage, 0);
29447 _v = SWIG_CheckState(res);
29450 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvFileNode, 0);
29451 _v = SWIG_CheckState(res);
29454 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvRTrees, 0);
29455 _v = SWIG_CheckState(res);
29458 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvDTreeTrainData, 0);
29459 _v = SWIG_CheckState(res);
29461 return _wrap_CvForestTree_read__SWIG_0(args, nargout);
29469 error("No matching function for overload");
29470 return octave_value_list();
29474 static swig_octave_member swig_CvForestTree_members[] = {
29475 {"get_var_count",_wrap_CvForestTree_get_var_count,0,0,0,0},
29476 {"train",_wrap_CvForestTree_train,0,0,0,0},
29477 {"read",_wrap_CvForestTree_read,0,0,0,0},
29480 static const char *swig_CvForestTree_base_names[] = {"_p_CvDTree",0};
29481 static const swig_type_info *swig_CvForestTree_base[] = {0,0};
29482 static swig_octave_class _wrap_class_CvForestTree = {"CvForestTree", &SWIGTYPE_p_CvForestTree,0,_wrap_new_CvForestTree,0,_wrap_delete_CvForestTree,swig_CvForestTree_members,swig_CvForestTree_base_names,swig_CvForestTree_base };
29484 static octave_value_list _wrap_CvRTParams_calc_var_importance_set (const octave_value_list& args, int nargout) {
29485 CvRTParams *arg1 = (CvRTParams *) 0 ;
29491 octave_value_list _out;
29492 octave_value_list *_outp=&_out;
29493 octave_value _outv;
29495 if (!SWIG_check_num_args("CvRTParams_calc_var_importance_set",args.length(),2,2,0)) {
29498 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvRTParams, 0 | 0 );
29499 if (!SWIG_IsOK(res1)) {
29500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvRTParams_calc_var_importance_set" "', argument " "1"" of type '" "CvRTParams *""'");
29502 arg1 = (CvRTParams *)(argp1);
29503 ecode2 = SWIG_AsVal_bool(args(1), &val2);
29504 if (!SWIG_IsOK(ecode2)) {
29505 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvRTParams_calc_var_importance_set" "', argument " "2"" of type '" "bool""'");
29507 arg2 = (bool)(val2);
29508 if (arg1) (arg1)->calc_var_importance = arg2;
29509 _outv = octave_value();
29510 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
29516 static octave_value_list _wrap_CvRTParams_calc_var_importance_get (const octave_value_list& args, int nargout) {
29517 CvRTParams *arg1 = (CvRTParams *) 0 ;
29520 octave_value_list _out;
29521 octave_value_list *_outp=&_out;
29522 octave_value _outv;
29525 if (!SWIG_check_num_args("CvRTParams_calc_var_importance_get",args.length(),1,1,0)) {
29528 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvRTParams, 0 | 0 );
29529 if (!SWIG_IsOK(res1)) {
29530 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvRTParams_calc_var_importance_get" "', argument " "1"" of type '" "CvRTParams *""'");
29532 arg1 = (CvRTParams *)(argp1);
29533 result = (bool) ((arg1)->calc_var_importance);
29534 _outv = SWIG_From_bool((bool)(result));
29535 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
29541 static octave_value_list _wrap_CvRTParams_nactive_vars_set (const octave_value_list& args, int nargout) {
29542 CvRTParams *arg1 = (CvRTParams *) 0 ;
29548 octave_value_list _out;
29549 octave_value_list *_outp=&_out;
29550 octave_value _outv;
29552 if (!SWIG_check_num_args("CvRTParams_nactive_vars_set",args.length(),2,2,0)) {
29555 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvRTParams, 0 | 0 );
29556 if (!SWIG_IsOK(res1)) {
29557 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvRTParams_nactive_vars_set" "', argument " "1"" of type '" "CvRTParams *""'");
29559 arg1 = (CvRTParams *)(argp1);
29560 ecode2 = SWIG_AsVal_int(args(1), &val2);
29561 if (!SWIG_IsOK(ecode2)) {
29562 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvRTParams_nactive_vars_set" "', argument " "2"" of type '" "int""'");
29564 arg2 = (int)(val2);
29565 if (arg1) (arg1)->nactive_vars = arg2;
29566 _outv = octave_value();
29567 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
29573 static octave_value_list _wrap_CvRTParams_nactive_vars_get (const octave_value_list& args, int nargout) {
29574 CvRTParams *arg1 = (CvRTParams *) 0 ;
29577 octave_value_list _out;
29578 octave_value_list *_outp=&_out;
29579 octave_value _outv;
29582 if (!SWIG_check_num_args("CvRTParams_nactive_vars_get",args.length(),1,1,0)) {
29585 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvRTParams, 0 | 0 );
29586 if (!SWIG_IsOK(res1)) {
29587 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvRTParams_nactive_vars_get" "', argument " "1"" of type '" "CvRTParams *""'");
29589 arg1 = (CvRTParams *)(argp1);
29590 result = (int) ((arg1)->nactive_vars);
29591 _outv = SWIG_From_int((int)(result));
29592 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
29598 static octave_value_list _wrap_CvRTParams_term_crit_set (const octave_value_list& args, int nargout) {
29599 CvRTParams *arg1 = (CvRTParams *) 0 ;
29600 CvTermCriteria *arg2 = (CvTermCriteria *) 0 ;
29605 octave_value_list _out;
29606 octave_value_list *_outp=&_out;
29607 octave_value _outv;
29609 if (!SWIG_check_num_args("CvRTParams_term_crit_set",args.length(),2,2,0)) {
29612 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvRTParams, 0 | 0 );
29613 if (!SWIG_IsOK(res1)) {
29614 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvRTParams_term_crit_set" "', argument " "1"" of type '" "CvRTParams *""'");
29616 arg1 = (CvRTParams *)(argp1);
29617 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvTermCriteria, 0 | 0 );
29618 if (!SWIG_IsOK(res2)) {
29619 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvRTParams_term_crit_set" "', argument " "2"" of type '" "CvTermCriteria *""'");
29621 arg2 = (CvTermCriteria *)(argp2);
29622 if (arg1) (arg1)->term_crit = *arg2;
29623 _outv = octave_value();
29624 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
29630 static octave_value_list _wrap_CvRTParams_term_crit_get (const octave_value_list& args, int nargout) {
29631 CvRTParams *arg1 = (CvRTParams *) 0 ;
29634 octave_value_list _out;
29635 octave_value_list *_outp=&_out;
29636 octave_value _outv;
29637 CvTermCriteria *result = 0 ;
29639 if (!SWIG_check_num_args("CvRTParams_term_crit_get",args.length(),1,1,0)) {
29642 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvRTParams, 0 | 0 );
29643 if (!SWIG_IsOK(res1)) {
29644 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvRTParams_term_crit_get" "', argument " "1"" of type '" "CvRTParams *""'");
29646 arg1 = (CvRTParams *)(argp1);
29647 result = (CvTermCriteria *)& ((arg1)->term_crit);
29648 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvTermCriteria, 0 | 0 );
29649 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
29655 static octave_value_list _wrap_new_CvRTParams__SWIG_0 (const octave_value_list& args, int nargout) {
29656 octave_value_list _out;
29657 octave_value_list *_outp=&_out;
29658 octave_value _outv;
29659 CvRTParams *result = 0 ;
29661 if (!SWIG_check_num_args("new_CvRTParams",args.length(),0,0,0)) {
29666 result = (CvRTParams *)new CvRTParams();
29673 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvRTParams, 1 | 0 );
29674 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
29680 static octave_value_list _wrap_new_CvRTParams__SWIG_1 (const octave_value_list& args, int nargout) {
29686 float *arg6 = (float *) 0 ;
29714 octave_value_list _out;
29715 octave_value_list *_outp=&_out;
29716 octave_value _outv;
29717 CvRTParams *result = 0 ;
29719 if (!SWIG_check_num_args("new_CvRTParams",args.length(),11,11,0)) {
29722 ecode1 = SWIG_AsVal_int(args(0), &val1);
29723 if (!SWIG_IsOK(ecode1)) {
29724 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CvRTParams" "', argument " "1"" of type '" "int""'");
29726 arg1 = (int)(val1);
29727 ecode2 = SWIG_AsVal_int(args(1), &val2);
29728 if (!SWIG_IsOK(ecode2)) {
29729 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CvRTParams" "', argument " "2"" of type '" "int""'");
29731 arg2 = (int)(val2);
29732 ecode3 = SWIG_AsVal_float(args(2), &val3);
29733 if (!SWIG_IsOK(ecode3)) {
29734 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_CvRTParams" "', argument " "3"" of type '" "float""'");
29736 arg3 = (float)(val3);
29737 ecode4 = SWIG_AsVal_bool(args(3), &val4);
29738 if (!SWIG_IsOK(ecode4)) {
29739 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_CvRTParams" "', argument " "4"" of type '" "bool""'");
29741 arg4 = (bool)(val4);
29742 ecode5 = SWIG_AsVal_int(args(4), &val5);
29743 if (!SWIG_IsOK(ecode5)) {
29744 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_CvRTParams" "', argument " "5"" of type '" "int""'");
29746 arg5 = (int)(val5);
29747 res6 = SWIG_ConvertPtr(args(5), &argp6,SWIGTYPE_p_float, 0 | 0 );
29748 if (!SWIG_IsOK(res6)) {
29749 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_CvRTParams" "', argument " "6"" of type '" "float const *""'");
29751 arg6 = (float *)(argp6);
29752 ecode7 = SWIG_AsVal_bool(args(6), &val7);
29753 if (!SWIG_IsOK(ecode7)) {
29754 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_CvRTParams" "', argument " "7"" of type '" "bool""'");
29756 arg7 = (bool)(val7);
29757 ecode8 = SWIG_AsVal_int(args(7), &val8);
29758 if (!SWIG_IsOK(ecode8)) {
29759 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_CvRTParams" "', argument " "8"" of type '" "int""'");
29761 arg8 = (int)(val8);
29762 ecode9 = SWIG_AsVal_int(args(8), &val9);
29763 if (!SWIG_IsOK(ecode9)) {
29764 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_CvRTParams" "', argument " "9"" of type '" "int""'");
29766 arg9 = (int)(val9);
29767 ecode10 = SWIG_AsVal_float(args(9), &val10);
29768 if (!SWIG_IsOK(ecode10)) {
29769 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "new_CvRTParams" "', argument " "10"" of type '" "float""'");
29771 arg10 = (float)(val10);
29772 ecode11 = SWIG_AsVal_int(args(10), &val11);
29773 if (!SWIG_IsOK(ecode11)) {
29774 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "new_CvRTParams" "', argument " "11"" of type '" "int""'");
29776 arg11 = (int)(val11);
29779 result = (CvRTParams *)new CvRTParams(arg1,arg2,arg3,arg4,arg5,(float const *)arg6,arg7,arg8,arg9,arg10,arg11);
29786 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvRTParams, 1 | 0 );
29787 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
29793 static octave_value_list _wrap_new_CvRTParams (const octave_value_list& args, int nargout) {
29794 int argc = args.length();
29795 octave_value_ref argv[11]={
29796 octave_value_ref(args,0),octave_value_ref(args,1),octave_value_ref(args,2),octave_value_ref(args,3),octave_value_ref(args,4),octave_value_ref(args,5),octave_value_ref(args,6),octave_value_ref(args,7),octave_value_ref(args,8),octave_value_ref(args,9),octave_value_ref(args,10)
29800 return _wrap_new_CvRTParams__SWIG_0(args, nargout);
29805 int res = SWIG_AsVal_int(argv[0], NULL);
29806 _v = SWIG_CheckState(res);
29810 int res = SWIG_AsVal_int(argv[1], NULL);
29811 _v = SWIG_CheckState(res);
29815 int res = SWIG_AsVal_float(argv[2], NULL);
29816 _v = SWIG_CheckState(res);
29820 int res = SWIG_AsVal_bool(argv[3], NULL);
29821 _v = SWIG_CheckState(res);
29825 int res = SWIG_AsVal_int(argv[4], NULL);
29826 _v = SWIG_CheckState(res);
29830 int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_float, 0);
29831 _v = SWIG_CheckState(res);
29834 int res = SWIG_AsVal_bool(argv[6], NULL);
29835 _v = SWIG_CheckState(res);
29839 int res = SWIG_AsVal_int(argv[7], NULL);
29840 _v = SWIG_CheckState(res);
29844 int res = SWIG_AsVal_int(argv[8], NULL);
29845 _v = SWIG_CheckState(res);
29849 int res = SWIG_AsVal_float(argv[9], NULL);
29850 _v = SWIG_CheckState(res);
29854 int res = SWIG_AsVal_int(argv[10], NULL);
29855 _v = SWIG_CheckState(res);
29858 return _wrap_new_CvRTParams__SWIG_1(args, nargout);
29872 error("No matching function for overload");
29873 return octave_value_list();
29877 static octave_value_list _wrap_delete_CvRTParams (const octave_value_list& args, int nargout) {
29878 CvRTParams *arg1 = (CvRTParams *) 0 ;
29881 octave_value_list _out;
29882 octave_value_list *_outp=&_out;
29883 octave_value _outv;
29885 if (!SWIG_check_num_args("delete_CvRTParams",args.length(),1,1,0)) {
29888 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvRTParams, SWIG_POINTER_DISOWN | 0 );
29889 if (!SWIG_IsOK(res1)) {
29890 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CvRTParams" "', argument " "1"" of type '" "CvRTParams *""'");
29892 arg1 = (CvRTParams *)(argp1);
29902 _outv = octave_value();
29903 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
29909 static swig_octave_member swig_CvRTParams_members[] = {
29910 {"calc_var_importance",0,_wrap_CvRTParams_calc_var_importance_get,_wrap_CvRTParams_calc_var_importance_set,0,0},
29911 {"nactive_vars",0,_wrap_CvRTParams_nactive_vars_get,_wrap_CvRTParams_nactive_vars_set,0,0},
29912 {"term_crit",0,_wrap_CvRTParams_term_crit_get,_wrap_CvRTParams_term_crit_set,0,0},
29915 static const char *swig_CvRTParams_base_names[] = {"_p_CvDTreeParams",0};
29916 static const swig_type_info *swig_CvRTParams_base[] = {0,0};
29917 static swig_octave_class _wrap_class_CvRTParams = {"CvRTParams", &SWIGTYPE_p_CvRTParams,0,_wrap_new_CvRTParams,0,_wrap_delete_CvRTParams,swig_CvRTParams_members,swig_CvRTParams_base_names,swig_CvRTParams_base };
29919 static octave_value_list _wrap_new_CvRTrees (const octave_value_list& args, int nargout) {
29920 octave_value_list _out;
29921 octave_value_list *_outp=&_out;
29922 octave_value _outv;
29923 CvRTrees *result = 0 ;
29925 if (!SWIG_check_num_args("new_CvRTrees",args.length(),0,0,0)) {
29930 result = (CvRTrees *)new CvRTrees();
29937 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvRTrees, 1 | 0 );
29938 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
29944 static octave_value_list _wrap_delete_CvRTrees (const octave_value_list& args, int nargout) {
29945 CvRTrees *arg1 = (CvRTrees *) 0 ;
29948 octave_value_list _out;
29949 octave_value_list *_outp=&_out;
29950 octave_value _outv;
29952 if (!SWIG_check_num_args("delete_CvRTrees",args.length(),1,1,0)) {
29955 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvRTrees, SWIG_POINTER_DISOWN | 0 );
29956 if (!SWIG_IsOK(res1)) {
29957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CvRTrees" "', argument " "1"" of type '" "CvRTrees *""'");
29959 arg1 = (CvRTrees *)(argp1);
29969 _outv = octave_value();
29970 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
29976 static octave_value_list _wrap_CvRTrees_train__SWIG_0 (const octave_value_list& args, int nargout) {
29977 CvRTrees *arg1 = (CvRTrees *) 0 ;
29978 CvMat *arg2 = (CvMat *) 0 ;
29980 CvMat *arg4 = (CvMat *) 0 ;
29981 CvMat *arg5 = (CvMat *) 0 ;
29982 CvMat *arg6 = (CvMat *) 0 ;
29983 CvMat *arg7 = (CvMat *) 0 ;
29984 CvMat *arg8 = (CvMat *) 0 ;
30004 octave_value_list _out;
30005 octave_value_list *_outp=&_out;
30006 octave_value _outv;
30009 if (!SWIG_check_num_args("CvRTrees_train",args.length(),9,9,0)) {
30012 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvRTrees, 0 | 0 );
30013 if (!SWIG_IsOK(res1)) {
30014 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvRTrees_train" "', argument " "1"" of type '" "CvRTrees *""'");
30016 arg1 = (CvRTrees *)(argp1);
30017 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
30018 if (!SWIG_IsOK(res2)) {
30019 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvRTrees_train" "', argument " "2"" of type '" "CvMat const *""'");
30021 arg2 = (CvMat *)(argp2);
30022 ecode3 = SWIG_AsVal_int(args(2), &val3);
30023 if (!SWIG_IsOK(ecode3)) {
30024 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvRTrees_train" "', argument " "3"" of type '" "int""'");
30026 arg3 = (int)(val3);
30027 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
30028 if (!SWIG_IsOK(res4)) {
30029 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvRTrees_train" "', argument " "4"" of type '" "CvMat const *""'");
30031 arg4 = (CvMat *)(argp4);
30032 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
30033 if (!SWIG_IsOK(res5)) {
30034 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvRTrees_train" "', argument " "5"" of type '" "CvMat const *""'");
30036 arg5 = (CvMat *)(argp5);
30037 res6 = SWIG_ConvertPtr(args(5), &argp6,SWIGTYPE_p_CvMat, 0 | 0 );
30038 if (!SWIG_IsOK(res6)) {
30039 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "CvRTrees_train" "', argument " "6"" of type '" "CvMat const *""'");
30041 arg6 = (CvMat *)(argp6);
30042 res7 = SWIG_ConvertPtr(args(6), &argp7,SWIGTYPE_p_CvMat, 0 | 0 );
30043 if (!SWIG_IsOK(res7)) {
30044 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "CvRTrees_train" "', argument " "7"" of type '" "CvMat const *""'");
30046 arg7 = (CvMat *)(argp7);
30047 res8 = SWIG_ConvertPtr(args(7), &argp8,SWIGTYPE_p_CvMat, 0 | 0 );
30048 if (!SWIG_IsOK(res8)) {
30049 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CvRTrees_train" "', argument " "8"" of type '" "CvMat const *""'");
30051 arg8 = (CvMat *)(argp8);
30053 res9 = SWIG_ConvertPtr(args(8), &argp9, SWIGTYPE_p_CvRTParams, 0 );
30054 if (!SWIG_IsOK(res9)) {
30055 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "CvRTrees_train" "', argument " "9"" of type '" "CvRTParams""'");
30058 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvRTrees_train" "', argument " "9"" of type '" "CvRTParams""'");
30060 arg9 = *((CvRTParams *)(argp9));
30065 result = (bool)(arg1)->train((CvMat const *)arg2,arg3,(CvMat const *)arg4,(CvMat const *)arg5,(CvMat const *)arg6,(CvMat const *)arg7,(CvMat const *)arg8,arg9);
30072 _outv = SWIG_From_bool((bool)(result));
30073 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
30079 static octave_value_list _wrap_CvRTrees_train__SWIG_1 (const octave_value_list& args, int nargout) {
30080 CvRTrees *arg1 = (CvRTrees *) 0 ;
30081 CvMat *arg2 = (CvMat *) 0 ;
30083 CvMat *arg4 = (CvMat *) 0 ;
30084 CvMat *arg5 = (CvMat *) 0 ;
30085 CvMat *arg6 = (CvMat *) 0 ;
30086 CvMat *arg7 = (CvMat *) 0 ;
30087 CvMat *arg8 = (CvMat *) 0 ;
30104 octave_value_list _out;
30105 octave_value_list *_outp=&_out;
30106 octave_value _outv;
30109 if (!SWIG_check_num_args("CvRTrees_train",args.length(),8,8,0)) {
30112 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvRTrees, 0 | 0 );
30113 if (!SWIG_IsOK(res1)) {
30114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvRTrees_train" "', argument " "1"" of type '" "CvRTrees *""'");
30116 arg1 = (CvRTrees *)(argp1);
30117 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
30118 if (!SWIG_IsOK(res2)) {
30119 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvRTrees_train" "', argument " "2"" of type '" "CvMat const *""'");
30121 arg2 = (CvMat *)(argp2);
30122 ecode3 = SWIG_AsVal_int(args(2), &val3);
30123 if (!SWIG_IsOK(ecode3)) {
30124 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvRTrees_train" "', argument " "3"" of type '" "int""'");
30126 arg3 = (int)(val3);
30127 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
30128 if (!SWIG_IsOK(res4)) {
30129 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvRTrees_train" "', argument " "4"" of type '" "CvMat const *""'");
30131 arg4 = (CvMat *)(argp4);
30132 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
30133 if (!SWIG_IsOK(res5)) {
30134 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvRTrees_train" "', argument " "5"" of type '" "CvMat const *""'");
30136 arg5 = (CvMat *)(argp5);
30137 res6 = SWIG_ConvertPtr(args(5), &argp6,SWIGTYPE_p_CvMat, 0 | 0 );
30138 if (!SWIG_IsOK(res6)) {
30139 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "CvRTrees_train" "', argument " "6"" of type '" "CvMat const *""'");
30141 arg6 = (CvMat *)(argp6);
30142 res7 = SWIG_ConvertPtr(args(6), &argp7,SWIGTYPE_p_CvMat, 0 | 0 );
30143 if (!SWIG_IsOK(res7)) {
30144 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "CvRTrees_train" "', argument " "7"" of type '" "CvMat const *""'");
30146 arg7 = (CvMat *)(argp7);
30147 res8 = SWIG_ConvertPtr(args(7), &argp8,SWIGTYPE_p_CvMat, 0 | 0 );
30148 if (!SWIG_IsOK(res8)) {
30149 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CvRTrees_train" "', argument " "8"" of type '" "CvMat const *""'");
30151 arg8 = (CvMat *)(argp8);
30154 result = (bool)(arg1)->train((CvMat const *)arg2,arg3,(CvMat const *)arg4,(CvMat const *)arg5,(CvMat const *)arg6,(CvMat const *)arg7,(CvMat const *)arg8);
30161 _outv = SWIG_From_bool((bool)(result));
30162 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
30168 static octave_value_list _wrap_CvRTrees_train__SWIG_2 (const octave_value_list& args, int nargout) {
30169 CvRTrees *arg1 = (CvRTrees *) 0 ;
30170 CvMat *arg2 = (CvMat *) 0 ;
30172 CvMat *arg4 = (CvMat *) 0 ;
30173 CvMat *arg5 = (CvMat *) 0 ;
30174 CvMat *arg6 = (CvMat *) 0 ;
30175 CvMat *arg7 = (CvMat *) 0 ;
30190 octave_value_list _out;
30191 octave_value_list *_outp=&_out;
30192 octave_value _outv;
30195 if (!SWIG_check_num_args("CvRTrees_train",args.length(),7,7,0)) {
30198 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvRTrees, 0 | 0 );
30199 if (!SWIG_IsOK(res1)) {
30200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvRTrees_train" "', argument " "1"" of type '" "CvRTrees *""'");
30202 arg1 = (CvRTrees *)(argp1);
30203 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
30204 if (!SWIG_IsOK(res2)) {
30205 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvRTrees_train" "', argument " "2"" of type '" "CvMat const *""'");
30207 arg2 = (CvMat *)(argp2);
30208 ecode3 = SWIG_AsVal_int(args(2), &val3);
30209 if (!SWIG_IsOK(ecode3)) {
30210 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvRTrees_train" "', argument " "3"" of type '" "int""'");
30212 arg3 = (int)(val3);
30213 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
30214 if (!SWIG_IsOK(res4)) {
30215 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvRTrees_train" "', argument " "4"" of type '" "CvMat const *""'");
30217 arg4 = (CvMat *)(argp4);
30218 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
30219 if (!SWIG_IsOK(res5)) {
30220 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvRTrees_train" "', argument " "5"" of type '" "CvMat const *""'");
30222 arg5 = (CvMat *)(argp5);
30223 res6 = SWIG_ConvertPtr(args(5), &argp6,SWIGTYPE_p_CvMat, 0 | 0 );
30224 if (!SWIG_IsOK(res6)) {
30225 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "CvRTrees_train" "', argument " "6"" of type '" "CvMat const *""'");
30227 arg6 = (CvMat *)(argp6);
30228 res7 = SWIG_ConvertPtr(args(6), &argp7,SWIGTYPE_p_CvMat, 0 | 0 );
30229 if (!SWIG_IsOK(res7)) {
30230 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "CvRTrees_train" "', argument " "7"" of type '" "CvMat const *""'");
30232 arg7 = (CvMat *)(argp7);
30235 result = (bool)(arg1)->train((CvMat const *)arg2,arg3,(CvMat const *)arg4,(CvMat const *)arg5,(CvMat const *)arg6,(CvMat const *)arg7);
30242 _outv = SWIG_From_bool((bool)(result));
30243 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
30249 static octave_value_list _wrap_CvRTrees_train__SWIG_3 (const octave_value_list& args, int nargout) {
30250 CvRTrees *arg1 = (CvRTrees *) 0 ;
30251 CvMat *arg2 = (CvMat *) 0 ;
30253 CvMat *arg4 = (CvMat *) 0 ;
30254 CvMat *arg5 = (CvMat *) 0 ;
30255 CvMat *arg6 = (CvMat *) 0 ;
30268 octave_value_list _out;
30269 octave_value_list *_outp=&_out;
30270 octave_value _outv;
30273 if (!SWIG_check_num_args("CvRTrees_train",args.length(),6,6,0)) {
30276 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvRTrees, 0 | 0 );
30277 if (!SWIG_IsOK(res1)) {
30278 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvRTrees_train" "', argument " "1"" of type '" "CvRTrees *""'");
30280 arg1 = (CvRTrees *)(argp1);
30281 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
30282 if (!SWIG_IsOK(res2)) {
30283 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvRTrees_train" "', argument " "2"" of type '" "CvMat const *""'");
30285 arg2 = (CvMat *)(argp2);
30286 ecode3 = SWIG_AsVal_int(args(2), &val3);
30287 if (!SWIG_IsOK(ecode3)) {
30288 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvRTrees_train" "', argument " "3"" of type '" "int""'");
30290 arg3 = (int)(val3);
30291 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
30292 if (!SWIG_IsOK(res4)) {
30293 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvRTrees_train" "', argument " "4"" of type '" "CvMat const *""'");
30295 arg4 = (CvMat *)(argp4);
30296 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
30297 if (!SWIG_IsOK(res5)) {
30298 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvRTrees_train" "', argument " "5"" of type '" "CvMat const *""'");
30300 arg5 = (CvMat *)(argp5);
30301 res6 = SWIG_ConvertPtr(args(5), &argp6,SWIGTYPE_p_CvMat, 0 | 0 );
30302 if (!SWIG_IsOK(res6)) {
30303 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "CvRTrees_train" "', argument " "6"" of type '" "CvMat const *""'");
30305 arg6 = (CvMat *)(argp6);
30308 result = (bool)(arg1)->train((CvMat const *)arg2,arg3,(CvMat const *)arg4,(CvMat const *)arg5,(CvMat const *)arg6);
30315 _outv = SWIG_From_bool((bool)(result));
30316 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
30322 static octave_value_list _wrap_CvRTrees_train__SWIG_4 (const octave_value_list& args, int nargout) {
30323 CvRTrees *arg1 = (CvRTrees *) 0 ;
30324 CvMat *arg2 = (CvMat *) 0 ;
30326 CvMat *arg4 = (CvMat *) 0 ;
30327 CvMat *arg5 = (CvMat *) 0 ;
30338 octave_value_list _out;
30339 octave_value_list *_outp=&_out;
30340 octave_value _outv;
30343 if (!SWIG_check_num_args("CvRTrees_train",args.length(),5,5,0)) {
30346 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvRTrees, 0 | 0 );
30347 if (!SWIG_IsOK(res1)) {
30348 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvRTrees_train" "', argument " "1"" of type '" "CvRTrees *""'");
30350 arg1 = (CvRTrees *)(argp1);
30351 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
30352 if (!SWIG_IsOK(res2)) {
30353 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvRTrees_train" "', argument " "2"" of type '" "CvMat const *""'");
30355 arg2 = (CvMat *)(argp2);
30356 ecode3 = SWIG_AsVal_int(args(2), &val3);
30357 if (!SWIG_IsOK(ecode3)) {
30358 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvRTrees_train" "', argument " "3"" of type '" "int""'");
30360 arg3 = (int)(val3);
30361 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
30362 if (!SWIG_IsOK(res4)) {
30363 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvRTrees_train" "', argument " "4"" of type '" "CvMat const *""'");
30365 arg4 = (CvMat *)(argp4);
30366 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
30367 if (!SWIG_IsOK(res5)) {
30368 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvRTrees_train" "', argument " "5"" of type '" "CvMat const *""'");
30370 arg5 = (CvMat *)(argp5);
30373 result = (bool)(arg1)->train((CvMat const *)arg2,arg3,(CvMat const *)arg4,(CvMat const *)arg5);
30380 _outv = SWIG_From_bool((bool)(result));
30381 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
30387 static octave_value_list _wrap_CvRTrees_train__SWIG_5 (const octave_value_list& args, int nargout) {
30388 CvRTrees *arg1 = (CvRTrees *) 0 ;
30389 CvMat *arg2 = (CvMat *) 0 ;
30391 CvMat *arg4 = (CvMat *) 0 ;
30400 octave_value_list _out;
30401 octave_value_list *_outp=&_out;
30402 octave_value _outv;
30405 if (!SWIG_check_num_args("CvRTrees_train",args.length(),4,4,0)) {
30408 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvRTrees, 0 | 0 );
30409 if (!SWIG_IsOK(res1)) {
30410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvRTrees_train" "', argument " "1"" of type '" "CvRTrees *""'");
30412 arg1 = (CvRTrees *)(argp1);
30413 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
30414 if (!SWIG_IsOK(res2)) {
30415 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvRTrees_train" "', argument " "2"" of type '" "CvMat const *""'");
30417 arg2 = (CvMat *)(argp2);
30418 ecode3 = SWIG_AsVal_int(args(2), &val3);
30419 if (!SWIG_IsOK(ecode3)) {
30420 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvRTrees_train" "', argument " "3"" of type '" "int""'");
30422 arg3 = (int)(val3);
30423 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
30424 if (!SWIG_IsOK(res4)) {
30425 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvRTrees_train" "', argument " "4"" of type '" "CvMat const *""'");
30427 arg4 = (CvMat *)(argp4);
30430 result = (bool)(arg1)->train((CvMat const *)arg2,arg3,(CvMat const *)arg4);
30437 _outv = SWIG_From_bool((bool)(result));
30438 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
30444 static octave_value_list _wrap_CvRTrees_train__SWIG_6 (const octave_value_list& args, int nargout) {
30445 CvRTrees *arg1 = (CvRTrees *) 0 ;
30446 CvMLData *arg2 = (CvMLData *) 0 ;
30454 octave_value_list _out;
30455 octave_value_list *_outp=&_out;
30456 octave_value _outv;
30459 if (!SWIG_check_num_args("CvRTrees_train",args.length(),3,3,0)) {
30462 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvRTrees, 0 | 0 );
30463 if (!SWIG_IsOK(res1)) {
30464 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvRTrees_train" "', argument " "1"" of type '" "CvRTrees *""'");
30466 arg1 = (CvRTrees *)(argp1);
30467 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMLData, 0 | 0 );
30468 if (!SWIG_IsOK(res2)) {
30469 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvRTrees_train" "', argument " "2"" of type '" "CvMLData *""'");
30471 arg2 = (CvMLData *)(argp2);
30473 res3 = SWIG_ConvertPtr(args(2), &argp3, SWIGTYPE_p_CvRTParams, 0 );
30474 if (!SWIG_IsOK(res3)) {
30475 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvRTrees_train" "', argument " "3"" of type '" "CvRTParams""'");
30478 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvRTrees_train" "', argument " "3"" of type '" "CvRTParams""'");
30480 arg3 = *((CvRTParams *)(argp3));
30485 result = (bool)(arg1)->train(arg2,arg3);
30492 _outv = SWIG_From_bool((bool)(result));
30493 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
30499 static octave_value_list _wrap_CvRTrees_train__SWIG_7 (const octave_value_list& args, int nargout) {
30500 CvRTrees *arg1 = (CvRTrees *) 0 ;
30501 CvMLData *arg2 = (CvMLData *) 0 ;
30506 octave_value_list _out;
30507 octave_value_list *_outp=&_out;
30508 octave_value _outv;
30511 if (!SWIG_check_num_args("CvRTrees_train",args.length(),2,2,0)) {
30514 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvRTrees, 0 | 0 );
30515 if (!SWIG_IsOK(res1)) {
30516 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvRTrees_train" "', argument " "1"" of type '" "CvRTrees *""'");
30518 arg1 = (CvRTrees *)(argp1);
30519 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMLData, 0 | 0 );
30520 if (!SWIG_IsOK(res2)) {
30521 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvRTrees_train" "', argument " "2"" of type '" "CvMLData *""'");
30523 arg2 = (CvMLData *)(argp2);
30526 result = (bool)(arg1)->train(arg2);
30533 _outv = SWIG_From_bool((bool)(result));
30534 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
30540 static octave_value_list _wrap_CvRTrees_train (const octave_value_list& args, int nargout) {
30541 int argc = args.length();
30542 octave_value_ref argv[9]={
30543 octave_value_ref(args,0),octave_value_ref(args,1),octave_value_ref(args,2),octave_value_ref(args,3),octave_value_ref(args,4),octave_value_ref(args,5),octave_value_ref(args,6),octave_value_ref(args,7),octave_value_ref(args,8)
30549 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvRTrees, 0);
30550 _v = SWIG_CheckState(res);
30553 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMLData, 0);
30554 _v = SWIG_CheckState(res);
30556 return _wrap_CvRTrees_train__SWIG_7(args, nargout);
30563 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvRTrees, 0);
30564 _v = SWIG_CheckState(res);
30567 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMLData, 0);
30568 _v = SWIG_CheckState(res);
30571 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvRTParams, 0);
30572 _v = SWIG_CheckState(res);
30574 return _wrap_CvRTrees_train__SWIG_6(args, nargout);
30582 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvRTrees, 0);
30583 _v = SWIG_CheckState(res);
30586 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
30587 _v = SWIG_CheckState(res);
30590 int res = SWIG_AsVal_int(argv[2], NULL);
30591 _v = SWIG_CheckState(res);
30595 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
30596 _v = SWIG_CheckState(res);
30598 return _wrap_CvRTrees_train__SWIG_5(args, nargout);
30607 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvRTrees, 0);
30608 _v = SWIG_CheckState(res);
30611 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
30612 _v = SWIG_CheckState(res);
30615 int res = SWIG_AsVal_int(argv[2], NULL);
30616 _v = SWIG_CheckState(res);
30620 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
30621 _v = SWIG_CheckState(res);
30624 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvMat, 0);
30625 _v = SWIG_CheckState(res);
30627 return _wrap_CvRTrees_train__SWIG_4(args, nargout);
30637 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvRTrees, 0);
30638 _v = SWIG_CheckState(res);
30641 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
30642 _v = SWIG_CheckState(res);
30645 int res = SWIG_AsVal_int(argv[2], NULL);
30646 _v = SWIG_CheckState(res);
30650 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
30651 _v = SWIG_CheckState(res);
30654 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvMat, 0);
30655 _v = SWIG_CheckState(res);
30658 int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_CvMat, 0);
30659 _v = SWIG_CheckState(res);
30661 return _wrap_CvRTrees_train__SWIG_3(args, nargout);
30672 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvRTrees, 0);
30673 _v = SWIG_CheckState(res);
30676 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
30677 _v = SWIG_CheckState(res);
30680 int res = SWIG_AsVal_int(argv[2], NULL);
30681 _v = SWIG_CheckState(res);
30685 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
30686 _v = SWIG_CheckState(res);
30689 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvMat, 0);
30690 _v = SWIG_CheckState(res);
30693 int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_CvMat, 0);
30694 _v = SWIG_CheckState(res);
30697 int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_CvMat, 0);
30698 _v = SWIG_CheckState(res);
30700 return _wrap_CvRTrees_train__SWIG_2(args, nargout);
30712 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvRTrees, 0);
30713 _v = SWIG_CheckState(res);
30716 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
30717 _v = SWIG_CheckState(res);
30720 int res = SWIG_AsVal_int(argv[2], NULL);
30721 _v = SWIG_CheckState(res);
30725 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
30726 _v = SWIG_CheckState(res);
30729 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvMat, 0);
30730 _v = SWIG_CheckState(res);
30733 int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_CvMat, 0);
30734 _v = SWIG_CheckState(res);
30737 int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_CvMat, 0);
30738 _v = SWIG_CheckState(res);
30741 int res = SWIG_ConvertPtr(argv[7], &vptr, SWIGTYPE_p_CvMat, 0);
30742 _v = SWIG_CheckState(res);
30744 return _wrap_CvRTrees_train__SWIG_1(args, nargout);
30757 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvRTrees, 0);
30758 _v = SWIG_CheckState(res);
30761 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
30762 _v = SWIG_CheckState(res);
30765 int res = SWIG_AsVal_int(argv[2], NULL);
30766 _v = SWIG_CheckState(res);
30770 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
30771 _v = SWIG_CheckState(res);
30774 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvMat, 0);
30775 _v = SWIG_CheckState(res);
30778 int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_CvMat, 0);
30779 _v = SWIG_CheckState(res);
30782 int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_CvMat, 0);
30783 _v = SWIG_CheckState(res);
30786 int res = SWIG_ConvertPtr(argv[7], &vptr, SWIGTYPE_p_CvMat, 0);
30787 _v = SWIG_CheckState(res);
30790 int res = SWIG_ConvertPtr(argv[8], &vptr, SWIGTYPE_p_CvRTParams, 0);
30791 _v = SWIG_CheckState(res);
30793 return _wrap_CvRTrees_train__SWIG_0(args, nargout);
30805 error("No matching function for overload");
30806 return octave_value_list();
30810 static octave_value_list _wrap_CvRTrees_predict__SWIG_0 (const octave_value_list& args, int nargout) {
30811 CvRTrees *arg1 = (CvRTrees *) 0 ;
30812 CvMat *arg2 = (CvMat *) 0 ;
30813 CvMat *arg3 = (CvMat *) 0 ;
30820 octave_value_list _out;
30821 octave_value_list *_outp=&_out;
30822 octave_value _outv;
30825 if (!SWIG_check_num_args("CvRTrees_predict",args.length(),3,3,0)) {
30828 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvRTrees, 0 | 0 );
30829 if (!SWIG_IsOK(res1)) {
30830 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvRTrees_predict" "', argument " "1"" of type '" "CvRTrees const *""'");
30832 arg1 = (CvRTrees *)(argp1);
30833 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
30834 if (!SWIG_IsOK(res2)) {
30835 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvRTrees_predict" "', argument " "2"" of type '" "CvMat const *""'");
30837 arg2 = (CvMat *)(argp2);
30838 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvMat, 0 | 0 );
30839 if (!SWIG_IsOK(res3)) {
30840 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvRTrees_predict" "', argument " "3"" of type '" "CvMat const *""'");
30842 arg3 = (CvMat *)(argp3);
30845 result = (float)((CvRTrees const *)arg1)->predict((CvMat const *)arg2,(CvMat const *)arg3);
30852 _outv = SWIG_From_float((float)(result));
30853 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
30859 static octave_value_list _wrap_CvRTrees_predict__SWIG_1 (const octave_value_list& args, int nargout) {
30860 CvRTrees *arg1 = (CvRTrees *) 0 ;
30861 CvMat *arg2 = (CvMat *) 0 ;
30866 octave_value_list _out;
30867 octave_value_list *_outp=&_out;
30868 octave_value _outv;
30871 if (!SWIG_check_num_args("CvRTrees_predict",args.length(),2,2,0)) {
30874 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvRTrees, 0 | 0 );
30875 if (!SWIG_IsOK(res1)) {
30876 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvRTrees_predict" "', argument " "1"" of type '" "CvRTrees const *""'");
30878 arg1 = (CvRTrees *)(argp1);
30879 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
30880 if (!SWIG_IsOK(res2)) {
30881 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvRTrees_predict" "', argument " "2"" of type '" "CvMat const *""'");
30883 arg2 = (CvMat *)(argp2);
30886 result = (float)((CvRTrees const *)arg1)->predict((CvMat const *)arg2);
30893 _outv = SWIG_From_float((float)(result));
30894 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
30900 static octave_value_list _wrap_CvRTrees_predict (const octave_value_list& args, int nargout) {
30901 int argc = args.length();
30902 octave_value_ref argv[3]={
30903 octave_value_ref(args,0),octave_value_ref(args,1),octave_value_ref(args,2)
30909 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvRTrees, 0);
30910 _v = SWIG_CheckState(res);
30913 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
30914 _v = SWIG_CheckState(res);
30916 return _wrap_CvRTrees_predict__SWIG_1(args, nargout);
30923 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvRTrees, 0);
30924 _v = SWIG_CheckState(res);
30927 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
30928 _v = SWIG_CheckState(res);
30931 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvMat, 0);
30932 _v = SWIG_CheckState(res);
30934 return _wrap_CvRTrees_predict__SWIG_0(args, nargout);
30940 error("No matching function for overload");
30941 return octave_value_list();
30945 static octave_value_list _wrap_CvRTrees_predict_prob__SWIG_0 (const octave_value_list& args, int nargout) {
30946 CvRTrees *arg1 = (CvRTrees *) 0 ;
30947 CvMat *arg2 = (CvMat *) 0 ;
30948 CvMat *arg3 = (CvMat *) 0 ;
30955 octave_value_list _out;
30956 octave_value_list *_outp=&_out;
30957 octave_value _outv;
30960 if (!SWIG_check_num_args("CvRTrees_predict_prob",args.length(),3,3,0)) {
30963 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvRTrees, 0 | 0 );
30964 if (!SWIG_IsOK(res1)) {
30965 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvRTrees_predict_prob" "', argument " "1"" of type '" "CvRTrees const *""'");
30967 arg1 = (CvRTrees *)(argp1);
30968 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
30969 if (!SWIG_IsOK(res2)) {
30970 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvRTrees_predict_prob" "', argument " "2"" of type '" "CvMat const *""'");
30972 arg2 = (CvMat *)(argp2);
30973 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvMat, 0 | 0 );
30974 if (!SWIG_IsOK(res3)) {
30975 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvRTrees_predict_prob" "', argument " "3"" of type '" "CvMat const *""'");
30977 arg3 = (CvMat *)(argp3);
30980 result = (float)((CvRTrees const *)arg1)->predict_prob((CvMat const *)arg2,(CvMat const *)arg3);
30987 _outv = SWIG_From_float((float)(result));
30988 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
30994 static octave_value_list _wrap_CvRTrees_predict_prob__SWIG_1 (const octave_value_list& args, int nargout) {
30995 CvRTrees *arg1 = (CvRTrees *) 0 ;
30996 CvMat *arg2 = (CvMat *) 0 ;
31001 octave_value_list _out;
31002 octave_value_list *_outp=&_out;
31003 octave_value _outv;
31006 if (!SWIG_check_num_args("CvRTrees_predict_prob",args.length(),2,2,0)) {
31009 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvRTrees, 0 | 0 );
31010 if (!SWIG_IsOK(res1)) {
31011 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvRTrees_predict_prob" "', argument " "1"" of type '" "CvRTrees const *""'");
31013 arg1 = (CvRTrees *)(argp1);
31014 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
31015 if (!SWIG_IsOK(res2)) {
31016 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvRTrees_predict_prob" "', argument " "2"" of type '" "CvMat const *""'");
31018 arg2 = (CvMat *)(argp2);
31021 result = (float)((CvRTrees const *)arg1)->predict_prob((CvMat const *)arg2);
31028 _outv = SWIG_From_float((float)(result));
31029 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
31035 static octave_value_list _wrap_CvRTrees_predict_prob (const octave_value_list& args, int nargout) {
31036 int argc = args.length();
31037 octave_value_ref argv[3]={
31038 octave_value_ref(args,0),octave_value_ref(args,1),octave_value_ref(args,2)
31044 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvRTrees, 0);
31045 _v = SWIG_CheckState(res);
31048 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
31049 _v = SWIG_CheckState(res);
31051 return _wrap_CvRTrees_predict_prob__SWIG_1(args, nargout);
31058 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvRTrees, 0);
31059 _v = SWIG_CheckState(res);
31062 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
31063 _v = SWIG_CheckState(res);
31066 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvMat, 0);
31067 _v = SWIG_CheckState(res);
31069 return _wrap_CvRTrees_predict_prob__SWIG_0(args, nargout);
31075 error("No matching function for overload");
31076 return octave_value_list();
31080 static octave_value_list _wrap_CvRTrees_clear (const octave_value_list& args, int nargout) {
31081 CvRTrees *arg1 = (CvRTrees *) 0 ;
31084 octave_value_list _out;
31085 octave_value_list *_outp=&_out;
31086 octave_value _outv;
31088 if (!SWIG_check_num_args("CvRTrees_clear",args.length(),1,1,0)) {
31091 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvRTrees, 0 | 0 );
31092 if (!SWIG_IsOK(res1)) {
31093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvRTrees_clear" "', argument " "1"" of type '" "CvRTrees *""'");
31095 arg1 = (CvRTrees *)(argp1);
31105 _outv = octave_value();
31106 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
31112 static octave_value_list _wrap_CvRTrees_get_var_importance (const octave_value_list& args, int nargout) {
31113 CvRTrees *arg1 = (CvRTrees *) 0 ;
31116 octave_value_list _out;
31117 octave_value_list *_outp=&_out;
31118 octave_value _outv;
31119 CvMat *result = 0 ;
31121 if (!SWIG_check_num_args("CvRTrees_get_var_importance",args.length(),1,1,0)) {
31124 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvRTrees, 0 | 0 );
31125 if (!SWIG_IsOK(res1)) {
31126 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvRTrees_get_var_importance" "', argument " "1"" of type '" "CvRTrees *""'");
31128 arg1 = (CvRTrees *)(argp1);
31131 result = (CvMat *)(arg1)->get_var_importance();
31138 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvMat, 0 | 0 );
31139 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
31145 static octave_value_list _wrap_CvRTrees_get_proximity__SWIG_0 (const octave_value_list& args, int nargout) {
31146 CvRTrees *arg1 = (CvRTrees *) 0 ;
31147 CvMat *arg2 = (CvMat *) 0 ;
31148 CvMat *arg3 = (CvMat *) 0 ;
31149 CvMat *arg4 = (CvMat *) 0 ;
31150 CvMat *arg5 = (CvMat *) 0 ;
31161 octave_value_list _out;
31162 octave_value_list *_outp=&_out;
31163 octave_value _outv;
31166 if (!SWIG_check_num_args("CvRTrees_get_proximity",args.length(),5,5,0)) {
31169 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvRTrees, 0 | 0 );
31170 if (!SWIG_IsOK(res1)) {
31171 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvRTrees_get_proximity" "', argument " "1"" of type '" "CvRTrees const *""'");
31173 arg1 = (CvRTrees *)(argp1);
31174 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
31175 if (!SWIG_IsOK(res2)) {
31176 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvRTrees_get_proximity" "', argument " "2"" of type '" "CvMat const *""'");
31178 arg2 = (CvMat *)(argp2);
31179 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvMat, 0 | 0 );
31180 if (!SWIG_IsOK(res3)) {
31181 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvRTrees_get_proximity" "', argument " "3"" of type '" "CvMat const *""'");
31183 arg3 = (CvMat *)(argp3);
31184 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
31185 if (!SWIG_IsOK(res4)) {
31186 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvRTrees_get_proximity" "', argument " "4"" of type '" "CvMat const *""'");
31188 arg4 = (CvMat *)(argp4);
31189 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
31190 if (!SWIG_IsOK(res5)) {
31191 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvRTrees_get_proximity" "', argument " "5"" of type '" "CvMat const *""'");
31193 arg5 = (CvMat *)(argp5);
31196 result = (float)((CvRTrees const *)arg1)->get_proximity((CvMat const *)arg2,(CvMat const *)arg3,(CvMat const *)arg4,(CvMat const *)arg5);
31203 _outv = SWIG_From_float((float)(result));
31204 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
31210 static octave_value_list _wrap_CvRTrees_get_proximity__SWIG_1 (const octave_value_list& args, int nargout) {
31211 CvRTrees *arg1 = (CvRTrees *) 0 ;
31212 CvMat *arg2 = (CvMat *) 0 ;
31213 CvMat *arg3 = (CvMat *) 0 ;
31214 CvMat *arg4 = (CvMat *) 0 ;
31223 octave_value_list _out;
31224 octave_value_list *_outp=&_out;
31225 octave_value _outv;
31228 if (!SWIG_check_num_args("CvRTrees_get_proximity",args.length(),4,4,0)) {
31231 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvRTrees, 0 | 0 );
31232 if (!SWIG_IsOK(res1)) {
31233 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvRTrees_get_proximity" "', argument " "1"" of type '" "CvRTrees const *""'");
31235 arg1 = (CvRTrees *)(argp1);
31236 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
31237 if (!SWIG_IsOK(res2)) {
31238 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvRTrees_get_proximity" "', argument " "2"" of type '" "CvMat const *""'");
31240 arg2 = (CvMat *)(argp2);
31241 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvMat, 0 | 0 );
31242 if (!SWIG_IsOK(res3)) {
31243 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvRTrees_get_proximity" "', argument " "3"" of type '" "CvMat const *""'");
31245 arg3 = (CvMat *)(argp3);
31246 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
31247 if (!SWIG_IsOK(res4)) {
31248 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvRTrees_get_proximity" "', argument " "4"" of type '" "CvMat const *""'");
31250 arg4 = (CvMat *)(argp4);
31253 result = (float)((CvRTrees const *)arg1)->get_proximity((CvMat const *)arg2,(CvMat const *)arg3,(CvMat const *)arg4);
31260 _outv = SWIG_From_float((float)(result));
31261 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
31267 static octave_value_list _wrap_CvRTrees_get_proximity__SWIG_2 (const octave_value_list& args, int nargout) {
31268 CvRTrees *arg1 = (CvRTrees *) 0 ;
31269 CvMat *arg2 = (CvMat *) 0 ;
31270 CvMat *arg3 = (CvMat *) 0 ;
31277 octave_value_list _out;
31278 octave_value_list *_outp=&_out;
31279 octave_value _outv;
31282 if (!SWIG_check_num_args("CvRTrees_get_proximity",args.length(),3,3,0)) {
31285 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvRTrees, 0 | 0 );
31286 if (!SWIG_IsOK(res1)) {
31287 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvRTrees_get_proximity" "', argument " "1"" of type '" "CvRTrees const *""'");
31289 arg1 = (CvRTrees *)(argp1);
31290 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
31291 if (!SWIG_IsOK(res2)) {
31292 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvRTrees_get_proximity" "', argument " "2"" of type '" "CvMat const *""'");
31294 arg2 = (CvMat *)(argp2);
31295 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvMat, 0 | 0 );
31296 if (!SWIG_IsOK(res3)) {
31297 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvRTrees_get_proximity" "', argument " "3"" of type '" "CvMat const *""'");
31299 arg3 = (CvMat *)(argp3);
31302 result = (float)((CvRTrees const *)arg1)->get_proximity((CvMat const *)arg2,(CvMat const *)arg3);
31309 _outv = SWIG_From_float((float)(result));
31310 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
31316 static octave_value_list _wrap_CvRTrees_get_proximity (const octave_value_list& args, int nargout) {
31317 int argc = args.length();
31318 octave_value_ref argv[5]={
31319 octave_value_ref(args,0),octave_value_ref(args,1),octave_value_ref(args,2),octave_value_ref(args,3),octave_value_ref(args,4)
31325 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvRTrees, 0);
31326 _v = SWIG_CheckState(res);
31329 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
31330 _v = SWIG_CheckState(res);
31333 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvMat, 0);
31334 _v = SWIG_CheckState(res);
31336 return _wrap_CvRTrees_get_proximity__SWIG_2(args, nargout);
31344 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvRTrees, 0);
31345 _v = SWIG_CheckState(res);
31348 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
31349 _v = SWIG_CheckState(res);
31352 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvMat, 0);
31353 _v = SWIG_CheckState(res);
31356 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
31357 _v = SWIG_CheckState(res);
31359 return _wrap_CvRTrees_get_proximity__SWIG_1(args, nargout);
31368 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvRTrees, 0);
31369 _v = SWIG_CheckState(res);
31372 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
31373 _v = SWIG_CheckState(res);
31376 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvMat, 0);
31377 _v = SWIG_CheckState(res);
31380 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
31381 _v = SWIG_CheckState(res);
31384 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvMat, 0);
31385 _v = SWIG_CheckState(res);
31387 return _wrap_CvRTrees_get_proximity__SWIG_0(args, nargout);
31395 error("No matching function for overload");
31396 return octave_value_list();
31400 static octave_value_list _wrap_CvRTrees_calc_error__SWIG_0 (const octave_value_list& args, int nargout) {
31401 CvRTrees *arg1 = (CvRTrees *) 0 ;
31402 CvMLData *arg2 = (CvMLData *) 0 ;
31404 vector< float > *arg4 = (vector< float > *) 0 ;
31413 octave_value_list _out;
31414 octave_value_list *_outp=&_out;
31415 octave_value _outv;
31418 if (!SWIG_check_num_args("CvRTrees_calc_error",args.length(),4,4,0)) {
31421 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvRTrees, 0 | 0 );
31422 if (!SWIG_IsOK(res1)) {
31423 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvRTrees_calc_error" "', argument " "1"" of type '" "CvRTrees *""'");
31425 arg1 = (CvRTrees *)(argp1);
31426 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMLData, 0 | 0 );
31427 if (!SWIG_IsOK(res2)) {
31428 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvRTrees_calc_error" "', argument " "2"" of type '" "CvMLData *""'");
31430 arg2 = (CvMLData *)(argp2);
31431 ecode3 = SWIG_AsVal_int(args(2), &val3);
31432 if (!SWIG_IsOK(ecode3)) {
31433 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvRTrees_calc_error" "', argument " "3"" of type '" "int""'");
31435 arg3 = (int)(val3);
31436 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_vectorT_float_t, 0 | 0 );
31437 if (!SWIG_IsOK(res4)) {
31438 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvRTrees_calc_error" "', argument " "4"" of type '" "vector< float > *""'");
31440 arg4 = (vector< float > *)(argp4);
31443 result = (float)(arg1)->calc_error(arg2,arg3,arg4);
31450 _outv = SWIG_From_float((float)(result));
31451 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
31457 static octave_value_list _wrap_CvRTrees_calc_error__SWIG_1 (const octave_value_list& args, int nargout) {
31458 CvRTrees *arg1 = (CvRTrees *) 0 ;
31459 CvMLData *arg2 = (CvMLData *) 0 ;
31467 octave_value_list _out;
31468 octave_value_list *_outp=&_out;
31469 octave_value _outv;
31472 if (!SWIG_check_num_args("CvRTrees_calc_error",args.length(),3,3,0)) {
31475 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvRTrees, 0 | 0 );
31476 if (!SWIG_IsOK(res1)) {
31477 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvRTrees_calc_error" "', argument " "1"" of type '" "CvRTrees *""'");
31479 arg1 = (CvRTrees *)(argp1);
31480 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMLData, 0 | 0 );
31481 if (!SWIG_IsOK(res2)) {
31482 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvRTrees_calc_error" "', argument " "2"" of type '" "CvMLData *""'");
31484 arg2 = (CvMLData *)(argp2);
31485 ecode3 = SWIG_AsVal_int(args(2), &val3);
31486 if (!SWIG_IsOK(ecode3)) {
31487 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvRTrees_calc_error" "', argument " "3"" of type '" "int""'");
31489 arg3 = (int)(val3);
31492 result = (float)(arg1)->calc_error(arg2,arg3);
31499 _outv = SWIG_From_float((float)(result));
31500 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
31506 static octave_value_list _wrap_CvRTrees_calc_error (const octave_value_list& args, int nargout) {
31507 int argc = args.length();
31508 octave_value_ref argv[4]={
31509 octave_value_ref(args,0),octave_value_ref(args,1),octave_value_ref(args,2),octave_value_ref(args,3)
31515 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvRTrees, 0);
31516 _v = SWIG_CheckState(res);
31519 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMLData, 0);
31520 _v = SWIG_CheckState(res);
31523 int res = SWIG_AsVal_int(argv[2], NULL);
31524 _v = SWIG_CheckState(res);
31527 return _wrap_CvRTrees_calc_error__SWIG_1(args, nargout);
31535 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvRTrees, 0);
31536 _v = SWIG_CheckState(res);
31539 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMLData, 0);
31540 _v = SWIG_CheckState(res);
31543 int res = SWIG_AsVal_int(argv[2], NULL);
31544 _v = SWIG_CheckState(res);
31548 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_vectorT_float_t, 0);
31549 _v = SWIG_CheckState(res);
31551 return _wrap_CvRTrees_calc_error__SWIG_0(args, nargout);
31558 error("No matching function for overload");
31559 return octave_value_list();
31563 static octave_value_list _wrap_CvRTrees_get_train_error (const octave_value_list& args, int nargout) {
31564 CvRTrees *arg1 = (CvRTrees *) 0 ;
31567 octave_value_list _out;
31568 octave_value_list *_outp=&_out;
31569 octave_value _outv;
31572 if (!SWIG_check_num_args("CvRTrees_get_train_error",args.length(),1,1,0)) {
31575 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvRTrees, 0 | 0 );
31576 if (!SWIG_IsOK(res1)) {
31577 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvRTrees_get_train_error" "', argument " "1"" of type '" "CvRTrees *""'");
31579 arg1 = (CvRTrees *)(argp1);
31582 result = (float)(arg1)->get_train_error();
31589 _outv = SWIG_From_float((float)(result));
31590 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
31596 static octave_value_list _wrap_CvRTrees_read (const octave_value_list& args, int nargout) {
31597 CvRTrees *arg1 = (CvRTrees *) 0 ;
31598 CvFileStorage *arg2 = (CvFileStorage *) 0 ;
31599 CvFileNode *arg3 = (CvFileNode *) 0 ;
31606 octave_value_list _out;
31607 octave_value_list *_outp=&_out;
31608 octave_value _outv;
31610 if (!SWIG_check_num_args("CvRTrees_read",args.length(),3,3,0)) {
31613 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvRTrees, 0 | 0 );
31614 if (!SWIG_IsOK(res1)) {
31615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvRTrees_read" "', argument " "1"" of type '" "CvRTrees *""'");
31617 arg1 = (CvRTrees *)(argp1);
31618 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvFileStorage, 0 | 0 );
31619 if (!SWIG_IsOK(res2)) {
31620 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvRTrees_read" "', argument " "2"" of type '" "CvFileStorage *""'");
31622 arg2 = (CvFileStorage *)(argp2);
31623 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvFileNode, 0 | 0 );
31624 if (!SWIG_IsOK(res3)) {
31625 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvRTrees_read" "', argument " "3"" of type '" "CvFileNode *""'");
31627 arg3 = (CvFileNode *)(argp3);
31630 (arg1)->read(arg2,arg3);
31637 _outv = octave_value();
31638 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
31644 static octave_value_list _wrap_CvRTrees_write (const octave_value_list& args, int nargout) {
31645 CvRTrees *arg1 = (CvRTrees *) 0 ;
31646 CvFileStorage *arg2 = (CvFileStorage *) 0 ;
31647 char *arg3 = (char *) 0 ;
31655 octave_value_list _out;
31656 octave_value_list *_outp=&_out;
31657 octave_value _outv;
31659 if (!SWIG_check_num_args("CvRTrees_write",args.length(),3,3,0)) {
31662 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvRTrees, 0 | 0 );
31663 if (!SWIG_IsOK(res1)) {
31664 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvRTrees_write" "', argument " "1"" of type '" "CvRTrees const *""'");
31666 arg1 = (CvRTrees *)(argp1);
31667 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvFileStorage, 0 | 0 );
31668 if (!SWIG_IsOK(res2)) {
31669 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvRTrees_write" "', argument " "2"" of type '" "CvFileStorage *""'");
31671 arg2 = (CvFileStorage *)(argp2);
31672 res3 = SWIG_AsCharPtrAndSize(args(2), &buf3, NULL, &alloc3);
31673 if (!SWIG_IsOK(res3)) {
31674 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvRTrees_write" "', argument " "3"" of type '" "char const *""'");
31676 arg3 = (char *)(buf3);
31679 ((CvRTrees const *)arg1)->write(arg2,(char const *)arg3);
31686 _outv = octave_value();
31687 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
31688 if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
31694 static octave_value_list _wrap_CvRTrees_get_active_var_mask (const octave_value_list& args, int nargout) {
31695 CvRTrees *arg1 = (CvRTrees *) 0 ;
31698 octave_value_list _out;
31699 octave_value_list *_outp=&_out;
31700 octave_value _outv;
31701 CvMat *result = 0 ;
31703 if (!SWIG_check_num_args("CvRTrees_get_active_var_mask",args.length(),1,1,0)) {
31706 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvRTrees, 0 | 0 );
31707 if (!SWIG_IsOK(res1)) {
31708 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvRTrees_get_active_var_mask" "', argument " "1"" of type '" "CvRTrees *""'");
31710 arg1 = (CvRTrees *)(argp1);
31713 result = (CvMat *)(arg1)->get_active_var_mask();
31720 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvMat, 0 | 0 );
31721 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
31727 static octave_value_list _wrap_CvRTrees_get_rng (const octave_value_list& args, int nargout) {
31728 CvRTrees *arg1 = (CvRTrees *) 0 ;
31731 octave_value_list _out;
31732 octave_value_list *_outp=&_out;
31733 octave_value _outv;
31734 CvRNG *result = 0 ;
31736 if (!SWIG_check_num_args("CvRTrees_get_rng",args.length(),1,1,0)) {
31739 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvRTrees, 0 | 0 );
31740 if (!SWIG_IsOK(res1)) {
31741 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvRTrees_get_rng" "', argument " "1"" of type '" "CvRTrees *""'");
31743 arg1 = (CvRTrees *)(argp1);
31746 result = (CvRNG *)(arg1)->get_rng();
31754 CvRNG_Wrapper * wrapper = new CvRNG_Wrapper( *(result) );
31755 _outv = SWIG_NewPointerObj( wrapper, SWIGTYPE_p_CvRNG_Wrapper, 1 );
31757 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
31763 static octave_value_list _wrap_CvRTrees_get_tree_count (const octave_value_list& args, int nargout) {
31764 CvRTrees *arg1 = (CvRTrees *) 0 ;
31767 octave_value_list _out;
31768 octave_value_list *_outp=&_out;
31769 octave_value _outv;
31772 if (!SWIG_check_num_args("CvRTrees_get_tree_count",args.length(),1,1,0)) {
31775 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvRTrees, 0 | 0 );
31776 if (!SWIG_IsOK(res1)) {
31777 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvRTrees_get_tree_count" "', argument " "1"" of type '" "CvRTrees const *""'");
31779 arg1 = (CvRTrees *)(argp1);
31782 result = (int)((CvRTrees const *)arg1)->get_tree_count();
31789 _outv = SWIG_From_int((int)(result));
31790 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
31796 static octave_value_list _wrap_CvRTrees_get_tree (const octave_value_list& args, int nargout) {
31797 CvRTrees *arg1 = (CvRTrees *) 0 ;
31803 octave_value_list _out;
31804 octave_value_list *_outp=&_out;
31805 octave_value _outv;
31806 CvForestTree *result = 0 ;
31808 if (!SWIG_check_num_args("CvRTrees_get_tree",args.length(),2,2,0)) {
31811 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvRTrees, 0 | 0 );
31812 if (!SWIG_IsOK(res1)) {
31813 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvRTrees_get_tree" "', argument " "1"" of type '" "CvRTrees const *""'");
31815 arg1 = (CvRTrees *)(argp1);
31816 ecode2 = SWIG_AsVal_int(args(1), &val2);
31817 if (!SWIG_IsOK(ecode2)) {
31818 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvRTrees_get_tree" "', argument " "2"" of type '" "int""'");
31820 arg2 = (int)(val2);
31823 result = (CvForestTree *)((CvRTrees const *)arg1)->get_tree(arg2);
31830 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvForestTree, 0 | 0 );
31831 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
31837 static swig_octave_member swig_CvRTrees_members[] = {
31838 {"train",_wrap_CvRTrees_train,0,0,0,0},
31839 {"predict",_wrap_CvRTrees_predict,0,0,0,0},
31840 {"predict_prob",_wrap_CvRTrees_predict_prob,0,0,0,0},
31841 {"clear",_wrap_CvRTrees_clear,0,0,0,0},
31842 {"get_var_importance",_wrap_CvRTrees_get_var_importance,0,0,0,0},
31843 {"get_proximity",_wrap_CvRTrees_get_proximity,0,0,0,0},
31844 {"calc_error",_wrap_CvRTrees_calc_error,0,0,0,0},
31845 {"get_train_error",_wrap_CvRTrees_get_train_error,0,0,0,0},
31846 {"read",_wrap_CvRTrees_read,0,0,0,0},
31847 {"write",_wrap_CvRTrees_write,0,0,0,0},
31848 {"get_active_var_mask",_wrap_CvRTrees_get_active_var_mask,0,0,0,0},
31849 {"get_rng",_wrap_CvRTrees_get_rng,0,0,0,0},
31850 {"get_tree_count",_wrap_CvRTrees_get_tree_count,0,0,0,0},
31851 {"get_tree",_wrap_CvRTrees_get_tree,0,0,0,0},
31854 static const char *swig_CvRTrees_base_names[] = {"_p_CvStatModel",0};
31855 static const swig_type_info *swig_CvRTrees_base[] = {0,0};
31856 static swig_octave_class _wrap_class_CvRTrees = {"CvRTrees", &SWIGTYPE_p_CvRTrees,0,_wrap_new_CvRTrees,0,_wrap_delete_CvRTrees,swig_CvRTrees_members,swig_CvRTrees_base_names,swig_CvRTrees_base };
31858 static octave_value_list _wrap_CvERTreeTrainData_set_data__SWIG_0 (const octave_value_list& args, int nargout) {
31859 CvERTreeTrainData *arg1 = (CvERTreeTrainData *) 0 ;
31860 CvMat *arg2 = (CvMat *) 0 ;
31862 CvMat *arg4 = (CvMat *) 0 ;
31863 CvMat *arg5 = (CvMat *) 0 ;
31864 CvMat *arg6 = (CvMat *) 0 ;
31865 CvMat *arg7 = (CvMat *) 0 ;
31866 CvMat *arg8 = (CvMat *) 0 ;
31867 CvDTreeParams *arg9 = 0 ;
31895 octave_value_list _out;
31896 octave_value_list *_outp=&_out;
31897 octave_value _outv;
31899 if (!SWIG_check_num_args("CvERTreeTrainData_set_data",args.length(),12,12,0)) {
31902 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvERTreeTrainData, 0 | 0 );
31903 if (!SWIG_IsOK(res1)) {
31904 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvERTreeTrainData_set_data" "', argument " "1"" of type '" "CvERTreeTrainData *""'");
31906 arg1 = (CvERTreeTrainData *)(argp1);
31907 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
31908 if (!SWIG_IsOK(res2)) {
31909 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvERTreeTrainData_set_data" "', argument " "2"" of type '" "CvMat const *""'");
31911 arg2 = (CvMat *)(argp2);
31912 ecode3 = SWIG_AsVal_int(args(2), &val3);
31913 if (!SWIG_IsOK(ecode3)) {
31914 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvERTreeTrainData_set_data" "', argument " "3"" of type '" "int""'");
31916 arg3 = (int)(val3);
31917 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
31918 if (!SWIG_IsOK(res4)) {
31919 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvERTreeTrainData_set_data" "', argument " "4"" of type '" "CvMat const *""'");
31921 arg4 = (CvMat *)(argp4);
31922 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
31923 if (!SWIG_IsOK(res5)) {
31924 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvERTreeTrainData_set_data" "', argument " "5"" of type '" "CvMat const *""'");
31926 arg5 = (CvMat *)(argp5);
31927 res6 = SWIG_ConvertPtr(args(5), &argp6,SWIGTYPE_p_CvMat, 0 | 0 );
31928 if (!SWIG_IsOK(res6)) {
31929 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "CvERTreeTrainData_set_data" "', argument " "6"" of type '" "CvMat const *""'");
31931 arg6 = (CvMat *)(argp6);
31932 res7 = SWIG_ConvertPtr(args(6), &argp7,SWIGTYPE_p_CvMat, 0 | 0 );
31933 if (!SWIG_IsOK(res7)) {
31934 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "CvERTreeTrainData_set_data" "', argument " "7"" of type '" "CvMat const *""'");
31936 arg7 = (CvMat *)(argp7);
31937 res8 = SWIG_ConvertPtr(args(7), &argp8,SWIGTYPE_p_CvMat, 0 | 0 );
31938 if (!SWIG_IsOK(res8)) {
31939 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CvERTreeTrainData_set_data" "', argument " "8"" of type '" "CvMat const *""'");
31941 arg8 = (CvMat *)(argp8);
31942 res9 = SWIG_ConvertPtr(args(8), &argp9, SWIGTYPE_p_CvDTreeParams, 0 );
31943 if (!SWIG_IsOK(res9)) {
31944 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "CvERTreeTrainData_set_data" "', argument " "9"" of type '" "CvDTreeParams const &""'");
31947 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvERTreeTrainData_set_data" "', argument " "9"" of type '" "CvDTreeParams const &""'");
31949 arg9 = (CvDTreeParams *)(argp9);
31950 ecode10 = SWIG_AsVal_bool(args(9), &val10);
31951 if (!SWIG_IsOK(ecode10)) {
31952 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "CvERTreeTrainData_set_data" "', argument " "10"" of type '" "bool""'");
31954 arg10 = (bool)(val10);
31955 ecode11 = SWIG_AsVal_bool(args(10), &val11);
31956 if (!SWIG_IsOK(ecode11)) {
31957 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "CvERTreeTrainData_set_data" "', argument " "11"" of type '" "bool""'");
31959 arg11 = (bool)(val11);
31960 ecode12 = SWIG_AsVal_bool(args(11), &val12);
31961 if (!SWIG_IsOK(ecode12)) {
31962 SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "CvERTreeTrainData_set_data" "', argument " "12"" of type '" "bool""'");
31964 arg12 = (bool)(val12);
31967 (arg1)->set_data((CvMat const *)arg2,arg3,(CvMat const *)arg4,(CvMat const *)arg5,(CvMat const *)arg6,(CvMat const *)arg7,(CvMat const *)arg8,(CvDTreeParams const &)*arg9,arg10,arg11,arg12);
31974 _outv = octave_value();
31975 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
31981 static octave_value_list _wrap_CvERTreeTrainData_set_data__SWIG_1 (const octave_value_list& args, int nargout) {
31982 CvERTreeTrainData *arg1 = (CvERTreeTrainData *) 0 ;
31983 CvMat *arg2 = (CvMat *) 0 ;
31985 CvMat *arg4 = (CvMat *) 0 ;
31986 CvMat *arg5 = (CvMat *) 0 ;
31987 CvMat *arg6 = (CvMat *) 0 ;
31988 CvMat *arg7 = (CvMat *) 0 ;
31989 CvMat *arg8 = (CvMat *) 0 ;
31990 CvDTreeParams *arg9 = 0 ;
32015 octave_value_list _out;
32016 octave_value_list *_outp=&_out;
32017 octave_value _outv;
32019 if (!SWIG_check_num_args("CvERTreeTrainData_set_data",args.length(),11,11,0)) {
32022 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvERTreeTrainData, 0 | 0 );
32023 if (!SWIG_IsOK(res1)) {
32024 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvERTreeTrainData_set_data" "', argument " "1"" of type '" "CvERTreeTrainData *""'");
32026 arg1 = (CvERTreeTrainData *)(argp1);
32027 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
32028 if (!SWIG_IsOK(res2)) {
32029 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvERTreeTrainData_set_data" "', argument " "2"" of type '" "CvMat const *""'");
32031 arg2 = (CvMat *)(argp2);
32032 ecode3 = SWIG_AsVal_int(args(2), &val3);
32033 if (!SWIG_IsOK(ecode3)) {
32034 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvERTreeTrainData_set_data" "', argument " "3"" of type '" "int""'");
32036 arg3 = (int)(val3);
32037 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
32038 if (!SWIG_IsOK(res4)) {
32039 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvERTreeTrainData_set_data" "', argument " "4"" of type '" "CvMat const *""'");
32041 arg4 = (CvMat *)(argp4);
32042 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
32043 if (!SWIG_IsOK(res5)) {
32044 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvERTreeTrainData_set_data" "', argument " "5"" of type '" "CvMat const *""'");
32046 arg5 = (CvMat *)(argp5);
32047 res6 = SWIG_ConvertPtr(args(5), &argp6,SWIGTYPE_p_CvMat, 0 | 0 );
32048 if (!SWIG_IsOK(res6)) {
32049 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "CvERTreeTrainData_set_data" "', argument " "6"" of type '" "CvMat const *""'");
32051 arg6 = (CvMat *)(argp6);
32052 res7 = SWIG_ConvertPtr(args(6), &argp7,SWIGTYPE_p_CvMat, 0 | 0 );
32053 if (!SWIG_IsOK(res7)) {
32054 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "CvERTreeTrainData_set_data" "', argument " "7"" of type '" "CvMat const *""'");
32056 arg7 = (CvMat *)(argp7);
32057 res8 = SWIG_ConvertPtr(args(7), &argp8,SWIGTYPE_p_CvMat, 0 | 0 );
32058 if (!SWIG_IsOK(res8)) {
32059 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CvERTreeTrainData_set_data" "', argument " "8"" of type '" "CvMat const *""'");
32061 arg8 = (CvMat *)(argp8);
32062 res9 = SWIG_ConvertPtr(args(8), &argp9, SWIGTYPE_p_CvDTreeParams, 0 );
32063 if (!SWIG_IsOK(res9)) {
32064 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "CvERTreeTrainData_set_data" "', argument " "9"" of type '" "CvDTreeParams const &""'");
32067 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvERTreeTrainData_set_data" "', argument " "9"" of type '" "CvDTreeParams const &""'");
32069 arg9 = (CvDTreeParams *)(argp9);
32070 ecode10 = SWIG_AsVal_bool(args(9), &val10);
32071 if (!SWIG_IsOK(ecode10)) {
32072 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "CvERTreeTrainData_set_data" "', argument " "10"" of type '" "bool""'");
32074 arg10 = (bool)(val10);
32075 ecode11 = SWIG_AsVal_bool(args(10), &val11);
32076 if (!SWIG_IsOK(ecode11)) {
32077 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "CvERTreeTrainData_set_data" "', argument " "11"" of type '" "bool""'");
32079 arg11 = (bool)(val11);
32082 (arg1)->set_data((CvMat const *)arg2,arg3,(CvMat const *)arg4,(CvMat const *)arg5,(CvMat const *)arg6,(CvMat const *)arg7,(CvMat const *)arg8,(CvDTreeParams const &)*arg9,arg10,arg11);
32089 _outv = octave_value();
32090 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
32096 static octave_value_list _wrap_CvERTreeTrainData_set_data__SWIG_2 (const octave_value_list& args, int nargout) {
32097 CvERTreeTrainData *arg1 = (CvERTreeTrainData *) 0 ;
32098 CvMat *arg2 = (CvMat *) 0 ;
32100 CvMat *arg4 = (CvMat *) 0 ;
32101 CvMat *arg5 = (CvMat *) 0 ;
32102 CvMat *arg6 = (CvMat *) 0 ;
32103 CvMat *arg7 = (CvMat *) 0 ;
32104 CvMat *arg8 = (CvMat *) 0 ;
32105 CvDTreeParams *arg9 = 0 ;
32127 octave_value_list _out;
32128 octave_value_list *_outp=&_out;
32129 octave_value _outv;
32131 if (!SWIG_check_num_args("CvERTreeTrainData_set_data",args.length(),10,10,0)) {
32134 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvERTreeTrainData, 0 | 0 );
32135 if (!SWIG_IsOK(res1)) {
32136 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvERTreeTrainData_set_data" "', argument " "1"" of type '" "CvERTreeTrainData *""'");
32138 arg1 = (CvERTreeTrainData *)(argp1);
32139 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
32140 if (!SWIG_IsOK(res2)) {
32141 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvERTreeTrainData_set_data" "', argument " "2"" of type '" "CvMat const *""'");
32143 arg2 = (CvMat *)(argp2);
32144 ecode3 = SWIG_AsVal_int(args(2), &val3);
32145 if (!SWIG_IsOK(ecode3)) {
32146 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvERTreeTrainData_set_data" "', argument " "3"" of type '" "int""'");
32148 arg3 = (int)(val3);
32149 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
32150 if (!SWIG_IsOK(res4)) {
32151 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvERTreeTrainData_set_data" "', argument " "4"" of type '" "CvMat const *""'");
32153 arg4 = (CvMat *)(argp4);
32154 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
32155 if (!SWIG_IsOK(res5)) {
32156 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvERTreeTrainData_set_data" "', argument " "5"" of type '" "CvMat const *""'");
32158 arg5 = (CvMat *)(argp5);
32159 res6 = SWIG_ConvertPtr(args(5), &argp6,SWIGTYPE_p_CvMat, 0 | 0 );
32160 if (!SWIG_IsOK(res6)) {
32161 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "CvERTreeTrainData_set_data" "', argument " "6"" of type '" "CvMat const *""'");
32163 arg6 = (CvMat *)(argp6);
32164 res7 = SWIG_ConvertPtr(args(6), &argp7,SWIGTYPE_p_CvMat, 0 | 0 );
32165 if (!SWIG_IsOK(res7)) {
32166 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "CvERTreeTrainData_set_data" "', argument " "7"" of type '" "CvMat const *""'");
32168 arg7 = (CvMat *)(argp7);
32169 res8 = SWIG_ConvertPtr(args(7), &argp8,SWIGTYPE_p_CvMat, 0 | 0 );
32170 if (!SWIG_IsOK(res8)) {
32171 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CvERTreeTrainData_set_data" "', argument " "8"" of type '" "CvMat const *""'");
32173 arg8 = (CvMat *)(argp8);
32174 res9 = SWIG_ConvertPtr(args(8), &argp9, SWIGTYPE_p_CvDTreeParams, 0 );
32175 if (!SWIG_IsOK(res9)) {
32176 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "CvERTreeTrainData_set_data" "', argument " "9"" of type '" "CvDTreeParams const &""'");
32179 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvERTreeTrainData_set_data" "', argument " "9"" of type '" "CvDTreeParams const &""'");
32181 arg9 = (CvDTreeParams *)(argp9);
32182 ecode10 = SWIG_AsVal_bool(args(9), &val10);
32183 if (!SWIG_IsOK(ecode10)) {
32184 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "CvERTreeTrainData_set_data" "', argument " "10"" of type '" "bool""'");
32186 arg10 = (bool)(val10);
32189 (arg1)->set_data((CvMat const *)arg2,arg3,(CvMat const *)arg4,(CvMat const *)arg5,(CvMat const *)arg6,(CvMat const *)arg7,(CvMat const *)arg8,(CvDTreeParams const &)*arg9,arg10);
32196 _outv = octave_value();
32197 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
32203 static octave_value_list _wrap_CvERTreeTrainData_set_data__SWIG_3 (const octave_value_list& args, int nargout) {
32204 CvERTreeTrainData *arg1 = (CvERTreeTrainData *) 0 ;
32205 CvMat *arg2 = (CvMat *) 0 ;
32207 CvMat *arg4 = (CvMat *) 0 ;
32208 CvMat *arg5 = (CvMat *) 0 ;
32209 CvMat *arg6 = (CvMat *) 0 ;
32210 CvMat *arg7 = (CvMat *) 0 ;
32211 CvMat *arg8 = (CvMat *) 0 ;
32212 CvDTreeParams *arg9 = 0 ;
32231 octave_value_list _out;
32232 octave_value_list *_outp=&_out;
32233 octave_value _outv;
32235 if (!SWIG_check_num_args("CvERTreeTrainData_set_data",args.length(),9,9,0)) {
32238 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvERTreeTrainData, 0 | 0 );
32239 if (!SWIG_IsOK(res1)) {
32240 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvERTreeTrainData_set_data" "', argument " "1"" of type '" "CvERTreeTrainData *""'");
32242 arg1 = (CvERTreeTrainData *)(argp1);
32243 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
32244 if (!SWIG_IsOK(res2)) {
32245 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvERTreeTrainData_set_data" "', argument " "2"" of type '" "CvMat const *""'");
32247 arg2 = (CvMat *)(argp2);
32248 ecode3 = SWIG_AsVal_int(args(2), &val3);
32249 if (!SWIG_IsOK(ecode3)) {
32250 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvERTreeTrainData_set_data" "', argument " "3"" of type '" "int""'");
32252 arg3 = (int)(val3);
32253 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
32254 if (!SWIG_IsOK(res4)) {
32255 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvERTreeTrainData_set_data" "', argument " "4"" of type '" "CvMat const *""'");
32257 arg4 = (CvMat *)(argp4);
32258 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
32259 if (!SWIG_IsOK(res5)) {
32260 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvERTreeTrainData_set_data" "', argument " "5"" of type '" "CvMat const *""'");
32262 arg5 = (CvMat *)(argp5);
32263 res6 = SWIG_ConvertPtr(args(5), &argp6,SWIGTYPE_p_CvMat, 0 | 0 );
32264 if (!SWIG_IsOK(res6)) {
32265 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "CvERTreeTrainData_set_data" "', argument " "6"" of type '" "CvMat const *""'");
32267 arg6 = (CvMat *)(argp6);
32268 res7 = SWIG_ConvertPtr(args(6), &argp7,SWIGTYPE_p_CvMat, 0 | 0 );
32269 if (!SWIG_IsOK(res7)) {
32270 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "CvERTreeTrainData_set_data" "', argument " "7"" of type '" "CvMat const *""'");
32272 arg7 = (CvMat *)(argp7);
32273 res8 = SWIG_ConvertPtr(args(7), &argp8,SWIGTYPE_p_CvMat, 0 | 0 );
32274 if (!SWIG_IsOK(res8)) {
32275 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CvERTreeTrainData_set_data" "', argument " "8"" of type '" "CvMat const *""'");
32277 arg8 = (CvMat *)(argp8);
32278 res9 = SWIG_ConvertPtr(args(8), &argp9, SWIGTYPE_p_CvDTreeParams, 0 );
32279 if (!SWIG_IsOK(res9)) {
32280 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "CvERTreeTrainData_set_data" "', argument " "9"" of type '" "CvDTreeParams const &""'");
32283 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvERTreeTrainData_set_data" "', argument " "9"" of type '" "CvDTreeParams const &""'");
32285 arg9 = (CvDTreeParams *)(argp9);
32288 (arg1)->set_data((CvMat const *)arg2,arg3,(CvMat const *)arg4,(CvMat const *)arg5,(CvMat const *)arg6,(CvMat const *)arg7,(CvMat const *)arg8,(CvDTreeParams const &)*arg9);
32295 _outv = octave_value();
32296 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
32302 static octave_value_list _wrap_CvERTreeTrainData_set_data__SWIG_4 (const octave_value_list& args, int nargout) {
32303 CvERTreeTrainData *arg1 = (CvERTreeTrainData *) 0 ;
32304 CvMat *arg2 = (CvMat *) 0 ;
32306 CvMat *arg4 = (CvMat *) 0 ;
32307 CvMat *arg5 = (CvMat *) 0 ;
32308 CvMat *arg6 = (CvMat *) 0 ;
32309 CvMat *arg7 = (CvMat *) 0 ;
32310 CvMat *arg8 = (CvMat *) 0 ;
32327 octave_value_list _out;
32328 octave_value_list *_outp=&_out;
32329 octave_value _outv;
32331 if (!SWIG_check_num_args("CvERTreeTrainData_set_data",args.length(),8,8,0)) {
32334 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvERTreeTrainData, 0 | 0 );
32335 if (!SWIG_IsOK(res1)) {
32336 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvERTreeTrainData_set_data" "', argument " "1"" of type '" "CvERTreeTrainData *""'");
32338 arg1 = (CvERTreeTrainData *)(argp1);
32339 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
32340 if (!SWIG_IsOK(res2)) {
32341 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvERTreeTrainData_set_data" "', argument " "2"" of type '" "CvMat const *""'");
32343 arg2 = (CvMat *)(argp2);
32344 ecode3 = SWIG_AsVal_int(args(2), &val3);
32345 if (!SWIG_IsOK(ecode3)) {
32346 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvERTreeTrainData_set_data" "', argument " "3"" of type '" "int""'");
32348 arg3 = (int)(val3);
32349 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
32350 if (!SWIG_IsOK(res4)) {
32351 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvERTreeTrainData_set_data" "', argument " "4"" of type '" "CvMat const *""'");
32353 arg4 = (CvMat *)(argp4);
32354 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
32355 if (!SWIG_IsOK(res5)) {
32356 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvERTreeTrainData_set_data" "', argument " "5"" of type '" "CvMat const *""'");
32358 arg5 = (CvMat *)(argp5);
32359 res6 = SWIG_ConvertPtr(args(5), &argp6,SWIGTYPE_p_CvMat, 0 | 0 );
32360 if (!SWIG_IsOK(res6)) {
32361 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "CvERTreeTrainData_set_data" "', argument " "6"" of type '" "CvMat const *""'");
32363 arg6 = (CvMat *)(argp6);
32364 res7 = SWIG_ConvertPtr(args(6), &argp7,SWIGTYPE_p_CvMat, 0 | 0 );
32365 if (!SWIG_IsOK(res7)) {
32366 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "CvERTreeTrainData_set_data" "', argument " "7"" of type '" "CvMat const *""'");
32368 arg7 = (CvMat *)(argp7);
32369 res8 = SWIG_ConvertPtr(args(7), &argp8,SWIGTYPE_p_CvMat, 0 | 0 );
32370 if (!SWIG_IsOK(res8)) {
32371 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CvERTreeTrainData_set_data" "', argument " "8"" of type '" "CvMat const *""'");
32373 arg8 = (CvMat *)(argp8);
32376 (arg1)->set_data((CvMat const *)arg2,arg3,(CvMat const *)arg4,(CvMat const *)arg5,(CvMat const *)arg6,(CvMat const *)arg7,(CvMat const *)arg8);
32383 _outv = octave_value();
32384 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
32390 static octave_value_list _wrap_CvERTreeTrainData_set_data__SWIG_5 (const octave_value_list& args, int nargout) {
32391 CvERTreeTrainData *arg1 = (CvERTreeTrainData *) 0 ;
32392 CvMat *arg2 = (CvMat *) 0 ;
32394 CvMat *arg4 = (CvMat *) 0 ;
32395 CvMat *arg5 = (CvMat *) 0 ;
32396 CvMat *arg6 = (CvMat *) 0 ;
32397 CvMat *arg7 = (CvMat *) 0 ;
32412 octave_value_list _out;
32413 octave_value_list *_outp=&_out;
32414 octave_value _outv;
32416 if (!SWIG_check_num_args("CvERTreeTrainData_set_data",args.length(),7,7,0)) {
32419 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvERTreeTrainData, 0 | 0 );
32420 if (!SWIG_IsOK(res1)) {
32421 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvERTreeTrainData_set_data" "', argument " "1"" of type '" "CvERTreeTrainData *""'");
32423 arg1 = (CvERTreeTrainData *)(argp1);
32424 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
32425 if (!SWIG_IsOK(res2)) {
32426 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvERTreeTrainData_set_data" "', argument " "2"" of type '" "CvMat const *""'");
32428 arg2 = (CvMat *)(argp2);
32429 ecode3 = SWIG_AsVal_int(args(2), &val3);
32430 if (!SWIG_IsOK(ecode3)) {
32431 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvERTreeTrainData_set_data" "', argument " "3"" of type '" "int""'");
32433 arg3 = (int)(val3);
32434 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
32435 if (!SWIG_IsOK(res4)) {
32436 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvERTreeTrainData_set_data" "', argument " "4"" of type '" "CvMat const *""'");
32438 arg4 = (CvMat *)(argp4);
32439 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
32440 if (!SWIG_IsOK(res5)) {
32441 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvERTreeTrainData_set_data" "', argument " "5"" of type '" "CvMat const *""'");
32443 arg5 = (CvMat *)(argp5);
32444 res6 = SWIG_ConvertPtr(args(5), &argp6,SWIGTYPE_p_CvMat, 0 | 0 );
32445 if (!SWIG_IsOK(res6)) {
32446 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "CvERTreeTrainData_set_data" "', argument " "6"" of type '" "CvMat const *""'");
32448 arg6 = (CvMat *)(argp6);
32449 res7 = SWIG_ConvertPtr(args(6), &argp7,SWIGTYPE_p_CvMat, 0 | 0 );
32450 if (!SWIG_IsOK(res7)) {
32451 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "CvERTreeTrainData_set_data" "', argument " "7"" of type '" "CvMat const *""'");
32453 arg7 = (CvMat *)(argp7);
32456 (arg1)->set_data((CvMat const *)arg2,arg3,(CvMat const *)arg4,(CvMat const *)arg5,(CvMat const *)arg6,(CvMat const *)arg7);
32463 _outv = octave_value();
32464 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
32470 static octave_value_list _wrap_CvERTreeTrainData_set_data__SWIG_6 (const octave_value_list& args, int nargout) {
32471 CvERTreeTrainData *arg1 = (CvERTreeTrainData *) 0 ;
32472 CvMat *arg2 = (CvMat *) 0 ;
32474 CvMat *arg4 = (CvMat *) 0 ;
32475 CvMat *arg5 = (CvMat *) 0 ;
32476 CvMat *arg6 = (CvMat *) 0 ;
32489 octave_value_list _out;
32490 octave_value_list *_outp=&_out;
32491 octave_value _outv;
32493 if (!SWIG_check_num_args("CvERTreeTrainData_set_data",args.length(),6,6,0)) {
32496 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvERTreeTrainData, 0 | 0 );
32497 if (!SWIG_IsOK(res1)) {
32498 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvERTreeTrainData_set_data" "', argument " "1"" of type '" "CvERTreeTrainData *""'");
32500 arg1 = (CvERTreeTrainData *)(argp1);
32501 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
32502 if (!SWIG_IsOK(res2)) {
32503 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvERTreeTrainData_set_data" "', argument " "2"" of type '" "CvMat const *""'");
32505 arg2 = (CvMat *)(argp2);
32506 ecode3 = SWIG_AsVal_int(args(2), &val3);
32507 if (!SWIG_IsOK(ecode3)) {
32508 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvERTreeTrainData_set_data" "', argument " "3"" of type '" "int""'");
32510 arg3 = (int)(val3);
32511 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
32512 if (!SWIG_IsOK(res4)) {
32513 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvERTreeTrainData_set_data" "', argument " "4"" of type '" "CvMat const *""'");
32515 arg4 = (CvMat *)(argp4);
32516 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
32517 if (!SWIG_IsOK(res5)) {
32518 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvERTreeTrainData_set_data" "', argument " "5"" of type '" "CvMat const *""'");
32520 arg5 = (CvMat *)(argp5);
32521 res6 = SWIG_ConvertPtr(args(5), &argp6,SWIGTYPE_p_CvMat, 0 | 0 );
32522 if (!SWIG_IsOK(res6)) {
32523 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "CvERTreeTrainData_set_data" "', argument " "6"" of type '" "CvMat const *""'");
32525 arg6 = (CvMat *)(argp6);
32528 (arg1)->set_data((CvMat const *)arg2,arg3,(CvMat const *)arg4,(CvMat const *)arg5,(CvMat const *)arg6);
32535 _outv = octave_value();
32536 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
32542 static octave_value_list _wrap_CvERTreeTrainData_set_data__SWIG_7 (const octave_value_list& args, int nargout) {
32543 CvERTreeTrainData *arg1 = (CvERTreeTrainData *) 0 ;
32544 CvMat *arg2 = (CvMat *) 0 ;
32546 CvMat *arg4 = (CvMat *) 0 ;
32547 CvMat *arg5 = (CvMat *) 0 ;
32558 octave_value_list _out;
32559 octave_value_list *_outp=&_out;
32560 octave_value _outv;
32562 if (!SWIG_check_num_args("CvERTreeTrainData_set_data",args.length(),5,5,0)) {
32565 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvERTreeTrainData, 0 | 0 );
32566 if (!SWIG_IsOK(res1)) {
32567 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvERTreeTrainData_set_data" "', argument " "1"" of type '" "CvERTreeTrainData *""'");
32569 arg1 = (CvERTreeTrainData *)(argp1);
32570 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
32571 if (!SWIG_IsOK(res2)) {
32572 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvERTreeTrainData_set_data" "', argument " "2"" of type '" "CvMat const *""'");
32574 arg2 = (CvMat *)(argp2);
32575 ecode3 = SWIG_AsVal_int(args(2), &val3);
32576 if (!SWIG_IsOK(ecode3)) {
32577 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvERTreeTrainData_set_data" "', argument " "3"" of type '" "int""'");
32579 arg3 = (int)(val3);
32580 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
32581 if (!SWIG_IsOK(res4)) {
32582 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvERTreeTrainData_set_data" "', argument " "4"" of type '" "CvMat const *""'");
32584 arg4 = (CvMat *)(argp4);
32585 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
32586 if (!SWIG_IsOK(res5)) {
32587 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvERTreeTrainData_set_data" "', argument " "5"" of type '" "CvMat const *""'");
32589 arg5 = (CvMat *)(argp5);
32592 (arg1)->set_data((CvMat const *)arg2,arg3,(CvMat const *)arg4,(CvMat const *)arg5);
32599 _outv = octave_value();
32600 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
32606 static octave_value_list _wrap_CvERTreeTrainData_set_data__SWIG_8 (const octave_value_list& args, int nargout) {
32607 CvERTreeTrainData *arg1 = (CvERTreeTrainData *) 0 ;
32608 CvMat *arg2 = (CvMat *) 0 ;
32610 CvMat *arg4 = (CvMat *) 0 ;
32619 octave_value_list _out;
32620 octave_value_list *_outp=&_out;
32621 octave_value _outv;
32623 if (!SWIG_check_num_args("CvERTreeTrainData_set_data",args.length(),4,4,0)) {
32626 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvERTreeTrainData, 0 | 0 );
32627 if (!SWIG_IsOK(res1)) {
32628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvERTreeTrainData_set_data" "', argument " "1"" of type '" "CvERTreeTrainData *""'");
32630 arg1 = (CvERTreeTrainData *)(argp1);
32631 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
32632 if (!SWIG_IsOK(res2)) {
32633 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvERTreeTrainData_set_data" "', argument " "2"" of type '" "CvMat const *""'");
32635 arg2 = (CvMat *)(argp2);
32636 ecode3 = SWIG_AsVal_int(args(2), &val3);
32637 if (!SWIG_IsOK(ecode3)) {
32638 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvERTreeTrainData_set_data" "', argument " "3"" of type '" "int""'");
32640 arg3 = (int)(val3);
32641 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
32642 if (!SWIG_IsOK(res4)) {
32643 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvERTreeTrainData_set_data" "', argument " "4"" of type '" "CvMat const *""'");
32645 arg4 = (CvMat *)(argp4);
32648 (arg1)->set_data((CvMat const *)arg2,arg3,(CvMat const *)arg4);
32655 _outv = octave_value();
32656 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
32662 static octave_value_list _wrap_CvERTreeTrainData_set_data (const octave_value_list& args, int nargout) {
32663 int argc = args.length();
32664 octave_value_ref argv[12]={
32665 octave_value_ref(args,0),octave_value_ref(args,1),octave_value_ref(args,2),octave_value_ref(args,3),octave_value_ref(args,4),octave_value_ref(args,5),octave_value_ref(args,6),octave_value_ref(args,7),octave_value_ref(args,8),octave_value_ref(args,9),octave_value_ref(args,10),octave_value_ref(args,11)
32671 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvERTreeTrainData, 0);
32672 _v = SWIG_CheckState(res);
32675 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
32676 _v = SWIG_CheckState(res);
32679 int res = SWIG_AsVal_int(argv[2], NULL);
32680 _v = SWIG_CheckState(res);
32684 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
32685 _v = SWIG_CheckState(res);
32687 return _wrap_CvERTreeTrainData_set_data__SWIG_8(args, nargout);
32696 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvERTreeTrainData, 0);
32697 _v = SWIG_CheckState(res);
32700 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
32701 _v = SWIG_CheckState(res);
32704 int res = SWIG_AsVal_int(argv[2], NULL);
32705 _v = SWIG_CheckState(res);
32709 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
32710 _v = SWIG_CheckState(res);
32713 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvMat, 0);
32714 _v = SWIG_CheckState(res);
32716 return _wrap_CvERTreeTrainData_set_data__SWIG_7(args, nargout);
32726 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvERTreeTrainData, 0);
32727 _v = SWIG_CheckState(res);
32730 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
32731 _v = SWIG_CheckState(res);
32734 int res = SWIG_AsVal_int(argv[2], NULL);
32735 _v = SWIG_CheckState(res);
32739 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
32740 _v = SWIG_CheckState(res);
32743 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvMat, 0);
32744 _v = SWIG_CheckState(res);
32747 int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_CvMat, 0);
32748 _v = SWIG_CheckState(res);
32750 return _wrap_CvERTreeTrainData_set_data__SWIG_6(args, nargout);
32761 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvERTreeTrainData, 0);
32762 _v = SWIG_CheckState(res);
32765 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
32766 _v = SWIG_CheckState(res);
32769 int res = SWIG_AsVal_int(argv[2], NULL);
32770 _v = SWIG_CheckState(res);
32774 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
32775 _v = SWIG_CheckState(res);
32778 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvMat, 0);
32779 _v = SWIG_CheckState(res);
32782 int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_CvMat, 0);
32783 _v = SWIG_CheckState(res);
32786 int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_CvMat, 0);
32787 _v = SWIG_CheckState(res);
32789 return _wrap_CvERTreeTrainData_set_data__SWIG_5(args, nargout);
32801 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvERTreeTrainData, 0);
32802 _v = SWIG_CheckState(res);
32805 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
32806 _v = SWIG_CheckState(res);
32809 int res = SWIG_AsVal_int(argv[2], NULL);
32810 _v = SWIG_CheckState(res);
32814 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
32815 _v = SWIG_CheckState(res);
32818 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvMat, 0);
32819 _v = SWIG_CheckState(res);
32822 int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_CvMat, 0);
32823 _v = SWIG_CheckState(res);
32826 int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_CvMat, 0);
32827 _v = SWIG_CheckState(res);
32830 int res = SWIG_ConvertPtr(argv[7], &vptr, SWIGTYPE_p_CvMat, 0);
32831 _v = SWIG_CheckState(res);
32833 return _wrap_CvERTreeTrainData_set_data__SWIG_4(args, nargout);
32846 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvERTreeTrainData, 0);
32847 _v = SWIG_CheckState(res);
32850 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
32851 _v = SWIG_CheckState(res);
32854 int res = SWIG_AsVal_int(argv[2], NULL);
32855 _v = SWIG_CheckState(res);
32859 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
32860 _v = SWIG_CheckState(res);
32863 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvMat, 0);
32864 _v = SWIG_CheckState(res);
32867 int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_CvMat, 0);
32868 _v = SWIG_CheckState(res);
32871 int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_CvMat, 0);
32872 _v = SWIG_CheckState(res);
32875 int res = SWIG_ConvertPtr(argv[7], &vptr, SWIGTYPE_p_CvMat, 0);
32876 _v = SWIG_CheckState(res);
32879 int res = SWIG_ConvertPtr(argv[8], &vptr, SWIGTYPE_p_CvDTreeParams, 0);
32880 _v = SWIG_CheckState(res);
32882 return _wrap_CvERTreeTrainData_set_data__SWIG_3(args, nargout);
32896 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvERTreeTrainData, 0);
32897 _v = SWIG_CheckState(res);
32900 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
32901 _v = SWIG_CheckState(res);
32904 int res = SWIG_AsVal_int(argv[2], NULL);
32905 _v = SWIG_CheckState(res);
32909 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
32910 _v = SWIG_CheckState(res);
32913 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvMat, 0);
32914 _v = SWIG_CheckState(res);
32917 int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_CvMat, 0);
32918 _v = SWIG_CheckState(res);
32921 int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_CvMat, 0);
32922 _v = SWIG_CheckState(res);
32925 int res = SWIG_ConvertPtr(argv[7], &vptr, SWIGTYPE_p_CvMat, 0);
32926 _v = SWIG_CheckState(res);
32929 int res = SWIG_ConvertPtr(argv[8], &vptr, SWIGTYPE_p_CvDTreeParams, 0);
32930 _v = SWIG_CheckState(res);
32933 int res = SWIG_AsVal_bool(argv[9], NULL);
32934 _v = SWIG_CheckState(res);
32937 return _wrap_CvERTreeTrainData_set_data__SWIG_2(args, nargout);
32952 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvERTreeTrainData, 0);
32953 _v = SWIG_CheckState(res);
32956 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
32957 _v = SWIG_CheckState(res);
32960 int res = SWIG_AsVal_int(argv[2], NULL);
32961 _v = SWIG_CheckState(res);
32965 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
32966 _v = SWIG_CheckState(res);
32969 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvMat, 0);
32970 _v = SWIG_CheckState(res);
32973 int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_CvMat, 0);
32974 _v = SWIG_CheckState(res);
32977 int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_CvMat, 0);
32978 _v = SWIG_CheckState(res);
32981 int res = SWIG_ConvertPtr(argv[7], &vptr, SWIGTYPE_p_CvMat, 0);
32982 _v = SWIG_CheckState(res);
32985 int res = SWIG_ConvertPtr(argv[8], &vptr, SWIGTYPE_p_CvDTreeParams, 0);
32986 _v = SWIG_CheckState(res);
32989 int res = SWIG_AsVal_bool(argv[9], NULL);
32990 _v = SWIG_CheckState(res);
32994 int res = SWIG_AsVal_bool(argv[10], NULL);
32995 _v = SWIG_CheckState(res);
32998 return _wrap_CvERTreeTrainData_set_data__SWIG_1(args, nargout);
33014 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvERTreeTrainData, 0);
33015 _v = SWIG_CheckState(res);
33018 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
33019 _v = SWIG_CheckState(res);
33022 int res = SWIG_AsVal_int(argv[2], NULL);
33023 _v = SWIG_CheckState(res);
33027 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
33028 _v = SWIG_CheckState(res);
33031 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvMat, 0);
33032 _v = SWIG_CheckState(res);
33035 int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_CvMat, 0);
33036 _v = SWIG_CheckState(res);
33039 int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_CvMat, 0);
33040 _v = SWIG_CheckState(res);
33043 int res = SWIG_ConvertPtr(argv[7], &vptr, SWIGTYPE_p_CvMat, 0);
33044 _v = SWIG_CheckState(res);
33047 int res = SWIG_ConvertPtr(argv[8], &vptr, SWIGTYPE_p_CvDTreeParams, 0);
33048 _v = SWIG_CheckState(res);
33051 int res = SWIG_AsVal_bool(argv[9], NULL);
33052 _v = SWIG_CheckState(res);
33056 int res = SWIG_AsVal_bool(argv[10], NULL);
33057 _v = SWIG_CheckState(res);
33061 int res = SWIG_AsVal_bool(argv[11], NULL);
33062 _v = SWIG_CheckState(res);
33065 return _wrap_CvERTreeTrainData_set_data__SWIG_0(args, nargout);
33080 error("No matching function for overload");
33081 return octave_value_list();
33085 static octave_value_list _wrap_CvERTreeTrainData_get_ord_var_data (const octave_value_list& args, int nargout) {
33086 CvERTreeTrainData *arg1 = (CvERTreeTrainData *) 0 ;
33087 CvDTreeNode *arg2 = (CvDTreeNode *) 0 ;
33089 float *arg4 = (float *) 0 ;
33090 int *arg5 = (int *) 0 ;
33091 float **arg6 = (float **) 0 ;
33092 int **arg7 = (int **) 0 ;
33107 octave_value_list _out;
33108 octave_value_list *_outp=&_out;
33109 octave_value _outv;
33112 if (!SWIG_check_num_args("CvERTreeTrainData_get_ord_var_data",args.length(),7,7,0)) {
33115 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvERTreeTrainData, 0 | 0 );
33116 if (!SWIG_IsOK(res1)) {
33117 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvERTreeTrainData_get_ord_var_data" "', argument " "1"" of type '" "CvERTreeTrainData *""'");
33119 arg1 = (CvERTreeTrainData *)(argp1);
33120 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvDTreeNode, 0 | 0 );
33121 if (!SWIG_IsOK(res2)) {
33122 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvERTreeTrainData_get_ord_var_data" "', argument " "2"" of type '" "CvDTreeNode *""'");
33124 arg2 = (CvDTreeNode *)(argp2);
33125 ecode3 = SWIG_AsVal_int(args(2), &val3);
33126 if (!SWIG_IsOK(ecode3)) {
33127 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvERTreeTrainData_get_ord_var_data" "', argument " "3"" of type '" "int""'");
33129 arg3 = (int)(val3);
33130 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_float, 0 | 0 );
33131 if (!SWIG_IsOK(res4)) {
33132 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvERTreeTrainData_get_ord_var_data" "', argument " "4"" of type '" "float *""'");
33134 arg4 = (float *)(argp4);
33135 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_int, 0 | 0 );
33136 if (!SWIG_IsOK(res5)) {
33137 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvERTreeTrainData_get_ord_var_data" "', argument " "5"" of type '" "int *""'");
33139 arg5 = (int *)(argp5);
33141 if ((SWIG_ConvertPtr(args(5), &vptr6, SWIGTYPE_p_float, 1)) == -1){
33144 buffer6 = (float *) vptr6;
33147 res7 = SWIG_ConvertPtr(args(6), &argp7,SWIGTYPE_p_p_int, 0 | 0 );
33148 if (!SWIG_IsOK(res7)) {
33149 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "CvERTreeTrainData_get_ord_var_data" "', argument " "7"" of type '" "int const **""'");
33151 arg7 = (int **)(argp7);
33154 result = (int)(arg1)->get_ord_var_data(arg2,arg3,arg4,arg5,(float const **)arg6,(int const **)arg7);
33161 _outv = SWIG_From_int((int)(result));
33162 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
33168 static octave_value_list _wrap_CvERTreeTrainData_get_sample_indices (const octave_value_list& args, int nargout) {
33169 CvERTreeTrainData *arg1 = (CvERTreeTrainData *) 0 ;
33170 CvDTreeNode *arg2 = (CvDTreeNode *) 0 ;
33171 int *arg3 = (int *) 0 ;
33172 int **arg4 = (int **) 0 ;
33181 octave_value_list _out;
33182 octave_value_list *_outp=&_out;
33183 octave_value _outv;
33185 if (!SWIG_check_num_args("CvERTreeTrainData_get_sample_indices",args.length(),4,4,0)) {
33188 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvERTreeTrainData, 0 | 0 );
33189 if (!SWIG_IsOK(res1)) {
33190 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvERTreeTrainData_get_sample_indices" "', argument " "1"" of type '" "CvERTreeTrainData *""'");
33192 arg1 = (CvERTreeTrainData *)(argp1);
33193 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvDTreeNode, 0 | 0 );
33194 if (!SWIG_IsOK(res2)) {
33195 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvERTreeTrainData_get_sample_indices" "', argument " "2"" of type '" "CvDTreeNode *""'");
33197 arg2 = (CvDTreeNode *)(argp2);
33198 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_int, 0 | 0 );
33199 if (!SWIG_IsOK(res3)) {
33200 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvERTreeTrainData_get_sample_indices" "', argument " "3"" of type '" "int *""'");
33202 arg3 = (int *)(argp3);
33203 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_p_int, 0 | 0 );
33204 if (!SWIG_IsOK(res4)) {
33205 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvERTreeTrainData_get_sample_indices" "', argument " "4"" of type '" "int const **""'");
33207 arg4 = (int **)(argp4);
33210 (arg1)->get_sample_indices(arg2,arg3,(int const **)arg4);
33217 _outv = octave_value();
33218 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
33224 static octave_value_list _wrap_CvERTreeTrainData_get_cv_labels (const octave_value_list& args, int nargout) {
33225 CvERTreeTrainData *arg1 = (CvERTreeTrainData *) 0 ;
33226 CvDTreeNode *arg2 = (CvDTreeNode *) 0 ;
33227 int *arg3 = (int *) 0 ;
33228 int **arg4 = (int **) 0 ;
33237 octave_value_list _out;
33238 octave_value_list *_outp=&_out;
33239 octave_value _outv;
33241 if (!SWIG_check_num_args("CvERTreeTrainData_get_cv_labels",args.length(),4,4,0)) {
33244 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvERTreeTrainData, 0 | 0 );
33245 if (!SWIG_IsOK(res1)) {
33246 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvERTreeTrainData_get_cv_labels" "', argument " "1"" of type '" "CvERTreeTrainData *""'");
33248 arg1 = (CvERTreeTrainData *)(argp1);
33249 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvDTreeNode, 0 | 0 );
33250 if (!SWIG_IsOK(res2)) {
33251 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvERTreeTrainData_get_cv_labels" "', argument " "2"" of type '" "CvDTreeNode *""'");
33253 arg2 = (CvDTreeNode *)(argp2);
33254 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_int, 0 | 0 );
33255 if (!SWIG_IsOK(res3)) {
33256 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvERTreeTrainData_get_cv_labels" "', argument " "3"" of type '" "int *""'");
33258 arg3 = (int *)(argp3);
33259 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_p_int, 0 | 0 );
33260 if (!SWIG_IsOK(res4)) {
33261 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvERTreeTrainData_get_cv_labels" "', argument " "4"" of type '" "int const **""'");
33263 arg4 = (int **)(argp4);
33266 (arg1)->get_cv_labels(arg2,arg3,(int const **)arg4);
33273 _outv = octave_value();
33274 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
33280 static octave_value_list _wrap_CvERTreeTrainData_get_cat_var_data (const octave_value_list& args, int nargout) {
33281 CvERTreeTrainData *arg1 = (CvERTreeTrainData *) 0 ;
33282 CvDTreeNode *arg2 = (CvDTreeNode *) 0 ;
33284 int *arg4 = (int *) 0 ;
33285 int **arg5 = (int **) 0 ;
33296 octave_value_list _out;
33297 octave_value_list *_outp=&_out;
33298 octave_value _outv;
33301 if (!SWIG_check_num_args("CvERTreeTrainData_get_cat_var_data",args.length(),5,5,0)) {
33304 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvERTreeTrainData, 0 | 0 );
33305 if (!SWIG_IsOK(res1)) {
33306 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvERTreeTrainData_get_cat_var_data" "', argument " "1"" of type '" "CvERTreeTrainData *""'");
33308 arg1 = (CvERTreeTrainData *)(argp1);
33309 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvDTreeNode, 0 | 0 );
33310 if (!SWIG_IsOK(res2)) {
33311 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvERTreeTrainData_get_cat_var_data" "', argument " "2"" of type '" "CvDTreeNode *""'");
33313 arg2 = (CvDTreeNode *)(argp2);
33314 ecode3 = SWIG_AsVal_int(args(2), &val3);
33315 if (!SWIG_IsOK(ecode3)) {
33316 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvERTreeTrainData_get_cat_var_data" "', argument " "3"" of type '" "int""'");
33318 arg3 = (int)(val3);
33319 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_int, 0 | 0 );
33320 if (!SWIG_IsOK(res4)) {
33321 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvERTreeTrainData_get_cat_var_data" "', argument " "4"" of type '" "int *""'");
33323 arg4 = (int *)(argp4);
33324 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_p_int, 0 | 0 );
33325 if (!SWIG_IsOK(res5)) {
33326 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvERTreeTrainData_get_cat_var_data" "', argument " "5"" of type '" "int const **""'");
33328 arg5 = (int **)(argp5);
33331 result = (int)(arg1)->get_cat_var_data(arg2,arg3,arg4,(int const **)arg5);
33338 _outv = SWIG_From_int((int)(result));
33339 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
33345 static octave_value_list _wrap_CvERTreeTrainData_get_vectors__SWIG_0 (const octave_value_list& args, int nargout) {
33346 CvERTreeTrainData *arg1 = (CvERTreeTrainData *) 0 ;
33347 CvMat *arg2 = (CvMat *) 0 ;
33348 float *arg3 = (float *) 0 ;
33349 uchar *arg4 = (uchar *) 0 ;
33350 float *arg5 = (float *) 0 ;
33364 octave_value_list _out;
33365 octave_value_list *_outp=&_out;
33366 octave_value _outv;
33368 if (!SWIG_check_num_args("CvERTreeTrainData_get_vectors",args.length(),6,6,0)) {
33371 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvERTreeTrainData, 0 | 0 );
33372 if (!SWIG_IsOK(res1)) {
33373 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvERTreeTrainData_get_vectors" "', argument " "1"" of type '" "CvERTreeTrainData *""'");
33375 arg1 = (CvERTreeTrainData *)(argp1);
33376 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
33377 if (!SWIG_IsOK(res2)) {
33378 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvERTreeTrainData_get_vectors" "', argument " "2"" of type '" "CvMat const *""'");
33380 arg2 = (CvMat *)(argp2);
33381 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_float, 0 | 0 );
33382 if (!SWIG_IsOK(res3)) {
33383 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvERTreeTrainData_get_vectors" "', argument " "3"" of type '" "float *""'");
33385 arg3 = (float *)(argp3);
33386 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_unsigned_char, 0 | 0 );
33387 if (!SWIG_IsOK(res4)) {
33388 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvERTreeTrainData_get_vectors" "', argument " "4"" of type '" "uchar *""'");
33390 arg4 = (uchar *)(argp4);
33391 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_float, 0 | 0 );
33392 if (!SWIG_IsOK(res5)) {
33393 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvERTreeTrainData_get_vectors" "', argument " "5"" of type '" "float *""'");
33395 arg5 = (float *)(argp5);
33396 ecode6 = SWIG_AsVal_bool(args(5), &val6);
33397 if (!SWIG_IsOK(ecode6)) {
33398 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "CvERTreeTrainData_get_vectors" "', argument " "6"" of type '" "bool""'");
33400 arg6 = (bool)(val6);
33403 (arg1)->get_vectors((CvMat const *)arg2,arg3,arg4,arg5,arg6);
33410 _outv = octave_value();
33411 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
33417 static octave_value_list _wrap_CvERTreeTrainData_get_vectors__SWIG_1 (const octave_value_list& args, int nargout) {
33418 CvERTreeTrainData *arg1 = (CvERTreeTrainData *) 0 ;
33419 CvMat *arg2 = (CvMat *) 0 ;
33420 float *arg3 = (float *) 0 ;
33421 uchar *arg4 = (uchar *) 0 ;
33422 float *arg5 = (float *) 0 ;
33433 octave_value_list _out;
33434 octave_value_list *_outp=&_out;
33435 octave_value _outv;
33437 if (!SWIG_check_num_args("CvERTreeTrainData_get_vectors",args.length(),5,5,0)) {
33440 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvERTreeTrainData, 0 | 0 );
33441 if (!SWIG_IsOK(res1)) {
33442 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvERTreeTrainData_get_vectors" "', argument " "1"" of type '" "CvERTreeTrainData *""'");
33444 arg1 = (CvERTreeTrainData *)(argp1);
33445 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
33446 if (!SWIG_IsOK(res2)) {
33447 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvERTreeTrainData_get_vectors" "', argument " "2"" of type '" "CvMat const *""'");
33449 arg2 = (CvMat *)(argp2);
33450 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_float, 0 | 0 );
33451 if (!SWIG_IsOK(res3)) {
33452 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvERTreeTrainData_get_vectors" "', argument " "3"" of type '" "float *""'");
33454 arg3 = (float *)(argp3);
33455 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_unsigned_char, 0 | 0 );
33456 if (!SWIG_IsOK(res4)) {
33457 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvERTreeTrainData_get_vectors" "', argument " "4"" of type '" "uchar *""'");
33459 arg4 = (uchar *)(argp4);
33460 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_float, 0 | 0 );
33461 if (!SWIG_IsOK(res5)) {
33462 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvERTreeTrainData_get_vectors" "', argument " "5"" of type '" "float *""'");
33464 arg5 = (float *)(argp5);
33467 (arg1)->get_vectors((CvMat const *)arg2,arg3,arg4,arg5);
33474 _outv = octave_value();
33475 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
33481 static octave_value_list _wrap_CvERTreeTrainData_get_vectors (const octave_value_list& args, int nargout) {
33482 int argc = args.length();
33483 octave_value_ref argv[6]={
33484 octave_value_ref(args,0),octave_value_ref(args,1),octave_value_ref(args,2),octave_value_ref(args,3),octave_value_ref(args,4),octave_value_ref(args,5)
33490 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvERTreeTrainData, 0);
33491 _v = SWIG_CheckState(res);
33494 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
33495 _v = SWIG_CheckState(res);
33498 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_float, 0);
33499 _v = SWIG_CheckState(res);
33502 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_unsigned_char, 0);
33503 _v = SWIG_CheckState(res);
33506 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_float, 0);
33507 _v = SWIG_CheckState(res);
33509 return _wrap_CvERTreeTrainData_get_vectors__SWIG_1(args, nargout);
33519 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvERTreeTrainData, 0);
33520 _v = SWIG_CheckState(res);
33523 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
33524 _v = SWIG_CheckState(res);
33527 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_float, 0);
33528 _v = SWIG_CheckState(res);
33531 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_unsigned_char, 0);
33532 _v = SWIG_CheckState(res);
33535 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_float, 0);
33536 _v = SWIG_CheckState(res);
33539 int res = SWIG_AsVal_bool(argv[5], NULL);
33540 _v = SWIG_CheckState(res);
33543 return _wrap_CvERTreeTrainData_get_vectors__SWIG_0(args, nargout);
33552 error("No matching function for overload");
33553 return octave_value_list();
33557 static octave_value_list _wrap_CvERTreeTrainData_subsample_data (const octave_value_list& args, int nargout) {
33558 CvERTreeTrainData *arg1 = (CvERTreeTrainData *) 0 ;
33559 CvMat *arg2 = (CvMat *) 0 ;
33564 octave_value_list _out;
33565 octave_value_list *_outp=&_out;
33566 octave_value _outv;
33567 CvDTreeNode *result = 0 ;
33569 if (!SWIG_check_num_args("CvERTreeTrainData_subsample_data",args.length(),2,2,0)) {
33572 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvERTreeTrainData, 0 | 0 );
33573 if (!SWIG_IsOK(res1)) {
33574 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvERTreeTrainData_subsample_data" "', argument " "1"" of type '" "CvERTreeTrainData *""'");
33576 arg1 = (CvERTreeTrainData *)(argp1);
33577 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
33578 if (!SWIG_IsOK(res2)) {
33579 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvERTreeTrainData_subsample_data" "', argument " "2"" of type '" "CvMat const *""'");
33581 arg2 = (CvMat *)(argp2);
33584 result = (CvDTreeNode *)(arg1)->subsample_data((CvMat const *)arg2);
33591 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvDTreeNode, 0 | 0 );
33592 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
33598 static octave_value_list _wrap_CvERTreeTrainData_missing_mask_set (const octave_value_list& args, int nargout) {
33599 CvERTreeTrainData *arg1 = (CvERTreeTrainData *) 0 ;
33600 CvMat *arg2 = (CvMat *) 0 ;
33605 octave_value_list _out;
33606 octave_value_list *_outp=&_out;
33607 octave_value _outv;
33609 if (!SWIG_check_num_args("CvERTreeTrainData_missing_mask_set",args.length(),2,2,0)) {
33612 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvERTreeTrainData, 0 | 0 );
33613 if (!SWIG_IsOK(res1)) {
33614 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvERTreeTrainData_missing_mask_set" "', argument " "1"" of type '" "CvERTreeTrainData *""'");
33616 arg1 = (CvERTreeTrainData *)(argp1);
33617 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, SWIG_POINTER_DISOWN | 0 );
33618 if (!SWIG_IsOK(res2)) {
33619 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvERTreeTrainData_missing_mask_set" "', argument " "2"" of type '" "CvMat const *""'");
33621 arg2 = (CvMat *)(argp2);
33622 if (arg1) (arg1)->missing_mask = (CvMat const *)arg2;
33623 _outv = octave_value();
33624 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
33630 static octave_value_list _wrap_CvERTreeTrainData_missing_mask_get (const octave_value_list& args, int nargout) {
33631 CvERTreeTrainData *arg1 = (CvERTreeTrainData *) 0 ;
33634 octave_value_list _out;
33635 octave_value_list *_outp=&_out;
33636 octave_value _outv;
33637 CvMat *result = 0 ;
33639 if (!SWIG_check_num_args("CvERTreeTrainData_missing_mask_get",args.length(),1,1,0)) {
33642 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvERTreeTrainData, 0 | 0 );
33643 if (!SWIG_IsOK(res1)) {
33644 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvERTreeTrainData_missing_mask_get" "', argument " "1"" of type '" "CvERTreeTrainData *""'");
33646 arg1 = (CvERTreeTrainData *)(argp1);
33647 result = (CvMat *) ((arg1)->missing_mask);
33648 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvMat, 0 | 0 );
33649 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
33655 static octave_value_list _wrap_new_CvERTreeTrainData (const octave_value_list& args, int nargout) {
33656 octave_value_list _out;
33657 octave_value_list *_outp=&_out;
33658 octave_value _outv;
33659 CvERTreeTrainData *result = 0 ;
33661 if (!SWIG_check_num_args("new_CvERTreeTrainData",args.length(),0,0,0)) {
33666 result = (CvERTreeTrainData *)new CvERTreeTrainData();
33673 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvERTreeTrainData, 1 | 0 );
33674 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
33680 static octave_value_list _wrap_delete_CvERTreeTrainData (const octave_value_list& args, int nargout) {
33681 CvERTreeTrainData *arg1 = (CvERTreeTrainData *) 0 ;
33684 octave_value_list _out;
33685 octave_value_list *_outp=&_out;
33686 octave_value _outv;
33688 if (!SWIG_check_num_args("delete_CvERTreeTrainData",args.length(),1,1,0)) {
33691 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvERTreeTrainData, SWIG_POINTER_DISOWN | 0 );
33692 if (!SWIG_IsOK(res1)) {
33693 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CvERTreeTrainData" "', argument " "1"" of type '" "CvERTreeTrainData *""'");
33695 arg1 = (CvERTreeTrainData *)(argp1);
33705 _outv = octave_value();
33706 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
33712 static swig_octave_member swig_CvERTreeTrainData_members[] = {
33713 {"set_data",_wrap_CvERTreeTrainData_set_data,0,0,0,0},
33714 {"get_ord_var_data",_wrap_CvERTreeTrainData_get_ord_var_data,0,0,0,0},
33715 {"get_sample_indices",_wrap_CvERTreeTrainData_get_sample_indices,0,0,0,0},
33716 {"get_cv_labels",_wrap_CvERTreeTrainData_get_cv_labels,0,0,0,0},
33717 {"get_cat_var_data",_wrap_CvERTreeTrainData_get_cat_var_data,0,0,0,0},
33718 {"get_vectors",_wrap_CvERTreeTrainData_get_vectors,0,0,0,0},
33719 {"subsample_data",_wrap_CvERTreeTrainData_subsample_data,0,0,0,0},
33720 {"missing_mask",0,_wrap_CvERTreeTrainData_missing_mask_get,_wrap_CvERTreeTrainData_missing_mask_set,0,0},
33723 static const char *swig_CvERTreeTrainData_base_names[] = {"_p_CvDTreeTrainData",0};
33724 static const swig_type_info *swig_CvERTreeTrainData_base[] = {0,0};
33725 static swig_octave_class _wrap_class_CvERTreeTrainData = {"CvERTreeTrainData", &SWIGTYPE_p_CvERTreeTrainData,0,_wrap_new_CvERTreeTrainData,0,_wrap_delete_CvERTreeTrainData,swig_CvERTreeTrainData_members,swig_CvERTreeTrainData_base_names,swig_CvERTreeTrainData_base };
33727 static octave_value_list _wrap_new_CvForestERTree (const octave_value_list& args, int nargout) {
33728 octave_value_list _out;
33729 octave_value_list *_outp=&_out;
33730 octave_value _outv;
33731 CvForestERTree *result = 0 ;
33733 if (!SWIG_check_num_args("new_CvForestERTree",args.length(),0,0,0)) {
33738 result = (CvForestERTree *)new CvForestERTree();
33745 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvForestERTree, 1 | 0 );
33746 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
33752 static octave_value_list _wrap_delete_CvForestERTree (const octave_value_list& args, int nargout) {
33753 CvForestERTree *arg1 = (CvForestERTree *) 0 ;
33756 octave_value_list _out;
33757 octave_value_list *_outp=&_out;
33758 octave_value _outv;
33760 if (!SWIG_check_num_args("delete_CvForestERTree",args.length(),1,1,0)) {
33763 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvForestERTree, SWIG_POINTER_DISOWN | 0 );
33764 if (!SWIG_IsOK(res1)) {
33765 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CvForestERTree" "', argument " "1"" of type '" "CvForestERTree *""'");
33767 arg1 = (CvForestERTree *)(argp1);
33777 _outv = octave_value();
33778 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
33784 static swig_octave_member swig_CvForestERTree_members[] = {
33787 static const char *swig_CvForestERTree_base_names[] = {"_p_CvForestTree",0};
33788 static const swig_type_info *swig_CvForestERTree_base[] = {0,0};
33789 static swig_octave_class _wrap_class_CvForestERTree = {"CvForestERTree", &SWIGTYPE_p_CvForestERTree,0,_wrap_new_CvForestERTree,0,_wrap_delete_CvForestERTree,swig_CvForestERTree_members,swig_CvForestERTree_base_names,swig_CvForestERTree_base };
33791 static octave_value_list _wrap_new_CvERTrees (const octave_value_list& args, int nargout) {
33792 octave_value_list _out;
33793 octave_value_list *_outp=&_out;
33794 octave_value _outv;
33795 CvERTrees *result = 0 ;
33797 if (!SWIG_check_num_args("new_CvERTrees",args.length(),0,0,0)) {
33802 result = (CvERTrees *)new CvERTrees();
33809 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvERTrees, 1 | 0 );
33810 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
33816 static octave_value_list _wrap_delete_CvERTrees (const octave_value_list& args, int nargout) {
33817 CvERTrees *arg1 = (CvERTrees *) 0 ;
33820 octave_value_list _out;
33821 octave_value_list *_outp=&_out;
33822 octave_value _outv;
33824 if (!SWIG_check_num_args("delete_CvERTrees",args.length(),1,1,0)) {
33827 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvERTrees, SWIG_POINTER_DISOWN | 0 );
33828 if (!SWIG_IsOK(res1)) {
33829 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CvERTrees" "', argument " "1"" of type '" "CvERTrees *""'");
33831 arg1 = (CvERTrees *)(argp1);
33841 _outv = octave_value();
33842 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
33848 static octave_value_list _wrap_CvERTrees_train__SWIG_0 (const octave_value_list& args, int nargout) {
33849 CvERTrees *arg1 = (CvERTrees *) 0 ;
33850 CvMat *arg2 = (CvMat *) 0 ;
33852 CvMat *arg4 = (CvMat *) 0 ;
33853 CvMat *arg5 = (CvMat *) 0 ;
33854 CvMat *arg6 = (CvMat *) 0 ;
33855 CvMat *arg7 = (CvMat *) 0 ;
33856 CvMat *arg8 = (CvMat *) 0 ;
33876 octave_value_list _out;
33877 octave_value_list *_outp=&_out;
33878 octave_value _outv;
33881 if (!SWIG_check_num_args("CvERTrees_train",args.length(),9,9,0)) {
33884 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvERTrees, 0 | 0 );
33885 if (!SWIG_IsOK(res1)) {
33886 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvERTrees_train" "', argument " "1"" of type '" "CvERTrees *""'");
33888 arg1 = (CvERTrees *)(argp1);
33889 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
33890 if (!SWIG_IsOK(res2)) {
33891 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvERTrees_train" "', argument " "2"" of type '" "CvMat const *""'");
33893 arg2 = (CvMat *)(argp2);
33894 ecode3 = SWIG_AsVal_int(args(2), &val3);
33895 if (!SWIG_IsOK(ecode3)) {
33896 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvERTrees_train" "', argument " "3"" of type '" "int""'");
33898 arg3 = (int)(val3);
33899 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
33900 if (!SWIG_IsOK(res4)) {
33901 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvERTrees_train" "', argument " "4"" of type '" "CvMat const *""'");
33903 arg4 = (CvMat *)(argp4);
33904 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
33905 if (!SWIG_IsOK(res5)) {
33906 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvERTrees_train" "', argument " "5"" of type '" "CvMat const *""'");
33908 arg5 = (CvMat *)(argp5);
33909 res6 = SWIG_ConvertPtr(args(5), &argp6,SWIGTYPE_p_CvMat, 0 | 0 );
33910 if (!SWIG_IsOK(res6)) {
33911 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "CvERTrees_train" "', argument " "6"" of type '" "CvMat const *""'");
33913 arg6 = (CvMat *)(argp6);
33914 res7 = SWIG_ConvertPtr(args(6), &argp7,SWIGTYPE_p_CvMat, 0 | 0 );
33915 if (!SWIG_IsOK(res7)) {
33916 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "CvERTrees_train" "', argument " "7"" of type '" "CvMat const *""'");
33918 arg7 = (CvMat *)(argp7);
33919 res8 = SWIG_ConvertPtr(args(7), &argp8,SWIGTYPE_p_CvMat, 0 | 0 );
33920 if (!SWIG_IsOK(res8)) {
33921 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CvERTrees_train" "', argument " "8"" of type '" "CvMat const *""'");
33923 arg8 = (CvMat *)(argp8);
33925 res9 = SWIG_ConvertPtr(args(8), &argp9, SWIGTYPE_p_CvRTParams, 0 );
33926 if (!SWIG_IsOK(res9)) {
33927 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "CvERTrees_train" "', argument " "9"" of type '" "CvRTParams""'");
33930 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvERTrees_train" "', argument " "9"" of type '" "CvRTParams""'");
33932 arg9 = *((CvRTParams *)(argp9));
33937 result = (bool)(arg1)->train((CvMat const *)arg2,arg3,(CvMat const *)arg4,(CvMat const *)arg5,(CvMat const *)arg6,(CvMat const *)arg7,(CvMat const *)arg8,arg9);
33944 _outv = SWIG_From_bool((bool)(result));
33945 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
33951 static octave_value_list _wrap_CvERTrees_train__SWIG_1 (const octave_value_list& args, int nargout) {
33952 CvERTrees *arg1 = (CvERTrees *) 0 ;
33953 CvMat *arg2 = (CvMat *) 0 ;
33955 CvMat *arg4 = (CvMat *) 0 ;
33956 CvMat *arg5 = (CvMat *) 0 ;
33957 CvMat *arg6 = (CvMat *) 0 ;
33958 CvMat *arg7 = (CvMat *) 0 ;
33959 CvMat *arg8 = (CvMat *) 0 ;
33976 octave_value_list _out;
33977 octave_value_list *_outp=&_out;
33978 octave_value _outv;
33981 if (!SWIG_check_num_args("CvERTrees_train",args.length(),8,8,0)) {
33984 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvERTrees, 0 | 0 );
33985 if (!SWIG_IsOK(res1)) {
33986 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvERTrees_train" "', argument " "1"" of type '" "CvERTrees *""'");
33988 arg1 = (CvERTrees *)(argp1);
33989 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
33990 if (!SWIG_IsOK(res2)) {
33991 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvERTrees_train" "', argument " "2"" of type '" "CvMat const *""'");
33993 arg2 = (CvMat *)(argp2);
33994 ecode3 = SWIG_AsVal_int(args(2), &val3);
33995 if (!SWIG_IsOK(ecode3)) {
33996 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvERTrees_train" "', argument " "3"" of type '" "int""'");
33998 arg3 = (int)(val3);
33999 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
34000 if (!SWIG_IsOK(res4)) {
34001 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvERTrees_train" "', argument " "4"" of type '" "CvMat const *""'");
34003 arg4 = (CvMat *)(argp4);
34004 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
34005 if (!SWIG_IsOK(res5)) {
34006 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvERTrees_train" "', argument " "5"" of type '" "CvMat const *""'");
34008 arg5 = (CvMat *)(argp5);
34009 res6 = SWIG_ConvertPtr(args(5), &argp6,SWIGTYPE_p_CvMat, 0 | 0 );
34010 if (!SWIG_IsOK(res6)) {
34011 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "CvERTrees_train" "', argument " "6"" of type '" "CvMat const *""'");
34013 arg6 = (CvMat *)(argp6);
34014 res7 = SWIG_ConvertPtr(args(6), &argp7,SWIGTYPE_p_CvMat, 0 | 0 );
34015 if (!SWIG_IsOK(res7)) {
34016 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "CvERTrees_train" "', argument " "7"" of type '" "CvMat const *""'");
34018 arg7 = (CvMat *)(argp7);
34019 res8 = SWIG_ConvertPtr(args(7), &argp8,SWIGTYPE_p_CvMat, 0 | 0 );
34020 if (!SWIG_IsOK(res8)) {
34021 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CvERTrees_train" "', argument " "8"" of type '" "CvMat const *""'");
34023 arg8 = (CvMat *)(argp8);
34026 result = (bool)(arg1)->train((CvMat const *)arg2,arg3,(CvMat const *)arg4,(CvMat const *)arg5,(CvMat const *)arg6,(CvMat const *)arg7,(CvMat const *)arg8);
34033 _outv = SWIG_From_bool((bool)(result));
34034 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
34040 static octave_value_list _wrap_CvERTrees_train__SWIG_2 (const octave_value_list& args, int nargout) {
34041 CvERTrees *arg1 = (CvERTrees *) 0 ;
34042 CvMat *arg2 = (CvMat *) 0 ;
34044 CvMat *arg4 = (CvMat *) 0 ;
34045 CvMat *arg5 = (CvMat *) 0 ;
34046 CvMat *arg6 = (CvMat *) 0 ;
34047 CvMat *arg7 = (CvMat *) 0 ;
34062 octave_value_list _out;
34063 octave_value_list *_outp=&_out;
34064 octave_value _outv;
34067 if (!SWIG_check_num_args("CvERTrees_train",args.length(),7,7,0)) {
34070 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvERTrees, 0 | 0 );
34071 if (!SWIG_IsOK(res1)) {
34072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvERTrees_train" "', argument " "1"" of type '" "CvERTrees *""'");
34074 arg1 = (CvERTrees *)(argp1);
34075 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
34076 if (!SWIG_IsOK(res2)) {
34077 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvERTrees_train" "', argument " "2"" of type '" "CvMat const *""'");
34079 arg2 = (CvMat *)(argp2);
34080 ecode3 = SWIG_AsVal_int(args(2), &val3);
34081 if (!SWIG_IsOK(ecode3)) {
34082 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvERTrees_train" "', argument " "3"" of type '" "int""'");
34084 arg3 = (int)(val3);
34085 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
34086 if (!SWIG_IsOK(res4)) {
34087 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvERTrees_train" "', argument " "4"" of type '" "CvMat const *""'");
34089 arg4 = (CvMat *)(argp4);
34090 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
34091 if (!SWIG_IsOK(res5)) {
34092 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvERTrees_train" "', argument " "5"" of type '" "CvMat const *""'");
34094 arg5 = (CvMat *)(argp5);
34095 res6 = SWIG_ConvertPtr(args(5), &argp6,SWIGTYPE_p_CvMat, 0 | 0 );
34096 if (!SWIG_IsOK(res6)) {
34097 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "CvERTrees_train" "', argument " "6"" of type '" "CvMat const *""'");
34099 arg6 = (CvMat *)(argp6);
34100 res7 = SWIG_ConvertPtr(args(6), &argp7,SWIGTYPE_p_CvMat, 0 | 0 );
34101 if (!SWIG_IsOK(res7)) {
34102 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "CvERTrees_train" "', argument " "7"" of type '" "CvMat const *""'");
34104 arg7 = (CvMat *)(argp7);
34107 result = (bool)(arg1)->train((CvMat const *)arg2,arg3,(CvMat const *)arg4,(CvMat const *)arg5,(CvMat const *)arg6,(CvMat const *)arg7);
34114 _outv = SWIG_From_bool((bool)(result));
34115 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
34121 static octave_value_list _wrap_CvERTrees_train__SWIG_3 (const octave_value_list& args, int nargout) {
34122 CvERTrees *arg1 = (CvERTrees *) 0 ;
34123 CvMat *arg2 = (CvMat *) 0 ;
34125 CvMat *arg4 = (CvMat *) 0 ;
34126 CvMat *arg5 = (CvMat *) 0 ;
34127 CvMat *arg6 = (CvMat *) 0 ;
34140 octave_value_list _out;
34141 octave_value_list *_outp=&_out;
34142 octave_value _outv;
34145 if (!SWIG_check_num_args("CvERTrees_train",args.length(),6,6,0)) {
34148 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvERTrees, 0 | 0 );
34149 if (!SWIG_IsOK(res1)) {
34150 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvERTrees_train" "', argument " "1"" of type '" "CvERTrees *""'");
34152 arg1 = (CvERTrees *)(argp1);
34153 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
34154 if (!SWIG_IsOK(res2)) {
34155 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvERTrees_train" "', argument " "2"" of type '" "CvMat const *""'");
34157 arg2 = (CvMat *)(argp2);
34158 ecode3 = SWIG_AsVal_int(args(2), &val3);
34159 if (!SWIG_IsOK(ecode3)) {
34160 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvERTrees_train" "', argument " "3"" of type '" "int""'");
34162 arg3 = (int)(val3);
34163 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
34164 if (!SWIG_IsOK(res4)) {
34165 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvERTrees_train" "', argument " "4"" of type '" "CvMat const *""'");
34167 arg4 = (CvMat *)(argp4);
34168 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
34169 if (!SWIG_IsOK(res5)) {
34170 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvERTrees_train" "', argument " "5"" of type '" "CvMat const *""'");
34172 arg5 = (CvMat *)(argp5);
34173 res6 = SWIG_ConvertPtr(args(5), &argp6,SWIGTYPE_p_CvMat, 0 | 0 );
34174 if (!SWIG_IsOK(res6)) {
34175 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "CvERTrees_train" "', argument " "6"" of type '" "CvMat const *""'");
34177 arg6 = (CvMat *)(argp6);
34180 result = (bool)(arg1)->train((CvMat const *)arg2,arg3,(CvMat const *)arg4,(CvMat const *)arg5,(CvMat const *)arg6);
34187 _outv = SWIG_From_bool((bool)(result));
34188 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
34194 static octave_value_list _wrap_CvERTrees_train__SWIG_4 (const octave_value_list& args, int nargout) {
34195 CvERTrees *arg1 = (CvERTrees *) 0 ;
34196 CvMat *arg2 = (CvMat *) 0 ;
34198 CvMat *arg4 = (CvMat *) 0 ;
34199 CvMat *arg5 = (CvMat *) 0 ;
34210 octave_value_list _out;
34211 octave_value_list *_outp=&_out;
34212 octave_value _outv;
34215 if (!SWIG_check_num_args("CvERTrees_train",args.length(),5,5,0)) {
34218 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvERTrees, 0 | 0 );
34219 if (!SWIG_IsOK(res1)) {
34220 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvERTrees_train" "', argument " "1"" of type '" "CvERTrees *""'");
34222 arg1 = (CvERTrees *)(argp1);
34223 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
34224 if (!SWIG_IsOK(res2)) {
34225 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvERTrees_train" "', argument " "2"" of type '" "CvMat const *""'");
34227 arg2 = (CvMat *)(argp2);
34228 ecode3 = SWIG_AsVal_int(args(2), &val3);
34229 if (!SWIG_IsOK(ecode3)) {
34230 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvERTrees_train" "', argument " "3"" of type '" "int""'");
34232 arg3 = (int)(val3);
34233 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
34234 if (!SWIG_IsOK(res4)) {
34235 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvERTrees_train" "', argument " "4"" of type '" "CvMat const *""'");
34237 arg4 = (CvMat *)(argp4);
34238 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
34239 if (!SWIG_IsOK(res5)) {
34240 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvERTrees_train" "', argument " "5"" of type '" "CvMat const *""'");
34242 arg5 = (CvMat *)(argp5);
34245 result = (bool)(arg1)->train((CvMat const *)arg2,arg3,(CvMat const *)arg4,(CvMat const *)arg5);
34252 _outv = SWIG_From_bool((bool)(result));
34253 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
34259 static octave_value_list _wrap_CvERTrees_train__SWIG_5 (const octave_value_list& args, int nargout) {
34260 CvERTrees *arg1 = (CvERTrees *) 0 ;
34261 CvMat *arg2 = (CvMat *) 0 ;
34263 CvMat *arg4 = (CvMat *) 0 ;
34272 octave_value_list _out;
34273 octave_value_list *_outp=&_out;
34274 octave_value _outv;
34277 if (!SWIG_check_num_args("CvERTrees_train",args.length(),4,4,0)) {
34280 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvERTrees, 0 | 0 );
34281 if (!SWIG_IsOK(res1)) {
34282 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvERTrees_train" "', argument " "1"" of type '" "CvERTrees *""'");
34284 arg1 = (CvERTrees *)(argp1);
34285 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
34286 if (!SWIG_IsOK(res2)) {
34287 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvERTrees_train" "', argument " "2"" of type '" "CvMat const *""'");
34289 arg2 = (CvMat *)(argp2);
34290 ecode3 = SWIG_AsVal_int(args(2), &val3);
34291 if (!SWIG_IsOK(ecode3)) {
34292 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvERTrees_train" "', argument " "3"" of type '" "int""'");
34294 arg3 = (int)(val3);
34295 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
34296 if (!SWIG_IsOK(res4)) {
34297 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvERTrees_train" "', argument " "4"" of type '" "CvMat const *""'");
34299 arg4 = (CvMat *)(argp4);
34302 result = (bool)(arg1)->train((CvMat const *)arg2,arg3,(CvMat const *)arg4);
34309 _outv = SWIG_From_bool((bool)(result));
34310 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
34316 static octave_value_list _wrap_CvERTrees_train__SWIG_6 (const octave_value_list& args, int nargout) {
34317 CvERTrees *arg1 = (CvERTrees *) 0 ;
34318 CvMLData *arg2 = (CvMLData *) 0 ;
34326 octave_value_list _out;
34327 octave_value_list *_outp=&_out;
34328 octave_value _outv;
34331 if (!SWIG_check_num_args("CvERTrees_train",args.length(),3,3,0)) {
34334 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvERTrees, 0 | 0 );
34335 if (!SWIG_IsOK(res1)) {
34336 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvERTrees_train" "', argument " "1"" of type '" "CvERTrees *""'");
34338 arg1 = (CvERTrees *)(argp1);
34339 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMLData, 0 | 0 );
34340 if (!SWIG_IsOK(res2)) {
34341 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvERTrees_train" "', argument " "2"" of type '" "CvMLData *""'");
34343 arg2 = (CvMLData *)(argp2);
34345 res3 = SWIG_ConvertPtr(args(2), &argp3, SWIGTYPE_p_CvRTParams, 0 );
34346 if (!SWIG_IsOK(res3)) {
34347 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvERTrees_train" "', argument " "3"" of type '" "CvRTParams""'");
34350 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvERTrees_train" "', argument " "3"" of type '" "CvRTParams""'");
34352 arg3 = *((CvRTParams *)(argp3));
34357 result = (bool)(arg1)->train(arg2,arg3);
34364 _outv = SWIG_From_bool((bool)(result));
34365 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
34371 static octave_value_list _wrap_CvERTrees_train__SWIG_7 (const octave_value_list& args, int nargout) {
34372 CvERTrees *arg1 = (CvERTrees *) 0 ;
34373 CvMLData *arg2 = (CvMLData *) 0 ;
34378 octave_value_list _out;
34379 octave_value_list *_outp=&_out;
34380 octave_value _outv;
34383 if (!SWIG_check_num_args("CvERTrees_train",args.length(),2,2,0)) {
34386 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvERTrees, 0 | 0 );
34387 if (!SWIG_IsOK(res1)) {
34388 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvERTrees_train" "', argument " "1"" of type '" "CvERTrees *""'");
34390 arg1 = (CvERTrees *)(argp1);
34391 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMLData, 0 | 0 );
34392 if (!SWIG_IsOK(res2)) {
34393 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvERTrees_train" "', argument " "2"" of type '" "CvMLData *""'");
34395 arg2 = (CvMLData *)(argp2);
34398 result = (bool)(arg1)->train(arg2);
34405 _outv = SWIG_From_bool((bool)(result));
34406 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
34412 static octave_value_list _wrap_CvERTrees_train (const octave_value_list& args, int nargout) {
34413 int argc = args.length();
34414 octave_value_ref argv[9]={
34415 octave_value_ref(args,0),octave_value_ref(args,1),octave_value_ref(args,2),octave_value_ref(args,3),octave_value_ref(args,4),octave_value_ref(args,5),octave_value_ref(args,6),octave_value_ref(args,7),octave_value_ref(args,8)
34421 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvERTrees, 0);
34422 _v = SWIG_CheckState(res);
34425 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMLData, 0);
34426 _v = SWIG_CheckState(res);
34428 return _wrap_CvERTrees_train__SWIG_7(args, nargout);
34435 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvERTrees, 0);
34436 _v = SWIG_CheckState(res);
34439 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMLData, 0);
34440 _v = SWIG_CheckState(res);
34443 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvRTParams, 0);
34444 _v = SWIG_CheckState(res);
34446 return _wrap_CvERTrees_train__SWIG_6(args, nargout);
34454 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvERTrees, 0);
34455 _v = SWIG_CheckState(res);
34458 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
34459 _v = SWIG_CheckState(res);
34462 int res = SWIG_AsVal_int(argv[2], NULL);
34463 _v = SWIG_CheckState(res);
34467 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
34468 _v = SWIG_CheckState(res);
34470 return _wrap_CvERTrees_train__SWIG_5(args, nargout);
34479 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvERTrees, 0);
34480 _v = SWIG_CheckState(res);
34483 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
34484 _v = SWIG_CheckState(res);
34487 int res = SWIG_AsVal_int(argv[2], NULL);
34488 _v = SWIG_CheckState(res);
34492 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
34493 _v = SWIG_CheckState(res);
34496 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvMat, 0);
34497 _v = SWIG_CheckState(res);
34499 return _wrap_CvERTrees_train__SWIG_4(args, nargout);
34509 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvERTrees, 0);
34510 _v = SWIG_CheckState(res);
34513 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
34514 _v = SWIG_CheckState(res);
34517 int res = SWIG_AsVal_int(argv[2], NULL);
34518 _v = SWIG_CheckState(res);
34522 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
34523 _v = SWIG_CheckState(res);
34526 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvMat, 0);
34527 _v = SWIG_CheckState(res);
34530 int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_CvMat, 0);
34531 _v = SWIG_CheckState(res);
34533 return _wrap_CvERTrees_train__SWIG_3(args, nargout);
34544 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvERTrees, 0);
34545 _v = SWIG_CheckState(res);
34548 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
34549 _v = SWIG_CheckState(res);
34552 int res = SWIG_AsVal_int(argv[2], NULL);
34553 _v = SWIG_CheckState(res);
34557 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
34558 _v = SWIG_CheckState(res);
34561 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvMat, 0);
34562 _v = SWIG_CheckState(res);
34565 int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_CvMat, 0);
34566 _v = SWIG_CheckState(res);
34569 int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_CvMat, 0);
34570 _v = SWIG_CheckState(res);
34572 return _wrap_CvERTrees_train__SWIG_2(args, nargout);
34584 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvERTrees, 0);
34585 _v = SWIG_CheckState(res);
34588 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
34589 _v = SWIG_CheckState(res);
34592 int res = SWIG_AsVal_int(argv[2], NULL);
34593 _v = SWIG_CheckState(res);
34597 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
34598 _v = SWIG_CheckState(res);
34601 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvMat, 0);
34602 _v = SWIG_CheckState(res);
34605 int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_CvMat, 0);
34606 _v = SWIG_CheckState(res);
34609 int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_CvMat, 0);
34610 _v = SWIG_CheckState(res);
34613 int res = SWIG_ConvertPtr(argv[7], &vptr, SWIGTYPE_p_CvMat, 0);
34614 _v = SWIG_CheckState(res);
34616 return _wrap_CvERTrees_train__SWIG_1(args, nargout);
34629 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvERTrees, 0);
34630 _v = SWIG_CheckState(res);
34633 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
34634 _v = SWIG_CheckState(res);
34637 int res = SWIG_AsVal_int(argv[2], NULL);
34638 _v = SWIG_CheckState(res);
34642 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
34643 _v = SWIG_CheckState(res);
34646 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvMat, 0);
34647 _v = SWIG_CheckState(res);
34650 int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_CvMat, 0);
34651 _v = SWIG_CheckState(res);
34654 int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_CvMat, 0);
34655 _v = SWIG_CheckState(res);
34658 int res = SWIG_ConvertPtr(argv[7], &vptr, SWIGTYPE_p_CvMat, 0);
34659 _v = SWIG_CheckState(res);
34662 int res = SWIG_ConvertPtr(argv[8], &vptr, SWIGTYPE_p_CvRTParams, 0);
34663 _v = SWIG_CheckState(res);
34665 return _wrap_CvERTrees_train__SWIG_0(args, nargout);
34677 error("No matching function for overload");
34678 return octave_value_list();
34682 static swig_octave_member swig_CvERTrees_members[] = {
34683 {"train",_wrap_CvERTrees_train,0,0,0,0},
34686 static const char *swig_CvERTrees_base_names[] = {"_p_CvRTrees",0};
34687 static const swig_type_info *swig_CvERTrees_base[] = {0,0};
34688 static swig_octave_class _wrap_class_CvERTrees = {"CvERTrees", &SWIGTYPE_p_CvERTrees,0,_wrap_new_CvERTrees,0,_wrap_delete_CvERTrees,swig_CvERTrees_members,swig_CvERTrees_base_names,swig_CvERTrees_base };
34690 static octave_value_list _wrap_CvBoostParams_boost_type_set (const octave_value_list& args, int nargout) {
34691 CvBoostParams *arg1 = (CvBoostParams *) 0 ;
34697 octave_value_list _out;
34698 octave_value_list *_outp=&_out;
34699 octave_value _outv;
34701 if (!SWIG_check_num_args("CvBoostParams_boost_type_set",args.length(),2,2,0)) {
34704 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvBoostParams, 0 | 0 );
34705 if (!SWIG_IsOK(res1)) {
34706 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvBoostParams_boost_type_set" "', argument " "1"" of type '" "CvBoostParams *""'");
34708 arg1 = (CvBoostParams *)(argp1);
34709 ecode2 = SWIG_AsVal_int(args(1), &val2);
34710 if (!SWIG_IsOK(ecode2)) {
34711 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvBoostParams_boost_type_set" "', argument " "2"" of type '" "int""'");
34713 arg2 = (int)(val2);
34714 if (arg1) (arg1)->boost_type = arg2;
34715 _outv = octave_value();
34716 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
34722 static octave_value_list _wrap_CvBoostParams_boost_type_get (const octave_value_list& args, int nargout) {
34723 CvBoostParams *arg1 = (CvBoostParams *) 0 ;
34726 octave_value_list _out;
34727 octave_value_list *_outp=&_out;
34728 octave_value _outv;
34731 if (!SWIG_check_num_args("CvBoostParams_boost_type_get",args.length(),1,1,0)) {
34734 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvBoostParams, 0 | 0 );
34735 if (!SWIG_IsOK(res1)) {
34736 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvBoostParams_boost_type_get" "', argument " "1"" of type '" "CvBoostParams *""'");
34738 arg1 = (CvBoostParams *)(argp1);
34739 result = (int) ((arg1)->boost_type);
34740 _outv = SWIG_From_int((int)(result));
34741 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
34747 static octave_value_list _wrap_CvBoostParams_weak_count_set (const octave_value_list& args, int nargout) {
34748 CvBoostParams *arg1 = (CvBoostParams *) 0 ;
34754 octave_value_list _out;
34755 octave_value_list *_outp=&_out;
34756 octave_value _outv;
34758 if (!SWIG_check_num_args("CvBoostParams_weak_count_set",args.length(),2,2,0)) {
34761 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvBoostParams, 0 | 0 );
34762 if (!SWIG_IsOK(res1)) {
34763 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvBoostParams_weak_count_set" "', argument " "1"" of type '" "CvBoostParams *""'");
34765 arg1 = (CvBoostParams *)(argp1);
34766 ecode2 = SWIG_AsVal_int(args(1), &val2);
34767 if (!SWIG_IsOK(ecode2)) {
34768 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvBoostParams_weak_count_set" "', argument " "2"" of type '" "int""'");
34770 arg2 = (int)(val2);
34771 if (arg1) (arg1)->weak_count = arg2;
34772 _outv = octave_value();
34773 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
34779 static octave_value_list _wrap_CvBoostParams_weak_count_get (const octave_value_list& args, int nargout) {
34780 CvBoostParams *arg1 = (CvBoostParams *) 0 ;
34783 octave_value_list _out;
34784 octave_value_list *_outp=&_out;
34785 octave_value _outv;
34788 if (!SWIG_check_num_args("CvBoostParams_weak_count_get",args.length(),1,1,0)) {
34791 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvBoostParams, 0 | 0 );
34792 if (!SWIG_IsOK(res1)) {
34793 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvBoostParams_weak_count_get" "', argument " "1"" of type '" "CvBoostParams *""'");
34795 arg1 = (CvBoostParams *)(argp1);
34796 result = (int) ((arg1)->weak_count);
34797 _outv = SWIG_From_int((int)(result));
34798 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
34804 static octave_value_list _wrap_CvBoostParams_split_criteria_set (const octave_value_list& args, int nargout) {
34805 CvBoostParams *arg1 = (CvBoostParams *) 0 ;
34811 octave_value_list _out;
34812 octave_value_list *_outp=&_out;
34813 octave_value _outv;
34815 if (!SWIG_check_num_args("CvBoostParams_split_criteria_set",args.length(),2,2,0)) {
34818 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvBoostParams, 0 | 0 );
34819 if (!SWIG_IsOK(res1)) {
34820 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvBoostParams_split_criteria_set" "', argument " "1"" of type '" "CvBoostParams *""'");
34822 arg1 = (CvBoostParams *)(argp1);
34823 ecode2 = SWIG_AsVal_int(args(1), &val2);
34824 if (!SWIG_IsOK(ecode2)) {
34825 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvBoostParams_split_criteria_set" "', argument " "2"" of type '" "int""'");
34827 arg2 = (int)(val2);
34828 if (arg1) (arg1)->split_criteria = arg2;
34829 _outv = octave_value();
34830 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
34836 static octave_value_list _wrap_CvBoostParams_split_criteria_get (const octave_value_list& args, int nargout) {
34837 CvBoostParams *arg1 = (CvBoostParams *) 0 ;
34840 octave_value_list _out;
34841 octave_value_list *_outp=&_out;
34842 octave_value _outv;
34845 if (!SWIG_check_num_args("CvBoostParams_split_criteria_get",args.length(),1,1,0)) {
34848 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvBoostParams, 0 | 0 );
34849 if (!SWIG_IsOK(res1)) {
34850 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvBoostParams_split_criteria_get" "', argument " "1"" of type '" "CvBoostParams *""'");
34852 arg1 = (CvBoostParams *)(argp1);
34853 result = (int) ((arg1)->split_criteria);
34854 _outv = SWIG_From_int((int)(result));
34855 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
34861 static octave_value_list _wrap_CvBoostParams_weight_trim_rate_set (const octave_value_list& args, int nargout) {
34862 CvBoostParams *arg1 = (CvBoostParams *) 0 ;
34868 octave_value_list _out;
34869 octave_value_list *_outp=&_out;
34870 octave_value _outv;
34872 if (!SWIG_check_num_args("CvBoostParams_weight_trim_rate_set",args.length(),2,2,0)) {
34875 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvBoostParams, 0 | 0 );
34876 if (!SWIG_IsOK(res1)) {
34877 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvBoostParams_weight_trim_rate_set" "', argument " "1"" of type '" "CvBoostParams *""'");
34879 arg1 = (CvBoostParams *)(argp1);
34880 ecode2 = SWIG_AsVal_double(args(1), &val2);
34881 if (!SWIG_IsOK(ecode2)) {
34882 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvBoostParams_weight_trim_rate_set" "', argument " "2"" of type '" "double""'");
34884 arg2 = (double)(val2);
34885 if (arg1) (arg1)->weight_trim_rate = arg2;
34886 _outv = octave_value();
34887 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
34893 static octave_value_list _wrap_CvBoostParams_weight_trim_rate_get (const octave_value_list& args, int nargout) {
34894 CvBoostParams *arg1 = (CvBoostParams *) 0 ;
34897 octave_value_list _out;
34898 octave_value_list *_outp=&_out;
34899 octave_value _outv;
34902 if (!SWIG_check_num_args("CvBoostParams_weight_trim_rate_get",args.length(),1,1,0)) {
34905 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvBoostParams, 0 | 0 );
34906 if (!SWIG_IsOK(res1)) {
34907 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvBoostParams_weight_trim_rate_get" "', argument " "1"" of type '" "CvBoostParams *""'");
34909 arg1 = (CvBoostParams *)(argp1);
34910 result = (double) ((arg1)->weight_trim_rate);
34911 _outv = SWIG_From_double((double)(result));
34912 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
34918 static octave_value_list _wrap_new_CvBoostParams__SWIG_0 (const octave_value_list& args, int nargout) {
34919 octave_value_list _out;
34920 octave_value_list *_outp=&_out;
34921 octave_value _outv;
34922 CvBoostParams *result = 0 ;
34924 if (!SWIG_check_num_args("new_CvBoostParams",args.length(),0,0,0)) {
34929 result = (CvBoostParams *)new CvBoostParams();
34936 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvBoostParams, 1 | 0 );
34937 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
34943 static octave_value_list _wrap_new_CvBoostParams__SWIG_1 (const octave_value_list& args, int nargout) {
34949 float *arg6 = (float *) 0 ;
34962 octave_value_list _out;
34963 octave_value_list *_outp=&_out;
34964 octave_value _outv;
34965 CvBoostParams *result = 0 ;
34967 if (!SWIG_check_num_args("new_CvBoostParams",args.length(),6,6,0)) {
34970 ecode1 = SWIG_AsVal_int(args(0), &val1);
34971 if (!SWIG_IsOK(ecode1)) {
34972 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CvBoostParams" "', argument " "1"" of type '" "int""'");
34974 arg1 = (int)(val1);
34975 ecode2 = SWIG_AsVal_int(args(1), &val2);
34976 if (!SWIG_IsOK(ecode2)) {
34977 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CvBoostParams" "', argument " "2"" of type '" "int""'");
34979 arg2 = (int)(val2);
34980 ecode3 = SWIG_AsVal_double(args(2), &val3);
34981 if (!SWIG_IsOK(ecode3)) {
34982 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_CvBoostParams" "', argument " "3"" of type '" "double""'");
34984 arg3 = (double)(val3);
34985 ecode4 = SWIG_AsVal_int(args(3), &val4);
34986 if (!SWIG_IsOK(ecode4)) {
34987 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_CvBoostParams" "', argument " "4"" of type '" "int""'");
34989 arg4 = (int)(val4);
34990 ecode5 = SWIG_AsVal_bool(args(4), &val5);
34991 if (!SWIG_IsOK(ecode5)) {
34992 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_CvBoostParams" "', argument " "5"" of type '" "bool""'");
34994 arg5 = (bool)(val5);
34995 res6 = SWIG_ConvertPtr(args(5), &argp6,SWIGTYPE_p_float, 0 | 0 );
34996 if (!SWIG_IsOK(res6)) {
34997 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_CvBoostParams" "', argument " "6"" of type '" "float const *""'");
34999 arg6 = (float *)(argp6);
35002 result = (CvBoostParams *)new CvBoostParams(arg1,arg2,arg3,arg4,arg5,(float const *)arg6);
35009 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvBoostParams, 1 | 0 );
35010 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
35016 static octave_value_list _wrap_new_CvBoostParams (const octave_value_list& args, int nargout) {
35017 int argc = args.length();
35018 octave_value_ref argv[6]={
35019 octave_value_ref(args,0),octave_value_ref(args,1),octave_value_ref(args,2),octave_value_ref(args,3),octave_value_ref(args,4),octave_value_ref(args,5)
35023 return _wrap_new_CvBoostParams__SWIG_0(args, nargout);
35028 int res = SWIG_AsVal_int(argv[0], NULL);
35029 _v = SWIG_CheckState(res);
35033 int res = SWIG_AsVal_int(argv[1], NULL);
35034 _v = SWIG_CheckState(res);
35038 int res = SWIG_AsVal_double(argv[2], NULL);
35039 _v = SWIG_CheckState(res);
35043 int res = SWIG_AsVal_int(argv[3], NULL);
35044 _v = SWIG_CheckState(res);
35048 int res = SWIG_AsVal_bool(argv[4], NULL);
35049 _v = SWIG_CheckState(res);
35053 int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_float, 0);
35054 _v = SWIG_CheckState(res);
35056 return _wrap_new_CvBoostParams__SWIG_1(args, nargout);
35065 error("No matching function for overload");
35066 return octave_value_list();
35070 static octave_value_list _wrap_delete_CvBoostParams (const octave_value_list& args, int nargout) {
35071 CvBoostParams *arg1 = (CvBoostParams *) 0 ;
35074 octave_value_list _out;
35075 octave_value_list *_outp=&_out;
35076 octave_value _outv;
35078 if (!SWIG_check_num_args("delete_CvBoostParams",args.length(),1,1,0)) {
35081 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvBoostParams, SWIG_POINTER_DISOWN | 0 );
35082 if (!SWIG_IsOK(res1)) {
35083 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CvBoostParams" "', argument " "1"" of type '" "CvBoostParams *""'");
35085 arg1 = (CvBoostParams *)(argp1);
35095 _outv = octave_value();
35096 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
35102 static swig_octave_member swig_CvBoostParams_members[] = {
35103 {"boost_type",0,_wrap_CvBoostParams_boost_type_get,_wrap_CvBoostParams_boost_type_set,0,0},
35104 {"weak_count",0,_wrap_CvBoostParams_weak_count_get,_wrap_CvBoostParams_weak_count_set,0,0},
35105 {"split_criteria",0,_wrap_CvBoostParams_split_criteria_get,_wrap_CvBoostParams_split_criteria_set,0,0},
35106 {"weight_trim_rate",0,_wrap_CvBoostParams_weight_trim_rate_get,_wrap_CvBoostParams_weight_trim_rate_set,0,0},
35109 static const char *swig_CvBoostParams_base_names[] = {"_p_CvDTreeParams",0};
35110 static const swig_type_info *swig_CvBoostParams_base[] = {0,0};
35111 static swig_octave_class _wrap_class_CvBoostParams = {"CvBoostParams", &SWIGTYPE_p_CvBoostParams,0,_wrap_new_CvBoostParams,0,_wrap_delete_CvBoostParams,swig_CvBoostParams_members,swig_CvBoostParams_base_names,swig_CvBoostParams_base };
35113 static octave_value_list _wrap_new_CvBoostTree (const octave_value_list& args, int nargout) {
35114 octave_value_list _out;
35115 octave_value_list *_outp=&_out;
35116 octave_value _outv;
35117 CvBoostTree *result = 0 ;
35119 if (!SWIG_check_num_args("new_CvBoostTree",args.length(),0,0,0)) {
35124 result = (CvBoostTree *)new CvBoostTree();
35131 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvBoostTree, 1 | 0 );
35132 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
35138 static octave_value_list _wrap_delete_CvBoostTree (const octave_value_list& args, int nargout) {
35139 CvBoostTree *arg1 = (CvBoostTree *) 0 ;
35142 octave_value_list _out;
35143 octave_value_list *_outp=&_out;
35144 octave_value _outv;
35146 if (!SWIG_check_num_args("delete_CvBoostTree",args.length(),1,1,0)) {
35149 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvBoostTree, SWIG_POINTER_DISOWN | 0 );
35150 if (!SWIG_IsOK(res1)) {
35151 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CvBoostTree" "', argument " "1"" of type '" "CvBoostTree *""'");
35153 arg1 = (CvBoostTree *)(argp1);
35163 _outv = octave_value();
35164 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
35170 static octave_value_list _wrap_CvBoostTree_train__SWIG_0 (const octave_value_list& args, int nargout) {
35171 CvBoostTree *arg1 = (CvBoostTree *) 0 ;
35172 CvDTreeTrainData *arg2 = (CvDTreeTrainData *) 0 ;
35173 CvMat *arg3 = (CvMat *) 0 ;
35174 CvBoost *arg4 = (CvBoost *) 0 ;
35183 octave_value_list _out;
35184 octave_value_list *_outp=&_out;
35185 octave_value _outv;
35188 if (!SWIG_check_num_args("CvBoostTree_train",args.length(),4,4,0)) {
35191 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvBoostTree, 0 | 0 );
35192 if (!SWIG_IsOK(res1)) {
35193 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvBoostTree_train" "', argument " "1"" of type '" "CvBoostTree *""'");
35195 arg1 = (CvBoostTree *)(argp1);
35196 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
35197 if (!SWIG_IsOK(res2)) {
35198 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvBoostTree_train" "', argument " "2"" of type '" "CvDTreeTrainData *""'");
35200 arg2 = (CvDTreeTrainData *)(argp2);
35201 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvMat, 0 | 0 );
35202 if (!SWIG_IsOK(res3)) {
35203 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvBoostTree_train" "', argument " "3"" of type '" "CvMat const *""'");
35205 arg3 = (CvMat *)(argp3);
35206 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvBoost, 0 | 0 );
35207 if (!SWIG_IsOK(res4)) {
35208 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvBoostTree_train" "', argument " "4"" of type '" "CvBoost *""'");
35210 arg4 = (CvBoost *)(argp4);
35213 result = (bool)(arg1)->train(arg2,(CvMat const *)arg3,arg4);
35220 _outv = SWIG_From_bool((bool)(result));
35221 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
35227 static octave_value_list _wrap_CvBoostTree_scale (const octave_value_list& args, int nargout) {
35228 CvBoostTree *arg1 = (CvBoostTree *) 0 ;
35234 octave_value_list _out;
35235 octave_value_list *_outp=&_out;
35236 octave_value _outv;
35238 if (!SWIG_check_num_args("CvBoostTree_scale",args.length(),2,2,0)) {
35241 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvBoostTree, 0 | 0 );
35242 if (!SWIG_IsOK(res1)) {
35243 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvBoostTree_scale" "', argument " "1"" of type '" "CvBoostTree *""'");
35245 arg1 = (CvBoostTree *)(argp1);
35246 ecode2 = SWIG_AsVal_double(args(1), &val2);
35247 if (!SWIG_IsOK(ecode2)) {
35248 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvBoostTree_scale" "', argument " "2"" of type '" "double""'");
35250 arg2 = (double)(val2);
35253 (arg1)->scale(arg2);
35260 _outv = octave_value();
35261 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
35267 static octave_value_list _wrap_CvBoostTree_read__SWIG_0 (const octave_value_list& args, int nargout) {
35268 CvBoostTree *arg1 = (CvBoostTree *) 0 ;
35269 CvFileStorage *arg2 = (CvFileStorage *) 0 ;
35270 CvFileNode *arg3 = (CvFileNode *) 0 ;
35271 CvBoost *arg4 = (CvBoost *) 0 ;
35272 CvDTreeTrainData *arg5 = (CvDTreeTrainData *) 0 ;
35283 octave_value_list _out;
35284 octave_value_list *_outp=&_out;
35285 octave_value _outv;
35287 if (!SWIG_check_num_args("CvBoostTree_read",args.length(),5,5,0)) {
35290 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvBoostTree, 0 | 0 );
35291 if (!SWIG_IsOK(res1)) {
35292 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvBoostTree_read" "', argument " "1"" of type '" "CvBoostTree *""'");
35294 arg1 = (CvBoostTree *)(argp1);
35295 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvFileStorage, 0 | 0 );
35296 if (!SWIG_IsOK(res2)) {
35297 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvBoostTree_read" "', argument " "2"" of type '" "CvFileStorage *""'");
35299 arg2 = (CvFileStorage *)(argp2);
35300 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvFileNode, 0 | 0 );
35301 if (!SWIG_IsOK(res3)) {
35302 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvBoostTree_read" "', argument " "3"" of type '" "CvFileNode *""'");
35304 arg3 = (CvFileNode *)(argp3);
35305 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvBoost, 0 | 0 );
35306 if (!SWIG_IsOK(res4)) {
35307 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvBoostTree_read" "', argument " "4"" of type '" "CvBoost *""'");
35309 arg4 = (CvBoost *)(argp4);
35310 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
35311 if (!SWIG_IsOK(res5)) {
35312 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvBoostTree_read" "', argument " "5"" of type '" "CvDTreeTrainData *""'");
35314 arg5 = (CvDTreeTrainData *)(argp5);
35317 (arg1)->read(arg2,arg3,arg4,arg5);
35324 _outv = octave_value();
35325 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
35331 static octave_value_list _wrap_CvBoostTree_clear (const octave_value_list& args, int nargout) {
35332 CvBoostTree *arg1 = (CvBoostTree *) 0 ;
35335 octave_value_list _out;
35336 octave_value_list *_outp=&_out;
35337 octave_value _outv;
35339 if (!SWIG_check_num_args("CvBoostTree_clear",args.length(),1,1,0)) {
35342 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvBoostTree, 0 | 0 );
35343 if (!SWIG_IsOK(res1)) {
35344 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvBoostTree_clear" "', argument " "1"" of type '" "CvBoostTree *""'");
35346 arg1 = (CvBoostTree *)(argp1);
35356 _outv = octave_value();
35357 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
35363 static octave_value_list _wrap_CvBoostTree_train__SWIG_1 (const octave_value_list& args, int nargout) {
35364 CvBoostTree *arg1 = (CvBoostTree *) 0 ;
35365 CvMat *arg2 = (CvMat *) 0 ;
35367 CvMat *arg4 = (CvMat *) 0 ;
35368 CvMat *arg5 = (CvMat *) 0 ;
35369 CvMat *arg6 = (CvMat *) 0 ;
35370 CvMat *arg7 = (CvMat *) 0 ;
35371 CvMat *arg8 = (CvMat *) 0 ;
35372 CvDTreeParams arg9 ;
35391 octave_value_list _out;
35392 octave_value_list *_outp=&_out;
35393 octave_value _outv;
35396 if (!SWIG_check_num_args("CvBoostTree_train",args.length(),9,9,0)) {
35399 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvBoostTree, 0 | 0 );
35400 if (!SWIG_IsOK(res1)) {
35401 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvBoostTree_train" "', argument " "1"" of type '" "CvBoostTree *""'");
35403 arg1 = (CvBoostTree *)(argp1);
35404 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
35405 if (!SWIG_IsOK(res2)) {
35406 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvBoostTree_train" "', argument " "2"" of type '" "CvMat const *""'");
35408 arg2 = (CvMat *)(argp2);
35409 ecode3 = SWIG_AsVal_int(args(2), &val3);
35410 if (!SWIG_IsOK(ecode3)) {
35411 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvBoostTree_train" "', argument " "3"" of type '" "int""'");
35413 arg3 = (int)(val3);
35414 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
35415 if (!SWIG_IsOK(res4)) {
35416 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvBoostTree_train" "', argument " "4"" of type '" "CvMat const *""'");
35418 arg4 = (CvMat *)(argp4);
35419 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
35420 if (!SWIG_IsOK(res5)) {
35421 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvBoostTree_train" "', argument " "5"" of type '" "CvMat const *""'");
35423 arg5 = (CvMat *)(argp5);
35424 res6 = SWIG_ConvertPtr(args(5), &argp6,SWIGTYPE_p_CvMat, 0 | 0 );
35425 if (!SWIG_IsOK(res6)) {
35426 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "CvBoostTree_train" "', argument " "6"" of type '" "CvMat const *""'");
35428 arg6 = (CvMat *)(argp6);
35429 res7 = SWIG_ConvertPtr(args(6), &argp7,SWIGTYPE_p_CvMat, 0 | 0 );
35430 if (!SWIG_IsOK(res7)) {
35431 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "CvBoostTree_train" "', argument " "7"" of type '" "CvMat const *""'");
35433 arg7 = (CvMat *)(argp7);
35434 res8 = SWIG_ConvertPtr(args(7), &argp8,SWIGTYPE_p_CvMat, 0 | 0 );
35435 if (!SWIG_IsOK(res8)) {
35436 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CvBoostTree_train" "', argument " "8"" of type '" "CvMat const *""'");
35438 arg8 = (CvMat *)(argp8);
35440 res9 = SWIG_ConvertPtr(args(8), &argp9, SWIGTYPE_p_CvDTreeParams, 0 );
35441 if (!SWIG_IsOK(res9)) {
35442 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "CvBoostTree_train" "', argument " "9"" of type '" "CvDTreeParams""'");
35445 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvBoostTree_train" "', argument " "9"" of type '" "CvDTreeParams""'");
35447 arg9 = *((CvDTreeParams *)(argp9));
35452 result = (bool)(arg1)->train((CvMat const *)arg2,arg3,(CvMat const *)arg4,(CvMat const *)arg5,(CvMat const *)arg6,(CvMat const *)arg7,(CvMat const *)arg8,arg9);
35459 _outv = SWIG_From_bool((bool)(result));
35460 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
35466 static octave_value_list _wrap_CvBoostTree_train__SWIG_2 (const octave_value_list& args, int nargout) {
35467 CvBoostTree *arg1 = (CvBoostTree *) 0 ;
35468 CvMat *arg2 = (CvMat *) 0 ;
35470 CvMat *arg4 = (CvMat *) 0 ;
35471 CvMat *arg5 = (CvMat *) 0 ;
35472 CvMat *arg6 = (CvMat *) 0 ;
35473 CvMat *arg7 = (CvMat *) 0 ;
35474 CvMat *arg8 = (CvMat *) 0 ;
35491 octave_value_list _out;
35492 octave_value_list *_outp=&_out;
35493 octave_value _outv;
35496 if (!SWIG_check_num_args("CvBoostTree_train",args.length(),8,8,0)) {
35499 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvBoostTree, 0 | 0 );
35500 if (!SWIG_IsOK(res1)) {
35501 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvBoostTree_train" "', argument " "1"" of type '" "CvBoostTree *""'");
35503 arg1 = (CvBoostTree *)(argp1);
35504 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
35505 if (!SWIG_IsOK(res2)) {
35506 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvBoostTree_train" "', argument " "2"" of type '" "CvMat const *""'");
35508 arg2 = (CvMat *)(argp2);
35509 ecode3 = SWIG_AsVal_int(args(2), &val3);
35510 if (!SWIG_IsOK(ecode3)) {
35511 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvBoostTree_train" "', argument " "3"" of type '" "int""'");
35513 arg3 = (int)(val3);
35514 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
35515 if (!SWIG_IsOK(res4)) {
35516 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvBoostTree_train" "', argument " "4"" of type '" "CvMat const *""'");
35518 arg4 = (CvMat *)(argp4);
35519 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
35520 if (!SWIG_IsOK(res5)) {
35521 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvBoostTree_train" "', argument " "5"" of type '" "CvMat const *""'");
35523 arg5 = (CvMat *)(argp5);
35524 res6 = SWIG_ConvertPtr(args(5), &argp6,SWIGTYPE_p_CvMat, 0 | 0 );
35525 if (!SWIG_IsOK(res6)) {
35526 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "CvBoostTree_train" "', argument " "6"" of type '" "CvMat const *""'");
35528 arg6 = (CvMat *)(argp6);
35529 res7 = SWIG_ConvertPtr(args(6), &argp7,SWIGTYPE_p_CvMat, 0 | 0 );
35530 if (!SWIG_IsOK(res7)) {
35531 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "CvBoostTree_train" "', argument " "7"" of type '" "CvMat const *""'");
35533 arg7 = (CvMat *)(argp7);
35534 res8 = SWIG_ConvertPtr(args(7), &argp8,SWIGTYPE_p_CvMat, 0 | 0 );
35535 if (!SWIG_IsOK(res8)) {
35536 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CvBoostTree_train" "', argument " "8"" of type '" "CvMat const *""'");
35538 arg8 = (CvMat *)(argp8);
35541 result = (bool)(arg1)->train((CvMat const *)arg2,arg3,(CvMat const *)arg4,(CvMat const *)arg5,(CvMat const *)arg6,(CvMat const *)arg7,(CvMat const *)arg8);
35548 _outv = SWIG_From_bool((bool)(result));
35549 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
35555 static octave_value_list _wrap_CvBoostTree_train__SWIG_3 (const octave_value_list& args, int nargout) {
35556 CvBoostTree *arg1 = (CvBoostTree *) 0 ;
35557 CvMat *arg2 = (CvMat *) 0 ;
35559 CvMat *arg4 = (CvMat *) 0 ;
35560 CvMat *arg5 = (CvMat *) 0 ;
35561 CvMat *arg6 = (CvMat *) 0 ;
35562 CvMat *arg7 = (CvMat *) 0 ;
35577 octave_value_list _out;
35578 octave_value_list *_outp=&_out;
35579 octave_value _outv;
35582 if (!SWIG_check_num_args("CvBoostTree_train",args.length(),7,7,0)) {
35585 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvBoostTree, 0 | 0 );
35586 if (!SWIG_IsOK(res1)) {
35587 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvBoostTree_train" "', argument " "1"" of type '" "CvBoostTree *""'");
35589 arg1 = (CvBoostTree *)(argp1);
35590 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
35591 if (!SWIG_IsOK(res2)) {
35592 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvBoostTree_train" "', argument " "2"" of type '" "CvMat const *""'");
35594 arg2 = (CvMat *)(argp2);
35595 ecode3 = SWIG_AsVal_int(args(2), &val3);
35596 if (!SWIG_IsOK(ecode3)) {
35597 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvBoostTree_train" "', argument " "3"" of type '" "int""'");
35599 arg3 = (int)(val3);
35600 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
35601 if (!SWIG_IsOK(res4)) {
35602 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvBoostTree_train" "', argument " "4"" of type '" "CvMat const *""'");
35604 arg4 = (CvMat *)(argp4);
35605 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
35606 if (!SWIG_IsOK(res5)) {
35607 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvBoostTree_train" "', argument " "5"" of type '" "CvMat const *""'");
35609 arg5 = (CvMat *)(argp5);
35610 res6 = SWIG_ConvertPtr(args(5), &argp6,SWIGTYPE_p_CvMat, 0 | 0 );
35611 if (!SWIG_IsOK(res6)) {
35612 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "CvBoostTree_train" "', argument " "6"" of type '" "CvMat const *""'");
35614 arg6 = (CvMat *)(argp6);
35615 res7 = SWIG_ConvertPtr(args(6), &argp7,SWIGTYPE_p_CvMat, 0 | 0 );
35616 if (!SWIG_IsOK(res7)) {
35617 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "CvBoostTree_train" "', argument " "7"" of type '" "CvMat const *""'");
35619 arg7 = (CvMat *)(argp7);
35622 result = (bool)(arg1)->train((CvMat const *)arg2,arg3,(CvMat const *)arg4,(CvMat const *)arg5,(CvMat const *)arg6,(CvMat const *)arg7);
35629 _outv = SWIG_From_bool((bool)(result));
35630 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
35636 static octave_value_list _wrap_CvBoostTree_train__SWIG_4 (const octave_value_list& args, int nargout) {
35637 CvBoostTree *arg1 = (CvBoostTree *) 0 ;
35638 CvMat *arg2 = (CvMat *) 0 ;
35640 CvMat *arg4 = (CvMat *) 0 ;
35641 CvMat *arg5 = (CvMat *) 0 ;
35642 CvMat *arg6 = (CvMat *) 0 ;
35655 octave_value_list _out;
35656 octave_value_list *_outp=&_out;
35657 octave_value _outv;
35660 if (!SWIG_check_num_args("CvBoostTree_train",args.length(),6,6,0)) {
35663 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvBoostTree, 0 | 0 );
35664 if (!SWIG_IsOK(res1)) {
35665 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvBoostTree_train" "', argument " "1"" of type '" "CvBoostTree *""'");
35667 arg1 = (CvBoostTree *)(argp1);
35668 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
35669 if (!SWIG_IsOK(res2)) {
35670 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvBoostTree_train" "', argument " "2"" of type '" "CvMat const *""'");
35672 arg2 = (CvMat *)(argp2);
35673 ecode3 = SWIG_AsVal_int(args(2), &val3);
35674 if (!SWIG_IsOK(ecode3)) {
35675 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvBoostTree_train" "', argument " "3"" of type '" "int""'");
35677 arg3 = (int)(val3);
35678 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
35679 if (!SWIG_IsOK(res4)) {
35680 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvBoostTree_train" "', argument " "4"" of type '" "CvMat const *""'");
35682 arg4 = (CvMat *)(argp4);
35683 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
35684 if (!SWIG_IsOK(res5)) {
35685 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvBoostTree_train" "', argument " "5"" of type '" "CvMat const *""'");
35687 arg5 = (CvMat *)(argp5);
35688 res6 = SWIG_ConvertPtr(args(5), &argp6,SWIGTYPE_p_CvMat, 0 | 0 );
35689 if (!SWIG_IsOK(res6)) {
35690 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "CvBoostTree_train" "', argument " "6"" of type '" "CvMat const *""'");
35692 arg6 = (CvMat *)(argp6);
35695 result = (bool)(arg1)->train((CvMat const *)arg2,arg3,(CvMat const *)arg4,(CvMat const *)arg5,(CvMat const *)arg6);
35702 _outv = SWIG_From_bool((bool)(result));
35703 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
35709 static octave_value_list _wrap_CvBoostTree_train__SWIG_5 (const octave_value_list& args, int nargout) {
35710 CvBoostTree *arg1 = (CvBoostTree *) 0 ;
35711 CvMat *arg2 = (CvMat *) 0 ;
35713 CvMat *arg4 = (CvMat *) 0 ;
35714 CvMat *arg5 = (CvMat *) 0 ;
35725 octave_value_list _out;
35726 octave_value_list *_outp=&_out;
35727 octave_value _outv;
35730 if (!SWIG_check_num_args("CvBoostTree_train",args.length(),5,5,0)) {
35733 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvBoostTree, 0 | 0 );
35734 if (!SWIG_IsOK(res1)) {
35735 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvBoostTree_train" "', argument " "1"" of type '" "CvBoostTree *""'");
35737 arg1 = (CvBoostTree *)(argp1);
35738 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
35739 if (!SWIG_IsOK(res2)) {
35740 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvBoostTree_train" "', argument " "2"" of type '" "CvMat const *""'");
35742 arg2 = (CvMat *)(argp2);
35743 ecode3 = SWIG_AsVal_int(args(2), &val3);
35744 if (!SWIG_IsOK(ecode3)) {
35745 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvBoostTree_train" "', argument " "3"" of type '" "int""'");
35747 arg3 = (int)(val3);
35748 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
35749 if (!SWIG_IsOK(res4)) {
35750 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvBoostTree_train" "', argument " "4"" of type '" "CvMat const *""'");
35752 arg4 = (CvMat *)(argp4);
35753 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
35754 if (!SWIG_IsOK(res5)) {
35755 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvBoostTree_train" "', argument " "5"" of type '" "CvMat const *""'");
35757 arg5 = (CvMat *)(argp5);
35760 result = (bool)(arg1)->train((CvMat const *)arg2,arg3,(CvMat const *)arg4,(CvMat const *)arg5);
35767 _outv = SWIG_From_bool((bool)(result));
35768 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
35774 static octave_value_list _wrap_CvBoostTree_train__SWIG_6 (const octave_value_list& args, int nargout) {
35775 CvBoostTree *arg1 = (CvBoostTree *) 0 ;
35776 CvMat *arg2 = (CvMat *) 0 ;
35778 CvMat *arg4 = (CvMat *) 0 ;
35787 octave_value_list _out;
35788 octave_value_list *_outp=&_out;
35789 octave_value _outv;
35792 if (!SWIG_check_num_args("CvBoostTree_train",args.length(),4,4,0)) {
35795 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvBoostTree, 0 | 0 );
35796 if (!SWIG_IsOK(res1)) {
35797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvBoostTree_train" "', argument " "1"" of type '" "CvBoostTree *""'");
35799 arg1 = (CvBoostTree *)(argp1);
35800 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
35801 if (!SWIG_IsOK(res2)) {
35802 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvBoostTree_train" "', argument " "2"" of type '" "CvMat const *""'");
35804 arg2 = (CvMat *)(argp2);
35805 ecode3 = SWIG_AsVal_int(args(2), &val3);
35806 if (!SWIG_IsOK(ecode3)) {
35807 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvBoostTree_train" "', argument " "3"" of type '" "int""'");
35809 arg3 = (int)(val3);
35810 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
35811 if (!SWIG_IsOK(res4)) {
35812 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvBoostTree_train" "', argument " "4"" of type '" "CvMat const *""'");
35814 arg4 = (CvMat *)(argp4);
35817 result = (bool)(arg1)->train((CvMat const *)arg2,arg3,(CvMat const *)arg4);
35824 _outv = SWIG_From_bool((bool)(result));
35825 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
35831 static octave_value_list _wrap_CvBoostTree_train__SWIG_7 (const octave_value_list& args, int nargout) {
35832 CvBoostTree *arg1 = (CvBoostTree *) 0 ;
35833 CvDTreeTrainData *arg2 = (CvDTreeTrainData *) 0 ;
35834 CvMat *arg3 = (CvMat *) 0 ;
35841 octave_value_list _out;
35842 octave_value_list *_outp=&_out;
35843 octave_value _outv;
35846 if (!SWIG_check_num_args("CvBoostTree_train",args.length(),3,3,0)) {
35849 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvBoostTree, 0 | 0 );
35850 if (!SWIG_IsOK(res1)) {
35851 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvBoostTree_train" "', argument " "1"" of type '" "CvBoostTree *""'");
35853 arg1 = (CvBoostTree *)(argp1);
35854 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
35855 if (!SWIG_IsOK(res2)) {
35856 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvBoostTree_train" "', argument " "2"" of type '" "CvDTreeTrainData *""'");
35858 arg2 = (CvDTreeTrainData *)(argp2);
35859 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvMat, 0 | 0 );
35860 if (!SWIG_IsOK(res3)) {
35861 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvBoostTree_train" "', argument " "3"" of type '" "CvMat const *""'");
35863 arg3 = (CvMat *)(argp3);
35866 result = (bool)(arg1)->train(arg2,(CvMat const *)arg3);
35873 _outv = SWIG_From_bool((bool)(result));
35874 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
35880 static octave_value_list _wrap_CvBoostTree_train (const octave_value_list& args, int nargout) {
35881 int argc = args.length();
35882 octave_value_ref argv[9]={
35883 octave_value_ref(args,0),octave_value_ref(args,1),octave_value_ref(args,2),octave_value_ref(args,3),octave_value_ref(args,4),octave_value_ref(args,5),octave_value_ref(args,6),octave_value_ref(args,7),octave_value_ref(args,8)
35889 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvBoostTree, 0);
35890 _v = SWIG_CheckState(res);
35893 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvDTreeTrainData, 0);
35894 _v = SWIG_CheckState(res);
35897 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvMat, 0);
35898 _v = SWIG_CheckState(res);
35900 return _wrap_CvBoostTree_train__SWIG_7(args, nargout);
35908 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvBoostTree, 0);
35909 _v = SWIG_CheckState(res);
35912 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
35913 _v = SWIG_CheckState(res);
35916 int res = SWIG_AsVal_int(argv[2], NULL);
35917 _v = SWIG_CheckState(res);
35921 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
35922 _v = SWIG_CheckState(res);
35924 return _wrap_CvBoostTree_train__SWIG_6(args, nargout);
35933 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvBoostTree, 0);
35934 _v = SWIG_CheckState(res);
35937 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvDTreeTrainData, 0);
35938 _v = SWIG_CheckState(res);
35941 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvMat, 0);
35942 _v = SWIG_CheckState(res);
35945 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvBoost, 0);
35946 _v = SWIG_CheckState(res);
35948 return _wrap_CvBoostTree_train__SWIG_0(args, nargout);
35957 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvBoostTree, 0);
35958 _v = SWIG_CheckState(res);
35961 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
35962 _v = SWIG_CheckState(res);
35965 int res = SWIG_AsVal_int(argv[2], NULL);
35966 _v = SWIG_CheckState(res);
35970 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
35971 _v = SWIG_CheckState(res);
35974 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvMat, 0);
35975 _v = SWIG_CheckState(res);
35977 return _wrap_CvBoostTree_train__SWIG_5(args, nargout);
35987 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvBoostTree, 0);
35988 _v = SWIG_CheckState(res);
35991 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
35992 _v = SWIG_CheckState(res);
35995 int res = SWIG_AsVal_int(argv[2], NULL);
35996 _v = SWIG_CheckState(res);
36000 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
36001 _v = SWIG_CheckState(res);
36004 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvMat, 0);
36005 _v = SWIG_CheckState(res);
36008 int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_CvMat, 0);
36009 _v = SWIG_CheckState(res);
36011 return _wrap_CvBoostTree_train__SWIG_4(args, nargout);
36022 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvBoostTree, 0);
36023 _v = SWIG_CheckState(res);
36026 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
36027 _v = SWIG_CheckState(res);
36030 int res = SWIG_AsVal_int(argv[2], NULL);
36031 _v = SWIG_CheckState(res);
36035 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
36036 _v = SWIG_CheckState(res);
36039 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvMat, 0);
36040 _v = SWIG_CheckState(res);
36043 int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_CvMat, 0);
36044 _v = SWIG_CheckState(res);
36047 int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_CvMat, 0);
36048 _v = SWIG_CheckState(res);
36050 return _wrap_CvBoostTree_train__SWIG_3(args, nargout);
36062 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvBoostTree, 0);
36063 _v = SWIG_CheckState(res);
36066 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
36067 _v = SWIG_CheckState(res);
36070 int res = SWIG_AsVal_int(argv[2], NULL);
36071 _v = SWIG_CheckState(res);
36075 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
36076 _v = SWIG_CheckState(res);
36079 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvMat, 0);
36080 _v = SWIG_CheckState(res);
36083 int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_CvMat, 0);
36084 _v = SWIG_CheckState(res);
36087 int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_CvMat, 0);
36088 _v = SWIG_CheckState(res);
36091 int res = SWIG_ConvertPtr(argv[7], &vptr, SWIGTYPE_p_CvMat, 0);
36092 _v = SWIG_CheckState(res);
36094 return _wrap_CvBoostTree_train__SWIG_2(args, nargout);
36107 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvBoostTree, 0);
36108 _v = SWIG_CheckState(res);
36111 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
36112 _v = SWIG_CheckState(res);
36115 int res = SWIG_AsVal_int(argv[2], NULL);
36116 _v = SWIG_CheckState(res);
36120 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
36121 _v = SWIG_CheckState(res);
36124 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvMat, 0);
36125 _v = SWIG_CheckState(res);
36128 int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_CvMat, 0);
36129 _v = SWIG_CheckState(res);
36132 int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_CvMat, 0);
36133 _v = SWIG_CheckState(res);
36136 int res = SWIG_ConvertPtr(argv[7], &vptr, SWIGTYPE_p_CvMat, 0);
36137 _v = SWIG_CheckState(res);
36140 int res = SWIG_ConvertPtr(argv[8], &vptr, SWIGTYPE_p_CvDTreeParams, 0);
36141 _v = SWIG_CheckState(res);
36143 return _wrap_CvBoostTree_train__SWIG_1(args, nargout);
36155 error("No matching function for overload");
36156 return octave_value_list();
36160 static octave_value_list _wrap_CvBoostTree_read__SWIG_1 (const octave_value_list& args, int nargout) {
36161 CvBoostTree *arg1 = (CvBoostTree *) 0 ;
36162 CvFileStorage *arg2 = (CvFileStorage *) 0 ;
36163 CvFileNode *arg3 = (CvFileNode *) 0 ;
36170 octave_value_list _out;
36171 octave_value_list *_outp=&_out;
36172 octave_value _outv;
36174 if (!SWIG_check_num_args("CvBoostTree_read",args.length(),3,3,0)) {
36177 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvBoostTree, 0 | 0 );
36178 if (!SWIG_IsOK(res1)) {
36179 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvBoostTree_read" "', argument " "1"" of type '" "CvBoostTree *""'");
36181 arg1 = (CvBoostTree *)(argp1);
36182 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvFileStorage, 0 | 0 );
36183 if (!SWIG_IsOK(res2)) {
36184 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvBoostTree_read" "', argument " "2"" of type '" "CvFileStorage *""'");
36186 arg2 = (CvFileStorage *)(argp2);
36187 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvFileNode, 0 | 0 );
36188 if (!SWIG_IsOK(res3)) {
36189 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvBoostTree_read" "', argument " "3"" of type '" "CvFileNode *""'");
36191 arg3 = (CvFileNode *)(argp3);
36194 (arg1)->read(arg2,arg3);
36201 _outv = octave_value();
36202 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
36208 static octave_value_list _wrap_CvBoostTree_read__SWIG_2 (const octave_value_list& args, int nargout) {
36209 CvBoostTree *arg1 = (CvBoostTree *) 0 ;
36210 CvFileStorage *arg2 = (CvFileStorage *) 0 ;
36211 CvFileNode *arg3 = (CvFileNode *) 0 ;
36212 CvDTreeTrainData *arg4 = (CvDTreeTrainData *) 0 ;
36221 octave_value_list _out;
36222 octave_value_list *_outp=&_out;
36223 octave_value _outv;
36225 if (!SWIG_check_num_args("CvBoostTree_read",args.length(),4,4,0)) {
36228 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvBoostTree, 0 | 0 );
36229 if (!SWIG_IsOK(res1)) {
36230 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvBoostTree_read" "', argument " "1"" of type '" "CvBoostTree *""'");
36232 arg1 = (CvBoostTree *)(argp1);
36233 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvFileStorage, 0 | 0 );
36234 if (!SWIG_IsOK(res2)) {
36235 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvBoostTree_read" "', argument " "2"" of type '" "CvFileStorage *""'");
36237 arg2 = (CvFileStorage *)(argp2);
36238 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvFileNode, 0 | 0 );
36239 if (!SWIG_IsOK(res3)) {
36240 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvBoostTree_read" "', argument " "3"" of type '" "CvFileNode *""'");
36242 arg3 = (CvFileNode *)(argp3);
36243 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
36244 if (!SWIG_IsOK(res4)) {
36245 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvBoostTree_read" "', argument " "4"" of type '" "CvDTreeTrainData *""'");
36247 arg4 = (CvDTreeTrainData *)(argp4);
36250 (arg1)->read(arg2,arg3,arg4);
36257 _outv = octave_value();
36258 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
36264 static octave_value_list _wrap_CvBoostTree_read (const octave_value_list& args, int nargout) {
36265 int argc = args.length();
36266 octave_value_ref argv[5]={
36267 octave_value_ref(args,0),octave_value_ref(args,1),octave_value_ref(args,2),octave_value_ref(args,3),octave_value_ref(args,4)
36273 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvBoostTree, 0);
36274 _v = SWIG_CheckState(res);
36277 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvFileStorage, 0);
36278 _v = SWIG_CheckState(res);
36281 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvFileNode, 0);
36282 _v = SWIG_CheckState(res);
36284 return _wrap_CvBoostTree_read__SWIG_1(args, nargout);
36292 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvBoostTree, 0);
36293 _v = SWIG_CheckState(res);
36296 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvFileStorage, 0);
36297 _v = SWIG_CheckState(res);
36300 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvFileNode, 0);
36301 _v = SWIG_CheckState(res);
36304 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvDTreeTrainData, 0);
36305 _v = SWIG_CheckState(res);
36307 return _wrap_CvBoostTree_read__SWIG_2(args, nargout);
36316 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvBoostTree, 0);
36317 _v = SWIG_CheckState(res);
36320 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvFileStorage, 0);
36321 _v = SWIG_CheckState(res);
36324 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvFileNode, 0);
36325 _v = SWIG_CheckState(res);
36328 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvBoost, 0);
36329 _v = SWIG_CheckState(res);
36332 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvDTreeTrainData, 0);
36333 _v = SWIG_CheckState(res);
36335 return _wrap_CvBoostTree_read__SWIG_0(args, nargout);
36343 error("No matching function for overload");
36344 return octave_value_list();
36348 static swig_octave_member swig_CvBoostTree_members[] = {
36349 {"scale",_wrap_CvBoostTree_scale,0,0,0,0},
36350 {"clear",_wrap_CvBoostTree_clear,0,0,0,0},
36351 {"train",_wrap_CvBoostTree_train,0,0,0,0},
36352 {"read",_wrap_CvBoostTree_read,0,0,0,0},
36355 static const char *swig_CvBoostTree_base_names[] = {"_p_CvDTree",0};
36356 static const swig_type_info *swig_CvBoostTree_base[] = {0,0};
36357 static swig_octave_class _wrap_class_CvBoostTree = {"CvBoostTree", &SWIGTYPE_p_CvBoostTree,0,_wrap_new_CvBoostTree,0,_wrap_delete_CvBoostTree,swig_CvBoostTree_members,swig_CvBoostTree_base_names,swig_CvBoostTree_base };
36359 static octave_value_list _wrap_new_CvBoost__SWIG_0 (const octave_value_list& args, int nargout) {
36360 octave_value_list _out;
36361 octave_value_list *_outp=&_out;
36362 octave_value _outv;
36363 CvBoost *result = 0 ;
36365 if (!SWIG_check_num_args("new_CvBoost",args.length(),0,0,0)) {
36370 result = (CvBoost *)new CvBoost();
36377 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvBoost, 1 | 0 );
36378 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
36384 static octave_value_list _wrap_delete_CvBoost (const octave_value_list& args, int nargout) {
36385 CvBoost *arg1 = (CvBoost *) 0 ;
36388 octave_value_list _out;
36389 octave_value_list *_outp=&_out;
36390 octave_value _outv;
36392 if (!SWIG_check_num_args("delete_CvBoost",args.length(),1,1,0)) {
36395 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvBoost, SWIG_POINTER_DISOWN | 0 );
36396 if (!SWIG_IsOK(res1)) {
36397 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CvBoost" "', argument " "1"" of type '" "CvBoost *""'");
36399 arg1 = (CvBoost *)(argp1);
36409 _outv = octave_value();
36410 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
36416 static octave_value_list _wrap_new_CvBoost__SWIG_1 (const octave_value_list& args, int nargout) {
36417 CvMat *arg1 = (CvMat *) 0 ;
36419 CvMat *arg3 = (CvMat *) 0 ;
36420 CvMat *arg4 = (CvMat *) 0 ;
36421 CvMat *arg5 = (CvMat *) 0 ;
36422 CvMat *arg6 = (CvMat *) 0 ;
36423 CvMat *arg7 = (CvMat *) 0 ;
36424 CvBoostParams arg8 ;
36441 octave_value_list _out;
36442 octave_value_list *_outp=&_out;
36443 octave_value _outv;
36444 CvBoost *result = 0 ;
36446 if (!SWIG_check_num_args("new_CvBoost",args.length(),8,8,0)) {
36449 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvMat, 0 | 0 );
36450 if (!SWIG_IsOK(res1)) {
36451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CvBoost" "', argument " "1"" of type '" "CvMat const *""'");
36453 arg1 = (CvMat *)(argp1);
36454 ecode2 = SWIG_AsVal_int(args(1), &val2);
36455 if (!SWIG_IsOK(ecode2)) {
36456 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CvBoost" "', argument " "2"" of type '" "int""'");
36458 arg2 = (int)(val2);
36459 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvMat, 0 | 0 );
36460 if (!SWIG_IsOK(res3)) {
36461 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_CvBoost" "', argument " "3"" of type '" "CvMat const *""'");
36463 arg3 = (CvMat *)(argp3);
36464 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
36465 if (!SWIG_IsOK(res4)) {
36466 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_CvBoost" "', argument " "4"" of type '" "CvMat const *""'");
36468 arg4 = (CvMat *)(argp4);
36469 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
36470 if (!SWIG_IsOK(res5)) {
36471 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_CvBoost" "', argument " "5"" of type '" "CvMat const *""'");
36473 arg5 = (CvMat *)(argp5);
36474 res6 = SWIG_ConvertPtr(args(5), &argp6,SWIGTYPE_p_CvMat, 0 | 0 );
36475 if (!SWIG_IsOK(res6)) {
36476 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_CvBoost" "', argument " "6"" of type '" "CvMat const *""'");
36478 arg6 = (CvMat *)(argp6);
36479 res7 = SWIG_ConvertPtr(args(6), &argp7,SWIGTYPE_p_CvMat, 0 | 0 );
36480 if (!SWIG_IsOK(res7)) {
36481 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_CvBoost" "', argument " "7"" of type '" "CvMat const *""'");
36483 arg7 = (CvMat *)(argp7);
36485 res8 = SWIG_ConvertPtr(args(7), &argp8, SWIGTYPE_p_CvBoostParams, 0 );
36486 if (!SWIG_IsOK(res8)) {
36487 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "new_CvBoost" "', argument " "8"" of type '" "CvBoostParams""'");
36490 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_CvBoost" "', argument " "8"" of type '" "CvBoostParams""'");
36492 arg8 = *((CvBoostParams *)(argp8));
36497 result = (CvBoost *)new CvBoost((CvMat const *)arg1,arg2,(CvMat const *)arg3,(CvMat const *)arg4,(CvMat const *)arg5,(CvMat const *)arg6,(CvMat const *)arg7,arg8);
36504 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvBoost, 1 | 0 );
36505 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
36511 static octave_value_list _wrap_new_CvBoost__SWIG_2 (const octave_value_list& args, int nargout) {
36512 CvMat *arg1 = (CvMat *) 0 ;
36514 CvMat *arg3 = (CvMat *) 0 ;
36515 CvMat *arg4 = (CvMat *) 0 ;
36516 CvMat *arg5 = (CvMat *) 0 ;
36517 CvMat *arg6 = (CvMat *) 0 ;
36518 CvMat *arg7 = (CvMat *) 0 ;
36533 octave_value_list _out;
36534 octave_value_list *_outp=&_out;
36535 octave_value _outv;
36536 CvBoost *result = 0 ;
36538 if (!SWIG_check_num_args("new_CvBoost",args.length(),7,7,0)) {
36541 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvMat, 0 | 0 );
36542 if (!SWIG_IsOK(res1)) {
36543 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CvBoost" "', argument " "1"" of type '" "CvMat const *""'");
36545 arg1 = (CvMat *)(argp1);
36546 ecode2 = SWIG_AsVal_int(args(1), &val2);
36547 if (!SWIG_IsOK(ecode2)) {
36548 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CvBoost" "', argument " "2"" of type '" "int""'");
36550 arg2 = (int)(val2);
36551 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvMat, 0 | 0 );
36552 if (!SWIG_IsOK(res3)) {
36553 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_CvBoost" "', argument " "3"" of type '" "CvMat const *""'");
36555 arg3 = (CvMat *)(argp3);
36556 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
36557 if (!SWIG_IsOK(res4)) {
36558 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_CvBoost" "', argument " "4"" of type '" "CvMat const *""'");
36560 arg4 = (CvMat *)(argp4);
36561 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
36562 if (!SWIG_IsOK(res5)) {
36563 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_CvBoost" "', argument " "5"" of type '" "CvMat const *""'");
36565 arg5 = (CvMat *)(argp5);
36566 res6 = SWIG_ConvertPtr(args(5), &argp6,SWIGTYPE_p_CvMat, 0 | 0 );
36567 if (!SWIG_IsOK(res6)) {
36568 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_CvBoost" "', argument " "6"" of type '" "CvMat const *""'");
36570 arg6 = (CvMat *)(argp6);
36571 res7 = SWIG_ConvertPtr(args(6), &argp7,SWIGTYPE_p_CvMat, 0 | 0 );
36572 if (!SWIG_IsOK(res7)) {
36573 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_CvBoost" "', argument " "7"" of type '" "CvMat const *""'");
36575 arg7 = (CvMat *)(argp7);
36578 result = (CvBoost *)new CvBoost((CvMat const *)arg1,arg2,(CvMat const *)arg3,(CvMat const *)arg4,(CvMat const *)arg5,(CvMat const *)arg6,(CvMat const *)arg7);
36585 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvBoost, 1 | 0 );
36586 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
36592 static octave_value_list _wrap_new_CvBoost__SWIG_3 (const octave_value_list& args, int nargout) {
36593 CvMat *arg1 = (CvMat *) 0 ;
36595 CvMat *arg3 = (CvMat *) 0 ;
36596 CvMat *arg4 = (CvMat *) 0 ;
36597 CvMat *arg5 = (CvMat *) 0 ;
36598 CvMat *arg6 = (CvMat *) 0 ;
36611 octave_value_list _out;
36612 octave_value_list *_outp=&_out;
36613 octave_value _outv;
36614 CvBoost *result = 0 ;
36616 if (!SWIG_check_num_args("new_CvBoost",args.length(),6,6,0)) {
36619 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvMat, 0 | 0 );
36620 if (!SWIG_IsOK(res1)) {
36621 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CvBoost" "', argument " "1"" of type '" "CvMat const *""'");
36623 arg1 = (CvMat *)(argp1);
36624 ecode2 = SWIG_AsVal_int(args(1), &val2);
36625 if (!SWIG_IsOK(ecode2)) {
36626 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CvBoost" "', argument " "2"" of type '" "int""'");
36628 arg2 = (int)(val2);
36629 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvMat, 0 | 0 );
36630 if (!SWIG_IsOK(res3)) {
36631 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_CvBoost" "', argument " "3"" of type '" "CvMat const *""'");
36633 arg3 = (CvMat *)(argp3);
36634 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
36635 if (!SWIG_IsOK(res4)) {
36636 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_CvBoost" "', argument " "4"" of type '" "CvMat const *""'");
36638 arg4 = (CvMat *)(argp4);
36639 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
36640 if (!SWIG_IsOK(res5)) {
36641 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_CvBoost" "', argument " "5"" of type '" "CvMat const *""'");
36643 arg5 = (CvMat *)(argp5);
36644 res6 = SWIG_ConvertPtr(args(5), &argp6,SWIGTYPE_p_CvMat, 0 | 0 );
36645 if (!SWIG_IsOK(res6)) {
36646 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_CvBoost" "', argument " "6"" of type '" "CvMat const *""'");
36648 arg6 = (CvMat *)(argp6);
36651 result = (CvBoost *)new CvBoost((CvMat const *)arg1,arg2,(CvMat const *)arg3,(CvMat const *)arg4,(CvMat const *)arg5,(CvMat const *)arg6);
36658 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvBoost, 1 | 0 );
36659 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
36665 static octave_value_list _wrap_new_CvBoost__SWIG_4 (const octave_value_list& args, int nargout) {
36666 CvMat *arg1 = (CvMat *) 0 ;
36668 CvMat *arg3 = (CvMat *) 0 ;
36669 CvMat *arg4 = (CvMat *) 0 ;
36670 CvMat *arg5 = (CvMat *) 0 ;
36681 octave_value_list _out;
36682 octave_value_list *_outp=&_out;
36683 octave_value _outv;
36684 CvBoost *result = 0 ;
36686 if (!SWIG_check_num_args("new_CvBoost",args.length(),5,5,0)) {
36689 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvMat, 0 | 0 );
36690 if (!SWIG_IsOK(res1)) {
36691 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CvBoost" "', argument " "1"" of type '" "CvMat const *""'");
36693 arg1 = (CvMat *)(argp1);
36694 ecode2 = SWIG_AsVal_int(args(1), &val2);
36695 if (!SWIG_IsOK(ecode2)) {
36696 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CvBoost" "', argument " "2"" of type '" "int""'");
36698 arg2 = (int)(val2);
36699 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvMat, 0 | 0 );
36700 if (!SWIG_IsOK(res3)) {
36701 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_CvBoost" "', argument " "3"" of type '" "CvMat const *""'");
36703 arg3 = (CvMat *)(argp3);
36704 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
36705 if (!SWIG_IsOK(res4)) {
36706 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_CvBoost" "', argument " "4"" of type '" "CvMat const *""'");
36708 arg4 = (CvMat *)(argp4);
36709 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
36710 if (!SWIG_IsOK(res5)) {
36711 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_CvBoost" "', argument " "5"" of type '" "CvMat const *""'");
36713 arg5 = (CvMat *)(argp5);
36716 result = (CvBoost *)new CvBoost((CvMat const *)arg1,arg2,(CvMat const *)arg3,(CvMat const *)arg4,(CvMat const *)arg5);
36723 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvBoost, 1 | 0 );
36724 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
36730 static octave_value_list _wrap_new_CvBoost__SWIG_5 (const octave_value_list& args, int nargout) {
36731 CvMat *arg1 = (CvMat *) 0 ;
36733 CvMat *arg3 = (CvMat *) 0 ;
36734 CvMat *arg4 = (CvMat *) 0 ;
36743 octave_value_list _out;
36744 octave_value_list *_outp=&_out;
36745 octave_value _outv;
36746 CvBoost *result = 0 ;
36748 if (!SWIG_check_num_args("new_CvBoost",args.length(),4,4,0)) {
36751 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvMat, 0 | 0 );
36752 if (!SWIG_IsOK(res1)) {
36753 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CvBoost" "', argument " "1"" of type '" "CvMat const *""'");
36755 arg1 = (CvMat *)(argp1);
36756 ecode2 = SWIG_AsVal_int(args(1), &val2);
36757 if (!SWIG_IsOK(ecode2)) {
36758 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CvBoost" "', argument " "2"" of type '" "int""'");
36760 arg2 = (int)(val2);
36761 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvMat, 0 | 0 );
36762 if (!SWIG_IsOK(res3)) {
36763 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_CvBoost" "', argument " "3"" of type '" "CvMat const *""'");
36765 arg3 = (CvMat *)(argp3);
36766 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
36767 if (!SWIG_IsOK(res4)) {
36768 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_CvBoost" "', argument " "4"" of type '" "CvMat const *""'");
36770 arg4 = (CvMat *)(argp4);
36773 result = (CvBoost *)new CvBoost((CvMat const *)arg1,arg2,(CvMat const *)arg3,(CvMat const *)arg4);
36780 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvBoost, 1 | 0 );
36781 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
36787 static octave_value_list _wrap_new_CvBoost__SWIG_6 (const octave_value_list& args, int nargout) {
36788 CvMat *arg1 = (CvMat *) 0 ;
36790 CvMat *arg3 = (CvMat *) 0 ;
36797 octave_value_list _out;
36798 octave_value_list *_outp=&_out;
36799 octave_value _outv;
36800 CvBoost *result = 0 ;
36802 if (!SWIG_check_num_args("new_CvBoost",args.length(),3,3,0)) {
36805 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvMat, 0 | 0 );
36806 if (!SWIG_IsOK(res1)) {
36807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CvBoost" "', argument " "1"" of type '" "CvMat const *""'");
36809 arg1 = (CvMat *)(argp1);
36810 ecode2 = SWIG_AsVal_int(args(1), &val2);
36811 if (!SWIG_IsOK(ecode2)) {
36812 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CvBoost" "', argument " "2"" of type '" "int""'");
36814 arg2 = (int)(val2);
36815 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvMat, 0 | 0 );
36816 if (!SWIG_IsOK(res3)) {
36817 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_CvBoost" "', argument " "3"" of type '" "CvMat const *""'");
36819 arg3 = (CvMat *)(argp3);
36822 result = (CvBoost *)new CvBoost((CvMat const *)arg1,arg2,(CvMat const *)arg3);
36829 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvBoost, 1 | 0 );
36830 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
36836 static octave_value_list _wrap_new_CvBoost (const octave_value_list& args, int nargout) {
36837 int argc = args.length();
36838 octave_value_ref argv[8]={
36839 octave_value_ref(args,0),octave_value_ref(args,1),octave_value_ref(args,2),octave_value_ref(args,3),octave_value_ref(args,4),octave_value_ref(args,5),octave_value_ref(args,6),octave_value_ref(args,7)
36843 return _wrap_new_CvBoost__SWIG_0(args, nargout);
36848 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvMat, 0);
36849 _v = SWIG_CheckState(res);
36852 int res = SWIG_AsVal_int(argv[1], NULL);
36853 _v = SWIG_CheckState(res);
36857 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvMat, 0);
36858 _v = SWIG_CheckState(res);
36860 return _wrap_new_CvBoost__SWIG_6(args, nargout);
36868 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvMat, 0);
36869 _v = SWIG_CheckState(res);
36872 int res = SWIG_AsVal_int(argv[1], NULL);
36873 _v = SWIG_CheckState(res);
36877 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvMat, 0);
36878 _v = SWIG_CheckState(res);
36881 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
36882 _v = SWIG_CheckState(res);
36884 return _wrap_new_CvBoost__SWIG_5(args, nargout);
36893 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvMat, 0);
36894 _v = SWIG_CheckState(res);
36897 int res = SWIG_AsVal_int(argv[1], NULL);
36898 _v = SWIG_CheckState(res);
36902 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvMat, 0);
36903 _v = SWIG_CheckState(res);
36906 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
36907 _v = SWIG_CheckState(res);
36910 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvMat, 0);
36911 _v = SWIG_CheckState(res);
36913 return _wrap_new_CvBoost__SWIG_4(args, nargout);
36923 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvMat, 0);
36924 _v = SWIG_CheckState(res);
36927 int res = SWIG_AsVal_int(argv[1], NULL);
36928 _v = SWIG_CheckState(res);
36932 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvMat, 0);
36933 _v = SWIG_CheckState(res);
36936 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
36937 _v = SWIG_CheckState(res);
36940 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvMat, 0);
36941 _v = SWIG_CheckState(res);
36944 int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_CvMat, 0);
36945 _v = SWIG_CheckState(res);
36947 return _wrap_new_CvBoost__SWIG_3(args, nargout);
36958 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvMat, 0);
36959 _v = SWIG_CheckState(res);
36962 int res = SWIG_AsVal_int(argv[1], NULL);
36963 _v = SWIG_CheckState(res);
36967 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvMat, 0);
36968 _v = SWIG_CheckState(res);
36971 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
36972 _v = SWIG_CheckState(res);
36975 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvMat, 0);
36976 _v = SWIG_CheckState(res);
36979 int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_CvMat, 0);
36980 _v = SWIG_CheckState(res);
36983 int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_CvMat, 0);
36984 _v = SWIG_CheckState(res);
36986 return _wrap_new_CvBoost__SWIG_2(args, nargout);
36998 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvMat, 0);
36999 _v = SWIG_CheckState(res);
37002 int res = SWIG_AsVal_int(argv[1], NULL);
37003 _v = SWIG_CheckState(res);
37007 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvMat, 0);
37008 _v = SWIG_CheckState(res);
37011 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
37012 _v = SWIG_CheckState(res);
37015 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvMat, 0);
37016 _v = SWIG_CheckState(res);
37019 int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_CvMat, 0);
37020 _v = SWIG_CheckState(res);
37023 int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_CvMat, 0);
37024 _v = SWIG_CheckState(res);
37027 int res = SWIG_ConvertPtr(argv[7], &vptr, SWIGTYPE_p_CvBoostParams, 0);
37028 _v = SWIG_CheckState(res);
37030 return _wrap_new_CvBoost__SWIG_1(args, nargout);
37041 error("No matching function for overload");
37042 return octave_value_list();
37046 static octave_value_list _wrap_CvBoost_train__SWIG_0 (const octave_value_list& args, int nargout) {
37047 CvBoost *arg1 = (CvBoost *) 0 ;
37048 CvMat *arg2 = (CvMat *) 0 ;
37050 CvMat *arg4 = (CvMat *) 0 ;
37051 CvMat *arg5 = (CvMat *) 0 ;
37052 CvMat *arg6 = (CvMat *) 0 ;
37053 CvMat *arg7 = (CvMat *) 0 ;
37054 CvMat *arg8 = (CvMat *) 0 ;
37055 CvBoostParams arg9 ;
37077 octave_value_list _out;
37078 octave_value_list *_outp=&_out;
37079 octave_value _outv;
37082 if (!SWIG_check_num_args("CvBoost_train",args.length(),10,10,0)) {
37085 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvBoost, 0 | 0 );
37086 if (!SWIG_IsOK(res1)) {
37087 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvBoost_train" "', argument " "1"" of type '" "CvBoost *""'");
37089 arg1 = (CvBoost *)(argp1);
37090 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
37091 if (!SWIG_IsOK(res2)) {
37092 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvBoost_train" "', argument " "2"" of type '" "CvMat const *""'");
37094 arg2 = (CvMat *)(argp2);
37095 ecode3 = SWIG_AsVal_int(args(2), &val3);
37096 if (!SWIG_IsOK(ecode3)) {
37097 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvBoost_train" "', argument " "3"" of type '" "int""'");
37099 arg3 = (int)(val3);
37100 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
37101 if (!SWIG_IsOK(res4)) {
37102 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvBoost_train" "', argument " "4"" of type '" "CvMat const *""'");
37104 arg4 = (CvMat *)(argp4);
37105 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
37106 if (!SWIG_IsOK(res5)) {
37107 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvBoost_train" "', argument " "5"" of type '" "CvMat const *""'");
37109 arg5 = (CvMat *)(argp5);
37110 res6 = SWIG_ConvertPtr(args(5), &argp6,SWIGTYPE_p_CvMat, 0 | 0 );
37111 if (!SWIG_IsOK(res6)) {
37112 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "CvBoost_train" "', argument " "6"" of type '" "CvMat const *""'");
37114 arg6 = (CvMat *)(argp6);
37115 res7 = SWIG_ConvertPtr(args(6), &argp7,SWIGTYPE_p_CvMat, 0 | 0 );
37116 if (!SWIG_IsOK(res7)) {
37117 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "CvBoost_train" "', argument " "7"" of type '" "CvMat const *""'");
37119 arg7 = (CvMat *)(argp7);
37120 res8 = SWIG_ConvertPtr(args(7), &argp8,SWIGTYPE_p_CvMat, 0 | 0 );
37121 if (!SWIG_IsOK(res8)) {
37122 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CvBoost_train" "', argument " "8"" of type '" "CvMat const *""'");
37124 arg8 = (CvMat *)(argp8);
37126 res9 = SWIG_ConvertPtr(args(8), &argp9, SWIGTYPE_p_CvBoostParams, 0 );
37127 if (!SWIG_IsOK(res9)) {
37128 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "CvBoost_train" "', argument " "9"" of type '" "CvBoostParams""'");
37131 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvBoost_train" "', argument " "9"" of type '" "CvBoostParams""'");
37133 arg9 = *((CvBoostParams *)(argp9));
37136 ecode10 = SWIG_AsVal_bool(args(9), &val10);
37137 if (!SWIG_IsOK(ecode10)) {
37138 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "CvBoost_train" "', argument " "10"" of type '" "bool""'");
37140 arg10 = (bool)(val10);
37143 result = (bool)(arg1)->train((CvMat const *)arg2,arg3,(CvMat const *)arg4,(CvMat const *)arg5,(CvMat const *)arg6,(CvMat const *)arg7,(CvMat const *)arg8,arg9,arg10);
37150 _outv = SWIG_From_bool((bool)(result));
37151 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
37157 static octave_value_list _wrap_CvBoost_train__SWIG_1 (const octave_value_list& args, int nargout) {
37158 CvBoost *arg1 = (CvBoost *) 0 ;
37159 CvMat *arg2 = (CvMat *) 0 ;
37161 CvMat *arg4 = (CvMat *) 0 ;
37162 CvMat *arg5 = (CvMat *) 0 ;
37163 CvMat *arg6 = (CvMat *) 0 ;
37164 CvMat *arg7 = (CvMat *) 0 ;
37165 CvMat *arg8 = (CvMat *) 0 ;
37166 CvBoostParams arg9 ;
37185 octave_value_list _out;
37186 octave_value_list *_outp=&_out;
37187 octave_value _outv;
37190 if (!SWIG_check_num_args("CvBoost_train",args.length(),9,9,0)) {
37193 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvBoost, 0 | 0 );
37194 if (!SWIG_IsOK(res1)) {
37195 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvBoost_train" "', argument " "1"" of type '" "CvBoost *""'");
37197 arg1 = (CvBoost *)(argp1);
37198 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
37199 if (!SWIG_IsOK(res2)) {
37200 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvBoost_train" "', argument " "2"" of type '" "CvMat const *""'");
37202 arg2 = (CvMat *)(argp2);
37203 ecode3 = SWIG_AsVal_int(args(2), &val3);
37204 if (!SWIG_IsOK(ecode3)) {
37205 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvBoost_train" "', argument " "3"" of type '" "int""'");
37207 arg3 = (int)(val3);
37208 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
37209 if (!SWIG_IsOK(res4)) {
37210 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvBoost_train" "', argument " "4"" of type '" "CvMat const *""'");
37212 arg4 = (CvMat *)(argp4);
37213 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
37214 if (!SWIG_IsOK(res5)) {
37215 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvBoost_train" "', argument " "5"" of type '" "CvMat const *""'");
37217 arg5 = (CvMat *)(argp5);
37218 res6 = SWIG_ConvertPtr(args(5), &argp6,SWIGTYPE_p_CvMat, 0 | 0 );
37219 if (!SWIG_IsOK(res6)) {
37220 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "CvBoost_train" "', argument " "6"" of type '" "CvMat const *""'");
37222 arg6 = (CvMat *)(argp6);
37223 res7 = SWIG_ConvertPtr(args(6), &argp7,SWIGTYPE_p_CvMat, 0 | 0 );
37224 if (!SWIG_IsOK(res7)) {
37225 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "CvBoost_train" "', argument " "7"" of type '" "CvMat const *""'");
37227 arg7 = (CvMat *)(argp7);
37228 res8 = SWIG_ConvertPtr(args(7), &argp8,SWIGTYPE_p_CvMat, 0 | 0 );
37229 if (!SWIG_IsOK(res8)) {
37230 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CvBoost_train" "', argument " "8"" of type '" "CvMat const *""'");
37232 arg8 = (CvMat *)(argp8);
37234 res9 = SWIG_ConvertPtr(args(8), &argp9, SWIGTYPE_p_CvBoostParams, 0 );
37235 if (!SWIG_IsOK(res9)) {
37236 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "CvBoost_train" "', argument " "9"" of type '" "CvBoostParams""'");
37239 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvBoost_train" "', argument " "9"" of type '" "CvBoostParams""'");
37241 arg9 = *((CvBoostParams *)(argp9));
37246 result = (bool)(arg1)->train((CvMat const *)arg2,arg3,(CvMat const *)arg4,(CvMat const *)arg5,(CvMat const *)arg6,(CvMat const *)arg7,(CvMat const *)arg8,arg9);
37253 _outv = SWIG_From_bool((bool)(result));
37254 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
37260 static octave_value_list _wrap_CvBoost_train__SWIG_2 (const octave_value_list& args, int nargout) {
37261 CvBoost *arg1 = (CvBoost *) 0 ;
37262 CvMat *arg2 = (CvMat *) 0 ;
37264 CvMat *arg4 = (CvMat *) 0 ;
37265 CvMat *arg5 = (CvMat *) 0 ;
37266 CvMat *arg6 = (CvMat *) 0 ;
37267 CvMat *arg7 = (CvMat *) 0 ;
37268 CvMat *arg8 = (CvMat *) 0 ;
37285 octave_value_list _out;
37286 octave_value_list *_outp=&_out;
37287 octave_value _outv;
37290 if (!SWIG_check_num_args("CvBoost_train",args.length(),8,8,0)) {
37293 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvBoost, 0 | 0 );
37294 if (!SWIG_IsOK(res1)) {
37295 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvBoost_train" "', argument " "1"" of type '" "CvBoost *""'");
37297 arg1 = (CvBoost *)(argp1);
37298 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
37299 if (!SWIG_IsOK(res2)) {
37300 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvBoost_train" "', argument " "2"" of type '" "CvMat const *""'");
37302 arg2 = (CvMat *)(argp2);
37303 ecode3 = SWIG_AsVal_int(args(2), &val3);
37304 if (!SWIG_IsOK(ecode3)) {
37305 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvBoost_train" "', argument " "3"" of type '" "int""'");
37307 arg3 = (int)(val3);
37308 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
37309 if (!SWIG_IsOK(res4)) {
37310 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvBoost_train" "', argument " "4"" of type '" "CvMat const *""'");
37312 arg4 = (CvMat *)(argp4);
37313 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
37314 if (!SWIG_IsOK(res5)) {
37315 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvBoost_train" "', argument " "5"" of type '" "CvMat const *""'");
37317 arg5 = (CvMat *)(argp5);
37318 res6 = SWIG_ConvertPtr(args(5), &argp6,SWIGTYPE_p_CvMat, 0 | 0 );
37319 if (!SWIG_IsOK(res6)) {
37320 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "CvBoost_train" "', argument " "6"" of type '" "CvMat const *""'");
37322 arg6 = (CvMat *)(argp6);
37323 res7 = SWIG_ConvertPtr(args(6), &argp7,SWIGTYPE_p_CvMat, 0 | 0 );
37324 if (!SWIG_IsOK(res7)) {
37325 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "CvBoost_train" "', argument " "7"" of type '" "CvMat const *""'");
37327 arg7 = (CvMat *)(argp7);
37328 res8 = SWIG_ConvertPtr(args(7), &argp8,SWIGTYPE_p_CvMat, 0 | 0 );
37329 if (!SWIG_IsOK(res8)) {
37330 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CvBoost_train" "', argument " "8"" of type '" "CvMat const *""'");
37332 arg8 = (CvMat *)(argp8);
37335 result = (bool)(arg1)->train((CvMat const *)arg2,arg3,(CvMat const *)arg4,(CvMat const *)arg5,(CvMat const *)arg6,(CvMat const *)arg7,(CvMat const *)arg8);
37342 _outv = SWIG_From_bool((bool)(result));
37343 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
37349 static octave_value_list _wrap_CvBoost_train__SWIG_3 (const octave_value_list& args, int nargout) {
37350 CvBoost *arg1 = (CvBoost *) 0 ;
37351 CvMat *arg2 = (CvMat *) 0 ;
37353 CvMat *arg4 = (CvMat *) 0 ;
37354 CvMat *arg5 = (CvMat *) 0 ;
37355 CvMat *arg6 = (CvMat *) 0 ;
37356 CvMat *arg7 = (CvMat *) 0 ;
37371 octave_value_list _out;
37372 octave_value_list *_outp=&_out;
37373 octave_value _outv;
37376 if (!SWIG_check_num_args("CvBoost_train",args.length(),7,7,0)) {
37379 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvBoost, 0 | 0 );
37380 if (!SWIG_IsOK(res1)) {
37381 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvBoost_train" "', argument " "1"" of type '" "CvBoost *""'");
37383 arg1 = (CvBoost *)(argp1);
37384 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
37385 if (!SWIG_IsOK(res2)) {
37386 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvBoost_train" "', argument " "2"" of type '" "CvMat const *""'");
37388 arg2 = (CvMat *)(argp2);
37389 ecode3 = SWIG_AsVal_int(args(2), &val3);
37390 if (!SWIG_IsOK(ecode3)) {
37391 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvBoost_train" "', argument " "3"" of type '" "int""'");
37393 arg3 = (int)(val3);
37394 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
37395 if (!SWIG_IsOK(res4)) {
37396 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvBoost_train" "', argument " "4"" of type '" "CvMat const *""'");
37398 arg4 = (CvMat *)(argp4);
37399 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
37400 if (!SWIG_IsOK(res5)) {
37401 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvBoost_train" "', argument " "5"" of type '" "CvMat const *""'");
37403 arg5 = (CvMat *)(argp5);
37404 res6 = SWIG_ConvertPtr(args(5), &argp6,SWIGTYPE_p_CvMat, 0 | 0 );
37405 if (!SWIG_IsOK(res6)) {
37406 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "CvBoost_train" "', argument " "6"" of type '" "CvMat const *""'");
37408 arg6 = (CvMat *)(argp6);
37409 res7 = SWIG_ConvertPtr(args(6), &argp7,SWIGTYPE_p_CvMat, 0 | 0 );
37410 if (!SWIG_IsOK(res7)) {
37411 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "CvBoost_train" "', argument " "7"" of type '" "CvMat const *""'");
37413 arg7 = (CvMat *)(argp7);
37416 result = (bool)(arg1)->train((CvMat const *)arg2,arg3,(CvMat const *)arg4,(CvMat const *)arg5,(CvMat const *)arg6,(CvMat const *)arg7);
37423 _outv = SWIG_From_bool((bool)(result));
37424 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
37430 static octave_value_list _wrap_CvBoost_train__SWIG_4 (const octave_value_list& args, int nargout) {
37431 CvBoost *arg1 = (CvBoost *) 0 ;
37432 CvMat *arg2 = (CvMat *) 0 ;
37434 CvMat *arg4 = (CvMat *) 0 ;
37435 CvMat *arg5 = (CvMat *) 0 ;
37436 CvMat *arg6 = (CvMat *) 0 ;
37449 octave_value_list _out;
37450 octave_value_list *_outp=&_out;
37451 octave_value _outv;
37454 if (!SWIG_check_num_args("CvBoost_train",args.length(),6,6,0)) {
37457 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvBoost, 0 | 0 );
37458 if (!SWIG_IsOK(res1)) {
37459 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvBoost_train" "', argument " "1"" of type '" "CvBoost *""'");
37461 arg1 = (CvBoost *)(argp1);
37462 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
37463 if (!SWIG_IsOK(res2)) {
37464 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvBoost_train" "', argument " "2"" of type '" "CvMat const *""'");
37466 arg2 = (CvMat *)(argp2);
37467 ecode3 = SWIG_AsVal_int(args(2), &val3);
37468 if (!SWIG_IsOK(ecode3)) {
37469 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvBoost_train" "', argument " "3"" of type '" "int""'");
37471 arg3 = (int)(val3);
37472 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
37473 if (!SWIG_IsOK(res4)) {
37474 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvBoost_train" "', argument " "4"" of type '" "CvMat const *""'");
37476 arg4 = (CvMat *)(argp4);
37477 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
37478 if (!SWIG_IsOK(res5)) {
37479 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvBoost_train" "', argument " "5"" of type '" "CvMat const *""'");
37481 arg5 = (CvMat *)(argp5);
37482 res6 = SWIG_ConvertPtr(args(5), &argp6,SWIGTYPE_p_CvMat, 0 | 0 );
37483 if (!SWIG_IsOK(res6)) {
37484 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "CvBoost_train" "', argument " "6"" of type '" "CvMat const *""'");
37486 arg6 = (CvMat *)(argp6);
37489 result = (bool)(arg1)->train((CvMat const *)arg2,arg3,(CvMat const *)arg4,(CvMat const *)arg5,(CvMat const *)arg6);
37496 _outv = SWIG_From_bool((bool)(result));
37497 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
37503 static octave_value_list _wrap_CvBoost_train__SWIG_5 (const octave_value_list& args, int nargout) {
37504 CvBoost *arg1 = (CvBoost *) 0 ;
37505 CvMat *arg2 = (CvMat *) 0 ;
37507 CvMat *arg4 = (CvMat *) 0 ;
37508 CvMat *arg5 = (CvMat *) 0 ;
37519 octave_value_list _out;
37520 octave_value_list *_outp=&_out;
37521 octave_value _outv;
37524 if (!SWIG_check_num_args("CvBoost_train",args.length(),5,5,0)) {
37527 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvBoost, 0 | 0 );
37528 if (!SWIG_IsOK(res1)) {
37529 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvBoost_train" "', argument " "1"" of type '" "CvBoost *""'");
37531 arg1 = (CvBoost *)(argp1);
37532 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
37533 if (!SWIG_IsOK(res2)) {
37534 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvBoost_train" "', argument " "2"" of type '" "CvMat const *""'");
37536 arg2 = (CvMat *)(argp2);
37537 ecode3 = SWIG_AsVal_int(args(2), &val3);
37538 if (!SWIG_IsOK(ecode3)) {
37539 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvBoost_train" "', argument " "3"" of type '" "int""'");
37541 arg3 = (int)(val3);
37542 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
37543 if (!SWIG_IsOK(res4)) {
37544 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvBoost_train" "', argument " "4"" of type '" "CvMat const *""'");
37546 arg4 = (CvMat *)(argp4);
37547 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
37548 if (!SWIG_IsOK(res5)) {
37549 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvBoost_train" "', argument " "5"" of type '" "CvMat const *""'");
37551 arg5 = (CvMat *)(argp5);
37554 result = (bool)(arg1)->train((CvMat const *)arg2,arg3,(CvMat const *)arg4,(CvMat const *)arg5);
37561 _outv = SWIG_From_bool((bool)(result));
37562 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
37568 static octave_value_list _wrap_CvBoost_train__SWIG_6 (const octave_value_list& args, int nargout) {
37569 CvBoost *arg1 = (CvBoost *) 0 ;
37570 CvMat *arg2 = (CvMat *) 0 ;
37572 CvMat *arg4 = (CvMat *) 0 ;
37581 octave_value_list _out;
37582 octave_value_list *_outp=&_out;
37583 octave_value _outv;
37586 if (!SWIG_check_num_args("CvBoost_train",args.length(),4,4,0)) {
37589 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvBoost, 0 | 0 );
37590 if (!SWIG_IsOK(res1)) {
37591 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvBoost_train" "', argument " "1"" of type '" "CvBoost *""'");
37593 arg1 = (CvBoost *)(argp1);
37594 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
37595 if (!SWIG_IsOK(res2)) {
37596 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvBoost_train" "', argument " "2"" of type '" "CvMat const *""'");
37598 arg2 = (CvMat *)(argp2);
37599 ecode3 = SWIG_AsVal_int(args(2), &val3);
37600 if (!SWIG_IsOK(ecode3)) {
37601 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvBoost_train" "', argument " "3"" of type '" "int""'");
37603 arg3 = (int)(val3);
37604 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
37605 if (!SWIG_IsOK(res4)) {
37606 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvBoost_train" "', argument " "4"" of type '" "CvMat const *""'");
37608 arg4 = (CvMat *)(argp4);
37611 result = (bool)(arg1)->train((CvMat const *)arg2,arg3,(CvMat const *)arg4);
37618 _outv = SWIG_From_bool((bool)(result));
37619 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
37625 static octave_value_list _wrap_CvBoost_train__SWIG_7 (const octave_value_list& args, int nargout) {
37626 CvBoost *arg1 = (CvBoost *) 0 ;
37627 CvMLData *arg2 = (CvMLData *) 0 ;
37628 CvBoostParams arg3 ;
37638 octave_value_list _out;
37639 octave_value_list *_outp=&_out;
37640 octave_value _outv;
37643 if (!SWIG_check_num_args("CvBoost_train",args.length(),4,4,0)) {
37646 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvBoost, 0 | 0 );
37647 if (!SWIG_IsOK(res1)) {
37648 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvBoost_train" "', argument " "1"" of type '" "CvBoost *""'");
37650 arg1 = (CvBoost *)(argp1);
37651 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMLData, 0 | 0 );
37652 if (!SWIG_IsOK(res2)) {
37653 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvBoost_train" "', argument " "2"" of type '" "CvMLData *""'");
37655 arg2 = (CvMLData *)(argp2);
37657 res3 = SWIG_ConvertPtr(args(2), &argp3, SWIGTYPE_p_CvBoostParams, 0 );
37658 if (!SWIG_IsOK(res3)) {
37659 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvBoost_train" "', argument " "3"" of type '" "CvBoostParams""'");
37662 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvBoost_train" "', argument " "3"" of type '" "CvBoostParams""'");
37664 arg3 = *((CvBoostParams *)(argp3));
37667 ecode4 = SWIG_AsVal_bool(args(3), &val4);
37668 if (!SWIG_IsOK(ecode4)) {
37669 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "CvBoost_train" "', argument " "4"" of type '" "bool""'");
37671 arg4 = (bool)(val4);
37674 result = (bool)(arg1)->train(arg2,arg3,arg4);
37681 _outv = SWIG_From_bool((bool)(result));
37682 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
37688 static octave_value_list _wrap_CvBoost_train__SWIG_8 (const octave_value_list& args, int nargout) {
37689 CvBoost *arg1 = (CvBoost *) 0 ;
37690 CvMLData *arg2 = (CvMLData *) 0 ;
37691 CvBoostParams arg3 ;
37698 octave_value_list _out;
37699 octave_value_list *_outp=&_out;
37700 octave_value _outv;
37703 if (!SWIG_check_num_args("CvBoost_train",args.length(),3,3,0)) {
37706 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvBoost, 0 | 0 );
37707 if (!SWIG_IsOK(res1)) {
37708 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvBoost_train" "', argument " "1"" of type '" "CvBoost *""'");
37710 arg1 = (CvBoost *)(argp1);
37711 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMLData, 0 | 0 );
37712 if (!SWIG_IsOK(res2)) {
37713 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvBoost_train" "', argument " "2"" of type '" "CvMLData *""'");
37715 arg2 = (CvMLData *)(argp2);
37717 res3 = SWIG_ConvertPtr(args(2), &argp3, SWIGTYPE_p_CvBoostParams, 0 );
37718 if (!SWIG_IsOK(res3)) {
37719 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvBoost_train" "', argument " "3"" of type '" "CvBoostParams""'");
37722 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvBoost_train" "', argument " "3"" of type '" "CvBoostParams""'");
37724 arg3 = *((CvBoostParams *)(argp3));
37729 result = (bool)(arg1)->train(arg2,arg3);
37736 _outv = SWIG_From_bool((bool)(result));
37737 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
37743 static octave_value_list _wrap_CvBoost_train__SWIG_9 (const octave_value_list& args, int nargout) {
37744 CvBoost *arg1 = (CvBoost *) 0 ;
37745 CvMLData *arg2 = (CvMLData *) 0 ;
37750 octave_value_list _out;
37751 octave_value_list *_outp=&_out;
37752 octave_value _outv;
37755 if (!SWIG_check_num_args("CvBoost_train",args.length(),2,2,0)) {
37758 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvBoost, 0 | 0 );
37759 if (!SWIG_IsOK(res1)) {
37760 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvBoost_train" "', argument " "1"" of type '" "CvBoost *""'");
37762 arg1 = (CvBoost *)(argp1);
37763 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMLData, 0 | 0 );
37764 if (!SWIG_IsOK(res2)) {
37765 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvBoost_train" "', argument " "2"" of type '" "CvMLData *""'");
37767 arg2 = (CvMLData *)(argp2);
37770 result = (bool)(arg1)->train(arg2);
37777 _outv = SWIG_From_bool((bool)(result));
37778 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
37784 static octave_value_list _wrap_CvBoost_train (const octave_value_list& args, int nargout) {
37785 int argc = args.length();
37786 octave_value_ref argv[10]={
37787 octave_value_ref(args,0),octave_value_ref(args,1),octave_value_ref(args,2),octave_value_ref(args,3),octave_value_ref(args,4),octave_value_ref(args,5),octave_value_ref(args,6),octave_value_ref(args,7),octave_value_ref(args,8),octave_value_ref(args,9)
37793 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvBoost, 0);
37794 _v = SWIG_CheckState(res);
37797 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMLData, 0);
37798 _v = SWIG_CheckState(res);
37800 return _wrap_CvBoost_train__SWIG_9(args, nargout);
37807 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvBoost, 0);
37808 _v = SWIG_CheckState(res);
37811 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMLData, 0);
37812 _v = SWIG_CheckState(res);
37815 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvBoostParams, 0);
37816 _v = SWIG_CheckState(res);
37818 return _wrap_CvBoost_train__SWIG_8(args, nargout);
37826 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvBoost, 0);
37827 _v = SWIG_CheckState(res);
37830 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
37831 _v = SWIG_CheckState(res);
37834 int res = SWIG_AsVal_int(argv[2], NULL);
37835 _v = SWIG_CheckState(res);
37839 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
37840 _v = SWIG_CheckState(res);
37842 return _wrap_CvBoost_train__SWIG_6(args, nargout);
37851 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvBoost, 0);
37852 _v = SWIG_CheckState(res);
37855 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMLData, 0);
37856 _v = SWIG_CheckState(res);
37859 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvBoostParams, 0);
37860 _v = SWIG_CheckState(res);
37863 int res = SWIG_AsVal_bool(argv[3], NULL);
37864 _v = SWIG_CheckState(res);
37867 return _wrap_CvBoost_train__SWIG_7(args, nargout);
37876 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvBoost, 0);
37877 _v = SWIG_CheckState(res);
37880 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
37881 _v = SWIG_CheckState(res);
37884 int res = SWIG_AsVal_int(argv[2], NULL);
37885 _v = SWIG_CheckState(res);
37889 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
37890 _v = SWIG_CheckState(res);
37893 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvMat, 0);
37894 _v = SWIG_CheckState(res);
37896 return _wrap_CvBoost_train__SWIG_5(args, nargout);
37906 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvBoost, 0);
37907 _v = SWIG_CheckState(res);
37910 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
37911 _v = SWIG_CheckState(res);
37914 int res = SWIG_AsVal_int(argv[2], NULL);
37915 _v = SWIG_CheckState(res);
37919 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
37920 _v = SWIG_CheckState(res);
37923 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvMat, 0);
37924 _v = SWIG_CheckState(res);
37927 int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_CvMat, 0);
37928 _v = SWIG_CheckState(res);
37930 return _wrap_CvBoost_train__SWIG_4(args, nargout);
37941 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvBoost, 0);
37942 _v = SWIG_CheckState(res);
37945 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
37946 _v = SWIG_CheckState(res);
37949 int res = SWIG_AsVal_int(argv[2], NULL);
37950 _v = SWIG_CheckState(res);
37954 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
37955 _v = SWIG_CheckState(res);
37958 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvMat, 0);
37959 _v = SWIG_CheckState(res);
37962 int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_CvMat, 0);
37963 _v = SWIG_CheckState(res);
37966 int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_CvMat, 0);
37967 _v = SWIG_CheckState(res);
37969 return _wrap_CvBoost_train__SWIG_3(args, nargout);
37981 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvBoost, 0);
37982 _v = SWIG_CheckState(res);
37985 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
37986 _v = SWIG_CheckState(res);
37989 int res = SWIG_AsVal_int(argv[2], NULL);
37990 _v = SWIG_CheckState(res);
37994 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
37995 _v = SWIG_CheckState(res);
37998 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvMat, 0);
37999 _v = SWIG_CheckState(res);
38002 int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_CvMat, 0);
38003 _v = SWIG_CheckState(res);
38006 int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_CvMat, 0);
38007 _v = SWIG_CheckState(res);
38010 int res = SWIG_ConvertPtr(argv[7], &vptr, SWIGTYPE_p_CvMat, 0);
38011 _v = SWIG_CheckState(res);
38013 return _wrap_CvBoost_train__SWIG_2(args, nargout);
38026 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvBoost, 0);
38027 _v = SWIG_CheckState(res);
38030 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
38031 _v = SWIG_CheckState(res);
38034 int res = SWIG_AsVal_int(argv[2], NULL);
38035 _v = SWIG_CheckState(res);
38039 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
38040 _v = SWIG_CheckState(res);
38043 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvMat, 0);
38044 _v = SWIG_CheckState(res);
38047 int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_CvMat, 0);
38048 _v = SWIG_CheckState(res);
38051 int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_CvMat, 0);
38052 _v = SWIG_CheckState(res);
38055 int res = SWIG_ConvertPtr(argv[7], &vptr, SWIGTYPE_p_CvMat, 0);
38056 _v = SWIG_CheckState(res);
38059 int res = SWIG_ConvertPtr(argv[8], &vptr, SWIGTYPE_p_CvBoostParams, 0);
38060 _v = SWIG_CheckState(res);
38062 return _wrap_CvBoost_train__SWIG_1(args, nargout);
38076 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvBoost, 0);
38077 _v = SWIG_CheckState(res);
38080 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
38081 _v = SWIG_CheckState(res);
38084 int res = SWIG_AsVal_int(argv[2], NULL);
38085 _v = SWIG_CheckState(res);
38089 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
38090 _v = SWIG_CheckState(res);
38093 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvMat, 0);
38094 _v = SWIG_CheckState(res);
38097 int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_CvMat, 0);
38098 _v = SWIG_CheckState(res);
38101 int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_CvMat, 0);
38102 _v = SWIG_CheckState(res);
38105 int res = SWIG_ConvertPtr(argv[7], &vptr, SWIGTYPE_p_CvMat, 0);
38106 _v = SWIG_CheckState(res);
38109 int res = SWIG_ConvertPtr(argv[8], &vptr, SWIGTYPE_p_CvBoostParams, 0);
38110 _v = SWIG_CheckState(res);
38113 int res = SWIG_AsVal_bool(argv[9], NULL);
38114 _v = SWIG_CheckState(res);
38117 return _wrap_CvBoost_train__SWIG_0(args, nargout);
38130 error("No matching function for overload");
38131 return octave_value_list();
38135 static octave_value_list _wrap_CvBoost_predict__SWIG_0 (const octave_value_list& args, int nargout) {
38136 CvBoost *arg1 = (CvBoost *) 0 ;
38137 CvMat *arg2 = (CvMat *) 0 ;
38138 CvMat *arg3 = (CvMat *) 0 ;
38139 CvMat *arg4 = (CvMat *) 0 ;
38157 octave_value_list _out;
38158 octave_value_list *_outp=&_out;
38159 octave_value _outv;
38162 if (!SWIG_check_num_args("CvBoost_predict",args.length(),7,7,0)) {
38165 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvBoost, 0 | 0 );
38166 if (!SWIG_IsOK(res1)) {
38167 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvBoost_predict" "', argument " "1"" of type '" "CvBoost const *""'");
38169 arg1 = (CvBoost *)(argp1);
38170 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
38171 if (!SWIG_IsOK(res2)) {
38172 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvBoost_predict" "', argument " "2"" of type '" "CvMat const *""'");
38174 arg2 = (CvMat *)(argp2);
38175 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvMat, 0 | 0 );
38176 if (!SWIG_IsOK(res3)) {
38177 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvBoost_predict" "', argument " "3"" of type '" "CvMat const *""'");
38179 arg3 = (CvMat *)(argp3);
38180 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
38181 if (!SWIG_IsOK(res4)) {
38182 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvBoost_predict" "', argument " "4"" of type '" "CvMat *""'");
38184 arg4 = (CvMat *)(argp4);
38186 res5 = SWIG_ConvertPtr(args(4), &argp5, SWIGTYPE_p_CvSlice, 0 );
38187 if (!SWIG_IsOK(res5)) {
38188 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvBoost_predict" "', argument " "5"" of type '" "CvSlice""'");
38191 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvBoost_predict" "', argument " "5"" of type '" "CvSlice""'");
38193 arg5 = *((CvSlice *)(argp5));
38196 ecode6 = SWIG_AsVal_bool(args(5), &val6);
38197 if (!SWIG_IsOK(ecode6)) {
38198 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "CvBoost_predict" "', argument " "6"" of type '" "bool""'");
38200 arg6 = (bool)(val6);
38201 ecode7 = SWIG_AsVal_bool(args(6), &val7);
38202 if (!SWIG_IsOK(ecode7)) {
38203 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "CvBoost_predict" "', argument " "7"" of type '" "bool""'");
38205 arg7 = (bool)(val7);
38208 result = (float)((CvBoost const *)arg1)->predict((CvMat const *)arg2,(CvMat const *)arg3,arg4,arg5,arg6,arg7);
38215 _outv = SWIG_From_float((float)(result));
38216 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
38222 static octave_value_list _wrap_CvBoost_predict__SWIG_1 (const octave_value_list& args, int nargout) {
38223 CvBoost *arg1 = (CvBoost *) 0 ;
38224 CvMat *arg2 = (CvMat *) 0 ;
38225 CvMat *arg3 = (CvMat *) 0 ;
38226 CvMat *arg4 = (CvMat *) 0 ;
38241 octave_value_list _out;
38242 octave_value_list *_outp=&_out;
38243 octave_value _outv;
38246 if (!SWIG_check_num_args("CvBoost_predict",args.length(),6,6,0)) {
38249 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvBoost, 0 | 0 );
38250 if (!SWIG_IsOK(res1)) {
38251 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvBoost_predict" "', argument " "1"" of type '" "CvBoost const *""'");
38253 arg1 = (CvBoost *)(argp1);
38254 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
38255 if (!SWIG_IsOK(res2)) {
38256 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvBoost_predict" "', argument " "2"" of type '" "CvMat const *""'");
38258 arg2 = (CvMat *)(argp2);
38259 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvMat, 0 | 0 );
38260 if (!SWIG_IsOK(res3)) {
38261 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvBoost_predict" "', argument " "3"" of type '" "CvMat const *""'");
38263 arg3 = (CvMat *)(argp3);
38264 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
38265 if (!SWIG_IsOK(res4)) {
38266 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvBoost_predict" "', argument " "4"" of type '" "CvMat *""'");
38268 arg4 = (CvMat *)(argp4);
38270 res5 = SWIG_ConvertPtr(args(4), &argp5, SWIGTYPE_p_CvSlice, 0 );
38271 if (!SWIG_IsOK(res5)) {
38272 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvBoost_predict" "', argument " "5"" of type '" "CvSlice""'");
38275 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvBoost_predict" "', argument " "5"" of type '" "CvSlice""'");
38277 arg5 = *((CvSlice *)(argp5));
38280 ecode6 = SWIG_AsVal_bool(args(5), &val6);
38281 if (!SWIG_IsOK(ecode6)) {
38282 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "CvBoost_predict" "', argument " "6"" of type '" "bool""'");
38284 arg6 = (bool)(val6);
38287 result = (float)((CvBoost const *)arg1)->predict((CvMat const *)arg2,(CvMat const *)arg3,arg4,arg5,arg6);
38294 _outv = SWIG_From_float((float)(result));
38295 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
38301 static octave_value_list _wrap_CvBoost_predict__SWIG_2 (const octave_value_list& args, int nargout) {
38302 CvBoost *arg1 = (CvBoost *) 0 ;
38303 CvMat *arg2 = (CvMat *) 0 ;
38304 CvMat *arg3 = (CvMat *) 0 ;
38305 CvMat *arg4 = (CvMat *) 0 ;
38317 octave_value_list _out;
38318 octave_value_list *_outp=&_out;
38319 octave_value _outv;
38322 if (!SWIG_check_num_args("CvBoost_predict",args.length(),5,5,0)) {
38325 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvBoost, 0 | 0 );
38326 if (!SWIG_IsOK(res1)) {
38327 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvBoost_predict" "', argument " "1"" of type '" "CvBoost const *""'");
38329 arg1 = (CvBoost *)(argp1);
38330 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
38331 if (!SWIG_IsOK(res2)) {
38332 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvBoost_predict" "', argument " "2"" of type '" "CvMat const *""'");
38334 arg2 = (CvMat *)(argp2);
38335 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvMat, 0 | 0 );
38336 if (!SWIG_IsOK(res3)) {
38337 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvBoost_predict" "', argument " "3"" of type '" "CvMat const *""'");
38339 arg3 = (CvMat *)(argp3);
38340 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
38341 if (!SWIG_IsOK(res4)) {
38342 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvBoost_predict" "', argument " "4"" of type '" "CvMat *""'");
38344 arg4 = (CvMat *)(argp4);
38346 res5 = SWIG_ConvertPtr(args(4), &argp5, SWIGTYPE_p_CvSlice, 0 );
38347 if (!SWIG_IsOK(res5)) {
38348 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvBoost_predict" "', argument " "5"" of type '" "CvSlice""'");
38351 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvBoost_predict" "', argument " "5"" of type '" "CvSlice""'");
38353 arg5 = *((CvSlice *)(argp5));
38358 result = (float)((CvBoost const *)arg1)->predict((CvMat const *)arg2,(CvMat const *)arg3,arg4,arg5);
38365 _outv = SWIG_From_float((float)(result));
38366 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
38372 static octave_value_list _wrap_CvBoost_predict__SWIG_3 (const octave_value_list& args, int nargout) {
38373 CvBoost *arg1 = (CvBoost *) 0 ;
38374 CvMat *arg2 = (CvMat *) 0 ;
38375 CvMat *arg3 = (CvMat *) 0 ;
38376 CvMat *arg4 = (CvMat *) 0 ;
38385 octave_value_list _out;
38386 octave_value_list *_outp=&_out;
38387 octave_value _outv;
38390 if (!SWIG_check_num_args("CvBoost_predict",args.length(),4,4,0)) {
38393 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvBoost, 0 | 0 );
38394 if (!SWIG_IsOK(res1)) {
38395 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvBoost_predict" "', argument " "1"" of type '" "CvBoost const *""'");
38397 arg1 = (CvBoost *)(argp1);
38398 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
38399 if (!SWIG_IsOK(res2)) {
38400 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvBoost_predict" "', argument " "2"" of type '" "CvMat const *""'");
38402 arg2 = (CvMat *)(argp2);
38403 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvMat, 0 | 0 );
38404 if (!SWIG_IsOK(res3)) {
38405 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvBoost_predict" "', argument " "3"" of type '" "CvMat const *""'");
38407 arg3 = (CvMat *)(argp3);
38408 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
38409 if (!SWIG_IsOK(res4)) {
38410 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvBoost_predict" "', argument " "4"" of type '" "CvMat *""'");
38412 arg4 = (CvMat *)(argp4);
38415 result = (float)((CvBoost const *)arg1)->predict((CvMat const *)arg2,(CvMat const *)arg3,arg4);
38422 _outv = SWIG_From_float((float)(result));
38423 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
38429 static octave_value_list _wrap_CvBoost_predict__SWIG_4 (const octave_value_list& args, int nargout) {
38430 CvBoost *arg1 = (CvBoost *) 0 ;
38431 CvMat *arg2 = (CvMat *) 0 ;
38432 CvMat *arg3 = (CvMat *) 0 ;
38439 octave_value_list _out;
38440 octave_value_list *_outp=&_out;
38441 octave_value _outv;
38444 if (!SWIG_check_num_args("CvBoost_predict",args.length(),3,3,0)) {
38447 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvBoost, 0 | 0 );
38448 if (!SWIG_IsOK(res1)) {
38449 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvBoost_predict" "', argument " "1"" of type '" "CvBoost const *""'");
38451 arg1 = (CvBoost *)(argp1);
38452 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
38453 if (!SWIG_IsOK(res2)) {
38454 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvBoost_predict" "', argument " "2"" of type '" "CvMat const *""'");
38456 arg2 = (CvMat *)(argp2);
38457 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvMat, 0 | 0 );
38458 if (!SWIG_IsOK(res3)) {
38459 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvBoost_predict" "', argument " "3"" of type '" "CvMat const *""'");
38461 arg3 = (CvMat *)(argp3);
38464 result = (float)((CvBoost const *)arg1)->predict((CvMat const *)arg2,(CvMat const *)arg3);
38471 _outv = SWIG_From_float((float)(result));
38472 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
38478 static octave_value_list _wrap_CvBoost_predict__SWIG_5 (const octave_value_list& args, int nargout) {
38479 CvBoost *arg1 = (CvBoost *) 0 ;
38480 CvMat *arg2 = (CvMat *) 0 ;
38485 octave_value_list _out;
38486 octave_value_list *_outp=&_out;
38487 octave_value _outv;
38490 if (!SWIG_check_num_args("CvBoost_predict",args.length(),2,2,0)) {
38493 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvBoost, 0 | 0 );
38494 if (!SWIG_IsOK(res1)) {
38495 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvBoost_predict" "', argument " "1"" of type '" "CvBoost const *""'");
38497 arg1 = (CvBoost *)(argp1);
38498 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
38499 if (!SWIG_IsOK(res2)) {
38500 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvBoost_predict" "', argument " "2"" of type '" "CvMat const *""'");
38502 arg2 = (CvMat *)(argp2);
38505 result = (float)((CvBoost const *)arg1)->predict((CvMat const *)arg2);
38512 _outv = SWIG_From_float((float)(result));
38513 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
38519 static octave_value_list _wrap_CvBoost_predict (const octave_value_list& args, int nargout) {
38520 int argc = args.length();
38521 octave_value_ref argv[7]={
38522 octave_value_ref(args,0),octave_value_ref(args,1),octave_value_ref(args,2),octave_value_ref(args,3),octave_value_ref(args,4),octave_value_ref(args,5),octave_value_ref(args,6)
38528 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvBoost, 0);
38529 _v = SWIG_CheckState(res);
38532 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
38533 _v = SWIG_CheckState(res);
38535 return _wrap_CvBoost_predict__SWIG_5(args, nargout);
38542 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvBoost, 0);
38543 _v = SWIG_CheckState(res);
38546 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
38547 _v = SWIG_CheckState(res);
38550 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvMat, 0);
38551 _v = SWIG_CheckState(res);
38553 return _wrap_CvBoost_predict__SWIG_4(args, nargout);
38561 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvBoost, 0);
38562 _v = SWIG_CheckState(res);
38565 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
38566 _v = SWIG_CheckState(res);
38569 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvMat, 0);
38570 _v = SWIG_CheckState(res);
38573 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
38574 _v = SWIG_CheckState(res);
38576 return _wrap_CvBoost_predict__SWIG_3(args, nargout);
38585 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvBoost, 0);
38586 _v = SWIG_CheckState(res);
38589 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
38590 _v = SWIG_CheckState(res);
38593 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvMat, 0);
38594 _v = SWIG_CheckState(res);
38597 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
38598 _v = SWIG_CheckState(res);
38601 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvSlice, 0);
38602 _v = SWIG_CheckState(res);
38604 return _wrap_CvBoost_predict__SWIG_2(args, nargout);
38614 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvBoost, 0);
38615 _v = SWIG_CheckState(res);
38618 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
38619 _v = SWIG_CheckState(res);
38622 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvMat, 0);
38623 _v = SWIG_CheckState(res);
38626 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
38627 _v = SWIG_CheckState(res);
38630 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvSlice, 0);
38631 _v = SWIG_CheckState(res);
38634 int res = SWIG_AsVal_bool(argv[5], NULL);
38635 _v = SWIG_CheckState(res);
38638 return _wrap_CvBoost_predict__SWIG_1(args, nargout);
38649 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvBoost, 0);
38650 _v = SWIG_CheckState(res);
38653 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
38654 _v = SWIG_CheckState(res);
38657 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvMat, 0);
38658 _v = SWIG_CheckState(res);
38661 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
38662 _v = SWIG_CheckState(res);
38665 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvSlice, 0);
38666 _v = SWIG_CheckState(res);
38669 int res = SWIG_AsVal_bool(argv[5], NULL);
38670 _v = SWIG_CheckState(res);
38674 int res = SWIG_AsVal_bool(argv[6], NULL);
38675 _v = SWIG_CheckState(res);
38678 return _wrap_CvBoost_predict__SWIG_0(args, nargout);
38688 error("No matching function for overload");
38689 return octave_value_list();
38693 static octave_value_list _wrap_CvBoost_calc_error__SWIG_0 (const octave_value_list& args, int nargout) {
38694 CvBoost *arg1 = (CvBoost *) 0 ;
38695 CvMLData *arg2 = (CvMLData *) 0 ;
38697 vector< float > *arg4 = (vector< float > *) 0 ;
38706 octave_value_list _out;
38707 octave_value_list *_outp=&_out;
38708 octave_value _outv;
38711 if (!SWIG_check_num_args("CvBoost_calc_error",args.length(),4,4,0)) {
38714 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvBoost, 0 | 0 );
38715 if (!SWIG_IsOK(res1)) {
38716 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvBoost_calc_error" "', argument " "1"" of type '" "CvBoost *""'");
38718 arg1 = (CvBoost *)(argp1);
38719 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMLData, 0 | 0 );
38720 if (!SWIG_IsOK(res2)) {
38721 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvBoost_calc_error" "', argument " "2"" of type '" "CvMLData *""'");
38723 arg2 = (CvMLData *)(argp2);
38724 ecode3 = SWIG_AsVal_int(args(2), &val3);
38725 if (!SWIG_IsOK(ecode3)) {
38726 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvBoost_calc_error" "', argument " "3"" of type '" "int""'");
38728 arg3 = (int)(val3);
38729 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_vectorT_float_t, 0 | 0 );
38730 if (!SWIG_IsOK(res4)) {
38731 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvBoost_calc_error" "', argument " "4"" of type '" "vector< float > *""'");
38733 arg4 = (vector< float > *)(argp4);
38736 result = (float)(arg1)->calc_error(arg2,arg3,arg4);
38743 _outv = SWIG_From_float((float)(result));
38744 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
38750 static octave_value_list _wrap_CvBoost_calc_error__SWIG_1 (const octave_value_list& args, int nargout) {
38751 CvBoost *arg1 = (CvBoost *) 0 ;
38752 CvMLData *arg2 = (CvMLData *) 0 ;
38760 octave_value_list _out;
38761 octave_value_list *_outp=&_out;
38762 octave_value _outv;
38765 if (!SWIG_check_num_args("CvBoost_calc_error",args.length(),3,3,0)) {
38768 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvBoost, 0 | 0 );
38769 if (!SWIG_IsOK(res1)) {
38770 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvBoost_calc_error" "', argument " "1"" of type '" "CvBoost *""'");
38772 arg1 = (CvBoost *)(argp1);
38773 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMLData, 0 | 0 );
38774 if (!SWIG_IsOK(res2)) {
38775 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvBoost_calc_error" "', argument " "2"" of type '" "CvMLData *""'");
38777 arg2 = (CvMLData *)(argp2);
38778 ecode3 = SWIG_AsVal_int(args(2), &val3);
38779 if (!SWIG_IsOK(ecode3)) {
38780 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvBoost_calc_error" "', argument " "3"" of type '" "int""'");
38782 arg3 = (int)(val3);
38785 result = (float)(arg1)->calc_error(arg2,arg3);
38792 _outv = SWIG_From_float((float)(result));
38793 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
38799 static octave_value_list _wrap_CvBoost_calc_error (const octave_value_list& args, int nargout) {
38800 int argc = args.length();
38801 octave_value_ref argv[4]={
38802 octave_value_ref(args,0),octave_value_ref(args,1),octave_value_ref(args,2),octave_value_ref(args,3)
38808 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvBoost, 0);
38809 _v = SWIG_CheckState(res);
38812 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMLData, 0);
38813 _v = SWIG_CheckState(res);
38816 int res = SWIG_AsVal_int(argv[2], NULL);
38817 _v = SWIG_CheckState(res);
38820 return _wrap_CvBoost_calc_error__SWIG_1(args, nargout);
38828 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvBoost, 0);
38829 _v = SWIG_CheckState(res);
38832 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMLData, 0);
38833 _v = SWIG_CheckState(res);
38836 int res = SWIG_AsVal_int(argv[2], NULL);
38837 _v = SWIG_CheckState(res);
38841 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_vectorT_float_t, 0);
38842 _v = SWIG_CheckState(res);
38844 return _wrap_CvBoost_calc_error__SWIG_0(args, nargout);
38851 error("No matching function for overload");
38852 return octave_value_list();
38856 static octave_value_list _wrap_CvBoost_prune (const octave_value_list& args, int nargout) {
38857 CvBoost *arg1 = (CvBoost *) 0 ;
38863 octave_value_list _out;
38864 octave_value_list *_outp=&_out;
38865 octave_value _outv;
38867 if (!SWIG_check_num_args("CvBoost_prune",args.length(),2,2,0)) {
38870 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvBoost, 0 | 0 );
38871 if (!SWIG_IsOK(res1)) {
38872 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvBoost_prune" "', argument " "1"" of type '" "CvBoost *""'");
38874 arg1 = (CvBoost *)(argp1);
38876 res2 = SWIG_ConvertPtr(args(1), &argp2, SWIGTYPE_p_CvSlice, 0 );
38877 if (!SWIG_IsOK(res2)) {
38878 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvBoost_prune" "', argument " "2"" of type '" "CvSlice""'");
38881 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvBoost_prune" "', argument " "2"" of type '" "CvSlice""'");
38883 arg2 = *((CvSlice *)(argp2));
38888 (arg1)->prune(arg2);
38895 _outv = octave_value();
38896 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
38902 static octave_value_list _wrap_CvBoost_clear (const octave_value_list& args, int nargout) {
38903 CvBoost *arg1 = (CvBoost *) 0 ;
38906 octave_value_list _out;
38907 octave_value_list *_outp=&_out;
38908 octave_value _outv;
38910 if (!SWIG_check_num_args("CvBoost_clear",args.length(),1,1,0)) {
38913 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvBoost, 0 | 0 );
38914 if (!SWIG_IsOK(res1)) {
38915 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvBoost_clear" "', argument " "1"" of type '" "CvBoost *""'");
38917 arg1 = (CvBoost *)(argp1);
38927 _outv = octave_value();
38928 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
38934 static octave_value_list _wrap_CvBoost_write (const octave_value_list& args, int nargout) {
38935 CvBoost *arg1 = (CvBoost *) 0 ;
38936 CvFileStorage *arg2 = (CvFileStorage *) 0 ;
38937 char *arg3 = (char *) 0 ;
38945 octave_value_list _out;
38946 octave_value_list *_outp=&_out;
38947 octave_value _outv;
38949 if (!SWIG_check_num_args("CvBoost_write",args.length(),3,3,0)) {
38952 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvBoost, 0 | 0 );
38953 if (!SWIG_IsOK(res1)) {
38954 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvBoost_write" "', argument " "1"" of type '" "CvBoost const *""'");
38956 arg1 = (CvBoost *)(argp1);
38957 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvFileStorage, 0 | 0 );
38958 if (!SWIG_IsOK(res2)) {
38959 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvBoost_write" "', argument " "2"" of type '" "CvFileStorage *""'");
38961 arg2 = (CvFileStorage *)(argp2);
38962 res3 = SWIG_AsCharPtrAndSize(args(2), &buf3, NULL, &alloc3);
38963 if (!SWIG_IsOK(res3)) {
38964 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvBoost_write" "', argument " "3"" of type '" "char const *""'");
38966 arg3 = (char *)(buf3);
38969 ((CvBoost const *)arg1)->write(arg2,(char const *)arg3);
38976 _outv = octave_value();
38977 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
38978 if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
38984 static octave_value_list _wrap_CvBoost_read (const octave_value_list& args, int nargout) {
38985 CvBoost *arg1 = (CvBoost *) 0 ;
38986 CvFileStorage *arg2 = (CvFileStorage *) 0 ;
38987 CvFileNode *arg3 = (CvFileNode *) 0 ;
38994 octave_value_list _out;
38995 octave_value_list *_outp=&_out;
38996 octave_value _outv;
38998 if (!SWIG_check_num_args("CvBoost_read",args.length(),3,3,0)) {
39001 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvBoost, 0 | 0 );
39002 if (!SWIG_IsOK(res1)) {
39003 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvBoost_read" "', argument " "1"" of type '" "CvBoost *""'");
39005 arg1 = (CvBoost *)(argp1);
39006 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvFileStorage, 0 | 0 );
39007 if (!SWIG_IsOK(res2)) {
39008 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvBoost_read" "', argument " "2"" of type '" "CvFileStorage *""'");
39010 arg2 = (CvFileStorage *)(argp2);
39011 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvFileNode, 0 | 0 );
39012 if (!SWIG_IsOK(res3)) {
39013 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvBoost_read" "', argument " "3"" of type '" "CvFileNode *""'");
39015 arg3 = (CvFileNode *)(argp3);
39018 (arg1)->read(arg2,arg3);
39025 _outv = octave_value();
39026 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
39032 static octave_value_list _wrap_CvBoost_get_active_vars__SWIG_0 (const octave_value_list& args, int nargout) {
39033 CvBoost *arg1 = (CvBoost *) 0 ;
39039 octave_value_list _out;
39040 octave_value_list *_outp=&_out;
39041 octave_value _outv;
39042 CvMat *result = 0 ;
39044 if (!SWIG_check_num_args("CvBoost_get_active_vars",args.length(),2,2,0)) {
39047 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvBoost, 0 | 0 );
39048 if (!SWIG_IsOK(res1)) {
39049 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvBoost_get_active_vars" "', argument " "1"" of type '" "CvBoost *""'");
39051 arg1 = (CvBoost *)(argp1);
39052 ecode2 = SWIG_AsVal_bool(args(1), &val2);
39053 if (!SWIG_IsOK(ecode2)) {
39054 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvBoost_get_active_vars" "', argument " "2"" of type '" "bool""'");
39056 arg2 = (bool)(val2);
39059 result = (CvMat *)(arg1)->get_active_vars(arg2);
39066 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvMat, 0 | 0 );
39067 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
39073 static octave_value_list _wrap_CvBoost_get_active_vars__SWIG_1 (const octave_value_list& args, int nargout) {
39074 CvBoost *arg1 = (CvBoost *) 0 ;
39077 octave_value_list _out;
39078 octave_value_list *_outp=&_out;
39079 octave_value _outv;
39080 CvMat *result = 0 ;
39082 if (!SWIG_check_num_args("CvBoost_get_active_vars",args.length(),1,1,0)) {
39085 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvBoost, 0 | 0 );
39086 if (!SWIG_IsOK(res1)) {
39087 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvBoost_get_active_vars" "', argument " "1"" of type '" "CvBoost *""'");
39089 arg1 = (CvBoost *)(argp1);
39092 result = (CvMat *)(arg1)->get_active_vars();
39099 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvMat, 0 | 0 );
39100 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
39106 static octave_value_list _wrap_CvBoost_get_active_vars (const octave_value_list& args, int nargout) {
39107 int argc = args.length();
39108 octave_value_ref argv[2]={
39109 octave_value_ref(args,0),octave_value_ref(args,1)
39115 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvBoost, 0);
39116 _v = SWIG_CheckState(res);
39118 return _wrap_CvBoost_get_active_vars__SWIG_1(args, nargout);
39124 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvBoost, 0);
39125 _v = SWIG_CheckState(res);
39128 int res = SWIG_AsVal_bool(argv[1], NULL);
39129 _v = SWIG_CheckState(res);
39132 return _wrap_CvBoost_get_active_vars__SWIG_0(args, nargout);
39137 error("No matching function for overload");
39138 return octave_value_list();
39142 static octave_value_list _wrap_CvBoost_get_weak_predictors (const octave_value_list& args, int nargout) {
39143 CvBoost *arg1 = (CvBoost *) 0 ;
39146 octave_value_list _out;
39147 octave_value_list *_outp=&_out;
39148 octave_value _outv;
39149 CvSeq *result = 0 ;
39151 if (!SWIG_check_num_args("CvBoost_get_weak_predictors",args.length(),1,1,0)) {
39154 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvBoost, 0 | 0 );
39155 if (!SWIG_IsOK(res1)) {
39156 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvBoost_get_weak_predictors" "', argument " "1"" of type '" "CvBoost *""'");
39158 arg1 = (CvBoost *)(argp1);
39161 result = (CvSeq *)(arg1)->get_weak_predictors();
39168 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvSeq, 0 | 0 );
39169 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
39175 static octave_value_list _wrap_CvBoost_get_weights (const octave_value_list& args, int nargout) {
39176 CvBoost *arg1 = (CvBoost *) 0 ;
39179 octave_value_list _out;
39180 octave_value_list *_outp=&_out;
39181 octave_value _outv;
39182 CvMat *result = 0 ;
39184 if (!SWIG_check_num_args("CvBoost_get_weights",args.length(),1,1,0)) {
39187 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvBoost, 0 | 0 );
39188 if (!SWIG_IsOK(res1)) {
39189 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvBoost_get_weights" "', argument " "1"" of type '" "CvBoost *""'");
39191 arg1 = (CvBoost *)(argp1);
39194 result = (CvMat *)(arg1)->get_weights();
39201 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvMat, 0 | 0 );
39202 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
39208 static octave_value_list _wrap_CvBoost_get_subtree_weights (const octave_value_list& args, int nargout) {
39209 CvBoost *arg1 = (CvBoost *) 0 ;
39212 octave_value_list _out;
39213 octave_value_list *_outp=&_out;
39214 octave_value _outv;
39215 CvMat *result = 0 ;
39217 if (!SWIG_check_num_args("CvBoost_get_subtree_weights",args.length(),1,1,0)) {
39220 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvBoost, 0 | 0 );
39221 if (!SWIG_IsOK(res1)) {
39222 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvBoost_get_subtree_weights" "', argument " "1"" of type '" "CvBoost *""'");
39224 arg1 = (CvBoost *)(argp1);
39227 result = (CvMat *)(arg1)->get_subtree_weights();
39234 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvMat, 0 | 0 );
39235 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
39241 static octave_value_list _wrap_CvBoost_get_weak_response (const octave_value_list& args, int nargout) {
39242 CvBoost *arg1 = (CvBoost *) 0 ;
39245 octave_value_list _out;
39246 octave_value_list *_outp=&_out;
39247 octave_value _outv;
39248 CvMat *result = 0 ;
39250 if (!SWIG_check_num_args("CvBoost_get_weak_response",args.length(),1,1,0)) {
39253 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvBoost, 0 | 0 );
39254 if (!SWIG_IsOK(res1)) {
39255 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvBoost_get_weak_response" "', argument " "1"" of type '" "CvBoost *""'");
39257 arg1 = (CvBoost *)(argp1);
39260 result = (CvMat *)(arg1)->get_weak_response();
39267 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvMat, 0 | 0 );
39268 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
39274 static octave_value_list _wrap_CvBoost_get_params (const octave_value_list& args, int nargout) {
39275 CvBoost *arg1 = (CvBoost *) 0 ;
39278 octave_value_list _out;
39279 octave_value_list *_outp=&_out;
39280 octave_value _outv;
39281 CvBoostParams *result = 0 ;
39283 if (!SWIG_check_num_args("CvBoost_get_params",args.length(),1,1,0)) {
39286 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvBoost, 0 | 0 );
39287 if (!SWIG_IsOK(res1)) {
39288 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvBoost_get_params" "', argument " "1"" of type '" "CvBoost const *""'");
39290 arg1 = (CvBoost *)(argp1);
39293 result = (CvBoostParams *) &((CvBoost const *)arg1)->get_params();
39300 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvBoostParams, 0 | 0 );
39301 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
39307 static octave_value_list _wrap_CvBoost_get_data (const octave_value_list& args, int nargout) {
39308 CvBoost *arg1 = (CvBoost *) 0 ;
39311 octave_value_list _out;
39312 octave_value_list *_outp=&_out;
39313 octave_value _outv;
39314 CvDTreeTrainData *result = 0 ;
39316 if (!SWIG_check_num_args("CvBoost_get_data",args.length(),1,1,0)) {
39319 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvBoost, 0 | 0 );
39320 if (!SWIG_IsOK(res1)) {
39321 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvBoost_get_data" "', argument " "1"" of type '" "CvBoost const *""'");
39323 arg1 = (CvBoost *)(argp1);
39326 result = (CvDTreeTrainData *)((CvBoost const *)arg1)->get_data();
39333 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvDTreeTrainData, 0 | 0 );
39334 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
39340 static swig_octave_member swig_CvBoost_members[] = {
39341 {"train",_wrap_CvBoost_train,0,0,0,0},
39342 {"predict",_wrap_CvBoost_predict,0,0,0,0},
39343 {"calc_error",_wrap_CvBoost_calc_error,0,0,0,0},
39344 {"prune",_wrap_CvBoost_prune,0,0,0,0},
39345 {"clear",_wrap_CvBoost_clear,0,0,0,0},
39346 {"write",_wrap_CvBoost_write,0,0,0,0},
39347 {"read",_wrap_CvBoost_read,0,0,0,0},
39348 {"get_active_vars",_wrap_CvBoost_get_active_vars,0,0,0,0},
39349 {"get_weak_predictors",_wrap_CvBoost_get_weak_predictors,0,0,0,0},
39350 {"get_weights",_wrap_CvBoost_get_weights,0,0,0,0},
39351 {"get_subtree_weights",_wrap_CvBoost_get_subtree_weights,0,0,0,0},
39352 {"get_weak_response",_wrap_CvBoost_get_weak_response,0,0,0,0},
39353 {"get_params",_wrap_CvBoost_get_params,0,0,0,0},
39354 {"get_data",_wrap_CvBoost_get_data,0,0,0,0},
39357 static const char *swig_CvBoost_base_names[] = {"_p_CvStatModel",0};
39358 static const swig_type_info *swig_CvBoost_base[] = {0,0};
39359 static swig_octave_class _wrap_class_CvBoost = {"CvBoost", &SWIGTYPE_p_CvBoost,0,_wrap_new_CvBoost,0,_wrap_delete_CvBoost,swig_CvBoost_members,swig_CvBoost_base_names,swig_CvBoost_base };
39361 static octave_value_list _wrap_new_CvANN_MLP_TrainParams__SWIG_0 (const octave_value_list& args, int nargout) {
39362 octave_value_list _out;
39363 octave_value_list *_outp=&_out;
39364 octave_value _outv;
39365 CvANN_MLP_TrainParams *result = 0 ;
39367 if (!SWIG_check_num_args("new_CvANN_MLP_TrainParams",args.length(),0,0,0)) {
39372 result = (CvANN_MLP_TrainParams *)new CvANN_MLP_TrainParams();
39379 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvANN_MLP_TrainParams, 1 | 0 );
39380 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
39386 static octave_value_list _wrap_new_CvANN_MLP_TrainParams__SWIG_1 (const octave_value_list& args, int nargout) {
39387 CvTermCriteria arg1 ;
39399 octave_value_list _out;
39400 octave_value_list *_outp=&_out;
39401 octave_value _outv;
39402 CvANN_MLP_TrainParams *result = 0 ;
39404 if (!SWIG_check_num_args("new_CvANN_MLP_TrainParams",args.length(),4,4,0)) {
39408 res1 = SWIG_ConvertPtr(args(0), &argp1, SWIGTYPE_p_CvTermCriteria, 0 );
39409 if (!SWIG_IsOK(res1)) {
39410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CvANN_MLP_TrainParams" "', argument " "1"" of type '" "CvTermCriteria""'");
39413 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_CvANN_MLP_TrainParams" "', argument " "1"" of type '" "CvTermCriteria""'");
39415 arg1 = *((CvTermCriteria *)(argp1));
39418 ecode2 = SWIG_AsVal_int(args(1), &val2);
39419 if (!SWIG_IsOK(ecode2)) {
39420 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CvANN_MLP_TrainParams" "', argument " "2"" of type '" "int""'");
39422 arg2 = (int)(val2);
39423 ecode3 = SWIG_AsVal_double(args(2), &val3);
39424 if (!SWIG_IsOK(ecode3)) {
39425 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_CvANN_MLP_TrainParams" "', argument " "3"" of type '" "double""'");
39427 arg3 = (double)(val3);
39428 ecode4 = SWIG_AsVal_double(args(3), &val4);
39429 if (!SWIG_IsOK(ecode4)) {
39430 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_CvANN_MLP_TrainParams" "', argument " "4"" of type '" "double""'");
39432 arg4 = (double)(val4);
39435 result = (CvANN_MLP_TrainParams *)new CvANN_MLP_TrainParams(arg1,arg2,arg3,arg4);
39442 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvANN_MLP_TrainParams, 1 | 0 );
39443 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
39449 static octave_value_list _wrap_new_CvANN_MLP_TrainParams__SWIG_2 (const octave_value_list& args, int nargout) {
39450 CvTermCriteria arg1 ;
39459 octave_value_list _out;
39460 octave_value_list *_outp=&_out;
39461 octave_value _outv;
39462 CvANN_MLP_TrainParams *result = 0 ;
39464 if (!SWIG_check_num_args("new_CvANN_MLP_TrainParams",args.length(),3,3,0)) {
39468 res1 = SWIG_ConvertPtr(args(0), &argp1, SWIGTYPE_p_CvTermCriteria, 0 );
39469 if (!SWIG_IsOK(res1)) {
39470 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CvANN_MLP_TrainParams" "', argument " "1"" of type '" "CvTermCriteria""'");
39473 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_CvANN_MLP_TrainParams" "', argument " "1"" of type '" "CvTermCriteria""'");
39475 arg1 = *((CvTermCriteria *)(argp1));
39478 ecode2 = SWIG_AsVal_int(args(1), &val2);
39479 if (!SWIG_IsOK(ecode2)) {
39480 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CvANN_MLP_TrainParams" "', argument " "2"" of type '" "int""'");
39482 arg2 = (int)(val2);
39483 ecode3 = SWIG_AsVal_double(args(2), &val3);
39484 if (!SWIG_IsOK(ecode3)) {
39485 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_CvANN_MLP_TrainParams" "', argument " "3"" of type '" "double""'");
39487 arg3 = (double)(val3);
39490 result = (CvANN_MLP_TrainParams *)new CvANN_MLP_TrainParams(arg1,arg2,arg3);
39497 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvANN_MLP_TrainParams, 1 | 0 );
39498 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
39504 static octave_value_list _wrap_new_CvANN_MLP_TrainParams (const octave_value_list& args, int nargout) {
39505 int argc = args.length();
39506 octave_value_ref argv[4]={
39507 octave_value_ref(args,0),octave_value_ref(args,1),octave_value_ref(args,2),octave_value_ref(args,3)
39511 return _wrap_new_CvANN_MLP_TrainParams__SWIG_0(args, nargout);
39516 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvTermCriteria, 0);
39517 _v = SWIG_CheckState(res);
39520 int res = SWIG_AsVal_int(argv[1], NULL);
39521 _v = SWIG_CheckState(res);
39525 int res = SWIG_AsVal_double(argv[2], NULL);
39526 _v = SWIG_CheckState(res);
39529 return _wrap_new_CvANN_MLP_TrainParams__SWIG_2(args, nargout);
39537 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvTermCriteria, 0);
39538 _v = SWIG_CheckState(res);
39541 int res = SWIG_AsVal_int(argv[1], NULL);
39542 _v = SWIG_CheckState(res);
39546 int res = SWIG_AsVal_double(argv[2], NULL);
39547 _v = SWIG_CheckState(res);
39551 int res = SWIG_AsVal_double(argv[3], NULL);
39552 _v = SWIG_CheckState(res);
39555 return _wrap_new_CvANN_MLP_TrainParams__SWIG_1(args, nargout);
39562 error("No matching function for overload");
39563 return octave_value_list();
39567 static octave_value_list _wrap_delete_CvANN_MLP_TrainParams (const octave_value_list& args, int nargout) {
39568 CvANN_MLP_TrainParams *arg1 = (CvANN_MLP_TrainParams *) 0 ;
39571 octave_value_list _out;
39572 octave_value_list *_outp=&_out;
39573 octave_value _outv;
39575 if (!SWIG_check_num_args("delete_CvANN_MLP_TrainParams",args.length(),1,1,0)) {
39578 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvANN_MLP_TrainParams, SWIG_POINTER_DISOWN | 0 );
39579 if (!SWIG_IsOK(res1)) {
39580 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CvANN_MLP_TrainParams" "', argument " "1"" of type '" "CvANN_MLP_TrainParams *""'");
39582 arg1 = (CvANN_MLP_TrainParams *)(argp1);
39592 _outv = octave_value();
39593 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
39599 static octave_value_list _wrap_CvANN_MLP_TrainParams_term_crit_set (const octave_value_list& args, int nargout) {
39600 CvANN_MLP_TrainParams *arg1 = (CvANN_MLP_TrainParams *) 0 ;
39601 CvTermCriteria *arg2 = (CvTermCriteria *) 0 ;
39606 octave_value_list _out;
39607 octave_value_list *_outp=&_out;
39608 octave_value _outv;
39610 if (!SWIG_check_num_args("CvANN_MLP_TrainParams_term_crit_set",args.length(),2,2,0)) {
39613 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvANN_MLP_TrainParams, 0 | 0 );
39614 if (!SWIG_IsOK(res1)) {
39615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvANN_MLP_TrainParams_term_crit_set" "', argument " "1"" of type '" "CvANN_MLP_TrainParams *""'");
39617 arg1 = (CvANN_MLP_TrainParams *)(argp1);
39618 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvTermCriteria, 0 | 0 );
39619 if (!SWIG_IsOK(res2)) {
39620 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvANN_MLP_TrainParams_term_crit_set" "', argument " "2"" of type '" "CvTermCriteria *""'");
39622 arg2 = (CvTermCriteria *)(argp2);
39623 if (arg1) (arg1)->term_crit = *arg2;
39624 _outv = octave_value();
39625 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
39631 static octave_value_list _wrap_CvANN_MLP_TrainParams_term_crit_get (const octave_value_list& args, int nargout) {
39632 CvANN_MLP_TrainParams *arg1 = (CvANN_MLP_TrainParams *) 0 ;
39635 octave_value_list _out;
39636 octave_value_list *_outp=&_out;
39637 octave_value _outv;
39638 CvTermCriteria *result = 0 ;
39640 if (!SWIG_check_num_args("CvANN_MLP_TrainParams_term_crit_get",args.length(),1,1,0)) {
39643 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvANN_MLP_TrainParams, 0 | 0 );
39644 if (!SWIG_IsOK(res1)) {
39645 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvANN_MLP_TrainParams_term_crit_get" "', argument " "1"" of type '" "CvANN_MLP_TrainParams *""'");
39647 arg1 = (CvANN_MLP_TrainParams *)(argp1);
39648 result = (CvTermCriteria *)& ((arg1)->term_crit);
39649 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvTermCriteria, 0 | 0 );
39650 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
39656 static octave_value_list _wrap_CvANN_MLP_TrainParams_train_method_set (const octave_value_list& args, int nargout) {
39657 CvANN_MLP_TrainParams *arg1 = (CvANN_MLP_TrainParams *) 0 ;
39663 octave_value_list _out;
39664 octave_value_list *_outp=&_out;
39665 octave_value _outv;
39667 if (!SWIG_check_num_args("CvANN_MLP_TrainParams_train_method_set",args.length(),2,2,0)) {
39670 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvANN_MLP_TrainParams, 0 | 0 );
39671 if (!SWIG_IsOK(res1)) {
39672 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvANN_MLP_TrainParams_train_method_set" "', argument " "1"" of type '" "CvANN_MLP_TrainParams *""'");
39674 arg1 = (CvANN_MLP_TrainParams *)(argp1);
39675 ecode2 = SWIG_AsVal_int(args(1), &val2);
39676 if (!SWIG_IsOK(ecode2)) {
39677 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvANN_MLP_TrainParams_train_method_set" "', argument " "2"" of type '" "int""'");
39679 arg2 = (int)(val2);
39680 if (arg1) (arg1)->train_method = arg2;
39681 _outv = octave_value();
39682 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
39688 static octave_value_list _wrap_CvANN_MLP_TrainParams_train_method_get (const octave_value_list& args, int nargout) {
39689 CvANN_MLP_TrainParams *arg1 = (CvANN_MLP_TrainParams *) 0 ;
39692 octave_value_list _out;
39693 octave_value_list *_outp=&_out;
39694 octave_value _outv;
39697 if (!SWIG_check_num_args("CvANN_MLP_TrainParams_train_method_get",args.length(),1,1,0)) {
39700 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvANN_MLP_TrainParams, 0 | 0 );
39701 if (!SWIG_IsOK(res1)) {
39702 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvANN_MLP_TrainParams_train_method_get" "', argument " "1"" of type '" "CvANN_MLP_TrainParams *""'");
39704 arg1 = (CvANN_MLP_TrainParams *)(argp1);
39705 result = (int) ((arg1)->train_method);
39706 _outv = SWIG_From_int((int)(result));
39707 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
39713 static octave_value_list _wrap_CvANN_MLP_TrainParams_bp_dw_scale_set (const octave_value_list& args, int nargout) {
39714 CvANN_MLP_TrainParams *arg1 = (CvANN_MLP_TrainParams *) 0 ;
39720 octave_value_list _out;
39721 octave_value_list *_outp=&_out;
39722 octave_value _outv;
39724 if (!SWIG_check_num_args("CvANN_MLP_TrainParams_bp_dw_scale_set",args.length(),2,2,0)) {
39727 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvANN_MLP_TrainParams, 0 | 0 );
39728 if (!SWIG_IsOK(res1)) {
39729 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvANN_MLP_TrainParams_bp_dw_scale_set" "', argument " "1"" of type '" "CvANN_MLP_TrainParams *""'");
39731 arg1 = (CvANN_MLP_TrainParams *)(argp1);
39732 ecode2 = SWIG_AsVal_double(args(1), &val2);
39733 if (!SWIG_IsOK(ecode2)) {
39734 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvANN_MLP_TrainParams_bp_dw_scale_set" "', argument " "2"" of type '" "double""'");
39736 arg2 = (double)(val2);
39737 if (arg1) (arg1)->bp_dw_scale = arg2;
39738 _outv = octave_value();
39739 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
39745 static octave_value_list _wrap_CvANN_MLP_TrainParams_bp_dw_scale_get (const octave_value_list& args, int nargout) {
39746 CvANN_MLP_TrainParams *arg1 = (CvANN_MLP_TrainParams *) 0 ;
39749 octave_value_list _out;
39750 octave_value_list *_outp=&_out;
39751 octave_value _outv;
39754 if (!SWIG_check_num_args("CvANN_MLP_TrainParams_bp_dw_scale_get",args.length(),1,1,0)) {
39757 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvANN_MLP_TrainParams, 0 | 0 );
39758 if (!SWIG_IsOK(res1)) {
39759 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvANN_MLP_TrainParams_bp_dw_scale_get" "', argument " "1"" of type '" "CvANN_MLP_TrainParams *""'");
39761 arg1 = (CvANN_MLP_TrainParams *)(argp1);
39762 result = (double) ((arg1)->bp_dw_scale);
39763 _outv = SWIG_From_double((double)(result));
39764 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
39770 static octave_value_list _wrap_CvANN_MLP_TrainParams_bp_moment_scale_set (const octave_value_list& args, int nargout) {
39771 CvANN_MLP_TrainParams *arg1 = (CvANN_MLP_TrainParams *) 0 ;
39777 octave_value_list _out;
39778 octave_value_list *_outp=&_out;
39779 octave_value _outv;
39781 if (!SWIG_check_num_args("CvANN_MLP_TrainParams_bp_moment_scale_set",args.length(),2,2,0)) {
39784 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvANN_MLP_TrainParams, 0 | 0 );
39785 if (!SWIG_IsOK(res1)) {
39786 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvANN_MLP_TrainParams_bp_moment_scale_set" "', argument " "1"" of type '" "CvANN_MLP_TrainParams *""'");
39788 arg1 = (CvANN_MLP_TrainParams *)(argp1);
39789 ecode2 = SWIG_AsVal_double(args(1), &val2);
39790 if (!SWIG_IsOK(ecode2)) {
39791 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvANN_MLP_TrainParams_bp_moment_scale_set" "', argument " "2"" of type '" "double""'");
39793 arg2 = (double)(val2);
39794 if (arg1) (arg1)->bp_moment_scale = arg2;
39795 _outv = octave_value();
39796 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
39802 static octave_value_list _wrap_CvANN_MLP_TrainParams_bp_moment_scale_get (const octave_value_list& args, int nargout) {
39803 CvANN_MLP_TrainParams *arg1 = (CvANN_MLP_TrainParams *) 0 ;
39806 octave_value_list _out;
39807 octave_value_list *_outp=&_out;
39808 octave_value _outv;
39811 if (!SWIG_check_num_args("CvANN_MLP_TrainParams_bp_moment_scale_get",args.length(),1,1,0)) {
39814 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvANN_MLP_TrainParams, 0 | 0 );
39815 if (!SWIG_IsOK(res1)) {
39816 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvANN_MLP_TrainParams_bp_moment_scale_get" "', argument " "1"" of type '" "CvANN_MLP_TrainParams *""'");
39818 arg1 = (CvANN_MLP_TrainParams *)(argp1);
39819 result = (double) ((arg1)->bp_moment_scale);
39820 _outv = SWIG_From_double((double)(result));
39821 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
39827 static octave_value_list _wrap_CvANN_MLP_TrainParams_rp_dw0_set (const octave_value_list& args, int nargout) {
39828 CvANN_MLP_TrainParams *arg1 = (CvANN_MLP_TrainParams *) 0 ;
39834 octave_value_list _out;
39835 octave_value_list *_outp=&_out;
39836 octave_value _outv;
39838 if (!SWIG_check_num_args("CvANN_MLP_TrainParams_rp_dw0_set",args.length(),2,2,0)) {
39841 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvANN_MLP_TrainParams, 0 | 0 );
39842 if (!SWIG_IsOK(res1)) {
39843 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvANN_MLP_TrainParams_rp_dw0_set" "', argument " "1"" of type '" "CvANN_MLP_TrainParams *""'");
39845 arg1 = (CvANN_MLP_TrainParams *)(argp1);
39846 ecode2 = SWIG_AsVal_double(args(1), &val2);
39847 if (!SWIG_IsOK(ecode2)) {
39848 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvANN_MLP_TrainParams_rp_dw0_set" "', argument " "2"" of type '" "double""'");
39850 arg2 = (double)(val2);
39851 if (arg1) (arg1)->rp_dw0 = arg2;
39852 _outv = octave_value();
39853 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
39859 static octave_value_list _wrap_CvANN_MLP_TrainParams_rp_dw0_get (const octave_value_list& args, int nargout) {
39860 CvANN_MLP_TrainParams *arg1 = (CvANN_MLP_TrainParams *) 0 ;
39863 octave_value_list _out;
39864 octave_value_list *_outp=&_out;
39865 octave_value _outv;
39868 if (!SWIG_check_num_args("CvANN_MLP_TrainParams_rp_dw0_get",args.length(),1,1,0)) {
39871 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvANN_MLP_TrainParams, 0 | 0 );
39872 if (!SWIG_IsOK(res1)) {
39873 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvANN_MLP_TrainParams_rp_dw0_get" "', argument " "1"" of type '" "CvANN_MLP_TrainParams *""'");
39875 arg1 = (CvANN_MLP_TrainParams *)(argp1);
39876 result = (double) ((arg1)->rp_dw0);
39877 _outv = SWIG_From_double((double)(result));
39878 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
39884 static octave_value_list _wrap_CvANN_MLP_TrainParams_rp_dw_plus_set (const octave_value_list& args, int nargout) {
39885 CvANN_MLP_TrainParams *arg1 = (CvANN_MLP_TrainParams *) 0 ;
39891 octave_value_list _out;
39892 octave_value_list *_outp=&_out;
39893 octave_value _outv;
39895 if (!SWIG_check_num_args("CvANN_MLP_TrainParams_rp_dw_plus_set",args.length(),2,2,0)) {
39898 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvANN_MLP_TrainParams, 0 | 0 );
39899 if (!SWIG_IsOK(res1)) {
39900 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvANN_MLP_TrainParams_rp_dw_plus_set" "', argument " "1"" of type '" "CvANN_MLP_TrainParams *""'");
39902 arg1 = (CvANN_MLP_TrainParams *)(argp1);
39903 ecode2 = SWIG_AsVal_double(args(1), &val2);
39904 if (!SWIG_IsOK(ecode2)) {
39905 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvANN_MLP_TrainParams_rp_dw_plus_set" "', argument " "2"" of type '" "double""'");
39907 arg2 = (double)(val2);
39908 if (arg1) (arg1)->rp_dw_plus = arg2;
39909 _outv = octave_value();
39910 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
39916 static octave_value_list _wrap_CvANN_MLP_TrainParams_rp_dw_plus_get (const octave_value_list& args, int nargout) {
39917 CvANN_MLP_TrainParams *arg1 = (CvANN_MLP_TrainParams *) 0 ;
39920 octave_value_list _out;
39921 octave_value_list *_outp=&_out;
39922 octave_value _outv;
39925 if (!SWIG_check_num_args("CvANN_MLP_TrainParams_rp_dw_plus_get",args.length(),1,1,0)) {
39928 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvANN_MLP_TrainParams, 0 | 0 );
39929 if (!SWIG_IsOK(res1)) {
39930 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvANN_MLP_TrainParams_rp_dw_plus_get" "', argument " "1"" of type '" "CvANN_MLP_TrainParams *""'");
39932 arg1 = (CvANN_MLP_TrainParams *)(argp1);
39933 result = (double) ((arg1)->rp_dw_plus);
39934 _outv = SWIG_From_double((double)(result));
39935 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
39941 static octave_value_list _wrap_CvANN_MLP_TrainParams_rp_dw_minus_set (const octave_value_list& args, int nargout) {
39942 CvANN_MLP_TrainParams *arg1 = (CvANN_MLP_TrainParams *) 0 ;
39948 octave_value_list _out;
39949 octave_value_list *_outp=&_out;
39950 octave_value _outv;
39952 if (!SWIG_check_num_args("CvANN_MLP_TrainParams_rp_dw_minus_set",args.length(),2,2,0)) {
39955 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvANN_MLP_TrainParams, 0 | 0 );
39956 if (!SWIG_IsOK(res1)) {
39957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvANN_MLP_TrainParams_rp_dw_minus_set" "', argument " "1"" of type '" "CvANN_MLP_TrainParams *""'");
39959 arg1 = (CvANN_MLP_TrainParams *)(argp1);
39960 ecode2 = SWIG_AsVal_double(args(1), &val2);
39961 if (!SWIG_IsOK(ecode2)) {
39962 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvANN_MLP_TrainParams_rp_dw_minus_set" "', argument " "2"" of type '" "double""'");
39964 arg2 = (double)(val2);
39965 if (arg1) (arg1)->rp_dw_minus = arg2;
39966 _outv = octave_value();
39967 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
39973 static octave_value_list _wrap_CvANN_MLP_TrainParams_rp_dw_minus_get (const octave_value_list& args, int nargout) {
39974 CvANN_MLP_TrainParams *arg1 = (CvANN_MLP_TrainParams *) 0 ;
39977 octave_value_list _out;
39978 octave_value_list *_outp=&_out;
39979 octave_value _outv;
39982 if (!SWIG_check_num_args("CvANN_MLP_TrainParams_rp_dw_minus_get",args.length(),1,1,0)) {
39985 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvANN_MLP_TrainParams, 0 | 0 );
39986 if (!SWIG_IsOK(res1)) {
39987 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvANN_MLP_TrainParams_rp_dw_minus_get" "', argument " "1"" of type '" "CvANN_MLP_TrainParams *""'");
39989 arg1 = (CvANN_MLP_TrainParams *)(argp1);
39990 result = (double) ((arg1)->rp_dw_minus);
39991 _outv = SWIG_From_double((double)(result));
39992 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
39998 static octave_value_list _wrap_CvANN_MLP_TrainParams_rp_dw_min_set (const octave_value_list& args, int nargout) {
39999 CvANN_MLP_TrainParams *arg1 = (CvANN_MLP_TrainParams *) 0 ;
40005 octave_value_list _out;
40006 octave_value_list *_outp=&_out;
40007 octave_value _outv;
40009 if (!SWIG_check_num_args("CvANN_MLP_TrainParams_rp_dw_min_set",args.length(),2,2,0)) {
40012 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvANN_MLP_TrainParams, 0 | 0 );
40013 if (!SWIG_IsOK(res1)) {
40014 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvANN_MLP_TrainParams_rp_dw_min_set" "', argument " "1"" of type '" "CvANN_MLP_TrainParams *""'");
40016 arg1 = (CvANN_MLP_TrainParams *)(argp1);
40017 ecode2 = SWIG_AsVal_double(args(1), &val2);
40018 if (!SWIG_IsOK(ecode2)) {
40019 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvANN_MLP_TrainParams_rp_dw_min_set" "', argument " "2"" of type '" "double""'");
40021 arg2 = (double)(val2);
40022 if (arg1) (arg1)->rp_dw_min = arg2;
40023 _outv = octave_value();
40024 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
40030 static octave_value_list _wrap_CvANN_MLP_TrainParams_rp_dw_min_get (const octave_value_list& args, int nargout) {
40031 CvANN_MLP_TrainParams *arg1 = (CvANN_MLP_TrainParams *) 0 ;
40034 octave_value_list _out;
40035 octave_value_list *_outp=&_out;
40036 octave_value _outv;
40039 if (!SWIG_check_num_args("CvANN_MLP_TrainParams_rp_dw_min_get",args.length(),1,1,0)) {
40042 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvANN_MLP_TrainParams, 0 | 0 );
40043 if (!SWIG_IsOK(res1)) {
40044 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvANN_MLP_TrainParams_rp_dw_min_get" "', argument " "1"" of type '" "CvANN_MLP_TrainParams *""'");
40046 arg1 = (CvANN_MLP_TrainParams *)(argp1);
40047 result = (double) ((arg1)->rp_dw_min);
40048 _outv = SWIG_From_double((double)(result));
40049 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
40055 static octave_value_list _wrap_CvANN_MLP_TrainParams_rp_dw_max_set (const octave_value_list& args, int nargout) {
40056 CvANN_MLP_TrainParams *arg1 = (CvANN_MLP_TrainParams *) 0 ;
40062 octave_value_list _out;
40063 octave_value_list *_outp=&_out;
40064 octave_value _outv;
40066 if (!SWIG_check_num_args("CvANN_MLP_TrainParams_rp_dw_max_set",args.length(),2,2,0)) {
40069 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvANN_MLP_TrainParams, 0 | 0 );
40070 if (!SWIG_IsOK(res1)) {
40071 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvANN_MLP_TrainParams_rp_dw_max_set" "', argument " "1"" of type '" "CvANN_MLP_TrainParams *""'");
40073 arg1 = (CvANN_MLP_TrainParams *)(argp1);
40074 ecode2 = SWIG_AsVal_double(args(1), &val2);
40075 if (!SWIG_IsOK(ecode2)) {
40076 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvANN_MLP_TrainParams_rp_dw_max_set" "', argument " "2"" of type '" "double""'");
40078 arg2 = (double)(val2);
40079 if (arg1) (arg1)->rp_dw_max = arg2;
40080 _outv = octave_value();
40081 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
40087 static octave_value_list _wrap_CvANN_MLP_TrainParams_rp_dw_max_get (const octave_value_list& args, int nargout) {
40088 CvANN_MLP_TrainParams *arg1 = (CvANN_MLP_TrainParams *) 0 ;
40091 octave_value_list _out;
40092 octave_value_list *_outp=&_out;
40093 octave_value _outv;
40096 if (!SWIG_check_num_args("CvANN_MLP_TrainParams_rp_dw_max_get",args.length(),1,1,0)) {
40099 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvANN_MLP_TrainParams, 0 | 0 );
40100 if (!SWIG_IsOK(res1)) {
40101 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvANN_MLP_TrainParams_rp_dw_max_get" "', argument " "1"" of type '" "CvANN_MLP_TrainParams *""'");
40103 arg1 = (CvANN_MLP_TrainParams *)(argp1);
40104 result = (double) ((arg1)->rp_dw_max);
40105 _outv = SWIG_From_double((double)(result));
40106 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
40112 static swig_octave_member swig_CvANN_MLP_TrainParams_members[] = {
40113 {"term_crit",0,_wrap_CvANN_MLP_TrainParams_term_crit_get,_wrap_CvANN_MLP_TrainParams_term_crit_set,0,0},
40114 {"train_method",0,_wrap_CvANN_MLP_TrainParams_train_method_get,_wrap_CvANN_MLP_TrainParams_train_method_set,0,0},
40115 {"bp_dw_scale",0,_wrap_CvANN_MLP_TrainParams_bp_dw_scale_get,_wrap_CvANN_MLP_TrainParams_bp_dw_scale_set,0,0},
40116 {"bp_moment_scale",0,_wrap_CvANN_MLP_TrainParams_bp_moment_scale_get,_wrap_CvANN_MLP_TrainParams_bp_moment_scale_set,0,0},
40117 {"rp_dw0",0,_wrap_CvANN_MLP_TrainParams_rp_dw0_get,_wrap_CvANN_MLP_TrainParams_rp_dw0_set,0,0},
40118 {"rp_dw_plus",0,_wrap_CvANN_MLP_TrainParams_rp_dw_plus_get,_wrap_CvANN_MLP_TrainParams_rp_dw_plus_set,0,0},
40119 {"rp_dw_minus",0,_wrap_CvANN_MLP_TrainParams_rp_dw_minus_get,_wrap_CvANN_MLP_TrainParams_rp_dw_minus_set,0,0},
40120 {"rp_dw_min",0,_wrap_CvANN_MLP_TrainParams_rp_dw_min_get,_wrap_CvANN_MLP_TrainParams_rp_dw_min_set,0,0},
40121 {"rp_dw_max",0,_wrap_CvANN_MLP_TrainParams_rp_dw_max_get,_wrap_CvANN_MLP_TrainParams_rp_dw_max_set,0,0},
40124 static const char *swig_CvANN_MLP_TrainParams_base_names[] = {0};
40125 static const swig_type_info *swig_CvANN_MLP_TrainParams_base[] = {0};
40126 static swig_octave_class _wrap_class_CvANN_MLP_TrainParams = {"CvANN_MLP_TrainParams", &SWIGTYPE_p_CvANN_MLP_TrainParams,0,_wrap_new_CvANN_MLP_TrainParams,0,_wrap_delete_CvANN_MLP_TrainParams,swig_CvANN_MLP_TrainParams_members,swig_CvANN_MLP_TrainParams_base_names,swig_CvANN_MLP_TrainParams_base };
40128 static octave_value_list _wrap_new_CvANN_MLP__SWIG_0 (const octave_value_list& args, int nargout) {
40129 octave_value_list _out;
40130 octave_value_list *_outp=&_out;
40131 octave_value _outv;
40132 CvANN_MLP *result = 0 ;
40134 if (!SWIG_check_num_args("new_CvANN_MLP",args.length(),0,0,0)) {
40139 result = (CvANN_MLP *)new CvANN_MLP();
40146 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvANN_MLP, 1 | 0 );
40147 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
40153 static octave_value_list _wrap_new_CvANN_MLP__SWIG_1 (const octave_value_list& args, int nargout) {
40154 CvMat *arg1 = (CvMat *) 0 ;
40166 octave_value_list _out;
40167 octave_value_list *_outp=&_out;
40168 octave_value _outv;
40169 CvANN_MLP *result = 0 ;
40171 if (!SWIG_check_num_args("new_CvANN_MLP",args.length(),4,4,0)) {
40174 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvMat, 0 | 0 );
40175 if (!SWIG_IsOK(res1)) {
40176 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CvANN_MLP" "', argument " "1"" of type '" "CvMat const *""'");
40178 arg1 = (CvMat *)(argp1);
40179 ecode2 = SWIG_AsVal_int(args(1), &val2);
40180 if (!SWIG_IsOK(ecode2)) {
40181 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CvANN_MLP" "', argument " "2"" of type '" "int""'");
40183 arg2 = (int)(val2);
40184 ecode3 = SWIG_AsVal_double(args(2), &val3);
40185 if (!SWIG_IsOK(ecode3)) {
40186 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_CvANN_MLP" "', argument " "3"" of type '" "double""'");
40188 arg3 = (double)(val3);
40189 ecode4 = SWIG_AsVal_double(args(3), &val4);
40190 if (!SWIG_IsOK(ecode4)) {
40191 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_CvANN_MLP" "', argument " "4"" of type '" "double""'");
40193 arg4 = (double)(val4);
40196 result = (CvANN_MLP *)new CvANN_MLP((CvMat const *)arg1,arg2,arg3,arg4);
40203 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvANN_MLP, 1 | 0 );
40204 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
40210 static octave_value_list _wrap_new_CvANN_MLP__SWIG_2 (const octave_value_list& args, int nargout) {
40211 CvMat *arg1 = (CvMat *) 0 ;
40220 octave_value_list _out;
40221 octave_value_list *_outp=&_out;
40222 octave_value _outv;
40223 CvANN_MLP *result = 0 ;
40225 if (!SWIG_check_num_args("new_CvANN_MLP",args.length(),3,3,0)) {
40228 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvMat, 0 | 0 );
40229 if (!SWIG_IsOK(res1)) {
40230 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CvANN_MLP" "', argument " "1"" of type '" "CvMat const *""'");
40232 arg1 = (CvMat *)(argp1);
40233 ecode2 = SWIG_AsVal_int(args(1), &val2);
40234 if (!SWIG_IsOK(ecode2)) {
40235 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CvANN_MLP" "', argument " "2"" of type '" "int""'");
40237 arg2 = (int)(val2);
40238 ecode3 = SWIG_AsVal_double(args(2), &val3);
40239 if (!SWIG_IsOK(ecode3)) {
40240 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_CvANN_MLP" "', argument " "3"" of type '" "double""'");
40242 arg3 = (double)(val3);
40245 result = (CvANN_MLP *)new CvANN_MLP((CvMat const *)arg1,arg2,arg3);
40252 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvANN_MLP, 1 | 0 );
40253 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
40259 static octave_value_list _wrap_new_CvANN_MLP__SWIG_3 (const octave_value_list& args, int nargout) {
40260 CvMat *arg1 = (CvMat *) 0 ;
40266 octave_value_list _out;
40267 octave_value_list *_outp=&_out;
40268 octave_value _outv;
40269 CvANN_MLP *result = 0 ;
40271 if (!SWIG_check_num_args("new_CvANN_MLP",args.length(),2,2,0)) {
40274 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvMat, 0 | 0 );
40275 if (!SWIG_IsOK(res1)) {
40276 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CvANN_MLP" "', argument " "1"" of type '" "CvMat const *""'");
40278 arg1 = (CvMat *)(argp1);
40279 ecode2 = SWIG_AsVal_int(args(1), &val2);
40280 if (!SWIG_IsOK(ecode2)) {
40281 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CvANN_MLP" "', argument " "2"" of type '" "int""'");
40283 arg2 = (int)(val2);
40286 result = (CvANN_MLP *)new CvANN_MLP((CvMat const *)arg1,arg2);
40293 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvANN_MLP, 1 | 0 );
40294 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
40300 static octave_value_list _wrap_new_CvANN_MLP__SWIG_4 (const octave_value_list& args, int nargout) {
40301 CvMat *arg1 = (CvMat *) 0 ;
40304 octave_value_list _out;
40305 octave_value_list *_outp=&_out;
40306 octave_value _outv;
40307 CvANN_MLP *result = 0 ;
40309 if (!SWIG_check_num_args("new_CvANN_MLP",args.length(),1,1,0)) {
40312 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvMat, 0 | 0 );
40313 if (!SWIG_IsOK(res1)) {
40314 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CvANN_MLP" "', argument " "1"" of type '" "CvMat const *""'");
40316 arg1 = (CvMat *)(argp1);
40319 result = (CvANN_MLP *)new CvANN_MLP((CvMat const *)arg1);
40326 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvANN_MLP, 1 | 0 );
40327 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
40333 static octave_value_list _wrap_new_CvANN_MLP (const octave_value_list& args, int nargout) {
40334 int argc = args.length();
40335 octave_value_ref argv[4]={
40336 octave_value_ref(args,0),octave_value_ref(args,1),octave_value_ref(args,2),octave_value_ref(args,3)
40340 return _wrap_new_CvANN_MLP__SWIG_0(args, nargout);
40345 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvMat, 0);
40346 _v = SWIG_CheckState(res);
40348 return _wrap_new_CvANN_MLP__SWIG_4(args, nargout);
40354 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvMat, 0);
40355 _v = SWIG_CheckState(res);
40358 int res = SWIG_AsVal_int(argv[1], NULL);
40359 _v = SWIG_CheckState(res);
40362 return _wrap_new_CvANN_MLP__SWIG_3(args, nargout);
40369 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvMat, 0);
40370 _v = SWIG_CheckState(res);
40373 int res = SWIG_AsVal_int(argv[1], NULL);
40374 _v = SWIG_CheckState(res);
40378 int res = SWIG_AsVal_double(argv[2], NULL);
40379 _v = SWIG_CheckState(res);
40382 return _wrap_new_CvANN_MLP__SWIG_2(args, nargout);
40390 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvMat, 0);
40391 _v = SWIG_CheckState(res);
40394 int res = SWIG_AsVal_int(argv[1], NULL);
40395 _v = SWIG_CheckState(res);
40399 int res = SWIG_AsVal_double(argv[2], NULL);
40400 _v = SWIG_CheckState(res);
40404 int res = SWIG_AsVal_double(argv[3], NULL);
40405 _v = SWIG_CheckState(res);
40408 return _wrap_new_CvANN_MLP__SWIG_1(args, nargout);
40415 error("No matching function for overload");
40416 return octave_value_list();
40420 static octave_value_list _wrap_delete_CvANN_MLP (const octave_value_list& args, int nargout) {
40421 CvANN_MLP *arg1 = (CvANN_MLP *) 0 ;
40424 octave_value_list _out;
40425 octave_value_list *_outp=&_out;
40426 octave_value _outv;
40428 if (!SWIG_check_num_args("delete_CvANN_MLP",args.length(),1,1,0)) {
40431 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvANN_MLP, SWIG_POINTER_DISOWN | 0 );
40432 if (!SWIG_IsOK(res1)) {
40433 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CvANN_MLP" "', argument " "1"" of type '" "CvANN_MLP *""'");
40435 arg1 = (CvANN_MLP *)(argp1);
40445 _outv = octave_value();
40446 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
40452 static octave_value_list _wrap_CvANN_MLP_create__SWIG_0 (const octave_value_list& args, int nargout) {
40453 CvANN_MLP *arg1 = (CvANN_MLP *) 0 ;
40454 CvMat *arg2 = (CvMat *) 0 ;
40468 octave_value_list _out;
40469 octave_value_list *_outp=&_out;
40470 octave_value _outv;
40472 if (!SWIG_check_num_args("CvANN_MLP_create",args.length(),5,5,0)) {
40475 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvANN_MLP, 0 | 0 );
40476 if (!SWIG_IsOK(res1)) {
40477 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvANN_MLP_create" "', argument " "1"" of type '" "CvANN_MLP *""'");
40479 arg1 = (CvANN_MLP *)(argp1);
40480 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
40481 if (!SWIG_IsOK(res2)) {
40482 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvANN_MLP_create" "', argument " "2"" of type '" "CvMat const *""'");
40484 arg2 = (CvMat *)(argp2);
40485 ecode3 = SWIG_AsVal_int(args(2), &val3);
40486 if (!SWIG_IsOK(ecode3)) {
40487 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvANN_MLP_create" "', argument " "3"" of type '" "int""'");
40489 arg3 = (int)(val3);
40490 ecode4 = SWIG_AsVal_double(args(3), &val4);
40491 if (!SWIG_IsOK(ecode4)) {
40492 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "CvANN_MLP_create" "', argument " "4"" of type '" "double""'");
40494 arg4 = (double)(val4);
40495 ecode5 = SWIG_AsVal_double(args(4), &val5);
40496 if (!SWIG_IsOK(ecode5)) {
40497 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "CvANN_MLP_create" "', argument " "5"" of type '" "double""'");
40499 arg5 = (double)(val5);
40502 (arg1)->create((CvMat const *)arg2,arg3,arg4,arg5);
40509 _outv = octave_value();
40510 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
40516 static octave_value_list _wrap_CvANN_MLP_create__SWIG_1 (const octave_value_list& args, int nargout) {
40517 CvANN_MLP *arg1 = (CvANN_MLP *) 0 ;
40518 CvMat *arg2 = (CvMat *) 0 ;
40529 octave_value_list _out;
40530 octave_value_list *_outp=&_out;
40531 octave_value _outv;
40533 if (!SWIG_check_num_args("CvANN_MLP_create",args.length(),4,4,0)) {
40536 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvANN_MLP, 0 | 0 );
40537 if (!SWIG_IsOK(res1)) {
40538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvANN_MLP_create" "', argument " "1"" of type '" "CvANN_MLP *""'");
40540 arg1 = (CvANN_MLP *)(argp1);
40541 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
40542 if (!SWIG_IsOK(res2)) {
40543 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvANN_MLP_create" "', argument " "2"" of type '" "CvMat const *""'");
40545 arg2 = (CvMat *)(argp2);
40546 ecode3 = SWIG_AsVal_int(args(2), &val3);
40547 if (!SWIG_IsOK(ecode3)) {
40548 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvANN_MLP_create" "', argument " "3"" of type '" "int""'");
40550 arg3 = (int)(val3);
40551 ecode4 = SWIG_AsVal_double(args(3), &val4);
40552 if (!SWIG_IsOK(ecode4)) {
40553 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "CvANN_MLP_create" "', argument " "4"" of type '" "double""'");
40555 arg4 = (double)(val4);
40558 (arg1)->create((CvMat const *)arg2,arg3,arg4);
40565 _outv = octave_value();
40566 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
40572 static octave_value_list _wrap_CvANN_MLP_create__SWIG_2 (const octave_value_list& args, int nargout) {
40573 CvANN_MLP *arg1 = (CvANN_MLP *) 0 ;
40574 CvMat *arg2 = (CvMat *) 0 ;
40582 octave_value_list _out;
40583 octave_value_list *_outp=&_out;
40584 octave_value _outv;
40586 if (!SWIG_check_num_args("CvANN_MLP_create",args.length(),3,3,0)) {
40589 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvANN_MLP, 0 | 0 );
40590 if (!SWIG_IsOK(res1)) {
40591 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvANN_MLP_create" "', argument " "1"" of type '" "CvANN_MLP *""'");
40593 arg1 = (CvANN_MLP *)(argp1);
40594 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
40595 if (!SWIG_IsOK(res2)) {
40596 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvANN_MLP_create" "', argument " "2"" of type '" "CvMat const *""'");
40598 arg2 = (CvMat *)(argp2);
40599 ecode3 = SWIG_AsVal_int(args(2), &val3);
40600 if (!SWIG_IsOK(ecode3)) {
40601 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvANN_MLP_create" "', argument " "3"" of type '" "int""'");
40603 arg3 = (int)(val3);
40606 (arg1)->create((CvMat const *)arg2,arg3);
40613 _outv = octave_value();
40614 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
40620 static octave_value_list _wrap_CvANN_MLP_create__SWIG_3 (const octave_value_list& args, int nargout) {
40621 CvANN_MLP *arg1 = (CvANN_MLP *) 0 ;
40622 CvMat *arg2 = (CvMat *) 0 ;
40627 octave_value_list _out;
40628 octave_value_list *_outp=&_out;
40629 octave_value _outv;
40631 if (!SWIG_check_num_args("CvANN_MLP_create",args.length(),2,2,0)) {
40634 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvANN_MLP, 0 | 0 );
40635 if (!SWIG_IsOK(res1)) {
40636 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvANN_MLP_create" "', argument " "1"" of type '" "CvANN_MLP *""'");
40638 arg1 = (CvANN_MLP *)(argp1);
40639 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
40640 if (!SWIG_IsOK(res2)) {
40641 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvANN_MLP_create" "', argument " "2"" of type '" "CvMat const *""'");
40643 arg2 = (CvMat *)(argp2);
40646 (arg1)->create((CvMat const *)arg2);
40653 _outv = octave_value();
40654 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
40660 static octave_value_list _wrap_CvANN_MLP_create (const octave_value_list& args, int nargout) {
40661 int argc = args.length();
40662 octave_value_ref argv[5]={
40663 octave_value_ref(args,0),octave_value_ref(args,1),octave_value_ref(args,2),octave_value_ref(args,3),octave_value_ref(args,4)
40669 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvANN_MLP, 0);
40670 _v = SWIG_CheckState(res);
40673 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
40674 _v = SWIG_CheckState(res);
40676 return _wrap_CvANN_MLP_create__SWIG_3(args, nargout);
40683 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvANN_MLP, 0);
40684 _v = SWIG_CheckState(res);
40687 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
40688 _v = SWIG_CheckState(res);
40691 int res = SWIG_AsVal_int(argv[2], NULL);
40692 _v = SWIG_CheckState(res);
40695 return _wrap_CvANN_MLP_create__SWIG_2(args, nargout);
40703 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvANN_MLP, 0);
40704 _v = SWIG_CheckState(res);
40707 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
40708 _v = SWIG_CheckState(res);
40711 int res = SWIG_AsVal_int(argv[2], NULL);
40712 _v = SWIG_CheckState(res);
40716 int res = SWIG_AsVal_double(argv[3], NULL);
40717 _v = SWIG_CheckState(res);
40720 return _wrap_CvANN_MLP_create__SWIG_1(args, nargout);
40729 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvANN_MLP, 0);
40730 _v = SWIG_CheckState(res);
40733 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
40734 _v = SWIG_CheckState(res);
40737 int res = SWIG_AsVal_int(argv[2], NULL);
40738 _v = SWIG_CheckState(res);
40742 int res = SWIG_AsVal_double(argv[3], NULL);
40743 _v = SWIG_CheckState(res);
40747 int res = SWIG_AsVal_double(argv[4], NULL);
40748 _v = SWIG_CheckState(res);
40751 return _wrap_CvANN_MLP_create__SWIG_0(args, nargout);
40759 error("No matching function for overload");
40760 return octave_value_list();
40764 static octave_value_list _wrap_CvANN_MLP_train__SWIG_0 (const octave_value_list& args, int nargout) {
40765 CvANN_MLP *arg1 = (CvANN_MLP *) 0 ;
40766 CvMat *arg2 = (CvMat *) 0 ;
40767 CvMat *arg3 = (CvMat *) 0 ;
40768 CvMat *arg4 = (CvMat *) 0 ;
40769 CvMat *arg5 = (CvMat *) 0 ;
40770 CvANN_MLP_TrainParams arg6 ;
40786 octave_value_list _out;
40787 octave_value_list *_outp=&_out;
40788 octave_value _outv;
40791 if (!SWIG_check_num_args("CvANN_MLP_train",args.length(),7,7,0)) {
40794 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvANN_MLP, 0 | 0 );
40795 if (!SWIG_IsOK(res1)) {
40796 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvANN_MLP_train" "', argument " "1"" of type '" "CvANN_MLP *""'");
40798 arg1 = (CvANN_MLP *)(argp1);
40799 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
40800 if (!SWIG_IsOK(res2)) {
40801 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvANN_MLP_train" "', argument " "2"" of type '" "CvMat const *""'");
40803 arg2 = (CvMat *)(argp2);
40804 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvMat, 0 | 0 );
40805 if (!SWIG_IsOK(res3)) {
40806 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvANN_MLP_train" "', argument " "3"" of type '" "CvMat const *""'");
40808 arg3 = (CvMat *)(argp3);
40809 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
40810 if (!SWIG_IsOK(res4)) {
40811 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvANN_MLP_train" "', argument " "4"" of type '" "CvMat const *""'");
40813 arg4 = (CvMat *)(argp4);
40814 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
40815 if (!SWIG_IsOK(res5)) {
40816 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvANN_MLP_train" "', argument " "5"" of type '" "CvMat const *""'");
40818 arg5 = (CvMat *)(argp5);
40820 res6 = SWIG_ConvertPtr(args(5), &argp6, SWIGTYPE_p_CvANN_MLP_TrainParams, 0 );
40821 if (!SWIG_IsOK(res6)) {
40822 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "CvANN_MLP_train" "', argument " "6"" of type '" "CvANN_MLP_TrainParams""'");
40825 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvANN_MLP_train" "', argument " "6"" of type '" "CvANN_MLP_TrainParams""'");
40827 arg6 = *((CvANN_MLP_TrainParams *)(argp6));
40830 ecode7 = SWIG_AsVal_int(args(6), &val7);
40831 if (!SWIG_IsOK(ecode7)) {
40832 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "CvANN_MLP_train" "', argument " "7"" of type '" "int""'");
40834 arg7 = (int)(val7);
40837 result = (int)(arg1)->train((CvMat const *)arg2,(CvMat const *)arg3,(CvMat const *)arg4,(CvMat const *)arg5,arg6,arg7);
40844 _outv = SWIG_From_int((int)(result));
40845 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
40851 static octave_value_list _wrap_CvANN_MLP_train__SWIG_1 (const octave_value_list& args, int nargout) {
40852 CvANN_MLP *arg1 = (CvANN_MLP *) 0 ;
40853 CvMat *arg2 = (CvMat *) 0 ;
40854 CvMat *arg3 = (CvMat *) 0 ;
40855 CvMat *arg4 = (CvMat *) 0 ;
40856 CvMat *arg5 = (CvMat *) 0 ;
40857 CvANN_MLP_TrainParams arg6 ;
40870 octave_value_list _out;
40871 octave_value_list *_outp=&_out;
40872 octave_value _outv;
40875 if (!SWIG_check_num_args("CvANN_MLP_train",args.length(),6,6,0)) {
40878 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvANN_MLP, 0 | 0 );
40879 if (!SWIG_IsOK(res1)) {
40880 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvANN_MLP_train" "', argument " "1"" of type '" "CvANN_MLP *""'");
40882 arg1 = (CvANN_MLP *)(argp1);
40883 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
40884 if (!SWIG_IsOK(res2)) {
40885 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvANN_MLP_train" "', argument " "2"" of type '" "CvMat const *""'");
40887 arg2 = (CvMat *)(argp2);
40888 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvMat, 0 | 0 );
40889 if (!SWIG_IsOK(res3)) {
40890 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvANN_MLP_train" "', argument " "3"" of type '" "CvMat const *""'");
40892 arg3 = (CvMat *)(argp3);
40893 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
40894 if (!SWIG_IsOK(res4)) {
40895 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvANN_MLP_train" "', argument " "4"" of type '" "CvMat const *""'");
40897 arg4 = (CvMat *)(argp4);
40898 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
40899 if (!SWIG_IsOK(res5)) {
40900 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvANN_MLP_train" "', argument " "5"" of type '" "CvMat const *""'");
40902 arg5 = (CvMat *)(argp5);
40904 res6 = SWIG_ConvertPtr(args(5), &argp6, SWIGTYPE_p_CvANN_MLP_TrainParams, 0 );
40905 if (!SWIG_IsOK(res6)) {
40906 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "CvANN_MLP_train" "', argument " "6"" of type '" "CvANN_MLP_TrainParams""'");
40909 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CvANN_MLP_train" "', argument " "6"" of type '" "CvANN_MLP_TrainParams""'");
40911 arg6 = *((CvANN_MLP_TrainParams *)(argp6));
40916 result = (int)(arg1)->train((CvMat const *)arg2,(CvMat const *)arg3,(CvMat const *)arg4,(CvMat const *)arg5,arg6);
40923 _outv = SWIG_From_int((int)(result));
40924 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
40930 static octave_value_list _wrap_CvANN_MLP_train__SWIG_2 (const octave_value_list& args, int nargout) {
40931 CvANN_MLP *arg1 = (CvANN_MLP *) 0 ;
40932 CvMat *arg2 = (CvMat *) 0 ;
40933 CvMat *arg3 = (CvMat *) 0 ;
40934 CvMat *arg4 = (CvMat *) 0 ;
40935 CvMat *arg5 = (CvMat *) 0 ;
40946 octave_value_list _out;
40947 octave_value_list *_outp=&_out;
40948 octave_value _outv;
40951 if (!SWIG_check_num_args("CvANN_MLP_train",args.length(),5,5,0)) {
40954 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvANN_MLP, 0 | 0 );
40955 if (!SWIG_IsOK(res1)) {
40956 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvANN_MLP_train" "', argument " "1"" of type '" "CvANN_MLP *""'");
40958 arg1 = (CvANN_MLP *)(argp1);
40959 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
40960 if (!SWIG_IsOK(res2)) {
40961 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvANN_MLP_train" "', argument " "2"" of type '" "CvMat const *""'");
40963 arg2 = (CvMat *)(argp2);
40964 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvMat, 0 | 0 );
40965 if (!SWIG_IsOK(res3)) {
40966 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvANN_MLP_train" "', argument " "3"" of type '" "CvMat const *""'");
40968 arg3 = (CvMat *)(argp3);
40969 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
40970 if (!SWIG_IsOK(res4)) {
40971 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvANN_MLP_train" "', argument " "4"" of type '" "CvMat const *""'");
40973 arg4 = (CvMat *)(argp4);
40974 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
40975 if (!SWIG_IsOK(res5)) {
40976 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CvANN_MLP_train" "', argument " "5"" of type '" "CvMat const *""'");
40978 arg5 = (CvMat *)(argp5);
40981 result = (int)(arg1)->train((CvMat const *)arg2,(CvMat const *)arg3,(CvMat const *)arg4,(CvMat const *)arg5);
40988 _outv = SWIG_From_int((int)(result));
40989 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
40995 static octave_value_list _wrap_CvANN_MLP_train__SWIG_3 (const octave_value_list& args, int nargout) {
40996 CvANN_MLP *arg1 = (CvANN_MLP *) 0 ;
40997 CvMat *arg2 = (CvMat *) 0 ;
40998 CvMat *arg3 = (CvMat *) 0 ;
40999 CvMat *arg4 = (CvMat *) 0 ;
41008 octave_value_list _out;
41009 octave_value_list *_outp=&_out;
41010 octave_value _outv;
41013 if (!SWIG_check_num_args("CvANN_MLP_train",args.length(),4,4,0)) {
41016 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvANN_MLP, 0 | 0 );
41017 if (!SWIG_IsOK(res1)) {
41018 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvANN_MLP_train" "', argument " "1"" of type '" "CvANN_MLP *""'");
41020 arg1 = (CvANN_MLP *)(argp1);
41021 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
41022 if (!SWIG_IsOK(res2)) {
41023 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvANN_MLP_train" "', argument " "2"" of type '" "CvMat const *""'");
41025 arg2 = (CvMat *)(argp2);
41026 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvMat, 0 | 0 );
41027 if (!SWIG_IsOK(res3)) {
41028 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvANN_MLP_train" "', argument " "3"" of type '" "CvMat const *""'");
41030 arg3 = (CvMat *)(argp3);
41031 res4 = SWIG_ConvertPtr(args(3), &argp4,SWIGTYPE_p_CvMat, 0 | 0 );
41032 if (!SWIG_IsOK(res4)) {
41033 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CvANN_MLP_train" "', argument " "4"" of type '" "CvMat const *""'");
41035 arg4 = (CvMat *)(argp4);
41038 result = (int)(arg1)->train((CvMat const *)arg2,(CvMat const *)arg3,(CvMat const *)arg4);
41045 _outv = SWIG_From_int((int)(result));
41046 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
41052 static octave_value_list _wrap_CvANN_MLP_train (const octave_value_list& args, int nargout) {
41053 int argc = args.length();
41054 octave_value_ref argv[7]={
41055 octave_value_ref(args,0),octave_value_ref(args,1),octave_value_ref(args,2),octave_value_ref(args,3),octave_value_ref(args,4),octave_value_ref(args,5),octave_value_ref(args,6)
41061 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvANN_MLP, 0);
41062 _v = SWIG_CheckState(res);
41065 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
41066 _v = SWIG_CheckState(res);
41069 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvMat, 0);
41070 _v = SWIG_CheckState(res);
41073 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
41074 _v = SWIG_CheckState(res);
41076 return _wrap_CvANN_MLP_train__SWIG_3(args, nargout);
41085 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvANN_MLP, 0);
41086 _v = SWIG_CheckState(res);
41089 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
41090 _v = SWIG_CheckState(res);
41093 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvMat, 0);
41094 _v = SWIG_CheckState(res);
41097 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
41098 _v = SWIG_CheckState(res);
41101 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvMat, 0);
41102 _v = SWIG_CheckState(res);
41104 return _wrap_CvANN_MLP_train__SWIG_2(args, nargout);
41114 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvANN_MLP, 0);
41115 _v = SWIG_CheckState(res);
41118 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
41119 _v = SWIG_CheckState(res);
41122 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvMat, 0);
41123 _v = SWIG_CheckState(res);
41126 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
41127 _v = SWIG_CheckState(res);
41130 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvMat, 0);
41131 _v = SWIG_CheckState(res);
41134 int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_CvANN_MLP_TrainParams, 0);
41135 _v = SWIG_CheckState(res);
41137 return _wrap_CvANN_MLP_train__SWIG_1(args, nargout);
41148 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CvANN_MLP, 0);
41149 _v = SWIG_CheckState(res);
41152 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_CvMat, 0);
41153 _v = SWIG_CheckState(res);
41156 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_CvMat, 0);
41157 _v = SWIG_CheckState(res);
41160 int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_CvMat, 0);
41161 _v = SWIG_CheckState(res);
41164 int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_CvMat, 0);
41165 _v = SWIG_CheckState(res);
41168 int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_CvANN_MLP_TrainParams, 0);
41169 _v = SWIG_CheckState(res);
41172 int res = SWIG_AsVal_int(argv[6], NULL);
41173 _v = SWIG_CheckState(res);
41176 return _wrap_CvANN_MLP_train__SWIG_0(args, nargout);
41186 error("No matching function for overload");
41187 return octave_value_list();
41191 static octave_value_list _wrap_CvANN_MLP_predict (const octave_value_list& args, int nargout) {
41192 CvANN_MLP *arg1 = (CvANN_MLP *) 0 ;
41193 CvMat *arg2 = (CvMat *) 0 ;
41194 CvMat *arg3 = (CvMat *) 0 ;
41201 octave_value_list _out;
41202 octave_value_list *_outp=&_out;
41203 octave_value _outv;
41206 if (!SWIG_check_num_args("CvANN_MLP_predict",args.length(),3,3,0)) {
41209 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvANN_MLP, 0 | 0 );
41210 if (!SWIG_IsOK(res1)) {
41211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvANN_MLP_predict" "', argument " "1"" of type '" "CvANN_MLP const *""'");
41213 arg1 = (CvANN_MLP *)(argp1);
41214 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
41215 if (!SWIG_IsOK(res2)) {
41216 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvANN_MLP_predict" "', argument " "2"" of type '" "CvMat const *""'");
41218 arg2 = (CvMat *)(argp2);
41219 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvMat, 0 | 0 );
41220 if (!SWIG_IsOK(res3)) {
41221 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvANN_MLP_predict" "', argument " "3"" of type '" "CvMat *""'");
41223 arg3 = (CvMat *)(argp3);
41226 result = (float)((CvANN_MLP const *)arg1)->predict((CvMat const *)arg2,arg3);
41233 _outv = SWIG_From_float((float)(result));
41234 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
41240 static octave_value_list _wrap_CvANN_MLP_clear (const octave_value_list& args, int nargout) {
41241 CvANN_MLP *arg1 = (CvANN_MLP *) 0 ;
41244 octave_value_list _out;
41245 octave_value_list *_outp=&_out;
41246 octave_value _outv;
41248 if (!SWIG_check_num_args("CvANN_MLP_clear",args.length(),1,1,0)) {
41251 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvANN_MLP, 0 | 0 );
41252 if (!SWIG_IsOK(res1)) {
41253 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvANN_MLP_clear" "', argument " "1"" of type '" "CvANN_MLP *""'");
41255 arg1 = (CvANN_MLP *)(argp1);
41265 _outv = octave_value();
41266 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
41272 static octave_value_list _wrap_CvANN_MLP_read (const octave_value_list& args, int nargout) {
41273 CvANN_MLP *arg1 = (CvANN_MLP *) 0 ;
41274 CvFileStorage *arg2 = (CvFileStorage *) 0 ;
41275 CvFileNode *arg3 = (CvFileNode *) 0 ;
41282 octave_value_list _out;
41283 octave_value_list *_outp=&_out;
41284 octave_value _outv;
41286 if (!SWIG_check_num_args("CvANN_MLP_read",args.length(),3,3,0)) {
41289 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvANN_MLP, 0 | 0 );
41290 if (!SWIG_IsOK(res1)) {
41291 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvANN_MLP_read" "', argument " "1"" of type '" "CvANN_MLP *""'");
41293 arg1 = (CvANN_MLP *)(argp1);
41294 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvFileStorage, 0 | 0 );
41295 if (!SWIG_IsOK(res2)) {
41296 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvANN_MLP_read" "', argument " "2"" of type '" "CvFileStorage *""'");
41298 arg2 = (CvFileStorage *)(argp2);
41299 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvFileNode, 0 | 0 );
41300 if (!SWIG_IsOK(res3)) {
41301 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvANN_MLP_read" "', argument " "3"" of type '" "CvFileNode *""'");
41303 arg3 = (CvFileNode *)(argp3);
41306 (arg1)->read(arg2,arg3);
41313 _outv = octave_value();
41314 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
41320 static octave_value_list _wrap_CvANN_MLP_write (const octave_value_list& args, int nargout) {
41321 CvANN_MLP *arg1 = (CvANN_MLP *) 0 ;
41322 CvFileStorage *arg2 = (CvFileStorage *) 0 ;
41323 char *arg3 = (char *) 0 ;
41331 octave_value_list _out;
41332 octave_value_list *_outp=&_out;
41333 octave_value _outv;
41335 if (!SWIG_check_num_args("CvANN_MLP_write",args.length(),3,3,0)) {
41338 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvANN_MLP, 0 | 0 );
41339 if (!SWIG_IsOK(res1)) {
41340 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvANN_MLP_write" "', argument " "1"" of type '" "CvANN_MLP const *""'");
41342 arg1 = (CvANN_MLP *)(argp1);
41343 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvFileStorage, 0 | 0 );
41344 if (!SWIG_IsOK(res2)) {
41345 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvANN_MLP_write" "', argument " "2"" of type '" "CvFileStorage *""'");
41347 arg2 = (CvFileStorage *)(argp2);
41348 res3 = SWIG_AsCharPtrAndSize(args(2), &buf3, NULL, &alloc3);
41349 if (!SWIG_IsOK(res3)) {
41350 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CvANN_MLP_write" "', argument " "3"" of type '" "char const *""'");
41352 arg3 = (char *)(buf3);
41355 ((CvANN_MLP const *)arg1)->write(arg2,(char const *)arg3);
41362 _outv = octave_value();
41363 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
41364 if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
41370 static octave_value_list _wrap_CvANN_MLP_get_layer_count (const octave_value_list& args, int nargout) {
41371 CvANN_MLP *arg1 = (CvANN_MLP *) 0 ;
41374 octave_value_list _out;
41375 octave_value_list *_outp=&_out;
41376 octave_value _outv;
41379 if (!SWIG_check_num_args("CvANN_MLP_get_layer_count",args.length(),1,1,0)) {
41382 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvANN_MLP, 0 | 0 );
41383 if (!SWIG_IsOK(res1)) {
41384 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvANN_MLP_get_layer_count" "', argument " "1"" of type '" "CvANN_MLP *""'");
41386 arg1 = (CvANN_MLP *)(argp1);
41389 result = (int)(arg1)->get_layer_count();
41396 _outv = SWIG_From_int((int)(result));
41397 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
41403 static octave_value_list _wrap_CvANN_MLP_get_layer_sizes (const octave_value_list& args, int nargout) {
41404 CvANN_MLP *arg1 = (CvANN_MLP *) 0 ;
41407 octave_value_list _out;
41408 octave_value_list *_outp=&_out;
41409 octave_value _outv;
41410 CvMat *result = 0 ;
41412 if (!SWIG_check_num_args("CvANN_MLP_get_layer_sizes",args.length(),1,1,0)) {
41415 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvANN_MLP, 0 | 0 );
41416 if (!SWIG_IsOK(res1)) {
41417 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvANN_MLP_get_layer_sizes" "', argument " "1"" of type '" "CvANN_MLP *""'");
41419 arg1 = (CvANN_MLP *)(argp1);
41422 result = (CvMat *)(arg1)->get_layer_sizes();
41429 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvMat, 0 | 0 );
41430 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
41436 static octave_value_list _wrap_CvANN_MLP_get_weights (const octave_value_list& args, int nargout) {
41437 CvANN_MLP *arg1 = (CvANN_MLP *) 0 ;
41443 octave_value_list _out;
41444 octave_value_list *_outp=&_out;
41445 octave_value _outv;
41446 double *result = 0 ;
41448 if (!SWIG_check_num_args("CvANN_MLP_get_weights",args.length(),2,2,0)) {
41451 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvANN_MLP, 0 | 0 );
41452 if (!SWIG_IsOK(res1)) {
41453 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvANN_MLP_get_weights" "', argument " "1"" of type '" "CvANN_MLP *""'");
41455 arg1 = (CvANN_MLP *)(argp1);
41456 ecode2 = SWIG_AsVal_int(args(1), &val2);
41457 if (!SWIG_IsOK(ecode2)) {
41458 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvANN_MLP_get_weights" "', argument " "2"" of type '" "int""'");
41460 arg2 = (int)(val2);
41463 result = (double *)(arg1)->get_weights(arg2);
41470 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0 );
41471 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
41477 static swig_octave_member swig_CvANN_MLP_members[] = {
41478 {"create",_wrap_CvANN_MLP_create,0,0,0,0},
41479 {"train",_wrap_CvANN_MLP_train,0,0,0,0},
41480 {"predict",_wrap_CvANN_MLP_predict,0,0,0,0},
41481 {"clear",_wrap_CvANN_MLP_clear,0,0,0,0},
41482 {"read",_wrap_CvANN_MLP_read,0,0,0,0},
41483 {"write",_wrap_CvANN_MLP_write,0,0,0,0},
41484 {"get_layer_count",_wrap_CvANN_MLP_get_layer_count,0,0,0,0},
41485 {"get_layer_sizes",_wrap_CvANN_MLP_get_layer_sizes,0,0,0,0},
41486 {"get_weights",_wrap_CvANN_MLP_get_weights,0,0,0,0},
41489 static const char *swig_CvANN_MLP_base_names[] = {"_p_CvStatModel",0};
41490 static const swig_type_info *swig_CvANN_MLP_base[] = {0,0};
41491 static swig_octave_class _wrap_class_CvANN_MLP = {"CvANN_MLP", &SWIGTYPE_p_CvANN_MLP,0,_wrap_new_CvANN_MLP,0,_wrap_delete_CvANN_MLP,swig_CvANN_MLP_members,swig_CvANN_MLP_base_names,swig_CvANN_MLP_base };
41493 static octave_value_list _wrap_cvRandMVNormal (const octave_value_list& args, int nargout) {
41494 CvMat *arg1 = (CvMat *) 0 ;
41495 CvMat *arg2 = (CvMat *) 0 ;
41496 CvMat *arg3 = (CvMat *) 0 ;
41497 CvRNG *arg4 = (CvRNG *) 0 ;
41505 CvRNG_Wrapper *wrapper4 ;
41506 octave_value_list _out;
41507 octave_value_list *_outp=&_out;
41508 octave_value _outv;
41510 if (!SWIG_check_num_args("cvRandMVNormal",args.length(),4,3,0)) {
41513 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvMat, 0 | 0 );
41514 if (!SWIG_IsOK(res1)) {
41515 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "cvRandMVNormal" "', argument " "1"" of type '" "CvMat *""'");
41517 arg1 = (CvMat *)(argp1);
41518 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvMat, 0 | 0 );
41519 if (!SWIG_IsOK(res2)) {
41520 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "cvRandMVNormal" "', argument " "2"" of type '" "CvMat *""'");
41522 arg2 = (CvMat *)(argp2);
41523 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_CvMat, 0 | 0 );
41524 if (!SWIG_IsOK(res3)) {
41525 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "cvRandMVNormal" "', argument " "3"" of type '" "CvMat *""'");
41527 arg3 = (CvMat *)(argp3);
41528 if (3<args.length()) {
41530 if(SWIG_ConvertPtr(args(3), &vptr4, SWIGTYPE_p_CvRNG_Wrapper, 0)==-1){
41531 SWIG_exception( SWIG_TypeError, "could not convert Octave object to C value");
41534 wrapper4 = (CvRNG_Wrapper *) vptr4;
41535 arg4 = wrapper4->ptr();
41540 cvRandMVNormal(arg1,arg2,arg3,arg4);
41547 _outv = octave_value();
41548 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
41554 static octave_value_list _wrap_cvRandGaussMixture (const octave_value_list& args, int nargout) {
41559 CvMat *arg5 = (CvMat *) 0 ;
41560 CvMat *arg6 = (CvMat *) 0 ;
41573 octave_value_list _out;
41574 octave_value_list *_outp=&_out;
41575 octave_value _outv;
41577 if (!SWIG_check_num_args("cvRandGaussMixture",args.length(),6,5,0)) {
41580 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_p_CvMat, 0 | 0 );
41581 if (!SWIG_IsOK(res1)) {
41582 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "cvRandGaussMixture" "', argument " "1"" of type '" "CvMat *[]""'");
41584 arg1 = (CvMat **)(argp1);
41585 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_p_CvMat, 0 | 0 );
41586 if (!SWIG_IsOK(res2)) {
41587 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "cvRandGaussMixture" "', argument " "2"" of type '" "CvMat *[]""'");
41589 arg2 = (CvMat **)(argp2);
41590 res3 = SWIG_ConvertPtr(args(2), &argp3,SWIGTYPE_p_float, 0 | 0 );
41591 if (!SWIG_IsOK(res3)) {
41592 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "cvRandGaussMixture" "', argument " "3"" of type '" "float []""'");
41594 arg3 = (float *)(argp3);
41595 ecode4 = SWIG_AsVal_int(args(3), &val4);
41596 if (!SWIG_IsOK(ecode4)) {
41597 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "cvRandGaussMixture" "', argument " "4"" of type '" "int""'");
41599 arg4 = (int)(val4);
41600 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_CvMat, 0 | 0 );
41601 if (!SWIG_IsOK(res5)) {
41602 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "cvRandGaussMixture" "', argument " "5"" of type '" "CvMat *""'");
41604 arg5 = (CvMat *)(argp5);
41605 if (5<args.length()) {
41606 res6 = SWIG_ConvertPtr(args(5), &argp6,SWIGTYPE_p_CvMat, 0 | 0 );
41607 if (!SWIG_IsOK(res6)) {
41608 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "cvRandGaussMixture" "', argument " "6"" of type '" "CvMat *""'");
41610 arg6 = (CvMat *)(argp6);
41614 cvRandGaussMixture(arg1,arg2,arg3,arg4,arg5,arg6);
41621 _outv = octave_value();
41622 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
41628 static octave_value_list _wrap_cvCreateTestSet (const octave_value_list& args, int nargout) {
41630 CvMat **arg2 = (CvMat **) 0 ;
41633 CvMat **arg5 = (CvMat **) 0 ;
41648 octave_value_list _out;
41649 octave_value_list *_outp=&_out;
41650 octave_value _outv;
41652 if (!SWIG_check_num_args("cvCreateTestSet",args.length(),6,6,1)) {
41655 ecode1 = SWIG_AsVal_int(args(0), &val1);
41656 if (!SWIG_IsOK(ecode1)) {
41657 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "cvCreateTestSet" "', argument " "1"" of type '" "int""'");
41659 arg1 = (int)(val1);
41660 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_p_CvMat, 0 | 0 );
41661 if (!SWIG_IsOK(res2)) {
41662 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "cvCreateTestSet" "', argument " "2"" of type '" "CvMat **""'");
41664 arg2 = (CvMat **)(argp2);
41665 ecode3 = SWIG_AsVal_int(args(2), &val3);
41666 if (!SWIG_IsOK(ecode3)) {
41667 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "cvCreateTestSet" "', argument " "3"" of type '" "int""'");
41669 arg3 = (int)(val3);
41670 ecode4 = SWIG_AsVal_int(args(3), &val4);
41671 if (!SWIG_IsOK(ecode4)) {
41672 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "cvCreateTestSet" "', argument " "4"" of type '" "int""'");
41674 arg4 = (int)(val4);
41675 res5 = SWIG_ConvertPtr(args(4), &argp5,SWIGTYPE_p_p_CvMat, 0 | 0 );
41676 if (!SWIG_IsOK(res5)) {
41677 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "cvCreateTestSet" "', argument " "5"" of type '" "CvMat **""'");
41679 arg5 = (CvMat **)(argp5);
41680 ecode6 = SWIG_AsVal_int(args(5), &val6);
41681 if (!SWIG_IsOK(ecode6)) {
41682 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "cvCreateTestSet" "', argument " "6"" of type '" "int""'");
41684 arg6 = (int)(val6);
41687 cvCreateTestSet(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
41694 _outv = octave_value();
41695 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
41701 static octave_value_list _wrap_new_CvTrainTestSplit__SWIG_0 (const octave_value_list& args, int nargout) {
41702 octave_value_list _out;
41703 octave_value_list *_outp=&_out;
41704 octave_value _outv;
41705 CvTrainTestSplit *result = 0 ;
41707 if (!SWIG_check_num_args("new_CvTrainTestSplit",args.length(),0,0,0)) {
41712 result = (CvTrainTestSplit *)new CvTrainTestSplit();
41719 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvTrainTestSplit, 1 | 0 );
41720 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
41726 static octave_value_list _wrap_new_CvTrainTestSplit__SWIG_1 (const octave_value_list& args, int nargout) {
41733 octave_value_list _out;
41734 octave_value_list *_outp=&_out;
41735 octave_value _outv;
41736 CvTrainTestSplit *result = 0 ;
41738 if (!SWIG_check_num_args("new_CvTrainTestSplit",args.length(),2,2,0)) {
41741 ecode1 = SWIG_AsVal_int(args(0), &val1);
41742 if (!SWIG_IsOK(ecode1)) {
41743 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CvTrainTestSplit" "', argument " "1"" of type '" "int""'");
41745 arg1 = (int)(val1);
41746 ecode2 = SWIG_AsVal_bool(args(1), &val2);
41747 if (!SWIG_IsOK(ecode2)) {
41748 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CvTrainTestSplit" "', argument " "2"" of type '" "bool""'");
41750 arg2 = (bool)(val2);
41753 result = (CvTrainTestSplit *)new CvTrainTestSplit(arg1,arg2);
41760 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvTrainTestSplit, 1 | 0 );
41761 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
41767 static octave_value_list _wrap_new_CvTrainTestSplit__SWIG_2 (const octave_value_list& args, int nargout) {
41771 octave_value_list _out;
41772 octave_value_list *_outp=&_out;
41773 octave_value _outv;
41774 CvTrainTestSplit *result = 0 ;
41776 if (!SWIG_check_num_args("new_CvTrainTestSplit",args.length(),1,1,0)) {
41779 ecode1 = SWIG_AsVal_int(args(0), &val1);
41780 if (!SWIG_IsOK(ecode1)) {
41781 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CvTrainTestSplit" "', argument " "1"" of type '" "int""'");
41783 arg1 = (int)(val1);
41786 result = (CvTrainTestSplit *)new CvTrainTestSplit(arg1);
41793 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvTrainTestSplit, 1 | 0 );
41794 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
41800 static octave_value_list _wrap_new_CvTrainTestSplit__SWIG_3 (const octave_value_list& args, int nargout) {
41807 octave_value_list _out;
41808 octave_value_list *_outp=&_out;
41809 octave_value _outv;
41810 CvTrainTestSplit *result = 0 ;
41812 if (!SWIG_check_num_args("new_CvTrainTestSplit",args.length(),2,2,0)) {
41815 ecode1 = SWIG_AsVal_float(args(0), &val1);
41816 if (!SWIG_IsOK(ecode1)) {
41817 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CvTrainTestSplit" "', argument " "1"" of type '" "float""'");
41819 arg1 = (float)(val1);
41820 ecode2 = SWIG_AsVal_bool(args(1), &val2);
41821 if (!SWIG_IsOK(ecode2)) {
41822 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CvTrainTestSplit" "', argument " "2"" of type '" "bool""'");
41824 arg2 = (bool)(val2);
41827 result = (CvTrainTestSplit *)new CvTrainTestSplit(arg1,arg2);
41834 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvTrainTestSplit, 1 | 0 );
41835 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
41841 static octave_value_list _wrap_new_CvTrainTestSplit__SWIG_4 (const octave_value_list& args, int nargout) {
41845 octave_value_list _out;
41846 octave_value_list *_outp=&_out;
41847 octave_value _outv;
41848 CvTrainTestSplit *result = 0 ;
41850 if (!SWIG_check_num_args("new_CvTrainTestSplit",args.length(),1,1,0)) {
41853 ecode1 = SWIG_AsVal_float(args(0), &val1);
41854 if (!SWIG_IsOK(ecode1)) {
41855 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CvTrainTestSplit" "', argument " "1"" of type '" "float""'");
41857 arg1 = (float)(val1);
41860 result = (CvTrainTestSplit *)new CvTrainTestSplit(arg1);
41867 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvTrainTestSplit, 1 | 0 );
41868 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
41874 static octave_value_list _wrap_new_CvTrainTestSplit (const octave_value_list& args, int nargout) {
41875 int argc = args.length();
41876 octave_value_ref argv[2]={
41877 octave_value_ref(args,0),octave_value_ref(args,1)
41881 return _wrap_new_CvTrainTestSplit__SWIG_0(args, nargout);
41886 int res = SWIG_AsVal_int(argv[0], NULL);
41887 _v = SWIG_CheckState(res);
41890 return _wrap_new_CvTrainTestSplit__SWIG_2(args, nargout);
41896 int res = SWIG_AsVal_float(argv[0], NULL);
41897 _v = SWIG_CheckState(res);
41900 return _wrap_new_CvTrainTestSplit__SWIG_4(args, nargout);
41906 int res = SWIG_AsVal_int(argv[0], NULL);
41907 _v = SWIG_CheckState(res);
41911 int res = SWIG_AsVal_bool(argv[1], NULL);
41912 _v = SWIG_CheckState(res);
41915 return _wrap_new_CvTrainTestSplit__SWIG_1(args, nargout);
41922 int res = SWIG_AsVal_float(argv[0], NULL);
41923 _v = SWIG_CheckState(res);
41927 int res = SWIG_AsVal_bool(argv[1], NULL);
41928 _v = SWIG_CheckState(res);
41931 return _wrap_new_CvTrainTestSplit__SWIG_3(args, nargout);
41936 error("No matching function for overload");
41937 return octave_value_list();
41941 static octave_value_list _wrap_CvTrainTestSplit_train_sample_part_mode_set (const octave_value_list& args, int nargout) {
41942 CvTrainTestSplit *arg1 = (CvTrainTestSplit *) 0 ;
41948 octave_value_list _out;
41949 octave_value_list *_outp=&_out;
41950 octave_value _outv;
41952 if (!SWIG_check_num_args("CvTrainTestSplit_train_sample_part_mode_set",args.length(),2,2,0)) {
41955 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvTrainTestSplit, 0 | 0 );
41956 if (!SWIG_IsOK(res1)) {
41957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvTrainTestSplit_train_sample_part_mode_set" "', argument " "1"" of type '" "CvTrainTestSplit *""'");
41959 arg1 = (CvTrainTestSplit *)(argp1);
41960 ecode2 = SWIG_AsVal_int(args(1), &val2);
41961 if (!SWIG_IsOK(ecode2)) {
41962 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvTrainTestSplit_train_sample_part_mode_set" "', argument " "2"" of type '" "int""'");
41964 arg2 = (int)(val2);
41965 if (arg1) (arg1)->train_sample_part_mode = arg2;
41966 _outv = octave_value();
41967 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
41973 static octave_value_list _wrap_CvTrainTestSplit_train_sample_part_mode_get (const octave_value_list& args, int nargout) {
41974 CvTrainTestSplit *arg1 = (CvTrainTestSplit *) 0 ;
41977 octave_value_list _out;
41978 octave_value_list *_outp=&_out;
41979 octave_value _outv;
41982 if (!SWIG_check_num_args("CvTrainTestSplit_train_sample_part_mode_get",args.length(),1,1,0)) {
41985 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvTrainTestSplit, 0 | 0 );
41986 if (!SWIG_IsOK(res1)) {
41987 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvTrainTestSplit_train_sample_part_mode_get" "', argument " "1"" of type '" "CvTrainTestSplit *""'");
41989 arg1 = (CvTrainTestSplit *)(argp1);
41990 result = (int) ((arg1)->train_sample_part_mode);
41991 _outv = SWIG_From_int((int)(result));
41992 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
41998 static octave_value_list _wrap_CvTrainTestSplit_class_part_mode_set (const octave_value_list& args, int nargout) {
41999 CvTrainTestSplit *arg1 = (CvTrainTestSplit *) 0 ;
42005 octave_value_list _out;
42006 octave_value_list *_outp=&_out;
42007 octave_value _outv;
42009 if (!SWIG_check_num_args("CvTrainTestSplit_class_part_mode_set",args.length(),2,2,0)) {
42012 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvTrainTestSplit, 0 | 0 );
42013 if (!SWIG_IsOK(res1)) {
42014 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvTrainTestSplit_class_part_mode_set" "', argument " "1"" of type '" "CvTrainTestSplit *""'");
42016 arg1 = (CvTrainTestSplit *)(argp1);
42017 ecode2 = SWIG_AsVal_int(args(1), &val2);
42018 if (!SWIG_IsOK(ecode2)) {
42019 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvTrainTestSplit_class_part_mode_set" "', argument " "2"" of type '" "int""'");
42021 arg2 = (int)(val2);
42022 if (arg1) (arg1)->class_part_mode = arg2;
42023 _outv = octave_value();
42024 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
42030 static octave_value_list _wrap_CvTrainTestSplit_class_part_mode_get (const octave_value_list& args, int nargout) {
42031 CvTrainTestSplit *arg1 = (CvTrainTestSplit *) 0 ;
42034 octave_value_list _out;
42035 octave_value_list *_outp=&_out;
42036 octave_value _outv;
42039 if (!SWIG_check_num_args("CvTrainTestSplit_class_part_mode_get",args.length(),1,1,0)) {
42042 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvTrainTestSplit, 0 | 0 );
42043 if (!SWIG_IsOK(res1)) {
42044 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvTrainTestSplit_class_part_mode_get" "', argument " "1"" of type '" "CvTrainTestSplit *""'");
42046 arg1 = (CvTrainTestSplit *)(argp1);
42047 result = (int) ((arg1)->class_part_mode);
42048 _outv = SWIG_From_int((int)(result));
42049 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
42055 static octave_value_list _wrap_CvTrainTestSplit_mix_set (const octave_value_list& args, int nargout) {
42056 CvTrainTestSplit *arg1 = (CvTrainTestSplit *) 0 ;
42062 octave_value_list _out;
42063 octave_value_list *_outp=&_out;
42064 octave_value _outv;
42066 if (!SWIG_check_num_args("CvTrainTestSplit_mix_set",args.length(),2,2,0)) {
42069 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvTrainTestSplit, 0 | 0 );
42070 if (!SWIG_IsOK(res1)) {
42071 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvTrainTestSplit_mix_set" "', argument " "1"" of type '" "CvTrainTestSplit *""'");
42073 arg1 = (CvTrainTestSplit *)(argp1);
42074 ecode2 = SWIG_AsVal_bool(args(1), &val2);
42075 if (!SWIG_IsOK(ecode2)) {
42076 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvTrainTestSplit_mix_set" "', argument " "2"" of type '" "bool""'");
42078 arg2 = (bool)(val2);
42079 if (arg1) (arg1)->mix = arg2;
42080 _outv = octave_value();
42081 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
42087 static octave_value_list _wrap_CvTrainTestSplit_mix_get (const octave_value_list& args, int nargout) {
42088 CvTrainTestSplit *arg1 = (CvTrainTestSplit *) 0 ;
42091 octave_value_list _out;
42092 octave_value_list *_outp=&_out;
42093 octave_value _outv;
42096 if (!SWIG_check_num_args("CvTrainTestSplit_mix_get",args.length(),1,1,0)) {
42099 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvTrainTestSplit, 0 | 0 );
42100 if (!SWIG_IsOK(res1)) {
42101 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvTrainTestSplit_mix_get" "', argument " "1"" of type '" "CvTrainTestSplit *""'");
42103 arg1 = (CvTrainTestSplit *)(argp1);
42104 result = (bool) ((arg1)->mix);
42105 _outv = SWIG_From_bool((bool)(result));
42106 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
42112 static octave_value_list _wrap_CvTrainTestSplit_class_part_get (const octave_value_list& args, int nargout) {
42113 CvTrainTestSplit *arg1 = (CvTrainTestSplit *) 0 ;
42116 octave_value_list _out;
42117 octave_value_list *_outp=&_out;
42118 octave_value _outv;
42119 CvTrainTestSplit_class_part *result = 0 ;
42121 if (!SWIG_check_num_args("CvTrainTestSplit_class_part_get",args.length(),1,1,0)) {
42124 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvTrainTestSplit, 0 | 0 );
42125 if (!SWIG_IsOK(res1)) {
42126 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvTrainTestSplit_class_part_get" "', argument " "1"" of type '" "CvTrainTestSplit *""'");
42128 arg1 = (CvTrainTestSplit *)(argp1);
42129 result = (CvTrainTestSplit_class_part *) ((arg1)->class_part);
42130 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvTrainTestSplit_class_part, 0 | 0 );
42131 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
42137 static octave_value_list _wrap_CvTrainTestSplit_train_sample_part_get (const octave_value_list& args, int nargout) {
42138 CvTrainTestSplit *arg1 = (CvTrainTestSplit *) 0 ;
42141 octave_value_list _out;
42142 octave_value_list *_outp=&_out;
42143 octave_value _outv;
42144 CvTrainTestSplit_train_sample_part *result = 0 ;
42146 if (!SWIG_check_num_args("CvTrainTestSplit_train_sample_part_get",args.length(),1,1,0)) {
42149 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvTrainTestSplit, 0 | 0 );
42150 if (!SWIG_IsOK(res1)) {
42151 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvTrainTestSplit_train_sample_part_get" "', argument " "1"" of type '" "CvTrainTestSplit *""'");
42153 arg1 = (CvTrainTestSplit *)(argp1);
42154 result = (CvTrainTestSplit_train_sample_part *)& ((arg1)->train_sample_part);
42155 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvTrainTestSplit_train_sample_part, 0 | 0 );
42156 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
42162 static octave_value_list _wrap_delete_CvTrainTestSplit (const octave_value_list& args, int nargout) {
42163 CvTrainTestSplit *arg1 = (CvTrainTestSplit *) 0 ;
42166 octave_value_list _out;
42167 octave_value_list *_outp=&_out;
42168 octave_value _outv;
42170 if (!SWIG_check_num_args("delete_CvTrainTestSplit",args.length(),1,1,0)) {
42173 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvTrainTestSplit, SWIG_POINTER_DISOWN | 0 );
42174 if (!SWIG_IsOK(res1)) {
42175 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CvTrainTestSplit" "', argument " "1"" of type '" "CvTrainTestSplit *""'");
42177 arg1 = (CvTrainTestSplit *)(argp1);
42187 _outv = octave_value();
42188 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
42194 static swig_octave_member swig_CvTrainTestSplit_members[] = {
42195 {"train_sample_part_mode",0,_wrap_CvTrainTestSplit_train_sample_part_mode_get,_wrap_CvTrainTestSplit_train_sample_part_mode_set,0,0},
42196 {"class_part_mode",0,_wrap_CvTrainTestSplit_class_part_mode_get,_wrap_CvTrainTestSplit_class_part_mode_set,0,0},
42197 {"mix",0,_wrap_CvTrainTestSplit_mix_get,_wrap_CvTrainTestSplit_mix_set,0,0},
42198 {"class_part",0,_wrap_CvTrainTestSplit_class_part_get,octave_set_immutable,0,0},
42199 {"train_sample_part",0,_wrap_CvTrainTestSplit_train_sample_part_get,octave_set_immutable,0,0},
42202 static const char *swig_CvTrainTestSplit_base_names[] = {0};
42203 static const swig_type_info *swig_CvTrainTestSplit_base[] = {0};
42204 static swig_octave_class _wrap_class_CvTrainTestSplit = {"CvTrainTestSplit", &SWIGTYPE_p_CvTrainTestSplit,0,_wrap_new_CvTrainTestSplit,0,_wrap_delete_CvTrainTestSplit,swig_CvTrainTestSplit_members,swig_CvTrainTestSplit_base_names,swig_CvTrainTestSplit_base };
42206 static octave_value_list _wrap_CvTrainTestSplit_class_part_count_set (const octave_value_list& args, int nargout) {
42207 CvTrainTestSplit_class_part *arg1 = (CvTrainTestSplit_class_part *) 0 ;
42208 int *arg2 = (int *) 0 ;
42213 octave_value_list _out;
42214 octave_value_list *_outp=&_out;
42215 octave_value _outv;
42217 if (!SWIG_check_num_args("CvTrainTestSplit_class_part_count_set",args.length(),2,2,0)) {
42220 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvTrainTestSplit_class_part, 0 | 0 );
42221 if (!SWIG_IsOK(res1)) {
42222 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvTrainTestSplit_class_part_count_set" "', argument " "1"" of type '" "CvTrainTestSplit_class_part *""'");
42224 arg1 = (CvTrainTestSplit_class_part *)(argp1);
42225 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_int, SWIG_POINTER_DISOWN | 0 );
42226 if (!SWIG_IsOK(res2)) {
42227 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvTrainTestSplit_class_part_count_set" "', argument " "2"" of type '" "int *""'");
42229 arg2 = (int *)(argp2);
42230 if (arg1) (arg1)->count = arg2;
42231 _outv = octave_value();
42232 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
42238 static octave_value_list _wrap_CvTrainTestSplit_class_part_count_get (const octave_value_list& args, int nargout) {
42239 CvTrainTestSplit_class_part *arg1 = (CvTrainTestSplit_class_part *) 0 ;
42242 octave_value_list _out;
42243 octave_value_list *_outp=&_out;
42244 octave_value _outv;
42247 if (!SWIG_check_num_args("CvTrainTestSplit_class_part_count_get",args.length(),1,1,0)) {
42250 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvTrainTestSplit_class_part, 0 | 0 );
42251 if (!SWIG_IsOK(res1)) {
42252 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvTrainTestSplit_class_part_count_get" "', argument " "1"" of type '" "CvTrainTestSplit_class_part *""'");
42254 arg1 = (CvTrainTestSplit_class_part *)(argp1);
42255 result = (int *) ((arg1)->count);
42256 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0 );
42257 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
42263 static octave_value_list _wrap_CvTrainTestSplit_class_part_portion_set (const octave_value_list& args, int nargout) {
42264 CvTrainTestSplit_class_part *arg1 = (CvTrainTestSplit_class_part *) 0 ;
42265 float *arg2 = (float *) 0 ;
42270 octave_value_list _out;
42271 octave_value_list *_outp=&_out;
42272 octave_value _outv;
42274 if (!SWIG_check_num_args("CvTrainTestSplit_class_part_portion_set",args.length(),2,2,0)) {
42277 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvTrainTestSplit_class_part, 0 | 0 );
42278 if (!SWIG_IsOK(res1)) {
42279 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvTrainTestSplit_class_part_portion_set" "', argument " "1"" of type '" "CvTrainTestSplit_class_part *""'");
42281 arg1 = (CvTrainTestSplit_class_part *)(argp1);
42282 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_float, SWIG_POINTER_DISOWN | 0 );
42283 if (!SWIG_IsOK(res2)) {
42284 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvTrainTestSplit_class_part_portion_set" "', argument " "2"" of type '" "float *""'");
42286 arg2 = (float *)(argp2);
42287 if (arg1) (arg1)->portion = arg2;
42288 _outv = octave_value();
42289 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
42295 static octave_value_list _wrap_CvTrainTestSplit_class_part_portion_get (const octave_value_list& args, int nargout) {
42296 CvTrainTestSplit_class_part *arg1 = (CvTrainTestSplit_class_part *) 0 ;
42299 octave_value_list _out;
42300 octave_value_list *_outp=&_out;
42301 octave_value _outv;
42302 float *result = 0 ;
42304 if (!SWIG_check_num_args("CvTrainTestSplit_class_part_portion_get",args.length(),1,1,0)) {
42307 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvTrainTestSplit_class_part, 0 | 0 );
42308 if (!SWIG_IsOK(res1)) {
42309 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvTrainTestSplit_class_part_portion_get" "', argument " "1"" of type '" "CvTrainTestSplit_class_part *""'");
42311 arg1 = (CvTrainTestSplit_class_part *)(argp1);
42312 result = (float *) ((arg1)->portion);
42313 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 );
42314 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
42320 static octave_value_list _wrap_new_CvTrainTestSplit_class_part (const octave_value_list& args, int nargout) {
42321 octave_value_list _out;
42322 octave_value_list *_outp=&_out;
42323 octave_value _outv;
42324 CvTrainTestSplit_class_part *result = 0 ;
42326 if (!SWIG_check_num_args("new_CvTrainTestSplit_class_part",args.length(),0,0,0)) {
42331 result = (CvTrainTestSplit_class_part *)new CvTrainTestSplit_class_part();
42338 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvTrainTestSplit_class_part, 1 | 0 );
42339 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
42345 static octave_value_list _wrap_delete_CvTrainTestSplit_class_part (const octave_value_list& args, int nargout) {
42346 CvTrainTestSplit_class_part *arg1 = (CvTrainTestSplit_class_part *) 0 ;
42349 octave_value_list _out;
42350 octave_value_list *_outp=&_out;
42351 octave_value _outv;
42353 if (!SWIG_check_num_args("delete_CvTrainTestSplit_class_part",args.length(),1,1,0)) {
42356 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvTrainTestSplit_class_part, SWIG_POINTER_DISOWN | 0 );
42357 if (!SWIG_IsOK(res1)) {
42358 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CvTrainTestSplit_class_part" "', argument " "1"" of type '" "CvTrainTestSplit_class_part *""'");
42360 arg1 = (CvTrainTestSplit_class_part *)(argp1);
42370 _outv = octave_value();
42371 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
42377 static swig_octave_member swig_CvTrainTestSplit_class_part_members[] = {
42378 {"count",0,_wrap_CvTrainTestSplit_class_part_count_get,_wrap_CvTrainTestSplit_class_part_count_set,0,0},
42379 {"portion",0,_wrap_CvTrainTestSplit_class_part_portion_get,_wrap_CvTrainTestSplit_class_part_portion_set,0,0},
42382 static const char *swig_CvTrainTestSplit_class_part_base_names[] = {0};
42383 static const swig_type_info *swig_CvTrainTestSplit_class_part_base[] = {0};
42384 static swig_octave_class _wrap_class_CvTrainTestSplit_class_part = {"CvTrainTestSplit_class_part", &SWIGTYPE_p_CvTrainTestSplit_class_part,0,_wrap_new_CvTrainTestSplit_class_part,0,_wrap_delete_CvTrainTestSplit_class_part,swig_CvTrainTestSplit_class_part_members,swig_CvTrainTestSplit_class_part_base_names,swig_CvTrainTestSplit_class_part_base };
42386 static octave_value_list _wrap_CvTrainTestSplit_train_sample_part_count_set (const octave_value_list& args, int nargout) {
42387 CvTrainTestSplit_train_sample_part *arg1 = (CvTrainTestSplit_train_sample_part *) 0 ;
42393 octave_value_list _out;
42394 octave_value_list *_outp=&_out;
42395 octave_value _outv;
42397 if (!SWIG_check_num_args("CvTrainTestSplit_train_sample_part_count_set",args.length(),2,2,0)) {
42400 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvTrainTestSplit_train_sample_part, 0 | 0 );
42401 if (!SWIG_IsOK(res1)) {
42402 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvTrainTestSplit_train_sample_part_count_set" "', argument " "1"" of type '" "CvTrainTestSplit_train_sample_part *""'");
42404 arg1 = (CvTrainTestSplit_train_sample_part *)(argp1);
42405 ecode2 = SWIG_AsVal_int(args(1), &val2);
42406 if (!SWIG_IsOK(ecode2)) {
42407 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvTrainTestSplit_train_sample_part_count_set" "', argument " "2"" of type '" "int""'");
42409 arg2 = (int)(val2);
42410 if (arg1) (arg1)->count = arg2;
42411 _outv = octave_value();
42412 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
42418 static octave_value_list _wrap_CvTrainTestSplit_train_sample_part_count_get (const octave_value_list& args, int nargout) {
42419 CvTrainTestSplit_train_sample_part *arg1 = (CvTrainTestSplit_train_sample_part *) 0 ;
42422 octave_value_list _out;
42423 octave_value_list *_outp=&_out;
42424 octave_value _outv;
42427 if (!SWIG_check_num_args("CvTrainTestSplit_train_sample_part_count_get",args.length(),1,1,0)) {
42430 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvTrainTestSplit_train_sample_part, 0 | 0 );
42431 if (!SWIG_IsOK(res1)) {
42432 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvTrainTestSplit_train_sample_part_count_get" "', argument " "1"" of type '" "CvTrainTestSplit_train_sample_part *""'");
42434 arg1 = (CvTrainTestSplit_train_sample_part *)(argp1);
42435 result = (int) ((arg1)->count);
42436 _outv = SWIG_From_int((int)(result));
42437 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
42443 static octave_value_list _wrap_CvTrainTestSplit_train_sample_part_portion_set (const octave_value_list& args, int nargout) {
42444 CvTrainTestSplit_train_sample_part *arg1 = (CvTrainTestSplit_train_sample_part *) 0 ;
42450 octave_value_list _out;
42451 octave_value_list *_outp=&_out;
42452 octave_value _outv;
42454 if (!SWIG_check_num_args("CvTrainTestSplit_train_sample_part_portion_set",args.length(),2,2,0)) {
42457 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvTrainTestSplit_train_sample_part, 0 | 0 );
42458 if (!SWIG_IsOK(res1)) {
42459 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvTrainTestSplit_train_sample_part_portion_set" "', argument " "1"" of type '" "CvTrainTestSplit_train_sample_part *""'");
42461 arg1 = (CvTrainTestSplit_train_sample_part *)(argp1);
42462 ecode2 = SWIG_AsVal_float(args(1), &val2);
42463 if (!SWIG_IsOK(ecode2)) {
42464 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvTrainTestSplit_train_sample_part_portion_set" "', argument " "2"" of type '" "float""'");
42466 arg2 = (float)(val2);
42467 if (arg1) (arg1)->portion = arg2;
42468 _outv = octave_value();
42469 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
42475 static octave_value_list _wrap_CvTrainTestSplit_train_sample_part_portion_get (const octave_value_list& args, int nargout) {
42476 CvTrainTestSplit_train_sample_part *arg1 = (CvTrainTestSplit_train_sample_part *) 0 ;
42479 octave_value_list _out;
42480 octave_value_list *_outp=&_out;
42481 octave_value _outv;
42484 if (!SWIG_check_num_args("CvTrainTestSplit_train_sample_part_portion_get",args.length(),1,1,0)) {
42487 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvTrainTestSplit_train_sample_part, 0 | 0 );
42488 if (!SWIG_IsOK(res1)) {
42489 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvTrainTestSplit_train_sample_part_portion_get" "', argument " "1"" of type '" "CvTrainTestSplit_train_sample_part *""'");
42491 arg1 = (CvTrainTestSplit_train_sample_part *)(argp1);
42492 result = (float) ((arg1)->portion);
42493 _outv = SWIG_From_float((float)(result));
42494 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
42500 static octave_value_list _wrap_new_CvTrainTestSplit_train_sample_part (const octave_value_list& args, int nargout) {
42501 octave_value_list _out;
42502 octave_value_list *_outp=&_out;
42503 octave_value _outv;
42504 CvTrainTestSplit_train_sample_part *result = 0 ;
42506 if (!SWIG_check_num_args("new_CvTrainTestSplit_train_sample_part",args.length(),0,0,0)) {
42511 result = (CvTrainTestSplit_train_sample_part *)new CvTrainTestSplit_train_sample_part();
42518 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvTrainTestSplit_train_sample_part, 1 | 0 );
42519 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
42525 static octave_value_list _wrap_delete_CvTrainTestSplit_train_sample_part (const octave_value_list& args, int nargout) {
42526 CvTrainTestSplit_train_sample_part *arg1 = (CvTrainTestSplit_train_sample_part *) 0 ;
42529 octave_value_list _out;
42530 octave_value_list *_outp=&_out;
42531 octave_value _outv;
42533 if (!SWIG_check_num_args("delete_CvTrainTestSplit_train_sample_part",args.length(),1,1,0)) {
42536 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvTrainTestSplit_train_sample_part, SWIG_POINTER_DISOWN | 0 );
42537 if (!SWIG_IsOK(res1)) {
42538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CvTrainTestSplit_train_sample_part" "', argument " "1"" of type '" "CvTrainTestSplit_train_sample_part *""'");
42540 arg1 = (CvTrainTestSplit_train_sample_part *)(argp1);
42550 _outv = octave_value();
42551 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
42557 static swig_octave_member swig_CvTrainTestSplit_train_sample_part_members[] = {
42558 {"count",0,_wrap_CvTrainTestSplit_train_sample_part_count_get,_wrap_CvTrainTestSplit_train_sample_part_count_set,0,0},
42559 {"portion",0,_wrap_CvTrainTestSplit_train_sample_part_portion_get,_wrap_CvTrainTestSplit_train_sample_part_portion_set,0,0},
42562 static const char *swig_CvTrainTestSplit_train_sample_part_base_names[] = {0};
42563 static const swig_type_info *swig_CvTrainTestSplit_train_sample_part_base[] = {0};
42564 static swig_octave_class _wrap_class_CvTrainTestSplit_train_sample_part = {"CvTrainTestSplit_train_sample_part", &SWIGTYPE_p_CvTrainTestSplit_train_sample_part,0,_wrap_new_CvTrainTestSplit_train_sample_part,0,_wrap_delete_CvTrainTestSplit_train_sample_part,swig_CvTrainTestSplit_train_sample_part_members,swig_CvTrainTestSplit_train_sample_part_base_names,swig_CvTrainTestSplit_train_sample_part_base };
42566 static octave_value_list _wrap_new_CvMLData (const octave_value_list& args, int nargout) {
42567 octave_value_list _out;
42568 octave_value_list *_outp=&_out;
42569 octave_value _outv;
42570 CvMLData *result = 0 ;
42572 if (!SWIG_check_num_args("new_CvMLData",args.length(),0,0,0)) {
42577 result = (CvMLData *)new CvMLData();
42584 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvMLData, 1 | 0 );
42585 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
42591 static octave_value_list _wrap_delete_CvMLData (const octave_value_list& args, int nargout) {
42592 CvMLData *arg1 = (CvMLData *) 0 ;
42595 octave_value_list _out;
42596 octave_value_list *_outp=&_out;
42597 octave_value _outv;
42599 if (!SWIG_check_num_args("delete_CvMLData",args.length(),1,1,0)) {
42602 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvMLData, SWIG_POINTER_DISOWN | 0 );
42603 if (!SWIG_IsOK(res1)) {
42604 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CvMLData" "', argument " "1"" of type '" "CvMLData *""'");
42606 arg1 = (CvMLData *)(argp1);
42616 _outv = octave_value();
42617 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
42623 static octave_value_list _wrap_CvMLData_read_csv (const octave_value_list& args, int nargout) {
42624 CvMLData *arg1 = (CvMLData *) 0 ;
42625 char *arg2 = (char *) 0 ;
42631 octave_value_list _out;
42632 octave_value_list *_outp=&_out;
42633 octave_value _outv;
42636 if (!SWIG_check_num_args("CvMLData_read_csv",args.length(),2,2,0)) {
42639 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvMLData, 0 | 0 );
42640 if (!SWIG_IsOK(res1)) {
42641 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvMLData_read_csv" "', argument " "1"" of type '" "CvMLData *""'");
42643 arg1 = (CvMLData *)(argp1);
42644 res2 = SWIG_AsCharPtrAndSize(args(1), &buf2, NULL, &alloc2);
42645 if (!SWIG_IsOK(res2)) {
42646 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvMLData_read_csv" "', argument " "2"" of type '" "char const *""'");
42648 arg2 = (char *)(buf2);
42651 result = (int)(arg1)->read_csv((char const *)arg2);
42658 _outv = SWIG_From_int((int)(result));
42659 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
42660 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
42666 static octave_value_list _wrap_CvMLData_get_values (const octave_value_list& args, int nargout) {
42667 CvMLData *arg1 = (CvMLData *) 0 ;
42670 octave_value_list _out;
42671 octave_value_list *_outp=&_out;
42672 octave_value _outv;
42673 CvMat *result = 0 ;
42675 if (!SWIG_check_num_args("CvMLData_get_values",args.length(),1,1,0)) {
42678 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvMLData, 0 | 0 );
42679 if (!SWIG_IsOK(res1)) {
42680 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvMLData_get_values" "', argument " "1"" of type '" "CvMLData *""'");
42682 arg1 = (CvMLData *)(argp1);
42685 result = (CvMat *)(arg1)->get_values();
42692 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvMat, 0 | 0 );
42693 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
42699 static octave_value_list _wrap_CvMLData_get_responses (const octave_value_list& args, int nargout) {
42700 CvMLData *arg1 = (CvMLData *) 0 ;
42703 octave_value_list _out;
42704 octave_value_list *_outp=&_out;
42705 octave_value _outv;
42706 CvMat *result = 0 ;
42708 if (!SWIG_check_num_args("CvMLData_get_responses",args.length(),1,1,0)) {
42711 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvMLData, 0 | 0 );
42712 if (!SWIG_IsOK(res1)) {
42713 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvMLData_get_responses" "', argument " "1"" of type '" "CvMLData *""'");
42715 arg1 = (CvMLData *)(argp1);
42718 result = (CvMat *)(arg1)->get_responses();
42725 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvMat, 0 | 0 );
42726 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
42732 static octave_value_list _wrap_CvMLData_get_missing (const octave_value_list& args, int nargout) {
42733 CvMLData *arg1 = (CvMLData *) 0 ;
42736 octave_value_list _out;
42737 octave_value_list *_outp=&_out;
42738 octave_value _outv;
42739 CvMat *result = 0 ;
42741 if (!SWIG_check_num_args("CvMLData_get_missing",args.length(),1,1,0)) {
42744 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvMLData, 0 | 0 );
42745 if (!SWIG_IsOK(res1)) {
42746 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvMLData_get_missing" "', argument " "1"" of type '" "CvMLData *""'");
42748 arg1 = (CvMLData *)(argp1);
42751 result = (CvMat *)(arg1)->get_missing();
42758 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvMat, 0 | 0 );
42759 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
42765 static octave_value_list _wrap_CvMLData_set_response_idx (const octave_value_list& args, int nargout) {
42766 CvMLData *arg1 = (CvMLData *) 0 ;
42772 octave_value_list _out;
42773 octave_value_list *_outp=&_out;
42774 octave_value _outv;
42776 if (!SWIG_check_num_args("CvMLData_set_response_idx",args.length(),2,2,0)) {
42779 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvMLData, 0 | 0 );
42780 if (!SWIG_IsOK(res1)) {
42781 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvMLData_set_response_idx" "', argument " "1"" of type '" "CvMLData *""'");
42783 arg1 = (CvMLData *)(argp1);
42784 ecode2 = SWIG_AsVal_int(args(1), &val2);
42785 if (!SWIG_IsOK(ecode2)) {
42786 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvMLData_set_response_idx" "', argument " "2"" of type '" "int""'");
42788 arg2 = (int)(val2);
42791 (arg1)->set_response_idx(arg2);
42798 _outv = octave_value();
42799 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
42805 static octave_value_list _wrap_CvMLData_get_response_idx (const octave_value_list& args, int nargout) {
42806 CvMLData *arg1 = (CvMLData *) 0 ;
42809 octave_value_list _out;
42810 octave_value_list *_outp=&_out;
42811 octave_value _outv;
42814 if (!SWIG_check_num_args("CvMLData_get_response_idx",args.length(),1,1,0)) {
42817 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvMLData, 0 | 0 );
42818 if (!SWIG_IsOK(res1)) {
42819 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvMLData_get_response_idx" "', argument " "1"" of type '" "CvMLData *""'");
42821 arg1 = (CvMLData *)(argp1);
42824 result = (int)(arg1)->get_response_idx();
42831 _outv = SWIG_From_int((int)(result));
42832 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
42838 static octave_value_list _wrap_CvMLData_get_train_sample_idx (const octave_value_list& args, int nargout) {
42839 CvMLData *arg1 = (CvMLData *) 0 ;
42842 octave_value_list _out;
42843 octave_value_list *_outp=&_out;
42844 octave_value _outv;
42845 CvMat *result = 0 ;
42847 if (!SWIG_check_num_args("CvMLData_get_train_sample_idx",args.length(),1,1,0)) {
42850 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvMLData, 0 | 0 );
42851 if (!SWIG_IsOK(res1)) {
42852 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvMLData_get_train_sample_idx" "', argument " "1"" of type '" "CvMLData *""'");
42854 arg1 = (CvMLData *)(argp1);
42857 result = (CvMat *)(arg1)->get_train_sample_idx();
42864 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvMat, 0 | 0 );
42865 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
42871 static octave_value_list _wrap_CvMLData_get_test_sample_idx (const octave_value_list& args, int nargout) {
42872 CvMLData *arg1 = (CvMLData *) 0 ;
42875 octave_value_list _out;
42876 octave_value_list *_outp=&_out;
42877 octave_value _outv;
42878 CvMat *result = 0 ;
42880 if (!SWIG_check_num_args("CvMLData_get_test_sample_idx",args.length(),1,1,0)) {
42883 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvMLData, 0 | 0 );
42884 if (!SWIG_IsOK(res1)) {
42885 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvMLData_get_test_sample_idx" "', argument " "1"" of type '" "CvMLData *""'");
42887 arg1 = (CvMLData *)(argp1);
42890 result = (CvMat *)(arg1)->get_test_sample_idx();
42897 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvMat, 0 | 0 );
42898 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
42904 static octave_value_list _wrap_CvMLData_mix_train_and_test_idx (const octave_value_list& args, int nargout) {
42905 CvMLData *arg1 = (CvMLData *) 0 ;
42908 octave_value_list _out;
42909 octave_value_list *_outp=&_out;
42910 octave_value _outv;
42912 if (!SWIG_check_num_args("CvMLData_mix_train_and_test_idx",args.length(),1,1,0)) {
42915 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvMLData, 0 | 0 );
42916 if (!SWIG_IsOK(res1)) {
42917 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvMLData_mix_train_and_test_idx" "', argument " "1"" of type '" "CvMLData *""'");
42919 arg1 = (CvMLData *)(argp1);
42922 (arg1)->mix_train_and_test_idx();
42929 _outv = octave_value();
42930 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
42936 static octave_value_list _wrap_CvMLData_set_train_test_split (const octave_value_list& args, int nargout) {
42937 CvMLData *arg1 = (CvMLData *) 0 ;
42938 CvTrainTestSplit *arg2 = (CvTrainTestSplit *) 0 ;
42943 octave_value_list _out;
42944 octave_value_list *_outp=&_out;
42945 octave_value _outv;
42947 if (!SWIG_check_num_args("CvMLData_set_train_test_split",args.length(),2,2,0)) {
42950 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvMLData, 0 | 0 );
42951 if (!SWIG_IsOK(res1)) {
42952 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvMLData_set_train_test_split" "', argument " "1"" of type '" "CvMLData *""'");
42954 arg1 = (CvMLData *)(argp1);
42955 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_CvTrainTestSplit, 0 | 0 );
42956 if (!SWIG_IsOK(res2)) {
42957 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvMLData_set_train_test_split" "', argument " "2"" of type '" "CvTrainTestSplit const *""'");
42959 arg2 = (CvTrainTestSplit *)(argp2);
42962 (arg1)->set_train_test_split((CvTrainTestSplit const *)arg2);
42969 _outv = octave_value();
42970 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
42976 static octave_value_list _wrap_CvMLData_get_var_idx (const octave_value_list& args, int nargout) {
42977 CvMLData *arg1 = (CvMLData *) 0 ;
42980 octave_value_list _out;
42981 octave_value_list *_outp=&_out;
42982 octave_value _outv;
42983 CvMat *result = 0 ;
42985 if (!SWIG_check_num_args("CvMLData_get_var_idx",args.length(),1,1,0)) {
42988 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvMLData, 0 | 0 );
42989 if (!SWIG_IsOK(res1)) {
42990 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvMLData_get_var_idx" "', argument " "1"" of type '" "CvMLData *""'");
42992 arg1 = (CvMLData *)(argp1);
42995 result = (CvMat *)(arg1)->get_var_idx();
43002 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvMat, 0 | 0 );
43003 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
43009 static octave_value_list _wrap_CvMLData_chahge_var_idx (const octave_value_list& args, int nargout) {
43010 CvMLData *arg1 = (CvMLData *) 0 ;
43019 octave_value_list _out;
43020 octave_value_list *_outp=&_out;
43021 octave_value _outv;
43023 if (!SWIG_check_num_args("CvMLData_chahge_var_idx",args.length(),3,3,0)) {
43026 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvMLData, 0 | 0 );
43027 if (!SWIG_IsOK(res1)) {
43028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvMLData_chahge_var_idx" "', argument " "1"" of type '" "CvMLData *""'");
43030 arg1 = (CvMLData *)(argp1);
43031 ecode2 = SWIG_AsVal_int(args(1), &val2);
43032 if (!SWIG_IsOK(ecode2)) {
43033 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvMLData_chahge_var_idx" "', argument " "2"" of type '" "int""'");
43035 arg2 = (int)(val2);
43036 ecode3 = SWIG_AsVal_bool(args(2), &val3);
43037 if (!SWIG_IsOK(ecode3)) {
43038 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvMLData_chahge_var_idx" "', argument " "3"" of type '" "bool""'");
43040 arg3 = (bool)(val3);
43043 (arg1)->chahge_var_idx(arg2,arg3);
43050 _outv = octave_value();
43051 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
43057 static octave_value_list _wrap_CvMLData_get_var_types (const octave_value_list& args, int nargout) {
43058 CvMLData *arg1 = (CvMLData *) 0 ;
43061 octave_value_list _out;
43062 octave_value_list *_outp=&_out;
43063 octave_value _outv;
43064 CvMat *result = 0 ;
43066 if (!SWIG_check_num_args("CvMLData_get_var_types",args.length(),1,1,0)) {
43069 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvMLData, 0 | 0 );
43070 if (!SWIG_IsOK(res1)) {
43071 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvMLData_get_var_types" "', argument " "1"" of type '" "CvMLData *""'");
43073 arg1 = (CvMLData *)(argp1);
43076 result = (CvMat *)(arg1)->get_var_types();
43083 _outv = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_CvMat, 0 | 0 );
43084 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
43090 static octave_value_list _wrap_CvMLData_get_var_type (const octave_value_list& args, int nargout) {
43091 CvMLData *arg1 = (CvMLData *) 0 ;
43097 octave_value_list _out;
43098 octave_value_list *_outp=&_out;
43099 octave_value _outv;
43102 if (!SWIG_check_num_args("CvMLData_get_var_type",args.length(),2,2,0)) {
43105 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvMLData, 0 | 0 );
43106 if (!SWIG_IsOK(res1)) {
43107 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvMLData_get_var_type" "', argument " "1"" of type '" "CvMLData *""'");
43109 arg1 = (CvMLData *)(argp1);
43110 ecode2 = SWIG_AsVal_int(args(1), &val2);
43111 if (!SWIG_IsOK(ecode2)) {
43112 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvMLData_get_var_type" "', argument " "2"" of type '" "int""'");
43114 arg2 = (int)(val2);
43117 result = (int)(arg1)->get_var_type(arg2);
43124 _outv = SWIG_From_int((int)(result));
43125 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
43131 static octave_value_list _wrap_CvMLData_set_var_types (const octave_value_list& args, int nargout) {
43132 CvMLData *arg1 = (CvMLData *) 0 ;
43133 char *arg2 = (char *) 0 ;
43139 octave_value_list _out;
43140 octave_value_list *_outp=&_out;
43141 octave_value _outv;
43143 if (!SWIG_check_num_args("CvMLData_set_var_types",args.length(),2,2,0)) {
43146 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvMLData, 0 | 0 );
43147 if (!SWIG_IsOK(res1)) {
43148 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvMLData_set_var_types" "', argument " "1"" of type '" "CvMLData *""'");
43150 arg1 = (CvMLData *)(argp1);
43151 res2 = SWIG_AsCharPtrAndSize(args(1), &buf2, NULL, &alloc2);
43152 if (!SWIG_IsOK(res2)) {
43153 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CvMLData_set_var_types" "', argument " "2"" of type '" "char const *""'");
43155 arg2 = (char *)(buf2);
43158 (arg1)->set_var_types((char const *)arg2);
43165 _outv = octave_value();
43166 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
43167 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
43173 static octave_value_list _wrap_CvMLData_change_var_type (const octave_value_list& args, int nargout) {
43174 CvMLData *arg1 = (CvMLData *) 0 ;
43183 octave_value_list _out;
43184 octave_value_list *_outp=&_out;
43185 octave_value _outv;
43187 if (!SWIG_check_num_args("CvMLData_change_var_type",args.length(),3,3,0)) {
43190 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvMLData, 0 | 0 );
43191 if (!SWIG_IsOK(res1)) {
43192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvMLData_change_var_type" "', argument " "1"" of type '" "CvMLData *""'");
43194 arg1 = (CvMLData *)(argp1);
43195 ecode2 = SWIG_AsVal_int(args(1), &val2);
43196 if (!SWIG_IsOK(ecode2)) {
43197 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvMLData_change_var_type" "', argument " "2"" of type '" "int""'");
43199 arg2 = (int)(val2);
43200 ecode3 = SWIG_AsVal_int(args(2), &val3);
43201 if (!SWIG_IsOK(ecode3)) {
43202 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvMLData_change_var_type" "', argument " "3"" of type '" "int""'");
43204 arg3 = (int)(val3);
43207 (arg1)->change_var_type(arg2,arg3);
43214 _outv = octave_value();
43215 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
43221 static octave_value_list _wrap_CvMLData_set_delimiter (const octave_value_list& args, int nargout) {
43222 CvMLData *arg1 = (CvMLData *) 0 ;
43228 octave_value_list _out;
43229 octave_value_list *_outp=&_out;
43230 octave_value _outv;
43232 if (!SWIG_check_num_args("CvMLData_set_delimiter",args.length(),2,2,0)) {
43235 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvMLData, 0 | 0 );
43236 if (!SWIG_IsOK(res1)) {
43237 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvMLData_set_delimiter" "', argument " "1"" of type '" "CvMLData *""'");
43239 arg1 = (CvMLData *)(argp1);
43240 ecode2 = SWIG_AsVal_char(args(1), &val2);
43241 if (!SWIG_IsOK(ecode2)) {
43242 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvMLData_set_delimiter" "', argument " "2"" of type '" "char""'");
43244 arg2 = (char)(val2);
43247 (arg1)->set_delimiter(arg2);
43254 _outv = octave_value();
43255 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
43261 static octave_value_list _wrap_CvMLData_get_delimiter (const octave_value_list& args, int nargout) {
43262 CvMLData *arg1 = (CvMLData *) 0 ;
43265 octave_value_list _out;
43266 octave_value_list *_outp=&_out;
43267 octave_value _outv;
43270 if (!SWIG_check_num_args("CvMLData_get_delimiter",args.length(),1,1,0)) {
43273 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvMLData, 0 | 0 );
43274 if (!SWIG_IsOK(res1)) {
43275 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvMLData_get_delimiter" "', argument " "1"" of type '" "CvMLData *""'");
43277 arg1 = (CvMLData *)(argp1);
43280 result = (char)(arg1)->get_delimiter();
43287 _outv = SWIG_From_char((char)(result));
43288 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
43294 static octave_value_list _wrap_CvMLData_set_miss_ch (const octave_value_list& args, int nargout) {
43295 CvMLData *arg1 = (CvMLData *) 0 ;
43301 octave_value_list _out;
43302 octave_value_list *_outp=&_out;
43303 octave_value _outv;
43305 if (!SWIG_check_num_args("CvMLData_set_miss_ch",args.length(),2,2,0)) {
43308 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvMLData, 0 | 0 );
43309 if (!SWIG_IsOK(res1)) {
43310 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvMLData_set_miss_ch" "', argument " "1"" of type '" "CvMLData *""'");
43312 arg1 = (CvMLData *)(argp1);
43313 ecode2 = SWIG_AsVal_char(args(1), &val2);
43314 if (!SWIG_IsOK(ecode2)) {
43315 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvMLData_set_miss_ch" "', argument " "2"" of type '" "char""'");
43317 arg2 = (char)(val2);
43320 (arg1)->set_miss_ch(arg2);
43327 _outv = octave_value();
43328 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
43334 static octave_value_list _wrap_CvMLData_get_miss_ch (const octave_value_list& args, int nargout) {
43335 CvMLData *arg1 = (CvMLData *) 0 ;
43338 octave_value_list _out;
43339 octave_value_list *_outp=&_out;
43340 octave_value _outv;
43343 if (!SWIG_check_num_args("CvMLData_get_miss_ch",args.length(),1,1,0)) {
43346 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_CvMLData, 0 | 0 );
43347 if (!SWIG_IsOK(res1)) {
43348 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvMLData_get_miss_ch" "', argument " "1"" of type '" "CvMLData *""'");
43350 arg1 = (CvMLData *)(argp1);
43353 result = (char)(arg1)->get_miss_ch();
43360 _outv = SWIG_From_char((char)(result));
43361 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
43367 static swig_octave_member swig_CvMLData_members[] = {
43368 {"read_csv",_wrap_CvMLData_read_csv,0,0,0,0},
43369 {"get_values",_wrap_CvMLData_get_values,0,0,0,0},
43370 {"get_responses",_wrap_CvMLData_get_responses,0,0,0,0},
43371 {"get_missing",_wrap_CvMLData_get_missing,0,0,0,0},
43372 {"set_response_idx",_wrap_CvMLData_set_response_idx,0,0,0,0},
43373 {"get_response_idx",_wrap_CvMLData_get_response_idx,0,0,0,0},
43374 {"get_train_sample_idx",_wrap_CvMLData_get_train_sample_idx,0,0,0,0},
43375 {"get_test_sample_idx",_wrap_CvMLData_get_test_sample_idx,0,0,0,0},
43376 {"mix_train_and_test_idx",_wrap_CvMLData_mix_train_and_test_idx,0,0,0,0},
43377 {"set_train_test_split",_wrap_CvMLData_set_train_test_split,0,0,0,0},
43378 {"get_var_idx",_wrap_CvMLData_get_var_idx,0,0,0,0},
43379 {"chahge_var_idx",_wrap_CvMLData_chahge_var_idx,0,0,0,0},
43380 {"get_var_types",_wrap_CvMLData_get_var_types,0,0,0,0},
43381 {"get_var_type",_wrap_CvMLData_get_var_type,0,0,0,0},
43382 {"set_var_types",_wrap_CvMLData_set_var_types,0,0,0,0},
43383 {"change_var_type",_wrap_CvMLData_change_var_type,0,0,0,0},
43384 {"set_delimiter",_wrap_CvMLData_set_delimiter,0,0,0,0},
43385 {"get_delimiter",_wrap_CvMLData_get_delimiter,0,0,0,0},
43386 {"set_miss_ch",_wrap_CvMLData_set_miss_ch,0,0,0,0},
43387 {"get_miss_ch",_wrap_CvMLData_get_miss_ch,0,0,0,0},
43390 static const char *swig_CvMLData_base_names[] = {0};
43391 static const swig_type_info *swig_CvMLData_base[] = {0};
43392 static swig_octave_class _wrap_class_CvMLData = {"CvMLData", &SWIGTYPE_p_CvMLData,0,_wrap_new_CvMLData,0,_wrap_delete_CvMLData,swig_CvMLData_members,swig_CvMLData_base_names,swig_CvMLData_base };
43395 static const struct swig_octave_member swig_globals[] = {
43396 {"new_CvRNG_Wrapper",_wrap_new_CvRNG_Wrapper,0,0,2,0},
43397 {"CvRNG_Wrapper_ptr",_wrap_CvRNG_Wrapper_ptr,0,0,2,0},
43398 {"CvRNG_Wrapper_ref",_wrap_CvRNG_Wrapper_ref,0,0,2,0},
43399 {"CvRNG_Wrapper___eq__",_wrap_CvRNG_Wrapper___eq__,0,0,2,0},
43400 {"CvRNG_Wrapper___ne__",_wrap_CvRNG_Wrapper___ne__,0,0,2,0},
43401 {"delete_CvRNG_Wrapper",_wrap_delete_CvRNG_Wrapper,0,0,2,0},
43402 {"new_CvSubdiv2DEdge_Wrapper",_wrap_new_CvSubdiv2DEdge_Wrapper,0,0,2,0},
43403 {"CvSubdiv2DEdge_Wrapper_ptr",_wrap_CvSubdiv2DEdge_Wrapper_ptr,0,0,2,0},
43404 {"CvSubdiv2DEdge_Wrapper_ref",_wrap_CvSubdiv2DEdge_Wrapper_ref,0,0,2,0},
43405 {"CvSubdiv2DEdge_Wrapper___eq__",_wrap_CvSubdiv2DEdge_Wrapper___eq__,0,0,2,0},
43406 {"CvSubdiv2DEdge_Wrapper___ne__",_wrap_CvSubdiv2DEdge_Wrapper___ne__,0,0,2,0},
43407 {"delete_CvSubdiv2DEdge_Wrapper",_wrap_delete_CvSubdiv2DEdge_Wrapper,0,0,2,0},
43408 {"CvVectors_type_set",_wrap_CvVectors_type_set,0,0,2,0},
43409 {"CvVectors_type_get",_wrap_CvVectors_type_get,0,0,2,0},
43410 {"CvVectors_dims_set",_wrap_CvVectors_dims_set,0,0,2,0},
43411 {"CvVectors_dims_get",_wrap_CvVectors_dims_get,0,0,2,0},
43412 {"CvVectors_count_set",_wrap_CvVectors_count_set,0,0,2,0},
43413 {"CvVectors_count_get",_wrap_CvVectors_count_get,0,0,2,0},
43414 {"CvVectors_next_set",_wrap_CvVectors_next_set,0,0,2,0},
43415 {"CvVectors_next_get",_wrap_CvVectors_next_get,0,0,2,0},
43416 {"CvVectors_data_get",_wrap_CvVectors_data_get,0,0,2,0},
43417 {"new_CvVectors",_wrap_new_CvVectors,0,0,2,0},
43418 {"delete_CvVectors",_wrap_delete_CvVectors,0,0,2,0},
43419 {"CvVectors_data_ptr_set",_wrap_CvVectors_data_ptr_set,0,0,2,0},
43420 {"CvVectors_data_ptr_get",_wrap_CvVectors_data_ptr_get,0,0,2,0},
43421 {"CvVectors_data_fl_set",_wrap_CvVectors_data_fl_set,0,0,2,0},
43422 {"CvVectors_data_fl_get",_wrap_CvVectors_data_fl_get,0,0,2,0},
43423 {"CvVectors_data_db_set",_wrap_CvVectors_data_db_set,0,0,2,0},
43424 {"CvVectors_data_db_get",_wrap_CvVectors_data_db_get,0,0,2,0},
43425 {"new_CvVectors_data",_wrap_new_CvVectors_data,0,0,2,0},
43426 {"delete_CvVectors_data",_wrap_delete_CvVectors_data,0,0,2,0},
43427 {"new_CvStatModel",_wrap_new_CvStatModel,0,0,2,0},
43428 {"delete_CvStatModel",_wrap_delete_CvStatModel,0,0,2,0},
43429 {"CvStatModel_clear",_wrap_CvStatModel_clear,0,0,2,0},
43430 {"CvStatModel_save",_wrap_CvStatModel_save,0,0,2,0},
43431 {"CvStatModel_load",_wrap_CvStatModel_load,0,0,2,0},
43432 {"CvStatModel_write",_wrap_CvStatModel_write,0,0,2,0},
43433 {"CvStatModel_read",_wrap_CvStatModel_read,0,0,2,0},
43434 {"new_CvParamGrid",_wrap_new_CvParamGrid,0,0,2,0},
43435 {"CvParamGrid_check",_wrap_CvParamGrid_check,0,0,2,0},
43436 {"CvParamGrid_min_val_set",_wrap_CvParamGrid_min_val_set,0,0,2,0},
43437 {"CvParamGrid_min_val_get",_wrap_CvParamGrid_min_val_get,0,0,2,0},
43438 {"CvParamGrid_max_val_set",_wrap_CvParamGrid_max_val_set,0,0,2,0},
43439 {"CvParamGrid_max_val_get",_wrap_CvParamGrid_max_val_get,0,0,2,0},
43440 {"CvParamGrid_step_set",_wrap_CvParamGrid_step_set,0,0,2,0},
43441 {"CvParamGrid_step_get",_wrap_CvParamGrid_step_get,0,0,2,0},
43442 {"delete_CvParamGrid",_wrap_delete_CvParamGrid,0,0,2,0},
43443 {"delete_CvNormalBayesClassifier",_wrap_delete_CvNormalBayesClassifier,0,0,2,0},
43444 {"new_CvNormalBayesClassifier",_wrap_new_CvNormalBayesClassifier,0,0,2,0},
43445 {"CvNormalBayesClassifier_train",_wrap_CvNormalBayesClassifier_train,0,0,2,0},
43446 {"CvNormalBayesClassifier_predict",_wrap_CvNormalBayesClassifier_predict,0,0,2,0},
43447 {"CvNormalBayesClassifier_clear",_wrap_CvNormalBayesClassifier_clear,0,0,2,0},
43448 {"CvNormalBayesClassifier_write",_wrap_CvNormalBayesClassifier_write,0,0,2,0},
43449 {"CvNormalBayesClassifier_read",_wrap_CvNormalBayesClassifier_read,0,0,2,0},
43450 {"delete_CvKNearest",_wrap_delete_CvKNearest,0,0,2,0},
43451 {"new_CvKNearest",_wrap_new_CvKNearest,0,0,2,0},
43452 {"CvKNearest_train",_wrap_CvKNearest_train,0,0,2,0},
43453 {"CvKNearest_find_nearest",_wrap_CvKNearest_find_nearest,0,0,2,0},
43454 {"CvKNearest_clear",_wrap_CvKNearest_clear,0,0,2,0},
43455 {"CvKNearest_get_max_k",_wrap_CvKNearest_get_max_k,0,0,2,0},
43456 {"CvKNearest_get_var_count",_wrap_CvKNearest_get_var_count,0,0,2,0},
43457 {"CvKNearest_get_sample_count",_wrap_CvKNearest_get_sample_count,0,0,2,0},
43458 {"CvKNearest_is_regression",_wrap_CvKNearest_is_regression,0,0,2,0},
43459 {"new_CvSVMParams",_wrap_new_CvSVMParams,0,0,2,0},
43460 {"CvSVMParams_svm_type_set",_wrap_CvSVMParams_svm_type_set,0,0,2,0},
43461 {"CvSVMParams_svm_type_get",_wrap_CvSVMParams_svm_type_get,0,0,2,0},
43462 {"CvSVMParams_kernel_type_set",_wrap_CvSVMParams_kernel_type_set,0,0,2,0},
43463 {"CvSVMParams_kernel_type_get",_wrap_CvSVMParams_kernel_type_get,0,0,2,0},
43464 {"CvSVMParams_degree_set",_wrap_CvSVMParams_degree_set,0,0,2,0},
43465 {"CvSVMParams_degree_get",_wrap_CvSVMParams_degree_get,0,0,2,0},
43466 {"CvSVMParams_gamma_set",_wrap_CvSVMParams_gamma_set,0,0,2,0},
43467 {"CvSVMParams_gamma_get",_wrap_CvSVMParams_gamma_get,0,0,2,0},
43468 {"CvSVMParams_coef0_set",_wrap_CvSVMParams_coef0_set,0,0,2,0},
43469 {"CvSVMParams_coef0_get",_wrap_CvSVMParams_coef0_get,0,0,2,0},
43470 {"CvSVMParams_C_set",_wrap_CvSVMParams_C_set,0,0,2,0},
43471 {"CvSVMParams_C_get",_wrap_CvSVMParams_C_get,0,0,2,0},
43472 {"CvSVMParams_nu_set",_wrap_CvSVMParams_nu_set,0,0,2,0},
43473 {"CvSVMParams_nu_get",_wrap_CvSVMParams_nu_get,0,0,2,0},
43474 {"CvSVMParams_p_set",_wrap_CvSVMParams_p_set,0,0,2,0},
43475 {"CvSVMParams_p_get",_wrap_CvSVMParams_p_get,0,0,2,0},
43476 {"CvSVMParams_class_weights_set",_wrap_CvSVMParams_class_weights_set,0,0,2,0},
43477 {"CvSVMParams_class_weights_get",_wrap_CvSVMParams_class_weights_get,0,0,2,0},
43478 {"CvSVMParams_term_crit_set",_wrap_CvSVMParams_term_crit_set,0,0,2,0},
43479 {"CvSVMParams_term_crit_get",_wrap_CvSVMParams_term_crit_get,0,0,2,0},
43480 {"delete_CvSVMParams",_wrap_delete_CvSVMParams,0,0,2,0},
43481 {"new_CvSVMKernel",_wrap_new_CvSVMKernel,0,0,2,0},
43482 {"CvSVMKernel_create",_wrap_CvSVMKernel_create,0,0,2,0},
43483 {"delete_CvSVMKernel",_wrap_delete_CvSVMKernel,0,0,2,0},
43484 {"CvSVMKernel_clear",_wrap_CvSVMKernel_clear,0,0,2,0},
43485 {"CvSVMKernel_calc",_wrap_CvSVMKernel_calc,0,0,2,0},
43486 {"CvSVMKernel_params_set",_wrap_CvSVMKernel_params_set,0,0,2,0},
43487 {"CvSVMKernel_params_get",_wrap_CvSVMKernel_params_get,0,0,2,0},
43488 {"CvSVMKernel_calc_func_set",_wrap_CvSVMKernel_calc_func_set,0,0,2,0},
43489 {"CvSVMKernel_calc_func_get",_wrap_CvSVMKernel_calc_func_get,0,0,2,0},
43490 {"CvSVMKernel_calc_non_rbf_base",_wrap_CvSVMKernel_calc_non_rbf_base,0,0,2,0},
43491 {"CvSVMKernel_calc_linear",_wrap_CvSVMKernel_calc_linear,0,0,2,0},
43492 {"CvSVMKernel_calc_rbf",_wrap_CvSVMKernel_calc_rbf,0,0,2,0},
43493 {"CvSVMKernel_calc_poly",_wrap_CvSVMKernel_calc_poly,0,0,2,0},
43494 {"CvSVMKernel_calc_sigmoid",_wrap_CvSVMKernel_calc_sigmoid,0,0,2,0},
43495 {"CvSVMKernelRow_prev_set",_wrap_CvSVMKernelRow_prev_set,0,0,2,0},
43496 {"CvSVMKernelRow_prev_get",_wrap_CvSVMKernelRow_prev_get,0,0,2,0},
43497 {"CvSVMKernelRow_next_set",_wrap_CvSVMKernelRow_next_set,0,0,2,0},
43498 {"CvSVMKernelRow_next_get",_wrap_CvSVMKernelRow_next_get,0,0,2,0},
43499 {"CvSVMKernelRow_data_set",_wrap_CvSVMKernelRow_data_set,0,0,2,0},
43500 {"CvSVMKernelRow_data_get",_wrap_CvSVMKernelRow_data_get,0,0,2,0},
43501 {"new_CvSVMKernelRow",_wrap_new_CvSVMKernelRow,0,0,2,0},
43502 {"delete_CvSVMKernelRow",_wrap_delete_CvSVMKernelRow,0,0,2,0},
43503 {"CvSVMSolutionInfo_obj_set",_wrap_CvSVMSolutionInfo_obj_set,0,0,2,0},
43504 {"CvSVMSolutionInfo_obj_get",_wrap_CvSVMSolutionInfo_obj_get,0,0,2,0},
43505 {"CvSVMSolutionInfo_rho_set",_wrap_CvSVMSolutionInfo_rho_set,0,0,2,0},
43506 {"CvSVMSolutionInfo_rho_get",_wrap_CvSVMSolutionInfo_rho_get,0,0,2,0},
43507 {"CvSVMSolutionInfo_upper_bound_p_set",_wrap_CvSVMSolutionInfo_upper_bound_p_set,0,0,2,0},
43508 {"CvSVMSolutionInfo_upper_bound_p_get",_wrap_CvSVMSolutionInfo_upper_bound_p_get,0,0,2,0},
43509 {"CvSVMSolutionInfo_upper_bound_n_set",_wrap_CvSVMSolutionInfo_upper_bound_n_set,0,0,2,0},
43510 {"CvSVMSolutionInfo_upper_bound_n_get",_wrap_CvSVMSolutionInfo_upper_bound_n_get,0,0,2,0},
43511 {"CvSVMSolutionInfo_r_set",_wrap_CvSVMSolutionInfo_r_set,0,0,2,0},
43512 {"CvSVMSolutionInfo_r_get",_wrap_CvSVMSolutionInfo_r_get,0,0,2,0},
43513 {"new_CvSVMSolutionInfo",_wrap_new_CvSVMSolutionInfo,0,0,2,0},
43514 {"delete_CvSVMSolutionInfo",_wrap_delete_CvSVMSolutionInfo,0,0,2,0},
43515 {"new_CvSVMSolver",_wrap_new_CvSVMSolver,0,0,2,0},
43516 {"CvSVMSolver_create",_wrap_CvSVMSolver_create,0,0,2,0},
43517 {"delete_CvSVMSolver",_wrap_delete_CvSVMSolver,0,0,2,0},
43518 {"CvSVMSolver_clear",_wrap_CvSVMSolver_clear,0,0,2,0},
43519 {"CvSVMSolver_solve_generic",_wrap_CvSVMSolver_solve_generic,0,0,2,0},
43520 {"CvSVMSolver_solve_c_svc",_wrap_CvSVMSolver_solve_c_svc,0,0,2,0},
43521 {"CvSVMSolver_solve_nu_svc",_wrap_CvSVMSolver_solve_nu_svc,0,0,2,0},
43522 {"CvSVMSolver_solve_one_class",_wrap_CvSVMSolver_solve_one_class,0,0,2,0},
43523 {"CvSVMSolver_solve_eps_svr",_wrap_CvSVMSolver_solve_eps_svr,0,0,2,0},
43524 {"CvSVMSolver_solve_nu_svr",_wrap_CvSVMSolver_solve_nu_svr,0,0,2,0},
43525 {"CvSVMSolver_get_row_base",_wrap_CvSVMSolver_get_row_base,0,0,2,0},
43526 {"CvSVMSolver_get_row",_wrap_CvSVMSolver_get_row,0,0,2,0},
43527 {"CvSVMSolver_sample_count_set",_wrap_CvSVMSolver_sample_count_set,0,0,2,0},
43528 {"CvSVMSolver_sample_count_get",_wrap_CvSVMSolver_sample_count_get,0,0,2,0},
43529 {"CvSVMSolver_var_count_set",_wrap_CvSVMSolver_var_count_set,0,0,2,0},
43530 {"CvSVMSolver_var_count_get",_wrap_CvSVMSolver_var_count_get,0,0,2,0},
43531 {"CvSVMSolver_cache_size_set",_wrap_CvSVMSolver_cache_size_set,0,0,2,0},
43532 {"CvSVMSolver_cache_size_get",_wrap_CvSVMSolver_cache_size_get,0,0,2,0},
43533 {"CvSVMSolver_cache_line_size_set",_wrap_CvSVMSolver_cache_line_size_set,0,0,2,0},
43534 {"CvSVMSolver_cache_line_size_get",_wrap_CvSVMSolver_cache_line_size_get,0,0,2,0},
43535 {"CvSVMSolver_samples_set",_wrap_CvSVMSolver_samples_set,0,0,2,0},
43536 {"CvSVMSolver_samples_get",_wrap_CvSVMSolver_samples_get,0,0,2,0},
43537 {"CvSVMSolver_params_set",_wrap_CvSVMSolver_params_set,0,0,2,0},
43538 {"CvSVMSolver_params_get",_wrap_CvSVMSolver_params_get,0,0,2,0},
43539 {"CvSVMSolver_storage_set",_wrap_CvSVMSolver_storage_set,0,0,2,0},
43540 {"CvSVMSolver_storage_get",_wrap_CvSVMSolver_storage_get,0,0,2,0},
43541 {"CvSVMSolver_lru_list_set",_wrap_CvSVMSolver_lru_list_set,0,0,2,0},
43542 {"CvSVMSolver_lru_list_get",_wrap_CvSVMSolver_lru_list_get,0,0,2,0},
43543 {"CvSVMSolver_rows_set",_wrap_CvSVMSolver_rows_set,0,0,2,0},
43544 {"CvSVMSolver_rows_get",_wrap_CvSVMSolver_rows_get,0,0,2,0},
43545 {"CvSVMSolver_alpha_count_set",_wrap_CvSVMSolver_alpha_count_set,0,0,2,0},
43546 {"CvSVMSolver_alpha_count_get",_wrap_CvSVMSolver_alpha_count_get,0,0,2,0},
43547 {"CvSVMSolver_G_set",_wrap_CvSVMSolver_G_set,0,0,2,0},
43548 {"CvSVMSolver_G_get",_wrap_CvSVMSolver_G_get,0,0,2,0},
43549 {"CvSVMSolver_alpha_set",_wrap_CvSVMSolver_alpha_set,0,0,2,0},
43550 {"CvSVMSolver_alpha_get",_wrap_CvSVMSolver_alpha_get,0,0,2,0},
43551 {"CvSVMSolver_alpha_status_set",_wrap_CvSVMSolver_alpha_status_set,0,0,2,0},
43552 {"CvSVMSolver_alpha_status_get",_wrap_CvSVMSolver_alpha_status_get,0,0,2,0},
43553 {"CvSVMSolver_y_set",_wrap_CvSVMSolver_y_set,0,0,2,0},
43554 {"CvSVMSolver_y_get",_wrap_CvSVMSolver_y_get,0,0,2,0},
43555 {"CvSVMSolver_b_set",_wrap_CvSVMSolver_b_set,0,0,2,0},
43556 {"CvSVMSolver_b_get",_wrap_CvSVMSolver_b_get,0,0,2,0},
43557 {"CvSVMSolver_buf_set",_wrap_CvSVMSolver_buf_set,0,0,2,0},
43558 {"CvSVMSolver_buf_get",_wrap_CvSVMSolver_buf_get,0,0,2,0},
43559 {"CvSVMSolver_eps_set",_wrap_CvSVMSolver_eps_set,0,0,2,0},
43560 {"CvSVMSolver_eps_get",_wrap_CvSVMSolver_eps_get,0,0,2,0},
43561 {"CvSVMSolver_max_iter_set",_wrap_CvSVMSolver_max_iter_set,0,0,2,0},
43562 {"CvSVMSolver_max_iter_get",_wrap_CvSVMSolver_max_iter_get,0,0,2,0},
43563 {"CvSVMSolver_C_set",_wrap_CvSVMSolver_C_set,0,0,2,0},
43564 {"CvSVMSolver_C_get",_wrap_CvSVMSolver_C_get,0,0,2,0},
43565 {"CvSVMSolver_kernel_set",_wrap_CvSVMSolver_kernel_set,0,0,2,0},
43566 {"CvSVMSolver_kernel_get",_wrap_CvSVMSolver_kernel_get,0,0,2,0},
43567 {"CvSVMSolver_select_working_set_func_set",_wrap_CvSVMSolver_select_working_set_func_set,0,0,2,0},
43568 {"CvSVMSolver_select_working_set_func_get",_wrap_CvSVMSolver_select_working_set_func_get,0,0,2,0},
43569 {"CvSVMSolver_calc_rho_func_set",_wrap_CvSVMSolver_calc_rho_func_set,0,0,2,0},
43570 {"CvSVMSolver_calc_rho_func_get",_wrap_CvSVMSolver_calc_rho_func_get,0,0,2,0},
43571 {"CvSVMSolver_get_row_func_set",_wrap_CvSVMSolver_get_row_func_set,0,0,2,0},
43572 {"CvSVMSolver_get_row_func_get",_wrap_CvSVMSolver_get_row_func_get,0,0,2,0},
43573 {"CvSVMSolver_select_working_set",_wrap_CvSVMSolver_select_working_set,0,0,2,0},
43574 {"CvSVMSolver_select_working_set_nu_svm",_wrap_CvSVMSolver_select_working_set_nu_svm,0,0,2,0},
43575 {"CvSVMSolver_calc_rho",_wrap_CvSVMSolver_calc_rho,0,0,2,0},
43576 {"CvSVMSolver_calc_rho_nu_svm",_wrap_CvSVMSolver_calc_rho_nu_svm,0,0,2,0},
43577 {"CvSVMSolver_get_row_svc",_wrap_CvSVMSolver_get_row_svc,0,0,2,0},
43578 {"CvSVMSolver_get_row_one_class",_wrap_CvSVMSolver_get_row_one_class,0,0,2,0},
43579 {"CvSVMSolver_get_row_svr",_wrap_CvSVMSolver_get_row_svr,0,0,2,0},
43580 {"CvSVMDecisionFunc_rho_set",_wrap_CvSVMDecisionFunc_rho_set,0,0,2,0},
43581 {"CvSVMDecisionFunc_rho_get",_wrap_CvSVMDecisionFunc_rho_get,0,0,2,0},
43582 {"CvSVMDecisionFunc_sv_count_set",_wrap_CvSVMDecisionFunc_sv_count_set,0,0,2,0},
43583 {"CvSVMDecisionFunc_sv_count_get",_wrap_CvSVMDecisionFunc_sv_count_get,0,0,2,0},
43584 {"CvSVMDecisionFunc_alpha_set",_wrap_CvSVMDecisionFunc_alpha_set,0,0,2,0},
43585 {"CvSVMDecisionFunc_alpha_get",_wrap_CvSVMDecisionFunc_alpha_get,0,0,2,0},
43586 {"CvSVMDecisionFunc_sv_index_set",_wrap_CvSVMDecisionFunc_sv_index_set,0,0,2,0},
43587 {"CvSVMDecisionFunc_sv_index_get",_wrap_CvSVMDecisionFunc_sv_index_get,0,0,2,0},
43588 {"new_CvSVMDecisionFunc",_wrap_new_CvSVMDecisionFunc,0,0,2,0},
43589 {"delete_CvSVMDecisionFunc",_wrap_delete_CvSVMDecisionFunc,0,0,2,0},
43590 {"delete_CvSVM",_wrap_delete_CvSVM,0,0,2,0},
43591 {"new_CvSVM",_wrap_new_CvSVM,0,0,2,0},
43592 {"CvSVM_train",_wrap_CvSVM_train,0,0,2,0},
43593 {"CvSVM_train_auto",_wrap_CvSVM_train_auto,0,0,2,0},
43594 {"CvSVM_predict",_wrap_CvSVM_predict,0,0,2,0},
43595 {"CvSVM_get_support_vector_count",_wrap_CvSVM_get_support_vector_count,0,0,2,0},
43596 {"CvSVM_get_support_vector",_wrap_CvSVM_get_support_vector,0,0,2,0},
43597 {"CvSVM_get_params",_wrap_CvSVM_get_params,0,0,2,0},
43598 {"CvSVM_clear",_wrap_CvSVM_clear,0,0,2,0},
43599 {"CvSVM_get_default_grid",_wrap_CvSVM_get_default_grid,0,0,2,0},
43600 {"CvSVM_write",_wrap_CvSVM_write,0,0,2,0},
43601 {"CvSVM_read",_wrap_CvSVM_read,0,0,2,0},
43602 {"CvSVM_get_var_count",_wrap_CvSVM_get_var_count,0,0,2,0},
43603 {"new_CvEMParams",_wrap_new_CvEMParams,0,0,2,0},
43604 {"CvEMParams_nclusters_set",_wrap_CvEMParams_nclusters_set,0,0,2,0},
43605 {"CvEMParams_nclusters_get",_wrap_CvEMParams_nclusters_get,0,0,2,0},
43606 {"CvEMParams_cov_mat_type_set",_wrap_CvEMParams_cov_mat_type_set,0,0,2,0},
43607 {"CvEMParams_cov_mat_type_get",_wrap_CvEMParams_cov_mat_type_get,0,0,2,0},
43608 {"CvEMParams_start_step_set",_wrap_CvEMParams_start_step_set,0,0,2,0},
43609 {"CvEMParams_start_step_get",_wrap_CvEMParams_start_step_get,0,0,2,0},
43610 {"CvEMParams_probs_set",_wrap_CvEMParams_probs_set,0,0,2,0},
43611 {"CvEMParams_probs_get",_wrap_CvEMParams_probs_get,0,0,2,0},
43612 {"CvEMParams_weights_set",_wrap_CvEMParams_weights_set,0,0,2,0},
43613 {"CvEMParams_weights_get",_wrap_CvEMParams_weights_get,0,0,2,0},
43614 {"CvEMParams_means_set",_wrap_CvEMParams_means_set,0,0,2,0},
43615 {"CvEMParams_means_get",_wrap_CvEMParams_means_get,0,0,2,0},
43616 {"CvEMParams_covs_set",_wrap_CvEMParams_covs_set,0,0,2,0},
43617 {"CvEMParams_covs_get",_wrap_CvEMParams_covs_get,0,0,2,0},
43618 {"CvEMParams_term_crit_set",_wrap_CvEMParams_term_crit_set,0,0,2,0},
43619 {"CvEMParams_term_crit_get",_wrap_CvEMParams_term_crit_get,0,0,2,0},
43620 {"delete_CvEMParams",_wrap_delete_CvEMParams,0,0,2,0},
43621 {"new_CvEM",_wrap_new_CvEM,0,0,2,0},
43622 {"delete_CvEM",_wrap_delete_CvEM,0,0,2,0},
43623 {"CvEM_train",_wrap_CvEM_train,0,0,2,0},
43624 {"CvEM_predict",_wrap_CvEM_predict,0,0,2,0},
43625 {"CvEM_clear",_wrap_CvEM_clear,0,0,2,0},
43626 {"CvEM_get_nclusters",_wrap_CvEM_get_nclusters,0,0,2,0},
43627 {"CvEM_get_means",_wrap_CvEM_get_means,0,0,2,0},
43628 {"CvEM_get_weights",_wrap_CvEM_get_weights,0,0,2,0},
43629 {"CvEM_get_probs",_wrap_CvEM_get_probs,0,0,2,0},
43630 {"CvEM_get_log_likelihood",_wrap_CvEM_get_log_likelihood,0,0,2,0},
43631 {"CvEM_get_covs",_wrap_CvEM_get_covs,0,0,2,0},
43632 {"CvPair16u32s_u_set",_wrap_CvPair16u32s_u_set,0,0,2,0},
43633 {"CvPair16u32s_u_get",_wrap_CvPair16u32s_u_get,0,0,2,0},
43634 {"CvPair16u32s_i_set",_wrap_CvPair16u32s_i_set,0,0,2,0},
43635 {"CvPair16u32s_i_get",_wrap_CvPair16u32s_i_get,0,0,2,0},
43636 {"new_CvPair16u32s",_wrap_new_CvPair16u32s,0,0,2,0},
43637 {"delete_CvPair16u32s",_wrap_delete_CvPair16u32s,0,0,2,0},
43638 {"CvDTreeSplit_var_idx_set",_wrap_CvDTreeSplit_var_idx_set,0,0,2,0},
43639 {"CvDTreeSplit_var_idx_get",_wrap_CvDTreeSplit_var_idx_get,0,0,2,0},
43640 {"CvDTreeSplit_condensed_idx_set",_wrap_CvDTreeSplit_condensed_idx_set,0,0,2,0},
43641 {"CvDTreeSplit_condensed_idx_get",_wrap_CvDTreeSplit_condensed_idx_get,0,0,2,0},
43642 {"CvDTreeSplit_inversed_set",_wrap_CvDTreeSplit_inversed_set,0,0,2,0},
43643 {"CvDTreeSplit_inversed_get",_wrap_CvDTreeSplit_inversed_get,0,0,2,0},
43644 {"CvDTreeSplit_quality_set",_wrap_CvDTreeSplit_quality_set,0,0,2,0},
43645 {"CvDTreeSplit_quality_get",_wrap_CvDTreeSplit_quality_get,0,0,2,0},
43646 {"CvDTreeSplit_next_set",_wrap_CvDTreeSplit_next_set,0,0,2,0},
43647 {"CvDTreeSplit_next_get",_wrap_CvDTreeSplit_next_get,0,0,2,0},
43648 {"new_CvDTreeSplit",_wrap_new_CvDTreeSplit,0,0,2,0},
43649 {"delete_CvDTreeSplit",_wrap_delete_CvDTreeSplit,0,0,2,0},
43650 {"CvDTreeNode_class_idx_set",_wrap_CvDTreeNode_class_idx_set,0,0,2,0},
43651 {"CvDTreeNode_class_idx_get",_wrap_CvDTreeNode_class_idx_get,0,0,2,0},
43652 {"CvDTreeNode_Tn_set",_wrap_CvDTreeNode_Tn_set,0,0,2,0},
43653 {"CvDTreeNode_Tn_get",_wrap_CvDTreeNode_Tn_get,0,0,2,0},
43654 {"CvDTreeNode_value_set",_wrap_CvDTreeNode_value_set,0,0,2,0},
43655 {"CvDTreeNode_value_get",_wrap_CvDTreeNode_value_get,0,0,2,0},
43656 {"CvDTreeNode_parent_set",_wrap_CvDTreeNode_parent_set,0,0,2,0},
43657 {"CvDTreeNode_parent_get",_wrap_CvDTreeNode_parent_get,0,0,2,0},
43658 {"CvDTreeNode_left_set",_wrap_CvDTreeNode_left_set,0,0,2,0},
43659 {"CvDTreeNode_left_get",_wrap_CvDTreeNode_left_get,0,0,2,0},
43660 {"CvDTreeNode_right_set",_wrap_CvDTreeNode_right_set,0,0,2,0},
43661 {"CvDTreeNode_right_get",_wrap_CvDTreeNode_right_get,0,0,2,0},
43662 {"CvDTreeNode_split_set",_wrap_CvDTreeNode_split_set,0,0,2,0},
43663 {"CvDTreeNode_split_get",_wrap_CvDTreeNode_split_get,0,0,2,0},
43664 {"CvDTreeNode_sample_count_set",_wrap_CvDTreeNode_sample_count_set,0,0,2,0},
43665 {"CvDTreeNode_sample_count_get",_wrap_CvDTreeNode_sample_count_get,0,0,2,0},
43666 {"CvDTreeNode_depth_set",_wrap_CvDTreeNode_depth_set,0,0,2,0},
43667 {"CvDTreeNode_depth_get",_wrap_CvDTreeNode_depth_get,0,0,2,0},
43668 {"CvDTreeNode_num_valid_set",_wrap_CvDTreeNode_num_valid_set,0,0,2,0},
43669 {"CvDTreeNode_num_valid_get",_wrap_CvDTreeNode_num_valid_get,0,0,2,0},
43670 {"CvDTreeNode_offset_set",_wrap_CvDTreeNode_offset_set,0,0,2,0},
43671 {"CvDTreeNode_offset_get",_wrap_CvDTreeNode_offset_get,0,0,2,0},
43672 {"CvDTreeNode_buf_idx_set",_wrap_CvDTreeNode_buf_idx_set,0,0,2,0},
43673 {"CvDTreeNode_buf_idx_get",_wrap_CvDTreeNode_buf_idx_get,0,0,2,0},
43674 {"CvDTreeNode_maxlr_set",_wrap_CvDTreeNode_maxlr_set,0,0,2,0},
43675 {"CvDTreeNode_maxlr_get",_wrap_CvDTreeNode_maxlr_get,0,0,2,0},
43676 {"CvDTreeNode_complexity_set",_wrap_CvDTreeNode_complexity_set,0,0,2,0},
43677 {"CvDTreeNode_complexity_get",_wrap_CvDTreeNode_complexity_get,0,0,2,0},
43678 {"CvDTreeNode_alpha_set",_wrap_CvDTreeNode_alpha_set,0,0,2,0},
43679 {"CvDTreeNode_alpha_get",_wrap_CvDTreeNode_alpha_get,0,0,2,0},
43680 {"CvDTreeNode_node_risk_set",_wrap_CvDTreeNode_node_risk_set,0,0,2,0},
43681 {"CvDTreeNode_node_risk_get",_wrap_CvDTreeNode_node_risk_get,0,0,2,0},
43682 {"CvDTreeNode_tree_risk_set",_wrap_CvDTreeNode_tree_risk_set,0,0,2,0},
43683 {"CvDTreeNode_tree_risk_get",_wrap_CvDTreeNode_tree_risk_get,0,0,2,0},
43684 {"CvDTreeNode_tree_error_set",_wrap_CvDTreeNode_tree_error_set,0,0,2,0},
43685 {"CvDTreeNode_tree_error_get",_wrap_CvDTreeNode_tree_error_get,0,0,2,0},
43686 {"CvDTreeNode_cv_Tn_set",_wrap_CvDTreeNode_cv_Tn_set,0,0,2,0},
43687 {"CvDTreeNode_cv_Tn_get",_wrap_CvDTreeNode_cv_Tn_get,0,0,2,0},
43688 {"CvDTreeNode_cv_node_risk_set",_wrap_CvDTreeNode_cv_node_risk_set,0,0,2,0},
43689 {"CvDTreeNode_cv_node_risk_get",_wrap_CvDTreeNode_cv_node_risk_get,0,0,2,0},
43690 {"CvDTreeNode_cv_node_error_set",_wrap_CvDTreeNode_cv_node_error_set,0,0,2,0},
43691 {"CvDTreeNode_cv_node_error_get",_wrap_CvDTreeNode_cv_node_error_get,0,0,2,0},
43692 {"CvDTreeNode_get_num_valid",_wrap_CvDTreeNode_get_num_valid,0,0,2,0},
43693 {"CvDTreeNode_set_num_valid",_wrap_CvDTreeNode_set_num_valid,0,0,2,0},
43694 {"new_CvDTreeNode",_wrap_new_CvDTreeNode,0,0,2,0},
43695 {"delete_CvDTreeNode",_wrap_delete_CvDTreeNode,0,0,2,0},
43696 {"CvDTreeParams_max_categories_set",_wrap_CvDTreeParams_max_categories_set,0,0,2,0},
43697 {"CvDTreeParams_max_categories_get",_wrap_CvDTreeParams_max_categories_get,0,0,2,0},
43698 {"CvDTreeParams_max_depth_set",_wrap_CvDTreeParams_max_depth_set,0,0,2,0},
43699 {"CvDTreeParams_max_depth_get",_wrap_CvDTreeParams_max_depth_get,0,0,2,0},
43700 {"CvDTreeParams_min_sample_count_set",_wrap_CvDTreeParams_min_sample_count_set,0,0,2,0},
43701 {"CvDTreeParams_min_sample_count_get",_wrap_CvDTreeParams_min_sample_count_get,0,0,2,0},
43702 {"CvDTreeParams_cv_folds_set",_wrap_CvDTreeParams_cv_folds_set,0,0,2,0},
43703 {"CvDTreeParams_cv_folds_get",_wrap_CvDTreeParams_cv_folds_get,0,0,2,0},
43704 {"CvDTreeParams_use_surrogates_set",_wrap_CvDTreeParams_use_surrogates_set,0,0,2,0},
43705 {"CvDTreeParams_use_surrogates_get",_wrap_CvDTreeParams_use_surrogates_get,0,0,2,0},
43706 {"CvDTreeParams_use_1se_rule_set",_wrap_CvDTreeParams_use_1se_rule_set,0,0,2,0},
43707 {"CvDTreeParams_use_1se_rule_get",_wrap_CvDTreeParams_use_1se_rule_get,0,0,2,0},
43708 {"CvDTreeParams_truncate_pruned_tree_set",_wrap_CvDTreeParams_truncate_pruned_tree_set,0,0,2,0},
43709 {"CvDTreeParams_truncate_pruned_tree_get",_wrap_CvDTreeParams_truncate_pruned_tree_get,0,0,2,0},
43710 {"CvDTreeParams_regression_accuracy_set",_wrap_CvDTreeParams_regression_accuracy_set,0,0,2,0},
43711 {"CvDTreeParams_regression_accuracy_get",_wrap_CvDTreeParams_regression_accuracy_get,0,0,2,0},
43712 {"CvDTreeParams_priors_set",_wrap_CvDTreeParams_priors_set,0,0,2,0},
43713 {"CvDTreeParams_priors_get",_wrap_CvDTreeParams_priors_get,0,0,2,0},
43714 {"new_CvDTreeParams",_wrap_new_CvDTreeParams,0,0,2,0},
43715 {"delete_CvDTreeParams",_wrap_delete_CvDTreeParams,0,0,2,0},
43716 {"new_CvDTreeTrainData",_wrap_new_CvDTreeTrainData,0,0,2,0},
43717 {"delete_CvDTreeTrainData",_wrap_delete_CvDTreeTrainData,0,0,2,0},
43718 {"CvDTreeTrainData_set_data",_wrap_CvDTreeTrainData_set_data,0,0,2,0},
43719 {"CvDTreeTrainData_do_responses_copy",_wrap_CvDTreeTrainData_do_responses_copy,0,0,2,0},
43720 {"CvDTreeTrainData_get_vectors",_wrap_CvDTreeTrainData_get_vectors,0,0,2,0},
43721 {"CvDTreeTrainData_subsample_data",_wrap_CvDTreeTrainData_subsample_data,0,0,2,0},
43722 {"CvDTreeTrainData_write_params",_wrap_CvDTreeTrainData_write_params,0,0,2,0},
43723 {"CvDTreeTrainData_read_params",_wrap_CvDTreeTrainData_read_params,0,0,2,0},
43724 {"CvDTreeTrainData_clear",_wrap_CvDTreeTrainData_clear,0,0,2,0},
43725 {"CvDTreeTrainData_get_num_classes",_wrap_CvDTreeTrainData_get_num_classes,0,0,2,0},
43726 {"CvDTreeTrainData_get_var_type",_wrap_CvDTreeTrainData_get_var_type,0,0,2,0},
43727 {"CvDTreeTrainData_get_work_var_count",_wrap_CvDTreeTrainData_get_work_var_count,0,0,2,0},
43728 {"CvDTreeTrainData_get_ord_responses",_wrap_CvDTreeTrainData_get_ord_responses,0,0,2,0},
43729 {"CvDTreeTrainData_get_class_labels",_wrap_CvDTreeTrainData_get_class_labels,0,0,2,0},
43730 {"CvDTreeTrainData_get_cv_labels",_wrap_CvDTreeTrainData_get_cv_labels,0,0,2,0},
43731 {"CvDTreeTrainData_get_sample_indices",_wrap_CvDTreeTrainData_get_sample_indices,0,0,2,0},
43732 {"CvDTreeTrainData_get_cat_var_data",_wrap_CvDTreeTrainData_get_cat_var_data,0,0,2,0},
43733 {"CvDTreeTrainData_get_ord_var_data",_wrap_CvDTreeTrainData_get_ord_var_data,0,0,2,0},
43734 {"CvDTreeTrainData_get_child_buf_idx",_wrap_CvDTreeTrainData_get_child_buf_idx,0,0,2,0},
43735 {"CvDTreeTrainData_set_params",_wrap_CvDTreeTrainData_set_params,0,0,2,0},
43736 {"CvDTreeTrainData_new_node",_wrap_CvDTreeTrainData_new_node,0,0,2,0},
43737 {"CvDTreeTrainData_new_split_ord",_wrap_CvDTreeTrainData_new_split_ord,0,0,2,0},
43738 {"CvDTreeTrainData_new_split_cat",_wrap_CvDTreeTrainData_new_split_cat,0,0,2,0},
43739 {"CvDTreeTrainData_free_node_data",_wrap_CvDTreeTrainData_free_node_data,0,0,2,0},
43740 {"CvDTreeTrainData_free_train_data",_wrap_CvDTreeTrainData_free_train_data,0,0,2,0},
43741 {"CvDTreeTrainData_free_node",_wrap_CvDTreeTrainData_free_node,0,0,2,0},
43742 {"CvDTreeTrainData_get_pred_float_buf",_wrap_CvDTreeTrainData_get_pred_float_buf,0,0,2,0},
43743 {"CvDTreeTrainData_get_pred_int_buf",_wrap_CvDTreeTrainData_get_pred_int_buf,0,0,2,0},
43744 {"CvDTreeTrainData_get_resp_float_buf",_wrap_CvDTreeTrainData_get_resp_float_buf,0,0,2,0},
43745 {"CvDTreeTrainData_get_resp_int_buf",_wrap_CvDTreeTrainData_get_resp_int_buf,0,0,2,0},
43746 {"CvDTreeTrainData_get_cv_lables_buf",_wrap_CvDTreeTrainData_get_cv_lables_buf,0,0,2,0},
43747 {"CvDTreeTrainData_get_sample_idx_buf",_wrap_CvDTreeTrainData_get_sample_idx_buf,0,0,2,0},
43748 {"CvDTreeTrainData_pred_float_buf_set",_wrap_CvDTreeTrainData_pred_float_buf_set,0,0,2,0},
43749 {"CvDTreeTrainData_pred_float_buf_get",_wrap_CvDTreeTrainData_pred_float_buf_get,0,0,2,0},
43750 {"CvDTreeTrainData_pred_int_buf_set",_wrap_CvDTreeTrainData_pred_int_buf_set,0,0,2,0},
43751 {"CvDTreeTrainData_pred_int_buf_get",_wrap_CvDTreeTrainData_pred_int_buf_get,0,0,2,0},
43752 {"CvDTreeTrainData_resp_float_buf_set",_wrap_CvDTreeTrainData_resp_float_buf_set,0,0,2,0},
43753 {"CvDTreeTrainData_resp_float_buf_get",_wrap_CvDTreeTrainData_resp_float_buf_get,0,0,2,0},
43754 {"CvDTreeTrainData_resp_int_buf_set",_wrap_CvDTreeTrainData_resp_int_buf_set,0,0,2,0},
43755 {"CvDTreeTrainData_resp_int_buf_get",_wrap_CvDTreeTrainData_resp_int_buf_get,0,0,2,0},
43756 {"CvDTreeTrainData_cv_lables_buf_set",_wrap_CvDTreeTrainData_cv_lables_buf_set,0,0,2,0},
43757 {"CvDTreeTrainData_cv_lables_buf_get",_wrap_CvDTreeTrainData_cv_lables_buf_get,0,0,2,0},
43758 {"CvDTreeTrainData_sample_idx_buf_set",_wrap_CvDTreeTrainData_sample_idx_buf_set,0,0,2,0},
43759 {"CvDTreeTrainData_sample_idx_buf_get",_wrap_CvDTreeTrainData_sample_idx_buf_get,0,0,2,0},
43760 {"CvDTreeTrainData_sample_count_set",_wrap_CvDTreeTrainData_sample_count_set,0,0,2,0},
43761 {"CvDTreeTrainData_sample_count_get",_wrap_CvDTreeTrainData_sample_count_get,0,0,2,0},
43762 {"CvDTreeTrainData_var_all_set",_wrap_CvDTreeTrainData_var_all_set,0,0,2,0},
43763 {"CvDTreeTrainData_var_all_get",_wrap_CvDTreeTrainData_var_all_get,0,0,2,0},
43764 {"CvDTreeTrainData_var_count_set",_wrap_CvDTreeTrainData_var_count_set,0,0,2,0},
43765 {"CvDTreeTrainData_var_count_get",_wrap_CvDTreeTrainData_var_count_get,0,0,2,0},
43766 {"CvDTreeTrainData_max_c_count_set",_wrap_CvDTreeTrainData_max_c_count_set,0,0,2,0},
43767 {"CvDTreeTrainData_max_c_count_get",_wrap_CvDTreeTrainData_max_c_count_get,0,0,2,0},
43768 {"CvDTreeTrainData_ord_var_count_set",_wrap_CvDTreeTrainData_ord_var_count_set,0,0,2,0},
43769 {"CvDTreeTrainData_ord_var_count_get",_wrap_CvDTreeTrainData_ord_var_count_get,0,0,2,0},
43770 {"CvDTreeTrainData_cat_var_count_set",_wrap_CvDTreeTrainData_cat_var_count_set,0,0,2,0},
43771 {"CvDTreeTrainData_cat_var_count_get",_wrap_CvDTreeTrainData_cat_var_count_get,0,0,2,0},
43772 {"CvDTreeTrainData_work_var_count_set",_wrap_CvDTreeTrainData_work_var_count_set,0,0,2,0},
43773 {"CvDTreeTrainData_work_var_count_get",_wrap_CvDTreeTrainData_work_var_count_get,0,0,2,0},
43774 {"CvDTreeTrainData_have_labels_set",_wrap_CvDTreeTrainData_have_labels_set,0,0,2,0},
43775 {"CvDTreeTrainData_have_labels_get",_wrap_CvDTreeTrainData_have_labels_get,0,0,2,0},
43776 {"CvDTreeTrainData_have_priors_set",_wrap_CvDTreeTrainData_have_priors_set,0,0,2,0},
43777 {"CvDTreeTrainData_have_priors_get",_wrap_CvDTreeTrainData_have_priors_get,0,0,2,0},
43778 {"CvDTreeTrainData_is_classifier_set",_wrap_CvDTreeTrainData_is_classifier_set,0,0,2,0},
43779 {"CvDTreeTrainData_is_classifier_get",_wrap_CvDTreeTrainData_is_classifier_get,0,0,2,0},
43780 {"CvDTreeTrainData_tflag_set",_wrap_CvDTreeTrainData_tflag_set,0,0,2,0},
43781 {"CvDTreeTrainData_tflag_get",_wrap_CvDTreeTrainData_tflag_get,0,0,2,0},
43782 {"CvDTreeTrainData_train_data_set",_wrap_CvDTreeTrainData_train_data_set,0,0,2,0},
43783 {"CvDTreeTrainData_train_data_get",_wrap_CvDTreeTrainData_train_data_get,0,0,2,0},
43784 {"CvDTreeTrainData_responses_set",_wrap_CvDTreeTrainData_responses_set,0,0,2,0},
43785 {"CvDTreeTrainData_responses_get",_wrap_CvDTreeTrainData_responses_get,0,0,2,0},
43786 {"CvDTreeTrainData_responses_copy_set",_wrap_CvDTreeTrainData_responses_copy_set,0,0,2,0},
43787 {"CvDTreeTrainData_responses_copy_get",_wrap_CvDTreeTrainData_responses_copy_get,0,0,2,0},
43788 {"CvDTreeTrainData_buf_count_set",_wrap_CvDTreeTrainData_buf_count_set,0,0,2,0},
43789 {"CvDTreeTrainData_buf_count_get",_wrap_CvDTreeTrainData_buf_count_get,0,0,2,0},
43790 {"CvDTreeTrainData_buf_size_set",_wrap_CvDTreeTrainData_buf_size_set,0,0,2,0},
43791 {"CvDTreeTrainData_buf_size_get",_wrap_CvDTreeTrainData_buf_size_get,0,0,2,0},
43792 {"CvDTreeTrainData_shared_set",_wrap_CvDTreeTrainData_shared_set,0,0,2,0},
43793 {"CvDTreeTrainData_shared_get",_wrap_CvDTreeTrainData_shared_get,0,0,2,0},
43794 {"CvDTreeTrainData_is_buf_16u_set",_wrap_CvDTreeTrainData_is_buf_16u_set,0,0,2,0},
43795 {"CvDTreeTrainData_is_buf_16u_get",_wrap_CvDTreeTrainData_is_buf_16u_get,0,0,2,0},
43796 {"CvDTreeTrainData_cat_count_set",_wrap_CvDTreeTrainData_cat_count_set,0,0,2,0},
43797 {"CvDTreeTrainData_cat_count_get",_wrap_CvDTreeTrainData_cat_count_get,0,0,2,0},
43798 {"CvDTreeTrainData_cat_ofs_set",_wrap_CvDTreeTrainData_cat_ofs_set,0,0,2,0},
43799 {"CvDTreeTrainData_cat_ofs_get",_wrap_CvDTreeTrainData_cat_ofs_get,0,0,2,0},
43800 {"CvDTreeTrainData_cat_map_set",_wrap_CvDTreeTrainData_cat_map_set,0,0,2,0},
43801 {"CvDTreeTrainData_cat_map_get",_wrap_CvDTreeTrainData_cat_map_get,0,0,2,0},
43802 {"CvDTreeTrainData_counts_set",_wrap_CvDTreeTrainData_counts_set,0,0,2,0},
43803 {"CvDTreeTrainData_counts_get",_wrap_CvDTreeTrainData_counts_get,0,0,2,0},
43804 {"CvDTreeTrainData_buf_set",_wrap_CvDTreeTrainData_buf_set,0,0,2,0},
43805 {"CvDTreeTrainData_buf_get",_wrap_CvDTreeTrainData_buf_get,0,0,2,0},
43806 {"CvDTreeTrainData_direction_set",_wrap_CvDTreeTrainData_direction_set,0,0,2,0},
43807 {"CvDTreeTrainData_direction_get",_wrap_CvDTreeTrainData_direction_get,0,0,2,0},
43808 {"CvDTreeTrainData_split_buf_set",_wrap_CvDTreeTrainData_split_buf_set,0,0,2,0},
43809 {"CvDTreeTrainData_split_buf_get",_wrap_CvDTreeTrainData_split_buf_get,0,0,2,0},
43810 {"CvDTreeTrainData_var_idx_set",_wrap_CvDTreeTrainData_var_idx_set,0,0,2,0},
43811 {"CvDTreeTrainData_var_idx_get",_wrap_CvDTreeTrainData_var_idx_get,0,0,2,0},
43812 {"CvDTreeTrainData_var_type_set",_wrap_CvDTreeTrainData_var_type_set,0,0,2,0},
43813 {"CvDTreeTrainData_var_type_get",_wrap_CvDTreeTrainData_var_type_get,0,0,2,0},
43814 {"CvDTreeTrainData_priors_set",_wrap_CvDTreeTrainData_priors_set,0,0,2,0},
43815 {"CvDTreeTrainData_priors_get",_wrap_CvDTreeTrainData_priors_get,0,0,2,0},
43816 {"CvDTreeTrainData_priors_mult_set",_wrap_CvDTreeTrainData_priors_mult_set,0,0,2,0},
43817 {"CvDTreeTrainData_priors_mult_get",_wrap_CvDTreeTrainData_priors_mult_get,0,0,2,0},
43818 {"CvDTreeTrainData_params_set",_wrap_CvDTreeTrainData_params_set,0,0,2,0},
43819 {"CvDTreeTrainData_params_get",_wrap_CvDTreeTrainData_params_get,0,0,2,0},
43820 {"CvDTreeTrainData_tree_storage_set",_wrap_CvDTreeTrainData_tree_storage_set,0,0,2,0},
43821 {"CvDTreeTrainData_tree_storage_get",_wrap_CvDTreeTrainData_tree_storage_get,0,0,2,0},
43822 {"CvDTreeTrainData_temp_storage_set",_wrap_CvDTreeTrainData_temp_storage_set,0,0,2,0},
43823 {"CvDTreeTrainData_temp_storage_get",_wrap_CvDTreeTrainData_temp_storage_get,0,0,2,0},
43824 {"CvDTreeTrainData_data_root_set",_wrap_CvDTreeTrainData_data_root_set,0,0,2,0},
43825 {"CvDTreeTrainData_data_root_get",_wrap_CvDTreeTrainData_data_root_get,0,0,2,0},
43826 {"CvDTreeTrainData_node_heap_set",_wrap_CvDTreeTrainData_node_heap_set,0,0,2,0},
43827 {"CvDTreeTrainData_node_heap_get",_wrap_CvDTreeTrainData_node_heap_get,0,0,2,0},
43828 {"CvDTreeTrainData_split_heap_set",_wrap_CvDTreeTrainData_split_heap_set,0,0,2,0},
43829 {"CvDTreeTrainData_split_heap_get",_wrap_CvDTreeTrainData_split_heap_get,0,0,2,0},
43830 {"CvDTreeTrainData_cv_heap_set",_wrap_CvDTreeTrainData_cv_heap_set,0,0,2,0},
43831 {"CvDTreeTrainData_cv_heap_get",_wrap_CvDTreeTrainData_cv_heap_get,0,0,2,0},
43832 {"CvDTreeTrainData_nv_heap_set",_wrap_CvDTreeTrainData_nv_heap_set,0,0,2,0},
43833 {"CvDTreeTrainData_nv_heap_get",_wrap_CvDTreeTrainData_nv_heap_get,0,0,2,0},
43834 {"CvDTreeTrainData_rng_set",_wrap_CvDTreeTrainData_rng_set,0,0,2,0},
43835 {"CvDTreeTrainData_rng_get",_wrap_CvDTreeTrainData_rng_get,0,0,2,0},
43836 {"new_CvDTree",_wrap_new_CvDTree,0,0,2,0},
43837 {"delete_CvDTree",_wrap_delete_CvDTree,0,0,2,0},
43838 {"CvDTree_calc_error",_wrap_CvDTree_calc_error,0,0,2,0},
43839 {"CvDTree_train",_wrap_CvDTree_train,0,0,2,0},
43840 {"CvDTree_predict",_wrap_CvDTree_predict,0,0,2,0},
43841 {"CvDTree_get_var_importance",_wrap_CvDTree_get_var_importance,0,0,2,0},
43842 {"CvDTree_clear",_wrap_CvDTree_clear,0,0,2,0},
43843 {"CvDTree_read",_wrap_CvDTree_read,0,0,2,0},
43844 {"CvDTree_write",_wrap_CvDTree_write,0,0,2,0},
43845 {"CvDTree_get_root",_wrap_CvDTree_get_root,0,0,2,0},
43846 {"CvDTree_get_pruned_tree_idx",_wrap_CvDTree_get_pruned_tree_idx,0,0,2,0},
43847 {"CvDTree_get_data",_wrap_CvDTree_get_data,0,0,2,0},
43848 {"CvDTree_pruned_tree_idx_set",_wrap_CvDTree_pruned_tree_idx_set,0,0,2,0},
43849 {"CvDTree_pruned_tree_idx_get",_wrap_CvDTree_pruned_tree_idx_get,0,0,2,0},
43850 {"new_CvForestTree",_wrap_new_CvForestTree,0,0,2,0},
43851 {"delete_CvForestTree",_wrap_delete_CvForestTree,0,0,2,0},
43852 {"CvForestTree_get_var_count",_wrap_CvForestTree_get_var_count,0,0,2,0},
43853 {"CvForestTree_train",_wrap_CvForestTree_train,0,0,2,0},
43854 {"CvForestTree_read",_wrap_CvForestTree_read,0,0,2,0},
43855 {"CvRTParams_calc_var_importance_set",_wrap_CvRTParams_calc_var_importance_set,0,0,2,0},
43856 {"CvRTParams_calc_var_importance_get",_wrap_CvRTParams_calc_var_importance_get,0,0,2,0},
43857 {"CvRTParams_nactive_vars_set",_wrap_CvRTParams_nactive_vars_set,0,0,2,0},
43858 {"CvRTParams_nactive_vars_get",_wrap_CvRTParams_nactive_vars_get,0,0,2,0},
43859 {"CvRTParams_term_crit_set",_wrap_CvRTParams_term_crit_set,0,0,2,0},
43860 {"CvRTParams_term_crit_get",_wrap_CvRTParams_term_crit_get,0,0,2,0},
43861 {"new_CvRTParams",_wrap_new_CvRTParams,0,0,2,0},
43862 {"delete_CvRTParams",_wrap_delete_CvRTParams,0,0,2,0},
43863 {"new_CvRTrees",_wrap_new_CvRTrees,0,0,2,0},
43864 {"delete_CvRTrees",_wrap_delete_CvRTrees,0,0,2,0},
43865 {"CvRTrees_train",_wrap_CvRTrees_train,0,0,2,0},
43866 {"CvRTrees_predict",_wrap_CvRTrees_predict,0,0,2,0},
43867 {"CvRTrees_predict_prob",_wrap_CvRTrees_predict_prob,0,0,2,0},
43868 {"CvRTrees_clear",_wrap_CvRTrees_clear,0,0,2,0},
43869 {"CvRTrees_get_var_importance",_wrap_CvRTrees_get_var_importance,0,0,2,0},
43870 {"CvRTrees_get_proximity",_wrap_CvRTrees_get_proximity,0,0,2,0},
43871 {"CvRTrees_calc_error",_wrap_CvRTrees_calc_error,0,0,2,0},
43872 {"CvRTrees_get_train_error",_wrap_CvRTrees_get_train_error,0,0,2,0},
43873 {"CvRTrees_read",_wrap_CvRTrees_read,0,0,2,0},
43874 {"CvRTrees_write",_wrap_CvRTrees_write,0,0,2,0},
43875 {"CvRTrees_get_active_var_mask",_wrap_CvRTrees_get_active_var_mask,0,0,2,0},
43876 {"CvRTrees_get_rng",_wrap_CvRTrees_get_rng,0,0,2,0},
43877 {"CvRTrees_get_tree_count",_wrap_CvRTrees_get_tree_count,0,0,2,0},
43878 {"CvRTrees_get_tree",_wrap_CvRTrees_get_tree,0,0,2,0},
43879 {"CvERTreeTrainData_set_data",_wrap_CvERTreeTrainData_set_data,0,0,2,0},
43880 {"CvERTreeTrainData_get_ord_var_data",_wrap_CvERTreeTrainData_get_ord_var_data,0,0,2,0},
43881 {"CvERTreeTrainData_get_sample_indices",_wrap_CvERTreeTrainData_get_sample_indices,0,0,2,0},
43882 {"CvERTreeTrainData_get_cv_labels",_wrap_CvERTreeTrainData_get_cv_labels,0,0,2,0},
43883 {"CvERTreeTrainData_get_cat_var_data",_wrap_CvERTreeTrainData_get_cat_var_data,0,0,2,0},
43884 {"CvERTreeTrainData_get_vectors",_wrap_CvERTreeTrainData_get_vectors,0,0,2,0},
43885 {"CvERTreeTrainData_subsample_data",_wrap_CvERTreeTrainData_subsample_data,0,0,2,0},
43886 {"CvERTreeTrainData_missing_mask_set",_wrap_CvERTreeTrainData_missing_mask_set,0,0,2,0},
43887 {"CvERTreeTrainData_missing_mask_get",_wrap_CvERTreeTrainData_missing_mask_get,0,0,2,0},
43888 {"new_CvERTreeTrainData",_wrap_new_CvERTreeTrainData,0,0,2,0},
43889 {"delete_CvERTreeTrainData",_wrap_delete_CvERTreeTrainData,0,0,2,0},
43890 {"new_CvForestERTree",_wrap_new_CvForestERTree,0,0,2,0},
43891 {"delete_CvForestERTree",_wrap_delete_CvForestERTree,0,0,2,0},
43892 {"new_CvERTrees",_wrap_new_CvERTrees,0,0,2,0},
43893 {"delete_CvERTrees",_wrap_delete_CvERTrees,0,0,2,0},
43894 {"CvERTrees_train",_wrap_CvERTrees_train,0,0,2,0},
43895 {"CvBoostParams_boost_type_set",_wrap_CvBoostParams_boost_type_set,0,0,2,0},
43896 {"CvBoostParams_boost_type_get",_wrap_CvBoostParams_boost_type_get,0,0,2,0},
43897 {"CvBoostParams_weak_count_set",_wrap_CvBoostParams_weak_count_set,0,0,2,0},
43898 {"CvBoostParams_weak_count_get",_wrap_CvBoostParams_weak_count_get,0,0,2,0},
43899 {"CvBoostParams_split_criteria_set",_wrap_CvBoostParams_split_criteria_set,0,0,2,0},
43900 {"CvBoostParams_split_criteria_get",_wrap_CvBoostParams_split_criteria_get,0,0,2,0},
43901 {"CvBoostParams_weight_trim_rate_set",_wrap_CvBoostParams_weight_trim_rate_set,0,0,2,0},
43902 {"CvBoostParams_weight_trim_rate_get",_wrap_CvBoostParams_weight_trim_rate_get,0,0,2,0},
43903 {"new_CvBoostParams",_wrap_new_CvBoostParams,0,0,2,0},
43904 {"delete_CvBoostParams",_wrap_delete_CvBoostParams,0,0,2,0},
43905 {"new_CvBoostTree",_wrap_new_CvBoostTree,0,0,2,0},
43906 {"delete_CvBoostTree",_wrap_delete_CvBoostTree,0,0,2,0},
43907 {"CvBoostTree_scale",_wrap_CvBoostTree_scale,0,0,2,0},
43908 {"CvBoostTree_clear",_wrap_CvBoostTree_clear,0,0,2,0},
43909 {"CvBoostTree_train",_wrap_CvBoostTree_train,0,0,2,0},
43910 {"CvBoostTree_read",_wrap_CvBoostTree_read,0,0,2,0},
43911 {"delete_CvBoost",_wrap_delete_CvBoost,0,0,2,0},
43912 {"new_CvBoost",_wrap_new_CvBoost,0,0,2,0},
43913 {"CvBoost_train",_wrap_CvBoost_train,0,0,2,0},
43914 {"CvBoost_predict",_wrap_CvBoost_predict,0,0,2,0},
43915 {"CvBoost_calc_error",_wrap_CvBoost_calc_error,0,0,2,0},
43916 {"CvBoost_prune",_wrap_CvBoost_prune,0,0,2,0},
43917 {"CvBoost_clear",_wrap_CvBoost_clear,0,0,2,0},
43918 {"CvBoost_write",_wrap_CvBoost_write,0,0,2,0},
43919 {"CvBoost_read",_wrap_CvBoost_read,0,0,2,0},
43920 {"CvBoost_get_active_vars",_wrap_CvBoost_get_active_vars,0,0,2,0},
43921 {"CvBoost_get_weak_predictors",_wrap_CvBoost_get_weak_predictors,0,0,2,0},
43922 {"CvBoost_get_weights",_wrap_CvBoost_get_weights,0,0,2,0},
43923 {"CvBoost_get_subtree_weights",_wrap_CvBoost_get_subtree_weights,0,0,2,0},
43924 {"CvBoost_get_weak_response",_wrap_CvBoost_get_weak_response,0,0,2,0},
43925 {"CvBoost_get_params",_wrap_CvBoost_get_params,0,0,2,0},
43926 {"CvBoost_get_data",_wrap_CvBoost_get_data,0,0,2,0},
43927 {"new_CvANN_MLP_TrainParams",_wrap_new_CvANN_MLP_TrainParams,0,0,2,0},
43928 {"delete_CvANN_MLP_TrainParams",_wrap_delete_CvANN_MLP_TrainParams,0,0,2,0},
43929 {"CvANN_MLP_TrainParams_term_crit_set",_wrap_CvANN_MLP_TrainParams_term_crit_set,0,0,2,0},
43930 {"CvANN_MLP_TrainParams_term_crit_get",_wrap_CvANN_MLP_TrainParams_term_crit_get,0,0,2,0},
43931 {"CvANN_MLP_TrainParams_train_method_set",_wrap_CvANN_MLP_TrainParams_train_method_set,0,0,2,0},
43932 {"CvANN_MLP_TrainParams_train_method_get",_wrap_CvANN_MLP_TrainParams_train_method_get,0,0,2,0},
43933 {"CvANN_MLP_TrainParams_bp_dw_scale_set",_wrap_CvANN_MLP_TrainParams_bp_dw_scale_set,0,0,2,0},
43934 {"CvANN_MLP_TrainParams_bp_dw_scale_get",_wrap_CvANN_MLP_TrainParams_bp_dw_scale_get,0,0,2,0},
43935 {"CvANN_MLP_TrainParams_bp_moment_scale_set",_wrap_CvANN_MLP_TrainParams_bp_moment_scale_set,0,0,2,0},
43936 {"CvANN_MLP_TrainParams_bp_moment_scale_get",_wrap_CvANN_MLP_TrainParams_bp_moment_scale_get,0,0,2,0},
43937 {"CvANN_MLP_TrainParams_rp_dw0_set",_wrap_CvANN_MLP_TrainParams_rp_dw0_set,0,0,2,0},
43938 {"CvANN_MLP_TrainParams_rp_dw0_get",_wrap_CvANN_MLP_TrainParams_rp_dw0_get,0,0,2,0},
43939 {"CvANN_MLP_TrainParams_rp_dw_plus_set",_wrap_CvANN_MLP_TrainParams_rp_dw_plus_set,0,0,2,0},
43940 {"CvANN_MLP_TrainParams_rp_dw_plus_get",_wrap_CvANN_MLP_TrainParams_rp_dw_plus_get,0,0,2,0},
43941 {"CvANN_MLP_TrainParams_rp_dw_minus_set",_wrap_CvANN_MLP_TrainParams_rp_dw_minus_set,0,0,2,0},
43942 {"CvANN_MLP_TrainParams_rp_dw_minus_get",_wrap_CvANN_MLP_TrainParams_rp_dw_minus_get,0,0,2,0},
43943 {"CvANN_MLP_TrainParams_rp_dw_min_set",_wrap_CvANN_MLP_TrainParams_rp_dw_min_set,0,0,2,0},
43944 {"CvANN_MLP_TrainParams_rp_dw_min_get",_wrap_CvANN_MLP_TrainParams_rp_dw_min_get,0,0,2,0},
43945 {"CvANN_MLP_TrainParams_rp_dw_max_set",_wrap_CvANN_MLP_TrainParams_rp_dw_max_set,0,0,2,0},
43946 {"CvANN_MLP_TrainParams_rp_dw_max_get",_wrap_CvANN_MLP_TrainParams_rp_dw_max_get,0,0,2,0},
43947 {"new_CvANN_MLP",_wrap_new_CvANN_MLP,0,0,2,0},
43948 {"delete_CvANN_MLP",_wrap_delete_CvANN_MLP,0,0,2,0},
43949 {"CvANN_MLP_create",_wrap_CvANN_MLP_create,0,0,2,0},
43950 {"CvANN_MLP_train",_wrap_CvANN_MLP_train,0,0,2,0},
43951 {"CvANN_MLP_predict",_wrap_CvANN_MLP_predict,0,0,2,0},
43952 {"CvANN_MLP_clear",_wrap_CvANN_MLP_clear,0,0,2,0},
43953 {"CvANN_MLP_read",_wrap_CvANN_MLP_read,0,0,2,0},
43954 {"CvANN_MLP_write",_wrap_CvANN_MLP_write,0,0,2,0},
43955 {"CvANN_MLP_get_layer_count",_wrap_CvANN_MLP_get_layer_count,0,0,2,0},
43956 {"CvANN_MLP_get_layer_sizes",_wrap_CvANN_MLP_get_layer_sizes,0,0,2,0},
43957 {"CvANN_MLP_get_weights",_wrap_CvANN_MLP_get_weights,0,0,2,0},
43958 {"cvRandMVNormal",_wrap_cvRandMVNormal,0,0,2,0},
43959 {"cvRandGaussMixture",_wrap_cvRandGaussMixture,0,0,2,0},
43960 {"cvCreateTestSet",_wrap_cvCreateTestSet,0,0,2,0},
43961 {"new_CvTrainTestSplit",_wrap_new_CvTrainTestSplit,0,0,2,0},
43962 {"CvTrainTestSplit_train_sample_part_mode_set",_wrap_CvTrainTestSplit_train_sample_part_mode_set,0,0,2,0},
43963 {"CvTrainTestSplit_train_sample_part_mode_get",_wrap_CvTrainTestSplit_train_sample_part_mode_get,0,0,2,0},
43964 {"CvTrainTestSplit_class_part_mode_set",_wrap_CvTrainTestSplit_class_part_mode_set,0,0,2,0},
43965 {"CvTrainTestSplit_class_part_mode_get",_wrap_CvTrainTestSplit_class_part_mode_get,0,0,2,0},
43966 {"CvTrainTestSplit_mix_set",_wrap_CvTrainTestSplit_mix_set,0,0,2,0},
43967 {"CvTrainTestSplit_mix_get",_wrap_CvTrainTestSplit_mix_get,0,0,2,0},
43968 {"CvTrainTestSplit_class_part_get",_wrap_CvTrainTestSplit_class_part_get,0,0,2,0},
43969 {"CvTrainTestSplit_train_sample_part_get",_wrap_CvTrainTestSplit_train_sample_part_get,0,0,2,0},
43970 {"delete_CvTrainTestSplit",_wrap_delete_CvTrainTestSplit,0,0,2,0},
43971 {"CvTrainTestSplit_class_part_count_set",_wrap_CvTrainTestSplit_class_part_count_set,0,0,2,0},
43972 {"CvTrainTestSplit_class_part_count_get",_wrap_CvTrainTestSplit_class_part_count_get,0,0,2,0},
43973 {"CvTrainTestSplit_class_part_portion_set",_wrap_CvTrainTestSplit_class_part_portion_set,0,0,2,0},
43974 {"CvTrainTestSplit_class_part_portion_get",_wrap_CvTrainTestSplit_class_part_portion_get,0,0,2,0},
43975 {"new_CvTrainTestSplit_class_part",_wrap_new_CvTrainTestSplit_class_part,0,0,2,0},
43976 {"delete_CvTrainTestSplit_class_part",_wrap_delete_CvTrainTestSplit_class_part,0,0,2,0},
43977 {"CvTrainTestSplit_train_sample_part_count_set",_wrap_CvTrainTestSplit_train_sample_part_count_set,0,0,2,0},
43978 {"CvTrainTestSplit_train_sample_part_count_get",_wrap_CvTrainTestSplit_train_sample_part_count_get,0,0,2,0},
43979 {"CvTrainTestSplit_train_sample_part_portion_set",_wrap_CvTrainTestSplit_train_sample_part_portion_set,0,0,2,0},
43980 {"CvTrainTestSplit_train_sample_part_portion_get",_wrap_CvTrainTestSplit_train_sample_part_portion_get,0,0,2,0},
43981 {"new_CvTrainTestSplit_train_sample_part",_wrap_new_CvTrainTestSplit_train_sample_part,0,0,2,0},
43982 {"delete_CvTrainTestSplit_train_sample_part",_wrap_delete_CvTrainTestSplit_train_sample_part,0,0,2,0},
43983 {"new_CvMLData",_wrap_new_CvMLData,0,0,2,0},
43984 {"delete_CvMLData",_wrap_delete_CvMLData,0,0,2,0},
43985 {"CvMLData_read_csv",_wrap_CvMLData_read_csv,0,0,2,0},
43986 {"CvMLData_get_values",_wrap_CvMLData_get_values,0,0,2,0},
43987 {"CvMLData_get_responses",_wrap_CvMLData_get_responses,0,0,2,0},
43988 {"CvMLData_get_missing",_wrap_CvMLData_get_missing,0,0,2,0},
43989 {"CvMLData_set_response_idx",_wrap_CvMLData_set_response_idx,0,0,2,0},
43990 {"CvMLData_get_response_idx",_wrap_CvMLData_get_response_idx,0,0,2,0},
43991 {"CvMLData_get_train_sample_idx",_wrap_CvMLData_get_train_sample_idx,0,0,2,0},
43992 {"CvMLData_get_test_sample_idx",_wrap_CvMLData_get_test_sample_idx,0,0,2,0},
43993 {"CvMLData_mix_train_and_test_idx",_wrap_CvMLData_mix_train_and_test_idx,0,0,2,0},
43994 {"CvMLData_set_train_test_split",_wrap_CvMLData_set_train_test_split,0,0,2,0},
43995 {"CvMLData_get_var_idx",_wrap_CvMLData_get_var_idx,0,0,2,0},
43996 {"CvMLData_chahge_var_idx",_wrap_CvMLData_chahge_var_idx,0,0,2,0},
43997 {"CvMLData_get_var_types",_wrap_CvMLData_get_var_types,0,0,2,0},
43998 {"CvMLData_get_var_type",_wrap_CvMLData_get_var_type,0,0,2,0},
43999 {"CvMLData_set_var_types",_wrap_CvMLData_set_var_types,0,0,2,0},
44000 {"CvMLData_change_var_type",_wrap_CvMLData_change_var_type,0,0,2,0},
44001 {"CvMLData_set_delimiter",_wrap_CvMLData_set_delimiter,0,0,2,0},
44002 {"CvMLData_get_delimiter",_wrap_CvMLData_get_delimiter,0,0,2,0},
44003 {"CvMLData_set_miss_ch",_wrap_CvMLData_set_miss_ch,0,0,2,0},
44004 {"CvMLData_get_miss_ch",_wrap_CvMLData_get_miss_ch,0,0,2,0},
44008 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
44010 static void *_p_CvERTreesTo_p_CvRTrees(void *x, int *SWIGUNUSEDPARM(newmemory)) {
44011 return (void *)((CvRTrees *) ((CvERTrees *) x));
44013 static void *_p_CvERTreeTrainDataTo_p_CvDTreeTrainData(void *x, int *SWIGUNUSEDPARM(newmemory)) {
44014 return (void *)((CvDTreeTrainData *) ((CvERTreeTrainData *) x));
44016 static void *_p_CvForestERTreeTo_p_CvForestTree(void *x, int *SWIGUNUSEDPARM(newmemory)) {
44017 return (void *)((CvForestTree *) ((CvForestERTree *) x));
44019 static void *_p_CvRTParamsTo_p_CvDTreeParams(void *x, int *SWIGUNUSEDPARM(newmemory)) {
44020 return (void *)((CvDTreeParams *) ((CvRTParams *) x));
44022 static void *_p_CvBoostParamsTo_p_CvDTreeParams(void *x, int *SWIGUNUSEDPARM(newmemory)) {
44023 return (void *)((CvDTreeParams *) ((CvBoostParams *) x));
44025 static void *_p_CvNormalBayesClassifierTo_p_CvStatModel(void *x, int *SWIGUNUSEDPARM(newmemory)) {
44026 return (void *)((CvStatModel *) ((CvNormalBayesClassifier *) x));
44028 static void *_p_CvSVMTo_p_CvStatModel(void *x, int *SWIGUNUSEDPARM(newmemory)) {
44029 return (void *)((CvStatModel *) ((CvSVM *) x));
44031 static void *_p_CvForestERTreeTo_p_CvStatModel(void *x, int *SWIGUNUSEDPARM(newmemory)) {
44032 return (void *)((CvStatModel *) (CvDTree *)(CvForestTree *) ((CvForestERTree *) x));
44034 static void *_p_CvANN_MLPTo_p_CvStatModel(void *x, int *SWIGUNUSEDPARM(newmemory)) {
44035 return (void *)((CvStatModel *) ((CvANN_MLP *) x));
44037 static void *_p_CvKNearestTo_p_CvStatModel(void *x, int *SWIGUNUSEDPARM(newmemory)) {
44038 return (void *)((CvStatModel *) ((CvKNearest *) x));
44040 static void *_p_CvForestTreeTo_p_CvStatModel(void *x, int *SWIGUNUSEDPARM(newmemory)) {
44041 return (void *)((CvStatModel *) (CvDTree *) ((CvForestTree *) x));
44043 static void *_p_CvRTreesTo_p_CvStatModel(void *x, int *SWIGUNUSEDPARM(newmemory)) {
44044 return (void *)((CvStatModel *) ((CvRTrees *) x));
44046 static void *_p_CvBoostTreeTo_p_CvStatModel(void *x, int *SWIGUNUSEDPARM(newmemory)) {
44047 return (void *)((CvStatModel *) (CvDTree *) ((CvBoostTree *) x));
44049 static void *_p_CvERTreesTo_p_CvStatModel(void *x, int *SWIGUNUSEDPARM(newmemory)) {
44050 return (void *)((CvStatModel *) (CvRTrees *) ((CvERTrees *) x));
44052 static void *_p_CvEMTo_p_CvStatModel(void *x, int *SWIGUNUSEDPARM(newmemory)) {
44053 return (void *)((CvStatModel *) ((CvEM *) x));
44055 static void *_p_CvDTreeTo_p_CvStatModel(void *x, int *SWIGUNUSEDPARM(newmemory)) {
44056 return (void *)((CvStatModel *) ((CvDTree *) x));
44058 static void *_p_CvBoostTo_p_CvStatModel(void *x, int *SWIGUNUSEDPARM(newmemory)) {
44059 return (void *)((CvStatModel *) ((CvBoost *) x));
44061 static void *_p_CvForestERTreeTo_p_CvDTree(void *x, int *SWIGUNUSEDPARM(newmemory)) {
44062 return (void *)((CvDTree *) (CvForestTree *) ((CvForestERTree *) x));
44064 static void *_p_CvForestTreeTo_p_CvDTree(void *x, int *SWIGUNUSEDPARM(newmemory)) {
44065 return (void *)((CvDTree *) ((CvForestTree *) x));
44067 static void *_p_CvBoostTreeTo_p_CvDTree(void *x, int *SWIGUNUSEDPARM(newmemory)) {
44068 return (void *)((CvDTree *) ((CvBoostTree *) x));
44070 static swig_type_info _swigt__m_CvSVMKernel__f_int_int_p_p_q_const__float_p_q_const__float_p_float__void = {"_m_CvSVMKernel__f_int_int_p_p_q_const__float_p_q_const__float_p_float__void", "void (CvSVMKernel::*)(int,int,float const **,float const *,float *)|CvSVMKernel::Calc", 0, 0, (void*)0, 0};
44071 static swig_type_info _swigt__m_CvSVMSolver__f_int_p_float_p_float_bool__p_float = {"_m_CvSVMSolver__f_int_p_float_p_float_bool__p_float", "CvSVMSolver::GetRow|float *(CvSVMSolver::*)(int,float *,float *,bool)", 0, 0, (void*)0, 0};
44072 static swig_type_info _swigt__m_CvSVMSolver__f_r_double_r_double__void = {"_m_CvSVMSolver__f_r_double_r_double__void", "void (CvSVMSolver::*)(double &,double &)|CvSVMSolver::CalcRho", 0, 0, (void*)0, 0};
44073 static swig_type_info _swigt__m_CvSVMSolver__f_r_int_r_int__bool = {"_m_CvSVMSolver__f_r_int_r_int__bool", "CvSVMSolver::SelectWorkingSet|bool (CvSVMSolver::*)(int &,int &)", 0, 0, (void*)0, 0};
44074 static swig_type_info _swigt__p_Calc = {"_p_Calc", "Calc *", 0, 0, (void*)0, 0};
44075 static swig_type_info _swigt__p_CalcRho = {"_p_CalcRho", "CalcRho *", 0, 0, (void*)0, 0};
44076 static swig_type_info _swigt__p_Cv32suf = {"_p_Cv32suf", "Cv32suf *", 0, 0, (void*)0, 0};
44077 static swig_type_info _swigt__p_Cv64suf = {"_p_Cv64suf", "Cv64suf *", 0, 0, (void*)0, 0};
44078 static swig_type_info _swigt__p_CvANN_MLP = {"_p_CvANN_MLP", "CvANN_MLP *|cv::NeuralNet_MLP *", 0, 0, (void*)&_wrap_class_CvANN_MLP, 0};
44079 static swig_type_info _swigt__p_CvANN_MLP_TrainParams = {"_p_CvANN_MLP_TrainParams", "CvANN_MLP_TrainParams *|cv::ANN_MLP_TrainParams *", 0, 0, (void*)&_wrap_class_CvANN_MLP_TrainParams, 0};
44080 static swig_type_info _swigt__p_CvAttrList = {"_p_CvAttrList", "CvAttrList *", 0, 0, (void*)0, 0};
44081 static swig_type_info _swigt__p_CvAvgComp = {"_p_CvAvgComp", "CvAvgComp *", 0, 0, (void*)0, 0};
44082 static swig_type_info _swigt__p_CvBoost = {"_p_CvBoost", "CvBoost *|cv::Boost *", 0, 0, (void*)&_wrap_class_CvBoost, 0};
44083 static swig_type_info _swigt__p_CvBoostParams = {"_p_CvBoostParams", "CvBoostParams *|cv::BoostParams *", 0, 0, (void*)&_wrap_class_CvBoostParams, 0};
44084 static swig_type_info _swigt__p_CvBoostTree = {"_p_CvBoostTree", "CvBoostTree *|cv::BoostTree *", 0, 0, (void*)&_wrap_class_CvBoostTree, 0};
44085 static swig_type_info _swigt__p_CvBox2D = {"_p_CvBox2D", "CvBox2D *", 0, 0, (void*)0, 0};
44086 static swig_type_info _swigt__p_CvChain = {"_p_CvChain", "CvChain *", 0, 0, (void*)0, 0};
44087 static swig_type_info _swigt__p_CvChainPtReader = {"_p_CvChainPtReader", "CvChainPtReader *", 0, 0, (void*)0, 0};
44088 static swig_type_info _swigt__p_CvConDensation = {"_p_CvConDensation", "CvConDensation *", 0, 0, (void*)0, 0};
44089 static swig_type_info _swigt__p_CvConnectedComp = {"_p_CvConnectedComp", "CvConnectedComp *", 0, 0, (void*)0, 0};
44090 static swig_type_info _swigt__p_CvContour = {"_p_CvContour", "CvPoint2DSeq *|CvContour *", 0, 0, (void*)0, 0};
44091 static swig_type_info _swigt__p_CvContourTree = {"_p_CvContourTree", "CvContourTree *", 0, 0, (void*)0, 0};
44092 static swig_type_info _swigt__p_CvConvexityDefect = {"_p_CvConvexityDefect", "CvConvexityDefect *", 0, 0, (void*)0, 0};
44093 static swig_type_info _swigt__p_CvDTree = {"_p_CvDTree", "CvDTree *|cv::DecisionTree *", 0, 0, (void*)&_wrap_class_CvDTree, 0};
44094 static swig_type_info _swigt__p_CvDTreeNode = {"_p_CvDTreeNode", "CvDTreeNode *", 0, 0, (void*)&_wrap_class_CvDTreeNode, 0};
44095 static swig_type_info _swigt__p_CvDTreeParams = {"_p_CvDTreeParams", "CvDTreeParams *|cv::DTreeParams *", 0, 0, (void*)&_wrap_class_CvDTreeParams, 0};
44096 static swig_type_info _swigt__p_CvDTreeSplit = {"_p_CvDTreeSplit", "CvDTreeSplit *", 0, 0, (void*)&_wrap_class_CvDTreeSplit, 0};
44097 static swig_type_info _swigt__p_CvDTreeTrainData = {"_p_CvDTreeTrainData", "CvDTreeTrainData *", 0, 0, (void*)&_wrap_class_CvDTreeTrainData, 0};
44098 static swig_type_info _swigt__p_CvEM = {"_p_CvEM", "cv::ExpectationMaximization *|CvEM *", 0, 0, (void*)&_wrap_class_CvEM, 0};
44099 static swig_type_info _swigt__p_CvEMParams = {"_p_CvEMParams", "CvEMParams *|cv::EMParams *", 0, 0, (void*)&_wrap_class_CvEMParams, 0};
44100 static swig_type_info _swigt__p_CvERTreeTrainData = {"_p_CvERTreeTrainData", "CvERTreeTrainData *|cv::ERTreeTRainData *", 0, 0, (void*)&_wrap_class_CvERTreeTrainData, 0};
44101 static swig_type_info _swigt__p_CvERTrees = {"_p_CvERTrees", "CvERTrees *|cv::ERTrees *", 0, 0, (void*)&_wrap_class_CvERTrees, 0};
44102 static swig_type_info _swigt__p_CvFileNode = {"_p_CvFileNode", "CvFileNode *", 0, 0, (void*)0, 0};
44103 static swig_type_info _swigt__p_CvFileStorage = {"_p_CvFileStorage", "CvFileStorage *", 0, 0, (void*)0, 0};
44104 static swig_type_info _swigt__p_CvFilter = {"_p_CvFilter", "enum CvFilter *|CvFilter *", 0, 0, (void*)0, 0};
44105 static swig_type_info _swigt__p_CvFont = {"_p_CvFont", "CvFont *", 0, 0, (void*)0, 0};
44106 static swig_type_info _swigt__p_CvForestERTree = {"_p_CvForestERTree", "CvForestERTree *|cv::ERTree *", 0, 0, (void*)&_wrap_class_CvForestERTree, 0};
44107 static swig_type_info _swigt__p_CvForestTree = {"_p_CvForestTree", "CvForestTree *|cv::ForestTree *", 0, 0, (void*)&_wrap_class_CvForestTree, 0};
44108 static swig_type_info _swigt__p_CvGenericHash = {"_p_CvGenericHash", "CvGenericHash *|CvFileNodeHash *", 0, 0, (void*)0, 0};
44109 static swig_type_info _swigt__p_CvGraph = {"_p_CvGraph", "CvGraph *", 0, 0, (void*)0, 0};
44110 static swig_type_info _swigt__p_CvGraphEdge = {"_p_CvGraphEdge", "CvGraphEdge *", 0, 0, (void*)0, 0};
44111 static swig_type_info _swigt__p_CvGraphScanner = {"_p_CvGraphScanner", "CvGraphScanner *", 0, 0, (void*)0, 0};
44112 static swig_type_info _swigt__p_CvGraphVtx = {"_p_CvGraphVtx", "CvGraphVtx *", 0, 0, (void*)0, 0};
44113 static swig_type_info _swigt__p_CvGraphVtx2D = {"_p_CvGraphVtx2D", "CvGraphVtx2D *", 0, 0, (void*)0, 0};
44114 static swig_type_info _swigt__p_CvHaarClassifier = {"_p_CvHaarClassifier", "CvHaarClassifier *", 0, 0, (void*)0, 0};
44115 static swig_type_info _swigt__p_CvHaarClassifierCascade = {"_p_CvHaarClassifierCascade", "CvHaarClassifierCascade *", 0, 0, (void*)0, 0};
44116 static swig_type_info _swigt__p_CvHaarFeature = {"_p_CvHaarFeature", "CvHaarFeature *", 0, 0, (void*)0, 0};
44117 static swig_type_info _swigt__p_CvHaarStageClassifier = {"_p_CvHaarStageClassifier", "CvHaarStageClassifier *", 0, 0, (void*)0, 0};
44118 static swig_type_info _swigt__p_CvHidHaarClassifierCascade = {"_p_CvHidHaarClassifierCascade", "CvHidHaarClassifierCascade *", 0, 0, (void*)0, 0};
44119 static swig_type_info _swigt__p_CvHistogram = {"_p_CvHistogram", "CvHistogram *", 0, 0, (void*)0, 0};
44120 static swig_type_info _swigt__p_CvHuMoments = {"_p_CvHuMoments", "CvHuMoments *", 0, 0, (void*)0, 0};
44121 static swig_type_info _swigt__p_CvKNearest = {"_p_CvKNearest", "CvKNearest *|cv::KNearest *", 0, 0, (void*)&_wrap_class_CvKNearest, 0};
44122 static swig_type_info _swigt__p_CvKalman = {"_p_CvKalman", "CvKalman *", 0, 0, (void*)0, 0};
44123 static swig_type_info _swigt__p_CvLineIterator = {"_p_CvLineIterator", "CvLineIterator *", 0, 0, (void*)0, 0};
44124 static swig_type_info _swigt__p_CvMLData = {"_p_CvMLData", "CvMLData *|cv::TrainData *", 0, 0, (void*)&_wrap_class_CvMLData, 0};
44125 static swig_type_info _swigt__p_CvMSERParams = {"_p_CvMSERParams", "CvMSERParams *", 0, 0, (void*)0, 0};
44126 static swig_type_info _swigt__p_CvMat = {"_p_CvMat", "CvMat *", 0, 0, (void*)0, 0};
44127 static swig_type_info _swigt__p_CvMatND = {"_p_CvMatND", "CvMatND *", 0, 0, (void*)0, 0};
44128 static swig_type_info _swigt__p_CvMatrix3 = {"_p_CvMatrix3", "CvMatrix3 *", 0, 0, (void*)0, 0};
44129 static swig_type_info _swigt__p_CvMemBlock = {"_p_CvMemBlock", "CvMemBlock *", 0, 0, (void*)0, 0};
44130 static swig_type_info _swigt__p_CvMemStorage = {"_p_CvMemStorage", "CvMemStorage *", 0, 0, (void*)0, 0};
44131 static swig_type_info _swigt__p_CvMemStoragePos = {"_p_CvMemStoragePos", "CvMemStoragePos *", 0, 0, (void*)0, 0};
44132 static swig_type_info _swigt__p_CvModuleInfo = {"_p_CvModuleInfo", "CvModuleInfo *", 0, 0, (void*)0, 0};
44133 static swig_type_info _swigt__p_CvMoments = {"_p_CvMoments", "CvMoments *", 0, 0, (void*)0, 0};
44134 static swig_type_info _swigt__p_CvNArrayIterator = {"_p_CvNArrayIterator", "CvNArrayIterator *", 0, 0, (void*)0, 0};
44135 static swig_type_info _swigt__p_CvNextEdgeType = {"_p_CvNextEdgeType", "enum CvNextEdgeType *|CvNextEdgeType *", 0, 0, (void*)0, 0};
44136 static swig_type_info _swigt__p_CvNormalBayesClassifier = {"_p_CvNormalBayesClassifier", "CvNormalBayesClassifier *|cv::NormalBayesClassifier *", 0, 0, (void*)&_wrap_class_CvNormalBayesClassifier, 0};
44137 static swig_type_info _swigt__p_CvPOSITObject = {"_p_CvPOSITObject", "CvPOSITObject *", 0, 0, (void*)0, 0};
44138 static swig_type_info _swigt__p_CvPair16u32s = {"_p_CvPair16u32s", "CvPair16u32s *", 0, 0, (void*)&_wrap_class_CvPair16u32s, 0};
44139 static swig_type_info _swigt__p_CvParamGrid = {"_p_CvParamGrid", "CvParamGrid *|cv::ParamGrid *", 0, 0, (void*)&_wrap_class_CvParamGrid, 0};
44140 static swig_type_info _swigt__p_CvPluginFuncInfo = {"_p_CvPluginFuncInfo", "CvPluginFuncInfo *", 0, 0, (void*)0, 0};
44141 static swig_type_info _swigt__p_CvPoint = {"_p_CvPoint", "CvPoint *", 0, 0, (void*)0, 0};
44142 static swig_type_info _swigt__p_CvPoint2D32f = {"_p_CvPoint2D32f", "CvPoint2D32f *", 0, 0, (void*)0, 0};
44143 static swig_type_info _swigt__p_CvPoint2D64f = {"_p_CvPoint2D64f", "CvPoint2D64f *", 0, 0, (void*)0, 0};
44144 static swig_type_info _swigt__p_CvPoint3D32f = {"_p_CvPoint3D32f", "CvPoint3D32f *", 0, 0, (void*)0, 0};
44145 static swig_type_info _swigt__p_CvPoint3D64f = {"_p_CvPoint3D64f", "CvPoint3D64f *", 0, 0, (void*)0, 0};
44146 static swig_type_info _swigt__p_CvQuadEdge2D = {"_p_CvQuadEdge2D", "CvQuadEdge2D *", 0, 0, (void*)0, 0};
44147 static swig_type_info _swigt__p_CvRNG_Wrapper = {"_p_CvRNG_Wrapper", "CvRNG_Wrapper *", 0, 0, (void*)&_wrap_class_CvRNG_Wrapper, 0};
44148 static swig_type_info _swigt__p_CvRTParams = {"_p_CvRTParams", "CvRTParams *|cv::RandomTreeParams *", 0, 0, (void*)&_wrap_class_CvRTParams, 0};
44149 static swig_type_info _swigt__p_CvRTrees = {"_p_CvRTrees", "CvRTrees *|cv::RandomTrees *", 0, 0, (void*)&_wrap_class_CvRTrees, 0};
44150 static swig_type_info _swigt__p_CvRect = {"_p_CvRect", "CvRect *", 0, 0, (void*)0, 0};
44151 static swig_type_info _swigt__p_CvSURFParams = {"_p_CvSURFParams", "CvSURFParams *", 0, 0, (void*)0, 0};
44152 static swig_type_info _swigt__p_CvSURFPoint = {"_p_CvSURFPoint", "CvSURFPoint *", 0, 0, (void*)0, 0};
44153 static swig_type_info _swigt__p_CvSVM = {"_p_CvSVM", "CvSVM *|cv::SVM *", 0, 0, (void*)&_wrap_class_CvSVM, 0};
44154 static swig_type_info _swigt__p_CvSVMDecisionFunc = {"_p_CvSVMDecisionFunc", "CvSVMDecisionFunc *", 0, 0, (void*)&_wrap_class_CvSVMDecisionFunc, 0};
44155 static swig_type_info _swigt__p_CvSVMKernel = {"_p_CvSVMKernel", "CvSVMKernel *|cv::SVMKernel *", 0, 0, (void*)&_wrap_class_CvSVMKernel, 0};
44156 static swig_type_info _swigt__p_CvSVMKernelRow = {"_p_CvSVMKernelRow", "CvSVMKernelRow *", 0, 0, (void*)&_wrap_class_CvSVMKernelRow, 0};
44157 static swig_type_info _swigt__p_CvSVMParams = {"_p_CvSVMParams", "CvSVMParams *|cv::SVMParams *", 0, 0, (void*)&_wrap_class_CvSVMParams, 0};
44158 static swig_type_info _swigt__p_CvSVMSolutionInfo = {"_p_CvSVMSolutionInfo", "CvSVMSolutionInfo *", 0, 0, (void*)&_wrap_class_CvSVMSolutionInfo, 0};
44159 static swig_type_info _swigt__p_CvSVMSolver = {"_p_CvSVMSolver", "CvSVMSolver *|cv::SVMSolver *", 0, 0, (void*)&_wrap_class_CvSVMSolver, 0};
44160 static swig_type_info _swigt__p_CvScalar = {"_p_CvScalar", "CvScalar *", 0, 0, (void*)0, 0};
44161 static swig_type_info _swigt__p_CvSeq = {"_p_CvSeq", "CvSeq *", 0, 0, (void*)0, 0};
44162 static swig_type_info _swigt__p_CvSeqBlock = {"_p_CvSeqBlock", "CvSeqBlock *", 0, 0, (void*)0, 0};
44163 static swig_type_info _swigt__p_CvSeqReader = {"_p_CvSeqReader", "CvSeqReader *", 0, 0, (void*)0, 0};
44164 static swig_type_info _swigt__p_CvSeqWriter = {"_p_CvSeqWriter", "CvSeqWriter *", 0, 0, (void*)0, 0};
44165 static swig_type_info _swigt__p_CvSet = {"_p_CvSet", "CvSet *", 0, 0, (void*)0, 0};
44166 static swig_type_info _swigt__p_CvSetElem = {"_p_CvSetElem", "CvSetElem *", 0, 0, (void*)0, 0};
44167 static swig_type_info _swigt__p_CvSize = {"_p_CvSize", "CvSize *", 0, 0, (void*)0, 0};
44168 static swig_type_info _swigt__p_CvSize2D32f = {"_p_CvSize2D32f", "CvSize2D32f *", 0, 0, (void*)0, 0};
44169 static swig_type_info _swigt__p_CvSlice = {"_p_CvSlice", "CvSlice *", 0, 0, (void*)0, 0};
44170 static swig_type_info _swigt__p_CvSparseMat = {"_p_CvSparseMat", "CvSparseMat *", 0, 0, (void*)0, 0};
44171 static swig_type_info _swigt__p_CvSparseMatIterator = {"_p_CvSparseMatIterator", "CvSparseMatIterator *", 0, 0, (void*)0, 0};
44172 static swig_type_info _swigt__p_CvSparseNode = {"_p_CvSparseNode", "CvSparseNode *", 0, 0, (void*)0, 0};
44173 static swig_type_info _swigt__p_CvStarDetectorParams = {"_p_CvStarDetectorParams", "CvStarDetectorParams *", 0, 0, (void*)0, 0};
44174 static swig_type_info _swigt__p_CvStarKeypoint = {"_p_CvStarKeypoint", "CvStarKeypoint *", 0, 0, (void*)0, 0};
44175 static swig_type_info _swigt__p_CvStatModel = {"_p_CvStatModel", "CvStatModel *|cv::StatModel *", 0, 0, (void*)&_wrap_class_CvStatModel, 0};
44176 static swig_type_info _swigt__p_CvStereoBMState = {"_p_CvStereoBMState", "CvStereoBMState *", 0, 0, (void*)0, 0};
44177 static swig_type_info _swigt__p_CvStereoGCState = {"_p_CvStereoGCState", "CvStereoGCState *", 0, 0, (void*)0, 0};
44178 static swig_type_info _swigt__p_CvString = {"_p_CvString", "CvString *", 0, 0, (void*)0, 0};
44179 static swig_type_info _swigt__p_CvStringHashNode = {"_p_CvStringHashNode", "CvStringHashNode *", 0, 0, (void*)0, 0};
44180 static swig_type_info _swigt__p_CvSubdiv2D = {"_p_CvSubdiv2D", "CvSubdiv2D *", 0, 0, (void*)0, 0};
44181 static swig_type_info _swigt__p_CvSubdiv2DEdge_Wrapper = {"_p_CvSubdiv2DEdge_Wrapper", "CvSubdiv2DEdge_Wrapper *", 0, 0, (void*)&_wrap_class_CvSubdiv2DEdge_Wrapper, 0};
44182 static swig_type_info _swigt__p_CvSubdiv2DPoint = {"_p_CvSubdiv2DPoint", "CvSubdiv2DPoint *", 0, 0, (void*)0, 0};
44183 static swig_type_info _swigt__p_CvSubdiv2DPointLocation = {"_p_CvSubdiv2DPointLocation", "enum CvSubdiv2DPointLocation *|CvSubdiv2DPointLocation *", 0, 0, (void*)0, 0};
44184 static swig_type_info _swigt__p_CvTermCriteria = {"_p_CvTermCriteria", "CvTermCriteria *", 0, 0, (void*)0, 0};
44185 static swig_type_info _swigt__p_CvTrainTestSplit = {"_p_CvTrainTestSplit", "CvTrainTestSplit *", 0, 0, (void*)&_wrap_class_CvTrainTestSplit, 0};
44186 static swig_type_info _swigt__p_CvTrainTestSplit_class_part = {"_p_CvTrainTestSplit_class_part", "CvTrainTestSplit_class_part *", 0, 0, (void*)&_wrap_class_CvTrainTestSplit_class_part, 0};
44187 static swig_type_info _swigt__p_CvTrainTestSplit_train_sample_part = {"_p_CvTrainTestSplit_train_sample_part", "CvTrainTestSplit_train_sample_part *", 0, 0, (void*)&_wrap_class_CvTrainTestSplit_train_sample_part, 0};
44188 static swig_type_info _swigt__p_CvTreeNodeIterator = {"_p_CvTreeNodeIterator", "CvTreeNodeIterator *", 0, 0, (void*)0, 0};
44189 static swig_type_info _swigt__p_CvTypeInfo = {"_p_CvTypeInfo", "CvTypeInfo *", 0, 0, (void*)0, 0};
44190 static swig_type_info _swigt__p_CvVectors = {"_p_CvVectors", "CvVectors *", 0, 0, (void*)&_wrap_class_CvVectors, 0};
44191 static swig_type_info _swigt__p_CvVectors_data = {"_p_CvVectors_data", "CvVectors_data *", 0, 0, (void*)&_wrap_class_CvVectors_data, 0};
44192 static swig_type_info _swigt__p_GetRow = {"_p_GetRow", "GetRow *", 0, 0, (void*)0, 0};
44193 static swig_type_info _swigt__p_SelectWorkingSet = {"_p_SelectWorkingSet", "SelectWorkingSet *", 0, 0, (void*)0, 0};
44194 static swig_type_info _swigt__p__IplConvKernel = {"_p__IplConvKernel", "_IplConvKernel *|IplConvKernel *", 0, 0, (void*)0, 0};
44195 static swig_type_info _swigt__p__IplConvKernelFP = {"_p__IplConvKernelFP", "_IplConvKernelFP *|IplConvKernelFP *", 0, 0, (void*)0, 0};
44196 static swig_type_info _swigt__p__IplImage = {"_p__IplImage", "_IplImage *|IplImage *", 0, 0, (void*)0, 0};
44197 static swig_type_info _swigt__p__IplROI = {"_p__IplROI", "_IplROI *|IplROI *", 0, 0, (void*)0, 0};
44198 static swig_type_info _swigt__p__IplTileInfo = {"_p__IplTileInfo", "_IplTileInfo *|IplTileInfo *", 0, 0, (void*)0, 0};
44199 static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
44200 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
44201 static swig_type_info _swigt__p_double = {"_p_double", "double *", 0, 0, (void*)0, 0};
44202 static swig_type_info _swigt__p_float = {"_p_float", "float *", 0, 0, (void*)0, 0};
44203 static swig_type_info _swigt__p_int = {"_p_int", "CvHistType *|int *|CVStatus *", 0, 0, (void*)0, 0};
44204 static swig_type_info _swigt__p_int64_t = {"_p_int64_t", "int64_t *|int64 *", 0, 0, (void*)0, 0};
44205 static swig_type_info _swigt__p_p_CvMat = {"_p_p_CvMat", "CvMat **", 0, 0, (void*)0, 0};
44206 static swig_type_info _swigt__p_p_double = {"_p_p_double", "double **", 0, 0, (void*)0, 0};
44207 static swig_type_info _swigt__p_p_float = {"_p_p_float", "float **", 0, 0, (void*)0, 0};
44208 static swig_type_info _swigt__p_p_int = {"_p_p_int", "int **", 0, 0, (void*)0, 0};
44209 static swig_type_info _swigt__p_p_unsigned_char = {"_p_p_unsigned_char", "unsigned char **|uchar **", 0, 0, (void*)0, 0};
44210 static swig_type_info _swigt__p_signed_char = {"_p_signed_char", "schar *|signed char *", 0, 0, (void*)0, 0};
44211 static swig_type_info _swigt__p_size_t = {"_p_size_t", "size_t *|CvSubdiv2DEdge *", 0, 0, (void*)0, 0};
44212 static swig_type_info _swigt__p_uint64_t = {"_p_uint64_t", "uint64_t *|uint64 *|CvRNG *", 0, 0, (void*)0, 0};
44213 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "uchar *|unsigned char *", 0, 0, (void*)0, 0};
44214 static swig_type_info _swigt__p_unsigned_short = {"_p_unsigned_short", "unsigned short *|ushort *", 0, 0, (void*)0, 0};
44215 static swig_type_info _swigt__p_vectorT_float_t = {"_p_vectorT_float_t", "vector< float > *", 0, 0, (void*)0, 0};
44216 static swig_type_info _swigt__p_vectorT_vectorT_float_t_t = {"_p_vectorT_vectorT_float_t_t", "vector< vector< float > > *", 0, 0, (void*)0, 0};
44217 static swig_type_info _swigt__p_vectorT_vectorT_int_t_t = {"_p_vectorT_vectorT_int_t_t", "vector< vector< int > > *", 0, 0, (void*)0, 0};
44218 static swig_type_info _swigt__p_void = {"_p_void", "CvArr *|void *", 0, 0, (void*)0, 0};
44220 static swig_type_info *swig_type_initial[] = {
44221 &_swigt__m_CvSVMKernel__f_int_int_p_p_q_const__float_p_q_const__float_p_float__void,
44222 &_swigt__m_CvSVMSolver__f_int_p_float_p_float_bool__p_float,
44223 &_swigt__m_CvSVMSolver__f_r_double_r_double__void,
44224 &_swigt__m_CvSVMSolver__f_r_int_r_int__bool,
44226 &_swigt__p_CalcRho,
44227 &_swigt__p_Cv32suf,
44228 &_swigt__p_Cv64suf,
44229 &_swigt__p_CvANN_MLP,
44230 &_swigt__p_CvANN_MLP_TrainParams,
44231 &_swigt__p_CvAttrList,
44232 &_swigt__p_CvAvgComp,
44233 &_swigt__p_CvBoost,
44234 &_swigt__p_CvBoostParams,
44235 &_swigt__p_CvBoostTree,
44236 &_swigt__p_CvBox2D,
44237 &_swigt__p_CvChain,
44238 &_swigt__p_CvChainPtReader,
44239 &_swigt__p_CvConDensation,
44240 &_swigt__p_CvConnectedComp,
44241 &_swigt__p_CvContour,
44242 &_swigt__p_CvContourTree,
44243 &_swigt__p_CvConvexityDefect,
44244 &_swigt__p_CvDTree,
44245 &_swigt__p_CvDTreeNode,
44246 &_swigt__p_CvDTreeParams,
44247 &_swigt__p_CvDTreeSplit,
44248 &_swigt__p_CvDTreeTrainData,
44250 &_swigt__p_CvEMParams,
44251 &_swigt__p_CvERTreeTrainData,
44252 &_swigt__p_CvERTrees,
44253 &_swigt__p_CvFileNode,
44254 &_swigt__p_CvFileStorage,
44255 &_swigt__p_CvFilter,
44257 &_swigt__p_CvForestERTree,
44258 &_swigt__p_CvForestTree,
44259 &_swigt__p_CvGenericHash,
44260 &_swigt__p_CvGraph,
44261 &_swigt__p_CvGraphEdge,
44262 &_swigt__p_CvGraphScanner,
44263 &_swigt__p_CvGraphVtx,
44264 &_swigt__p_CvGraphVtx2D,
44265 &_swigt__p_CvHaarClassifier,
44266 &_swigt__p_CvHaarClassifierCascade,
44267 &_swigt__p_CvHaarFeature,
44268 &_swigt__p_CvHaarStageClassifier,
44269 &_swigt__p_CvHidHaarClassifierCascade,
44270 &_swigt__p_CvHistogram,
44271 &_swigt__p_CvHuMoments,
44272 &_swigt__p_CvKNearest,
44273 &_swigt__p_CvKalman,
44274 &_swigt__p_CvLineIterator,
44275 &_swigt__p_CvMLData,
44276 &_swigt__p_CvMSERParams,
44278 &_swigt__p_CvMatND,
44279 &_swigt__p_CvMatrix3,
44280 &_swigt__p_CvMemBlock,
44281 &_swigt__p_CvMemStorage,
44282 &_swigt__p_CvMemStoragePos,
44283 &_swigt__p_CvModuleInfo,
44284 &_swigt__p_CvMoments,
44285 &_swigt__p_CvNArrayIterator,
44286 &_swigt__p_CvNextEdgeType,
44287 &_swigt__p_CvNormalBayesClassifier,
44288 &_swigt__p_CvPOSITObject,
44289 &_swigt__p_CvPair16u32s,
44290 &_swigt__p_CvParamGrid,
44291 &_swigt__p_CvPluginFuncInfo,
44292 &_swigt__p_CvPoint,
44293 &_swigt__p_CvPoint2D32f,
44294 &_swigt__p_CvPoint2D64f,
44295 &_swigt__p_CvPoint3D32f,
44296 &_swigt__p_CvPoint3D64f,
44297 &_swigt__p_CvQuadEdge2D,
44298 &_swigt__p_CvRNG_Wrapper,
44299 &_swigt__p_CvRTParams,
44300 &_swigt__p_CvRTrees,
44302 &_swigt__p_CvSURFParams,
44303 &_swigt__p_CvSURFPoint,
44305 &_swigt__p_CvSVMDecisionFunc,
44306 &_swigt__p_CvSVMKernel,
44307 &_swigt__p_CvSVMKernelRow,
44308 &_swigt__p_CvSVMParams,
44309 &_swigt__p_CvSVMSolutionInfo,
44310 &_swigt__p_CvSVMSolver,
44311 &_swigt__p_CvScalar,
44313 &_swigt__p_CvSeqBlock,
44314 &_swigt__p_CvSeqReader,
44315 &_swigt__p_CvSeqWriter,
44317 &_swigt__p_CvSetElem,
44319 &_swigt__p_CvSize2D32f,
44320 &_swigt__p_CvSlice,
44321 &_swigt__p_CvSparseMat,
44322 &_swigt__p_CvSparseMatIterator,
44323 &_swigt__p_CvSparseNode,
44324 &_swigt__p_CvStarDetectorParams,
44325 &_swigt__p_CvStarKeypoint,
44326 &_swigt__p_CvStatModel,
44327 &_swigt__p_CvStereoBMState,
44328 &_swigt__p_CvStereoGCState,
44329 &_swigt__p_CvString,
44330 &_swigt__p_CvStringHashNode,
44331 &_swigt__p_CvSubdiv2D,
44332 &_swigt__p_CvSubdiv2DEdge_Wrapper,
44333 &_swigt__p_CvSubdiv2DPoint,
44334 &_swigt__p_CvSubdiv2DPointLocation,
44335 &_swigt__p_CvTermCriteria,
44336 &_swigt__p_CvTrainTestSplit,
44337 &_swigt__p_CvTrainTestSplit_class_part,
44338 &_swigt__p_CvTrainTestSplit_train_sample_part,
44339 &_swigt__p_CvTreeNodeIterator,
44340 &_swigt__p_CvTypeInfo,
44341 &_swigt__p_CvVectors,
44342 &_swigt__p_CvVectors_data,
44344 &_swigt__p_SelectWorkingSet,
44345 &_swigt__p__IplConvKernel,
44346 &_swigt__p__IplConvKernelFP,
44347 &_swigt__p__IplImage,
44348 &_swigt__p__IplROI,
44349 &_swigt__p__IplTileInfo,
44355 &_swigt__p_int64_t,
44356 &_swigt__p_p_CvMat,
44357 &_swigt__p_p_double,
44358 &_swigt__p_p_float,
44360 &_swigt__p_p_unsigned_char,
44361 &_swigt__p_signed_char,
44363 &_swigt__p_uint64_t,
44364 &_swigt__p_unsigned_char,
44365 &_swigt__p_unsigned_short,
44366 &_swigt__p_vectorT_float_t,
44367 &_swigt__p_vectorT_vectorT_float_t_t,
44368 &_swigt__p_vectorT_vectorT_int_t_t,
44372 static swig_cast_info _swigc__m_CvSVMKernel__f_int_int_p_p_q_const__float_p_q_const__float_p_float__void[] = { {&_swigt__m_CvSVMKernel__f_int_int_p_p_q_const__float_p_q_const__float_p_float__void, 0, 0, 0},{0, 0, 0, 0}};
44373 static swig_cast_info _swigc__m_CvSVMSolver__f_int_p_float_p_float_bool__p_float[] = { {&_swigt__m_CvSVMSolver__f_int_p_float_p_float_bool__p_float, 0, 0, 0},{0, 0, 0, 0}};
44374 static swig_cast_info _swigc__m_CvSVMSolver__f_r_double_r_double__void[] = { {&_swigt__m_CvSVMSolver__f_r_double_r_double__void, 0, 0, 0},{0, 0, 0, 0}};
44375 static swig_cast_info _swigc__m_CvSVMSolver__f_r_int_r_int__bool[] = { {&_swigt__m_CvSVMSolver__f_r_int_r_int__bool, 0, 0, 0},{0, 0, 0, 0}};
44376 static swig_cast_info _swigc__p_Calc[] = { {&_swigt__p_Calc, 0, 0, 0},{0, 0, 0, 0}};
44377 static swig_cast_info _swigc__p_CalcRho[] = { {&_swigt__p_CalcRho, 0, 0, 0},{0, 0, 0, 0}};
44378 static swig_cast_info _swigc__p_Cv32suf[] = { {&_swigt__p_Cv32suf, 0, 0, 0},{0, 0, 0, 0}};
44379 static swig_cast_info _swigc__p_Cv64suf[] = { {&_swigt__p_Cv64suf, 0, 0, 0},{0, 0, 0, 0}};
44380 static swig_cast_info _swigc__p_CvANN_MLP[] = { {&_swigt__p_CvANN_MLP, 0, 0, 0},{0, 0, 0, 0}};
44381 static swig_cast_info _swigc__p_CvANN_MLP_TrainParams[] = { {&_swigt__p_CvANN_MLP_TrainParams, 0, 0, 0},{0, 0, 0, 0}};
44382 static swig_cast_info _swigc__p_CvAttrList[] = { {&_swigt__p_CvAttrList, 0, 0, 0},{0, 0, 0, 0}};
44383 static swig_cast_info _swigc__p_CvAvgComp[] = { {&_swigt__p_CvAvgComp, 0, 0, 0},{0, 0, 0, 0}};
44384 static swig_cast_info _swigc__p_CvBoost[] = { {&_swigt__p_CvBoost, 0, 0, 0},{0, 0, 0, 0}};
44385 static swig_cast_info _swigc__p_CvBoostParams[] = { {&_swigt__p_CvBoostParams, 0, 0, 0},{0, 0, 0, 0}};
44386 static swig_cast_info _swigc__p_CvBoostTree[] = { {&_swigt__p_CvBoostTree, 0, 0, 0},{0, 0, 0, 0}};
44387 static swig_cast_info _swigc__p_CvBox2D[] = { {&_swigt__p_CvBox2D, 0, 0, 0},{0, 0, 0, 0}};
44388 static swig_cast_info _swigc__p_CvChain[] = { {&_swigt__p_CvChain, 0, 0, 0},{0, 0, 0, 0}};
44389 static swig_cast_info _swigc__p_CvChainPtReader[] = { {&_swigt__p_CvChainPtReader, 0, 0, 0},{0, 0, 0, 0}};
44390 static swig_cast_info _swigc__p_CvConDensation[] = { {&_swigt__p_CvConDensation, 0, 0, 0},{0, 0, 0, 0}};
44391 static swig_cast_info _swigc__p_CvConnectedComp[] = { {&_swigt__p_CvConnectedComp, 0, 0, 0},{0, 0, 0, 0}};
44392 static swig_cast_info _swigc__p_CvContour[] = { {&_swigt__p_CvContour, 0, 0, 0},{0, 0, 0, 0}};
44393 static swig_cast_info _swigc__p_CvContourTree[] = { {&_swigt__p_CvContourTree, 0, 0, 0},{0, 0, 0, 0}};
44394 static swig_cast_info _swigc__p_CvConvexityDefect[] = { {&_swigt__p_CvConvexityDefect, 0, 0, 0},{0, 0, 0, 0}};
44395 static swig_cast_info _swigc__p_CvDTree[] = { {&_swigt__p_CvForestERTree, _p_CvForestERTreeTo_p_CvDTree, 0, 0}, {&_swigt__p_CvForestTree, _p_CvForestTreeTo_p_CvDTree, 0, 0}, {&_swigt__p_CvBoostTree, _p_CvBoostTreeTo_p_CvDTree, 0, 0}, {&_swigt__p_CvDTree, 0, 0, 0},{0, 0, 0, 0}};
44396 static swig_cast_info _swigc__p_CvDTreeNode[] = { {&_swigt__p_CvDTreeNode, 0, 0, 0},{0, 0, 0, 0}};
44397 static swig_cast_info _swigc__p_CvDTreeParams[] = { {&_swigt__p_CvRTParams, _p_CvRTParamsTo_p_CvDTreeParams, 0, 0}, {&_swigt__p_CvBoostParams, _p_CvBoostParamsTo_p_CvDTreeParams, 0, 0}, {&_swigt__p_CvDTreeParams, 0, 0, 0},{0, 0, 0, 0}};
44398 static swig_cast_info _swigc__p_CvDTreeSplit[] = { {&_swigt__p_CvDTreeSplit, 0, 0, 0},{0, 0, 0, 0}};
44399 static swig_cast_info _swigc__p_CvDTreeTrainData[] = { {&_swigt__p_CvDTreeTrainData, 0, 0, 0}, {&_swigt__p_CvERTreeTrainData, _p_CvERTreeTrainDataTo_p_CvDTreeTrainData, 0, 0},{0, 0, 0, 0}};
44400 static swig_cast_info _swigc__p_CvEM[] = { {&_swigt__p_CvEM, 0, 0, 0},{0, 0, 0, 0}};
44401 static swig_cast_info _swigc__p_CvEMParams[] = { {&_swigt__p_CvEMParams, 0, 0, 0},{0, 0, 0, 0}};
44402 static swig_cast_info _swigc__p_CvERTreeTrainData[] = { {&_swigt__p_CvERTreeTrainData, 0, 0, 0},{0, 0, 0, 0}};
44403 static swig_cast_info _swigc__p_CvERTrees[] = { {&_swigt__p_CvERTrees, 0, 0, 0},{0, 0, 0, 0}};
44404 static swig_cast_info _swigc__p_CvFileNode[] = { {&_swigt__p_CvFileNode, 0, 0, 0},{0, 0, 0, 0}};
44405 static swig_cast_info _swigc__p_CvFileStorage[] = { {&_swigt__p_CvFileStorage, 0, 0, 0},{0, 0, 0, 0}};
44406 static swig_cast_info _swigc__p_CvFilter[] = { {&_swigt__p_CvFilter, 0, 0, 0},{0, 0, 0, 0}};
44407 static swig_cast_info _swigc__p_CvFont[] = { {&_swigt__p_CvFont, 0, 0, 0},{0, 0, 0, 0}};
44408 static swig_cast_info _swigc__p_CvForestERTree[] = { {&_swigt__p_CvForestERTree, 0, 0, 0},{0, 0, 0, 0}};
44409 static swig_cast_info _swigc__p_CvForestTree[] = { {&_swigt__p_CvForestERTree, _p_CvForestERTreeTo_p_CvForestTree, 0, 0}, {&_swigt__p_CvForestTree, 0, 0, 0},{0, 0, 0, 0}};
44410 static swig_cast_info _swigc__p_CvGenericHash[] = { {&_swigt__p_CvGenericHash, 0, 0, 0},{0, 0, 0, 0}};
44411 static swig_cast_info _swigc__p_CvGraph[] = { {&_swigt__p_CvGraph, 0, 0, 0},{0, 0, 0, 0}};
44412 static swig_cast_info _swigc__p_CvGraphEdge[] = { {&_swigt__p_CvGraphEdge, 0, 0, 0},{0, 0, 0, 0}};
44413 static swig_cast_info _swigc__p_CvGraphScanner[] = { {&_swigt__p_CvGraphScanner, 0, 0, 0},{0, 0, 0, 0}};
44414 static swig_cast_info _swigc__p_CvGraphVtx[] = { {&_swigt__p_CvGraphVtx, 0, 0, 0},{0, 0, 0, 0}};
44415 static swig_cast_info _swigc__p_CvGraphVtx2D[] = { {&_swigt__p_CvGraphVtx2D, 0, 0, 0},{0, 0, 0, 0}};
44416 static swig_cast_info _swigc__p_CvHaarClassifier[] = { {&_swigt__p_CvHaarClassifier, 0, 0, 0},{0, 0, 0, 0}};
44417 static swig_cast_info _swigc__p_CvHaarClassifierCascade[] = { {&_swigt__p_CvHaarClassifierCascade, 0, 0, 0},{0, 0, 0, 0}};
44418 static swig_cast_info _swigc__p_CvHaarFeature[] = { {&_swigt__p_CvHaarFeature, 0, 0, 0},{0, 0, 0, 0}};
44419 static swig_cast_info _swigc__p_CvHaarStageClassifier[] = { {&_swigt__p_CvHaarStageClassifier, 0, 0, 0},{0, 0, 0, 0}};
44420 static swig_cast_info _swigc__p_CvHidHaarClassifierCascade[] = { {&_swigt__p_CvHidHaarClassifierCascade, 0, 0, 0},{0, 0, 0, 0}};
44421 static swig_cast_info _swigc__p_CvHistogram[] = { {&_swigt__p_CvHistogram, 0, 0, 0},{0, 0, 0, 0}};
44422 static swig_cast_info _swigc__p_CvHuMoments[] = { {&_swigt__p_CvHuMoments, 0, 0, 0},{0, 0, 0, 0}};
44423 static swig_cast_info _swigc__p_CvKNearest[] = { {&_swigt__p_CvKNearest, 0, 0, 0},{0, 0, 0, 0}};
44424 static swig_cast_info _swigc__p_CvKalman[] = { {&_swigt__p_CvKalman, 0, 0, 0},{0, 0, 0, 0}};
44425 static swig_cast_info _swigc__p_CvLineIterator[] = { {&_swigt__p_CvLineIterator, 0, 0, 0},{0, 0, 0, 0}};
44426 static swig_cast_info _swigc__p_CvMLData[] = { {&_swigt__p_CvMLData, 0, 0, 0},{0, 0, 0, 0}};
44427 static swig_cast_info _swigc__p_CvMSERParams[] = { {&_swigt__p_CvMSERParams, 0, 0, 0},{0, 0, 0, 0}};
44428 static swig_cast_info _swigc__p_CvMat[] = { {&_swigt__p_CvMat, 0, 0, 0},{0, 0, 0, 0}};
44429 static swig_cast_info _swigc__p_CvMatND[] = { {&_swigt__p_CvMatND, 0, 0, 0},{0, 0, 0, 0}};
44430 static swig_cast_info _swigc__p_CvMatrix3[] = { {&_swigt__p_CvMatrix3, 0, 0, 0},{0, 0, 0, 0}};
44431 static swig_cast_info _swigc__p_CvMemBlock[] = { {&_swigt__p_CvMemBlock, 0, 0, 0},{0, 0, 0, 0}};
44432 static swig_cast_info _swigc__p_CvMemStorage[] = { {&_swigt__p_CvMemStorage, 0, 0, 0},{0, 0, 0, 0}};
44433 static swig_cast_info _swigc__p_CvMemStoragePos[] = { {&_swigt__p_CvMemStoragePos, 0, 0, 0},{0, 0, 0, 0}};
44434 static swig_cast_info _swigc__p_CvModuleInfo[] = { {&_swigt__p_CvModuleInfo, 0, 0, 0},{0, 0, 0, 0}};
44435 static swig_cast_info _swigc__p_CvMoments[] = { {&_swigt__p_CvMoments, 0, 0, 0},{0, 0, 0, 0}};
44436 static swig_cast_info _swigc__p_CvNArrayIterator[] = { {&_swigt__p_CvNArrayIterator, 0, 0, 0},{0, 0, 0, 0}};
44437 static swig_cast_info _swigc__p_CvNextEdgeType[] = { {&_swigt__p_CvNextEdgeType, 0, 0, 0},{0, 0, 0, 0}};
44438 static swig_cast_info _swigc__p_CvNormalBayesClassifier[] = { {&_swigt__p_CvNormalBayesClassifier, 0, 0, 0},{0, 0, 0, 0}};
44439 static swig_cast_info _swigc__p_CvPOSITObject[] = { {&_swigt__p_CvPOSITObject, 0, 0, 0},{0, 0, 0, 0}};
44440 static swig_cast_info _swigc__p_CvPair16u32s[] = { {&_swigt__p_CvPair16u32s, 0, 0, 0},{0, 0, 0, 0}};
44441 static swig_cast_info _swigc__p_CvParamGrid[] = { {&_swigt__p_CvParamGrid, 0, 0, 0},{0, 0, 0, 0}};
44442 static swig_cast_info _swigc__p_CvPluginFuncInfo[] = { {&_swigt__p_CvPluginFuncInfo, 0, 0, 0},{0, 0, 0, 0}};
44443 static swig_cast_info _swigc__p_CvPoint[] = { {&_swigt__p_CvPoint, 0, 0, 0},{0, 0, 0, 0}};
44444 static swig_cast_info _swigc__p_CvPoint2D32f[] = { {&_swigt__p_CvPoint2D32f, 0, 0, 0},{0, 0, 0, 0}};
44445 static swig_cast_info _swigc__p_CvPoint2D64f[] = { {&_swigt__p_CvPoint2D64f, 0, 0, 0},{0, 0, 0, 0}};
44446 static swig_cast_info _swigc__p_CvPoint3D32f[] = { {&_swigt__p_CvPoint3D32f, 0, 0, 0},{0, 0, 0, 0}};
44447 static swig_cast_info _swigc__p_CvPoint3D64f[] = { {&_swigt__p_CvPoint3D64f, 0, 0, 0},{0, 0, 0, 0}};
44448 static swig_cast_info _swigc__p_CvQuadEdge2D[] = { {&_swigt__p_CvQuadEdge2D, 0, 0, 0},{0, 0, 0, 0}};
44449 static swig_cast_info _swigc__p_CvRNG_Wrapper[] = { {&_swigt__p_CvRNG_Wrapper, 0, 0, 0},{0, 0, 0, 0}};
44450 static swig_cast_info _swigc__p_CvRTParams[] = { {&_swigt__p_CvRTParams, 0, 0, 0},{0, 0, 0, 0}};
44451 static swig_cast_info _swigc__p_CvRTrees[] = { {&_swigt__p_CvRTrees, 0, 0, 0}, {&_swigt__p_CvERTrees, _p_CvERTreesTo_p_CvRTrees, 0, 0},{0, 0, 0, 0}};
44452 static swig_cast_info _swigc__p_CvRect[] = { {&_swigt__p_CvRect, 0, 0, 0},{0, 0, 0, 0}};
44453 static swig_cast_info _swigc__p_CvSURFParams[] = { {&_swigt__p_CvSURFParams, 0, 0, 0},{0, 0, 0, 0}};
44454 static swig_cast_info _swigc__p_CvSURFPoint[] = { {&_swigt__p_CvSURFPoint, 0, 0, 0},{0, 0, 0, 0}};
44455 static swig_cast_info _swigc__p_CvSVM[] = { {&_swigt__p_CvSVM, 0, 0, 0},{0, 0, 0, 0}};
44456 static swig_cast_info _swigc__p_CvSVMDecisionFunc[] = { {&_swigt__p_CvSVMDecisionFunc, 0, 0, 0},{0, 0, 0, 0}};
44457 static swig_cast_info _swigc__p_CvSVMKernel[] = { {&_swigt__p_CvSVMKernel, 0, 0, 0},{0, 0, 0, 0}};
44458 static swig_cast_info _swigc__p_CvSVMKernelRow[] = { {&_swigt__p_CvSVMKernelRow, 0, 0, 0},{0, 0, 0, 0}};
44459 static swig_cast_info _swigc__p_CvSVMParams[] = { {&_swigt__p_CvSVMParams, 0, 0, 0},{0, 0, 0, 0}};
44460 static swig_cast_info _swigc__p_CvSVMSolutionInfo[] = { {&_swigt__p_CvSVMSolutionInfo, 0, 0, 0},{0, 0, 0, 0}};
44461 static swig_cast_info _swigc__p_CvSVMSolver[] = { {&_swigt__p_CvSVMSolver, 0, 0, 0},{0, 0, 0, 0}};
44462 static swig_cast_info _swigc__p_CvScalar[] = { {&_swigt__p_CvScalar, 0, 0, 0},{0, 0, 0, 0}};
44463 static swig_cast_info _swigc__p_CvSeq[] = { {&_swigt__p_CvSeq, 0, 0, 0},{0, 0, 0, 0}};
44464 static swig_cast_info _swigc__p_CvSeqBlock[] = { {&_swigt__p_CvSeqBlock, 0, 0, 0},{0, 0, 0, 0}};
44465 static swig_cast_info _swigc__p_CvSeqReader[] = { {&_swigt__p_CvSeqReader, 0, 0, 0},{0, 0, 0, 0}};
44466 static swig_cast_info _swigc__p_CvSeqWriter[] = { {&_swigt__p_CvSeqWriter, 0, 0, 0},{0, 0, 0, 0}};
44467 static swig_cast_info _swigc__p_CvSet[] = { {&_swigt__p_CvSet, 0, 0, 0},{0, 0, 0, 0}};
44468 static swig_cast_info _swigc__p_CvSetElem[] = { {&_swigt__p_CvSetElem, 0, 0, 0},{0, 0, 0, 0}};
44469 static swig_cast_info _swigc__p_CvSize[] = { {&_swigt__p_CvSize, 0, 0, 0},{0, 0, 0, 0}};
44470 static swig_cast_info _swigc__p_CvSize2D32f[] = { {&_swigt__p_CvSize2D32f, 0, 0, 0},{0, 0, 0, 0}};
44471 static swig_cast_info _swigc__p_CvSlice[] = { {&_swigt__p_CvSlice, 0, 0, 0},{0, 0, 0, 0}};
44472 static swig_cast_info _swigc__p_CvSparseMat[] = { {&_swigt__p_CvSparseMat, 0, 0, 0},{0, 0, 0, 0}};
44473 static swig_cast_info _swigc__p_CvSparseMatIterator[] = { {&_swigt__p_CvSparseMatIterator, 0, 0, 0},{0, 0, 0, 0}};
44474 static swig_cast_info _swigc__p_CvSparseNode[] = { {&_swigt__p_CvSparseNode, 0, 0, 0},{0, 0, 0, 0}};
44475 static swig_cast_info _swigc__p_CvStarDetectorParams[] = { {&_swigt__p_CvStarDetectorParams, 0, 0, 0},{0, 0, 0, 0}};
44476 static swig_cast_info _swigc__p_CvStarKeypoint[] = { {&_swigt__p_CvStarKeypoint, 0, 0, 0},{0, 0, 0, 0}};
44477 static swig_cast_info _swigc__p_CvStatModel[] = { {&_swigt__p_CvNormalBayesClassifier, _p_CvNormalBayesClassifierTo_p_CvStatModel, 0, 0}, {&_swigt__p_CvForestERTree, _p_CvForestERTreeTo_p_CvStatModel, 0, 0}, {&_swigt__p_CvANN_MLP, _p_CvANN_MLPTo_p_CvStatModel, 0, 0}, {&_swigt__p_CvStatModel, 0, 0, 0}, {&_swigt__p_CvKNearest, _p_CvKNearestTo_p_CvStatModel, 0, 0}, {&_swigt__p_CvForestTree, _p_CvForestTreeTo_p_CvStatModel, 0, 0}, {&_swigt__p_CvRTrees, _p_CvRTreesTo_p_CvStatModel, 0, 0}, {&_swigt__p_CvBoostTree, _p_CvBoostTreeTo_p_CvStatModel, 0, 0}, {&_swigt__p_CvERTrees, _p_CvERTreesTo_p_CvStatModel, 0, 0}, {&_swigt__p_CvEM, _p_CvEMTo_p_CvStatModel, 0, 0}, {&_swigt__p_CvSVM, _p_CvSVMTo_p_CvStatModel, 0, 0}, {&_swigt__p_CvDTree, _p_CvDTreeTo_p_CvStatModel, 0, 0}, {&_swigt__p_CvBoost, _p_CvBoostTo_p_CvStatModel, 0, 0},{0, 0, 0, 0}};
44478 static swig_cast_info _swigc__p_CvStereoBMState[] = { {&_swigt__p_CvStereoBMState, 0, 0, 0},{0, 0, 0, 0}};
44479 static swig_cast_info _swigc__p_CvStereoGCState[] = { {&_swigt__p_CvStereoGCState, 0, 0, 0},{0, 0, 0, 0}};
44480 static swig_cast_info _swigc__p_CvString[] = { {&_swigt__p_CvString, 0, 0, 0},{0, 0, 0, 0}};
44481 static swig_cast_info _swigc__p_CvStringHashNode[] = { {&_swigt__p_CvStringHashNode, 0, 0, 0},{0, 0, 0, 0}};
44482 static swig_cast_info _swigc__p_CvSubdiv2D[] = { {&_swigt__p_CvSubdiv2D, 0, 0, 0},{0, 0, 0, 0}};
44483 static swig_cast_info _swigc__p_CvSubdiv2DEdge_Wrapper[] = { {&_swigt__p_CvSubdiv2DEdge_Wrapper, 0, 0, 0},{0, 0, 0, 0}};
44484 static swig_cast_info _swigc__p_CvSubdiv2DPoint[] = { {&_swigt__p_CvSubdiv2DPoint, 0, 0, 0},{0, 0, 0, 0}};
44485 static swig_cast_info _swigc__p_CvSubdiv2DPointLocation[] = { {&_swigt__p_CvSubdiv2DPointLocation, 0, 0, 0},{0, 0, 0, 0}};
44486 static swig_cast_info _swigc__p_CvTermCriteria[] = { {&_swigt__p_CvTermCriteria, 0, 0, 0},{0, 0, 0, 0}};
44487 static swig_cast_info _swigc__p_CvTrainTestSplit[] = { {&_swigt__p_CvTrainTestSplit, 0, 0, 0},{0, 0, 0, 0}};
44488 static swig_cast_info _swigc__p_CvTrainTestSplit_class_part[] = { {&_swigt__p_CvTrainTestSplit_class_part, 0, 0, 0},{0, 0, 0, 0}};
44489 static swig_cast_info _swigc__p_CvTrainTestSplit_train_sample_part[] = { {&_swigt__p_CvTrainTestSplit_train_sample_part, 0, 0, 0},{0, 0, 0, 0}};
44490 static swig_cast_info _swigc__p_CvTreeNodeIterator[] = { {&_swigt__p_CvTreeNodeIterator, 0, 0, 0},{0, 0, 0, 0}};
44491 static swig_cast_info _swigc__p_CvTypeInfo[] = { {&_swigt__p_CvTypeInfo, 0, 0, 0},{0, 0, 0, 0}};
44492 static swig_cast_info _swigc__p_CvVectors[] = { {&_swigt__p_CvVectors, 0, 0, 0},{0, 0, 0, 0}};
44493 static swig_cast_info _swigc__p_CvVectors_data[] = { {&_swigt__p_CvVectors_data, 0, 0, 0},{0, 0, 0, 0}};
44494 static swig_cast_info _swigc__p_GetRow[] = { {&_swigt__p_GetRow, 0, 0, 0},{0, 0, 0, 0}};
44495 static swig_cast_info _swigc__p_SelectWorkingSet[] = { {&_swigt__p_SelectWorkingSet, 0, 0, 0},{0, 0, 0, 0}};
44496 static swig_cast_info _swigc__p__IplConvKernel[] = { {&_swigt__p__IplConvKernel, 0, 0, 0},{0, 0, 0, 0}};
44497 static swig_cast_info _swigc__p__IplConvKernelFP[] = { {&_swigt__p__IplConvKernelFP, 0, 0, 0},{0, 0, 0, 0}};
44498 static swig_cast_info _swigc__p__IplImage[] = { {&_swigt__p__IplImage, 0, 0, 0},{0, 0, 0, 0}};
44499 static swig_cast_info _swigc__p__IplROI[] = { {&_swigt__p__IplROI, 0, 0, 0},{0, 0, 0, 0}};
44500 static swig_cast_info _swigc__p__IplTileInfo[] = { {&_swigt__p__IplTileInfo, 0, 0, 0},{0, 0, 0, 0}};
44501 static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
44502 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
44503 static swig_cast_info _swigc__p_double[] = { {&_swigt__p_double, 0, 0, 0},{0, 0, 0, 0}};
44504 static swig_cast_info _swigc__p_float[] = { {&_swigt__p_float, 0, 0, 0},{0, 0, 0, 0}};
44505 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
44506 static swig_cast_info _swigc__p_int64_t[] = { {&_swigt__p_int64_t, 0, 0, 0},{0, 0, 0, 0}};
44507 static swig_cast_info _swigc__p_p_CvMat[] = { {&_swigt__p_p_CvMat, 0, 0, 0},{0, 0, 0, 0}};
44508 static swig_cast_info _swigc__p_p_double[] = { {&_swigt__p_p_double, 0, 0, 0},{0, 0, 0, 0}};
44509 static swig_cast_info _swigc__p_p_float[] = { {&_swigt__p_p_float, 0, 0, 0},{0, 0, 0, 0}};
44510 static swig_cast_info _swigc__p_p_int[] = { {&_swigt__p_p_int, 0, 0, 0},{0, 0, 0, 0}};
44511 static swig_cast_info _swigc__p_p_unsigned_char[] = { {&_swigt__p_p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
44512 static swig_cast_info _swigc__p_signed_char[] = { {&_swigt__p_signed_char, 0, 0, 0},{0, 0, 0, 0}};
44513 static swig_cast_info _swigc__p_size_t[] = { {&_swigt__p_size_t, 0, 0, 0},{0, 0, 0, 0}};
44514 static swig_cast_info _swigc__p_uint64_t[] = { {&_swigt__p_uint64_t, 0, 0, 0},{0, 0, 0, 0}};
44515 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
44516 static swig_cast_info _swigc__p_unsigned_short[] = { {&_swigt__p_unsigned_short, 0, 0, 0},{0, 0, 0, 0}};
44517 static swig_cast_info _swigc__p_vectorT_float_t[] = { {&_swigt__p_vectorT_float_t, 0, 0, 0},{0, 0, 0, 0}};
44518 static swig_cast_info _swigc__p_vectorT_vectorT_float_t_t[] = { {&_swigt__p_vectorT_vectorT_float_t_t, 0, 0, 0},{0, 0, 0, 0}};
44519 static swig_cast_info _swigc__p_vectorT_vectorT_int_t_t[] = { {&_swigt__p_vectorT_vectorT_int_t_t, 0, 0, 0},{0, 0, 0, 0}};
44520 static swig_cast_info _swigc__p_void[] = { {&_swigt__p_void, 0, 0, 0},{0, 0, 0, 0}};
44522 static swig_cast_info *swig_cast_initial[] = {
44523 _swigc__m_CvSVMKernel__f_int_int_p_p_q_const__float_p_q_const__float_p_float__void,
44524 _swigc__m_CvSVMSolver__f_int_p_float_p_float_bool__p_float,
44525 _swigc__m_CvSVMSolver__f_r_double_r_double__void,
44526 _swigc__m_CvSVMSolver__f_r_int_r_int__bool,
44531 _swigc__p_CvANN_MLP,
44532 _swigc__p_CvANN_MLP_TrainParams,
44533 _swigc__p_CvAttrList,
44534 _swigc__p_CvAvgComp,
44536 _swigc__p_CvBoostParams,
44537 _swigc__p_CvBoostTree,
44540 _swigc__p_CvChainPtReader,
44541 _swigc__p_CvConDensation,
44542 _swigc__p_CvConnectedComp,
44543 _swigc__p_CvContour,
44544 _swigc__p_CvContourTree,
44545 _swigc__p_CvConvexityDefect,
44547 _swigc__p_CvDTreeNode,
44548 _swigc__p_CvDTreeParams,
44549 _swigc__p_CvDTreeSplit,
44550 _swigc__p_CvDTreeTrainData,
44552 _swigc__p_CvEMParams,
44553 _swigc__p_CvERTreeTrainData,
44554 _swigc__p_CvERTrees,
44555 _swigc__p_CvFileNode,
44556 _swigc__p_CvFileStorage,
44557 _swigc__p_CvFilter,
44559 _swigc__p_CvForestERTree,
44560 _swigc__p_CvForestTree,
44561 _swigc__p_CvGenericHash,
44563 _swigc__p_CvGraphEdge,
44564 _swigc__p_CvGraphScanner,
44565 _swigc__p_CvGraphVtx,
44566 _swigc__p_CvGraphVtx2D,
44567 _swigc__p_CvHaarClassifier,
44568 _swigc__p_CvHaarClassifierCascade,
44569 _swigc__p_CvHaarFeature,
44570 _swigc__p_CvHaarStageClassifier,
44571 _swigc__p_CvHidHaarClassifierCascade,
44572 _swigc__p_CvHistogram,
44573 _swigc__p_CvHuMoments,
44574 _swigc__p_CvKNearest,
44575 _swigc__p_CvKalman,
44576 _swigc__p_CvLineIterator,
44577 _swigc__p_CvMLData,
44578 _swigc__p_CvMSERParams,
44581 _swigc__p_CvMatrix3,
44582 _swigc__p_CvMemBlock,
44583 _swigc__p_CvMemStorage,
44584 _swigc__p_CvMemStoragePos,
44585 _swigc__p_CvModuleInfo,
44586 _swigc__p_CvMoments,
44587 _swigc__p_CvNArrayIterator,
44588 _swigc__p_CvNextEdgeType,
44589 _swigc__p_CvNormalBayesClassifier,
44590 _swigc__p_CvPOSITObject,
44591 _swigc__p_CvPair16u32s,
44592 _swigc__p_CvParamGrid,
44593 _swigc__p_CvPluginFuncInfo,
44595 _swigc__p_CvPoint2D32f,
44596 _swigc__p_CvPoint2D64f,
44597 _swigc__p_CvPoint3D32f,
44598 _swigc__p_CvPoint3D64f,
44599 _swigc__p_CvQuadEdge2D,
44600 _swigc__p_CvRNG_Wrapper,
44601 _swigc__p_CvRTParams,
44602 _swigc__p_CvRTrees,
44604 _swigc__p_CvSURFParams,
44605 _swigc__p_CvSURFPoint,
44607 _swigc__p_CvSVMDecisionFunc,
44608 _swigc__p_CvSVMKernel,
44609 _swigc__p_CvSVMKernelRow,
44610 _swigc__p_CvSVMParams,
44611 _swigc__p_CvSVMSolutionInfo,
44612 _swigc__p_CvSVMSolver,
44613 _swigc__p_CvScalar,
44615 _swigc__p_CvSeqBlock,
44616 _swigc__p_CvSeqReader,
44617 _swigc__p_CvSeqWriter,
44619 _swigc__p_CvSetElem,
44621 _swigc__p_CvSize2D32f,
44623 _swigc__p_CvSparseMat,
44624 _swigc__p_CvSparseMatIterator,
44625 _swigc__p_CvSparseNode,
44626 _swigc__p_CvStarDetectorParams,
44627 _swigc__p_CvStarKeypoint,
44628 _swigc__p_CvStatModel,
44629 _swigc__p_CvStereoBMState,
44630 _swigc__p_CvStereoGCState,
44631 _swigc__p_CvString,
44632 _swigc__p_CvStringHashNode,
44633 _swigc__p_CvSubdiv2D,
44634 _swigc__p_CvSubdiv2DEdge_Wrapper,
44635 _swigc__p_CvSubdiv2DPoint,
44636 _swigc__p_CvSubdiv2DPointLocation,
44637 _swigc__p_CvTermCriteria,
44638 _swigc__p_CvTrainTestSplit,
44639 _swigc__p_CvTrainTestSplit_class_part,
44640 _swigc__p_CvTrainTestSplit_train_sample_part,
44641 _swigc__p_CvTreeNodeIterator,
44642 _swigc__p_CvTypeInfo,
44643 _swigc__p_CvVectors,
44644 _swigc__p_CvVectors_data,
44646 _swigc__p_SelectWorkingSet,
44647 _swigc__p__IplConvKernel,
44648 _swigc__p__IplConvKernelFP,
44649 _swigc__p__IplImage,
44651 _swigc__p__IplTileInfo,
44659 _swigc__p_p_double,
44662 _swigc__p_p_unsigned_char,
44663 _swigc__p_signed_char,
44665 _swigc__p_uint64_t,
44666 _swigc__p_unsigned_char,
44667 _swigc__p_unsigned_short,
44668 _swigc__p_vectorT_float_t,
44669 _swigc__p_vectorT_vectorT_float_t_t,
44670 _swigc__p_vectorT_vectorT_int_t_t,
44675 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
44677 /* -----------------------------------------------------------------------------
44678 * Type initialization:
44679 * This problem is tough by the requirement that no dynamic
44680 * memory is used. Also, since swig_type_info structures store pointers to
44681 * swig_cast_info structures and swig_cast_info structures store pointers back
44682 * to swig_type_info structures, we need some lookup code at initialization.
44683 * The idea is that swig generates all the structures that are needed.
44684 * The runtime then collects these partially filled structures.
44685 * The SWIG_InitializeModule function takes these initial arrays out of
44686 * swig_module, and does all the lookup, filling in the swig_module.types
44687 * array with the correct data and linking the correct swig_cast_info
44688 * structures together.
44690 * The generated swig_type_info structures are assigned staticly to an initial
44691 * array. We just loop through that array, and handle each type individually.
44692 * First we lookup if this type has been already loaded, and if so, use the
44693 * loaded structure instead of the generated one. Then we have to fill in the
44694 * cast linked list. The cast data is initially stored in something like a
44695 * two-dimensional array. Each row corresponds to a type (there are the same
44696 * number of rows as there are in the swig_type_initial array). Each entry in
44697 * a column is one of the swig_cast_info structures for that type.
44698 * The cast_initial array is actually an array of arrays, because each row has
44699 * a variable number of columns. So to actually build the cast linked list,
44700 * we find the array of casts associated with the type, and loop through it
44701 * adding the casts to the list. The one last trick we need to do is making
44702 * sure the type pointer in the swig_cast_info struct is correct.
44704 * First off, we lookup the cast->type name to see if it is already loaded.
44705 * There are three cases to handle:
44706 * 1) If the cast->type has already been loaded AND the type we are adding
44707 * casting info to has not been loaded (it is in this module), THEN we
44708 * replace the cast->type pointer with the type pointer that has already
44710 * 2) If BOTH types (the one we are adding casting info to, and the
44711 * cast->type) are loaded, THEN the cast info has already been loaded by
44712 * the previous module so we just ignore it.
44713 * 3) Finally, if cast->type has not already been loaded, then we add that
44714 * swig_cast_info to the linked list (because the cast->type) pointer will
44716 * ----------------------------------------------------------------------------- */
44726 #define SWIGRUNTIME_DEBUG
44731 SWIG_InitializeModule(void *clientdata) {
44733 swig_module_info *module_head, *iter;
44736 clientdata = clientdata;
44738 /* check to see if the circular list has been setup, if not, set it up */
44739 if (swig_module.next==0) {
44740 /* Initialize the swig_module */
44741 swig_module.type_initial = swig_type_initial;
44742 swig_module.cast_initial = swig_cast_initial;
44743 swig_module.next = &swig_module;
44749 /* Try and load any already created modules */
44750 module_head = SWIG_GetModule(clientdata);
44751 if (!module_head) {
44752 /* This is the first module loaded for this interpreter */
44753 /* so set the swig module into the interpreter */
44754 SWIG_SetModule(clientdata, &swig_module);
44755 module_head = &swig_module;
44757 /* the interpreter has loaded a SWIG module, but has it loaded this one? */
44761 if (iter==&swig_module) {
44766 } while (iter!= module_head);
44768 /* if the is found in the list, then all is done and we may leave */
44770 /* otherwise we must add out module into the list */
44771 swig_module.next = module_head->next;
44772 module_head->next = &swig_module;
44775 /* When multiple interpeters are used, a module could have already been initialized in
44776 a different interpreter, but not yet have a pointer in this interpreter.
44777 In this case, we do not want to continue adding types... everything should be
44779 if (init == 0) return;
44781 /* Now work on filling in swig_module.types */
44782 #ifdef SWIGRUNTIME_DEBUG
44783 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
44785 for (i = 0; i < swig_module.size; ++i) {
44786 swig_type_info *type = 0;
44787 swig_type_info *ret;
44788 swig_cast_info *cast;
44790 #ifdef SWIGRUNTIME_DEBUG
44791 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
44794 /* if there is another module already loaded */
44795 if (swig_module.next != &swig_module) {
44796 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
44799 /* Overwrite clientdata field */
44800 #ifdef SWIGRUNTIME_DEBUG
44801 printf("SWIG_InitializeModule: found type %s\n", type->name);
44803 if (swig_module.type_initial[i]->clientdata) {
44804 type->clientdata = swig_module.type_initial[i]->clientdata;
44805 #ifdef SWIGRUNTIME_DEBUG
44806 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
44810 type = swig_module.type_initial[i];
44813 /* Insert casting types */
44814 cast = swig_module.cast_initial[i];
44815 while (cast->type) {
44817 /* Don't need to add information already in the list */
44819 #ifdef SWIGRUNTIME_DEBUG
44820 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
44822 if (swig_module.next != &swig_module) {
44823 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
44824 #ifdef SWIGRUNTIME_DEBUG
44825 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
44829 if (type == swig_module.type_initial[i]) {
44830 #ifdef SWIGRUNTIME_DEBUG
44831 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
44836 /* Check for casting already in the list */
44837 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
44838 #ifdef SWIGRUNTIME_DEBUG
44839 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
44841 if (!ocast) ret = 0;
44846 #ifdef SWIGRUNTIME_DEBUG
44847 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
44850 type->cast->prev = cast;
44851 cast->next = type->cast;
44857 /* Set entry in modules->types array equal to the type */
44858 swig_module.types[i] = type;
44860 swig_module.types[i] = 0;
44862 #ifdef SWIGRUNTIME_DEBUG
44863 printf("**** SWIG_InitializeModule: Cast List ******\n");
44864 for (i = 0; i < swig_module.size; ++i) {
44866 swig_cast_info *cast = swig_module.cast_initial[i];
44867 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
44868 while (cast->type) {
44869 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
44873 printf("---- Total casts: %d\n",j);
44875 printf("**** SWIG_InitializeModule: Cast List ******\n");
44879 /* This function will propagate the clientdata field of type to
44880 * any new swig_type_info structures that have been added into the list
44881 * of equivalent types. It is like calling
44882 * SWIG_TypeClientData(type, clientdata) a second time.
44885 SWIG_PropagateClientData(void) {
44887 swig_cast_info *equiv;
44888 static int init_run = 0;
44890 if (init_run) return;
44893 for (i = 0; i < swig_module.size; i++) {
44894 if (swig_module.types[i]->clientdata) {
44895 equiv = swig_module.types[i]->cast;
44897 if (!equiv->converter) {
44898 if (equiv->type && !equiv->type->clientdata)
44899 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
44901 equiv = equiv->next;
44916 static void SWIG_init_user(octave_swig_type* module_ns);
44918 DEFUN_DLD (SWIG_name,args,nargout,SWIG_name_d) {
44919 static bool already_init=false;
44921 return octave_value_list();
44924 octave_swig_ref::register_type();
44925 octave_swig_packed::register_type();
44926 SWIG_InitializeModule(0);
44927 SWIG_PropagateClientData();
44929 install_builtin_function(swig_type,"swig_type",std::string());
44930 install_builtin_function(swig_typequery,"swig_typequery",std::string());
44931 install_builtin_function(swig_this,"swig_this",std::string());
44932 install_builtin_function(swig_subclass,"subclass",std::string());
44934 bool global_option=true; // * swig cli option should control this default
44935 for (int j=0;j<args.length();++j)
44936 if (args(j).is_string()&&args(j).string_value()=="noglobal")
44937 global_option=true;
44938 else if (args(j).is_string()&&args(j).string_value()=="noglobal")
44939 global_option=false;
44941 octave_swig_type* cvar_ns=new octave_swig_type;
44942 for (int j=0;swig_globals[j].name;++j)
44943 if (swig_globals[j].get_method)
44944 cvar_ns->assign(swig_globals[j].name,&swig_globals[j]);
44946 octave_swig_type* module_ns=new octave_swig_type(0, 0, 0, true);
44947 module_ns->assign("cvar",Swig::swig_value_ref(cvar_ns));
44948 for (int j=0;swig_globals[j].name;++j)
44949 if (swig_globals[j].method)
44950 module_ns->assign(swig_globals[j].name,&swig_globals[j]);
44952 // * need better solution here; swig_type -> octave_class mapping is
44953 // * really n-to-1, in some cases such as template partial spec, etc.
44954 // * see failing tests.
44955 for (int j=0;swig_types[j];++j)
44956 if (swig_types[j]->clientdata) {
44957 swig_octave_class* c=(swig_octave_class*)swig_types[j]->clientdata;
44958 module_ns->assign(c->name,
44959 Swig::swig_value_ref
44960 (new octave_swig_type(0,swig_types[j])));
44963 SWIG_init_user(module_ns);
44965 SWIG_InstallOps(octave_swig_ref::static_type_id());
44967 // the incref is necessary so install_global doesn't destroy module_ns,
44968 // as it would if it installed something with the same name as the module.
44969 module_ns->incref();
44971 module_ns->install_global();
44972 module_ns->decref();
44974 #if USE_OCTAVE_API_VERSION<37
44975 link_to_global_variable(curr_sym_tab->lookup(SWIG_name_d,true));
44977 symbol_table::varref(SWIG_name_d);
44978 symbol_table::mark_global(SWIG_name_d);
44980 set_global_value(SWIG_name_d,Swig::swig_value_ref(module_ns));
44982 #if USE_OCTAVE_API_VERSION>=37
44986 return octave_value_list();
44989 // workaround bug in octave where installing global variable of custom type and then
44990 // exiting without explicitly clearing the variable causes octave to segfault.
44991 #if USE_OCTAVE_API_VERSION>=37
44992 struct oct_file_unload {
44993 ~oct_file_unload() {
44994 string_vector vars = symbol_table::global_variable_names();
44995 for (int i = 0; i < vars.length(); i++)
44996 symbol_table::clear_global(vars[i]);
44999 static oct_file_unload __unload;
45003 static void SWIG_init_user(octave_swig_type* module_ns)
45005 feval("cv",octave_value_list(),0);
45006 SWIG_Octave_SetConstant(module_ns,"CV_LOG2PI",octave_value((1.8378770664093454835606594728112)));
45007 SWIG_Octave_SetConstant(module_ns,"CV_COL_SAMPLE",SWIG_From_int((int)(0)));
45008 SWIG_Octave_SetConstant(module_ns,"CV_ROW_SAMPLE",SWIG_From_int((int)(1)));
45009 SWIG_Octave_SetConstant(module_ns,"CV_VAR_NUMERICAL",SWIG_From_int((int)(0)));
45010 SWIG_Octave_SetConstant(module_ns,"CV_VAR_ORDERED",SWIG_From_int((int)(0)));
45011 SWIG_Octave_SetConstant(module_ns,"CV_VAR_CATEGORICAL",SWIG_From_int((int)(1)));
45012 SWIG_Octave_SetConstant(module_ns,"CV_TYPE_NAME_ML_SVM",SWIG_FromCharPtr("opencv-ml-svm"));
45013 SWIG_Octave_SetConstant(module_ns,"CV_TYPE_NAME_ML_KNN",SWIG_FromCharPtr("opencv-ml-knn"));
45014 SWIG_Octave_SetConstant(module_ns,"CV_TYPE_NAME_ML_NBAYES",SWIG_FromCharPtr("opencv-ml-bayesian"));
45015 SWIG_Octave_SetConstant(module_ns,"CV_TYPE_NAME_ML_EM",SWIG_FromCharPtr("opencv-ml-em"));
45016 SWIG_Octave_SetConstant(module_ns,"CV_TYPE_NAME_ML_BOOSTING",SWIG_FromCharPtr("opencv-ml-boost-tree"));
45017 SWIG_Octave_SetConstant(module_ns,"CV_TYPE_NAME_ML_TREE",SWIG_FromCharPtr("opencv-ml-tree"));
45018 SWIG_Octave_SetConstant(module_ns,"CV_TYPE_NAME_ML_ANN_MLP",SWIG_FromCharPtr("opencv-ml-ann-mlp"));
45019 SWIG_Octave_SetConstant(module_ns,"CV_TYPE_NAME_ML_CNN",SWIG_FromCharPtr("opencv-ml-cnn"));
45020 SWIG_Octave_SetConstant(module_ns,"CV_TYPE_NAME_ML_RTREES",SWIG_FromCharPtr("opencv-ml-random-trees"));
45021 SWIG_Octave_SetConstant(module_ns,"CV_TRAIN_ERROR",SWIG_From_int((int)(0)));
45022 SWIG_Octave_SetConstant(module_ns,"CV_TEST_ERROR",SWIG_From_int((int)(1)));
45023 SWIG_Octave_SetConstant(module_ns,"CvParamGrid_SVM_C",SWIG_From_int((int)(CvParamGrid::SVM_C)));
45024 SWIG_Octave_SetConstant(module_ns,"CvParamGrid_SVM_GAMMA",SWIG_From_int((int)(CvParamGrid::SVM_GAMMA)));
45025 SWIG_Octave_SetConstant(module_ns,"CvParamGrid_SVM_P",SWIG_From_int((int)(CvParamGrid::SVM_P)));
45026 SWIG_Octave_SetConstant(module_ns,"CvParamGrid_SVM_NU",SWIG_From_int((int)(CvParamGrid::SVM_NU)));
45027 SWIG_Octave_SetConstant(module_ns,"CvParamGrid_SVM_COEF",SWIG_From_int((int)(CvParamGrid::SVM_COEF)));
45028 SWIG_Octave_SetConstant(module_ns,"CvParamGrid_SVM_DEGREE",SWIG_From_int((int)(CvParamGrid::SVM_DEGREE)));
45029 SWIG_Octave_SetConstant(module_ns,"CvSVM_C_SVC",SWIG_From_int((int)(CvSVM::C_SVC)));
45030 SWIG_Octave_SetConstant(module_ns,"CvSVM_NU_SVC",SWIG_From_int((int)(CvSVM::NU_SVC)));
45031 SWIG_Octave_SetConstant(module_ns,"CvSVM_ONE_CLASS",SWIG_From_int((int)(CvSVM::ONE_CLASS)));
45032 SWIG_Octave_SetConstant(module_ns,"CvSVM_EPS_SVR",SWIG_From_int((int)(CvSVM::EPS_SVR)));
45033 SWIG_Octave_SetConstant(module_ns,"CvSVM_NU_SVR",SWIG_From_int((int)(CvSVM::NU_SVR)));
45034 SWIG_Octave_SetConstant(module_ns,"CvSVM_LINEAR",SWIG_From_int((int)(CvSVM::LINEAR)));
45035 SWIG_Octave_SetConstant(module_ns,"CvSVM_POLY",SWIG_From_int((int)(CvSVM::POLY)));
45036 SWIG_Octave_SetConstant(module_ns,"CvSVM_RBF",SWIG_From_int((int)(CvSVM::RBF)));
45037 SWIG_Octave_SetConstant(module_ns,"CvSVM_SIGMOID",SWIG_From_int((int)(CvSVM::SIGMOID)));
45038 SWIG_Octave_SetConstant(module_ns,"CvSVM_C",SWIG_From_int((int)(CvSVM::C)));
45039 SWIG_Octave_SetConstant(module_ns,"CvSVM_GAMMA",SWIG_From_int((int)(CvSVM::GAMMA)));
45040 SWIG_Octave_SetConstant(module_ns,"CvSVM_P",SWIG_From_int((int)(CvSVM::P)));
45041 SWIG_Octave_SetConstant(module_ns,"CvSVM_NU",SWIG_From_int((int)(CvSVM::NU)));
45042 SWIG_Octave_SetConstant(module_ns,"CvSVM_COEF",SWIG_From_int((int)(CvSVM::COEF)));
45043 SWIG_Octave_SetConstant(module_ns,"CvSVM_DEGREE",SWIG_From_int((int)(CvSVM::DEGREE)));
45044 SWIG_Octave_SetConstant(module_ns,"CvEM_COV_MAT_SPHERICAL",SWIG_From_int((int)(CvEM::COV_MAT_SPHERICAL)));
45045 SWIG_Octave_SetConstant(module_ns,"CvEM_COV_MAT_DIAGONAL",SWIG_From_int((int)(CvEM::COV_MAT_DIAGONAL)));
45046 SWIG_Octave_SetConstant(module_ns,"CvEM_COV_MAT_GENERIC",SWIG_From_int((int)(CvEM::COV_MAT_GENERIC)));
45047 SWIG_Octave_SetConstant(module_ns,"CvEM_START_E_STEP",SWIG_From_int((int)(CvEM::START_E_STEP)));
45048 SWIG_Octave_SetConstant(module_ns,"CvEM_START_M_STEP",SWIG_From_int((int)(CvEM::START_M_STEP)));
45049 SWIG_Octave_SetConstant(module_ns,"CvEM_START_AUTO_STEP",SWIG_From_int((int)(CvEM::START_AUTO_STEP)));
45050 SWIG_Octave_SetConstant(module_ns,"CvBoost_DISCRETE",SWIG_From_int((int)(CvBoost::DISCRETE)));
45051 SWIG_Octave_SetConstant(module_ns,"CvBoost_REAL",SWIG_From_int((int)(CvBoost::REAL)));
45052 SWIG_Octave_SetConstant(module_ns,"CvBoost_LOGIT",SWIG_From_int((int)(CvBoost::LOGIT)));
45053 SWIG_Octave_SetConstant(module_ns,"CvBoost_GENTLE",SWIG_From_int((int)(CvBoost::GENTLE)));
45054 SWIG_Octave_SetConstant(module_ns,"CvBoost_DEFAULT",SWIG_From_int((int)(CvBoost::DEFAULT)));
45055 SWIG_Octave_SetConstant(module_ns,"CvBoost_GINI",SWIG_From_int((int)(CvBoost::GINI)));
45056 SWIG_Octave_SetConstant(module_ns,"CvBoost_MISCLASS",SWIG_From_int((int)(CvBoost::MISCLASS)));
45057 SWIG_Octave_SetConstant(module_ns,"CvBoost_SQERR",SWIG_From_int((int)(CvBoost::SQERR)));
45058 SWIG_Octave_SetConstant(module_ns,"CvANN_MLP_TrainParams_BACKPROP",SWIG_From_int((int)(CvANN_MLP_TrainParams::BACKPROP)));
45059 SWIG_Octave_SetConstant(module_ns,"CvANN_MLP_TrainParams_RPROP",SWIG_From_int((int)(CvANN_MLP_TrainParams::RPROP)));
45060 SWIG_Octave_SetConstant(module_ns,"CvANN_MLP_IDENTITY",SWIG_From_int((int)(CvANN_MLP::IDENTITY)));
45061 SWIG_Octave_SetConstant(module_ns,"CvANN_MLP_SIGMOID_SYM",SWIG_From_int((int)(CvANN_MLP::SIGMOID_SYM)));
45062 SWIG_Octave_SetConstant(module_ns,"CvANN_MLP_GAUSSIAN",SWIG_From_int((int)(CvANN_MLP::GAUSSIAN)));
45063 SWIG_Octave_SetConstant(module_ns,"CvANN_MLP_UPDATE_WEIGHTS",SWIG_From_int((int)(CvANN_MLP::UPDATE_WEIGHTS)));
45064 SWIG_Octave_SetConstant(module_ns,"CvANN_MLP_NO_INPUT_SCALE",SWIG_From_int((int)(CvANN_MLP::NO_INPUT_SCALE)));
45065 SWIG_Octave_SetConstant(module_ns,"CvANN_MLP_NO_OUTPUT_SCALE",SWIG_From_int((int)(CvANN_MLP::NO_OUTPUT_SCALE)));
45066 SWIG_Octave_SetConstant(module_ns,"CV_TS_CONCENTRIC_SPHERES",SWIG_From_int((int)(0)));
45067 SWIG_Octave_SetConstant(module_ns,"CV_COUNT",SWIG_From_int((int)(0)));
45068 SWIG_Octave_SetConstant(module_ns,"CV_PORTION",SWIG_From_int((int)(1)));